{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dd080a75f3eb5bb2f0059b269942c9abe8ddb1fb911395a062f37c579ba191fe64736f6c63430008180033","sourceMap":"1181:30081:188:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;1181:30081:188;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dd080a75f3eb5bb2f0059b269942c9abe8ddb1fb911395a062f37c579ba191fe64736f6c63430008180033","sourceMap":"1181:30081:188:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/codegen/tables/CombatOutcome.sol\":\"CombatOutcome\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@dk1a/solidity-stringutils/=node_modules/@dk1a/solidity-stringutils/\",\":@latticexyz/=node_modules/@latticexyz/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":base/=src/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\",\":solmate/=node_modules/solmate/src/\"]},\"sources\":{\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x650927696f7518fa216f2d6001835e9fdb419518034c781e86d2a2d33f4ecd2a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72e91ac32ed00d36bd22fefeaf4ce1e9420143ddab7080eeb720c668a117bf44\",\"dweb:/ipfs/QmdVqn18WZvx5p84MDJPsB5tfVoXDR86wzm4sLx6WrGYYL\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0x7dec900f9c9e7dff59430fa6f520e76c56338c3e829201aea140d49342e4fef8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e55c1dfcda94dcc64b8577949b2e92a9d3fc44f5fba1ae77ceacccfdc8e22e35\",\"dweb:/ipfs/QmS7uRJbEQYkPuZ5Dz5aSNjaaxj9PA8RtxUeUGN2W3jZx6\"]},\"node_modules/@latticexyz/store/src/EncodedLengths.sol\":{\"keccak256\":\"0xebc0a6efd611e02b15c05a382382b597fe059eba7f2a9e90da81eeb2f7666774\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://00b2cac12599935e25ea0697e99fc9e6d5af6c1c982761996c16707d9cd6ca09\",\"dweb:/ipfs/QmXccFminkrFtDpNfx6X1pHvW7Tn1nA5XcGu9T17pJyZyK\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x15f698b7eabc062a00ff7a2e02db0ace2dd51f8bd2bc51a45dc0afa88f2ee658\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f774202c98ad394b3b62be93292512c633dec63bc931c190ed984656c2d54ec7\",\"dweb:/ipfs/Qmd2D9mvP8S88ad2Q8WU54saNVr3Pwc5stPqEKHwcpo8AT\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0xd016a2e1260f5a81ff9a8dfac58d7947e114414df8cce7302a2629908ea5f18e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0c558a6f3a5f540c0190fa6d642a094a185c5db1acfc2437c7dbde0340f00ac3\",\"dweb:/ipfs/QmViAHvR7U7HNfBiBZEMFiy1TTSHDFNiDzBfQSeLBShCky\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x0efbf9afc716c585621482221f75e5bd60bcf0e813c9f7800d7c0309dcc3c927\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://31b6aeb5446a0a0d5bd71be15a68c5bde94b08c961369203b83c8abe36f401d2\",\"dweb:/ipfs/QmXhComne4es9ZMKaGNqHCdJZrFoFssxMYgLaqvCXPL1Mg\"]},\"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol\":{\"keccak256\":\"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba\",\"dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1\"]},\"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol\":{\"keccak256\":\"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817\",\"dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8\"]},\"node_modules/@latticexyz/store/src/ISchemaErrors.sol\":{\"keccak256\":\"0x0ac3de36c9d0058a17fcd7f1a905132215fd16ea3ed3b5109de1de04ddd7c441\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f83fa2546009cfd16b3b3969dcec1d67c9d818d910177b885ba263b6a948c65d\",\"dweb:/ipfs/QmehywHdvFYBL9BTtoPsVVwJXsEA4Xjk8aPWoHw1R45KeY\"]},\"node_modules/@latticexyz/store/src/ISliceErrors.sol\":{\"keccak256\":\"0x72684b7dfc1b44537401ccf10d6120186d02323266fcc762bc81859985eded4c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e8d037b6937969ae54018ddf647eeaf5eb69a2b0bf9edf9456d3d270316b2883\",\"dweb:/ipfs/QmfYJeyAmzRqpn68FteiM97p5t17iBw62FCET4bK5g4w37\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x42515d1410333a3573f78a460576271ef62c16edad5cf771ef6287b83ca1c706\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a58d03c4cf420df57d2b2e2e7932daad877e46e89561b46e1fa9f593a701bdc\",\"dweb:/ipfs/QmeFmKS7J1WqqBAgXkyxxx2fGA8JzuGszUmVsV2T6DYtsL\"]},\"node_modules/@latticexyz/store/src/IStoreErrors.sol\":{\"keccak256\":\"0x37e4d2f015dd4005ff9b3f711257c891027804bc268db1791984af4989951912\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a4a566ea96b69211f503707f69a9f9012d5873a3fd57b3f221549f46a7518df6\",\"dweb:/ipfs/QmVgcE3JufJr3iyeV6xqkvS4YtDcy6Eqyram2yzWUhwoB4\"]},\"node_modules/@latticexyz/store/src/IStoreEvents.sol\":{\"keccak256\":\"0x8606e9de37943c74beabb9ac9acd2132f951bed1ef79f2f4f3de83ed1f271f6a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d13adeee7ae9e687bf1cd12a8c36223179685fc828a7c468ee9311c879401b08\",\"dweb:/ipfs/QmQeb2ArSoQpE6ujBbDj9LY3xqpVCPiz3bh9SLT6siE8RY\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0x6574a30a2bbd8a0de21b2504c55effb8802fdeff62296af82a9380bd753adcc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://85a859c533f51b584a9a2e8a64d61b6cf6f69bfcff1b926ad787518b1cae9562\",\"dweb:/ipfs/QmVyjmyJ69ZeqaXHg91JtGLVahRfZ7KtWaessLWZ6rYk9p\"]},\"node_modules/@latticexyz/store/src/IStoreKernel.sol\":{\"keccak256\":\"0x37a23dcbabc5937a717f2fda636b6a97963ed4b5a96870a62dfb199a8b692f89\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ac9741ea6daf21f39699be11afd919ae3ec07df24d948aaaa6549456fefd7fc0\",\"dweb:/ipfs/QmeiPQkZitM4Pc3i6L87thU71Fs1JVWAgMqXnSK8VrCq75\"]},\"node_modules/@latticexyz/store/src/IStoreRead.sol\":{\"keccak256\":\"0xdcf28b3293d4d6c1fe2808a8918c1b2122e4e0e49f2793c79ebd2b9ae210ff7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb3d9cc80f549ed0c5b768aea69fb1b3c364bd4f85d193a3040c411b594d94db\",\"dweb:/ipfs/QmYYdY5CjPHiW5ucXihTva1eHsCPNqBsvL6zYYafH3ap4p\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0x9e91a73f93cc9ebc00c265c83177f6a3f8a156749a9261202e2845e12aeaa96b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a39280d87d22dd0a959d8f55925cb092dba1fee2f11d3dd8e3ffabed45a9ab6a\",\"dweb:/ipfs/QmRMBFLJtT2KN43Xz9P3vUNWxXrP8rLTNBFw2P6Z7EGeaS\"]},\"node_modules/@latticexyz/store/src/IStoreWrite.sol\":{\"keccak256\":\"0x120fd448da5806e09ecb5327ad4dba64df01d2ee7232de0979133627e87e24ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a3cb151b2ddee217f330d61813b2dcd997de94940c903719f6d066a21467890\",\"dweb:/ipfs/Qmbes1RRY6KdtsMohp8834xXyipeQK9GJ41NfgXK1d1QAZ\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0xef6e7000b181c2991aeacbf99a9d886f8c4df88878b857713f851185b63a7811\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b079b4773d140ab2c01bdb04facfa56a78f753aea7122fa445b2bfa133411392\",\"dweb:/ipfs/QmWYWKFpwtsPeGdCSxcANgxXUbwAuMMgR7iMVPDSCZxz2A\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x889423054511cf8a83f5dfd65a0f984dc514aba798ef3db139b59d395b2327e2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://40b9495d455c87db8b063e291ca3973dc3ba1163f09c5d7446241a9e1cb69ed0\",\"dweb:/ipfs/Qmek1JKVjPUpoXnKwu66HfPS9rHstKtWTuBmG8YFxbPEWQ\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x0d2a08030d21292ecbcc850d9111f3817d03f17cd5e02186894848a9152d79d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3f30024c1613fb587aaba4c1dcb8e4e46ed765a2cebd5b63fbebd327d1bf13d3\",\"dweb:/ipfs/QmZzqSnPMYKDYwbFNvUFrvuazMUyQHzQ59w3A9x6juHAm7\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0xae6c03881fdfa56cba1879d9c9c6b52c2829e6a278a200176678d8da05a89345\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cad7dc4944c0518de2e7f99697485d365ae37aa6cad6967996377c2dd951fe4\",\"dweb:/ipfs/QmW3grFwr8BcgJmLfjLbj3FthnD7NRUBFMFiahbXztHPr7\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x7e735a4c7fa8b8a5fe2371d90801e3287ddb78efed69b31e1a76f0b7b153c4c3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9e6db36bd52144b6feeecd91a58fc311127a3892fc96c4171db5b570fe9876ee\",\"dweb:/ipfs/QmS6LqnTZvpMc4eiz5JowBoNnh3RYemG6JHjqtYucT1rQi\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x9513dc38e5baadde0ba9b08320a324043b0e88a10702be5c3507da8c3d45e861\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://99c80c65a394763668e4aed69220fec6bb3ed847fb277ddd1ff1d4bfdf452da2\",\"dweb:/ipfs/QmRT2BATKtrYmixWMuWo9Cz8g8oscfLNSmvjxTyiTNA1pc\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0x7edf7c1641408f3a580eb28bda58054583cb846f875608612671c6d40712ba40\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4146adef610d1daab085a81aa9f2d4fd8c4e5f459b9ef184f3ef23465573cf91\",\"dweb:/ipfs/QmQqZMsbkzSNG6VfYzQLdRCBCsNohBSVQmWoTP6QvKmKUP\"]},\"node_modules/@latticexyz/store/src/codegen/index.sol\":{\"keccak256\":\"0x094a6f1e2910b345b6b254e0fc2c8882b3190c673f7ee19742e857057a4d3f85\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18908e2e7e878635abea72ef99851fddd204371e6b641f010e831ebfa0b1bfd4\",\"dweb:/ipfs/QmSNAxXqxTrzPkZ4rSAQgBnuer1yLPq74hoqnzrZV3WGsb\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xfdea5b4cf666720c1c0d81a8acdede68e6220aee45d8a9f3c9834b4edc5da394\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a394dfe123cfb7200f65d379fb0cb3d2c84475b382faf6ee11bf9c45a63b53\",\"dweb:/ipfs/QmRMPHFBbCKtqKBVV9gvd2jhnfsyUKmCBEQkgviMoxi1UG\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xf192bceab34508cee21dd7c33e4d776f79c4a7ca55ee8905c6c694850ebfdf64\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c95113f76f6de671cb44710754e0942934182b544660a4330fc90a505e198905\",\"dweb:/ipfs/QmXma5ZxfK8Y9TbvB7QM9hdhfc1ixiMcLpo9BQxnVthHB5\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0xa825218614acc19a4100357dd7ee410b67b994fe7aaa68650d5d0d4202d4ca8c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://09b0cbb598fe2b75bbcd269b47d686a66fcc89c0c40d9a09807eba7688b81fc6\",\"dweb:/ipfs/QmYk6XQwSLhRumujTCsqxdvugKuP8oLjjB926pMHR445ra\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0x918b977e7f7f3e947d6d5aa189c54c9c7e7c106d0a0d53734ee959ad454abe09\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a3de63c04c838bf80c1903cf7464d201d0ece0f86a7aaca35462b730e9338fc\",\"dweb:/ipfs/QmSUkLZ88J7tSwdmR3viBJHU8QVgN2Gji6W8wYLJEDNkc2\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x67e0d59237bd37424827ecde1ecdbe71f65376af517b0623cd8f8d5451bca7a6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://09c5ec7fe73e06140957d44a3d9938587711c783ccbf08ff017638c9279a3168\",\"dweb:/ipfs/QmfS9ZRqHXmBJ1h5B4x4gbU6d18DtMgKZSkxhQgNVRxueu\"]},\"node_modules/@latticexyz/store/src/rightMask.sol\":{\"keccak256\":\"0x28887aab8ad5ca598927e59d702999ca6e3b3128f1cddd2b995a381c8d04b275\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7710847f4689b7f5b81436c7d52ae4395f244a2eebf8d398b2edd43accb06754\",\"dweb:/ipfs/QmTD2wYqryXTynHAn5Vf9wtjUUSGeCJWENZTnWtBAK38pa\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x4f29001e53690ce74fe405a6d0376a564c9c743d1631d36fab04331865e4d572\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://138c80abd63225a3eeb01ebfa1f9288e188a7ee5b2266b275fb4ed31b5aa30e3\",\"dweb:/ipfs/QmdEx9uHgCCbTcetGwFH5a66Ft7ajmrMDXvP1fW7WjnnE2\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0x1c4cb6b3ecf76f614479ab304d7de3ade0e99c7ccfd07717b57c92f699a27261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c9b0e0c9b3b5610d6fd65a8ffd7c54df390a34ccc70d58f4a055c49ad1ea586\",\"dweb:/ipfs/QmP6ffpnR7aRyvq9AiUkVNH6LbGfFP3NDq7E2n2PVcHhp2\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x310523f7f3acca841e62fe50be8d8b042cad5b3c239cb1105d6623cf83e63152\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1cc40ca233acf6502bc65677b381c05331dd7323953e54b5df969051e47f851e\",\"dweb:/ipfs/QmTxy9mhodT8drezB5K1kPR78AMaARomoJqDyaWpLuCKui\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x259ee545fd9dfd4767f0b7fef31f52fd3c54c4a1c6657d6fbda4927800c937b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0a4e31efa9f476cd267af7c3e11fe0151252206a1f6407a80a4092444c2de8ea\",\"dweb:/ipfs/QmRF4gWYw33mFTMh7nX8DJ1qzx3Ko6yMsnxubzYTRppdyo\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x0e74ff88ec94cb33f79d8afc1497c4fdccf02db40ab47f3701c7d02fc305d4d8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://36b7cd0c2a3f2dcdc83ab7ac5a93f123746ce29c0f1000f2b275ad2c647ff0f3\",\"dweb:/ipfs/QmYdipHYUhHhS78wLdtmKZUK14FEwpto5mFy3rNeZssMLz\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0x78c571906ee999ee7e56d4f7702b8a93c3a9e55e6b552aca115b5f6ac7f1c80a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a9f141b2d556b2a2545e7db5606e8a038679a995a22aeaf1702cb3a60320b60a\",\"dweb:/ipfs/QmY7x258Fhj3TT3RT4sNyyfiRphVYdZXhtAnSYpasJ4xVQ\"]},\"src/codegen/tables/CombatOutcome.sol\":{\"keccak256\":\"0x39c34c16752de956bc808338eaeb3f8c50d8c43708760bb48da2ba9522659716\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f74d50ed5660f8c49a0587ca124ba6a863069983f680a0809f18b6e7bf7bbf7c\",\"dweb:/ipfs/QmbYmq8WLedbhTRKTyVzu9KHbQDGUkBa7Kjkk6gWSBXP68\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@dk1a/solidity-stringutils/=node_modules/@dk1a/solidity-stringutils/","@latticexyz/=node_modules/@latticexyz/","@openzeppelin/=node_modules/@openzeppelin/","base/=src/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/","solmate/=node_modules/solmate/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/codegen/tables/CombatOutcome.sol":"CombatOutcome"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol":{"keccak256":"0x650927696f7518fa216f2d6001835e9fdb419518034c781e86d2a2d33f4ecd2a","urls":["bzz-raw://72e91ac32ed00d36bd22fefeaf4ce1e9420143ddab7080eeb720c668a117bf44","dweb:/ipfs/QmdVqn18WZvx5p84MDJPsB5tfVoXDR86wzm4sLx6WrGYYL"],"license":"MIT"},"node_modules/@latticexyz/store/src/Bytes.sol":{"keccak256":"0x7dec900f9c9e7dff59430fa6f520e76c56338c3e829201aea140d49342e4fef8","urls":["bzz-raw://e55c1dfcda94dcc64b8577949b2e92a9d3fc44f5fba1ae77ceacccfdc8e22e35","dweb:/ipfs/QmS7uRJbEQYkPuZ5Dz5aSNjaaxj9PA8RtxUeUGN2W3jZx6"],"license":"MIT"},"node_modules/@latticexyz/store/src/EncodedLengths.sol":{"keccak256":"0xebc0a6efd611e02b15c05a382382b597fe059eba7f2a9e90da81eeb2f7666774","urls":["bzz-raw://00b2cac12599935e25ea0697e99fc9e6d5af6c1c982761996c16707d9cd6ca09","dweb:/ipfs/QmXccFminkrFtDpNfx6X1pHvW7Tn1nA5XcGu9T17pJyZyK"],"license":"MIT"},"node_modules/@latticexyz/store/src/FieldLayout.sol":{"keccak256":"0x15f698b7eabc062a00ff7a2e02db0ace2dd51f8bd2bc51a45dc0afa88f2ee658","urls":["bzz-raw://f774202c98ad394b3b62be93292512c633dec63bc931c190ed984656c2d54ec7","dweb:/ipfs/Qmd2D9mvP8S88ad2Q8WU54saNVr3Pwc5stPqEKHwcpo8AT"],"license":"MIT"},"node_modules/@latticexyz/store/src/Hook.sol":{"keccak256":"0xd016a2e1260f5a81ff9a8dfac58d7947e114414df8cce7302a2629908ea5f18e","urls":["bzz-raw://0c558a6f3a5f540c0190fa6d642a094a185c5db1acfc2437c7dbde0340f00ac3","dweb:/ipfs/QmViAHvR7U7HNfBiBZEMFiy1TTSHDFNiDzBfQSeLBShCky"],"license":"MIT"},"node_modules/@latticexyz/store/src/IERC165.sol":{"keccak256":"0x0efbf9afc716c585621482221f75e5bd60bcf0e813c9f7800d7c0309dcc3c927","urls":["bzz-raw://31b6aeb5446a0a0d5bd71be15a68c5bde94b08c961369203b83c8abe36f401d2","dweb:/ipfs/QmXhComne4es9ZMKaGNqHCdJZrFoFssxMYgLaqvCXPL1Mg"],"license":"MIT"},"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol":{"keccak256":"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa","urls":["bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba","dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1"],"license":"MIT"},"node_modules/@latticexyz/store/src/IFieldLayoutErrors.sol":{"keccak256":"0xaef70c46e412bded1024ac82c957cea81c1d1ab11878a95635531e2ac9673a53","urls":["bzz-raw://cda2c7dc02ee8f0163b1c8d0f3e1e05d48b2a009e5c7365d2418f17bc3455817","dweb:/ipfs/QmXHDZuCPTxjHaeiEaJhA81koX2NJ3Gj1zt5WVWaz77FL8"],"license":"MIT"},"node_modules/@latticexyz/store/src/ISchemaErrors.sol":{"keccak256":"0x0ac3de36c9d0058a17fcd7f1a905132215fd16ea3ed3b5109de1de04ddd7c441","urls":["bzz-raw://f83fa2546009cfd16b3b3969dcec1d67c9d818d910177b885ba263b6a948c65d","dweb:/ipfs/QmehywHdvFYBL9BTtoPsVVwJXsEA4Xjk8aPWoHw1R45KeY"],"license":"MIT"},"node_modules/@latticexyz/store/src/ISliceErrors.sol":{"keccak256":"0x72684b7dfc1b44537401ccf10d6120186d02323266fcc762bc81859985eded4c","urls":["bzz-raw://e8d037b6937969ae54018ddf647eeaf5eb69a2b0bf9edf9456d3d270316b2883","dweb:/ipfs/QmfYJeyAmzRqpn68FteiM97p5t17iBw62FCET4bK5g4w37"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStore.sol":{"keccak256":"0x42515d1410333a3573f78a460576271ef62c16edad5cf771ef6287b83ca1c706","urls":["bzz-raw://6a58d03c4cf420df57d2b2e2e7932daad877e46e89561b46e1fa9f593a701bdc","dweb:/ipfs/QmeFmKS7J1WqqBAgXkyxxx2fGA8JzuGszUmVsV2T6DYtsL"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreErrors.sol":{"keccak256":"0x37e4d2f015dd4005ff9b3f711257c891027804bc268db1791984af4989951912","urls":["bzz-raw://a4a566ea96b69211f503707f69a9f9012d5873a3fd57b3f221549f46a7518df6","dweb:/ipfs/QmVgcE3JufJr3iyeV6xqkvS4YtDcy6Eqyram2yzWUhwoB4"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreEvents.sol":{"keccak256":"0x8606e9de37943c74beabb9ac9acd2132f951bed1ef79f2f4f3de83ed1f271f6a","urls":["bzz-raw://d13adeee7ae9e687bf1cd12a8c36223179685fc828a7c468ee9311c879401b08","dweb:/ipfs/QmQeb2ArSoQpE6ujBbDj9LY3xqpVCPiz3bh9SLT6siE8RY"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreHook.sol":{"keccak256":"0x6574a30a2bbd8a0de21b2504c55effb8802fdeff62296af82a9380bd753adcc4","urls":["bzz-raw://85a859c533f51b584a9a2e8a64d61b6cf6f69bfcff1b926ad787518b1cae9562","dweb:/ipfs/QmVyjmyJ69ZeqaXHg91JtGLVahRfZ7KtWaessLWZ6rYk9p"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreKernel.sol":{"keccak256":"0x37a23dcbabc5937a717f2fda636b6a97963ed4b5a96870a62dfb199a8b692f89","urls":["bzz-raw://ac9741ea6daf21f39699be11afd919ae3ec07df24d948aaaa6549456fefd7fc0","dweb:/ipfs/QmeiPQkZitM4Pc3i6L87thU71Fs1JVWAgMqXnSK8VrCq75"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreRead.sol":{"keccak256":"0xdcf28b3293d4d6c1fe2808a8918c1b2122e4e0e49f2793c79ebd2b9ae210ff7b","urls":["bzz-raw://bb3d9cc80f549ed0c5b768aea69fb1b3c364bd4f85d193a3040c411b594d94db","dweb:/ipfs/QmYYdY5CjPHiW5ucXihTva1eHsCPNqBsvL6zYYafH3ap4p"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreRegistration.sol":{"keccak256":"0x9e91a73f93cc9ebc00c265c83177f6a3f8a156749a9261202e2845e12aeaa96b","urls":["bzz-raw://a39280d87d22dd0a959d8f55925cb092dba1fee2f11d3dd8e3ffabed45a9ab6a","dweb:/ipfs/QmRMBFLJtT2KN43Xz9P3vUNWxXrP8rLTNBFw2P6Z7EGeaS"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreWrite.sol":{"keccak256":"0x120fd448da5806e09ecb5327ad4dba64df01d2ee7232de0979133627e87e24ba","urls":["bzz-raw://7a3cb151b2ddee217f330d61813b2dcd997de94940c903719f6d066a21467890","dweb:/ipfs/Qmbes1RRY6KdtsMohp8834xXyipeQK9GJ41NfgXK1d1QAZ"],"license":"MIT"},"node_modules/@latticexyz/store/src/Memory.sol":{"keccak256":"0xef6e7000b181c2991aeacbf99a9d886f8c4df88878b857713f851185b63a7811","urls":["bzz-raw://b079b4773d140ab2c01bdb04facfa56a78f753aea7122fa445b2bfa133411392","dweb:/ipfs/QmWYWKFpwtsPeGdCSxcANgxXUbwAuMMgR7iMVPDSCZxz2A"],"license":"MIT"},"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x889423054511cf8a83f5dfd65a0f984dc514aba798ef3db139b59d395b2327e2","urls":["bzz-raw://40b9495d455c87db8b063e291ca3973dc3ba1163f09c5d7446241a9e1cb69ed0","dweb:/ipfs/Qmek1JKVjPUpoXnKwu66HfPS9rHstKtWTuBmG8YFxbPEWQ"],"license":"MIT"},"node_modules/@latticexyz/store/src/Schema.sol":{"keccak256":"0x0d2a08030d21292ecbcc850d9111f3817d03f17cd5e02186894848a9152d79d7","urls":["bzz-raw://3f30024c1613fb587aaba4c1dcb8e4e46ed765a2cebd5b63fbebd327d1bf13d3","dweb:/ipfs/QmZzqSnPMYKDYwbFNvUFrvuazMUyQHzQ59w3A9x6juHAm7"],"license":"MIT"},"node_modules/@latticexyz/store/src/Slice.sol":{"keccak256":"0xae6c03881fdfa56cba1879d9c9c6b52c2829e6a278a200176678d8da05a89345","urls":["bzz-raw://3cad7dc4944c0518de2e7f99697485d365ae37aa6cad6967996377c2dd951fe4","dweb:/ipfs/QmW3grFwr8BcgJmLfjLbj3FthnD7NRUBFMFiahbXztHPr7"],"license":"MIT"},"node_modules/@latticexyz/store/src/Storage.sol":{"keccak256":"0x7e735a4c7fa8b8a5fe2371d90801e3287ddb78efed69b31e1a76f0b7b153c4c3","urls":["bzz-raw://9e6db36bd52144b6feeecd91a58fc311127a3892fc96c4171db5b570fe9876ee","dweb:/ipfs/QmS6LqnTZvpMc4eiz5JowBoNnh3RYemG6JHjqtYucT1rQi"],"license":"MIT"},"node_modules/@latticexyz/store/src/StoreCore.sol":{"keccak256":"0x9513dc38e5baadde0ba9b08320a324043b0e88a10702be5c3507da8c3d45e861","urls":["bzz-raw://99c80c65a394763668e4aed69220fec6bb3ed847fb277ddd1ff1d4bfdf452da2","dweb:/ipfs/QmRT2BATKtrYmixWMuWo9Cz8g8oscfLNSmvjxTyiTNA1pc"],"license":"MIT"},"node_modules/@latticexyz/store/src/StoreSwitch.sol":{"keccak256":"0x7edf7c1641408f3a580eb28bda58054583cb846f875608612671c6d40712ba40","urls":["bzz-raw://4146adef610d1daab085a81aa9f2d4fd8c4e5f459b9ef184f3ef23465573cf91","dweb:/ipfs/QmQqZMsbkzSNG6VfYzQLdRCBCsNohBSVQmWoTP6QvKmKUP"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/index.sol":{"keccak256":"0x094a6f1e2910b345b6b254e0fc2c8882b3190c673f7ee19742e857057a4d3f85","urls":["bzz-raw://18908e2e7e878635abea72ef99851fddd204371e6b641f010e831ebfa0b1bfd4","dweb:/ipfs/QmSNAxXqxTrzPkZ4rSAQgBnuer1yLPq74hoqnzrZV3WGsb"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol":{"keccak256":"0xfdea5b4cf666720c1c0d81a8acdede68e6220aee45d8a9f3c9834b4edc5da394","urls":["bzz-raw://b3a394dfe123cfb7200f65d379fb0cb3d2c84475b382faf6ee11bf9c45a63b53","dweb:/ipfs/QmRMPHFBbCKtqKBVV9gvd2jhnfsyUKmCBEQkgviMoxi1UG"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol":{"keccak256":"0xf192bceab34508cee21dd7c33e4d776f79c4a7ca55ee8905c6c694850ebfdf64","urls":["bzz-raw://c95113f76f6de671cb44710754e0942934182b544660a4330fc90a505e198905","dweb:/ipfs/QmXma5ZxfK8Y9TbvB7QM9hdhfc1ixiMcLpo9BQxnVthHB5"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol":{"keccak256":"0xa825218614acc19a4100357dd7ee410b67b994fe7aaa68650d5d0d4202d4ca8c","urls":["bzz-raw://09b0cbb598fe2b75bbcd269b47d686a66fcc89c0c40d9a09807eba7688b81fc6","dweb:/ipfs/QmYk6XQwSLhRumujTCsqxdvugKuP8oLjjB926pMHR445ra"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol":{"keccak256":"0x918b977e7f7f3e947d6d5aa189c54c9c7e7c106d0a0d53734ee959ad454abe09","urls":["bzz-raw://3a3de63c04c838bf80c1903cf7464d201d0ece0f86a7aaca35462b730e9338fc","dweb:/ipfs/QmSUkLZ88J7tSwdmR3viBJHU8QVgN2Gji6W8wYLJEDNkc2"],"license":"MIT"},"node_modules/@latticexyz/store/src/constants.sol":{"keccak256":"0x67e0d59237bd37424827ecde1ecdbe71f65376af517b0623cd8f8d5451bca7a6","urls":["bzz-raw://09c5ec7fe73e06140957d44a3d9938587711c783ccbf08ff017638c9279a3168","dweb:/ipfs/QmfS9ZRqHXmBJ1h5B4x4gbU6d18DtMgKZSkxhQgNVRxueu"],"license":"MIT"},"node_modules/@latticexyz/store/src/rightMask.sol":{"keccak256":"0x28887aab8ad5ca598927e59d702999ca6e3b3128f1cddd2b995a381c8d04b275","urls":["bzz-raw://7710847f4689b7f5b81436c7d52ae4395f244a2eebf8d398b2edd43accb06754","dweb:/ipfs/QmTD2wYqryXTynHAn5Vf9wtjUUSGeCJWENZTnWtBAK38pa"],"license":"MIT"},"node_modules/@latticexyz/store/src/storeHookTypes.sol":{"keccak256":"0x4f29001e53690ce74fe405a6d0376a564c9c743d1631d36fab04331865e4d572","urls":["bzz-raw://138c80abd63225a3eeb01ebfa1f9288e188a7ee5b2266b275fb4ed31b5aa30e3","dweb:/ipfs/QmdEx9uHgCCbTcetGwFH5a66Ft7ajmrMDXvP1fW7WjnnE2"],"license":"MIT"},"node_modules/@latticexyz/store/src/storeResourceTypes.sol":{"keccak256":"0x1c4cb6b3ecf76f614479ab304d7de3ade0e99c7ccfd07717b57c92f699a27261","urls":["bzz-raw://2c9b0e0c9b3b5610d6fd65a8ffd7c54df390a34ccc70d58f4a055c49ad1ea586","dweb:/ipfs/QmP6ffpnR7aRyvq9AiUkVNH6LbGfFP3NDq7E2n2PVcHhp2"],"license":"MIT"},"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol":{"keccak256":"0x310523f7f3acca841e62fe50be8d8b042cad5b3c239cb1105d6623cf83e63152","urls":["bzz-raw://1cc40ca233acf6502bc65677b381c05331dd7323953e54b5df969051e47f851e","dweb:/ipfs/QmTxy9mhodT8drezB5K1kPR78AMaARomoJqDyaWpLuCKui"],"license":"MIT"},"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol":{"keccak256":"0x259ee545fd9dfd4767f0b7fef31f52fd3c54c4a1c6657d6fbda4927800c937b3","urls":["bzz-raw://0a4e31efa9f476cd267af7c3e11fe0151252206a1f6407a80a4092444c2de8ea","dweb:/ipfs/QmRF4gWYw33mFTMh7nX8DJ1qzx3Ko6yMsnxubzYTRppdyo"],"license":"MIT"},"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol":{"keccak256":"0x0e74ff88ec94cb33f79d8afc1497c4fdccf02db40ab47f3701c7d02fc305d4d8","urls":["bzz-raw://36b7cd0c2a3f2dcdc83ab7ac5a93f123746ce29c0f1000f2b275ad2c647ff0f3","dweb:/ipfs/QmYdipHYUhHhS78wLdtmKZUK14FEwpto5mFy3rNeZssMLz"],"license":"MIT"},"node_modules/@latticexyz/store/src/version.sol":{"keccak256":"0x78c571906ee999ee7e56d4f7702b8a93c3a9e55e6b552aca115b5f6ac7f1c80a","urls":["bzz-raw://a9f141b2d556b2a2545e7db5606e8a038679a995a22aeaf1702cb3a60320b60a","dweb:/ipfs/QmY7x258Fhj3TT3RT4sNyyfiRphVYdZXhtAnSYpasJ4xVQ"],"license":"MIT"},"src/codegen/tables/CombatOutcome.sol":{"keccak256":"0x39c34c16752de956bc808338eaeb3f8c50d8c43708760bb48da2ba9522659716","urls":["bzz-raw://f74d50ed5660f8c49a0587ca124ba6a863069983f680a0809f18b6e7bf7bbf7c","dweb:/ipfs/QmbYmq8WLedbhTRKTyVzu9KHbQDGUkBa7Kjkk6gWSBXP68"],"license":"MIT"}},"version":1},"ast":{"absolutePath":"src/codegen/tables/CombatOutcome.sol","id":102585,"exportedSymbols":{"Bytes":[7243],"CombatOutcome":[102574],"CombatOutcomeData":[99024],"EncodeArray":[26427],"EncodedLengths":[7251],"EncodedLengthsLib":[7669],"FieldLayout":[7885],"IStore":[8658],"Memory":[9482],"ResourceId":[9486],"Schema":[9581],"SliceLib":[10192],"StoreCore":[12701],"StoreSwitch":[14558],"_toBool":[102584]},"nodeType":"SourceUnit","src":"32:31580:188","nodes":[{"id":98976,"nodeType":"PragmaDirective","src":"32:25:188","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":98978,"nodeType":"ImportDirective","src":"134:58:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/IStore.sol","file":"@latticexyz/store/src/IStore.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":8659,"symbolAliases":[{"foreign":{"id":98977,"name":"IStore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8658,"src":"143:6:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98980,"nodeType":"ImportDirective","src":"193:68:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreSwitch.sol","file":"@latticexyz/store/src/StoreSwitch.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":14559,"symbolAliases":[{"foreign":{"id":98979,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"202:11:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98982,"nodeType":"ImportDirective","src":"262:64:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreCore.sol","file":"@latticexyz/store/src/StoreCore.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":13234,"symbolAliases":[{"foreign":{"id":98981,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"271:9:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98984,"nodeType":"ImportDirective","src":"327:56:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Bytes.sol","file":"@latticexyz/store/src/Bytes.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":7244,"symbolAliases":[{"foreign":{"id":98983,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"336:5:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98986,"nodeType":"ImportDirective","src":"384:58:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Memory.sol","file":"@latticexyz/store/src/Memory.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":9483,"symbolAliases":[{"foreign":{"id":98985,"name":"Memory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9482,"src":"393:6:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98988,"nodeType":"ImportDirective","src":"443:59:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Slice.sol","file":"@latticexyz/store/src/Slice.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":10290,"symbolAliases":[{"foreign":{"id":98987,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"452:8:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98990,"nodeType":"ImportDirective","src":"503:79:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol","file":"@latticexyz/store/src/tightcoder/EncodeArray.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":26428,"symbolAliases":[{"foreign":{"id":98989,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"512:11:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98992,"nodeType":"ImportDirective","src":"583:68:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/FieldLayout.sol","file":"@latticexyz/store/src/FieldLayout.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":8362,"symbolAliases":[{"foreign":{"id":98991,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"592:11:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98994,"nodeType":"ImportDirective","src":"652:58:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Schema.sol","file":"@latticexyz/store/src/Schema.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":10058,"symbolAliases":[{"foreign":{"id":98993,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"661:6:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98997,"nodeType":"ImportDirective","src":"711:93:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":98995,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"720:14:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":98996,"name":"EncodedLengthsLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"736:17:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":98999,"nodeType":"ImportDirective","src":"805:66:188","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":102585,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":98998,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"814:10:188","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":99024,"nodeType":"StructDefinition","src":"873:306:188","nodes":[],"canonicalName":"CombatOutcomeData","members":[{"constant":false,"id":99001,"mutability":"mutable","name":"attacker","nameLocation":"910:8:188","nodeType":"VariableDeclaration","scope":99024,"src":"902:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99000,"name":"bytes32","nodeType":"ElementaryTypeName","src":"902:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99003,"mutability":"mutable","name":"defender","nameLocation":"930:8:188","nodeType":"VariableDeclaration","scope":99024,"src":"922:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99002,"name":"bytes32","nodeType":"ElementaryTypeName","src":"922:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99005,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"948:22:188","nodeType":"VariableDeclaration","scope":99024,"src":"942:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99004,"name":"int32","nodeType":"ElementaryTypeName","src":"942:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":99007,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"980:22:188","nodeType":"VariableDeclaration","scope":99024,"src":"974:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99006,"name":"int32","nodeType":"ElementaryTypeName","src":"974:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":99009,"mutability":"mutable","name":"attackerDamage","nameLocation":"1012:14:188","nodeType":"VariableDeclaration","scope":99024,"src":"1006:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99008,"name":"int32","nodeType":"ElementaryTypeName","src":"1006:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":99011,"mutability":"mutable","name":"defenderDamage","nameLocation":"1036:14:188","nodeType":"VariableDeclaration","scope":99024,"src":"1030:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99010,"name":"int32","nodeType":"ElementaryTypeName","src":"1030:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":99013,"mutability":"mutable","name":"ranged","nameLocation":"1059:6:188","nodeType":"VariableDeclaration","scope":99024,"src":"1054:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":99012,"name":"bool","nodeType":"ElementaryTypeName","src":"1054:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":99015,"mutability":"mutable","name":"attackerDied","nameLocation":"1074:12:188","nodeType":"VariableDeclaration","scope":99024,"src":"1069:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":99014,"name":"bool","nodeType":"ElementaryTypeName","src":"1069:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":99017,"mutability":"mutable","name":"defenderDied","nameLocation":"1095:12:188","nodeType":"VariableDeclaration","scope":99024,"src":"1090:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":99016,"name":"bool","nodeType":"ElementaryTypeName","src":"1090:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":99019,"mutability":"mutable","name":"defenderCaptured","nameLocation":"1116:16:188","nodeType":"VariableDeclaration","scope":99024,"src":"1111:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":99018,"name":"bool","nodeType":"ElementaryTypeName","src":"1111:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":99021,"mutability":"mutable","name":"blockNumber","nameLocation":"1144:11:188","nodeType":"VariableDeclaration","scope":99024,"src":"1136:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":99020,"name":"uint256","nodeType":"ElementaryTypeName","src":"1136:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":99023,"mutability":"mutable","name":"timestamp","nameLocation":"1167:9:188","nodeType":"VariableDeclaration","scope":99024,"src":"1159:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":99022,"name":"uint256","nodeType":"ElementaryTypeName","src":"1159:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"CombatOutcomeData","nameLocation":"880:17:188","scope":102585,"visibility":"public"},{"id":102574,"nodeType":"ContractDefinition","src":"1181:30081:188","nodes":[{"id":99031,"nodeType":"VariableDeclaration","src":"1334:114:188","nodes":[],"constant":true,"mutability":"constant","name":"_tableId","nameLocation":"1354:8:188","scope":102574,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":99026,"nodeType":"UserDefinedTypeName","pathNode":{"id":99025,"name":"ResourceId","nameLocations":["1334:10:188"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"1334:10:188"},"referencedDeclaration":9486,"src":"1334:10:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"value":{"arguments":[{"hexValue":"307837343632303030303030303030303030303030303030303030303030303030303433366636643632363137343466373537343633366636643635303030303030","id":99029,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1381:66:188","typeDescriptions":{"typeIdentifier":"t_rational_52641441448007182715604765737134514260653692062758245348637792055284627144704_by_1","typeString":"int_const 5264...(69 digits omitted)...4704"},"value":"0x74620000000000000000000000000000436f6d6261744f7574636f6d65000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_52641441448007182715604765737134514260653692062758245348637792055284627144704_by_1","typeString":"int_const 5264...(69 digits omitted)...4704"}],"expression":{"id":99027,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1365:10:188","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":99028,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1376:4:188","memberName":"wrap","nodeType":"MemberAccess","src":"1365:15:188","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"function (bytes32) pure returns (ResourceId)"}},"id":99030,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1365:83:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"id":99038,"nodeType":"VariableDeclaration","src":"1453:124:188","nodes":[],"constant":true,"mutability":"constant","name":"_fieldLayout","nameLocation":"1474:12:188","scope":102574,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"},"typeName":{"id":99033,"nodeType":"UserDefinedTypeName","pathNode":{"id":99032,"name":"FieldLayout","nameLocations":["1453:11:188"],"nodeType":"IdentifierPath","referencedDeclaration":7885,"src":"1453:11:188"},"referencedDeclaration":7885,"src":"1453:11:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"value":{"arguments":[{"hexValue":"307830303934306330303230323030343034303430343031303130313031323032303030303030303030303030303030303030303030303030303030303030303030","id":99036,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1510:66:188","typeDescriptions":{"typeIdentifier":"t_rational_261576189926526190355224061471029370367118428557545918925778964097980694528_by_1","typeString":"int_const 2615...(67 digits omitted)...4528"},"value":"0x00940c0020200404040401010101202000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_261576189926526190355224061471029370367118428557545918925778964097980694528_by_1","typeString":"int_const 2615...(67 digits omitted)...4528"}],"expression":{"id":99034,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"1493:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"type(FieldLayout)"}},"id":99035,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1505:4:188","memberName":"wrap","nodeType":"MemberAccess","src":"1493:16:188","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"function (bytes32) pure returns (FieldLayout)"}},"id":99037,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1493:84:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"visibility":"internal"},{"id":99045,"nodeType":"VariableDeclaration","src":"1632:108:188","nodes":[],"constant":true,"mutability":"constant","name":"_keySchema","nameLocation":"1648:10:188","scope":102574,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":99040,"nodeType":"UserDefinedTypeName","pathNode":{"id":99039,"name":"Schema","nameLocations":["1632:6:188"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1632:6:188"},"referencedDeclaration":9581,"src":"1632:6:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303430303230303566356630303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":99043,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1673:66:188","typeDescriptions":{"typeIdentifier":"t_rational_113092025682258619970217289362664487098292016406357993953856212845247594496_by_1","typeString":"int_const 1130...(67 digits omitted)...4496"},"value":"0x004002005f5f0000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_113092025682258619970217289362664487098292016406357993953856212845247594496_by_1","typeString":"int_const 1130...(67 digits omitted)...4496"}],"expression":{"id":99041,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1661:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":99042,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1668:4:188","memberName":"wrap","nodeType":"MemberAccess","src":"1661:11:188","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":99044,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1661:79:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":99052,"nodeType":"VariableDeclaration","src":"1866:110:188","nodes":[],"constant":true,"mutability":"constant","name":"_valueSchema","nameLocation":"1882:12:188","scope":102574,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":99047,"nodeType":"UserDefinedTypeName","pathNode":{"id":99046,"name":"Schema","nameLocations":["1866:6:188"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1866:6:188"},"referencedDeclaration":9581,"src":"1866:6:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303934306330303566356632333233323332333630363036303630316631663030303030303030303030303030303030303030303030303030303030303030","id":99050,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1909:66:188","typeDescriptions":{"typeIdentifier":"t_rational_261576196587167272684784325776307932771082861696009405217444348379692793856_by_1","typeString":"int_const 2615...(67 digits omitted)...3856"},"value":"0x00940c005f5f23232323606060601f1f00000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_261576196587167272684784325776307932771082861696009405217444348379692793856_by_1","typeString":"int_const 2615...(67 digits omitted)...3856"}],"expression":{"id":99048,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1897:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":99049,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1904:4:188","memberName":"wrap","nodeType":"MemberAccess","src":"1897:11:188","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":99051,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1897:79:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":99080,"nodeType":"FunctionDefinition","src":"2111:170:188","nodes":[],"body":{"id":99079,"nodeType":"Block","src":"2183:98:188","nodes":[],"statements":[{"expression":{"id":99065,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":99059,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99057,"src":"2189:8:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"32","id":99063,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2213:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99062,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2200:12:188","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (string memory[] memory)"},"typeName":{"baseType":{"id":99060,"name":"string","nodeType":"ElementaryTypeName","src":"2204:6:188","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":99061,"nodeType":"ArrayTypeName","src":"2204:8:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":99064,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2200:15:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"2189:26:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99066,"nodeType":"ExpressionStatement","src":"2189:26:188"},{"expression":{"id":99071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99067,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99057,"src":"2221:8:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99069,"indexExpression":{"hexValue":"30","id":99068,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2230:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2221:11:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"6d61746368456e74697479","id":99070,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2235:13:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_a5a14763ffd6cc960fdfbb54f44d13410e4b9eb376ae6bc6e1d44f4563474030","typeString":"literal_string \"matchEntity\""},"value":"matchEntity"},"src":"2221:27:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99072,"nodeType":"ExpressionStatement","src":"2221:27:188"},{"expression":{"id":99077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99073,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99057,"src":"2254:8:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99075,"indexExpression":{"hexValue":"31","id":99074,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2263:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2254:11:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"656e74697479","id":99076,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2268:8:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_e326593e1b7478914a9c4ff6d556d1561d942e60fae7253b1eb00c19702dbf1f","typeString":"literal_string \"entity\""},"value":"entity"},"src":"2254:22:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99078,"nodeType":"ExpressionStatement","src":"2254:22:188"}]},"documentation":{"id":99053,"nodeType":"StructuredDocumentation","src":"1981:127:188","text":" @notice Get the table's key field names.\n @return keyNames An array of strings with the names of key fields."},"implemented":true,"kind":"function","modifiers":[],"name":"getKeyNames","nameLocation":"2120:11:188","parameters":{"id":99054,"nodeType":"ParameterList","parameters":[],"src":"2131:2:188"},"returnParameters":{"id":99058,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99057,"mutability":"mutable","name":"keyNames","nameLocation":"2173:8:188","nodeType":"VariableDeclaration","scope":99080,"src":"2157:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":99055,"name":"string","nodeType":"ElementaryTypeName","src":"2157:6:188","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":99056,"nodeType":"ArrayTypeName","src":"2157:8:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"2156:26:188"},"scope":102574,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":99168,"nodeType":"FunctionDefinition","src":"2421:560:188","nodes":[],"body":{"id":99167,"nodeType":"Block","src":"2497:484:188","nodes":[],"statements":[{"expression":{"id":99093,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":99087,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2503:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"3132","id":99091,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2529:2:188","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"12"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"}],"id":99090,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2516:12:188","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (string memory[] memory)"},"typeName":{"baseType":{"id":99088,"name":"string","nodeType":"ElementaryTypeName","src":"2520:6:188","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":99089,"nodeType":"ArrayTypeName","src":"2520:8:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":99092,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2516:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"2503:29:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99094,"nodeType":"ExpressionStatement","src":"2503:29:188"},{"expression":{"id":99099,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99095,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2538:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99097,"indexExpression":{"hexValue":"30","id":99096,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2549:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2538:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"61747461636b6572","id":99098,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2554:10:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_97154a62cd5641a577e092d2eee7e39fcb3333dc595371a4303417dae0c2c006","typeString":"literal_string \"attacker\""},"value":"attacker"},"src":"2538:26:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99100,"nodeType":"ExpressionStatement","src":"2538:26:188"},{"expression":{"id":99105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99101,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2570:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99103,"indexExpression":{"hexValue":"31","id":99102,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2581:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2570:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"646566656e646572","id":99104,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2586:10:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_ea47b74917f549e8fb7b30be52435f56b0a4548a5df697773d6d54875754db77","typeString":"literal_string \"defender\""},"value":"defender"},"src":"2570:26:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99106,"nodeType":"ExpressionStatement","src":"2570:26:188"},{"expression":{"id":99111,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99107,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2602:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99109,"indexExpression":{"hexValue":"32","id":99108,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2613:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2602:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"61747461636b657244616d6167655265636569766564","id":99110,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2618:24:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_4c304aea4f1f315b1766d22a5ac277a2d6be175fba8dcc559d3a63f8f43d80e0","typeString":"literal_string \"attackerDamageReceived\""},"value":"attackerDamageReceived"},"src":"2602:40:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99112,"nodeType":"ExpressionStatement","src":"2602:40:188"},{"expression":{"id":99117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99113,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2648:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99115,"indexExpression":{"hexValue":"33","id":99114,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2659:1:188","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2648:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"646566656e64657244616d6167655265636569766564","id":99116,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2664:24:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_f1a2620cdb4339555e0e8117bf8225f03fd496de71c911235af3a36794da97b2","typeString":"literal_string \"defenderDamageReceived\""},"value":"defenderDamageReceived"},"src":"2648:40:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99118,"nodeType":"ExpressionStatement","src":"2648:40:188"},{"expression":{"id":99123,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99119,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2694:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99121,"indexExpression":{"hexValue":"34","id":99120,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2705:1:188","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2694:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"61747461636b657244616d616765","id":99122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2710:16:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_0efba0fd7a7b1fc19faf7d87eb3c6b746b23a83d3ad15c4aa1a80d5e0256bccd","typeString":"literal_string \"attackerDamage\""},"value":"attackerDamage"},"src":"2694:32:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99124,"nodeType":"ExpressionStatement","src":"2694:32:188"},{"expression":{"id":99129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99125,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2732:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99127,"indexExpression":{"hexValue":"35","id":99126,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2743:1:188","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2732:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"646566656e64657244616d616765","id":99128,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2748:16:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_a3420498f1c1dce730ae543fdd928e056abaddeeaaf237448003c75bf29f791c","typeString":"literal_string \"defenderDamage\""},"value":"defenderDamage"},"src":"2732:32:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99130,"nodeType":"ExpressionStatement","src":"2732:32:188"},{"expression":{"id":99135,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99131,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2770:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99133,"indexExpression":{"hexValue":"36","id":99132,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2781:1:188","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2770:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"72616e676564","id":99134,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2786:8:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_b4552eb51930b36fa5857c739f665360503f683df4cfbcab5b8f7cf29196a801","typeString":"literal_string \"ranged\""},"value":"ranged"},"src":"2770:24:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99136,"nodeType":"ExpressionStatement","src":"2770:24:188"},{"expression":{"id":99141,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99137,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2800:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99139,"indexExpression":{"hexValue":"37","id":99138,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2811:1:188","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2800:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"61747461636b657244696564","id":99140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2816:14:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_0100eb26c32f32bc41825114ae0687aa19c6f38f2f08572ab9b84ec90eebb4c2","typeString":"literal_string \"attackerDied\""},"value":"attackerDied"},"src":"2800:30:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99142,"nodeType":"ExpressionStatement","src":"2800:30:188"},{"expression":{"id":99147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99143,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2836:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99145,"indexExpression":{"hexValue":"38","id":99144,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2847:1:188","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2836:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"646566656e64657244696564","id":99146,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2852:14:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_e9b74490db341e54f58a791a0a7ada9f85d8486ec101c29bd41365880cf8a2a2","typeString":"literal_string \"defenderDied\""},"value":"defenderDied"},"src":"2836:30:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99148,"nodeType":"ExpressionStatement","src":"2836:30:188"},{"expression":{"id":99153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99149,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2872:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99151,"indexExpression":{"hexValue":"39","id":99150,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2883:1:188","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"9"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2872:13:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"646566656e6465724361707475726564","id":99152,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2888:18:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_4c1e7837f9191f427382089ca3ca58f4e3452773540ae583393ee581cbf1a246","typeString":"literal_string \"defenderCaptured\""},"value":"defenderCaptured"},"src":"2872:34:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99154,"nodeType":"ExpressionStatement","src":"2872:34:188"},{"expression":{"id":99159,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99155,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2912:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99157,"indexExpression":{"hexValue":"3130","id":99156,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2923:2:188","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2912:14:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"626c6f636b4e756d626572","id":99158,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2929:13:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_6f8f54d1af9b6cb8a219d88672c797f9f3ee97ce5d9369aa897fd0deb5e2dffa","typeString":"literal_string \"blockNumber\""},"value":"blockNumber"},"src":"2912:30:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99160,"nodeType":"ExpressionStatement","src":"2912:30:188"},{"expression":{"id":99165,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99161,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99085,"src":"2948:10:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":99163,"indexExpression":{"hexValue":"3131","id":99162,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2959:2:188","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2948:14:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74696d657374616d70","id":99164,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2965:11:188","typeDescriptions":{"typeIdentifier":"t_stringliteral_4ebf727c48eac2c66272456b06a885c5cc03e54d140f63b63b6fd10c1227958e","typeString":"literal_string \"timestamp\""},"value":"timestamp"},"src":"2948:28:188","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":99166,"nodeType":"ExpressionStatement","src":"2948:28:188"}]},"documentation":{"id":99081,"nodeType":"StructuredDocumentation","src":"2285:133:188","text":" @notice Get the table's value field names.\n @return fieldNames An array of strings with the names of value fields."},"implemented":true,"kind":"function","modifiers":[],"name":"getFieldNames","nameLocation":"2430:13:188","parameters":{"id":99082,"nodeType":"ParameterList","parameters":[],"src":"2443:2:188"},"returnParameters":{"id":99086,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99085,"mutability":"mutable","name":"fieldNames","nameLocation":"2485:10:188","nodeType":"VariableDeclaration","scope":99168,"src":"2469:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":99083,"name":"string","nodeType":"ElementaryTypeName","src":"2469:6:188","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":99084,"nodeType":"ArrayTypeName","src":"2469:8:188","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"2468:28:188"},"scope":102574,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":99186,"nodeType":"FunctionDefinition","src":"3046:147:188","nodes":[],"body":{"id":99185,"nodeType":"Block","src":"3075:118:188","nodes":[],"statements":[{"expression":{"arguments":[{"id":99175,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"3107:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99176,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"3117:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":99177,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99045,"src":"3131:10:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":99178,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99052,"src":"3143:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":99179,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99080,"src":"3157:11:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":99180,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3157:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":99181,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99168,"src":"3172:13:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":99182,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3172:15:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"},{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"},{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}],"expression":{"id":99172,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"3081:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99174,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3093:13:188","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":13582,"src":"3081:25:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_userDefinedValueType$_FieldLayout_$7885_$_t_userDefinedValueType$_Schema_$9581_$_t_userDefinedValueType$_Schema_$9581_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$","typeString":"function (ResourceId,FieldLayout,Schema,Schema,string memory[] memory,string memory[] memory)"}},"id":99183,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3081:107:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99184,"nodeType":"ExpressionStatement","src":"3081:107:188"}]},"documentation":{"id":99169,"nodeType":"StructuredDocumentation","src":"2985:58:188","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"register","nameLocation":"3055:8:188","parameters":{"id":99170,"nodeType":"ParameterList","parameters":[],"src":"3063:2:188"},"returnParameters":{"id":99171,"nodeType":"ParameterList","parameters":[],"src":"3075:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99204,"nodeType":"FunctionDefinition","src":"3258:146:188","nodes":[],"body":{"id":99203,"nodeType":"Block","src":"3288:116:188","nodes":[],"statements":[{"expression":{"arguments":[{"id":99193,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"3318:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99194,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"3328:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":99195,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99045,"src":"3342:10:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":99196,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99052,"src":"3354:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":99197,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99080,"src":"3368:11:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":99198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3368:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":99199,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99168,"src":"3383:13:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":99200,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3383:15:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"},{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"},{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}],"expression":{"id":99190,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"3294:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99192,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3304:13:188","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":11243,"src":"3294:23:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_userDefinedValueType$_FieldLayout_$7885_$_t_userDefinedValueType$_Schema_$9581_$_t_userDefinedValueType$_Schema_$9581_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$","typeString":"function (ResourceId,FieldLayout,Schema,Schema,string memory[] memory,string memory[] memory)"}},"id":99201,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3294:105:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99202,"nodeType":"ExpressionStatement","src":"3294:105:188"}]},"documentation":{"id":99187,"nodeType":"StructuredDocumentation","src":"3197:58:188","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"_register","nameLocation":"3267:9:188","parameters":{"id":99188,"nodeType":"ParameterList","parameters":[],"src":"3276:2:188"},"returnParameters":{"id":99189,"nodeType":"ParameterList","parameters":[],"src":"3288:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99254,"nodeType":"FunctionDefinition","src":"3447:330:188","nodes":[],"body":{"id":99253,"nodeType":"Block","src":"3546:231:188","nodes":[],"statements":[{"assignments":[99218],"declarations":[{"constant":false,"id":99218,"mutability":"mutable","name":"_keyTuple","nameLocation":"3569:9:188","nodeType":"VariableDeclaration","scope":99253,"src":"3552:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99216,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3552:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99217,"nodeType":"ArrayTypeName","src":"3552:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99224,"initialValue":{"arguments":[{"hexValue":"32","id":99222,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3595:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99221,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3581:13:188","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":99219,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3585:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99220,"nodeType":"ArrayTypeName","src":"3585:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99223,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3581:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3552:45:188"},{"expression":{"id":99229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99225,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99218,"src":"3603:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99227,"indexExpression":{"hexValue":"30","id":99226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3613:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3603:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99228,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99207,"src":"3618:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3603:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99230,"nodeType":"ExpressionStatement","src":"3603:26:188"},{"expression":{"id":99235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99231,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99218,"src":"3635:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99233,"indexExpression":{"hexValue":"31","id":99232,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3645:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3635:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99234,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99209,"src":"3650:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3635:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99236,"nodeType":"ExpressionStatement","src":"3635:21:188"},{"assignments":[99238],"declarations":[{"constant":false,"id":99238,"mutability":"mutable","name":"_blob","nameLocation":"3671:5:188","nodeType":"VariableDeclaration","scope":99253,"src":"3663:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99237,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3663:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99246,"initialValue":{"arguments":[{"id":99241,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"3706:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99242,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99218,"src":"3716:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":99243,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3727:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":99244,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"3730:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99239,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"3679:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3691:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"3679:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99245,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3679:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"3663:80:188"},{"expression":{"components":[{"arguments":[{"id":99249,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99238,"src":"3765:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99248,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3757:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":99247,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3757:7:188","typeDescriptions":{}}},"id":99250,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3757:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99251,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3756:16:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":99213,"id":99252,"nodeType":"Return","src":"3749:23:188"}]},"documentation":{"id":99205,"nodeType":"StructuredDocumentation","src":"3408:36:188","text":" @notice Get attacker."},"implemented":true,"kind":"function","modifiers":[],"name":"getAttacker","nameLocation":"3456:11:188","parameters":{"id":99210,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99207,"mutability":"mutable","name":"matchEntity","nameLocation":"3476:11:188","nodeType":"VariableDeclaration","scope":99254,"src":"3468:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99206,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3468:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99209,"mutability":"mutable","name":"entity","nameLocation":"3497:6:188","nodeType":"VariableDeclaration","scope":99254,"src":"3489:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99208,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3489:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3467:37:188"},"returnParameters":{"id":99213,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99212,"mutability":"mutable","name":"attacker","nameLocation":"3536:8:188","nodeType":"VariableDeclaration","scope":99254,"src":"3528:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99211,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3528:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3527:18:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99304,"nodeType":"FunctionDefinition","src":"3820:329:188","nodes":[],"body":{"id":99303,"nodeType":"Block","src":"3920:229:188","nodes":[],"statements":[{"assignments":[99268],"declarations":[{"constant":false,"id":99268,"mutability":"mutable","name":"_keyTuple","nameLocation":"3943:9:188","nodeType":"VariableDeclaration","scope":99303,"src":"3926:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99266,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3926:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99267,"nodeType":"ArrayTypeName","src":"3926:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99274,"initialValue":{"arguments":[{"hexValue":"32","id":99272,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3969:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99271,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3955:13:188","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":99269,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3959:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99270,"nodeType":"ArrayTypeName","src":"3959:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99273,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3955:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3926:45:188"},{"expression":{"id":99279,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99275,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99268,"src":"3977:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99277,"indexExpression":{"hexValue":"30","id":99276,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3987:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3977:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99278,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99257,"src":"3992:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3977:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99280,"nodeType":"ExpressionStatement","src":"3977:26:188"},{"expression":{"id":99285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99281,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99268,"src":"4009:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99283,"indexExpression":{"hexValue":"31","id":99282,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4019:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4009:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99284,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99259,"src":"4024:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4009:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99286,"nodeType":"ExpressionStatement","src":"4009:21:188"},{"assignments":[99288],"declarations":[{"constant":false,"id":99288,"mutability":"mutable","name":"_blob","nameLocation":"4045:5:188","nodeType":"VariableDeclaration","scope":99303,"src":"4037:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99287,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4037:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99296,"initialValue":{"arguments":[{"id":99291,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"4078:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99292,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99268,"src":"4088:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":99293,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4099:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":99294,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"4102:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99289,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"4053:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4063:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"4053:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99295,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4053:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"4037:78:188"},{"expression":{"components":[{"arguments":[{"id":99299,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99288,"src":"4137:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99298,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4129:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":99297,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4129:7:188","typeDescriptions":{}}},"id":99300,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4129:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99301,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4128:16:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":99263,"id":99302,"nodeType":"Return","src":"4121:23:188"}]},"documentation":{"id":99255,"nodeType":"StructuredDocumentation","src":"3781:36:188","text":" @notice Get attacker."},"implemented":true,"kind":"function","modifiers":[],"name":"_getAttacker","nameLocation":"3829:12:188","parameters":{"id":99260,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99257,"mutability":"mutable","name":"matchEntity","nameLocation":"3850:11:188","nodeType":"VariableDeclaration","scope":99304,"src":"3842:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99256,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3842:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99259,"mutability":"mutable","name":"entity","nameLocation":"3871:6:188","nodeType":"VariableDeclaration","scope":99304,"src":"3863:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99258,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3863:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3841:37:188"},"returnParameters":{"id":99263,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99262,"mutability":"mutable","name":"attacker","nameLocation":"3910:8:188","nodeType":"VariableDeclaration","scope":99304,"src":"3902:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99261,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3902:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3901:18:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99352,"nodeType":"FunctionDefinition","src":"4192:301:188","nodes":[],"body":{"id":99351,"nodeType":"Block","src":"4277:216:188","nodes":[],"statements":[{"assignments":[99318],"declarations":[{"constant":false,"id":99318,"mutability":"mutable","name":"_keyTuple","nameLocation":"4300:9:188","nodeType":"VariableDeclaration","scope":99351,"src":"4283:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99316,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4283:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99317,"nodeType":"ArrayTypeName","src":"4283:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99324,"initialValue":{"arguments":[{"hexValue":"32","id":99322,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4326:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99321,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4312:13:188","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":99319,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4316:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99320,"nodeType":"ArrayTypeName","src":"4316:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99323,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4312:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4283:45:188"},{"expression":{"id":99329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99325,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99318,"src":"4334:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99327,"indexExpression":{"hexValue":"30","id":99326,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4344:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4334:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99328,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99307,"src":"4349:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4334:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99330,"nodeType":"ExpressionStatement","src":"4334:26:188"},{"expression":{"id":99335,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99331,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99318,"src":"4366:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99333,"indexExpression":{"hexValue":"31","id":99332,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4376:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4366:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99334,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99309,"src":"4381:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4366:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99336,"nodeType":"ExpressionStatement","src":"4366:21:188"},{"expression":{"arguments":[{"id":99340,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"4421:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99341,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99318,"src":"4431:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":99342,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4442:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":99345,"name":"attacker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99311,"src":"4463:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99346,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4462:10:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":99343,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4445:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":99344,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4449:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"4445:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":99347,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4445:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":99348,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"4475:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99337,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"4394:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99339,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4406:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"4394:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":99349,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4394:94:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99350,"nodeType":"ExpressionStatement","src":"4394:94:188"}]},"documentation":{"id":99305,"nodeType":"StructuredDocumentation","src":"4153:36:188","text":" @notice Set attacker."},"implemented":true,"kind":"function","modifiers":[],"name":"setAttacker","nameLocation":"4201:11:188","parameters":{"id":99312,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99307,"mutability":"mutable","name":"matchEntity","nameLocation":"4221:11:188","nodeType":"VariableDeclaration","scope":99352,"src":"4213:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99306,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4213:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99309,"mutability":"mutable","name":"entity","nameLocation":"4242:6:188","nodeType":"VariableDeclaration","scope":99352,"src":"4234:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99308,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4234:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99311,"mutability":"mutable","name":"attacker","nameLocation":"4258:8:188","nodeType":"VariableDeclaration","scope":99352,"src":"4250:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99310,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4250:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4212:55:188"},"returnParameters":{"id":99313,"nodeType":"ParameterList","parameters":[],"src":"4277:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99400,"nodeType":"FunctionDefinition","src":"4536:300:188","nodes":[],"body":{"id":99399,"nodeType":"Block","src":"4622:214:188","nodes":[],"statements":[{"assignments":[99366],"declarations":[{"constant":false,"id":99366,"mutability":"mutable","name":"_keyTuple","nameLocation":"4645:9:188","nodeType":"VariableDeclaration","scope":99399,"src":"4628:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99364,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4628:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99365,"nodeType":"ArrayTypeName","src":"4628:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99372,"initialValue":{"arguments":[{"hexValue":"32","id":99370,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4671:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99369,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4657:13:188","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":99367,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4661:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99368,"nodeType":"ArrayTypeName","src":"4661:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99371,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4657:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4628:45:188"},{"expression":{"id":99377,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99373,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99366,"src":"4679:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99375,"indexExpression":{"hexValue":"30","id":99374,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4689:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4679:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99376,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99355,"src":"4694:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4679:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99378,"nodeType":"ExpressionStatement","src":"4679:26:188"},{"expression":{"id":99383,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99379,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99366,"src":"4711:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99381,"indexExpression":{"hexValue":"31","id":99380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4721:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4711:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99382,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99357,"src":"4726:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4711:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99384,"nodeType":"ExpressionStatement","src":"4711:21:188"},{"expression":{"arguments":[{"id":99388,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"4764:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99389,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99366,"src":"4774:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":99390,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4785:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":99393,"name":"attacker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99359,"src":"4806:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99394,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4805:10:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":99391,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4788:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":99392,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4792:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"4788:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":99395,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4788:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":99396,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"4818:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99385,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"4739:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99387,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4749:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"4739:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":99397,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4739:92:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99398,"nodeType":"ExpressionStatement","src":"4739:92:188"}]},"documentation":{"id":99353,"nodeType":"StructuredDocumentation","src":"4497:36:188","text":" @notice Set attacker."},"implemented":true,"kind":"function","modifiers":[],"name":"_setAttacker","nameLocation":"4545:12:188","parameters":{"id":99360,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99355,"mutability":"mutable","name":"matchEntity","nameLocation":"4566:11:188","nodeType":"VariableDeclaration","scope":99400,"src":"4558:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99354,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4558:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99357,"mutability":"mutable","name":"entity","nameLocation":"4587:6:188","nodeType":"VariableDeclaration","scope":99400,"src":"4579:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99356,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4579:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99359,"mutability":"mutable","name":"attacker","nameLocation":"4603:8:188","nodeType":"VariableDeclaration","scope":99400,"src":"4595:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99358,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4595:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4557:55:188"},"returnParameters":{"id":99361,"nodeType":"ParameterList","parameters":[],"src":"4622:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99450,"nodeType":"FunctionDefinition","src":"4879:330:188","nodes":[],"body":{"id":99449,"nodeType":"Block","src":"4978:231:188","nodes":[],"statements":[{"assignments":[99414],"declarations":[{"constant":false,"id":99414,"mutability":"mutable","name":"_keyTuple","nameLocation":"5001:9:188","nodeType":"VariableDeclaration","scope":99449,"src":"4984:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99412,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4984:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99413,"nodeType":"ArrayTypeName","src":"4984:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99420,"initialValue":{"arguments":[{"hexValue":"32","id":99418,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5027:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99417,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5013:13:188","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":99415,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5017:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99416,"nodeType":"ArrayTypeName","src":"5017:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99419,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5013:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4984:45:188"},{"expression":{"id":99425,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99421,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99414,"src":"5035:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99423,"indexExpression":{"hexValue":"30","id":99422,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5045:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5035:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99424,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99403,"src":"5050:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5035:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99426,"nodeType":"ExpressionStatement","src":"5035:26:188"},{"expression":{"id":99431,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99427,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99414,"src":"5067:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99429,"indexExpression":{"hexValue":"31","id":99428,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5077:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5067:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99430,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99405,"src":"5082:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5067:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99432,"nodeType":"ExpressionStatement","src":"5067:21:188"},{"assignments":[99434],"declarations":[{"constant":false,"id":99434,"mutability":"mutable","name":"_blob","nameLocation":"5103:5:188","nodeType":"VariableDeclaration","scope":99449,"src":"5095:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99433,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5095:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99442,"initialValue":{"arguments":[{"id":99437,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"5138:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99438,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99414,"src":"5148:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":99439,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5159:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"id":99440,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"5162:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99435,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5111:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99436,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5123:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"5111:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5111:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"5095:80:188"},{"expression":{"components":[{"arguments":[{"id":99445,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99434,"src":"5197:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99444,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5189:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":99443,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5189:7:188","typeDescriptions":{}}},"id":99446,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5189:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99447,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5188:16:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":99409,"id":99448,"nodeType":"Return","src":"5181:23:188"}]},"documentation":{"id":99401,"nodeType":"StructuredDocumentation","src":"4840:36:188","text":" @notice Get defender."},"implemented":true,"kind":"function","modifiers":[],"name":"getDefender","nameLocation":"4888:11:188","parameters":{"id":99406,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99403,"mutability":"mutable","name":"matchEntity","nameLocation":"4908:11:188","nodeType":"VariableDeclaration","scope":99450,"src":"4900:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99402,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4900:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99405,"mutability":"mutable","name":"entity","nameLocation":"4929:6:188","nodeType":"VariableDeclaration","scope":99450,"src":"4921:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99404,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4921:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4899:37:188"},"returnParameters":{"id":99409,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99408,"mutability":"mutable","name":"defender","nameLocation":"4968:8:188","nodeType":"VariableDeclaration","scope":99450,"src":"4960:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99407,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4960:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4959:18:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99500,"nodeType":"FunctionDefinition","src":"5252:329:188","nodes":[],"body":{"id":99499,"nodeType":"Block","src":"5352:229:188","nodes":[],"statements":[{"assignments":[99464],"declarations":[{"constant":false,"id":99464,"mutability":"mutable","name":"_keyTuple","nameLocation":"5375:9:188","nodeType":"VariableDeclaration","scope":99499,"src":"5358:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99462,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5358:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99463,"nodeType":"ArrayTypeName","src":"5358:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99470,"initialValue":{"arguments":[{"hexValue":"32","id":99468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5401:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99467,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5387:13:188","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":99465,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5391:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99466,"nodeType":"ArrayTypeName","src":"5391:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99469,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5387:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5358:45:188"},{"expression":{"id":99475,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99471,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99464,"src":"5409:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99473,"indexExpression":{"hexValue":"30","id":99472,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5419:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5409:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99474,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99453,"src":"5424:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5409:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99476,"nodeType":"ExpressionStatement","src":"5409:26:188"},{"expression":{"id":99481,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99477,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99464,"src":"5441:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99479,"indexExpression":{"hexValue":"31","id":99478,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5451:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5441:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99480,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99455,"src":"5456:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5441:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99482,"nodeType":"ExpressionStatement","src":"5441:21:188"},{"assignments":[99484],"declarations":[{"constant":false,"id":99484,"mutability":"mutable","name":"_blob","nameLocation":"5477:5:188","nodeType":"VariableDeclaration","scope":99499,"src":"5469:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99483,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5469:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99492,"initialValue":{"arguments":[{"id":99487,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"5510:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99488,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99464,"src":"5520:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":99489,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5531:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"id":99490,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"5534:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99485,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"5485:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99486,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5495:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"5485:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99491,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5485:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"5469:78:188"},{"expression":{"components":[{"arguments":[{"id":99495,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99484,"src":"5569:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99494,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5561:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":99493,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5561:7:188","typeDescriptions":{}}},"id":99496,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5561:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99497,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5560:16:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":99459,"id":99498,"nodeType":"Return","src":"5553:23:188"}]},"documentation":{"id":99451,"nodeType":"StructuredDocumentation","src":"5213:36:188","text":" @notice Get defender."},"implemented":true,"kind":"function","modifiers":[],"name":"_getDefender","nameLocation":"5261:12:188","parameters":{"id":99456,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99453,"mutability":"mutable","name":"matchEntity","nameLocation":"5282:11:188","nodeType":"VariableDeclaration","scope":99500,"src":"5274:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99452,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5274:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99455,"mutability":"mutable","name":"entity","nameLocation":"5303:6:188","nodeType":"VariableDeclaration","scope":99500,"src":"5295:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99454,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5295:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5273:37:188"},"returnParameters":{"id":99459,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99458,"mutability":"mutable","name":"defender","nameLocation":"5342:8:188","nodeType":"VariableDeclaration","scope":99500,"src":"5334:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99457,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5334:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5333:18:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99548,"nodeType":"FunctionDefinition","src":"5624:301:188","nodes":[],"body":{"id":99547,"nodeType":"Block","src":"5709:216:188","nodes":[],"statements":[{"assignments":[99514],"declarations":[{"constant":false,"id":99514,"mutability":"mutable","name":"_keyTuple","nameLocation":"5732:9:188","nodeType":"VariableDeclaration","scope":99547,"src":"5715:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99512,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5715:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99513,"nodeType":"ArrayTypeName","src":"5715:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99520,"initialValue":{"arguments":[{"hexValue":"32","id":99518,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5758:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99517,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5744:13:188","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":99515,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5748:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99516,"nodeType":"ArrayTypeName","src":"5748:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99519,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5744:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5715:45:188"},{"expression":{"id":99525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99521,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99514,"src":"5766:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99523,"indexExpression":{"hexValue":"30","id":99522,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5776:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5766:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99524,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99503,"src":"5781:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5766:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99526,"nodeType":"ExpressionStatement","src":"5766:26:188"},{"expression":{"id":99531,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99527,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99514,"src":"5798:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99529,"indexExpression":{"hexValue":"31","id":99528,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5808:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5798:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99530,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99505,"src":"5813:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5798:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99532,"nodeType":"ExpressionStatement","src":"5798:21:188"},{"expression":{"arguments":[{"id":99536,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"5853:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99537,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99514,"src":"5863:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":99538,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5874:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"components":[{"id":99541,"name":"defender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99507,"src":"5895:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99542,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5894:10:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":99539,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"5877:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":99540,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5881:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"5877:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":99543,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5877:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":99544,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"5907:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99533,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5826:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99535,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5838:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"5826:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":99545,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5826:94:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99546,"nodeType":"ExpressionStatement","src":"5826:94:188"}]},"documentation":{"id":99501,"nodeType":"StructuredDocumentation","src":"5585:36:188","text":" @notice Set defender."},"implemented":true,"kind":"function","modifiers":[],"name":"setDefender","nameLocation":"5633:11:188","parameters":{"id":99508,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99503,"mutability":"mutable","name":"matchEntity","nameLocation":"5653:11:188","nodeType":"VariableDeclaration","scope":99548,"src":"5645:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99502,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5645:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99505,"mutability":"mutable","name":"entity","nameLocation":"5674:6:188","nodeType":"VariableDeclaration","scope":99548,"src":"5666:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99504,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5666:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99507,"mutability":"mutable","name":"defender","nameLocation":"5690:8:188","nodeType":"VariableDeclaration","scope":99548,"src":"5682:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99506,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5682:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5644:55:188"},"returnParameters":{"id":99509,"nodeType":"ParameterList","parameters":[],"src":"5709:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99596,"nodeType":"FunctionDefinition","src":"5968:300:188","nodes":[],"body":{"id":99595,"nodeType":"Block","src":"6054:214:188","nodes":[],"statements":[{"assignments":[99562],"declarations":[{"constant":false,"id":99562,"mutability":"mutable","name":"_keyTuple","nameLocation":"6077:9:188","nodeType":"VariableDeclaration","scope":99595,"src":"6060:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99560,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6060:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99561,"nodeType":"ArrayTypeName","src":"6060:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99568,"initialValue":{"arguments":[{"hexValue":"32","id":99566,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6103:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99565,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6089:13:188","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":99563,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6093:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99564,"nodeType":"ArrayTypeName","src":"6093:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99567,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6089:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6060:45:188"},{"expression":{"id":99573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99569,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99562,"src":"6111:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99571,"indexExpression":{"hexValue":"30","id":99570,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6121:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6111:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99572,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99551,"src":"6126:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6111:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99574,"nodeType":"ExpressionStatement","src":"6111:26:188"},{"expression":{"id":99579,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99575,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99562,"src":"6143:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99577,"indexExpression":{"hexValue":"31","id":99576,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6153:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6143:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99578,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99553,"src":"6158:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6143:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99580,"nodeType":"ExpressionStatement","src":"6143:21:188"},{"expression":{"arguments":[{"id":99584,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"6196:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99585,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99562,"src":"6206:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":99586,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6217:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"components":[{"id":99589,"name":"defender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99555,"src":"6238:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":99590,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6237:10:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":99587,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"6220:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":99588,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6224:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"6220:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":99591,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6220:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":99592,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"6250:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99581,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"6171:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99583,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6181:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"6171:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":99593,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6171:92:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99594,"nodeType":"ExpressionStatement","src":"6171:92:188"}]},"documentation":{"id":99549,"nodeType":"StructuredDocumentation","src":"5929:36:188","text":" @notice Set defender."},"implemented":true,"kind":"function","modifiers":[],"name":"_setDefender","nameLocation":"5977:12:188","parameters":{"id":99556,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99551,"mutability":"mutable","name":"matchEntity","nameLocation":"5998:11:188","nodeType":"VariableDeclaration","scope":99596,"src":"5990:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99550,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5990:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99553,"mutability":"mutable","name":"entity","nameLocation":"6019:6:188","nodeType":"VariableDeclaration","scope":99596,"src":"6011:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99552,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6011:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99555,"mutability":"mutable","name":"defender","nameLocation":"6035:8:188","nodeType":"VariableDeclaration","scope":99596,"src":"6027:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99554,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6027:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5989:55:188"},"returnParameters":{"id":99557,"nodeType":"ParameterList","parameters":[],"src":"6054:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99652,"nodeType":"FunctionDefinition","src":"6325:382:188","nodes":[],"body":{"id":99651,"nodeType":"Block","src":"6462:245:188","nodes":[],"statements":[{"assignments":[99610],"declarations":[{"constant":false,"id":99610,"mutability":"mutable","name":"_keyTuple","nameLocation":"6485:9:188","nodeType":"VariableDeclaration","scope":99651,"src":"6468:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99608,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6468:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99609,"nodeType":"ArrayTypeName","src":"6468:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99616,"initialValue":{"arguments":[{"hexValue":"32","id":99614,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6511:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99613,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6497:13:188","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":99611,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6501:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99612,"nodeType":"ArrayTypeName","src":"6501:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99615,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6497:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6468:45:188"},{"expression":{"id":99621,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99617,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99610,"src":"6519:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99619,"indexExpression":{"hexValue":"30","id":99618,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6529:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6519:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99620,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99599,"src":"6534:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6519:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99622,"nodeType":"ExpressionStatement","src":"6519:26:188"},{"expression":{"id":99627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99623,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99610,"src":"6551:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99625,"indexExpression":{"hexValue":"31","id":99624,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6561:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6551:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99626,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99601,"src":"6566:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6551:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99628,"nodeType":"ExpressionStatement","src":"6551:21:188"},{"assignments":[99630],"declarations":[{"constant":false,"id":99630,"mutability":"mutable","name":"_blob","nameLocation":"6587:5:188","nodeType":"VariableDeclaration","scope":99651,"src":"6579:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99629,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6579:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99638,"initialValue":{"arguments":[{"id":99633,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"6622:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99634,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99610,"src":"6632:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"32","id":99635,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6643:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},{"id":99636,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"6646:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99631,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"6595:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99632,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6607:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"6595:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99637,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6595:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"6579:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":99645,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99630,"src":"6693:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99644,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6686:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":99643,"name":"bytes4","nodeType":"ElementaryTypeName","src":"6686:6:188","typeDescriptions":{}}},"id":99646,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6686:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":99642,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6679:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":99641,"name":"uint32","nodeType":"ElementaryTypeName","src":"6679:6:188","typeDescriptions":{}}},"id":99647,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6679:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":99640,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6673:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":99639,"name":"int32","nodeType":"ElementaryTypeName","src":"6673:5:188","typeDescriptions":{}}},"id":99648,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6673:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":99649,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6672:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":99605,"id":99650,"nodeType":"Return","src":"6665:37:188"}]},"documentation":{"id":99597,"nodeType":"StructuredDocumentation","src":"6272:50:188","text":" @notice Get attackerDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"getAttackerDamageReceived","nameLocation":"6334:25:188","parameters":{"id":99602,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99599,"mutability":"mutable","name":"matchEntity","nameLocation":"6373:11:188","nodeType":"VariableDeclaration","scope":99652,"src":"6365:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99598,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6365:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99601,"mutability":"mutable","name":"entity","nameLocation":"6398:6:188","nodeType":"VariableDeclaration","scope":99652,"src":"6390:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99600,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6390:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"6359:49:188"},"returnParameters":{"id":99605,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99604,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"6438:22:188","nodeType":"VariableDeclaration","scope":99652,"src":"6432:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99603,"name":"int32","nodeType":"ElementaryTypeName","src":"6432:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"6431:30:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99708,"nodeType":"FunctionDefinition","src":"6764:381:188","nodes":[],"body":{"id":99707,"nodeType":"Block","src":"6902:243:188","nodes":[],"statements":[{"assignments":[99666],"declarations":[{"constant":false,"id":99666,"mutability":"mutable","name":"_keyTuple","nameLocation":"6925:9:188","nodeType":"VariableDeclaration","scope":99707,"src":"6908:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99664,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6908:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99665,"nodeType":"ArrayTypeName","src":"6908:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99672,"initialValue":{"arguments":[{"hexValue":"32","id":99670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6951:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99669,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6937:13:188","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":99667,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6941:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99668,"nodeType":"ArrayTypeName","src":"6941:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99671,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6937:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6908:45:188"},{"expression":{"id":99677,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99673,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99666,"src":"6959:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99675,"indexExpression":{"hexValue":"30","id":99674,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6969:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6959:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99676,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99655,"src":"6974:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6959:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99678,"nodeType":"ExpressionStatement","src":"6959:26:188"},{"expression":{"id":99683,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99679,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99666,"src":"6991:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99681,"indexExpression":{"hexValue":"31","id":99680,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7001:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6991:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99682,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99657,"src":"7006:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6991:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99684,"nodeType":"ExpressionStatement","src":"6991:21:188"},{"assignments":[99686],"declarations":[{"constant":false,"id":99686,"mutability":"mutable","name":"_blob","nameLocation":"7027:5:188","nodeType":"VariableDeclaration","scope":99707,"src":"7019:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99685,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7019:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99694,"initialValue":{"arguments":[{"id":99689,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"7060:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99690,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99666,"src":"7070:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"32","id":99691,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7081:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},{"id":99692,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"7084:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99687,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"7035:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7045:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"7035:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99693,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7035:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"7019:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":99701,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99686,"src":"7131:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99700,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7124:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":99699,"name":"bytes4","nodeType":"ElementaryTypeName","src":"7124:6:188","typeDescriptions":{}}},"id":99702,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7124:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":99698,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7117:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":99697,"name":"uint32","nodeType":"ElementaryTypeName","src":"7117:6:188","typeDescriptions":{}}},"id":99703,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7117:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":99696,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7111:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":99695,"name":"int32","nodeType":"ElementaryTypeName","src":"7111:5:188","typeDescriptions":{}}},"id":99704,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7111:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":99705,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7110:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":99661,"id":99706,"nodeType":"Return","src":"7103:37:188"}]},"documentation":{"id":99653,"nodeType":"StructuredDocumentation","src":"6711:50:188","text":" @notice Get attackerDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"_getAttackerDamageReceived","nameLocation":"6773:26:188","parameters":{"id":99658,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99655,"mutability":"mutable","name":"matchEntity","nameLocation":"6813:11:188","nodeType":"VariableDeclaration","scope":99708,"src":"6805:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99654,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6805:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99657,"mutability":"mutable","name":"entity","nameLocation":"6838:6:188","nodeType":"VariableDeclaration","scope":99708,"src":"6830:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99656,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6830:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"6799:49:188"},"returnParameters":{"id":99661,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99660,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"6878:22:188","nodeType":"VariableDeclaration","scope":99708,"src":"6872:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99659,"name":"int32","nodeType":"ElementaryTypeName","src":"6872:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"6871:30:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99756,"nodeType":"FunctionDefinition","src":"7202:341:188","nodes":[],"body":{"id":99755,"nodeType":"Block","src":"7313:230:188","nodes":[],"statements":[{"assignments":[99722],"declarations":[{"constant":false,"id":99722,"mutability":"mutable","name":"_keyTuple","nameLocation":"7336:9:188","nodeType":"VariableDeclaration","scope":99755,"src":"7319:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99720,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7319:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99721,"nodeType":"ArrayTypeName","src":"7319:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99728,"initialValue":{"arguments":[{"hexValue":"32","id":99726,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7362:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99725,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7348:13:188","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":99723,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7352:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99724,"nodeType":"ArrayTypeName","src":"7352:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7348:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7319:45:188"},{"expression":{"id":99733,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99729,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99722,"src":"7370:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99731,"indexExpression":{"hexValue":"30","id":99730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7380:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7370:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99732,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99711,"src":"7385:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7370:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99734,"nodeType":"ExpressionStatement","src":"7370:26:188"},{"expression":{"id":99739,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99735,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99722,"src":"7402:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99737,"indexExpression":{"hexValue":"31","id":99736,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7412:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7402:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99738,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99713,"src":"7417:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7402:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99740,"nodeType":"ExpressionStatement","src":"7402:21:188"},{"expression":{"arguments":[{"id":99744,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"7457:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99745,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99722,"src":"7467:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"32","id":99746,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7478:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},{"arguments":[{"components":[{"id":99749,"name":"attackerDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99715,"src":"7499:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":99750,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7498:24:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":99747,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"7481:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":99748,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7485:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"7481:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":99751,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7481:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":99752,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"7525:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99741,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"7430:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99743,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7442:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"7430:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":99753,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7430:108:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99754,"nodeType":"ExpressionStatement","src":"7430:108:188"}]},"documentation":{"id":99709,"nodeType":"StructuredDocumentation","src":"7149:50:188","text":" @notice Set attackerDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"setAttackerDamageReceived","nameLocation":"7211:25:188","parameters":{"id":99716,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99711,"mutability":"mutable","name":"matchEntity","nameLocation":"7245:11:188","nodeType":"VariableDeclaration","scope":99756,"src":"7237:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99710,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7237:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99713,"mutability":"mutable","name":"entity","nameLocation":"7266:6:188","nodeType":"VariableDeclaration","scope":99756,"src":"7258:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99712,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7258:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99715,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"7280:22:188","nodeType":"VariableDeclaration","scope":99756,"src":"7274:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99714,"name":"int32","nodeType":"ElementaryTypeName","src":"7274:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"7236:67:188"},"returnParameters":{"id":99717,"nodeType":"ParameterList","parameters":[],"src":"7313:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99804,"nodeType":"FunctionDefinition","src":"7600:340:188","nodes":[],"body":{"id":99803,"nodeType":"Block","src":"7712:228:188","nodes":[],"statements":[{"assignments":[99770],"declarations":[{"constant":false,"id":99770,"mutability":"mutable","name":"_keyTuple","nameLocation":"7735:9:188","nodeType":"VariableDeclaration","scope":99803,"src":"7718:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99768,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7718:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99769,"nodeType":"ArrayTypeName","src":"7718:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99776,"initialValue":{"arguments":[{"hexValue":"32","id":99774,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7761:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99773,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7747:13:188","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":99771,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7751:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99772,"nodeType":"ArrayTypeName","src":"7751:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99775,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7747:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7718:45:188"},{"expression":{"id":99781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99777,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99770,"src":"7769:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99779,"indexExpression":{"hexValue":"30","id":99778,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7779:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7769:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99780,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99759,"src":"7784:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7769:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99782,"nodeType":"ExpressionStatement","src":"7769:26:188"},{"expression":{"id":99787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99783,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99770,"src":"7801:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99785,"indexExpression":{"hexValue":"31","id":99784,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7811:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7801:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99786,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99761,"src":"7816:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7801:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99788,"nodeType":"ExpressionStatement","src":"7801:21:188"},{"expression":{"arguments":[{"id":99792,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"7854:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99793,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99770,"src":"7864:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"32","id":99794,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7875:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},{"arguments":[{"components":[{"id":99797,"name":"attackerDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99763,"src":"7896:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":99798,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7895:24:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":99795,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"7878:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":99796,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7882:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"7878:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":99799,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7878:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":99800,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"7922:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99789,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"7829:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7839:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"7829:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":99801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7829:106:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99802,"nodeType":"ExpressionStatement","src":"7829:106:188"}]},"documentation":{"id":99757,"nodeType":"StructuredDocumentation","src":"7547:50:188","text":" @notice Set attackerDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"_setAttackerDamageReceived","nameLocation":"7609:26:188","parameters":{"id":99764,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99759,"mutability":"mutable","name":"matchEntity","nameLocation":"7644:11:188","nodeType":"VariableDeclaration","scope":99804,"src":"7636:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99758,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7636:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99761,"mutability":"mutable","name":"entity","nameLocation":"7665:6:188","nodeType":"VariableDeclaration","scope":99804,"src":"7657:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99760,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7657:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99763,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"7679:22:188","nodeType":"VariableDeclaration","scope":99804,"src":"7673:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99762,"name":"int32","nodeType":"ElementaryTypeName","src":"7673:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"7635:67:188"},"returnParameters":{"id":99765,"nodeType":"ParameterList","parameters":[],"src":"7712:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":99860,"nodeType":"FunctionDefinition","src":"7997:382:188","nodes":[],"body":{"id":99859,"nodeType":"Block","src":"8134:245:188","nodes":[],"statements":[{"assignments":[99818],"declarations":[{"constant":false,"id":99818,"mutability":"mutable","name":"_keyTuple","nameLocation":"8157:9:188","nodeType":"VariableDeclaration","scope":99859,"src":"8140:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99816,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8140:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99817,"nodeType":"ArrayTypeName","src":"8140:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99824,"initialValue":{"arguments":[{"hexValue":"32","id":99822,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8183:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99821,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8169:13:188","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":99819,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8173:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99820,"nodeType":"ArrayTypeName","src":"8173:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99823,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8169:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8140:45:188"},{"expression":{"id":99829,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99825,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99818,"src":"8191:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99827,"indexExpression":{"hexValue":"30","id":99826,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8201:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8191:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99828,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99807,"src":"8206:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8191:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99830,"nodeType":"ExpressionStatement","src":"8191:26:188"},{"expression":{"id":99835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99831,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99818,"src":"8223:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99833,"indexExpression":{"hexValue":"31","id":99832,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8233:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8223:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99834,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99809,"src":"8238:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8223:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99836,"nodeType":"ExpressionStatement","src":"8223:21:188"},{"assignments":[99838],"declarations":[{"constant":false,"id":99838,"mutability":"mutable","name":"_blob","nameLocation":"8259:5:188","nodeType":"VariableDeclaration","scope":99859,"src":"8251:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99837,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8251:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99846,"initialValue":{"arguments":[{"id":99841,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"8294:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99842,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99818,"src":"8304:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"33","id":99843,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8315:1:188","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},{"id":99844,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"8318:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99839,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"8267:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99840,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8279:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"8267:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99845,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8267:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"8251:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":99853,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99838,"src":"8365:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99852,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8358:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":99851,"name":"bytes4","nodeType":"ElementaryTypeName","src":"8358:6:188","typeDescriptions":{}}},"id":99854,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8358:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":99850,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8351:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":99849,"name":"uint32","nodeType":"ElementaryTypeName","src":"8351:6:188","typeDescriptions":{}}},"id":99855,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8351:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":99848,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8345:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":99847,"name":"int32","nodeType":"ElementaryTypeName","src":"8345:5:188","typeDescriptions":{}}},"id":99856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8345:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":99857,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8344:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":99813,"id":99858,"nodeType":"Return","src":"8337:37:188"}]},"documentation":{"id":99805,"nodeType":"StructuredDocumentation","src":"7944:50:188","text":" @notice Get defenderDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"getDefenderDamageReceived","nameLocation":"8006:25:188","parameters":{"id":99810,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99807,"mutability":"mutable","name":"matchEntity","nameLocation":"8045:11:188","nodeType":"VariableDeclaration","scope":99860,"src":"8037:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99806,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8037:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99809,"mutability":"mutable","name":"entity","nameLocation":"8070:6:188","nodeType":"VariableDeclaration","scope":99860,"src":"8062:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99808,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8062:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"8031:49:188"},"returnParameters":{"id":99813,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99812,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"8110:22:188","nodeType":"VariableDeclaration","scope":99860,"src":"8104:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99811,"name":"int32","nodeType":"ElementaryTypeName","src":"8104:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"8103:30:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99916,"nodeType":"FunctionDefinition","src":"8436:381:188","nodes":[],"body":{"id":99915,"nodeType":"Block","src":"8574:243:188","nodes":[],"statements":[{"assignments":[99874],"declarations":[{"constant":false,"id":99874,"mutability":"mutable","name":"_keyTuple","nameLocation":"8597:9:188","nodeType":"VariableDeclaration","scope":99915,"src":"8580:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99872,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8580:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99873,"nodeType":"ArrayTypeName","src":"8580:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99880,"initialValue":{"arguments":[{"hexValue":"32","id":99878,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8623:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99877,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8609:13:188","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":99875,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8613:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99876,"nodeType":"ArrayTypeName","src":"8613:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99879,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8609:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8580:45:188"},{"expression":{"id":99885,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99881,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99874,"src":"8631:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99883,"indexExpression":{"hexValue":"30","id":99882,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8641:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8631:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99884,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99863,"src":"8646:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8631:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99886,"nodeType":"ExpressionStatement","src":"8631:26:188"},{"expression":{"id":99891,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99887,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99874,"src":"8663:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99889,"indexExpression":{"hexValue":"31","id":99888,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8673:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8663:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99890,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99865,"src":"8678:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8663:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99892,"nodeType":"ExpressionStatement","src":"8663:21:188"},{"assignments":[99894],"declarations":[{"constant":false,"id":99894,"mutability":"mutable","name":"_blob","nameLocation":"8699:5:188","nodeType":"VariableDeclaration","scope":99915,"src":"8691:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99893,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8691:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":99902,"initialValue":{"arguments":[{"id":99897,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"8732:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99898,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99874,"src":"8742:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"33","id":99899,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8753:1:188","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},{"id":99900,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"8756:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99895,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"8707:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99896,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8717:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"8707:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":99901,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8707:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"8691:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":99909,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99894,"src":"8803:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":99908,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8796:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":99907,"name":"bytes4","nodeType":"ElementaryTypeName","src":"8796:6:188","typeDescriptions":{}}},"id":99910,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8796:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":99906,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8789:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":99905,"name":"uint32","nodeType":"ElementaryTypeName","src":"8789:6:188","typeDescriptions":{}}},"id":99911,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8789:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":99904,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8783:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":99903,"name":"int32","nodeType":"ElementaryTypeName","src":"8783:5:188","typeDescriptions":{}}},"id":99912,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8783:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":99913,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8782:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":99869,"id":99914,"nodeType":"Return","src":"8775:37:188"}]},"documentation":{"id":99861,"nodeType":"StructuredDocumentation","src":"8383:50:188","text":" @notice Get defenderDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"_getDefenderDamageReceived","nameLocation":"8445:26:188","parameters":{"id":99866,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99863,"mutability":"mutable","name":"matchEntity","nameLocation":"8485:11:188","nodeType":"VariableDeclaration","scope":99916,"src":"8477:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99862,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8477:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99865,"mutability":"mutable","name":"entity","nameLocation":"8510:6:188","nodeType":"VariableDeclaration","scope":99916,"src":"8502:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99864,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8502:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"8471:49:188"},"returnParameters":{"id":99869,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99868,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"8550:22:188","nodeType":"VariableDeclaration","scope":99916,"src":"8544:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99867,"name":"int32","nodeType":"ElementaryTypeName","src":"8544:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"8543:30:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":99964,"nodeType":"FunctionDefinition","src":"8874:341:188","nodes":[],"body":{"id":99963,"nodeType":"Block","src":"8985:230:188","nodes":[],"statements":[{"assignments":[99930],"declarations":[{"constant":false,"id":99930,"mutability":"mutable","name":"_keyTuple","nameLocation":"9008:9:188","nodeType":"VariableDeclaration","scope":99963,"src":"8991:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99928,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8991:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99929,"nodeType":"ArrayTypeName","src":"8991:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99936,"initialValue":{"arguments":[{"hexValue":"32","id":99934,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9034:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99933,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9020:13:188","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":99931,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9024:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99932,"nodeType":"ArrayTypeName","src":"9024:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99935,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9020:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8991:45:188"},{"expression":{"id":99941,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99937,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99930,"src":"9042:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99939,"indexExpression":{"hexValue":"30","id":99938,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9052:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9042:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99940,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99919,"src":"9057:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9042:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99942,"nodeType":"ExpressionStatement","src":"9042:26:188"},{"expression":{"id":99947,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99943,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99930,"src":"9074:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99945,"indexExpression":{"hexValue":"31","id":99944,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9084:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9074:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99946,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99921,"src":"9089:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9074:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99948,"nodeType":"ExpressionStatement","src":"9074:21:188"},{"expression":{"arguments":[{"id":99952,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"9129:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":99953,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99930,"src":"9139:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"33","id":99954,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9150:1:188","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},{"arguments":[{"components":[{"id":99957,"name":"defenderDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99923,"src":"9171:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":99958,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9170:24:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":99955,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9153:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":99956,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9157:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"9153:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":99959,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9153:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":99960,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"9197:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99949,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"9102:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":99951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9114:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"9102:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":99961,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9102:108:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99962,"nodeType":"ExpressionStatement","src":"9102:108:188"}]},"documentation":{"id":99917,"nodeType":"StructuredDocumentation","src":"8821:50:188","text":" @notice Set defenderDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"setDefenderDamageReceived","nameLocation":"8883:25:188","parameters":{"id":99924,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99919,"mutability":"mutable","name":"matchEntity","nameLocation":"8917:11:188","nodeType":"VariableDeclaration","scope":99964,"src":"8909:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99918,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8909:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99921,"mutability":"mutable","name":"entity","nameLocation":"8938:6:188","nodeType":"VariableDeclaration","scope":99964,"src":"8930:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99920,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8930:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99923,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"8952:22:188","nodeType":"VariableDeclaration","scope":99964,"src":"8946:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99922,"name":"int32","nodeType":"ElementaryTypeName","src":"8946:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"8908:67:188"},"returnParameters":{"id":99925,"nodeType":"ParameterList","parameters":[],"src":"8985:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100012,"nodeType":"FunctionDefinition","src":"9272:340:188","nodes":[],"body":{"id":100011,"nodeType":"Block","src":"9384:228:188","nodes":[],"statements":[{"assignments":[99978],"declarations":[{"constant":false,"id":99978,"mutability":"mutable","name":"_keyTuple","nameLocation":"9407:9:188","nodeType":"VariableDeclaration","scope":100011,"src":"9390:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":99976,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9390:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99977,"nodeType":"ArrayTypeName","src":"9390:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":99984,"initialValue":{"arguments":[{"hexValue":"32","id":99982,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9433:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":99981,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9419:13:188","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":99979,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9423:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99980,"nodeType":"ArrayTypeName","src":"9423:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":99983,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9419:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9390:45:188"},{"expression":{"id":99989,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99985,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99978,"src":"9441:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99987,"indexExpression":{"hexValue":"30","id":99986,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9451:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9441:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99988,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99967,"src":"9456:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9441:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99990,"nodeType":"ExpressionStatement","src":"9441:26:188"},{"expression":{"id":99995,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":99991,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99978,"src":"9473:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":99993,"indexExpression":{"hexValue":"31","id":99992,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9483:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9473:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":99994,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99969,"src":"9488:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9473:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":99996,"nodeType":"ExpressionStatement","src":"9473:21:188"},{"expression":{"arguments":[{"id":100000,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"9526:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100001,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99978,"src":"9536:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"33","id":100002,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9547:1:188","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},{"arguments":[{"components":[{"id":100005,"name":"defenderDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99971,"src":"9568:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100006,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9567:24:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":100003,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9550:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100004,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9554:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"9550:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100007,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9550:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100008,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"9594:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":99997,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"9501:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":99999,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9511:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"9501:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100009,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9501:106:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100010,"nodeType":"ExpressionStatement","src":"9501:106:188"}]},"documentation":{"id":99965,"nodeType":"StructuredDocumentation","src":"9219:50:188","text":" @notice Set defenderDamageReceived."},"implemented":true,"kind":"function","modifiers":[],"name":"_setDefenderDamageReceived","nameLocation":"9281:26:188","parameters":{"id":99972,"nodeType":"ParameterList","parameters":[{"constant":false,"id":99967,"mutability":"mutable","name":"matchEntity","nameLocation":"9316:11:188","nodeType":"VariableDeclaration","scope":100012,"src":"9308:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99966,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9308:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99969,"mutability":"mutable","name":"entity","nameLocation":"9337:6:188","nodeType":"VariableDeclaration","scope":100012,"src":"9329:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":99968,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9329:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":99971,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"9351:22:188","nodeType":"VariableDeclaration","scope":100012,"src":"9345:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":99970,"name":"int32","nodeType":"ElementaryTypeName","src":"9345:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"9307:67:188"},"returnParameters":{"id":99973,"nodeType":"ParameterList","parameters":[],"src":"9384:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100068,"nodeType":"FunctionDefinition","src":"9661:354:188","nodes":[],"body":{"id":100067,"nodeType":"Block","src":"9770:245:188","nodes":[],"statements":[{"assignments":[100026],"declarations":[{"constant":false,"id":100026,"mutability":"mutable","name":"_keyTuple","nameLocation":"9793:9:188","nodeType":"VariableDeclaration","scope":100067,"src":"9776:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100024,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9776:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100025,"nodeType":"ArrayTypeName","src":"9776:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100032,"initialValue":{"arguments":[{"hexValue":"32","id":100030,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9819:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100029,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9805:13:188","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":100027,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9809:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100028,"nodeType":"ArrayTypeName","src":"9809:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100031,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9805:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9776:45:188"},{"expression":{"id":100037,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100033,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100026,"src":"9827:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100035,"indexExpression":{"hexValue":"30","id":100034,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9837:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9827:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100036,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100015,"src":"9842:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9827:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100038,"nodeType":"ExpressionStatement","src":"9827:26:188"},{"expression":{"id":100043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100039,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100026,"src":"9859:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100041,"indexExpression":{"hexValue":"31","id":100040,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9869:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9859:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100042,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100017,"src":"9874:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9859:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100044,"nodeType":"ExpressionStatement","src":"9859:21:188"},{"assignments":[100046],"declarations":[{"constant":false,"id":100046,"mutability":"mutable","name":"_blob","nameLocation":"9895:5:188","nodeType":"VariableDeclaration","scope":100067,"src":"9887:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100045,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9887:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100054,"initialValue":{"arguments":[{"id":100049,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"9930:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100050,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100026,"src":"9940:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"34","id":100051,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9951:1:188","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},{"id":100052,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"9954:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100047,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"9903:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100048,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9915:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"9903:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100053,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9903:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"9887:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100061,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100046,"src":"10001:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100060,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9994:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":100059,"name":"bytes4","nodeType":"ElementaryTypeName","src":"9994:6:188","typeDescriptions":{}}},"id":100062,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9994:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":100058,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9987:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":100057,"name":"uint32","nodeType":"ElementaryTypeName","src":"9987:6:188","typeDescriptions":{}}},"id":100063,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9987:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":100056,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9981:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":100055,"name":"int32","nodeType":"ElementaryTypeName","src":"9981:5:188","typeDescriptions":{}}},"id":100064,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9981:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100065,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9980:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":100021,"id":100066,"nodeType":"Return","src":"9973:37:188"}]},"documentation":{"id":100013,"nodeType":"StructuredDocumentation","src":"9616:42:188","text":" @notice Get attackerDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"getAttackerDamage","nameLocation":"9670:17:188","parameters":{"id":100018,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100015,"mutability":"mutable","name":"matchEntity","nameLocation":"9696:11:188","nodeType":"VariableDeclaration","scope":100068,"src":"9688:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100014,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9688:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100017,"mutability":"mutable","name":"entity","nameLocation":"9717:6:188","nodeType":"VariableDeclaration","scope":100068,"src":"9709:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100016,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9709:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"9687:37:188"},"returnParameters":{"id":100021,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100020,"mutability":"mutable","name":"attackerDamage","nameLocation":"9754:14:188","nodeType":"VariableDeclaration","scope":100068,"src":"9748:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100019,"name":"int32","nodeType":"ElementaryTypeName","src":"9748:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"9747:22:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100124,"nodeType":"FunctionDefinition","src":"10064:353:188","nodes":[],"body":{"id":100123,"nodeType":"Block","src":"10174:243:188","nodes":[],"statements":[{"assignments":[100082],"declarations":[{"constant":false,"id":100082,"mutability":"mutable","name":"_keyTuple","nameLocation":"10197:9:188","nodeType":"VariableDeclaration","scope":100123,"src":"10180:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100080,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10180:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100081,"nodeType":"ArrayTypeName","src":"10180:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100088,"initialValue":{"arguments":[{"hexValue":"32","id":100086,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10223:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100085,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10209:13:188","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":100083,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10213:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100084,"nodeType":"ArrayTypeName","src":"10213:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100087,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10209:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10180:45:188"},{"expression":{"id":100093,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100089,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100082,"src":"10231:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100091,"indexExpression":{"hexValue":"30","id":100090,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10241:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10231:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100092,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100071,"src":"10246:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10231:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100094,"nodeType":"ExpressionStatement","src":"10231:26:188"},{"expression":{"id":100099,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100095,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100082,"src":"10263:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100097,"indexExpression":{"hexValue":"31","id":100096,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10273:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10263:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100098,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100073,"src":"10278:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10263:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100100,"nodeType":"ExpressionStatement","src":"10263:21:188"},{"assignments":[100102],"declarations":[{"constant":false,"id":100102,"mutability":"mutable","name":"_blob","nameLocation":"10299:5:188","nodeType":"VariableDeclaration","scope":100123,"src":"10291:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100101,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10291:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100110,"initialValue":{"arguments":[{"id":100105,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"10332:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100106,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100082,"src":"10342:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"34","id":100107,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10353:1:188","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},{"id":100108,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"10356:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100103,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"10307:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100104,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10317:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"10307:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100109,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10307:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"10291:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100117,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100102,"src":"10403:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100116,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10396:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":100115,"name":"bytes4","nodeType":"ElementaryTypeName","src":"10396:6:188","typeDescriptions":{}}},"id":100118,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10396:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":100114,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10389:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":100113,"name":"uint32","nodeType":"ElementaryTypeName","src":"10389:6:188","typeDescriptions":{}}},"id":100119,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10389:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":100112,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10383:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":100111,"name":"int32","nodeType":"ElementaryTypeName","src":"10383:5:188","typeDescriptions":{}}},"id":100120,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10383:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100121,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10382:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":100077,"id":100122,"nodeType":"Return","src":"10375:37:188"}]},"documentation":{"id":100069,"nodeType":"StructuredDocumentation","src":"10019:42:188","text":" @notice Get attackerDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"_getAttackerDamage","nameLocation":"10073:18:188","parameters":{"id":100074,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100071,"mutability":"mutable","name":"matchEntity","nameLocation":"10100:11:188","nodeType":"VariableDeclaration","scope":100124,"src":"10092:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100070,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10092:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100073,"mutability":"mutable","name":"entity","nameLocation":"10121:6:188","nodeType":"VariableDeclaration","scope":100124,"src":"10113:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100072,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10113:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"10091:37:188"},"returnParameters":{"id":100077,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100076,"mutability":"mutable","name":"attackerDamage","nameLocation":"10158:14:188","nodeType":"VariableDeclaration","scope":100124,"src":"10152:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100075,"name":"int32","nodeType":"ElementaryTypeName","src":"10152:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"10151:22:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100172,"nodeType":"FunctionDefinition","src":"10466:317:188","nodes":[],"body":{"id":100171,"nodeType":"Block","src":"10561:222:188","nodes":[],"statements":[{"assignments":[100138],"declarations":[{"constant":false,"id":100138,"mutability":"mutable","name":"_keyTuple","nameLocation":"10584:9:188","nodeType":"VariableDeclaration","scope":100171,"src":"10567:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100136,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10567:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100137,"nodeType":"ArrayTypeName","src":"10567:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100144,"initialValue":{"arguments":[{"hexValue":"32","id":100142,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10610:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100141,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10596:13:188","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":100139,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10600:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100140,"nodeType":"ArrayTypeName","src":"10600:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100143,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10596:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10567:45:188"},{"expression":{"id":100149,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100145,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100138,"src":"10618:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100147,"indexExpression":{"hexValue":"30","id":100146,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10628:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10618:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100148,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100127,"src":"10633:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10618:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100150,"nodeType":"ExpressionStatement","src":"10618:26:188"},{"expression":{"id":100155,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100151,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100138,"src":"10650:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100153,"indexExpression":{"hexValue":"31","id":100152,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10660:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10650:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100154,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100129,"src":"10665:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10650:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100156,"nodeType":"ExpressionStatement","src":"10650:21:188"},{"expression":{"arguments":[{"id":100160,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"10705:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100161,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100138,"src":"10715:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"34","id":100162,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10726:1:188","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},{"arguments":[{"components":[{"id":100165,"name":"attackerDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100131,"src":"10747:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100166,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10746:16:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":100163,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"10729:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100164,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10733:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"10729:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100167,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10729:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100168,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"10765:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100157,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"10678:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100159,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10690:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"10678:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100169,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10678:100:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100170,"nodeType":"ExpressionStatement","src":"10678:100:188"}]},"documentation":{"id":100125,"nodeType":"StructuredDocumentation","src":"10421:42:188","text":" @notice Set attackerDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"setAttackerDamage","nameLocation":"10475:17:188","parameters":{"id":100132,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100127,"mutability":"mutable","name":"matchEntity","nameLocation":"10501:11:188","nodeType":"VariableDeclaration","scope":100172,"src":"10493:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100126,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10493:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100129,"mutability":"mutable","name":"entity","nameLocation":"10522:6:188","nodeType":"VariableDeclaration","scope":100172,"src":"10514:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100128,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10514:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100131,"mutability":"mutable","name":"attackerDamage","nameLocation":"10536:14:188","nodeType":"VariableDeclaration","scope":100172,"src":"10530:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100130,"name":"int32","nodeType":"ElementaryTypeName","src":"10530:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"10492:59:188"},"returnParameters":{"id":100133,"nodeType":"ParameterList","parameters":[],"src":"10561:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100220,"nodeType":"FunctionDefinition","src":"10832:316:188","nodes":[],"body":{"id":100219,"nodeType":"Block","src":"10928:220:188","nodes":[],"statements":[{"assignments":[100186],"declarations":[{"constant":false,"id":100186,"mutability":"mutable","name":"_keyTuple","nameLocation":"10951:9:188","nodeType":"VariableDeclaration","scope":100219,"src":"10934:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100184,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10934:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100185,"nodeType":"ArrayTypeName","src":"10934:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100192,"initialValue":{"arguments":[{"hexValue":"32","id":100190,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10977:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100189,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10963:13:188","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":100187,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10967:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100188,"nodeType":"ArrayTypeName","src":"10967:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100191,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10963:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10934:45:188"},{"expression":{"id":100197,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100193,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100186,"src":"10985:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100195,"indexExpression":{"hexValue":"30","id":100194,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10995:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10985:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100196,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100175,"src":"11000:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10985:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100198,"nodeType":"ExpressionStatement","src":"10985:26:188"},{"expression":{"id":100203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100199,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100186,"src":"11017:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100201,"indexExpression":{"hexValue":"31","id":100200,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11027:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11017:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100202,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100177,"src":"11032:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11017:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100204,"nodeType":"ExpressionStatement","src":"11017:21:188"},{"expression":{"arguments":[{"id":100208,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"11070:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100209,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100186,"src":"11080:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"34","id":100210,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11091:1:188","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},{"arguments":[{"components":[{"id":100213,"name":"attackerDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100179,"src":"11112:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100214,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11111:16:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":100211,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"11094:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100212,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11098:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"11094:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100215,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11094:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100216,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"11130:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100205,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"11045:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100207,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11055:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"11045:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100217,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11045:98:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100218,"nodeType":"ExpressionStatement","src":"11045:98:188"}]},"documentation":{"id":100173,"nodeType":"StructuredDocumentation","src":"10787:42:188","text":" @notice Set attackerDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"_setAttackerDamage","nameLocation":"10841:18:188","parameters":{"id":100180,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100175,"mutability":"mutable","name":"matchEntity","nameLocation":"10868:11:188","nodeType":"VariableDeclaration","scope":100220,"src":"10860:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100174,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10860:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100177,"mutability":"mutable","name":"entity","nameLocation":"10889:6:188","nodeType":"VariableDeclaration","scope":100220,"src":"10881:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100176,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10881:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100179,"mutability":"mutable","name":"attackerDamage","nameLocation":"10903:14:188","nodeType":"VariableDeclaration","scope":100220,"src":"10897:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100178,"name":"int32","nodeType":"ElementaryTypeName","src":"10897:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"10859:59:188"},"returnParameters":{"id":100181,"nodeType":"ParameterList","parameters":[],"src":"10928:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100276,"nodeType":"FunctionDefinition","src":"11197:354:188","nodes":[],"body":{"id":100275,"nodeType":"Block","src":"11306:245:188","nodes":[],"statements":[{"assignments":[100234],"declarations":[{"constant":false,"id":100234,"mutability":"mutable","name":"_keyTuple","nameLocation":"11329:9:188","nodeType":"VariableDeclaration","scope":100275,"src":"11312:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100232,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11312:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100233,"nodeType":"ArrayTypeName","src":"11312:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100240,"initialValue":{"arguments":[{"hexValue":"32","id":100238,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11355:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100237,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11341:13:188","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":100235,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11345:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100236,"nodeType":"ArrayTypeName","src":"11345:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100239,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11341:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11312:45:188"},{"expression":{"id":100245,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100241,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100234,"src":"11363:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100243,"indexExpression":{"hexValue":"30","id":100242,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11373:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11363:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100244,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100223,"src":"11378:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11363:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100246,"nodeType":"ExpressionStatement","src":"11363:26:188"},{"expression":{"id":100251,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100247,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100234,"src":"11395:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100249,"indexExpression":{"hexValue":"31","id":100248,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11405:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11395:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100250,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100225,"src":"11410:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11395:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100252,"nodeType":"ExpressionStatement","src":"11395:21:188"},{"assignments":[100254],"declarations":[{"constant":false,"id":100254,"mutability":"mutable","name":"_blob","nameLocation":"11431:5:188","nodeType":"VariableDeclaration","scope":100275,"src":"11423:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100253,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11423:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100262,"initialValue":{"arguments":[{"id":100257,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"11466:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100258,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100234,"src":"11476:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"35","id":100259,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11487:1:188","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},{"id":100260,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"11490:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100255,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"11439:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100256,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11451:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"11439:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100261,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11439:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"11423:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100269,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100254,"src":"11537:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100268,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11530:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":100267,"name":"bytes4","nodeType":"ElementaryTypeName","src":"11530:6:188","typeDescriptions":{}}},"id":100270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11530:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":100266,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11523:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":100265,"name":"uint32","nodeType":"ElementaryTypeName","src":"11523:6:188","typeDescriptions":{}}},"id":100271,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11523:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":100264,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11517:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":100263,"name":"int32","nodeType":"ElementaryTypeName","src":"11517:5:188","typeDescriptions":{}}},"id":100272,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11517:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100273,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11516:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":100229,"id":100274,"nodeType":"Return","src":"11509:37:188"}]},"documentation":{"id":100221,"nodeType":"StructuredDocumentation","src":"11152:42:188","text":" @notice Get defenderDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"getDefenderDamage","nameLocation":"11206:17:188","parameters":{"id":100226,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100223,"mutability":"mutable","name":"matchEntity","nameLocation":"11232:11:188","nodeType":"VariableDeclaration","scope":100276,"src":"11224:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100222,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11224:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100225,"mutability":"mutable","name":"entity","nameLocation":"11253:6:188","nodeType":"VariableDeclaration","scope":100276,"src":"11245:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100224,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11245:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"11223:37:188"},"returnParameters":{"id":100229,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100228,"mutability":"mutable","name":"defenderDamage","nameLocation":"11290:14:188","nodeType":"VariableDeclaration","scope":100276,"src":"11284:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100227,"name":"int32","nodeType":"ElementaryTypeName","src":"11284:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"11283:22:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100332,"nodeType":"FunctionDefinition","src":"11600:353:188","nodes":[],"body":{"id":100331,"nodeType":"Block","src":"11710:243:188","nodes":[],"statements":[{"assignments":[100290],"declarations":[{"constant":false,"id":100290,"mutability":"mutable","name":"_keyTuple","nameLocation":"11733:9:188","nodeType":"VariableDeclaration","scope":100331,"src":"11716:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100288,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11716:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100289,"nodeType":"ArrayTypeName","src":"11716:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100296,"initialValue":{"arguments":[{"hexValue":"32","id":100294,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11759:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100293,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11745:13:188","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":100291,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11749:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100292,"nodeType":"ArrayTypeName","src":"11749:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100295,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11745:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11716:45:188"},{"expression":{"id":100301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100297,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100290,"src":"11767:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100299,"indexExpression":{"hexValue":"30","id":100298,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11777:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11767:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100300,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100279,"src":"11782:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11767:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100302,"nodeType":"ExpressionStatement","src":"11767:26:188"},{"expression":{"id":100307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100303,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100290,"src":"11799:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100305,"indexExpression":{"hexValue":"31","id":100304,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11809:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11799:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100306,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100281,"src":"11814:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11799:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100308,"nodeType":"ExpressionStatement","src":"11799:21:188"},{"assignments":[100310],"declarations":[{"constant":false,"id":100310,"mutability":"mutable","name":"_blob","nameLocation":"11835:5:188","nodeType":"VariableDeclaration","scope":100331,"src":"11827:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100309,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11827:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100318,"initialValue":{"arguments":[{"id":100313,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"11868:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100314,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100290,"src":"11878:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"35","id":100315,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11889:1:188","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},{"id":100316,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"11892:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100311,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"11843:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100312,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11853:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"11843:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100317,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11843:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"11827:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100325,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100310,"src":"11939:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100324,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11932:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes4_$","typeString":"type(bytes4)"},"typeName":{"id":100323,"name":"bytes4","nodeType":"ElementaryTypeName","src":"11932:6:188","typeDescriptions":{}}},"id":100326,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11932:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":100322,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11925:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":100321,"name":"uint32","nodeType":"ElementaryTypeName","src":"11925:6:188","typeDescriptions":{}}},"id":100327,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11925:21:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":100320,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11919:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":100319,"name":"int32","nodeType":"ElementaryTypeName","src":"11919:5:188","typeDescriptions":{}}},"id":100328,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11919:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100329,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11918:30:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"functionReturnParameters":100285,"id":100330,"nodeType":"Return","src":"11911:37:188"}]},"documentation":{"id":100277,"nodeType":"StructuredDocumentation","src":"11555:42:188","text":" @notice Get defenderDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"_getDefenderDamage","nameLocation":"11609:18:188","parameters":{"id":100282,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100279,"mutability":"mutable","name":"matchEntity","nameLocation":"11636:11:188","nodeType":"VariableDeclaration","scope":100332,"src":"11628:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100278,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11628:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100281,"mutability":"mutable","name":"entity","nameLocation":"11657:6:188","nodeType":"VariableDeclaration","scope":100332,"src":"11649:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100280,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11649:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"11627:37:188"},"returnParameters":{"id":100285,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100284,"mutability":"mutable","name":"defenderDamage","nameLocation":"11694:14:188","nodeType":"VariableDeclaration","scope":100332,"src":"11688:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100283,"name":"int32","nodeType":"ElementaryTypeName","src":"11688:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"11687:22:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100380,"nodeType":"FunctionDefinition","src":"12002:317:188","nodes":[],"body":{"id":100379,"nodeType":"Block","src":"12097:222:188","nodes":[],"statements":[{"assignments":[100346],"declarations":[{"constant":false,"id":100346,"mutability":"mutable","name":"_keyTuple","nameLocation":"12120:9:188","nodeType":"VariableDeclaration","scope":100379,"src":"12103:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100344,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12103:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100345,"nodeType":"ArrayTypeName","src":"12103:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100352,"initialValue":{"arguments":[{"hexValue":"32","id":100350,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12146:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100349,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12132:13:188","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":100347,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12136:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100348,"nodeType":"ArrayTypeName","src":"12136:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100351,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12132:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12103:45:188"},{"expression":{"id":100357,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100353,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100346,"src":"12154:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100355,"indexExpression":{"hexValue":"30","id":100354,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12164:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12154:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100356,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100335,"src":"12169:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12154:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100358,"nodeType":"ExpressionStatement","src":"12154:26:188"},{"expression":{"id":100363,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100359,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100346,"src":"12186:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100361,"indexExpression":{"hexValue":"31","id":100360,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12196:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12186:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100362,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100337,"src":"12201:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12186:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100364,"nodeType":"ExpressionStatement","src":"12186:21:188"},{"expression":{"arguments":[{"id":100368,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"12241:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100369,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100346,"src":"12251:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"35","id":100370,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12262:1:188","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},{"arguments":[{"components":[{"id":100373,"name":"defenderDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100339,"src":"12283:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100374,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12282:16:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":100371,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"12265:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100372,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12269:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"12265:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100375,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12265:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100376,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"12301:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100365,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"12214:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100367,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12226:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"12214:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100377,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12214:100:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100378,"nodeType":"ExpressionStatement","src":"12214:100:188"}]},"documentation":{"id":100333,"nodeType":"StructuredDocumentation","src":"11957:42:188","text":" @notice Set defenderDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"setDefenderDamage","nameLocation":"12011:17:188","parameters":{"id":100340,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100335,"mutability":"mutable","name":"matchEntity","nameLocation":"12037:11:188","nodeType":"VariableDeclaration","scope":100380,"src":"12029:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100334,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12029:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100337,"mutability":"mutable","name":"entity","nameLocation":"12058:6:188","nodeType":"VariableDeclaration","scope":100380,"src":"12050:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100336,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12050:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100339,"mutability":"mutable","name":"defenderDamage","nameLocation":"12072:14:188","nodeType":"VariableDeclaration","scope":100380,"src":"12066:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100338,"name":"int32","nodeType":"ElementaryTypeName","src":"12066:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"12028:59:188"},"returnParameters":{"id":100341,"nodeType":"ParameterList","parameters":[],"src":"12097:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100428,"nodeType":"FunctionDefinition","src":"12368:316:188","nodes":[],"body":{"id":100427,"nodeType":"Block","src":"12464:220:188","nodes":[],"statements":[{"assignments":[100394],"declarations":[{"constant":false,"id":100394,"mutability":"mutable","name":"_keyTuple","nameLocation":"12487:9:188","nodeType":"VariableDeclaration","scope":100427,"src":"12470:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100392,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12470:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100393,"nodeType":"ArrayTypeName","src":"12470:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100400,"initialValue":{"arguments":[{"hexValue":"32","id":100398,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12513:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100397,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12499:13:188","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":100395,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12503:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100396,"nodeType":"ArrayTypeName","src":"12503:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100399,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12499:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12470:45:188"},{"expression":{"id":100405,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100401,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100394,"src":"12521:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100403,"indexExpression":{"hexValue":"30","id":100402,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12531:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12521:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100404,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100383,"src":"12536:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12521:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100406,"nodeType":"ExpressionStatement","src":"12521:26:188"},{"expression":{"id":100411,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100407,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100394,"src":"12553:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100409,"indexExpression":{"hexValue":"31","id":100408,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12563:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12553:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100410,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100385,"src":"12568:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12553:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100412,"nodeType":"ExpressionStatement","src":"12553:21:188"},{"expression":{"arguments":[{"id":100416,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"12606:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100417,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100394,"src":"12616:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"35","id":100418,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12627:1:188","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},{"arguments":[{"components":[{"id":100421,"name":"defenderDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100387,"src":"12648:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":100422,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12647:16:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int32","typeString":"int32"}],"expression":{"id":100419,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"12630:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100420,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12634:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"12630:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100423,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12630:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100424,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"12666:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100413,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"12581:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100415,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12591:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"12581:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100425,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12581:98:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100426,"nodeType":"ExpressionStatement","src":"12581:98:188"}]},"documentation":{"id":100381,"nodeType":"StructuredDocumentation","src":"12323:42:188","text":" @notice Set defenderDamage."},"implemented":true,"kind":"function","modifiers":[],"name":"_setDefenderDamage","nameLocation":"12377:18:188","parameters":{"id":100388,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100383,"mutability":"mutable","name":"matchEntity","nameLocation":"12404:11:188","nodeType":"VariableDeclaration","scope":100428,"src":"12396:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100382,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12396:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100385,"mutability":"mutable","name":"entity","nameLocation":"12425:6:188","nodeType":"VariableDeclaration","scope":100428,"src":"12417:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100384,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12417:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100387,"mutability":"mutable","name":"defenderDamage","nameLocation":"12439:14:188","nodeType":"VariableDeclaration","scope":100428,"src":"12433:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":100386,"name":"int32","nodeType":"ElementaryTypeName","src":"12433:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"12395:59:188"},"returnParameters":{"id":100389,"nodeType":"ParameterList","parameters":[],"src":"12464:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100483,"nodeType":"FunctionDefinition","src":"12725:338:188","nodes":[],"body":{"id":100482,"nodeType":"Block","src":"12817:246:188","nodes":[],"statements":[{"assignments":[100442],"declarations":[{"constant":false,"id":100442,"mutability":"mutable","name":"_keyTuple","nameLocation":"12840:9:188","nodeType":"VariableDeclaration","scope":100482,"src":"12823:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100440,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12823:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100441,"nodeType":"ArrayTypeName","src":"12823:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100448,"initialValue":{"arguments":[{"hexValue":"32","id":100446,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12866:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100445,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12852:13:188","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":100443,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12856:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100444,"nodeType":"ArrayTypeName","src":"12856:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100447,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12852:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12823:45:188"},{"expression":{"id":100453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100449,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100442,"src":"12874:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100451,"indexExpression":{"hexValue":"30","id":100450,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12884:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12874:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100452,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100431,"src":"12889:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12874:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100454,"nodeType":"ExpressionStatement","src":"12874:26:188"},{"expression":{"id":100459,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100455,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100442,"src":"12906:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100457,"indexExpression":{"hexValue":"31","id":100456,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12916:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12906:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100458,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100433,"src":"12921:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12906:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100460,"nodeType":"ExpressionStatement","src":"12906:21:188"},{"assignments":[100462],"declarations":[{"constant":false,"id":100462,"mutability":"mutable","name":"_blob","nameLocation":"12942:5:188","nodeType":"VariableDeclaration","scope":100482,"src":"12934:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100461,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12934:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100470,"initialValue":{"arguments":[{"id":100465,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"12977:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100466,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100442,"src":"12987:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"36","id":100467,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12998:1:188","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},{"id":100468,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"13001:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100463,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"12950:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12962:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"12950:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12950:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"12934:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100476,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100462,"src":"13049:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100475,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13042:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":100474,"name":"bytes1","nodeType":"ElementaryTypeName","src":"13042:6:188","typeDescriptions":{}}},"id":100477,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13042:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":100473,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13036:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":100472,"name":"uint8","nodeType":"ElementaryTypeName","src":"13036:5:188","typeDescriptions":{}}},"id":100478,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13036:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":100471,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"13028:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":100479,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13028:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100480,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13027:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":100437,"id":100481,"nodeType":"Return","src":"13020:38:188"}]},"documentation":{"id":100429,"nodeType":"StructuredDocumentation","src":"12688:34:188","text":" @notice Get ranged."},"implemented":true,"kind":"function","modifiers":[],"name":"getRanged","nameLocation":"12734:9:188","parameters":{"id":100434,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100431,"mutability":"mutable","name":"matchEntity","nameLocation":"12752:11:188","nodeType":"VariableDeclaration","scope":100483,"src":"12744:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100430,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12744:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100433,"mutability":"mutable","name":"entity","nameLocation":"12773:6:188","nodeType":"VariableDeclaration","scope":100483,"src":"12765:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100432,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12765:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"12743:37:188"},"returnParameters":{"id":100437,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100436,"mutability":"mutable","name":"ranged","nameLocation":"12809:6:188","nodeType":"VariableDeclaration","scope":100483,"src":"12804:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100435,"name":"bool","nodeType":"ElementaryTypeName","src":"12804:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"12803:13:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100538,"nodeType":"FunctionDefinition","src":"13104:337:188","nodes":[],"body":{"id":100537,"nodeType":"Block","src":"13197:244:188","nodes":[],"statements":[{"assignments":[100497],"declarations":[{"constant":false,"id":100497,"mutability":"mutable","name":"_keyTuple","nameLocation":"13220:9:188","nodeType":"VariableDeclaration","scope":100537,"src":"13203:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100495,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13203:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100496,"nodeType":"ArrayTypeName","src":"13203:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100503,"initialValue":{"arguments":[{"hexValue":"32","id":100501,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13246:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100500,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13232:13:188","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":100498,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13236:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100499,"nodeType":"ArrayTypeName","src":"13236:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100502,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13232:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13203:45:188"},{"expression":{"id":100508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100504,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100497,"src":"13254:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100506,"indexExpression":{"hexValue":"30","id":100505,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13264:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13254:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100507,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100486,"src":"13269:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13254:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100509,"nodeType":"ExpressionStatement","src":"13254:26:188"},{"expression":{"id":100514,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100510,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100497,"src":"13286:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100512,"indexExpression":{"hexValue":"31","id":100511,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13296:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13286:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100513,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100488,"src":"13301:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13286:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100515,"nodeType":"ExpressionStatement","src":"13286:21:188"},{"assignments":[100517],"declarations":[{"constant":false,"id":100517,"mutability":"mutable","name":"_blob","nameLocation":"13322:5:188","nodeType":"VariableDeclaration","scope":100537,"src":"13314:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100516,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13314:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100525,"initialValue":{"arguments":[{"id":100520,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"13355:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100521,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100497,"src":"13365:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"36","id":100522,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13376:1:188","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},{"id":100523,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"13379:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100518,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"13330:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100519,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13340:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"13330:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13330:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"13314:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100531,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100517,"src":"13427:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100530,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13420:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":100529,"name":"bytes1","nodeType":"ElementaryTypeName","src":"13420:6:188","typeDescriptions":{}}},"id":100532,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13420:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":100528,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13414:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":100527,"name":"uint8","nodeType":"ElementaryTypeName","src":"13414:5:188","typeDescriptions":{}}},"id":100533,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13414:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":100526,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"13406:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":100534,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13406:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100535,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13405:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":100492,"id":100536,"nodeType":"Return","src":"13398:38:188"}]},"documentation":{"id":100484,"nodeType":"StructuredDocumentation","src":"13067:34:188","text":" @notice Get ranged."},"implemented":true,"kind":"function","modifiers":[],"name":"_getRanged","nameLocation":"13113:10:188","parameters":{"id":100489,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100486,"mutability":"mutable","name":"matchEntity","nameLocation":"13132:11:188","nodeType":"VariableDeclaration","scope":100538,"src":"13124:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100485,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13124:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100488,"mutability":"mutable","name":"entity","nameLocation":"13153:6:188","nodeType":"VariableDeclaration","scope":100538,"src":"13145:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100487,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13145:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"13123:37:188"},"returnParameters":{"id":100492,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100491,"mutability":"mutable","name":"ranged","nameLocation":"13189:6:188","nodeType":"VariableDeclaration","scope":100538,"src":"13184:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100490,"name":"bool","nodeType":"ElementaryTypeName","src":"13184:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"13183:13:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100586,"nodeType":"FunctionDefinition","src":"13482:292:188","nodes":[],"body":{"id":100585,"nodeType":"Block","src":"13560:214:188","nodes":[],"statements":[{"assignments":[100552],"declarations":[{"constant":false,"id":100552,"mutability":"mutable","name":"_keyTuple","nameLocation":"13583:9:188","nodeType":"VariableDeclaration","scope":100585,"src":"13566:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100550,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13566:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100551,"nodeType":"ArrayTypeName","src":"13566:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100558,"initialValue":{"arguments":[{"hexValue":"32","id":100556,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13609:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100555,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13595:13:188","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":100553,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13599:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100554,"nodeType":"ArrayTypeName","src":"13599:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100557,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13595:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13566:45:188"},{"expression":{"id":100563,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100559,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100552,"src":"13617:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100561,"indexExpression":{"hexValue":"30","id":100560,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13627:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13617:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100562,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100541,"src":"13632:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13617:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100564,"nodeType":"ExpressionStatement","src":"13617:26:188"},{"expression":{"id":100569,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100565,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100552,"src":"13649:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100567,"indexExpression":{"hexValue":"31","id":100566,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13659:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13649:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100568,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100543,"src":"13664:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13649:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100570,"nodeType":"ExpressionStatement","src":"13649:21:188"},{"expression":{"arguments":[{"id":100574,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"13704:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100575,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100552,"src":"13714:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"36","id":100576,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13725:1:188","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},{"arguments":[{"components":[{"id":100579,"name":"ranged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100545,"src":"13746:6:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100580,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13745:8:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":100577,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"13728:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100578,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13732:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"13728:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100581,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13728:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100582,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"13756:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100571,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"13677:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100573,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13689:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"13677:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100583,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13677:92:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100584,"nodeType":"ExpressionStatement","src":"13677:92:188"}]},"documentation":{"id":100539,"nodeType":"StructuredDocumentation","src":"13445:34:188","text":" @notice Set ranged."},"implemented":true,"kind":"function","modifiers":[],"name":"setRanged","nameLocation":"13491:9:188","parameters":{"id":100546,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100541,"mutability":"mutable","name":"matchEntity","nameLocation":"13509:11:188","nodeType":"VariableDeclaration","scope":100586,"src":"13501:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100540,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13501:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100543,"mutability":"mutable","name":"entity","nameLocation":"13530:6:188","nodeType":"VariableDeclaration","scope":100586,"src":"13522:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100542,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13522:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100545,"mutability":"mutable","name":"ranged","nameLocation":"13543:6:188","nodeType":"VariableDeclaration","scope":100586,"src":"13538:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100544,"name":"bool","nodeType":"ElementaryTypeName","src":"13538:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"13500:50:188"},"returnParameters":{"id":100547,"nodeType":"ParameterList","parameters":[],"src":"13560:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100634,"nodeType":"FunctionDefinition","src":"13815:291:188","nodes":[],"body":{"id":100633,"nodeType":"Block","src":"13894:212:188","nodes":[],"statements":[{"assignments":[100600],"declarations":[{"constant":false,"id":100600,"mutability":"mutable","name":"_keyTuple","nameLocation":"13917:9:188","nodeType":"VariableDeclaration","scope":100633,"src":"13900:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100598,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13900:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100599,"nodeType":"ArrayTypeName","src":"13900:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100606,"initialValue":{"arguments":[{"hexValue":"32","id":100604,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13943:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100603,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13929:13:188","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":100601,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13933:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100602,"nodeType":"ArrayTypeName","src":"13933:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100605,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13929:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13900:45:188"},{"expression":{"id":100611,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100607,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100600,"src":"13951:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100609,"indexExpression":{"hexValue":"30","id":100608,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13961:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13951:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100610,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100589,"src":"13966:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13951:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100612,"nodeType":"ExpressionStatement","src":"13951:26:188"},{"expression":{"id":100617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100613,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100600,"src":"13983:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100615,"indexExpression":{"hexValue":"31","id":100614,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13993:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13983:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100616,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100591,"src":"13998:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13983:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100618,"nodeType":"ExpressionStatement","src":"13983:21:188"},{"expression":{"arguments":[{"id":100622,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"14036:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100623,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100600,"src":"14046:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"36","id":100624,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14057:1:188","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},{"arguments":[{"components":[{"id":100627,"name":"ranged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100593,"src":"14078:6:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100628,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14077:8:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":100625,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"14060:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100626,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14064:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"14060:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100629,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14060:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100630,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"14088:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100619,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"14011:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100621,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14021:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"14011:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100631,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14011:90:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100632,"nodeType":"ExpressionStatement","src":"14011:90:188"}]},"documentation":{"id":100587,"nodeType":"StructuredDocumentation","src":"13778:34:188","text":" @notice Set ranged."},"implemented":true,"kind":"function","modifiers":[],"name":"_setRanged","nameLocation":"13824:10:188","parameters":{"id":100594,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100589,"mutability":"mutable","name":"matchEntity","nameLocation":"13843:11:188","nodeType":"VariableDeclaration","scope":100634,"src":"13835:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100588,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13835:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100591,"mutability":"mutable","name":"entity","nameLocation":"13864:6:188","nodeType":"VariableDeclaration","scope":100634,"src":"13856:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100590,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13856:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100593,"mutability":"mutable","name":"ranged","nameLocation":"13877:6:188","nodeType":"VariableDeclaration","scope":100634,"src":"13872:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100592,"name":"bool","nodeType":"ElementaryTypeName","src":"13872:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"13834:50:188"},"returnParameters":{"id":100595,"nodeType":"ParameterList","parameters":[],"src":"13894:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100689,"nodeType":"FunctionDefinition","src":"14153:350:188","nodes":[],"body":{"id":100688,"nodeType":"Block","src":"14257:246:188","nodes":[],"statements":[{"assignments":[100648],"declarations":[{"constant":false,"id":100648,"mutability":"mutable","name":"_keyTuple","nameLocation":"14280:9:188","nodeType":"VariableDeclaration","scope":100688,"src":"14263:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100646,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14263:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100647,"nodeType":"ArrayTypeName","src":"14263:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100654,"initialValue":{"arguments":[{"hexValue":"32","id":100652,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14306:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100651,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"14292:13:188","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":100649,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14296:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100650,"nodeType":"ArrayTypeName","src":"14296:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100653,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14292:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"14263:45:188"},{"expression":{"id":100659,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100655,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100648,"src":"14314:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100657,"indexExpression":{"hexValue":"30","id":100656,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14324:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14314:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100658,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100637,"src":"14329:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14314:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100660,"nodeType":"ExpressionStatement","src":"14314:26:188"},{"expression":{"id":100665,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100661,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100648,"src":"14346:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100663,"indexExpression":{"hexValue":"31","id":100662,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14356:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14346:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100664,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100639,"src":"14361:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14346:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100666,"nodeType":"ExpressionStatement","src":"14346:21:188"},{"assignments":[100668],"declarations":[{"constant":false,"id":100668,"mutability":"mutable","name":"_blob","nameLocation":"14382:5:188","nodeType":"VariableDeclaration","scope":100688,"src":"14374:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100667,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14374:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100676,"initialValue":{"arguments":[{"id":100671,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"14417:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100672,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100648,"src":"14427:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"37","id":100673,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14438:1:188","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},{"id":100674,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"14441:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100669,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"14390:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100670,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14402:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"14390:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100675,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14390:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"14374:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100682,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100668,"src":"14489:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100681,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14482:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":100680,"name":"bytes1","nodeType":"ElementaryTypeName","src":"14482:6:188","typeDescriptions":{}}},"id":100683,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14482:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":100679,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14476:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":100678,"name":"uint8","nodeType":"ElementaryTypeName","src":"14476:5:188","typeDescriptions":{}}},"id":100684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14476:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":100677,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"14468:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":100685,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14468:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100686,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14467:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":100643,"id":100687,"nodeType":"Return","src":"14460:38:188"}]},"documentation":{"id":100635,"nodeType":"StructuredDocumentation","src":"14110:40:188","text":" @notice Get attackerDied."},"implemented":true,"kind":"function","modifiers":[],"name":"getAttackerDied","nameLocation":"14162:15:188","parameters":{"id":100640,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100637,"mutability":"mutable","name":"matchEntity","nameLocation":"14186:11:188","nodeType":"VariableDeclaration","scope":100689,"src":"14178:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100636,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14178:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100639,"mutability":"mutable","name":"entity","nameLocation":"14207:6:188","nodeType":"VariableDeclaration","scope":100689,"src":"14199:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100638,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14199:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"14177:37:188"},"returnParameters":{"id":100643,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100642,"mutability":"mutable","name":"attackerDied","nameLocation":"14243:12:188","nodeType":"VariableDeclaration","scope":100689,"src":"14238:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100641,"name":"bool","nodeType":"ElementaryTypeName","src":"14238:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"14237:19:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100744,"nodeType":"FunctionDefinition","src":"14550:349:188","nodes":[],"body":{"id":100743,"nodeType":"Block","src":"14655:244:188","nodes":[],"statements":[{"assignments":[100703],"declarations":[{"constant":false,"id":100703,"mutability":"mutable","name":"_keyTuple","nameLocation":"14678:9:188","nodeType":"VariableDeclaration","scope":100743,"src":"14661:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100701,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14661:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100702,"nodeType":"ArrayTypeName","src":"14661:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100709,"initialValue":{"arguments":[{"hexValue":"32","id":100707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14704:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100706,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"14690:13:188","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":100704,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14694:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100705,"nodeType":"ArrayTypeName","src":"14694:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100708,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14690:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"14661:45:188"},{"expression":{"id":100714,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100710,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100703,"src":"14712:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100712,"indexExpression":{"hexValue":"30","id":100711,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14722:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14712:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100713,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100692,"src":"14727:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14712:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100715,"nodeType":"ExpressionStatement","src":"14712:26:188"},{"expression":{"id":100720,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100716,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100703,"src":"14744:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100718,"indexExpression":{"hexValue":"31","id":100717,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14754:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14744:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100719,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100694,"src":"14759:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14744:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100721,"nodeType":"ExpressionStatement","src":"14744:21:188"},{"assignments":[100723],"declarations":[{"constant":false,"id":100723,"mutability":"mutable","name":"_blob","nameLocation":"14780:5:188","nodeType":"VariableDeclaration","scope":100743,"src":"14772:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100722,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14772:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100731,"initialValue":{"arguments":[{"id":100726,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"14813:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100727,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100703,"src":"14823:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"37","id":100728,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14834:1:188","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},{"id":100729,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"14837:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100724,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"14788:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14798:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"14788:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100730,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14788:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"14772:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100737,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100723,"src":"14885:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100736,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14878:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":100735,"name":"bytes1","nodeType":"ElementaryTypeName","src":"14878:6:188","typeDescriptions":{}}},"id":100738,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14878:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":100734,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14872:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":100733,"name":"uint8","nodeType":"ElementaryTypeName","src":"14872:5:188","typeDescriptions":{}}},"id":100739,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14872:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":100732,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"14864:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":100740,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14864:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100741,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14863:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":100698,"id":100742,"nodeType":"Return","src":"14856:38:188"}]},"documentation":{"id":100690,"nodeType":"StructuredDocumentation","src":"14507:40:188","text":" @notice Get attackerDied."},"implemented":true,"kind":"function","modifiers":[],"name":"_getAttackerDied","nameLocation":"14559:16:188","parameters":{"id":100695,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100692,"mutability":"mutable","name":"matchEntity","nameLocation":"14584:11:188","nodeType":"VariableDeclaration","scope":100744,"src":"14576:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100691,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14576:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100694,"mutability":"mutable","name":"entity","nameLocation":"14605:6:188","nodeType":"VariableDeclaration","scope":100744,"src":"14597:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100693,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14597:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"14575:37:188"},"returnParameters":{"id":100698,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100697,"mutability":"mutable","name":"attackerDied","nameLocation":"14641:12:188","nodeType":"VariableDeclaration","scope":100744,"src":"14636:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100696,"name":"bool","nodeType":"ElementaryTypeName","src":"14636:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"14635:19:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100792,"nodeType":"FunctionDefinition","src":"14946:310:188","nodes":[],"body":{"id":100791,"nodeType":"Block","src":"15036:220:188","nodes":[],"statements":[{"assignments":[100758],"declarations":[{"constant":false,"id":100758,"mutability":"mutable","name":"_keyTuple","nameLocation":"15059:9:188","nodeType":"VariableDeclaration","scope":100791,"src":"15042:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100756,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15042:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100757,"nodeType":"ArrayTypeName","src":"15042:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100764,"initialValue":{"arguments":[{"hexValue":"32","id":100762,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15085:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100761,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"15071:13:188","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":100759,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15075:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100760,"nodeType":"ArrayTypeName","src":"15075:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100763,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15071:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"15042:45:188"},{"expression":{"id":100769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100765,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100758,"src":"15093:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100767,"indexExpression":{"hexValue":"30","id":100766,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15103:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15093:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100768,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100747,"src":"15108:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15093:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100770,"nodeType":"ExpressionStatement","src":"15093:26:188"},{"expression":{"id":100775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100771,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100758,"src":"15125:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100773,"indexExpression":{"hexValue":"31","id":100772,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15135:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15125:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100774,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100749,"src":"15140:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15125:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100776,"nodeType":"ExpressionStatement","src":"15125:21:188"},{"expression":{"arguments":[{"id":100780,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"15180:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100781,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100758,"src":"15190:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"37","id":100782,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15201:1:188","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},{"arguments":[{"components":[{"id":100785,"name":"attackerDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100751,"src":"15222:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100786,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15221:14:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":100783,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"15204:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100784,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15208:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"15204:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100787,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15204:32:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100788,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"15238:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100777,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"15153:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15165:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"15153:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100789,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15153:98:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100790,"nodeType":"ExpressionStatement","src":"15153:98:188"}]},"documentation":{"id":100745,"nodeType":"StructuredDocumentation","src":"14903:40:188","text":" @notice Set attackerDied."},"implemented":true,"kind":"function","modifiers":[],"name":"setAttackerDied","nameLocation":"14955:15:188","parameters":{"id":100752,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100747,"mutability":"mutable","name":"matchEntity","nameLocation":"14979:11:188","nodeType":"VariableDeclaration","scope":100792,"src":"14971:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100746,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14971:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100749,"mutability":"mutable","name":"entity","nameLocation":"15000:6:188","nodeType":"VariableDeclaration","scope":100792,"src":"14992:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100748,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14992:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100751,"mutability":"mutable","name":"attackerDied","nameLocation":"15013:12:188","nodeType":"VariableDeclaration","scope":100792,"src":"15008:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100750,"name":"bool","nodeType":"ElementaryTypeName","src":"15008:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"14970:56:188"},"returnParameters":{"id":100753,"nodeType":"ParameterList","parameters":[],"src":"15036:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100840,"nodeType":"FunctionDefinition","src":"15303:309:188","nodes":[],"body":{"id":100839,"nodeType":"Block","src":"15394:218:188","nodes":[],"statements":[{"assignments":[100806],"declarations":[{"constant":false,"id":100806,"mutability":"mutable","name":"_keyTuple","nameLocation":"15417:9:188","nodeType":"VariableDeclaration","scope":100839,"src":"15400:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100804,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15400:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100805,"nodeType":"ArrayTypeName","src":"15400:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100812,"initialValue":{"arguments":[{"hexValue":"32","id":100810,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15443:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100809,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"15429:13:188","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":100807,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15433:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100808,"nodeType":"ArrayTypeName","src":"15433:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100811,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15429:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"15400:45:188"},{"expression":{"id":100817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100813,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100806,"src":"15451:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100815,"indexExpression":{"hexValue":"30","id":100814,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15461:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15451:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100816,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100795,"src":"15466:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15451:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100818,"nodeType":"ExpressionStatement","src":"15451:26:188"},{"expression":{"id":100823,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100819,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100806,"src":"15483:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100821,"indexExpression":{"hexValue":"31","id":100820,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15493:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15483:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100822,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100797,"src":"15498:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15483:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100824,"nodeType":"ExpressionStatement","src":"15483:21:188"},{"expression":{"arguments":[{"id":100828,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"15536:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100829,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100806,"src":"15546:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"37","id":100830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15557:1:188","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},{"arguments":[{"components":[{"id":100833,"name":"attackerDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100799,"src":"15578:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100834,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15577:14:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":100831,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"15560:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100832,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15564:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"15560:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100835,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15560:32:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100836,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"15594:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100825,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"15511:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100827,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15521:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"15511:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100837,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15511:96:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100838,"nodeType":"ExpressionStatement","src":"15511:96:188"}]},"documentation":{"id":100793,"nodeType":"StructuredDocumentation","src":"15260:40:188","text":" @notice Set attackerDied."},"implemented":true,"kind":"function","modifiers":[],"name":"_setAttackerDied","nameLocation":"15312:16:188","parameters":{"id":100800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100795,"mutability":"mutable","name":"matchEntity","nameLocation":"15337:11:188","nodeType":"VariableDeclaration","scope":100840,"src":"15329:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100794,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15329:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100797,"mutability":"mutable","name":"entity","nameLocation":"15358:6:188","nodeType":"VariableDeclaration","scope":100840,"src":"15350:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100796,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15350:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100799,"mutability":"mutable","name":"attackerDied","nameLocation":"15371:12:188","nodeType":"VariableDeclaration","scope":100840,"src":"15366:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100798,"name":"bool","nodeType":"ElementaryTypeName","src":"15366:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"15328:56:188"},"returnParameters":{"id":100801,"nodeType":"ParameterList","parameters":[],"src":"15394:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":100895,"nodeType":"FunctionDefinition","src":"15659:350:188","nodes":[],"body":{"id":100894,"nodeType":"Block","src":"15763:246:188","nodes":[],"statements":[{"assignments":[100854],"declarations":[{"constant":false,"id":100854,"mutability":"mutable","name":"_keyTuple","nameLocation":"15786:9:188","nodeType":"VariableDeclaration","scope":100894,"src":"15769:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100852,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15769:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100853,"nodeType":"ArrayTypeName","src":"15769:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100860,"initialValue":{"arguments":[{"hexValue":"32","id":100858,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15812:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100857,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"15798:13:188","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":100855,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15802:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100856,"nodeType":"ArrayTypeName","src":"15802:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100859,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15798:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"15769:45:188"},{"expression":{"id":100865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100861,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100854,"src":"15820:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100863,"indexExpression":{"hexValue":"30","id":100862,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15830:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15820:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100864,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100843,"src":"15835:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15820:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100866,"nodeType":"ExpressionStatement","src":"15820:26:188"},{"expression":{"id":100871,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100867,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100854,"src":"15852:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100869,"indexExpression":{"hexValue":"31","id":100868,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15862:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15852:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100870,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100845,"src":"15867:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15852:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100872,"nodeType":"ExpressionStatement","src":"15852:21:188"},{"assignments":[100874],"declarations":[{"constant":false,"id":100874,"mutability":"mutable","name":"_blob","nameLocation":"15888:5:188","nodeType":"VariableDeclaration","scope":100894,"src":"15880:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100873,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15880:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100882,"initialValue":{"arguments":[{"id":100877,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"15923:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100878,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100854,"src":"15933:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"38","id":100879,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15944:1:188","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"id":100880,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"15947:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100875,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"15896:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100876,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15908:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"15896:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100881,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15896:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"15880:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100888,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100874,"src":"15995:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100887,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15988:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":100886,"name":"bytes1","nodeType":"ElementaryTypeName","src":"15988:6:188","typeDescriptions":{}}},"id":100889,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15988:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":100885,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15982:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":100884,"name":"uint8","nodeType":"ElementaryTypeName","src":"15982:5:188","typeDescriptions":{}}},"id":100890,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15982:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":100883,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"15974:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":100891,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15974:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100892,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15973:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":100849,"id":100893,"nodeType":"Return","src":"15966:38:188"}]},"documentation":{"id":100841,"nodeType":"StructuredDocumentation","src":"15616:40:188","text":" @notice Get defenderDied."},"implemented":true,"kind":"function","modifiers":[],"name":"getDefenderDied","nameLocation":"15668:15:188","parameters":{"id":100846,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100843,"mutability":"mutable","name":"matchEntity","nameLocation":"15692:11:188","nodeType":"VariableDeclaration","scope":100895,"src":"15684:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100842,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15684:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100845,"mutability":"mutable","name":"entity","nameLocation":"15713:6:188","nodeType":"VariableDeclaration","scope":100895,"src":"15705:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100844,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15705:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"15683:37:188"},"returnParameters":{"id":100849,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100848,"mutability":"mutable","name":"defenderDied","nameLocation":"15749:12:188","nodeType":"VariableDeclaration","scope":100895,"src":"15744:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100847,"name":"bool","nodeType":"ElementaryTypeName","src":"15744:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"15743:19:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100950,"nodeType":"FunctionDefinition","src":"16056:349:188","nodes":[],"body":{"id":100949,"nodeType":"Block","src":"16161:244:188","nodes":[],"statements":[{"assignments":[100909],"declarations":[{"constant":false,"id":100909,"mutability":"mutable","name":"_keyTuple","nameLocation":"16184:9:188","nodeType":"VariableDeclaration","scope":100949,"src":"16167:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100907,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16167:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100908,"nodeType":"ArrayTypeName","src":"16167:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100915,"initialValue":{"arguments":[{"hexValue":"32","id":100913,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16210:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100912,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16196:13:188","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":100910,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16200:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100911,"nodeType":"ArrayTypeName","src":"16200:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100914,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16196:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"16167:45:188"},{"expression":{"id":100920,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100916,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100909,"src":"16218:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100918,"indexExpression":{"hexValue":"30","id":100917,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16228:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16218:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100919,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100898,"src":"16233:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16218:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100921,"nodeType":"ExpressionStatement","src":"16218:26:188"},{"expression":{"id":100926,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100922,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100909,"src":"16250:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100924,"indexExpression":{"hexValue":"31","id":100923,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16260:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16250:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100925,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100900,"src":"16265:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16250:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100927,"nodeType":"ExpressionStatement","src":"16250:21:188"},{"assignments":[100929],"declarations":[{"constant":false,"id":100929,"mutability":"mutable","name":"_blob","nameLocation":"16286:5:188","nodeType":"VariableDeclaration","scope":100949,"src":"16278:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100928,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16278:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":100937,"initialValue":{"arguments":[{"id":100932,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"16319:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100933,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100909,"src":"16329:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"38","id":100934,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16340:1:188","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"id":100935,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"16343:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100930,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"16294:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":100931,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16304:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"16294:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":100936,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16294:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"16278:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":100943,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100929,"src":"16391:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":100942,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16384:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":100941,"name":"bytes1","nodeType":"ElementaryTypeName","src":"16384:6:188","typeDescriptions":{}}},"id":100944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16384:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":100940,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16378:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":100939,"name":"uint8","nodeType":"ElementaryTypeName","src":"16378:5:188","typeDescriptions":{}}},"id":100945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16378:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":100938,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"16370:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":100946,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16370:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100947,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16369:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":100904,"id":100948,"nodeType":"Return","src":"16362:38:188"}]},"documentation":{"id":100896,"nodeType":"StructuredDocumentation","src":"16013:40:188","text":" @notice Get defenderDied."},"implemented":true,"kind":"function","modifiers":[],"name":"_getDefenderDied","nameLocation":"16065:16:188","parameters":{"id":100901,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100898,"mutability":"mutable","name":"matchEntity","nameLocation":"16090:11:188","nodeType":"VariableDeclaration","scope":100950,"src":"16082:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100897,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16082:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100900,"mutability":"mutable","name":"entity","nameLocation":"16111:6:188","nodeType":"VariableDeclaration","scope":100950,"src":"16103:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100899,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16103:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"16081:37:188"},"returnParameters":{"id":100904,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100903,"mutability":"mutable","name":"defenderDied","nameLocation":"16147:12:188","nodeType":"VariableDeclaration","scope":100950,"src":"16142:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100902,"name":"bool","nodeType":"ElementaryTypeName","src":"16142:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"16141:19:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":100998,"nodeType":"FunctionDefinition","src":"16452:310:188","nodes":[],"body":{"id":100997,"nodeType":"Block","src":"16542:220:188","nodes":[],"statements":[{"assignments":[100964],"declarations":[{"constant":false,"id":100964,"mutability":"mutable","name":"_keyTuple","nameLocation":"16565:9:188","nodeType":"VariableDeclaration","scope":100997,"src":"16548:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":100962,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16548:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100963,"nodeType":"ArrayTypeName","src":"16548:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":100970,"initialValue":{"arguments":[{"hexValue":"32","id":100968,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16591:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":100967,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16577:13:188","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":100965,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16581:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100966,"nodeType":"ArrayTypeName","src":"16581:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":100969,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16577:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"16548:45:188"},{"expression":{"id":100975,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100971,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100964,"src":"16599:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100973,"indexExpression":{"hexValue":"30","id":100972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16609:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16599:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100974,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100953,"src":"16614:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16599:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100976,"nodeType":"ExpressionStatement","src":"16599:26:188"},{"expression":{"id":100981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":100977,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100964,"src":"16631:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":100979,"indexExpression":{"hexValue":"31","id":100978,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16641:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16631:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":100980,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100955,"src":"16646:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16631:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":100982,"nodeType":"ExpressionStatement","src":"16631:21:188"},{"expression":{"arguments":[{"id":100986,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"16686:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":100987,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100964,"src":"16696:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"38","id":100988,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16707:1:188","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"arguments":[{"components":[{"id":100991,"name":"defenderDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":100957,"src":"16728:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":100992,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16727:14:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":100989,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"16710:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":100990,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16714:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"16710:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":100993,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16710:32:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":100994,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"16744:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":100983,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"16659:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":100985,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16671:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"16659:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":100995,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16659:98:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":100996,"nodeType":"ExpressionStatement","src":"16659:98:188"}]},"documentation":{"id":100951,"nodeType":"StructuredDocumentation","src":"16409:40:188","text":" @notice Set defenderDied."},"implemented":true,"kind":"function","modifiers":[],"name":"setDefenderDied","nameLocation":"16461:15:188","parameters":{"id":100958,"nodeType":"ParameterList","parameters":[{"constant":false,"id":100953,"mutability":"mutable","name":"matchEntity","nameLocation":"16485:11:188","nodeType":"VariableDeclaration","scope":100998,"src":"16477:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100952,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16477:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100955,"mutability":"mutable","name":"entity","nameLocation":"16506:6:188","nodeType":"VariableDeclaration","scope":100998,"src":"16498:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":100954,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16498:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":100957,"mutability":"mutable","name":"defenderDied","nameLocation":"16519:12:188","nodeType":"VariableDeclaration","scope":100998,"src":"16514:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":100956,"name":"bool","nodeType":"ElementaryTypeName","src":"16514:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"16476:56:188"},"returnParameters":{"id":100959,"nodeType":"ParameterList","parameters":[],"src":"16542:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101046,"nodeType":"FunctionDefinition","src":"16809:309:188","nodes":[],"body":{"id":101045,"nodeType":"Block","src":"16900:218:188","nodes":[],"statements":[{"assignments":[101012],"declarations":[{"constant":false,"id":101012,"mutability":"mutable","name":"_keyTuple","nameLocation":"16923:9:188","nodeType":"VariableDeclaration","scope":101045,"src":"16906:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101010,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16906:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101011,"nodeType":"ArrayTypeName","src":"16906:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101018,"initialValue":{"arguments":[{"hexValue":"32","id":101016,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16949:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101015,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16935:13:188","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":101013,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16939:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101014,"nodeType":"ArrayTypeName","src":"16939:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101017,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16935:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"16906:45:188"},{"expression":{"id":101023,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101019,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101012,"src":"16957:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101021,"indexExpression":{"hexValue":"30","id":101020,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16967:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16957:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101022,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101001,"src":"16972:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16957:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101024,"nodeType":"ExpressionStatement","src":"16957:26:188"},{"expression":{"id":101029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101025,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101012,"src":"16989:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101027,"indexExpression":{"hexValue":"31","id":101026,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16999:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16989:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101028,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101003,"src":"17004:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16989:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101030,"nodeType":"ExpressionStatement","src":"16989:21:188"},{"expression":{"arguments":[{"id":101034,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"17042:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101035,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101012,"src":"17052:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"38","id":101036,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17063:1:188","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"arguments":[{"components":[{"id":101039,"name":"defenderDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101005,"src":"17084:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":101040,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17083:14:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":101037,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"17066:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":101038,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"17070:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"17066:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":101041,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17066:32:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101042,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"17100:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101031,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"17017:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101033,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17027:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"17017:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":101043,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17017:96:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101044,"nodeType":"ExpressionStatement","src":"17017:96:188"}]},"documentation":{"id":100999,"nodeType":"StructuredDocumentation","src":"16766:40:188","text":" @notice Set defenderDied."},"implemented":true,"kind":"function","modifiers":[],"name":"_setDefenderDied","nameLocation":"16818:16:188","parameters":{"id":101006,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101001,"mutability":"mutable","name":"matchEntity","nameLocation":"16843:11:188","nodeType":"VariableDeclaration","scope":101046,"src":"16835:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101000,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16835:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101003,"mutability":"mutable","name":"entity","nameLocation":"16864:6:188","nodeType":"VariableDeclaration","scope":101046,"src":"16856:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101002,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16856:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101005,"mutability":"mutable","name":"defenderDied","nameLocation":"16877:12:188","nodeType":"VariableDeclaration","scope":101046,"src":"16872:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101004,"name":"bool","nodeType":"ElementaryTypeName","src":"16872:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"16834:56:188"},"returnParameters":{"id":101007,"nodeType":"ParameterList","parameters":[],"src":"16900:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101101,"nodeType":"FunctionDefinition","src":"17169:358:188","nodes":[],"body":{"id":101100,"nodeType":"Block","src":"17281:246:188","nodes":[],"statements":[{"assignments":[101060],"declarations":[{"constant":false,"id":101060,"mutability":"mutable","name":"_keyTuple","nameLocation":"17304:9:188","nodeType":"VariableDeclaration","scope":101100,"src":"17287:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101058,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17287:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101059,"nodeType":"ArrayTypeName","src":"17287:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101066,"initialValue":{"arguments":[{"hexValue":"32","id":101064,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17330:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101063,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"17316:13:188","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":101061,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17320:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101062,"nodeType":"ArrayTypeName","src":"17320:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101065,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17316:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"17287:45:188"},{"expression":{"id":101071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101067,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101060,"src":"17338:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101069,"indexExpression":{"hexValue":"30","id":101068,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17348:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17338:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101070,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101049,"src":"17353:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"17338:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101072,"nodeType":"ExpressionStatement","src":"17338:26:188"},{"expression":{"id":101077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101073,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101060,"src":"17370:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101075,"indexExpression":{"hexValue":"31","id":101074,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17380:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17370:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101076,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101051,"src":"17385:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"17370:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101078,"nodeType":"ExpressionStatement","src":"17370:21:188"},{"assignments":[101080],"declarations":[{"constant":false,"id":101080,"mutability":"mutable","name":"_blob","nameLocation":"17406:5:188","nodeType":"VariableDeclaration","scope":101100,"src":"17398:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101079,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17398:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":101088,"initialValue":{"arguments":[{"id":101083,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"17441:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101084,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101060,"src":"17451:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"39","id":101085,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17462:1:188","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"9"},{"id":101086,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"17465:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101081,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"17414:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101082,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17426:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"17414:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":101087,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17414:64:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"17398:80:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":101094,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101080,"src":"17513:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101093,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17506:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":101092,"name":"bytes1","nodeType":"ElementaryTypeName","src":"17506:6:188","typeDescriptions":{}}},"id":101095,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17506:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":101091,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17500:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":101090,"name":"uint8","nodeType":"ElementaryTypeName","src":"17500:5:188","typeDescriptions":{}}},"id":101096,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17500:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":101089,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"17492:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":101097,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17492:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":101098,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17491:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":101055,"id":101099,"nodeType":"Return","src":"17484:38:188"}]},"documentation":{"id":101047,"nodeType":"StructuredDocumentation","src":"17122:44:188","text":" @notice Get defenderCaptured."},"implemented":true,"kind":"function","modifiers":[],"name":"getDefenderCaptured","nameLocation":"17178:19:188","parameters":{"id":101052,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101049,"mutability":"mutable","name":"matchEntity","nameLocation":"17206:11:188","nodeType":"VariableDeclaration","scope":101101,"src":"17198:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101048,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17198:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101051,"mutability":"mutable","name":"entity","nameLocation":"17227:6:188","nodeType":"VariableDeclaration","scope":101101,"src":"17219:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101050,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17219:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"17197:37:188"},"returnParameters":{"id":101055,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101054,"mutability":"mutable","name":"defenderCaptured","nameLocation":"17263:16:188","nodeType":"VariableDeclaration","scope":101101,"src":"17258:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101053,"name":"bool","nodeType":"ElementaryTypeName","src":"17258:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"17257:23:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101156,"nodeType":"FunctionDefinition","src":"17578:357:188","nodes":[],"body":{"id":101155,"nodeType":"Block","src":"17691:244:188","nodes":[],"statements":[{"assignments":[101115],"declarations":[{"constant":false,"id":101115,"mutability":"mutable","name":"_keyTuple","nameLocation":"17714:9:188","nodeType":"VariableDeclaration","scope":101155,"src":"17697:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101113,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17697:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101114,"nodeType":"ArrayTypeName","src":"17697:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101121,"initialValue":{"arguments":[{"hexValue":"32","id":101119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17740:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101118,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"17726:13:188","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":101116,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17730:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101117,"nodeType":"ArrayTypeName","src":"17730:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101120,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17726:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"17697:45:188"},{"expression":{"id":101126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101122,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101115,"src":"17748:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101124,"indexExpression":{"hexValue":"30","id":101123,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17758:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17748:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101125,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101104,"src":"17763:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"17748:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101127,"nodeType":"ExpressionStatement","src":"17748:26:188"},{"expression":{"id":101132,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101128,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101115,"src":"17780:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101130,"indexExpression":{"hexValue":"31","id":101129,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17790:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17780:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101131,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101106,"src":"17795:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"17780:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101133,"nodeType":"ExpressionStatement","src":"17780:21:188"},{"assignments":[101135],"declarations":[{"constant":false,"id":101135,"mutability":"mutable","name":"_blob","nameLocation":"17816:5:188","nodeType":"VariableDeclaration","scope":101155,"src":"17808:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101134,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17808:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":101143,"initialValue":{"arguments":[{"id":101138,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"17849:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101139,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101115,"src":"17859:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"39","id":101140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17870:1:188","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"9"},{"id":101141,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"17873:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101136,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"17824:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101137,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17834:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"17824:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":101142,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17824:62:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"17808:78:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":101149,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101135,"src":"17921:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101148,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17914:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":101147,"name":"bytes1","nodeType":"ElementaryTypeName","src":"17914:6:188","typeDescriptions":{}}},"id":101150,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17914:13:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":101146,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17908:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":101145,"name":"uint8","nodeType":"ElementaryTypeName","src":"17908:5:188","typeDescriptions":{}}},"id":101151,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17908:20:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":101144,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"17900:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":101152,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17900:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":101153,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17899:31:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":101110,"id":101154,"nodeType":"Return","src":"17892:38:188"}]},"documentation":{"id":101102,"nodeType":"StructuredDocumentation","src":"17531:44:188","text":" @notice Get defenderCaptured."},"implemented":true,"kind":"function","modifiers":[],"name":"_getDefenderCaptured","nameLocation":"17587:20:188","parameters":{"id":101107,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101104,"mutability":"mutable","name":"matchEntity","nameLocation":"17616:11:188","nodeType":"VariableDeclaration","scope":101156,"src":"17608:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101103,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17608:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101106,"mutability":"mutable","name":"entity","nameLocation":"17637:6:188","nodeType":"VariableDeclaration","scope":101156,"src":"17629:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101105,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17629:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"17607:37:188"},"returnParameters":{"id":101110,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101109,"mutability":"mutable","name":"defenderCaptured","nameLocation":"17673:16:188","nodeType":"VariableDeclaration","scope":101156,"src":"17668:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101108,"name":"bool","nodeType":"ElementaryTypeName","src":"17668:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"17667:23:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101204,"nodeType":"FunctionDefinition","src":"17986:322:188","nodes":[],"body":{"id":101203,"nodeType":"Block","src":"18084:224:188","nodes":[],"statements":[{"assignments":[101170],"declarations":[{"constant":false,"id":101170,"mutability":"mutable","name":"_keyTuple","nameLocation":"18107:9:188","nodeType":"VariableDeclaration","scope":101203,"src":"18090:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101168,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18090:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101169,"nodeType":"ArrayTypeName","src":"18090:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101176,"initialValue":{"arguments":[{"hexValue":"32","id":101174,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18133:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101173,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"18119:13:188","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":101171,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18123:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101172,"nodeType":"ArrayTypeName","src":"18123:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18119:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"18090:45:188"},{"expression":{"id":101181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101177,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101170,"src":"18141:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101179,"indexExpression":{"hexValue":"30","id":101178,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18151:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18141:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101180,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101159,"src":"18156:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18141:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101182,"nodeType":"ExpressionStatement","src":"18141:26:188"},{"expression":{"id":101187,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101183,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101170,"src":"18173:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101185,"indexExpression":{"hexValue":"31","id":101184,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18183:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18173:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101186,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101161,"src":"18188:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18173:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101188,"nodeType":"ExpressionStatement","src":"18173:21:188"},{"expression":{"arguments":[{"id":101192,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"18228:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101193,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101170,"src":"18238:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"39","id":101194,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18249:1:188","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"9"},{"arguments":[{"components":[{"id":101197,"name":"defenderCaptured","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101163,"src":"18270:16:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":101198,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"18269:18:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":101195,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"18252:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":101196,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18256:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"18252:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":101199,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18252:36:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101200,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"18290:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101189,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"18201:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18213:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"18201:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":101201,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18201:102:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101202,"nodeType":"ExpressionStatement","src":"18201:102:188"}]},"documentation":{"id":101157,"nodeType":"StructuredDocumentation","src":"17939:44:188","text":" @notice Set defenderCaptured."},"implemented":true,"kind":"function","modifiers":[],"name":"setDefenderCaptured","nameLocation":"17995:19:188","parameters":{"id":101164,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101159,"mutability":"mutable","name":"matchEntity","nameLocation":"18023:11:188","nodeType":"VariableDeclaration","scope":101204,"src":"18015:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101158,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18015:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101161,"mutability":"mutable","name":"entity","nameLocation":"18044:6:188","nodeType":"VariableDeclaration","scope":101204,"src":"18036:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101160,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18036:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101163,"mutability":"mutable","name":"defenderCaptured","nameLocation":"18057:16:188","nodeType":"VariableDeclaration","scope":101204,"src":"18052:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101162,"name":"bool","nodeType":"ElementaryTypeName","src":"18052:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"18014:60:188"},"returnParameters":{"id":101165,"nodeType":"ParameterList","parameters":[],"src":"18084:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101252,"nodeType":"FunctionDefinition","src":"18359:321:188","nodes":[],"body":{"id":101251,"nodeType":"Block","src":"18458:222:188","nodes":[],"statements":[{"assignments":[101218],"declarations":[{"constant":false,"id":101218,"mutability":"mutable","name":"_keyTuple","nameLocation":"18481:9:188","nodeType":"VariableDeclaration","scope":101251,"src":"18464:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101216,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18464:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101217,"nodeType":"ArrayTypeName","src":"18464:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101224,"initialValue":{"arguments":[{"hexValue":"32","id":101222,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18507:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101221,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"18493:13:188","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":101219,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18497:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101220,"nodeType":"ArrayTypeName","src":"18497:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101223,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18493:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"18464:45:188"},{"expression":{"id":101229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101225,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101218,"src":"18515:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101227,"indexExpression":{"hexValue":"30","id":101226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18525:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18515:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101228,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101207,"src":"18530:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18515:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101230,"nodeType":"ExpressionStatement","src":"18515:26:188"},{"expression":{"id":101235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101231,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101218,"src":"18547:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101233,"indexExpression":{"hexValue":"31","id":101232,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18557:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18547:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101234,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101209,"src":"18562:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18547:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101236,"nodeType":"ExpressionStatement","src":"18547:21:188"},{"expression":{"arguments":[{"id":101240,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"18600:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101241,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101218,"src":"18610:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"39","id":101242,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18621:1:188","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"9"},{"arguments":[{"components":[{"id":101245,"name":"defenderCaptured","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101211,"src":"18642:16:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":101246,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"18641:18:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":101243,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"18624:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":101244,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18628:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"18624:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":101247,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18624:36:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101248,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"18662:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101237,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"18575:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18585:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"18575:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":101249,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18575:100:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101250,"nodeType":"ExpressionStatement","src":"18575:100:188"}]},"documentation":{"id":101205,"nodeType":"StructuredDocumentation","src":"18312:44:188","text":" @notice Set defenderCaptured."},"implemented":true,"kind":"function","modifiers":[],"name":"_setDefenderCaptured","nameLocation":"18368:20:188","parameters":{"id":101212,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101207,"mutability":"mutable","name":"matchEntity","nameLocation":"18397:11:188","nodeType":"VariableDeclaration","scope":101252,"src":"18389:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101206,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18389:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101209,"mutability":"mutable","name":"entity","nameLocation":"18418:6:188","nodeType":"VariableDeclaration","scope":101252,"src":"18410:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101208,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18410:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101211,"mutability":"mutable","name":"defenderCaptured","nameLocation":"18431:16:188","nodeType":"VariableDeclaration","scope":101252,"src":"18426:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101210,"name":"bool","nodeType":"ElementaryTypeName","src":"18426:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"18388:60:188"},"returnParameters":{"id":101213,"nodeType":"ParameterList","parameters":[],"src":"18458:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101305,"nodeType":"FunctionDefinition","src":"18726:346:188","nodes":[],"body":{"id":101304,"nodeType":"Block","src":"18831:241:188","nodes":[],"statements":[{"assignments":[101266],"declarations":[{"constant":false,"id":101266,"mutability":"mutable","name":"_keyTuple","nameLocation":"18854:9:188","nodeType":"VariableDeclaration","scope":101304,"src":"18837:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101264,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18837:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101265,"nodeType":"ArrayTypeName","src":"18837:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101272,"initialValue":{"arguments":[{"hexValue":"32","id":101270,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18880:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101269,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"18866:13:188","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":101267,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18870:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101268,"nodeType":"ArrayTypeName","src":"18870:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101271,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18866:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"18837:45:188"},{"expression":{"id":101277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101273,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101266,"src":"18888:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101275,"indexExpression":{"hexValue":"30","id":101274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18898:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18888:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101276,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101255,"src":"18903:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18888:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101278,"nodeType":"ExpressionStatement","src":"18888:26:188"},{"expression":{"id":101283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101279,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101266,"src":"18920:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101281,"indexExpression":{"hexValue":"31","id":101280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18930:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18920:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101282,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101257,"src":"18935:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18920:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101284,"nodeType":"ExpressionStatement","src":"18920:21:188"},{"assignments":[101286],"declarations":[{"constant":false,"id":101286,"mutability":"mutable","name":"_blob","nameLocation":"18956:5:188","nodeType":"VariableDeclaration","scope":101304,"src":"18948:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101285,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18948:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":101294,"initialValue":{"arguments":[{"id":101289,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"18991:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101290,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101266,"src":"19001:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3130","id":101291,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19012:2:188","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},{"id":101292,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"19016:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101287,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"18964:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18976:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"18964:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":101293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18964:65:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"18948:81:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":101299,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101286,"src":"19059:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101298,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19051:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":101297,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19051:7:188","typeDescriptions":{}}},"id":101300,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19051:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101296,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19043:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":101295,"name":"uint256","nodeType":"ElementaryTypeName","src":"19043:7:188","typeDescriptions":{}}},"id":101301,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19043:23:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101302,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"19042:25:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":101261,"id":101303,"nodeType":"Return","src":"19035:32:188"}]},"documentation":{"id":101253,"nodeType":"StructuredDocumentation","src":"18684:39:188","text":" @notice Get blockNumber."},"implemented":true,"kind":"function","modifiers":[],"name":"getBlockNumber","nameLocation":"18735:14:188","parameters":{"id":101258,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101255,"mutability":"mutable","name":"matchEntity","nameLocation":"18758:11:188","nodeType":"VariableDeclaration","scope":101305,"src":"18750:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101254,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18750:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101257,"mutability":"mutable","name":"entity","nameLocation":"18779:6:188","nodeType":"VariableDeclaration","scope":101305,"src":"18771:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101256,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18771:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"18749:37:188"},"returnParameters":{"id":101261,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101260,"mutability":"mutable","name":"blockNumber","nameLocation":"18818:11:188","nodeType":"VariableDeclaration","scope":101305,"src":"18810:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101259,"name":"uint256","nodeType":"ElementaryTypeName","src":"18810:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"18809:21:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101358,"nodeType":"FunctionDefinition","src":"19118:345:188","nodes":[],"body":{"id":101357,"nodeType":"Block","src":"19224:239:188","nodes":[],"statements":[{"assignments":[101319],"declarations":[{"constant":false,"id":101319,"mutability":"mutable","name":"_keyTuple","nameLocation":"19247:9:188","nodeType":"VariableDeclaration","scope":101357,"src":"19230:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101317,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19230:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101318,"nodeType":"ArrayTypeName","src":"19230:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101325,"initialValue":{"arguments":[{"hexValue":"32","id":101323,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19273:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101322,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"19259:13:188","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":101320,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19263:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101321,"nodeType":"ArrayTypeName","src":"19263:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101324,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19259:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"19230:45:188"},{"expression":{"id":101330,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101326,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101319,"src":"19281:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101328,"indexExpression":{"hexValue":"30","id":101327,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19291:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"19281:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101329,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101308,"src":"19296:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"19281:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101331,"nodeType":"ExpressionStatement","src":"19281:26:188"},{"expression":{"id":101336,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101332,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101319,"src":"19313:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101334,"indexExpression":{"hexValue":"31","id":101333,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19323:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"19313:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101335,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101310,"src":"19328:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"19313:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101337,"nodeType":"ExpressionStatement","src":"19313:21:188"},{"assignments":[101339],"declarations":[{"constant":false,"id":101339,"mutability":"mutable","name":"_blob","nameLocation":"19349:5:188","nodeType":"VariableDeclaration","scope":101357,"src":"19341:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101338,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19341:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":101347,"initialValue":{"arguments":[{"id":101342,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"19382:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101343,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101319,"src":"19392:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3130","id":101344,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19403:2:188","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},{"id":101345,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"19407:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101340,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"19357:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19367:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"19357:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":101346,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19357:63:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"19341:79:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":101352,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101339,"src":"19450:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101351,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19442:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":101350,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19442:7:188","typeDescriptions":{}}},"id":101353,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19442:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101349,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19434:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":101348,"name":"uint256","nodeType":"ElementaryTypeName","src":"19434:7:188","typeDescriptions":{}}},"id":101354,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19434:23:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101355,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"19433:25:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":101314,"id":101356,"nodeType":"Return","src":"19426:32:188"}]},"documentation":{"id":101306,"nodeType":"StructuredDocumentation","src":"19076:39:188","text":" @notice Get blockNumber."},"implemented":true,"kind":"function","modifiers":[],"name":"_getBlockNumber","nameLocation":"19127:15:188","parameters":{"id":101311,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101308,"mutability":"mutable","name":"matchEntity","nameLocation":"19151:11:188","nodeType":"VariableDeclaration","scope":101358,"src":"19143:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101307,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19143:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101310,"mutability":"mutable","name":"entity","nameLocation":"19172:6:188","nodeType":"VariableDeclaration","scope":101358,"src":"19164:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101309,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19164:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"19142:37:188"},"returnParameters":{"id":101314,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101313,"mutability":"mutable","name":"blockNumber","nameLocation":"19211:11:188","nodeType":"VariableDeclaration","scope":101358,"src":"19203:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101312,"name":"uint256","nodeType":"ElementaryTypeName","src":"19203:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"19202:21:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101406,"nodeType":"FunctionDefinition","src":"19509:311:188","nodes":[],"body":{"id":101405,"nodeType":"Block","src":"19600:220:188","nodes":[],"statements":[{"assignments":[101372],"declarations":[{"constant":false,"id":101372,"mutability":"mutable","name":"_keyTuple","nameLocation":"19623:9:188","nodeType":"VariableDeclaration","scope":101405,"src":"19606:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101370,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19606:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101371,"nodeType":"ArrayTypeName","src":"19606:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101378,"initialValue":{"arguments":[{"hexValue":"32","id":101376,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19649:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101375,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"19635:13:188","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":101373,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19639:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101374,"nodeType":"ArrayTypeName","src":"19639:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101377,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19635:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"19606:45:188"},{"expression":{"id":101383,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101379,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101372,"src":"19657:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101381,"indexExpression":{"hexValue":"30","id":101380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19667:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"19657:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101382,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101361,"src":"19672:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"19657:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101384,"nodeType":"ExpressionStatement","src":"19657:26:188"},{"expression":{"id":101389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101385,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101372,"src":"19689:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101387,"indexExpression":{"hexValue":"31","id":101386,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19699:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"19689:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101388,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101363,"src":"19704:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"19689:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101390,"nodeType":"ExpressionStatement","src":"19689:21:188"},{"expression":{"arguments":[{"id":101394,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"19744:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101395,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101372,"src":"19754:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3130","id":101396,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19765:2:188","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},{"arguments":[{"components":[{"id":101399,"name":"blockNumber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101365,"src":"19787:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101400,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"19786:13:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":101397,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"19769:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":101398,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"19773:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"19769:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":101401,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19769:31:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101402,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"19802:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101391,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"19717:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19729:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"19717:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":101403,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19717:98:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101404,"nodeType":"ExpressionStatement","src":"19717:98:188"}]},"documentation":{"id":101359,"nodeType":"StructuredDocumentation","src":"19467:39:188","text":" @notice Set blockNumber."},"implemented":true,"kind":"function","modifiers":[],"name":"setBlockNumber","nameLocation":"19518:14:188","parameters":{"id":101366,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101361,"mutability":"mutable","name":"matchEntity","nameLocation":"19541:11:188","nodeType":"VariableDeclaration","scope":101406,"src":"19533:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101360,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19533:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101363,"mutability":"mutable","name":"entity","nameLocation":"19562:6:188","nodeType":"VariableDeclaration","scope":101406,"src":"19554:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101362,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19554:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101365,"mutability":"mutable","name":"blockNumber","nameLocation":"19578:11:188","nodeType":"VariableDeclaration","scope":101406,"src":"19570:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101364,"name":"uint256","nodeType":"ElementaryTypeName","src":"19570:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"19532:58:188"},"returnParameters":{"id":101367,"nodeType":"ParameterList","parameters":[],"src":"19600:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101454,"nodeType":"FunctionDefinition","src":"19866:310:188","nodes":[],"body":{"id":101453,"nodeType":"Block","src":"19958:218:188","nodes":[],"statements":[{"assignments":[101420],"declarations":[{"constant":false,"id":101420,"mutability":"mutable","name":"_keyTuple","nameLocation":"19981:9:188","nodeType":"VariableDeclaration","scope":101453,"src":"19964:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101418,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19964:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101419,"nodeType":"ArrayTypeName","src":"19964:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101426,"initialValue":{"arguments":[{"hexValue":"32","id":101424,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20007:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101423,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"19993:13:188","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":101421,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19997:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101422,"nodeType":"ArrayTypeName","src":"19997:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101425,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19993:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"19964:45:188"},{"expression":{"id":101431,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101427,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101420,"src":"20015:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101429,"indexExpression":{"hexValue":"30","id":101428,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20025:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20015:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101430,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101409,"src":"20030:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20015:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101432,"nodeType":"ExpressionStatement","src":"20015:26:188"},{"expression":{"id":101437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101433,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101420,"src":"20047:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101435,"indexExpression":{"hexValue":"31","id":101434,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20057:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20047:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101436,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101411,"src":"20062:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20047:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101438,"nodeType":"ExpressionStatement","src":"20047:21:188"},{"expression":{"arguments":[{"id":101442,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"20100:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101443,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101420,"src":"20110:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3130","id":101444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20121:2:188","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},{"arguments":[{"components":[{"id":101447,"name":"blockNumber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101413,"src":"20143:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101448,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"20142:13:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":101445,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"20125:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":101446,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"20129:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"20125:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":101449,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20125:31:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101450,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"20158:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101439,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"20075:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101441,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20085:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"20075:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":101451,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20075:96:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101452,"nodeType":"ExpressionStatement","src":"20075:96:188"}]},"documentation":{"id":101407,"nodeType":"StructuredDocumentation","src":"19824:39:188","text":" @notice Set blockNumber."},"implemented":true,"kind":"function","modifiers":[],"name":"_setBlockNumber","nameLocation":"19875:15:188","parameters":{"id":101414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101409,"mutability":"mutable","name":"matchEntity","nameLocation":"19899:11:188","nodeType":"VariableDeclaration","scope":101454,"src":"19891:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101408,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19891:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101411,"mutability":"mutable","name":"entity","nameLocation":"19920:6:188","nodeType":"VariableDeclaration","scope":101454,"src":"19912:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101410,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19912:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101413,"mutability":"mutable","name":"blockNumber","nameLocation":"19936:11:188","nodeType":"VariableDeclaration","scope":101454,"src":"19928:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101412,"name":"uint256","nodeType":"ElementaryTypeName","src":"19928:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"19890:58:188"},"returnParameters":{"id":101415,"nodeType":"ParameterList","parameters":[],"src":"19958:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101507,"nodeType":"FunctionDefinition","src":"20220:342:188","nodes":[],"body":{"id":101506,"nodeType":"Block","src":"20321:241:188","nodes":[],"statements":[{"assignments":[101468],"declarations":[{"constant":false,"id":101468,"mutability":"mutable","name":"_keyTuple","nameLocation":"20344:9:188","nodeType":"VariableDeclaration","scope":101506,"src":"20327:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101466,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20327:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101467,"nodeType":"ArrayTypeName","src":"20327:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101474,"initialValue":{"arguments":[{"hexValue":"32","id":101472,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20370:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101471,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"20356:13:188","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":101469,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20360:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101470,"nodeType":"ArrayTypeName","src":"20360:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101473,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20356:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"20327:45:188"},{"expression":{"id":101479,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101475,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101468,"src":"20378:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101477,"indexExpression":{"hexValue":"30","id":101476,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20388:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20378:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101478,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101457,"src":"20393:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20378:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101480,"nodeType":"ExpressionStatement","src":"20378:26:188"},{"expression":{"id":101485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101481,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101468,"src":"20410:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101483,"indexExpression":{"hexValue":"31","id":101482,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20420:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20410:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101484,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101459,"src":"20425:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20410:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101486,"nodeType":"ExpressionStatement","src":"20410:21:188"},{"assignments":[101488],"declarations":[{"constant":false,"id":101488,"mutability":"mutable","name":"_blob","nameLocation":"20446:5:188","nodeType":"VariableDeclaration","scope":101506,"src":"20438:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101487,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20438:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":101496,"initialValue":{"arguments":[{"id":101491,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"20481:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101492,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101468,"src":"20491:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3131","id":101493,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20502:2:188","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},{"id":101494,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"20506:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101489,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"20454:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101490,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20466:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"20454:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":101495,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20454:65:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"20438:81:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":101501,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101488,"src":"20549:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101500,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20541:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":101499,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20541:7:188","typeDescriptions":{}}},"id":101502,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20541:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101498,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20533:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":101497,"name":"uint256","nodeType":"ElementaryTypeName","src":"20533:7:188","typeDescriptions":{}}},"id":101503,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20533:23:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101504,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"20532:25:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":101463,"id":101505,"nodeType":"Return","src":"20525:32:188"}]},"documentation":{"id":101455,"nodeType":"StructuredDocumentation","src":"20180:37:188","text":" @notice Get timestamp."},"implemented":true,"kind":"function","modifiers":[],"name":"getTimestamp","nameLocation":"20229:12:188","parameters":{"id":101460,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101457,"mutability":"mutable","name":"matchEntity","nameLocation":"20250:11:188","nodeType":"VariableDeclaration","scope":101507,"src":"20242:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101456,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20242:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101459,"mutability":"mutable","name":"entity","nameLocation":"20271:6:188","nodeType":"VariableDeclaration","scope":101507,"src":"20263:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101458,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20263:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"20241:37:188"},"returnParameters":{"id":101463,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101462,"mutability":"mutable","name":"timestamp","nameLocation":"20310:9:188","nodeType":"VariableDeclaration","scope":101507,"src":"20302:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101461,"name":"uint256","nodeType":"ElementaryTypeName","src":"20302:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"20301:19:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101560,"nodeType":"FunctionDefinition","src":"20606:341:188","nodes":[],"body":{"id":101559,"nodeType":"Block","src":"20708:239:188","nodes":[],"statements":[{"assignments":[101521],"declarations":[{"constant":false,"id":101521,"mutability":"mutable","name":"_keyTuple","nameLocation":"20731:9:188","nodeType":"VariableDeclaration","scope":101559,"src":"20714:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101519,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20714:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101520,"nodeType":"ArrayTypeName","src":"20714:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101527,"initialValue":{"arguments":[{"hexValue":"32","id":101525,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20757:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101524,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"20743:13:188","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":101522,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20747:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101523,"nodeType":"ArrayTypeName","src":"20747:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101526,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20743:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"20714:45:188"},{"expression":{"id":101532,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101528,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101521,"src":"20765:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101530,"indexExpression":{"hexValue":"30","id":101529,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20775:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20765:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101531,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101510,"src":"20780:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20765:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101533,"nodeType":"ExpressionStatement","src":"20765:26:188"},{"expression":{"id":101538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101534,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101521,"src":"20797:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101536,"indexExpression":{"hexValue":"31","id":101535,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20807:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20797:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101537,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101512,"src":"20812:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20797:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101539,"nodeType":"ExpressionStatement","src":"20797:21:188"},{"assignments":[101541],"declarations":[{"constant":false,"id":101541,"mutability":"mutable","name":"_blob","nameLocation":"20833:5:188","nodeType":"VariableDeclaration","scope":101559,"src":"20825:13:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101540,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20825:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":101549,"initialValue":{"arguments":[{"id":101544,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"20866:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101545,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101521,"src":"20876:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3131","id":101546,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20887:2:188","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},{"id":101547,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"20891:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101542,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"20841:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101543,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20851:14:188","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"20841:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":101548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20841:63:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"20825:79:188"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":101554,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101541,"src":"20934:5:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101553,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20926:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":101552,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20926:7:188","typeDescriptions":{}}},"id":101555,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20926:14:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":101551,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20918:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":101550,"name":"uint256","nodeType":"ElementaryTypeName","src":"20918:7:188","typeDescriptions":{}}},"id":101556,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20918:23:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101557,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"20917:25:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":101516,"id":101558,"nodeType":"Return","src":"20910:32:188"}]},"documentation":{"id":101508,"nodeType":"StructuredDocumentation","src":"20566:37:188","text":" @notice Get timestamp."},"implemented":true,"kind":"function","modifiers":[],"name":"_getTimestamp","nameLocation":"20615:13:188","parameters":{"id":101513,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101510,"mutability":"mutable","name":"matchEntity","nameLocation":"20637:11:188","nodeType":"VariableDeclaration","scope":101560,"src":"20629:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101509,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20629:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101512,"mutability":"mutable","name":"entity","nameLocation":"20658:6:188","nodeType":"VariableDeclaration","scope":101560,"src":"20650:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101511,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20650:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"20628:37:188"},"returnParameters":{"id":101516,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101515,"mutability":"mutable","name":"timestamp","nameLocation":"20697:9:188","nodeType":"VariableDeclaration","scope":101560,"src":"20689:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101514,"name":"uint256","nodeType":"ElementaryTypeName","src":"20689:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"20688:19:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101608,"nodeType":"FunctionDefinition","src":"20991:305:188","nodes":[],"body":{"id":101607,"nodeType":"Block","src":"21078:218:188","nodes":[],"statements":[{"assignments":[101574],"declarations":[{"constant":false,"id":101574,"mutability":"mutable","name":"_keyTuple","nameLocation":"21101:9:188","nodeType":"VariableDeclaration","scope":101607,"src":"21084:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101572,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21084:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101573,"nodeType":"ArrayTypeName","src":"21084:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101580,"initialValue":{"arguments":[{"hexValue":"32","id":101578,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21127:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101577,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"21113:13:188","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":101575,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21117:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101576,"nodeType":"ArrayTypeName","src":"21117:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101579,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21113:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"21084:45:188"},{"expression":{"id":101585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101581,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101574,"src":"21135:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101583,"indexExpression":{"hexValue":"30","id":101582,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21145:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"21135:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101584,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101563,"src":"21150:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"21135:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101586,"nodeType":"ExpressionStatement","src":"21135:26:188"},{"expression":{"id":101591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101587,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101574,"src":"21167:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101589,"indexExpression":{"hexValue":"31","id":101588,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21177:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"21167:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101590,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101565,"src":"21182:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"21167:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101592,"nodeType":"ExpressionStatement","src":"21167:21:188"},{"expression":{"arguments":[{"id":101596,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"21222:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101597,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101574,"src":"21232:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3131","id":101598,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21243:2:188","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},{"arguments":[{"components":[{"id":101601,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101567,"src":"21265:9:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101602,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21264:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":101599,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"21247:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":101600,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"21251:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"21247:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":101603,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21247:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101604,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"21278:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101593,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"21195:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101595,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21207:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"21195:26:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":101605,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21195:96:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101606,"nodeType":"ExpressionStatement","src":"21195:96:188"}]},"documentation":{"id":101561,"nodeType":"StructuredDocumentation","src":"20951:37:188","text":" @notice Set timestamp."},"implemented":true,"kind":"function","modifiers":[],"name":"setTimestamp","nameLocation":"21000:12:188","parameters":{"id":101568,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101563,"mutability":"mutable","name":"matchEntity","nameLocation":"21021:11:188","nodeType":"VariableDeclaration","scope":101608,"src":"21013:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101562,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21013:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101565,"mutability":"mutable","name":"entity","nameLocation":"21042:6:188","nodeType":"VariableDeclaration","scope":101608,"src":"21034:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101564,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21034:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101567,"mutability":"mutable","name":"timestamp","nameLocation":"21058:9:188","nodeType":"VariableDeclaration","scope":101608,"src":"21050:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101566,"name":"uint256","nodeType":"ElementaryTypeName","src":"21050:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"21012:56:188"},"returnParameters":{"id":101569,"nodeType":"ParameterList","parameters":[],"src":"21078:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101656,"nodeType":"FunctionDefinition","src":"21340:304:188","nodes":[],"body":{"id":101655,"nodeType":"Block","src":"21428:216:188","nodes":[],"statements":[{"assignments":[101622],"declarations":[{"constant":false,"id":101622,"mutability":"mutable","name":"_keyTuple","nameLocation":"21451:9:188","nodeType":"VariableDeclaration","scope":101655,"src":"21434:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101620,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21434:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101621,"nodeType":"ArrayTypeName","src":"21434:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101628,"initialValue":{"arguments":[{"hexValue":"32","id":101626,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21477:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101625,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"21463:13:188","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":101623,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21467:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101624,"nodeType":"ArrayTypeName","src":"21467:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101627,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21463:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"21434:45:188"},{"expression":{"id":101633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101629,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101622,"src":"21485:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101631,"indexExpression":{"hexValue":"30","id":101630,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21495:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"21485:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101632,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101611,"src":"21500:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"21485:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101634,"nodeType":"ExpressionStatement","src":"21485:26:188"},{"expression":{"id":101639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101635,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101622,"src":"21517:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101637,"indexExpression":{"hexValue":"31","id":101636,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21527:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"21517:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101638,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101613,"src":"21532:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"21517:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101640,"nodeType":"ExpressionStatement","src":"21517:21:188"},{"expression":{"arguments":[{"id":101644,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"21570:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101645,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101622,"src":"21580:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"3131","id":101646,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21591:2:188","typeDescriptions":{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},"value":"11"},{"arguments":[{"components":[{"id":101649,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101615,"src":"21613:9:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":101650,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21612:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":101647,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"21595:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":101648,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"21599:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"21595:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":101651,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21595:29:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101652,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"21626:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_11_by_1","typeString":"int_const 11"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101641,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"21545:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101643,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21555:14:188","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"21545:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":101653,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21545:94:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101654,"nodeType":"ExpressionStatement","src":"21545:94:188"}]},"documentation":{"id":101609,"nodeType":"StructuredDocumentation","src":"21300:37:188","text":" @notice Set timestamp."},"implemented":true,"kind":"function","modifiers":[],"name":"_setTimestamp","nameLocation":"21349:13:188","parameters":{"id":101616,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101611,"mutability":"mutable","name":"matchEntity","nameLocation":"21371:11:188","nodeType":"VariableDeclaration","scope":101656,"src":"21363:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101610,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21363:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101613,"mutability":"mutable","name":"entity","nameLocation":"21392:6:188","nodeType":"VariableDeclaration","scope":101656,"src":"21384:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101612,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21384:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101615,"mutability":"mutable","name":"timestamp","nameLocation":"21408:9:188","nodeType":"VariableDeclaration","scope":101656,"src":"21400:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101614,"name":"uint256","nodeType":"ElementaryTypeName","src":"21400:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"21362:56:188"},"returnParameters":{"id":101617,"nodeType":"ParameterList","parameters":[],"src":"21428:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101711,"nodeType":"FunctionDefinition","src":"21692:459:188","nodes":[],"body":{"id":101710,"nodeType":"Block","src":"21798:353:188","nodes":[],"statements":[{"assignments":[101671],"declarations":[{"constant":false,"id":101671,"mutability":"mutable","name":"_keyTuple","nameLocation":"21821:9:188","nodeType":"VariableDeclaration","scope":101710,"src":"21804:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101669,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21804:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101670,"nodeType":"ArrayTypeName","src":"21804:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101677,"initialValue":{"arguments":[{"hexValue":"32","id":101675,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21847:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101674,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"21833:13:188","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":101672,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21837:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101673,"nodeType":"ArrayTypeName","src":"21837:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101676,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21833:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"21804:45:188"},{"expression":{"id":101682,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101678,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101671,"src":"21855:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101680,"indexExpression":{"hexValue":"30","id":101679,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21865:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"21855:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101681,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101659,"src":"21870:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"21855:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101683,"nodeType":"ExpressionStatement","src":"21855:26:188"},{"expression":{"id":101688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101684,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101671,"src":"21887:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101686,"indexExpression":{"hexValue":"31","id":101685,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21897:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"21887:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101687,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101661,"src":"21902:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"21887:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101689,"nodeType":"ExpressionStatement","src":"21887:21:188"},{"assignments":[101691,101694,101696],"declarations":[{"constant":false,"id":101691,"mutability":"mutable","name":"_staticData","nameLocation":"21929:11:188","nodeType":"VariableDeclaration","scope":101710,"src":"21916:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101690,"name":"bytes","nodeType":"ElementaryTypeName","src":"21916:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":101694,"mutability":"mutable","name":"_encodedLengths","nameLocation":"21957:15:188","nodeType":"VariableDeclaration","scope":101710,"src":"21942:30:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":101693,"nodeType":"UserDefinedTypeName","pathNode":{"id":101692,"name":"EncodedLengths","nameLocations":["21942:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"21942:14:188"},"referencedDeclaration":7251,"src":"21942:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":101696,"mutability":"mutable","name":"_dynamicData","nameLocation":"21987:12:188","nodeType":"VariableDeclaration","scope":101710,"src":"21974:25:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101695,"name":"bytes","nodeType":"ElementaryTypeName","src":"21974:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101703,"initialValue":{"arguments":[{"id":101699,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"22032:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101700,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101671,"src":"22048:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":101701,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"22065:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101697,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"22003:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101698,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22015:9:188","memberName":"getRecord","nodeType":"MemberAccess","referencedDeclaration":14174,"src":"22003:21:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,FieldLayout) view returns (bytes memory,EncodedLengths,bytes memory)"}},"id":101702,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22003:80:188","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)"}},"nodeType":"VariableDeclarationStatement","src":"21915:168:188"},{"expression":{"arguments":[{"id":101705,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101691,"src":"22103:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101706,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101694,"src":"22116:15:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":101707,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101696,"src":"22133:12:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":101704,"name":"decode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102345,"src":"22096:6:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_struct$_CombatOutcomeData_$99024_memory_ptr_$","typeString":"function (bytes memory,EncodedLengths,bytes memory) pure returns (struct CombatOutcomeData memory)"}},"id":101708,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22096:50:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"functionReturnParameters":101666,"id":101709,"nodeType":"Return","src":"22089:57:188"}]},"documentation":{"id":101657,"nodeType":"StructuredDocumentation","src":"21648:41:188","text":" @notice Get the full data."},"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"21701:3:188","parameters":{"id":101662,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101659,"mutability":"mutable","name":"matchEntity","nameLocation":"21713:11:188","nodeType":"VariableDeclaration","scope":101711,"src":"21705:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101658,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21705:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101661,"mutability":"mutable","name":"entity","nameLocation":"21734:6:188","nodeType":"VariableDeclaration","scope":101711,"src":"21726:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101660,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21726:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"21704:37:188"},"returnParameters":{"id":101666,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101665,"mutability":"mutable","name":"_table","nameLocation":"21790:6:188","nodeType":"VariableDeclaration","scope":101711,"src":"21765:31:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData"},"typeName":{"id":101664,"nodeType":"UserDefinedTypeName","pathNode":{"id":101663,"name":"CombatOutcomeData","nameLocations":["21765:17:188"],"nodeType":"IdentifierPath","referencedDeclaration":99024,"src":"21765:17:188"},"referencedDeclaration":99024,"src":"21765:17:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_storage_ptr","typeString":"struct CombatOutcomeData"}},"visibility":"internal"}],"src":"21764:33:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101766,"nodeType":"FunctionDefinition","src":"22199:458:188","nodes":[],"body":{"id":101765,"nodeType":"Block","src":"22306:351:188","nodes":[],"statements":[{"assignments":[101726],"declarations":[{"constant":false,"id":101726,"mutability":"mutable","name":"_keyTuple","nameLocation":"22329:9:188","nodeType":"VariableDeclaration","scope":101765,"src":"22312:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101724,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22312:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101725,"nodeType":"ArrayTypeName","src":"22312:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101732,"initialValue":{"arguments":[{"hexValue":"32","id":101730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22355:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101729,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"22341:13:188","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":101727,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22345:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101728,"nodeType":"ArrayTypeName","src":"22345:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101731,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22341:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"22312:45:188"},{"expression":{"id":101737,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101733,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101726,"src":"22363:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101735,"indexExpression":{"hexValue":"30","id":101734,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22373:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"22363:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101736,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101714,"src":"22378:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"22363:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101738,"nodeType":"ExpressionStatement","src":"22363:26:188"},{"expression":{"id":101743,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101739,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101726,"src":"22395:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101741,"indexExpression":{"hexValue":"31","id":101740,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22405:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"22395:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101742,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101716,"src":"22410:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"22395:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101744,"nodeType":"ExpressionStatement","src":"22395:21:188"},{"assignments":[101746,101749,101751],"declarations":[{"constant":false,"id":101746,"mutability":"mutable","name":"_staticData","nameLocation":"22437:11:188","nodeType":"VariableDeclaration","scope":101765,"src":"22424:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101745,"name":"bytes","nodeType":"ElementaryTypeName","src":"22424:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":101749,"mutability":"mutable","name":"_encodedLengths","nameLocation":"22465:15:188","nodeType":"VariableDeclaration","scope":101765,"src":"22450:30:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":101748,"nodeType":"UserDefinedTypeName","pathNode":{"id":101747,"name":"EncodedLengths","nameLocations":["22450:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"22450:14:188"},"referencedDeclaration":7251,"src":"22450:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":101751,"mutability":"mutable","name":"_dynamicData","nameLocation":"22495:12:188","nodeType":"VariableDeclaration","scope":101765,"src":"22482:25:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101750,"name":"bytes","nodeType":"ElementaryTypeName","src":"22482:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101758,"initialValue":{"arguments":[{"id":101754,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"22538:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101755,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101726,"src":"22554:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":101756,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"22571:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101752,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"22511:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22521:9:188","memberName":"getRecord","nodeType":"MemberAccess","referencedDeclaration":12376,"src":"22511:19:188","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,FieldLayout) view returns (bytes memory,EncodedLengths,bytes memory)"}},"id":101757,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22511:78:188","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)"}},"nodeType":"VariableDeclarationStatement","src":"22423:166:188"},{"expression":{"arguments":[{"id":101760,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101746,"src":"22609:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101761,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101749,"src":"22622:15:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":101762,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101751,"src":"22639:12:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":101759,"name":"decode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102345,"src":"22602:6:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_struct$_CombatOutcomeData_$99024_memory_ptr_$","typeString":"function (bytes memory,EncodedLengths,bytes memory) pure returns (struct CombatOutcomeData memory)"}},"id":101763,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22602:50:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"functionReturnParameters":101721,"id":101764,"nodeType":"Return","src":"22595:57:188"}]},"documentation":{"id":101712,"nodeType":"StructuredDocumentation","src":"22155:41:188","text":" @notice Get the full data."},"implemented":true,"kind":"function","modifiers":[],"name":"_get","nameLocation":"22208:4:188","parameters":{"id":101717,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101714,"mutability":"mutable","name":"matchEntity","nameLocation":"22221:11:188","nodeType":"VariableDeclaration","scope":101766,"src":"22213:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101713,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22213:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101716,"mutability":"mutable","name":"entity","nameLocation":"22242:6:188","nodeType":"VariableDeclaration","scope":101766,"src":"22234:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101715,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22234:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"22212:37:188"},"returnParameters":{"id":101721,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101720,"mutability":"mutable","name":"_table","nameLocation":"22298:6:188","nodeType":"VariableDeclaration","scope":101766,"src":"22273:31:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData"},"typeName":{"id":101719,"nodeType":"UserDefinedTypeName","pathNode":{"id":101718,"name":"CombatOutcomeData","nameLocations":["22273:17:188"],"nodeType":"IdentifierPath","referencedDeclaration":99024,"src":"22273:17:188"},"referencedDeclaration":99024,"src":"22273:17:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_storage_ptr","typeString":"struct CombatOutcomeData"}},"visibility":"internal"}],"src":"22272:33:188"},"scope":102574,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":101856,"nodeType":"FunctionDefinition","src":"22729:951:188","nodes":[],"body":{"id":101855,"nodeType":"Block","src":"23102:578:188","nodes":[],"statements":[{"assignments":[101799],"declarations":[{"constant":false,"id":101799,"mutability":"mutable","name":"_staticData","nameLocation":"23121:11:188","nodeType":"VariableDeclaration","scope":101855,"src":"23108:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101798,"name":"bytes","nodeType":"ElementaryTypeName","src":"23108:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101814,"initialValue":{"arguments":[{"id":101801,"name":"attacker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101773,"src":"23155:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":101802,"name":"defender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101775,"src":"23171:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":101803,"name":"attackerDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101777,"src":"23187:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101804,"name":"defenderDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101779,"src":"23217:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101805,"name":"attackerDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101781,"src":"23247:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101806,"name":"defenderDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101783,"src":"23269:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101807,"name":"ranged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101785,"src":"23291:6:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101808,"name":"attackerDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101787,"src":"23305:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101809,"name":"defenderDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101789,"src":"23325:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101810,"name":"defenderCaptured","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101791,"src":"23345:16:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101811,"name":"blockNumber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101793,"src":"23369:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":101812,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101795,"src":"23388:9:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":101800,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102471,"src":"23135:12:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256) pure returns (bytes memory)"}},"id":101813,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23135:268:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"23108:295:188"},{"assignments":[101817],"declarations":[{"constant":false,"id":101817,"mutability":"mutable","name":"_encodedLengths","nameLocation":"23425:15:188","nodeType":"VariableDeclaration","scope":101855,"src":"23410:30:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":101816,"nodeType":"UserDefinedTypeName","pathNode":{"id":101815,"name":"EncodedLengths","nameLocations":["23410:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"23410:14:188"},"referencedDeclaration":7251,"src":"23410:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":101818,"nodeType":"VariableDeclarationStatement","src":"23410:30:188"},{"assignments":[101820],"declarations":[{"constant":false,"id":101820,"mutability":"mutable","name":"_dynamicData","nameLocation":"23459:12:188","nodeType":"VariableDeclaration","scope":101855,"src":"23446:25:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101819,"name":"bytes","nodeType":"ElementaryTypeName","src":"23446:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101821,"nodeType":"VariableDeclarationStatement","src":"23446:25:188"},{"assignments":[101826],"declarations":[{"constant":false,"id":101826,"mutability":"mutable","name":"_keyTuple","nameLocation":"23495:9:188","nodeType":"VariableDeclaration","scope":101855,"src":"23478:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101824,"name":"bytes32","nodeType":"ElementaryTypeName","src":"23478:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101825,"nodeType":"ArrayTypeName","src":"23478:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101832,"initialValue":{"arguments":[{"hexValue":"32","id":101830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23521:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101829,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"23507:13:188","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":101827,"name":"bytes32","nodeType":"ElementaryTypeName","src":"23511:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101828,"nodeType":"ArrayTypeName","src":"23511:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101831,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23507:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"23478:45:188"},{"expression":{"id":101837,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101833,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101826,"src":"23529:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101835,"indexExpression":{"hexValue":"30","id":101834,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23539:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"23529:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101836,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101769,"src":"23544:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"23529:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101838,"nodeType":"ExpressionStatement","src":"23529:26:188"},{"expression":{"id":101843,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101839,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101826,"src":"23561:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101841,"indexExpression":{"hexValue":"31","id":101840,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23571:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"23561:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101842,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101771,"src":"23576:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"23561:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101844,"nodeType":"ExpressionStatement","src":"23561:21:188"},{"expression":{"arguments":[{"id":101848,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"23611:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101849,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101826,"src":"23621:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":101850,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101799,"src":"23632:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101851,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101817,"src":"23645:15:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":101852,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101820,"src":"23662:12:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":101845,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"23589:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":101847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23601:9:188","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":13635,"src":"23589:21:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory)"}},"id":101853,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23589:86:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101854,"nodeType":"ExpressionStatement","src":"23589:86:188"}]},"documentation":{"id":101767,"nodeType":"StructuredDocumentation","src":"22661:65:188","text":" @notice Set the full data using individual values."},"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"22738:3:188","parameters":{"id":101796,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101769,"mutability":"mutable","name":"matchEntity","nameLocation":"22755:11:188","nodeType":"VariableDeclaration","scope":101856,"src":"22747:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101768,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22747:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101771,"mutability":"mutable","name":"entity","nameLocation":"22780:6:188","nodeType":"VariableDeclaration","scope":101856,"src":"22772:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101770,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22772:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101773,"mutability":"mutable","name":"attacker","nameLocation":"22800:8:188","nodeType":"VariableDeclaration","scope":101856,"src":"22792:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101772,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22792:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101775,"mutability":"mutable","name":"defender","nameLocation":"22822:8:188","nodeType":"VariableDeclaration","scope":101856,"src":"22814:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101774,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22814:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101777,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"22842:22:188","nodeType":"VariableDeclaration","scope":101856,"src":"22836:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101776,"name":"int32","nodeType":"ElementaryTypeName","src":"22836:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101779,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"22876:22:188","nodeType":"VariableDeclaration","scope":101856,"src":"22870:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101778,"name":"int32","nodeType":"ElementaryTypeName","src":"22870:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101781,"mutability":"mutable","name":"attackerDamage","nameLocation":"22910:14:188","nodeType":"VariableDeclaration","scope":101856,"src":"22904:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101780,"name":"int32","nodeType":"ElementaryTypeName","src":"22904:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101783,"mutability":"mutable","name":"defenderDamage","nameLocation":"22936:14:188","nodeType":"VariableDeclaration","scope":101856,"src":"22930:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101782,"name":"int32","nodeType":"ElementaryTypeName","src":"22930:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101785,"mutability":"mutable","name":"ranged","nameLocation":"22961:6:188","nodeType":"VariableDeclaration","scope":101856,"src":"22956:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101784,"name":"bool","nodeType":"ElementaryTypeName","src":"22956:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101787,"mutability":"mutable","name":"attackerDied","nameLocation":"22978:12:188","nodeType":"VariableDeclaration","scope":101856,"src":"22973:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101786,"name":"bool","nodeType":"ElementaryTypeName","src":"22973:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101789,"mutability":"mutable","name":"defenderDied","nameLocation":"23001:12:188","nodeType":"VariableDeclaration","scope":101856,"src":"22996:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101788,"name":"bool","nodeType":"ElementaryTypeName","src":"22996:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101791,"mutability":"mutable","name":"defenderCaptured","nameLocation":"23024:16:188","nodeType":"VariableDeclaration","scope":101856,"src":"23019:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101790,"name":"bool","nodeType":"ElementaryTypeName","src":"23019:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101793,"mutability":"mutable","name":"blockNumber","nameLocation":"23054:11:188","nodeType":"VariableDeclaration","scope":101856,"src":"23046:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101792,"name":"uint256","nodeType":"ElementaryTypeName","src":"23046:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":101795,"mutability":"mutable","name":"timestamp","nameLocation":"23079:9:188","nodeType":"VariableDeclaration","scope":101856,"src":"23071:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101794,"name":"uint256","nodeType":"ElementaryTypeName","src":"23071:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"22741:351:188"},"returnParameters":{"id":101797,"nodeType":"ParameterList","parameters":[],"src":"23102:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":101947,"nodeType":"FunctionDefinition","src":"23752:964:188","nodes":[],"body":{"id":101946,"nodeType":"Block","src":"24126:590:188","nodes":[],"statements":[{"assignments":[101889],"declarations":[{"constant":false,"id":101889,"mutability":"mutable","name":"_staticData","nameLocation":"24145:11:188","nodeType":"VariableDeclaration","scope":101946,"src":"24132:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101888,"name":"bytes","nodeType":"ElementaryTypeName","src":"24132:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101904,"initialValue":{"arguments":[{"id":101891,"name":"attacker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101863,"src":"24179:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":101892,"name":"defender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101865,"src":"24195:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":101893,"name":"attackerDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101867,"src":"24211:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101894,"name":"defenderDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101869,"src":"24241:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101895,"name":"attackerDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101871,"src":"24271:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101896,"name":"defenderDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101873,"src":"24293:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":101897,"name":"ranged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101875,"src":"24315:6:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101898,"name":"attackerDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101877,"src":"24329:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101899,"name":"defenderDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101879,"src":"24349:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101900,"name":"defenderCaptured","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101881,"src":"24369:16:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":101901,"name":"blockNumber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101883,"src":"24393:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":101902,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101885,"src":"24412:9:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":101890,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102471,"src":"24159:12:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256) pure returns (bytes memory)"}},"id":101903,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24159:268:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"24132:295:188"},{"assignments":[101907],"declarations":[{"constant":false,"id":101907,"mutability":"mutable","name":"_encodedLengths","nameLocation":"24449:15:188","nodeType":"VariableDeclaration","scope":101946,"src":"24434:30:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":101906,"nodeType":"UserDefinedTypeName","pathNode":{"id":101905,"name":"EncodedLengths","nameLocations":["24434:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"24434:14:188"},"referencedDeclaration":7251,"src":"24434:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":101908,"nodeType":"VariableDeclarationStatement","src":"24434:30:188"},{"assignments":[101910],"declarations":[{"constant":false,"id":101910,"mutability":"mutable","name":"_dynamicData","nameLocation":"24483:12:188","nodeType":"VariableDeclaration","scope":101946,"src":"24470:25:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101909,"name":"bytes","nodeType":"ElementaryTypeName","src":"24470:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101911,"nodeType":"VariableDeclarationStatement","src":"24470:25:188"},{"assignments":[101916],"declarations":[{"constant":false,"id":101916,"mutability":"mutable","name":"_keyTuple","nameLocation":"24519:9:188","nodeType":"VariableDeclaration","scope":101946,"src":"24502:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101914,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24502:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101915,"nodeType":"ArrayTypeName","src":"24502:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":101922,"initialValue":{"arguments":[{"hexValue":"32","id":101920,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24545:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":101919,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"24531:13:188","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":101917,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24535:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101918,"nodeType":"ArrayTypeName","src":"24535:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":101921,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24531:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"24502:45:188"},{"expression":{"id":101927,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101923,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101916,"src":"24553:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101925,"indexExpression":{"hexValue":"30","id":101924,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24563:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"24553:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101926,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101859,"src":"24568:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"24553:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101928,"nodeType":"ExpressionStatement","src":"24553:26:188"},{"expression":{"id":101933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":101929,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101916,"src":"24585:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":101931,"indexExpression":{"hexValue":"31","id":101930,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24595:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"24585:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":101932,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101861,"src":"24600:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"24585:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101934,"nodeType":"ExpressionStatement","src":"24585:21:188"},{"expression":{"arguments":[{"id":101938,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"24633:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":101939,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101916,"src":"24643:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":101940,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101889,"src":"24654:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101941,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101907,"src":"24667:15:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":101942,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101910,"src":"24684:12:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":101943,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"24698:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":101935,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"24613:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":101937,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"24623:9:188","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":11614,"src":"24613:19:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory,FieldLayout)"}},"id":101944,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24613:98:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":101945,"nodeType":"ExpressionStatement","src":"24613:98:188"}]},"documentation":{"id":101857,"nodeType":"StructuredDocumentation","src":"23684:65:188","text":" @notice Set the full data using individual values."},"implemented":true,"kind":"function","modifiers":[],"name":"_set","nameLocation":"23761:4:188","parameters":{"id":101886,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101859,"mutability":"mutable","name":"matchEntity","nameLocation":"23779:11:188","nodeType":"VariableDeclaration","scope":101947,"src":"23771:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101858,"name":"bytes32","nodeType":"ElementaryTypeName","src":"23771:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101861,"mutability":"mutable","name":"entity","nameLocation":"23804:6:188","nodeType":"VariableDeclaration","scope":101947,"src":"23796:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101860,"name":"bytes32","nodeType":"ElementaryTypeName","src":"23796:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101863,"mutability":"mutable","name":"attacker","nameLocation":"23824:8:188","nodeType":"VariableDeclaration","scope":101947,"src":"23816:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101862,"name":"bytes32","nodeType":"ElementaryTypeName","src":"23816:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101865,"mutability":"mutable","name":"defender","nameLocation":"23846:8:188","nodeType":"VariableDeclaration","scope":101947,"src":"23838:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101864,"name":"bytes32","nodeType":"ElementaryTypeName","src":"23838:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101867,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"23866:22:188","nodeType":"VariableDeclaration","scope":101947,"src":"23860:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101866,"name":"int32","nodeType":"ElementaryTypeName","src":"23860:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101869,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"23900:22:188","nodeType":"VariableDeclaration","scope":101947,"src":"23894:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101868,"name":"int32","nodeType":"ElementaryTypeName","src":"23894:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101871,"mutability":"mutable","name":"attackerDamage","nameLocation":"23934:14:188","nodeType":"VariableDeclaration","scope":101947,"src":"23928:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101870,"name":"int32","nodeType":"ElementaryTypeName","src":"23928:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101873,"mutability":"mutable","name":"defenderDamage","nameLocation":"23960:14:188","nodeType":"VariableDeclaration","scope":101947,"src":"23954:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":101872,"name":"int32","nodeType":"ElementaryTypeName","src":"23954:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":101875,"mutability":"mutable","name":"ranged","nameLocation":"23985:6:188","nodeType":"VariableDeclaration","scope":101947,"src":"23980:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101874,"name":"bool","nodeType":"ElementaryTypeName","src":"23980:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101877,"mutability":"mutable","name":"attackerDied","nameLocation":"24002:12:188","nodeType":"VariableDeclaration","scope":101947,"src":"23997:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101876,"name":"bool","nodeType":"ElementaryTypeName","src":"23997:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101879,"mutability":"mutable","name":"defenderDied","nameLocation":"24025:12:188","nodeType":"VariableDeclaration","scope":101947,"src":"24020:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101878,"name":"bool","nodeType":"ElementaryTypeName","src":"24020:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101881,"mutability":"mutable","name":"defenderCaptured","nameLocation":"24048:16:188","nodeType":"VariableDeclaration","scope":101947,"src":"24043:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":101880,"name":"bool","nodeType":"ElementaryTypeName","src":"24043:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":101883,"mutability":"mutable","name":"blockNumber","nameLocation":"24078:11:188","nodeType":"VariableDeclaration","scope":101947,"src":"24070:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101882,"name":"uint256","nodeType":"ElementaryTypeName","src":"24070:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":101885,"mutability":"mutable","name":"timestamp","nameLocation":"24103:9:188","nodeType":"VariableDeclaration","scope":101947,"src":"24095:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":101884,"name":"uint256","nodeType":"ElementaryTypeName","src":"24095:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"23765:351:188"},"returnParameters":{"id":101887,"nodeType":"ParameterList","parameters":[],"src":"24126:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":102028,"nodeType":"FunctionDefinition","src":"24786:754:188","nodes":[],"body":{"id":102027,"nodeType":"Block","src":"24878:662:188","nodes":[],"statements":[{"assignments":[101959],"declarations":[{"constant":false,"id":101959,"mutability":"mutable","name":"_staticData","nameLocation":"24897:11:188","nodeType":"VariableDeclaration","scope":102027,"src":"24884:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101958,"name":"bytes","nodeType":"ElementaryTypeName","src":"24884:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101986,"initialValue":{"arguments":[{"expression":{"id":101961,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"24931:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101962,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"24938:8:188","memberName":"attacker","nodeType":"MemberAccess","referencedDeclaration":99001,"src":"24931:15:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":101963,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"24954:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101964,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"24961:8:188","memberName":"defender","nodeType":"MemberAccess","referencedDeclaration":99003,"src":"24954:15:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":101965,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"24977:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101966,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"24984:22:188","memberName":"attackerDamageReceived","nodeType":"MemberAccess","referencedDeclaration":99005,"src":"24977:29:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":101967,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25014:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101968,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25021:22:188","memberName":"defenderDamageReceived","nodeType":"MemberAccess","referencedDeclaration":99007,"src":"25014:29:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":101969,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25051:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101970,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25058:14:188","memberName":"attackerDamage","nodeType":"MemberAccess","referencedDeclaration":99009,"src":"25051:21:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":101971,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25080:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101972,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25087:14:188","memberName":"defenderDamage","nodeType":"MemberAccess","referencedDeclaration":99011,"src":"25080:21:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":101973,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25109:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101974,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25116:6:188","memberName":"ranged","nodeType":"MemberAccess","referencedDeclaration":99013,"src":"25109:13:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":101975,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25130:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101976,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25137:12:188","memberName":"attackerDied","nodeType":"MemberAccess","referencedDeclaration":99015,"src":"25130:19:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":101977,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25157:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101978,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25164:12:188","memberName":"defenderDied","nodeType":"MemberAccess","referencedDeclaration":99017,"src":"25157:19:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":101979,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25184:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101980,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25191:16:188","memberName":"defenderCaptured","nodeType":"MemberAccess","referencedDeclaration":99019,"src":"25184:23:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":101981,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25215:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101982,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25222:11:188","memberName":"blockNumber","nodeType":"MemberAccess","referencedDeclaration":99021,"src":"25215:18:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":101983,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101955,"src":"25241:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":101984,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25248:9:188","memberName":"timestamp","nodeType":"MemberAccess","referencedDeclaration":99023,"src":"25241:16:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":101960,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102471,"src":"24911:12:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256) pure returns (bytes memory)"}},"id":101985,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24911:352:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"24884:379:188"},{"assignments":[101989],"declarations":[{"constant":false,"id":101989,"mutability":"mutable","name":"_encodedLengths","nameLocation":"25285:15:188","nodeType":"VariableDeclaration","scope":102027,"src":"25270:30:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":101988,"nodeType":"UserDefinedTypeName","pathNode":{"id":101987,"name":"EncodedLengths","nameLocations":["25270:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"25270:14:188"},"referencedDeclaration":7251,"src":"25270:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":101990,"nodeType":"VariableDeclarationStatement","src":"25270:30:188"},{"assignments":[101992],"declarations":[{"constant":false,"id":101992,"mutability":"mutable","name":"_dynamicData","nameLocation":"25319:12:188","nodeType":"VariableDeclaration","scope":102027,"src":"25306:25:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":101991,"name":"bytes","nodeType":"ElementaryTypeName","src":"25306:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":101993,"nodeType":"VariableDeclarationStatement","src":"25306:25:188"},{"assignments":[101998],"declarations":[{"constant":false,"id":101998,"mutability":"mutable","name":"_keyTuple","nameLocation":"25355:9:188","nodeType":"VariableDeclaration","scope":102027,"src":"25338:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":101996,"name":"bytes32","nodeType":"ElementaryTypeName","src":"25338:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":101997,"nodeType":"ArrayTypeName","src":"25338:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":102004,"initialValue":{"arguments":[{"hexValue":"32","id":102002,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25381:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":102001,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"25367:13:188","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":101999,"name":"bytes32","nodeType":"ElementaryTypeName","src":"25371:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102000,"nodeType":"ArrayTypeName","src":"25371:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":102003,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25367:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"25338:45:188"},{"expression":{"id":102009,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102005,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101998,"src":"25389:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102007,"indexExpression":{"hexValue":"30","id":102006,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25399:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"25389:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102008,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101950,"src":"25404:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"25389:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102010,"nodeType":"ExpressionStatement","src":"25389:26:188"},{"expression":{"id":102015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102011,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101998,"src":"25421:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102013,"indexExpression":{"hexValue":"31","id":102012,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25431:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"25421:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102014,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101952,"src":"25436:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"25421:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102016,"nodeType":"ExpressionStatement","src":"25421:21:188"},{"expression":{"arguments":[{"id":102020,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"25471:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":102021,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101998,"src":"25481:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":102022,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101959,"src":"25492:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":102023,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101989,"src":"25505:15:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":102024,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":101992,"src":"25522:12:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":102017,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"25449:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":102019,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25461:9:188","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":13635,"src":"25449:21:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory)"}},"id":102025,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25449:86:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":102026,"nodeType":"ExpressionStatement","src":"25449:86:188"}]},"documentation":{"id":101948,"nodeType":"StructuredDocumentation","src":"24720:63:188","text":" @notice Set the full data using the data struct."},"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"24795:3:188","parameters":{"id":101956,"nodeType":"ParameterList","parameters":[{"constant":false,"id":101950,"mutability":"mutable","name":"matchEntity","nameLocation":"24807:11:188","nodeType":"VariableDeclaration","scope":102028,"src":"24799:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101949,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24799:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101952,"mutability":"mutable","name":"entity","nameLocation":"24828:6:188","nodeType":"VariableDeclaration","scope":102028,"src":"24820:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":101951,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24820:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":101955,"mutability":"mutable","name":"_table","nameLocation":"24861:6:188","nodeType":"VariableDeclaration","scope":102028,"src":"24836:31:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData"},"typeName":{"id":101954,"nodeType":"UserDefinedTypeName","pathNode":{"id":101953,"name":"CombatOutcomeData","nameLocations":["24836:17:188"],"nodeType":"IdentifierPath","referencedDeclaration":99024,"src":"24836:17:188"},"referencedDeclaration":99024,"src":"24836:17:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_storage_ptr","typeString":"struct CombatOutcomeData"}},"visibility":"internal"}],"src":"24798:70:188"},"returnParameters":{"id":101957,"nodeType":"ParameterList","parameters":[],"src":"24878:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":102110,"nodeType":"FunctionDefinition","src":"25610:767:188","nodes":[],"body":{"id":102109,"nodeType":"Block","src":"25703:674:188","nodes":[],"statements":[{"assignments":[102040],"declarations":[{"constant":false,"id":102040,"mutability":"mutable","name":"_staticData","nameLocation":"25722:11:188","nodeType":"VariableDeclaration","scope":102109,"src":"25709:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102039,"name":"bytes","nodeType":"ElementaryTypeName","src":"25709:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":102067,"initialValue":{"arguments":[{"expression":{"id":102042,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25756:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102043,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25763:8:188","memberName":"attacker","nodeType":"MemberAccess","referencedDeclaration":99001,"src":"25756:15:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":102044,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25779:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102045,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25786:8:188","memberName":"defender","nodeType":"MemberAccess","referencedDeclaration":99003,"src":"25779:15:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":102046,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25802:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102047,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25809:22:188","memberName":"attackerDamageReceived","nodeType":"MemberAccess","referencedDeclaration":99005,"src":"25802:29:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102048,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25839:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102049,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25846:22:188","memberName":"defenderDamageReceived","nodeType":"MemberAccess","referencedDeclaration":99007,"src":"25839:29:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102050,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25876:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102051,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25883:14:188","memberName":"attackerDamage","nodeType":"MemberAccess","referencedDeclaration":99009,"src":"25876:21:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102052,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25905:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102053,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25912:14:188","memberName":"defenderDamage","nodeType":"MemberAccess","referencedDeclaration":99011,"src":"25905:21:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102054,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25934:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102055,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25941:6:188","memberName":"ranged","nodeType":"MemberAccess","referencedDeclaration":99013,"src":"25934:13:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102056,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25955:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102057,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25962:12:188","memberName":"attackerDied","nodeType":"MemberAccess","referencedDeclaration":99015,"src":"25955:19:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102058,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"25982:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102059,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25989:12:188","memberName":"defenderDied","nodeType":"MemberAccess","referencedDeclaration":99017,"src":"25982:19:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102060,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"26009:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102061,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"26016:16:188","memberName":"defenderCaptured","nodeType":"MemberAccess","referencedDeclaration":99019,"src":"26009:23:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102062,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"26040:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102063,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"26047:11:188","memberName":"blockNumber","nodeType":"MemberAccess","referencedDeclaration":99021,"src":"26040:18:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":102064,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102036,"src":"26066:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102065,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"26073:9:188","memberName":"timestamp","nodeType":"MemberAccess","referencedDeclaration":99023,"src":"26066:16:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":102041,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102471,"src":"25736:12:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256) pure returns (bytes memory)"}},"id":102066,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25736:352:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"25709:379:188"},{"assignments":[102070],"declarations":[{"constant":false,"id":102070,"mutability":"mutable","name":"_encodedLengths","nameLocation":"26110:15:188","nodeType":"VariableDeclaration","scope":102109,"src":"26095:30:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":102069,"nodeType":"UserDefinedTypeName","pathNode":{"id":102068,"name":"EncodedLengths","nameLocations":["26095:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"26095:14:188"},"referencedDeclaration":7251,"src":"26095:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":102071,"nodeType":"VariableDeclarationStatement","src":"26095:30:188"},{"assignments":[102073],"declarations":[{"constant":false,"id":102073,"mutability":"mutable","name":"_dynamicData","nameLocation":"26144:12:188","nodeType":"VariableDeclaration","scope":102109,"src":"26131:25:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102072,"name":"bytes","nodeType":"ElementaryTypeName","src":"26131:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":102074,"nodeType":"VariableDeclarationStatement","src":"26131:25:188"},{"assignments":[102079],"declarations":[{"constant":false,"id":102079,"mutability":"mutable","name":"_keyTuple","nameLocation":"26180:9:188","nodeType":"VariableDeclaration","scope":102109,"src":"26163:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":102077,"name":"bytes32","nodeType":"ElementaryTypeName","src":"26163:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102078,"nodeType":"ArrayTypeName","src":"26163:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":102085,"initialValue":{"arguments":[{"hexValue":"32","id":102083,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26206:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":102082,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"26192:13:188","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":102080,"name":"bytes32","nodeType":"ElementaryTypeName","src":"26196:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102081,"nodeType":"ArrayTypeName","src":"26196:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":102084,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26192:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"26163:45:188"},{"expression":{"id":102090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102086,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102079,"src":"26214:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102088,"indexExpression":{"hexValue":"30","id":102087,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26224:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"26214:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102089,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102031,"src":"26229:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"26214:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102091,"nodeType":"ExpressionStatement","src":"26214:26:188"},{"expression":{"id":102096,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102092,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102079,"src":"26246:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102094,"indexExpression":{"hexValue":"31","id":102093,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26256:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"26246:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102095,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102033,"src":"26261:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"26246:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102097,"nodeType":"ExpressionStatement","src":"26246:21:188"},{"expression":{"arguments":[{"id":102101,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"26294:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":102102,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102079,"src":"26304:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":102103,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102040,"src":"26315:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":102104,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102070,"src":"26328:15:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":102105,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102073,"src":"26345:12:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":102106,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"26359:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":102098,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"26274:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":102100,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26284:9:188","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":11614,"src":"26274:19:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory,FieldLayout)"}},"id":102107,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26274:98:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":102108,"nodeType":"ExpressionStatement","src":"26274:98:188"}]},"documentation":{"id":102029,"nodeType":"StructuredDocumentation","src":"25544:63:188","text":" @notice Set the full data using the data struct."},"implemented":true,"kind":"function","modifiers":[],"name":"_set","nameLocation":"25619:4:188","parameters":{"id":102037,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102031,"mutability":"mutable","name":"matchEntity","nameLocation":"25632:11:188","nodeType":"VariableDeclaration","scope":102110,"src":"25624:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102030,"name":"bytes32","nodeType":"ElementaryTypeName","src":"25624:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102033,"mutability":"mutable","name":"entity","nameLocation":"25653:6:188","nodeType":"VariableDeclaration","scope":102110,"src":"25645:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102032,"name":"bytes32","nodeType":"ElementaryTypeName","src":"25645:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102036,"mutability":"mutable","name":"_table","nameLocation":"25686:6:188","nodeType":"VariableDeclaration","scope":102110,"src":"25661:31:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData"},"typeName":{"id":102035,"nodeType":"UserDefinedTypeName","pathNode":{"id":102034,"name":"CombatOutcomeData","nameLocations":["25661:17:188"],"nodeType":"IdentifierPath","referencedDeclaration":99024,"src":"25661:17:188"},"referencedDeclaration":99024,"src":"25661:17:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_storage_ptr","typeString":"struct CombatOutcomeData"}},"visibility":"internal"}],"src":"25623:70:188"},"returnParameters":{"id":102038,"nodeType":"ParameterList","parameters":[],"src":"25703:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":102299,"nodeType":"FunctionDefinition","src":"26485:1179:188","nodes":[],"body":{"id":102298,"nodeType":"Block","src":"26904:760:188","nodes":[],"statements":[{"expression":{"id":102147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102140,"name":"attacker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102116,"src":"26910:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"id":102143,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"26939:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":102144,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26946:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":102141,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"26922:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102142,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26928:10:188","memberName":"getBytes32","nodeType":"MemberAccess","referencedDeclaration":7230,"src":"26922:16:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":102145,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26922:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":102146,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"26921:28:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"26910:39:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102148,"nodeType":"ExpressionStatement","src":"26910:39:188"},{"expression":{"id":102156,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102149,"name":"defender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102118,"src":"26956:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"id":102152,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"26985:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3332","id":102153,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26992:2:188","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"}],"expression":{"id":102150,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"26968:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26974:10:188","memberName":"getBytes32","nodeType":"MemberAccess","referencedDeclaration":7230,"src":"26968:16:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":102154,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26968:27:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":102155,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"26967:29:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"26956:40:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102157,"nodeType":"ExpressionStatement","src":"26956:40:188"},{"expression":{"id":102171,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102158,"name":"attackerDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102120,"src":"27003:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102165,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27058:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3634","id":102166,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27065:2:188","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"}],"expression":{"id":102163,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27042:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102164,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27048:9:188","memberName":"getBytes4","nodeType":"MemberAccess","referencedDeclaration":6558,"src":"27042:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$","typeString":"function (bytes memory,uint256) pure returns (bytes4)"}},"id":102167,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27042:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":102162,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27035:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":102161,"name":"uint32","nodeType":"ElementaryTypeName","src":"27035:6:188","typeDescriptions":{}}},"id":102168,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27035:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":102160,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27029:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":102159,"name":"int32","nodeType":"ElementaryTypeName","src":"27029:5:188","typeDescriptions":{}}},"id":102169,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27029:41:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":102170,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27028:43:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"src":"27003:68:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"id":102172,"nodeType":"ExpressionStatement","src":"27003:68:188"},{"expression":{"id":102186,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102173,"name":"defenderDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102122,"src":"27078:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102180,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27133:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3638","id":102181,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27140:2:188","typeDescriptions":{"typeIdentifier":"t_rational_68_by_1","typeString":"int_const 68"},"value":"68"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_68_by_1","typeString":"int_const 68"}],"expression":{"id":102178,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27117:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27123:9:188","memberName":"getBytes4","nodeType":"MemberAccess","referencedDeclaration":6558,"src":"27117:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$","typeString":"function (bytes memory,uint256) pure returns (bytes4)"}},"id":102182,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27117:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":102177,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27110:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":102176,"name":"uint32","nodeType":"ElementaryTypeName","src":"27110:6:188","typeDescriptions":{}}},"id":102183,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27110:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":102175,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27104:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":102174,"name":"int32","nodeType":"ElementaryTypeName","src":"27104:5:188","typeDescriptions":{}}},"id":102184,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27104:41:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":102185,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27103:43:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"src":"27078:68:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"id":102187,"nodeType":"ExpressionStatement","src":"27078:68:188"},{"expression":{"id":102201,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102188,"name":"attackerDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102124,"src":"27153:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102195,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27200:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3732","id":102196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27207:2:188","typeDescriptions":{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},"value":"72"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"}],"expression":{"id":102193,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27184:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102194,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27190:9:188","memberName":"getBytes4","nodeType":"MemberAccess","referencedDeclaration":6558,"src":"27184:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$","typeString":"function (bytes memory,uint256) pure returns (bytes4)"}},"id":102197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27184:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":102192,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27177:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":102191,"name":"uint32","nodeType":"ElementaryTypeName","src":"27177:6:188","typeDescriptions":{}}},"id":102198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27177:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":102190,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27171:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":102189,"name":"int32","nodeType":"ElementaryTypeName","src":"27171:5:188","typeDescriptions":{}}},"id":102199,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27171:41:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":102200,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27170:43:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"src":"27153:60:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"id":102202,"nodeType":"ExpressionStatement","src":"27153:60:188"},{"expression":{"id":102216,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102203,"name":"defenderDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102126,"src":"27220:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102210,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27267:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3736","id":102211,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27274:2:188","typeDescriptions":{"typeIdentifier":"t_rational_76_by_1","typeString":"int_const 76"},"value":"76"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_76_by_1","typeString":"int_const 76"}],"expression":{"id":102208,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27251:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102209,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27257:9:188","memberName":"getBytes4","nodeType":"MemberAccess","referencedDeclaration":6558,"src":"27251:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$","typeString":"function (bytes memory,uint256) pure returns (bytes4)"}},"id":102212,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27251:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"id":102207,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27244:6:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":102206,"name":"uint32","nodeType":"ElementaryTypeName","src":"27244:6:188","typeDescriptions":{}}},"id":102213,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27244:34:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":102205,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27238:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":102204,"name":"int32","nodeType":"ElementaryTypeName","src":"27238:5:188","typeDescriptions":{}}},"id":102214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27238:41:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}}],"id":102215,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27237:43:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"src":"27220:60:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"id":102217,"nodeType":"ExpressionStatement","src":"27220:60:188"},{"expression":{"id":102230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102218,"name":"ranged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102128,"src":"27287:6:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102224,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27327:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3830","id":102225,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27334:2:188","typeDescriptions":{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},"value":"80"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"}],"expression":{"id":102222,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27311:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27317:9:188","memberName":"getBytes1","nodeType":"MemberAccess","referencedDeclaration":6486,"src":"27311:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$","typeString":"function (bytes memory,uint256) pure returns (bytes1)"}},"id":102226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27311:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":102221,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27305:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":102220,"name":"uint8","nodeType":"ElementaryTypeName","src":"27305:5:188","typeDescriptions":{}}},"id":102227,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27305:33:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":102219,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"27297:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":102228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27297:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":102229,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27296:44:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"27287:53:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":102231,"nodeType":"ExpressionStatement","src":"27287:53:188"},{"expression":{"id":102244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102232,"name":"attackerDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102130,"src":"27347:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102238,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27393:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3831","id":102239,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27400:2:188","typeDescriptions":{"typeIdentifier":"t_rational_81_by_1","typeString":"int_const 81"},"value":"81"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_81_by_1","typeString":"int_const 81"}],"expression":{"id":102236,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27377:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27383:9:188","memberName":"getBytes1","nodeType":"MemberAccess","referencedDeclaration":6486,"src":"27377:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$","typeString":"function (bytes memory,uint256) pure returns (bytes1)"}},"id":102240,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27377:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":102235,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27371:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":102234,"name":"uint8","nodeType":"ElementaryTypeName","src":"27371:5:188","typeDescriptions":{}}},"id":102241,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27371:33:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":102233,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"27363:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":102242,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27363:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":102243,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27362:44:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"27347:59:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":102245,"nodeType":"ExpressionStatement","src":"27347:59:188"},{"expression":{"id":102258,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102246,"name":"defenderDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102132,"src":"27413:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102252,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27459:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3832","id":102253,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27466:2:188","typeDescriptions":{"typeIdentifier":"t_rational_82_by_1","typeString":"int_const 82"},"value":"82"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_82_by_1","typeString":"int_const 82"}],"expression":{"id":102250,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27443:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102251,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27449:9:188","memberName":"getBytes1","nodeType":"MemberAccess","referencedDeclaration":6486,"src":"27443:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$","typeString":"function (bytes memory,uint256) pure returns (bytes1)"}},"id":102254,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27443:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":102249,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27437:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":102248,"name":"uint8","nodeType":"ElementaryTypeName","src":"27437:5:188","typeDescriptions":{}}},"id":102255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27437:33:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":102247,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"27429:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":102256,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27429:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":102257,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27428:44:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"27413:59:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":102259,"nodeType":"ExpressionStatement","src":"27413:59:188"},{"expression":{"id":102272,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102260,"name":"defenderCaptured","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102134,"src":"27479:16:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"arguments":[{"id":102266,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27529:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3833","id":102267,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27536:2:188","typeDescriptions":{"typeIdentifier":"t_rational_83_by_1","typeString":"int_const 83"},"value":"83"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_83_by_1","typeString":"int_const 83"}],"expression":{"id":102264,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27513:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102265,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27519:9:188","memberName":"getBytes1","nodeType":"MemberAccess","referencedDeclaration":6486,"src":"27513:15:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$","typeString":"function (bytes memory,uint256) pure returns (bytes1)"}},"id":102268,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27513:26:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":102263,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27507:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":102262,"name":"uint8","nodeType":"ElementaryTypeName","src":"27507:5:188","typeDescriptions":{}}},"id":102269,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27507:33:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":102261,"name":"_toBool","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102584,"src":"27499:7:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint8_$returns$_t_bool_$","typeString":"function (uint8) pure returns (bool)"}},"id":102270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27499:42:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":102271,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27498:44:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"27479:63:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":102273,"nodeType":"ExpressionStatement","src":"27479:63:188"},{"expression":{"id":102284,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102274,"name":"blockNumber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102136,"src":"27549:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"id":102279,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27589:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"3834","id":102280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27596:2:188","typeDescriptions":{"typeIdentifier":"t_rational_84_by_1","typeString":"int_const 84"},"value":"84"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_84_by_1","typeString":"int_const 84"}],"expression":{"id":102277,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27572:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102278,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27578:10:188","memberName":"getBytes32","nodeType":"MemberAccess","referencedDeclaration":7230,"src":"27572:16:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":102281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27572:27:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":102276,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27564:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":102275,"name":"uint256","nodeType":"ElementaryTypeName","src":"27564:7:188","typeDescriptions":{}}},"id":102282,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27564:36:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":102283,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27563:38:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27549:52:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":102285,"nodeType":"ExpressionStatement","src":"27549:52:188"},{"expression":{"id":102296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":102286,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102138,"src":"27608:9:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"id":102291,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102113,"src":"27646:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"313136","id":102292,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27653:3:188","typeDescriptions":{"typeIdentifier":"t_rational_116_by_1","typeString":"int_const 116"},"value":"116"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_116_by_1","typeString":"int_const 116"}],"expression":{"id":102289,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"27629:5:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":102290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27635:10:188","memberName":"getBytes32","nodeType":"MemberAccess","referencedDeclaration":7230,"src":"27629:16:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":102293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27629:28:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":102288,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27621:7:188","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":102287,"name":"uint256","nodeType":"ElementaryTypeName","src":"27621:7:188","typeDescriptions":{}}},"id":102294,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27621:37:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":102295,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27620:39:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27608:51:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":102297,"nodeType":"ExpressionStatement","src":"27608:51:188"}]},"documentation":{"id":102111,"nodeType":"StructuredDocumentation","src":"26381:101:188","text":" @notice Decode the tightly packed blob of static data using this table's field layout."},"implemented":true,"kind":"function","modifiers":[],"name":"decodeStatic","nameLocation":"26494:12:188","parameters":{"id":102114,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102113,"mutability":"mutable","name":"_blob","nameLocation":"26525:5:188","nodeType":"VariableDeclaration","scope":102299,"src":"26512:18:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102112,"name":"bytes","nodeType":"ElementaryTypeName","src":"26512:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"26506:28:188"},"returnParameters":{"id":102139,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102116,"mutability":"mutable","name":"attacker","nameLocation":"26585:8:188","nodeType":"VariableDeclaration","scope":102299,"src":"26577:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102115,"name":"bytes32","nodeType":"ElementaryTypeName","src":"26577:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102118,"mutability":"mutable","name":"defender","nameLocation":"26609:8:188","nodeType":"VariableDeclaration","scope":102299,"src":"26601:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102117,"name":"bytes32","nodeType":"ElementaryTypeName","src":"26601:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102120,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"26631:22:188","nodeType":"VariableDeclaration","scope":102299,"src":"26625:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102119,"name":"int32","nodeType":"ElementaryTypeName","src":"26625:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102122,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"26667:22:188","nodeType":"VariableDeclaration","scope":102299,"src":"26661:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102121,"name":"int32","nodeType":"ElementaryTypeName","src":"26661:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102124,"mutability":"mutable","name":"attackerDamage","nameLocation":"26703:14:188","nodeType":"VariableDeclaration","scope":102299,"src":"26697:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102123,"name":"int32","nodeType":"ElementaryTypeName","src":"26697:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102126,"mutability":"mutable","name":"defenderDamage","nameLocation":"26731:14:188","nodeType":"VariableDeclaration","scope":102299,"src":"26725:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102125,"name":"int32","nodeType":"ElementaryTypeName","src":"26725:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102128,"mutability":"mutable","name":"ranged","nameLocation":"26758:6:188","nodeType":"VariableDeclaration","scope":102299,"src":"26753:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102127,"name":"bool","nodeType":"ElementaryTypeName","src":"26753:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102130,"mutability":"mutable","name":"attackerDied","nameLocation":"26777:12:188","nodeType":"VariableDeclaration","scope":102299,"src":"26772:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102129,"name":"bool","nodeType":"ElementaryTypeName","src":"26772:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102132,"mutability":"mutable","name":"defenderDied","nameLocation":"26802:12:188","nodeType":"VariableDeclaration","scope":102299,"src":"26797:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102131,"name":"bool","nodeType":"ElementaryTypeName","src":"26797:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102134,"mutability":"mutable","name":"defenderCaptured","nameLocation":"26827:16:188","nodeType":"VariableDeclaration","scope":102299,"src":"26822:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102133,"name":"bool","nodeType":"ElementaryTypeName","src":"26822:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102136,"mutability":"mutable","name":"blockNumber","nameLocation":"26859:11:188","nodeType":"VariableDeclaration","scope":102299,"src":"26851:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":102135,"name":"uint256","nodeType":"ElementaryTypeName","src":"26851:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":102138,"mutability":"mutable","name":"timestamp","nameLocation":"26886:9:188","nodeType":"VariableDeclaration","scope":102299,"src":"26878:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":102137,"name":"uint256","nodeType":"ElementaryTypeName","src":"26878:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26569:332:188"},"scope":102574,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":102345,"nodeType":"FunctionDefinition","src":"27822:523:188","nodes":[],"body":{"id":102344,"nodeType":"Block","src":"27966:379:188","nodes":[],"statements":[{"expression":{"id":102342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":102313,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"27980:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102315,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"27987:8:188","memberName":"attacker","nodeType":"MemberAccess","referencedDeclaration":99001,"src":"27980:15:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":102316,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28003:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102317,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28010:8:188","memberName":"defender","nodeType":"MemberAccess","referencedDeclaration":99003,"src":"28003:15:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":102318,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28026:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102319,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28033:22:188","memberName":"attackerDamageReceived","nodeType":"MemberAccess","referencedDeclaration":99005,"src":"28026:29:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102320,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28063:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102321,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28070:22:188","memberName":"defenderDamageReceived","nodeType":"MemberAccess","referencedDeclaration":99007,"src":"28063:29:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102322,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28100:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102323,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28107:14:188","memberName":"attackerDamage","nodeType":"MemberAccess","referencedDeclaration":99009,"src":"28100:21:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102324,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28129:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102325,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28136:14:188","memberName":"defenderDamage","nodeType":"MemberAccess","referencedDeclaration":99011,"src":"28129:21:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"expression":{"id":102326,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28158:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102327,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28165:6:188","memberName":"ranged","nodeType":"MemberAccess","referencedDeclaration":99013,"src":"28158:13:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102328,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28179:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102329,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28186:12:188","memberName":"attackerDied","nodeType":"MemberAccess","referencedDeclaration":99015,"src":"28179:19:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102330,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28206:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102331,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28213:12:188","memberName":"defenderDied","nodeType":"MemberAccess","referencedDeclaration":99017,"src":"28206:19:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102332,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28233:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102333,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28240:16:188","memberName":"defenderCaptured","nodeType":"MemberAccess","referencedDeclaration":99019,"src":"28233:23:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":102334,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28264:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102335,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28271:11:188","memberName":"blockNumber","nodeType":"MemberAccess","referencedDeclaration":99021,"src":"28264:18:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":102336,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102311,"src":"28290:6:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData memory"}},"id":102337,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28297:9:188","memberName":"timestamp","nodeType":"MemberAccess","referencedDeclaration":99023,"src":"28290:16:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":102338,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"27972:340:188","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$","typeString":"tuple(bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":102340,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102302,"src":"28328:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":102339,"name":"decodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102299,"src":"28315:12:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$","typeString":"function (bytes memory) pure returns (bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256)"}},"id":102341,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28315:25:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$","typeString":"tuple(bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256)"}},"src":"27972:368:188","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":102343,"nodeType":"ExpressionStatement","src":"27972:368:188"}]},"documentation":{"id":102300,"nodeType":"StructuredDocumentation","src":"27668:151:188","text":" @notice Decode the tightly packed blobs using this table's field layout.\n @param _staticData Tightly packed static fields."},"implemented":true,"kind":"function","modifiers":[],"name":"decode","nameLocation":"27831:6:188","parameters":{"id":102308,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102302,"mutability":"mutable","name":"_staticData","nameLocation":"27856:11:188","nodeType":"VariableDeclaration","scope":102345,"src":"27843:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102301,"name":"bytes","nodeType":"ElementaryTypeName","src":"27843:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":102305,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":102345,"src":"27873:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":102304,"nodeType":"UserDefinedTypeName","pathNode":{"id":102303,"name":"EncodedLengths","nameLocations":["27873:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"27873:14:188"},"referencedDeclaration":7251,"src":"27873:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":102307,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":102345,"src":"27893:12:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102306,"name":"bytes","nodeType":"ElementaryTypeName","src":"27893:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"27837:72:188"},"returnParameters":{"id":102312,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102311,"mutability":"mutable","name":"_table","nameLocation":"27958:6:188","nodeType":"VariableDeclaration","scope":102345,"src":"27933:31:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_memory_ptr","typeString":"struct CombatOutcomeData"},"typeName":{"id":102310,"nodeType":"UserDefinedTypeName","pathNode":{"id":102309,"name":"CombatOutcomeData","nameLocations":["27933:17:188"],"nodeType":"IdentifierPath","referencedDeclaration":99024,"src":"27933:17:188"},"referencedDeclaration":99024,"src":"27933:17:188","typeDescriptions":{"typeIdentifier":"t_struct$_CombatOutcomeData_$99024_storage_ptr","typeString":"struct CombatOutcomeData"}},"visibility":"internal"}],"src":"27932:33:188"},"scope":102574,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":102384,"nodeType":"FunctionDefinition","src":"28406:235:188","nodes":[],"body":{"id":102383,"nodeType":"Block","src":"28474:167:188","nodes":[],"statements":[{"assignments":[102357],"declarations":[{"constant":false,"id":102357,"mutability":"mutable","name":"_keyTuple","nameLocation":"28497:9:188","nodeType":"VariableDeclaration","scope":102383,"src":"28480:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":102355,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28480:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102356,"nodeType":"ArrayTypeName","src":"28480:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":102363,"initialValue":{"arguments":[{"hexValue":"32","id":102361,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28523:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":102360,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"28509:13:188","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":102358,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28513:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102359,"nodeType":"ArrayTypeName","src":"28513:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":102362,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28509:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"28480:45:188"},{"expression":{"id":102368,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102364,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102357,"src":"28531:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102366,"indexExpression":{"hexValue":"30","id":102365,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28541:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"28531:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102367,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102348,"src":"28546:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"28531:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102369,"nodeType":"ExpressionStatement","src":"28531:26:188"},{"expression":{"id":102374,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102370,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102357,"src":"28563:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102372,"indexExpression":{"hexValue":"31","id":102371,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28573:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"28563:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102373,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102350,"src":"28578:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"28563:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102375,"nodeType":"ExpressionStatement","src":"28563:21:188"},{"expression":{"arguments":[{"id":102379,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"28616:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":102380,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102357,"src":"28626:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}],"expression":{"id":102376,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"28591:11:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":102378,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"28603:12:188","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":14077,"src":"28591:24:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory)"}},"id":102381,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28591:45:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":102382,"nodeType":"ExpressionStatement","src":"28591:45:188"}]},"documentation":{"id":102346,"nodeType":"StructuredDocumentation","src":"28349:54:188","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"deleteRecord","nameLocation":"28415:12:188","parameters":{"id":102351,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102348,"mutability":"mutable","name":"matchEntity","nameLocation":"28436:11:188","nodeType":"VariableDeclaration","scope":102384,"src":"28428:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102347,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28428:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102350,"mutability":"mutable","name":"entity","nameLocation":"28457:6:188","nodeType":"VariableDeclaration","scope":102384,"src":"28449:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102349,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28449:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"28427:37:188"},"returnParameters":{"id":102352,"nodeType":"ParameterList","parameters":[],"src":"28474:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":102424,"nodeType":"FunctionDefinition","src":"28702:248:188","nodes":[],"body":{"id":102423,"nodeType":"Block","src":"28771:179:188","nodes":[],"statements":[{"assignments":[102396],"declarations":[{"constant":false,"id":102396,"mutability":"mutable","name":"_keyTuple","nameLocation":"28794:9:188","nodeType":"VariableDeclaration","scope":102423,"src":"28777:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":102394,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28777:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102395,"nodeType":"ArrayTypeName","src":"28777:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":102402,"initialValue":{"arguments":[{"hexValue":"32","id":102400,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28820:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":102399,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"28806:13:188","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":102397,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28810:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102398,"nodeType":"ArrayTypeName","src":"28810:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":102401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28806:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"28777:45:188"},{"expression":{"id":102407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102403,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102396,"src":"28828:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102405,"indexExpression":{"hexValue":"30","id":102404,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28838:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"28828:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102406,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102387,"src":"28843:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"28828:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102408,"nodeType":"ExpressionStatement","src":"28828:26:188"},{"expression":{"id":102413,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102409,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102396,"src":"28860:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102411,"indexExpression":{"hexValue":"31","id":102410,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28870:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"28860:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102412,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102389,"src":"28875:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"28860:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102414,"nodeType":"ExpressionStatement","src":"28860:21:188"},{"expression":{"arguments":[{"id":102418,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99031,"src":"28911:8:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":102419,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102396,"src":"28921:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":102420,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":99038,"src":"28932:12:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":102415,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"28888:9:188","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":102417,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"28898:12:188","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":12133,"src":"28888:22:188","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,FieldLayout)"}},"id":102421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28888:57:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":102422,"nodeType":"ExpressionStatement","src":"28888:57:188"}]},"documentation":{"id":102385,"nodeType":"StructuredDocumentation","src":"28645:54:188","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"_deleteRecord","nameLocation":"28711:13:188","parameters":{"id":102390,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102387,"mutability":"mutable","name":"matchEntity","nameLocation":"28733:11:188","nodeType":"VariableDeclaration","scope":102424,"src":"28725:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102386,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28725:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102389,"mutability":"mutable","name":"entity","nameLocation":"28754:6:188","nodeType":"VariableDeclaration","scope":102424,"src":"28746:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102388,"name":"bytes32","nodeType":"ElementaryTypeName","src":"28746:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"28724:37:188"},"returnParameters":{"id":102391,"nodeType":"ParameterList","parameters":[],"src":"28771:0:188"},"scope":102574,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":102471,"nodeType":"FunctionDefinition","src":"29110:687:188","nodes":[],"body":{"id":102470,"nodeType":"Block","src":"29475:322:188","nodes":[],"statements":[{"expression":{"arguments":[{"id":102456,"name":"attacker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102427,"src":"29520:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":102457,"name":"defender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102429,"src":"29538:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":102458,"name":"attackerDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102431,"src":"29556:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102459,"name":"defenderDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102433,"src":"29588:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102460,"name":"attackerDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102435,"src":"29620:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102461,"name":"defenderDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102437,"src":"29644:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102462,"name":"ranged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102439,"src":"29668:6:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102463,"name":"attackerDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102441,"src":"29684:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102464,"name":"defenderDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102443,"src":"29706:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102465,"name":"defenderCaptured","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102445,"src":"29728:16:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102466,"name":"blockNumber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102447,"src":"29754:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":102467,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102449,"src":"29775:9:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":102454,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"29494:3:188","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":102455,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"29498:12:188","memberName":"encodePacked","nodeType":"MemberAccess","src":"29494:16:188","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":102468,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29494:298:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":102453,"id":102469,"nodeType":"Return","src":"29481:311:188"}]},"documentation":{"id":102425,"nodeType":"StructuredDocumentation","src":"28954:153:188","text":" @notice Tightly pack static (fixed length) data using this table's schema.\n @return The static data, encoded into a sequence of bytes."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeStatic","nameLocation":"29119:12:188","parameters":{"id":102450,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102427,"mutability":"mutable","name":"attacker","nameLocation":"29145:8:188","nodeType":"VariableDeclaration","scope":102471,"src":"29137:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102426,"name":"bytes32","nodeType":"ElementaryTypeName","src":"29137:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102429,"mutability":"mutable","name":"defender","nameLocation":"29167:8:188","nodeType":"VariableDeclaration","scope":102471,"src":"29159:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102428,"name":"bytes32","nodeType":"ElementaryTypeName","src":"29159:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102431,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"29187:22:188","nodeType":"VariableDeclaration","scope":102471,"src":"29181:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102430,"name":"int32","nodeType":"ElementaryTypeName","src":"29181:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102433,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"29221:22:188","nodeType":"VariableDeclaration","scope":102471,"src":"29215:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102432,"name":"int32","nodeType":"ElementaryTypeName","src":"29215:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102435,"mutability":"mutable","name":"attackerDamage","nameLocation":"29255:14:188","nodeType":"VariableDeclaration","scope":102471,"src":"29249:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102434,"name":"int32","nodeType":"ElementaryTypeName","src":"29249:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102437,"mutability":"mutable","name":"defenderDamage","nameLocation":"29281:14:188","nodeType":"VariableDeclaration","scope":102471,"src":"29275:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102436,"name":"int32","nodeType":"ElementaryTypeName","src":"29275:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102439,"mutability":"mutable","name":"ranged","nameLocation":"29306:6:188","nodeType":"VariableDeclaration","scope":102471,"src":"29301:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102438,"name":"bool","nodeType":"ElementaryTypeName","src":"29301:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102441,"mutability":"mutable","name":"attackerDied","nameLocation":"29323:12:188","nodeType":"VariableDeclaration","scope":102471,"src":"29318:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102440,"name":"bool","nodeType":"ElementaryTypeName","src":"29318:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102443,"mutability":"mutable","name":"defenderDied","nameLocation":"29346:12:188","nodeType":"VariableDeclaration","scope":102471,"src":"29341:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102442,"name":"bool","nodeType":"ElementaryTypeName","src":"29341:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102445,"mutability":"mutable","name":"defenderCaptured","nameLocation":"29369:16:188","nodeType":"VariableDeclaration","scope":102471,"src":"29364:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102444,"name":"bool","nodeType":"ElementaryTypeName","src":"29364:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102447,"mutability":"mutable","name":"blockNumber","nameLocation":"29399:11:188","nodeType":"VariableDeclaration","scope":102471,"src":"29391:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":102446,"name":"uint256","nodeType":"ElementaryTypeName","src":"29391:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":102449,"mutability":"mutable","name":"timestamp","nameLocation":"29424:9:188","nodeType":"VariableDeclaration","scope":102471,"src":"29416:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":102448,"name":"uint256","nodeType":"ElementaryTypeName","src":"29416:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"29131:306:188"},"returnParameters":{"id":102453,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102452,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":102471,"src":"29461:12:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102451,"name":"bytes","nodeType":"ElementaryTypeName","src":"29461:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"29460:14:188"},"scope":102574,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":102536,"nodeType":"FunctionDefinition","src":"30106:821:188","nodes":[],"body":{"id":102535,"nodeType":"Block","src":"30495:432:188","nodes":[],"statements":[{"assignments":[102507],"declarations":[{"constant":false,"id":102507,"mutability":"mutable","name":"_staticData","nameLocation":"30514:11:188","nodeType":"VariableDeclaration","scope":102535,"src":"30501:24:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102506,"name":"bytes","nodeType":"ElementaryTypeName","src":"30501:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":102522,"initialValue":{"arguments":[{"id":102509,"name":"attacker","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102474,"src":"30548:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":102510,"name":"defender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102476,"src":"30564:8:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":102511,"name":"attackerDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102478,"src":"30580:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102512,"name":"defenderDamageReceived","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102480,"src":"30610:22:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102513,"name":"attackerDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102482,"src":"30640:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102514,"name":"defenderDamage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102484,"src":"30662:14:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},{"id":102515,"name":"ranged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102486,"src":"30684:6:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102516,"name":"attackerDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102488,"src":"30698:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102517,"name":"defenderDied","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102490,"src":"30718:12:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102518,"name":"defenderCaptured","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102492,"src":"30738:16:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":102519,"name":"blockNumber","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102494,"src":"30762:11:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":102520,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102496,"src":"30781:9:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_int32","typeString":"int32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":102508,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102471,"src":"30528:12:188","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_int32_$_t_int32_$_t_int32_$_t_int32_$_t_bool_$_t_bool_$_t_bool_$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes32,bytes32,int32,int32,int32,int32,bool,bool,bool,bool,uint256,uint256) pure returns (bytes memory)"}},"id":102521,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30528:268:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"30501:295:188"},{"assignments":[102525],"declarations":[{"constant":false,"id":102525,"mutability":"mutable","name":"_encodedLengths","nameLocation":"30818:15:188","nodeType":"VariableDeclaration","scope":102535,"src":"30803:30:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":102524,"nodeType":"UserDefinedTypeName","pathNode":{"id":102523,"name":"EncodedLengths","nameLocations":["30803:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"30803:14:188"},"referencedDeclaration":7251,"src":"30803:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":102526,"nodeType":"VariableDeclarationStatement","src":"30803:30:188"},{"assignments":[102528],"declarations":[{"constant":false,"id":102528,"mutability":"mutable","name":"_dynamicData","nameLocation":"30852:12:188","nodeType":"VariableDeclaration","scope":102535,"src":"30839:25:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102527,"name":"bytes","nodeType":"ElementaryTypeName","src":"30839:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":102529,"nodeType":"VariableDeclarationStatement","src":"30839:25:188"},{"expression":{"components":[{"id":102530,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102507,"src":"30879:11:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":102531,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102525,"src":"30892:15:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":102532,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102528,"src":"30909:12:188","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":102533,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"30878:44:188","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"functionReturnParameters":102505,"id":102534,"nodeType":"Return","src":"30871:51:188"}]},"documentation":{"id":102472,"nodeType":"StructuredDocumentation","src":"29801:302:188","text":" @notice Encode all of a record's fields.\n @return The static (fixed length) data, encoded into a sequence of bytes.\n @return The lengths of the dynamic fields (packed into a single bytes32 value).\n @return The dynamic (variable length) data, encoded into a sequence of bytes."},"implemented":true,"kind":"function","modifiers":[],"name":"encode","nameLocation":"30115:6:188","parameters":{"id":102497,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102474,"mutability":"mutable","name":"attacker","nameLocation":"30135:8:188","nodeType":"VariableDeclaration","scope":102536,"src":"30127:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102473,"name":"bytes32","nodeType":"ElementaryTypeName","src":"30127:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102476,"mutability":"mutable","name":"defender","nameLocation":"30157:8:188","nodeType":"VariableDeclaration","scope":102536,"src":"30149:16:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102475,"name":"bytes32","nodeType":"ElementaryTypeName","src":"30149:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102478,"mutability":"mutable","name":"attackerDamageReceived","nameLocation":"30177:22:188","nodeType":"VariableDeclaration","scope":102536,"src":"30171:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102477,"name":"int32","nodeType":"ElementaryTypeName","src":"30171:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102480,"mutability":"mutable","name":"defenderDamageReceived","nameLocation":"30211:22:188","nodeType":"VariableDeclaration","scope":102536,"src":"30205:28:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102479,"name":"int32","nodeType":"ElementaryTypeName","src":"30205:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102482,"mutability":"mutable","name":"attackerDamage","nameLocation":"30245:14:188","nodeType":"VariableDeclaration","scope":102536,"src":"30239:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102481,"name":"int32","nodeType":"ElementaryTypeName","src":"30239:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102484,"mutability":"mutable","name":"defenderDamage","nameLocation":"30271:14:188","nodeType":"VariableDeclaration","scope":102536,"src":"30265:20:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":102483,"name":"int32","nodeType":"ElementaryTypeName","src":"30265:5:188","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"},{"constant":false,"id":102486,"mutability":"mutable","name":"ranged","nameLocation":"30296:6:188","nodeType":"VariableDeclaration","scope":102536,"src":"30291:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102485,"name":"bool","nodeType":"ElementaryTypeName","src":"30291:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102488,"mutability":"mutable","name":"attackerDied","nameLocation":"30313:12:188","nodeType":"VariableDeclaration","scope":102536,"src":"30308:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102487,"name":"bool","nodeType":"ElementaryTypeName","src":"30308:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102490,"mutability":"mutable","name":"defenderDied","nameLocation":"30336:12:188","nodeType":"VariableDeclaration","scope":102536,"src":"30331:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102489,"name":"bool","nodeType":"ElementaryTypeName","src":"30331:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102492,"mutability":"mutable","name":"defenderCaptured","nameLocation":"30359:16:188","nodeType":"VariableDeclaration","scope":102536,"src":"30354:21:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102491,"name":"bool","nodeType":"ElementaryTypeName","src":"30354:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":102494,"mutability":"mutable","name":"blockNumber","nameLocation":"30389:11:188","nodeType":"VariableDeclaration","scope":102536,"src":"30381:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":102493,"name":"uint256","nodeType":"ElementaryTypeName","src":"30381:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":102496,"mutability":"mutable","name":"timestamp","nameLocation":"30414:9:188","nodeType":"VariableDeclaration","scope":102536,"src":"30406:17:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":102495,"name":"uint256","nodeType":"ElementaryTypeName","src":"30406:7:188","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30121:306:188"},"returnParameters":{"id":102505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102499,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":102536,"src":"30451:12:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102498,"name":"bytes","nodeType":"ElementaryTypeName","src":"30451:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":102502,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":102536,"src":"30465:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":102501,"nodeType":"UserDefinedTypeName","pathNode":{"id":102500,"name":"EncodedLengths","nameLocations":["30465:14:188"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"30465:14:188"},"referencedDeclaration":7251,"src":"30465:14:188","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":102504,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":102536,"src":"30481:12:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":102503,"name":"bytes","nodeType":"ElementaryTypeName","src":"30481:5:188","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"30450:44:188"},"scope":102574,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":102573,"nodeType":"FunctionDefinition","src":"31020:240:188","nodes":[],"body":{"id":102572,"nodeType":"Block","src":"31122:138:188","nodes":[],"statements":[{"assignments":[102551],"declarations":[{"constant":false,"id":102551,"mutability":"mutable","name":"_keyTuple","nameLocation":"31145:9:188","nodeType":"VariableDeclaration","scope":102572,"src":"31128:26:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":102549,"name":"bytes32","nodeType":"ElementaryTypeName","src":"31128:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102550,"nodeType":"ArrayTypeName","src":"31128:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":102557,"initialValue":{"arguments":[{"hexValue":"32","id":102555,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31171:1:188","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":102554,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"31157:13:188","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":102552,"name":"bytes32","nodeType":"ElementaryTypeName","src":"31161:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102553,"nodeType":"ArrayTypeName","src":"31161:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":102556,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31157:16:188","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"31128:45:188"},{"expression":{"id":102562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102558,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102551,"src":"31179:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102560,"indexExpression":{"hexValue":"30","id":102559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31189:1:188","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"31179:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102561,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102539,"src":"31194:11:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"31179:26:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102563,"nodeType":"ExpressionStatement","src":"31179:26:188"},{"expression":{"id":102568,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":102564,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102551,"src":"31211:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":102566,"indexExpression":{"hexValue":"31","id":102565,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31221:1:188","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"31211:12:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":102567,"name":"entity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102541,"src":"31226:6:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"31211:21:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102569,"nodeType":"ExpressionStatement","src":"31211:21:188"},{"expression":{"id":102570,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":102551,"src":"31246:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"functionReturnParameters":102546,"id":102571,"nodeType":"Return","src":"31239:16:188"}]},"documentation":{"id":102537,"nodeType":"StructuredDocumentation","src":"30931:86:188","text":" @notice Encode keys as a bytes32 array using this table's field layout."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeKeyTuple","nameLocation":"31029:14:188","parameters":{"id":102542,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102539,"mutability":"mutable","name":"matchEntity","nameLocation":"31052:11:188","nodeType":"VariableDeclaration","scope":102573,"src":"31044:19:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102538,"name":"bytes32","nodeType":"ElementaryTypeName","src":"31044:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":102541,"mutability":"mutable","name":"entity","nameLocation":"31073:6:188","nodeType":"VariableDeclaration","scope":102573,"src":"31065:14:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":102540,"name":"bytes32","nodeType":"ElementaryTypeName","src":"31065:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"31043:37:188"},"returnParameters":{"id":102546,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102545,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":102573,"src":"31104:16:188","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":102543,"name":"bytes32","nodeType":"ElementaryTypeName","src":"31104:7:188","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":102544,"nodeType":"ArrayTypeName","src":"31104:9:188","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"31103:18:188"},"scope":102574,"stateMutability":"pure","virtual":false,"visibility":"internal"}],"abstract":false,"baseContracts":[],"canonicalName":"CombatOutcome","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"linearizedBaseContracts":[102574],"name":"CombatOutcome","nameLocation":"1189:13:188","scope":102585,"usedErrors":[],"usedEvents":[]},{"id":102584,"nodeType":"FunctionDefinition","src":"31514:97:188","nodes":[],"body":{"id":102583,"nodeType":"Block","src":"31571:40:188","nodes":[],"statements":[{"AST":{"nativeSrc":"31584:25:188","nodeType":"YulBlock","src":"31584:25:188","statements":[{"nativeSrc":"31590:15:188","nodeType":"YulAssignment","src":"31590:15:188","value":{"name":"value","nativeSrc":"31600:5:188","nodeType":"YulIdentifier","src":"31600:5:188"},"variableNames":[{"name":"result","nativeSrc":"31590:6:188","nodeType":"YulIdentifier","src":"31590:6:188"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":102580,"isOffset":false,"isSlot":false,"src":"31590:6:188","valueSize":1},{"declaration":102577,"isOffset":false,"isSlot":false,"src":"31600:5:188","valueSize":1}],"id":102582,"nodeType":"InlineAssembly","src":"31575:34:188"}]},"documentation":{"id":102575,"nodeType":"StructuredDocumentation","src":"31264:249:188","text":" @notice Cast a value to a bool.\n @dev Boolean values are encoded as uint8 (1 = true, 0 = false), but Solidity doesn't allow casting between uint8 and bool.\n @param value The uint8 value to convert.\n @return result The boolean value."},"implemented":true,"kind":"freeFunction","modifiers":[],"name":"_toBool","nameLocation":"31523:7:188","parameters":{"id":102578,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102577,"mutability":"mutable","name":"value","nameLocation":"31537:5:188","nodeType":"VariableDeclaration","scope":102584,"src":"31531:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":102576,"name":"uint8","nodeType":"ElementaryTypeName","src":"31531:5:188","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"31530:13:188"},"returnParameters":{"id":102581,"nodeType":"ParameterList","parameters":[{"constant":false,"id":102580,"mutability":"mutable","name":"result","nameLocation":"31563:6:188","nodeType":"VariableDeclaration","scope":102584,"src":"31558:11:188","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":102579,"name":"bool","nodeType":"ElementaryTypeName","src":"31558:4:188","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"31557:13:188"},"scope":102585,"stateMutability":"pure","virtual":false,"visibility":"internal"}],"license":"MIT"},"id":188}