{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220655ae6489fea628b8acb85febb2519104c1b01edeb6446c54a927007872c458d64736f6c63430008180033","sourceMap":"873:14775:220:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;873:14775:220;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220655ae6489fea628b8acb85febb2519104c1b01edeb6446c54a927007872c458d64736f6c63430008180033","sourceMap":"873:14775:220:-: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/MatchRewardPercentages.sol\":\"MatchRewardPercentages\"},\"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/MatchRewardPercentages.sol\":{\"keccak256\":\"0x23e7f2766800ac019a1bcdf72a02f031c3b134dd0adc4b0987d16480cedafedb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c20400c50d17afba333659761d0dd2e76bba5a769e51a771b6838955ef89db9\",\"dweb:/ipfs/Qmdcqs7NHBWzFTkSchmsLggxZvFFfav7hWv3VJxmKXpUUw\"]}},\"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/MatchRewardPercentages.sol":"MatchRewardPercentages"},"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/MatchRewardPercentages.sol":{"keccak256":"0x23e7f2766800ac019a1bcdf72a02f031c3b134dd0adc4b0987d16480cedafedb","urls":["bzz-raw://7c20400c50d17afba333659761d0dd2e76bba5a769e51a771b6838955ef89db9","dweb:/ipfs/Qmdcqs7NHBWzFTkSchmsLggxZvFFfav7hWv3VJxmKXpUUw"],"license":"MIT"}},"version":1},"ast":{"absolutePath":"src/codegen/tables/MatchRewardPercentages.sol","id":136770,"exportedSymbols":{"Bytes":[7243],"EncodeArray":[26427],"EncodedLengths":[7251],"EncodedLengthsLib":[7669],"FieldLayout":[7885],"IStore":[8658],"MatchRewardPercentages":[136769],"Memory":[9482],"ResourceId":[9486],"Schema":[9581],"SliceLib":[10192],"StoreCore":[12701],"StoreSwitch":[14558]},"nodeType":"SourceUnit","src":"32:15617:220","nodes":[{"id":135034,"nodeType":"PragmaDirective","src":"32:25:220","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":135036,"nodeType":"ImportDirective","src":"134:58:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/IStore.sol","file":"@latticexyz/store/src/IStore.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":8659,"symbolAliases":[{"foreign":{"id":135035,"name":"IStore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8658,"src":"143:6:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135038,"nodeType":"ImportDirective","src":"193:68:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreSwitch.sol","file":"@latticexyz/store/src/StoreSwitch.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":14559,"symbolAliases":[{"foreign":{"id":135037,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"202:11:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135040,"nodeType":"ImportDirective","src":"262:64:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreCore.sol","file":"@latticexyz/store/src/StoreCore.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":13234,"symbolAliases":[{"foreign":{"id":135039,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"271:9:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135042,"nodeType":"ImportDirective","src":"327:56:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Bytes.sol","file":"@latticexyz/store/src/Bytes.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":7244,"symbolAliases":[{"foreign":{"id":135041,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"336:5:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135044,"nodeType":"ImportDirective","src":"384:58:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Memory.sol","file":"@latticexyz/store/src/Memory.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":9483,"symbolAliases":[{"foreign":{"id":135043,"name":"Memory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9482,"src":"393:6:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135046,"nodeType":"ImportDirective","src":"443:59:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Slice.sol","file":"@latticexyz/store/src/Slice.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":10290,"symbolAliases":[{"foreign":{"id":135045,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"452:8:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135048,"nodeType":"ImportDirective","src":"503:79:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol","file":"@latticexyz/store/src/tightcoder/EncodeArray.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":26428,"symbolAliases":[{"foreign":{"id":135047,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"512:11:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135050,"nodeType":"ImportDirective","src":"583:68:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/FieldLayout.sol","file":"@latticexyz/store/src/FieldLayout.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":8362,"symbolAliases":[{"foreign":{"id":135049,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"592:11:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135052,"nodeType":"ImportDirective","src":"652:58:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Schema.sol","file":"@latticexyz/store/src/Schema.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":10058,"symbolAliases":[{"foreign":{"id":135051,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"661:6:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135055,"nodeType":"ImportDirective","src":"711:93:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":135053,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"720:14:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":135054,"name":"EncodedLengthsLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"736:17:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":135057,"nodeType":"ImportDirective","src":"805:66:220","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":136770,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":135056,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"814:10:220","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":136769,"nodeType":"ContractDefinition","src":"873:14775:220","nodes":[{"id":135064,"nodeType":"VariableDeclaration","src":"1038:114:220","nodes":[],"constant":true,"mutability":"constant","name":"_tableId","nameLocation":"1058:8:220","scope":136769,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":135059,"nodeType":"UserDefinedTypeName","pathNode":{"id":135058,"name":"ResourceId","nameLocations":["1038:10:220"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"1038:10:220"},"referencedDeclaration":9486,"src":"1038:10:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"value":{"arguments":[{"hexValue":"307837343632303030303030303030303030303030303030303030303030303030303464363137343633363835323635373736313732363435303635373236333635","id":135062,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1085:66:220","typeDescriptions":{"typeIdentifier":"t_rational_52641441448007182715604765737134514260666911792618295803374461749150627292005_by_1","typeString":"int_const 5264...(69 digits omitted)...2005"},"value":"0x746200000000000000000000000000004d617463685265776172645065726365"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_52641441448007182715604765737134514260666911792618295803374461749150627292005_by_1","typeString":"int_const 5264...(69 digits omitted)...2005"}],"expression":{"id":135060,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1069:10:220","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":135061,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1080:4:220","memberName":"wrap","nodeType":"MemberAccess","src":"1069:15:220","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"function (bytes32) pure returns (ResourceId)"}},"id":135063,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1069:83:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"id":135071,"nodeType":"VariableDeclaration","src":"1157:124:220","nodes":[],"constant":true,"mutability":"constant","name":"_fieldLayout","nameLocation":"1178:12:220","scope":136769,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"},"typeName":{"id":135066,"nodeType":"UserDefinedTypeName","pathNode":{"id":135065,"name":"FieldLayout","nameLocations":["1157:11:220"],"nodeType":"IdentifierPath","referencedDeclaration":7885,"src":"1157:11:220"},"referencedDeclaration":7885,"src":"1157:11:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"value":{"arguments":[{"hexValue":"307830303030303030313030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":135069,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1214:66:220","typeDescriptions":{"typeIdentifier":"t_rational_26959946667150639794667015087019630673637144422540572481103610249216_by_1","typeString":"int_const 2695...(60 digits omitted)...9216"},"value":"0x0000000100000000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_26959946667150639794667015087019630673637144422540572481103610249216_by_1","typeString":"int_const 2695...(60 digits omitted)...9216"}],"expression":{"id":135067,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"1197:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"type(FieldLayout)"}},"id":135068,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1209:4:220","memberName":"wrap","nodeType":"MemberAccess","src":"1197:16:220","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"function (bytes32) pure returns (FieldLayout)"}},"id":135070,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1197:84:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"visibility":"internal"},{"id":135078,"nodeType":"VariableDeclaration","src":"1327:108:220","nodes":[],"constant":true,"mutability":"constant","name":"_keySchema","nameLocation":"1343:10:220","scope":136769,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":135073,"nodeType":"UserDefinedTypeName","pathNode":{"id":135072,"name":"Schema","nameLocations":["1327:6:220"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1327:6:220"},"referencedDeclaration":9581,"src":"1327:6:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303230303130303166303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":135076,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1368:66:220","typeDescriptions":{"typeIdentifier":"t_rational_56546011083936130835725742415094527725715337694739934463469009849227935744_by_1","typeString":"int_const 5654...(66 digits omitted)...5744"},"value":"0x002001001f000000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56546011083936130835725742415094527725715337694739934463469009849227935744_by_1","typeString":"int_const 5654...(66 digits omitted)...5744"}],"expression":{"id":135074,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1356:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":135075,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1363:4:220","memberName":"wrap","nodeType":"MemberAccess","src":"1356:11:220","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":135077,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1356:79:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":135085,"nodeType":"VariableDeclaration","src":"1484:110:220","nodes":[],"constant":true,"mutability":"constant","name":"_valueSchema","nameLocation":"1500:12:220","scope":136769,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":135080,"nodeType":"UserDefinedTypeName","pathNode":{"id":135079,"name":"Schema","nameLocations":["1484:6:220"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1484:6:220"},"referencedDeclaration":9581,"src":"1484:6:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303030303030313831303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":135083,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1527:66:220","typeDescriptions":{"typeIdentifier":"t_rational_40545232292394516878698440658213116442774611729211407832909726351360_by_1","typeString":"int_const 4054...(60 digits omitted)...1360"},"value":"0x0000000181000000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_40545232292394516878698440658213116442774611729211407832909726351360_by_1","typeString":"int_const 4054...(60 digits omitted)...1360"}],"expression":{"id":135081,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1515:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":135082,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1522:4:220","memberName":"wrap","nodeType":"MemberAccess","src":"1515:11:220","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":135084,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1515:79:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":135107,"nodeType":"FunctionDefinition","src":"1729:141:220","nodes":[],"body":{"id":135106,"nodeType":"Block","src":"1801:69:220","nodes":[],"statements":[{"expression":{"id":135098,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":135092,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135090,"src":"1807:8:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"31","id":135096,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1831:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135095,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"1818:12:220","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":135093,"name":"string","nodeType":"ElementaryTypeName","src":"1822:6:220","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":135094,"nodeType":"ArrayTypeName","src":"1822:8:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":135097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1818:15:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"1807:26:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":135099,"nodeType":"ExpressionStatement","src":"1807:26:220"},{"expression":{"id":135104,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135100,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135090,"src":"1839:8:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":135102,"indexExpression":{"hexValue":"30","id":135101,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1848:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1839:11:220","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"6e756d506c6179657273","id":135103,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1853:12:220","typeDescriptions":{"typeIdentifier":"t_stringliteral_878fd7c9ab3b6d4c5d58d4cfeb499982146617ebd0cda8b1c32fd892b776dfbe","typeString":"literal_string \"numPlayers\""},"value":"numPlayers"},"src":"1839:26:220","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":135105,"nodeType":"ExpressionStatement","src":"1839:26:220"}]},"documentation":{"id":135086,"nodeType":"StructuredDocumentation","src":"1599:127:220","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":"1738:11:220","parameters":{"id":135087,"nodeType":"ParameterList","parameters":[],"src":"1749:2:220"},"returnParameters":{"id":135091,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135090,"mutability":"mutable","name":"keyNames","nameLocation":"1791:8:220","nodeType":"VariableDeclaration","scope":135107,"src":"1775:24:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":135088,"name":"string","nodeType":"ElementaryTypeName","src":"1775:6:220","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":135089,"nodeType":"ArrayTypeName","src":"1775:8:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"1774:26:220"},"scope":136769,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":135129,"nodeType":"FunctionDefinition","src":"2010:150:220","nodes":[],"body":{"id":135128,"nodeType":"Block","src":"2086:74:220","nodes":[],"statements":[{"expression":{"id":135120,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":135114,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135112,"src":"2092:10:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"31","id":135118,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2118:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135117,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2105:12:220","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":135115,"name":"string","nodeType":"ElementaryTypeName","src":"2109:6:220","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":135116,"nodeType":"ArrayTypeName","src":"2109:8:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":135119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2105:15:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"2092:28:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":135121,"nodeType":"ExpressionStatement","src":"2092:28:220"},{"expression":{"id":135126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135122,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135112,"src":"2126:10:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":135124,"indexExpression":{"hexValue":"30","id":135123,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2137:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2126:13:220","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"70657263656e7461676573","id":135125,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2142:13:220","typeDescriptions":{"typeIdentifier":"t_stringliteral_e12746188d7c4057f68610a990474f07dcb075fe2bce86966db867b1baf41e7a","typeString":"literal_string \"percentages\""},"value":"percentages"},"src":"2126:29:220","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":135127,"nodeType":"ExpressionStatement","src":"2126:29:220"}]},"documentation":{"id":135108,"nodeType":"StructuredDocumentation","src":"1874:133:220","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":"2019:13:220","parameters":{"id":135109,"nodeType":"ParameterList","parameters":[],"src":"2032:2:220"},"returnParameters":{"id":135113,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135112,"mutability":"mutable","name":"fieldNames","nameLocation":"2074:10:220","nodeType":"VariableDeclaration","scope":135129,"src":"2058:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":135110,"name":"string","nodeType":"ElementaryTypeName","src":"2058:6:220","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":135111,"nodeType":"ArrayTypeName","src":"2058:8:220","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"2057:28:220"},"scope":136769,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":135147,"nodeType":"FunctionDefinition","src":"2225:147:220","nodes":[],"body":{"id":135146,"nodeType":"Block","src":"2254:118:220","nodes":[],"statements":[{"expression":{"arguments":[{"id":135136,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"2286:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135137,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135071,"src":"2296:12:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":135138,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135078,"src":"2310:10:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":135139,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135085,"src":"2322:12:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":135140,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135107,"src":"2336:11:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":135141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2336:13:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":135142,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135129,"src":"2351:13:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":135143,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2351:15:220","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":135133,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"2260:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135135,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2272:13:220","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":13582,"src":"2260:25:220","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":135144,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2260:107:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":135145,"nodeType":"ExpressionStatement","src":"2260:107:220"}]},"documentation":{"id":135130,"nodeType":"StructuredDocumentation","src":"2164:58:220","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"register","nameLocation":"2234:8:220","parameters":{"id":135131,"nodeType":"ParameterList","parameters":[],"src":"2242:2:220"},"returnParameters":{"id":135132,"nodeType":"ParameterList","parameters":[],"src":"2254:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":135165,"nodeType":"FunctionDefinition","src":"2437:146:220","nodes":[],"body":{"id":135164,"nodeType":"Block","src":"2467:116:220","nodes":[],"statements":[{"expression":{"arguments":[{"id":135154,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"2497:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135155,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135071,"src":"2507:12:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":135156,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135078,"src":"2521:10:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":135157,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135085,"src":"2533:12:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":135158,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135107,"src":"2547:11:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":135159,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2547:13:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":135160,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135129,"src":"2562:13:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":135161,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2562:15:220","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":135151,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"2473:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2483:13:220","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":11243,"src":"2473:23:220","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":135162,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2473:105:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":135163,"nodeType":"ExpressionStatement","src":"2473:105:220"}]},"documentation":{"id":135148,"nodeType":"StructuredDocumentation","src":"2376:58:220","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"_register","nameLocation":"2446:9:220","parameters":{"id":135149,"nodeType":"ParameterList","parameters":[],"src":"2455:2:220"},"returnParameters":{"id":135150,"nodeType":"ParameterList","parameters":[],"src":"2467:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":135218,"nodeType":"FunctionDefinition","src":"2629:362:220","nodes":[],"body":{"id":135217,"nodeType":"Block","src":"2726:265:220","nodes":[],"statements":[{"assignments":[135178],"declarations":[{"constant":false,"id":135178,"mutability":"mutable","name":"_keyTuple","nameLocation":"2749:9:220","nodeType":"VariableDeclaration","scope":135217,"src":"2732:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135176,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2732:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135177,"nodeType":"ArrayTypeName","src":"2732:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135184,"initialValue":{"arguments":[{"hexValue":"31","id":135182,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2775:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135181,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2761:13:220","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":135179,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2765:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135180,"nodeType":"ArrayTypeName","src":"2765:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135183,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2761:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"2732:45:220"},{"expression":{"id":135195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135185,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135178,"src":"2783:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135187,"indexExpression":{"hexValue":"30","id":135186,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2793:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2783:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135192,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135168,"src":"2814:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135191,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2806:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135190,"name":"uint256","nodeType":"ElementaryTypeName","src":"2806:7:220","typeDescriptions":{}}},"id":135193,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2806:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135189,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2798:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135188,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2798:7:220","typeDescriptions":{}}},"id":135194,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2798:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2783:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135196,"nodeType":"ExpressionStatement","src":"2783:43:220"},{"assignments":[135198],"declarations":[{"constant":false,"id":135198,"mutability":"mutable","name":"_blob","nameLocation":"2846:5:220","nodeType":"VariableDeclaration","scope":135217,"src":"2833:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135197,"name":"bytes","nodeType":"ElementaryTypeName","src":"2833:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135205,"initialValue":{"arguments":[{"id":135201,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"2882:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135202,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135178,"src":"2892:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135203,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2903:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135199,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"2854:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135200,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2866:15:220","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":14364,"src":"2854:27:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (bytes memory)"}},"id":135204,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2854:51:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"2833:72:220"},{"expression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":135208,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135198,"src":"2940:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":135209,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2947:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"id":135210,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135198,"src":"2950:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":135211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2956:6:220","memberName":"length","nodeType":"MemberAccess","src":"2950:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135206,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"2919:8:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":135207,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2928:11:220","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"2919:20:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (bytes memory,uint256,uint256) pure returns (Slice)"}},"id":135212,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2919:44:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":135213,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2964:19:220","memberName":"decodeArray_uint256","nodeType":"MemberAccess","referencedDeclaration":22484,"src":"2919:64:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slice_$10067_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$attached_to$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (Slice) pure returns (uint256[] memory)"}},"id":135214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2919:66:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135215,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2918:68:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":135173,"id":135216,"nodeType":"Return","src":"2911:75:220"}]},"documentation":{"id":135166,"nodeType":"StructuredDocumentation","src":"2587:39:220","text":" @notice Get percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"getPercentages","nameLocation":"2638:14:220","parameters":{"id":135169,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135168,"mutability":"mutable","name":"numPlayers","nameLocation":"2661:10:220","nodeType":"VariableDeclaration","scope":135218,"src":"2653:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135167,"name":"uint256","nodeType":"ElementaryTypeName","src":"2653:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2652:20:220"},"returnParameters":{"id":135173,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135172,"mutability":"mutable","name":"percentages","nameLocation":"2713:11:220","nodeType":"VariableDeclaration","scope":135218,"src":"2696:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135170,"name":"uint256","nodeType":"ElementaryTypeName","src":"2696:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135171,"nodeType":"ArrayTypeName","src":"2696:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"2695:30:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135271,"nodeType":"FunctionDefinition","src":"3037:361:220","nodes":[],"body":{"id":135270,"nodeType":"Block","src":"3135:263:220","nodes":[],"statements":[{"assignments":[135231],"declarations":[{"constant":false,"id":135231,"mutability":"mutable","name":"_keyTuple","nameLocation":"3158:9:220","nodeType":"VariableDeclaration","scope":135270,"src":"3141:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135229,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3141:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135230,"nodeType":"ArrayTypeName","src":"3141:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135237,"initialValue":{"arguments":[{"hexValue":"31","id":135235,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3184:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135234,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3170:13:220","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":135232,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3174:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135233,"nodeType":"ArrayTypeName","src":"3174:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135236,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3170:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3141:45:220"},{"expression":{"id":135248,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135238,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135231,"src":"3192:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135240,"indexExpression":{"hexValue":"30","id":135239,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3202:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3192:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135245,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135221,"src":"3223:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135244,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3215:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135243,"name":"uint256","nodeType":"ElementaryTypeName","src":"3215:7:220","typeDescriptions":{}}},"id":135246,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3215:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135242,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3207:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135241,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3207:7:220","typeDescriptions":{}}},"id":135247,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3207:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3192:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135249,"nodeType":"ExpressionStatement","src":"3192:43:220"},{"assignments":[135251],"declarations":[{"constant":false,"id":135251,"mutability":"mutable","name":"_blob","nameLocation":"3255:5:220","nodeType":"VariableDeclaration","scope":135270,"src":"3242:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135250,"name":"bytes","nodeType":"ElementaryTypeName","src":"3242:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135258,"initialValue":{"arguments":[{"id":135254,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"3289:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135255,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135231,"src":"3299:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3310:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135252,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"3263:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3273:15:220","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":12517,"src":"3263:25:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (bytes memory)"}},"id":135257,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3263:49:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"3242:70:220"},{"expression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":135261,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135251,"src":"3347:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":135262,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3354:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"id":135263,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135251,"src":"3357:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":135264,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3363:6:220","memberName":"length","nodeType":"MemberAccess","src":"3357:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135259,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"3326:8:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":135260,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3335:11:220","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"3326:20:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (bytes memory,uint256,uint256) pure returns (Slice)"}},"id":135265,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3326:44:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":135266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3371:19:220","memberName":"decodeArray_uint256","nodeType":"MemberAccess","referencedDeclaration":22484,"src":"3326:64:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slice_$10067_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$attached_to$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (Slice) pure returns (uint256[] memory)"}},"id":135267,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3326:66:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135268,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3325:68:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":135226,"id":135269,"nodeType":"Return","src":"3318:75:220"}]},"documentation":{"id":135219,"nodeType":"StructuredDocumentation","src":"2995:39:220","text":" @notice Get percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_getPercentages","nameLocation":"3046:15:220","parameters":{"id":135222,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135221,"mutability":"mutable","name":"numPlayers","nameLocation":"3070:10:220","nodeType":"VariableDeclaration","scope":135271,"src":"3062:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135220,"name":"uint256","nodeType":"ElementaryTypeName","src":"3062:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3061:20:220"},"returnParameters":{"id":135226,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135225,"mutability":"mutable","name":"percentages","nameLocation":"3122:11:220","nodeType":"VariableDeclaration","scope":135271,"src":"3105:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135223,"name":"uint256","nodeType":"ElementaryTypeName","src":"3105:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135224,"nodeType":"ArrayTypeName","src":"3105:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"3104:30:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135324,"nodeType":"FunctionDefinition","src":"3444:351:220","nodes":[],"body":{"id":135323,"nodeType":"Block","src":"3530:265:220","nodes":[],"statements":[{"assignments":[135284],"declarations":[{"constant":false,"id":135284,"mutability":"mutable","name":"_keyTuple","nameLocation":"3553:9:220","nodeType":"VariableDeclaration","scope":135323,"src":"3536:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135282,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3536:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135283,"nodeType":"ArrayTypeName","src":"3536:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135290,"initialValue":{"arguments":[{"hexValue":"31","id":135288,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3579:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135287,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3565:13:220","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":135285,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3569:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135286,"nodeType":"ArrayTypeName","src":"3569:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135289,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3565:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3536:45:220"},{"expression":{"id":135301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135291,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135284,"src":"3587:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135293,"indexExpression":{"hexValue":"30","id":135292,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3597:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3587:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135298,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135274,"src":"3618:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135297,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3610:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135296,"name":"uint256","nodeType":"ElementaryTypeName","src":"3610:7:220","typeDescriptions":{}}},"id":135299,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3610:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135295,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3602:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135294,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3602:7:220","typeDescriptions":{}}},"id":135300,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3602:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3587:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135302,"nodeType":"ExpressionStatement","src":"3587:43:220"},{"assignments":[135304],"declarations":[{"constant":false,"id":135304,"mutability":"mutable","name":"_blob","nameLocation":"3650:5:220","nodeType":"VariableDeclaration","scope":135323,"src":"3637:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135303,"name":"bytes","nodeType":"ElementaryTypeName","src":"3637:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135311,"initialValue":{"arguments":[{"id":135307,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"3686:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135308,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135284,"src":"3696:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135309,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3707:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135305,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"3658:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135306,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3670:15:220","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":14364,"src":"3658:27:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (bytes memory)"}},"id":135310,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3658:51:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"3637:72:220"},{"expression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":135314,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135304,"src":"3744:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":135315,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3751:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"id":135316,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135304,"src":"3754:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":135317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3760:6:220","memberName":"length","nodeType":"MemberAccess","src":"3754:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135312,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"3723:8:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":135313,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3732:11:220","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"3723:20:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (bytes memory,uint256,uint256) pure returns (Slice)"}},"id":135318,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3723:44:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":135319,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3768:19:220","memberName":"decodeArray_uint256","nodeType":"MemberAccess","referencedDeclaration":22484,"src":"3723:64:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slice_$10067_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$attached_to$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (Slice) pure returns (uint256[] memory)"}},"id":135320,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3723:66:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135321,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3722:68:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":135279,"id":135322,"nodeType":"Return","src":"3715:75:220"}]},"documentation":{"id":135272,"nodeType":"StructuredDocumentation","src":"3402:39:220","text":" @notice Get percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"3453:3:220","parameters":{"id":135275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135274,"mutability":"mutable","name":"numPlayers","nameLocation":"3465:10:220","nodeType":"VariableDeclaration","scope":135324,"src":"3457:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135273,"name":"uint256","nodeType":"ElementaryTypeName","src":"3457:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3456:20:220"},"returnParameters":{"id":135279,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135278,"mutability":"mutable","name":"percentages","nameLocation":"3517:11:220","nodeType":"VariableDeclaration","scope":135324,"src":"3500:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135276,"name":"uint256","nodeType":"ElementaryTypeName","src":"3500:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135277,"nodeType":"ArrayTypeName","src":"3500:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"3499:30:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135377,"nodeType":"FunctionDefinition","src":"3841:350:220","nodes":[],"body":{"id":135376,"nodeType":"Block","src":"3928:263:220","nodes":[],"statements":[{"assignments":[135337],"declarations":[{"constant":false,"id":135337,"mutability":"mutable","name":"_keyTuple","nameLocation":"3951:9:220","nodeType":"VariableDeclaration","scope":135376,"src":"3934:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135335,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3934:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135336,"nodeType":"ArrayTypeName","src":"3934:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135343,"initialValue":{"arguments":[{"hexValue":"31","id":135341,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3977:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135340,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3963:13:220","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":135338,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3967:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135339,"nodeType":"ArrayTypeName","src":"3967:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135342,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3963:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3934:45:220"},{"expression":{"id":135354,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135344,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135337,"src":"3985:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135346,"indexExpression":{"hexValue":"30","id":135345,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3995:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3985:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135351,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135327,"src":"4016:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135350,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4008:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135349,"name":"uint256","nodeType":"ElementaryTypeName","src":"4008:7:220","typeDescriptions":{}}},"id":135352,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4008:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135348,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4000:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135347,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4000:7:220","typeDescriptions":{}}},"id":135353,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4000:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3985:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135355,"nodeType":"ExpressionStatement","src":"3985:43:220"},{"assignments":[135357],"declarations":[{"constant":false,"id":135357,"mutability":"mutable","name":"_blob","nameLocation":"4048:5:220","nodeType":"VariableDeclaration","scope":135376,"src":"4035:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135356,"name":"bytes","nodeType":"ElementaryTypeName","src":"4035:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135364,"initialValue":{"arguments":[{"id":135360,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"4082:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135361,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135337,"src":"4092:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135362,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4103:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135358,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"4056:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4066:15:220","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":12517,"src":"4056:25:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (bytes memory)"}},"id":135363,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4056:49:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"4035:70:220"},{"expression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":135367,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135357,"src":"4140:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":135368,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4147:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"id":135369,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135357,"src":"4150:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":135370,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4156:6:220","memberName":"length","nodeType":"MemberAccess","src":"4150:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135365,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"4119:8:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":135366,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4128:11:220","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"4119:20:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (bytes memory,uint256,uint256) pure returns (Slice)"}},"id":135371,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4119:44:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":135372,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4164:19:220","memberName":"decodeArray_uint256","nodeType":"MemberAccess","referencedDeclaration":22484,"src":"4119:64:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slice_$10067_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$attached_to$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (Slice) pure returns (uint256[] memory)"}},"id":135373,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4119:66:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135374,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4118:68:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":135332,"id":135375,"nodeType":"Return","src":"4111:75:220"}]},"documentation":{"id":135325,"nodeType":"StructuredDocumentation","src":"3799:39:220","text":" @notice Get percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_get","nameLocation":"3850:4:220","parameters":{"id":135328,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135327,"mutability":"mutable","name":"numPlayers","nameLocation":"3863:10:220","nodeType":"VariableDeclaration","scope":135377,"src":"3855:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135326,"name":"uint256","nodeType":"ElementaryTypeName","src":"3855:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3854:20:220"},"returnParameters":{"id":135332,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135331,"mutability":"mutable","name":"percentages","nameLocation":"3915:11:220","nodeType":"VariableDeclaration","scope":135377,"src":"3898:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135329,"name":"uint256","nodeType":"ElementaryTypeName","src":"3898:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135330,"nodeType":"ArrayTypeName","src":"3898:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"3897:30:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135423,"nodeType":"FunctionDefinition","src":"4237:281:220","nodes":[],"body":{"id":135422,"nodeType":"Block","src":"4320:198:220","nodes":[],"statements":[{"assignments":[135390],"declarations":[{"constant":false,"id":135390,"mutability":"mutable","name":"_keyTuple","nameLocation":"4343:9:220","nodeType":"VariableDeclaration","scope":135422,"src":"4326:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135388,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4326:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135389,"nodeType":"ArrayTypeName","src":"4326:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135396,"initialValue":{"arguments":[{"hexValue":"31","id":135394,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4369:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135393,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4355:13:220","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":135391,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4359:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135392,"nodeType":"ArrayTypeName","src":"4359:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135395,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4355:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4326:45:220"},{"expression":{"id":135407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135397,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135390,"src":"4377:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135399,"indexExpression":{"hexValue":"30","id":135398,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4387:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4377:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135404,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135380,"src":"4408:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135403,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4400:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135402,"name":"uint256","nodeType":"ElementaryTypeName","src":"4400:7:220","typeDescriptions":{}}},"id":135405,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4400:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135401,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4392:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135400,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4392:7:220","typeDescriptions":{}}},"id":135406,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4392:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4377:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135408,"nodeType":"ExpressionStatement","src":"4377:43:220"},{"expression":{"arguments":[{"id":135412,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"4455:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135413,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135390,"src":"4465:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135414,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4476:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":135417,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135383,"src":"4499:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135418,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4498:13:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"expression":{"id":135415,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"4479:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":135416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4491:6:220","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"4479:18:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256[] memory) pure returns (bytes memory)"}},"id":135419,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4479:33:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":135409,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"4427:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135411,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4439:15:220","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":13941,"src":"4427:27:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":135420,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4427:86:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":135421,"nodeType":"ExpressionStatement","src":"4427:86:220"}]},"documentation":{"id":135378,"nodeType":"StructuredDocumentation","src":"4195:39:220","text":" @notice Set percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"setPercentages","nameLocation":"4246:14:220","parameters":{"id":135384,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135380,"mutability":"mutable","name":"numPlayers","nameLocation":"4269:10:220","nodeType":"VariableDeclaration","scope":135423,"src":"4261:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135379,"name":"uint256","nodeType":"ElementaryTypeName","src":"4261:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135383,"mutability":"mutable","name":"percentages","nameLocation":"4298:11:220","nodeType":"VariableDeclaration","scope":135423,"src":"4281:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135381,"name":"uint256","nodeType":"ElementaryTypeName","src":"4281:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135382,"nodeType":"ArrayTypeName","src":"4281:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"4260:50:220"},"returnParameters":{"id":135385,"nodeType":"ParameterList","parameters":[],"src":"4320:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":135469,"nodeType":"FunctionDefinition","src":"4564:280:220","nodes":[],"body":{"id":135468,"nodeType":"Block","src":"4648:196:220","nodes":[],"statements":[{"assignments":[135436],"declarations":[{"constant":false,"id":135436,"mutability":"mutable","name":"_keyTuple","nameLocation":"4671:9:220","nodeType":"VariableDeclaration","scope":135468,"src":"4654:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135434,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4654:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135435,"nodeType":"ArrayTypeName","src":"4654:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135442,"initialValue":{"arguments":[{"hexValue":"31","id":135440,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4697:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135439,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4683:13:220","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":135437,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4687:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135438,"nodeType":"ArrayTypeName","src":"4687:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135441,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4683:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4654:45:220"},{"expression":{"id":135453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135443,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135436,"src":"4705:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135445,"indexExpression":{"hexValue":"30","id":135444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4715:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4705:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135450,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135426,"src":"4736:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135449,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4728:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135448,"name":"uint256","nodeType":"ElementaryTypeName","src":"4728:7:220","typeDescriptions":{}}},"id":135451,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4728:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135447,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4720:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135446,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4720:7:220","typeDescriptions":{}}},"id":135452,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4720:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4705:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135454,"nodeType":"ExpressionStatement","src":"4705:43:220"},{"expression":{"arguments":[{"id":135458,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"4781:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135459,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135436,"src":"4791:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135460,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4802:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":135463,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135429,"src":"4825:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135464,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4824:13:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"expression":{"id":135461,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"4805:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":135462,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4817:6:220","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"4805:18:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256[] memory) pure returns (bytes memory)"}},"id":135465,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4805:33:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":135455,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"4755:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4765:15:220","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":11947,"src":"4755:25:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":135466,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4755:84:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":135467,"nodeType":"ExpressionStatement","src":"4755:84:220"}]},"documentation":{"id":135424,"nodeType":"StructuredDocumentation","src":"4522:39:220","text":" @notice Set percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_setPercentages","nameLocation":"4573:15:220","parameters":{"id":135430,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135426,"mutability":"mutable","name":"numPlayers","nameLocation":"4597:10:220","nodeType":"VariableDeclaration","scope":135469,"src":"4589:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135425,"name":"uint256","nodeType":"ElementaryTypeName","src":"4589:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135429,"mutability":"mutable","name":"percentages","nameLocation":"4626:11:220","nodeType":"VariableDeclaration","scope":135469,"src":"4609:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135427,"name":"uint256","nodeType":"ElementaryTypeName","src":"4609:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135428,"nodeType":"ArrayTypeName","src":"4609:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"4588:50:220"},"returnParameters":{"id":135431,"nodeType":"ParameterList","parameters":[],"src":"4648:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":135515,"nodeType":"FunctionDefinition","src":"4890:270:220","nodes":[],"body":{"id":135514,"nodeType":"Block","src":"4962:198:220","nodes":[],"statements":[{"assignments":[135482],"declarations":[{"constant":false,"id":135482,"mutability":"mutable","name":"_keyTuple","nameLocation":"4985:9:220","nodeType":"VariableDeclaration","scope":135514,"src":"4968:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135480,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4968:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135481,"nodeType":"ArrayTypeName","src":"4968:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135488,"initialValue":{"arguments":[{"hexValue":"31","id":135486,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5011:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135485,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4997:13:220","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":135483,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5001:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135484,"nodeType":"ArrayTypeName","src":"5001:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135487,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4997:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4968:45:220"},{"expression":{"id":135499,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135489,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135482,"src":"5019:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135491,"indexExpression":{"hexValue":"30","id":135490,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5029:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5019:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135496,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135472,"src":"5050:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135495,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5042:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135494,"name":"uint256","nodeType":"ElementaryTypeName","src":"5042:7:220","typeDescriptions":{}}},"id":135497,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5042:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135493,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5034:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135492,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5034:7:220","typeDescriptions":{}}},"id":135498,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5034:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5019:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135500,"nodeType":"ExpressionStatement","src":"5019:43:220"},{"expression":{"arguments":[{"id":135504,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"5097:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135505,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135482,"src":"5107:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135506,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5118:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":135509,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135475,"src":"5141:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135510,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5140:13:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"expression":{"id":135507,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"5121:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":135508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5133:6:220","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"5121:18:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256[] memory) pure returns (bytes memory)"}},"id":135511,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5121:33:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":135501,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5069:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135503,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5081:15:220","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":13941,"src":"5069:27:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":135512,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5069:86:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":135513,"nodeType":"ExpressionStatement","src":"5069:86:220"}]},"documentation":{"id":135470,"nodeType":"StructuredDocumentation","src":"4848:39:220","text":" @notice Set percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"4899:3:220","parameters":{"id":135476,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135472,"mutability":"mutable","name":"numPlayers","nameLocation":"4911:10:220","nodeType":"VariableDeclaration","scope":135515,"src":"4903:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135471,"name":"uint256","nodeType":"ElementaryTypeName","src":"4903:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135475,"mutability":"mutable","name":"percentages","nameLocation":"4940:11:220","nodeType":"VariableDeclaration","scope":135515,"src":"4923:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135473,"name":"uint256","nodeType":"ElementaryTypeName","src":"4923:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135474,"nodeType":"ArrayTypeName","src":"4923:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"4902:50:220"},"returnParameters":{"id":135477,"nodeType":"ParameterList","parameters":[],"src":"4962:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":135561,"nodeType":"FunctionDefinition","src":"5206:269:220","nodes":[],"body":{"id":135560,"nodeType":"Block","src":"5279:196:220","nodes":[],"statements":[{"assignments":[135528],"declarations":[{"constant":false,"id":135528,"mutability":"mutable","name":"_keyTuple","nameLocation":"5302:9:220","nodeType":"VariableDeclaration","scope":135560,"src":"5285:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135526,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5285:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135527,"nodeType":"ArrayTypeName","src":"5285:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135534,"initialValue":{"arguments":[{"hexValue":"31","id":135532,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5328:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135531,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5314:13:220","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":135529,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5318:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135530,"nodeType":"ArrayTypeName","src":"5318:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135533,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5314:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5285:45:220"},{"expression":{"id":135545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135535,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135528,"src":"5336:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135537,"indexExpression":{"hexValue":"30","id":135536,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5346:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5336:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135542,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135518,"src":"5367:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135541,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5359:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135540,"name":"uint256","nodeType":"ElementaryTypeName","src":"5359:7:220","typeDescriptions":{}}},"id":135543,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5359:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135539,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5351:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135538,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5351:7:220","typeDescriptions":{}}},"id":135544,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5351:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5336:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135546,"nodeType":"ExpressionStatement","src":"5336:43:220"},{"expression":{"arguments":[{"id":135550,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"5412:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135551,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135528,"src":"5422:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135552,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5433:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":135555,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135521,"src":"5456:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":135556,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5455:13:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"expression":{"id":135553,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"5436:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":135554,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5448:6:220","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"5436:18:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256[] memory) pure returns (bytes memory)"}},"id":135557,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5436:33:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":135547,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"5386:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5396:15:220","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":11947,"src":"5386:25:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":135558,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5386:84:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":135559,"nodeType":"ExpressionStatement","src":"5386:84:220"}]},"documentation":{"id":135516,"nodeType":"StructuredDocumentation","src":"5164:39:220","text":" @notice Set percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_set","nameLocation":"5215:4:220","parameters":{"id":135522,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135518,"mutability":"mutable","name":"numPlayers","nameLocation":"5228:10:220","nodeType":"VariableDeclaration","scope":135561,"src":"5220:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135517,"name":"uint256","nodeType":"ElementaryTypeName","src":"5220:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135521,"mutability":"mutable","name":"percentages","nameLocation":"5257:11:220","nodeType":"VariableDeclaration","scope":135561,"src":"5240:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":135519,"name":"uint256","nodeType":"ElementaryTypeName","src":"5240:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":135520,"nodeType":"ArrayTypeName","src":"5240:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"5219:50:220"},"returnParameters":{"id":135523,"nodeType":"ParameterList","parameters":[],"src":"5279:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":135607,"nodeType":"FunctionDefinition","src":"5535:323:220","nodes":[],"body":{"id":135606,"nodeType":"Block","src":"5614:244:220","nodes":[],"statements":[{"assignments":[135573],"declarations":[{"constant":false,"id":135573,"mutability":"mutable","name":"_keyTuple","nameLocation":"5637:9:220","nodeType":"VariableDeclaration","scope":135606,"src":"5620:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135571,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5620:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135572,"nodeType":"ArrayTypeName","src":"5620:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135579,"initialValue":{"arguments":[{"hexValue":"31","id":135577,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5663:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135576,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5649:13:220","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":135574,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5653:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135575,"nodeType":"ArrayTypeName","src":"5653:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135578,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5649:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5620:45:220"},{"expression":{"id":135590,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135580,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135573,"src":"5671:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135582,"indexExpression":{"hexValue":"30","id":135581,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5681:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5671:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135587,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135564,"src":"5702:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135586,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5694:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135585,"name":"uint256","nodeType":"ElementaryTypeName","src":"5694:7:220","typeDescriptions":{}}},"id":135588,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5694:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135584,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5686:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135583,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5686:7:220","typeDescriptions":{}}},"id":135589,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5686:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5671:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135591,"nodeType":"ExpressionStatement","src":"5671:43:220"},{"assignments":[135593],"declarations":[{"constant":false,"id":135593,"mutability":"mutable","name":"_byteLength","nameLocation":"5729:11:220","nodeType":"VariableDeclaration","scope":135606,"src":"5721:19:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135592,"name":"uint256","nodeType":"ElementaryTypeName","src":"5721:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":135600,"initialValue":{"arguments":[{"id":135596,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"5777:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135597,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135573,"src":"5787:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135598,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5798:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135594,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5743:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135595,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5755:21:220","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":14504,"src":"5743:33:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_uint256_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (uint256)"}},"id":135599,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5743:57:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5721:79:220"},{"id":135605,"nodeType":"UncheckedBlock","src":"5806:48:220","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135603,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135601,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135593,"src":"5831:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"3332","id":135602,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5845:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"5831:16:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135568,"id":135604,"nodeType":"Return","src":"5824:23:220"}]}]},"documentation":{"id":135562,"nodeType":"StructuredDocumentation","src":"5479:53:220","text":" @notice Get the length of percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"lengthPercentages","nameLocation":"5544:17:220","parameters":{"id":135565,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135564,"mutability":"mutable","name":"numPlayers","nameLocation":"5570:10:220","nodeType":"VariableDeclaration","scope":135607,"src":"5562:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135563,"name":"uint256","nodeType":"ElementaryTypeName","src":"5562:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5561:20:220"},"returnParameters":{"id":135568,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135567,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135607,"src":"5605:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135566,"name":"uint256","nodeType":"ElementaryTypeName","src":"5605:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5604:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135653,"nodeType":"FunctionDefinition","src":"5918:322:220","nodes":[],"body":{"id":135652,"nodeType":"Block","src":"5998:242:220","nodes":[],"statements":[{"assignments":[135619],"declarations":[{"constant":false,"id":135619,"mutability":"mutable","name":"_keyTuple","nameLocation":"6021:9:220","nodeType":"VariableDeclaration","scope":135652,"src":"6004:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135617,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6004:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135618,"nodeType":"ArrayTypeName","src":"6004:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135625,"initialValue":{"arguments":[{"hexValue":"31","id":135623,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6047:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135622,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6033:13:220","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":135620,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6037:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135621,"nodeType":"ArrayTypeName","src":"6037:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135624,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6033:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6004:45:220"},{"expression":{"id":135636,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135626,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135619,"src":"6055:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135628,"indexExpression":{"hexValue":"30","id":135627,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6065:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6055:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135633,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135610,"src":"6086:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135632,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6078:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135631,"name":"uint256","nodeType":"ElementaryTypeName","src":"6078:7:220","typeDescriptions":{}}},"id":135634,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6078:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135630,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6070:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135629,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6070:7:220","typeDescriptions":{}}},"id":135635,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6070:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6055:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135637,"nodeType":"ExpressionStatement","src":"6055:43:220"},{"assignments":[135639],"declarations":[{"constant":false,"id":135639,"mutability":"mutable","name":"_byteLength","nameLocation":"6113:11:220","nodeType":"VariableDeclaration","scope":135652,"src":"6105:19:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135638,"name":"uint256","nodeType":"ElementaryTypeName","src":"6105:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":135646,"initialValue":{"arguments":[{"id":135642,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"6159:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135643,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135619,"src":"6169:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135644,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6180:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135640,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"6127:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135641,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6137:21:220","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":12611,"src":"6127:31:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_uint256_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (uint256)"}},"id":135645,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6127:55:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6105:77:220"},{"id":135651,"nodeType":"UncheckedBlock","src":"6188:48:220","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135649,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135647,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135639,"src":"6213:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"3332","id":135648,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6227:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"6213:16:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135614,"id":135650,"nodeType":"Return","src":"6206:23:220"}]}]},"documentation":{"id":135608,"nodeType":"StructuredDocumentation","src":"5862:53:220","text":" @notice Get the length of percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_lengthPercentages","nameLocation":"5927:18:220","parameters":{"id":135611,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135610,"mutability":"mutable","name":"numPlayers","nameLocation":"5954:10:220","nodeType":"VariableDeclaration","scope":135653,"src":"5946:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135609,"name":"uint256","nodeType":"ElementaryTypeName","src":"5946:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5945:20:220"},"returnParameters":{"id":135614,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135613,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135653,"src":"5989:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135612,"name":"uint256","nodeType":"ElementaryTypeName","src":"5989:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5988:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135699,"nodeType":"FunctionDefinition","src":"6300:312:220","nodes":[],"body":{"id":135698,"nodeType":"Block","src":"6368:244:220","nodes":[],"statements":[{"assignments":[135665],"declarations":[{"constant":false,"id":135665,"mutability":"mutable","name":"_keyTuple","nameLocation":"6391:9:220","nodeType":"VariableDeclaration","scope":135698,"src":"6374:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135663,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6374:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135664,"nodeType":"ArrayTypeName","src":"6374:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135671,"initialValue":{"arguments":[{"hexValue":"31","id":135669,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6417:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135668,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6403:13:220","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":135666,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6407:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135667,"nodeType":"ArrayTypeName","src":"6407:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6403:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6374:45:220"},{"expression":{"id":135682,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135672,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135665,"src":"6425:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135674,"indexExpression":{"hexValue":"30","id":135673,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6435:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6425:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135679,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135656,"src":"6456:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135678,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6448:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135677,"name":"uint256","nodeType":"ElementaryTypeName","src":"6448:7:220","typeDescriptions":{}}},"id":135680,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6448:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135676,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6440:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135675,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6440:7:220","typeDescriptions":{}}},"id":135681,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6440:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6425:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135683,"nodeType":"ExpressionStatement","src":"6425:43:220"},{"assignments":[135685],"declarations":[{"constant":false,"id":135685,"mutability":"mutable","name":"_byteLength","nameLocation":"6483:11:220","nodeType":"VariableDeclaration","scope":135698,"src":"6475:19:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135684,"name":"uint256","nodeType":"ElementaryTypeName","src":"6475:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":135692,"initialValue":{"arguments":[{"id":135688,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"6531:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135689,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135665,"src":"6541:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135690,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6552:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135686,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"6497:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135687,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6509:21:220","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":14504,"src":"6497:33:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_uint256_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (uint256)"}},"id":135691,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6497:57:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6475:79:220"},{"id":135697,"nodeType":"UncheckedBlock","src":"6560:48:220","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135695,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135693,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135685,"src":"6585:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"3332","id":135694,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6599:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"6585:16:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135660,"id":135696,"nodeType":"Return","src":"6578:23:220"}]}]},"documentation":{"id":135654,"nodeType":"StructuredDocumentation","src":"6244:53:220","text":" @notice Get the length of percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"length","nameLocation":"6309:6:220","parameters":{"id":135657,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135656,"mutability":"mutable","name":"numPlayers","nameLocation":"6324:10:220","nodeType":"VariableDeclaration","scope":135699,"src":"6316:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135655,"name":"uint256","nodeType":"ElementaryTypeName","src":"6316:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6315:20:220"},"returnParameters":{"id":135660,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135659,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135699,"src":"6359:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135658,"name":"uint256","nodeType":"ElementaryTypeName","src":"6359:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6358:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135745,"nodeType":"FunctionDefinition","src":"6672:311:220","nodes":[],"body":{"id":135744,"nodeType":"Block","src":"6741:242:220","nodes":[],"statements":[{"assignments":[135711],"declarations":[{"constant":false,"id":135711,"mutability":"mutable","name":"_keyTuple","nameLocation":"6764:9:220","nodeType":"VariableDeclaration","scope":135744,"src":"6747:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135709,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6747:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135710,"nodeType":"ArrayTypeName","src":"6747:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135717,"initialValue":{"arguments":[{"hexValue":"31","id":135715,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6790:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135714,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6776:13:220","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":135712,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6780:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135713,"nodeType":"ArrayTypeName","src":"6780:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135716,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6776:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6747:45:220"},{"expression":{"id":135728,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135718,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135711,"src":"6798:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135720,"indexExpression":{"hexValue":"30","id":135719,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6808:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6798:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135725,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135702,"src":"6829:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135724,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6821:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135723,"name":"uint256","nodeType":"ElementaryTypeName","src":"6821:7:220","typeDescriptions":{}}},"id":135726,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6821:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135722,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6813:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135721,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6813:7:220","typeDescriptions":{}}},"id":135727,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6813:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6798:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135729,"nodeType":"ExpressionStatement","src":"6798:43:220"},{"assignments":[135731],"declarations":[{"constant":false,"id":135731,"mutability":"mutable","name":"_byteLength","nameLocation":"6856:11:220","nodeType":"VariableDeclaration","scope":135744,"src":"6848:19:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135730,"name":"uint256","nodeType":"ElementaryTypeName","src":"6848:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":135738,"initialValue":{"arguments":[{"id":135734,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"6902:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135735,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135711,"src":"6912:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135736,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6923:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"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"}],"expression":{"id":135732,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"6870:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135733,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6880:21:220","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":12611,"src":"6870:31:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_uint256_$","typeString":"function (ResourceId,bytes32[] memory,uint8) view returns (uint256)"}},"id":135737,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6870:55:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6848:77:220"},{"id":135743,"nodeType":"UncheckedBlock","src":"6931:48:220","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135739,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135731,"src":"6956:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"3332","id":135740,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6970:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"6956:16:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135706,"id":135742,"nodeType":"Return","src":"6949:23:220"}]}]},"documentation":{"id":135700,"nodeType":"StructuredDocumentation","src":"6616:53:220","text":" @notice Get the length of percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_length","nameLocation":"6681:7:220","parameters":{"id":135703,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135702,"mutability":"mutable","name":"numPlayers","nameLocation":"6697:10:220","nodeType":"VariableDeclaration","scope":135745,"src":"6689:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135701,"name":"uint256","nodeType":"ElementaryTypeName","src":"6689:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6688:20:220"},"returnParameters":{"id":135706,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135705,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135745,"src":"6732:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135704,"name":"uint256","nodeType":"ElementaryTypeName","src":"6732:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6731:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135807,"nodeType":"FunctionDefinition","src":"7130:381:220","nodes":[],"body":{"id":135806,"nodeType":"Block","src":"7226:285:220","nodes":[],"statements":[{"assignments":[135759],"declarations":[{"constant":false,"id":135759,"mutability":"mutable","name":"_keyTuple","nameLocation":"7249:9:220","nodeType":"VariableDeclaration","scope":135806,"src":"7232:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135757,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7232:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135758,"nodeType":"ArrayTypeName","src":"7232:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135765,"initialValue":{"arguments":[{"hexValue":"31","id":135763,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7275:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135762,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7261:13:220","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":135760,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7265:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135761,"nodeType":"ArrayTypeName","src":"7265:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135764,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7261:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7232:45:220"},{"expression":{"id":135776,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135766,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135759,"src":"7283:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135768,"indexExpression":{"hexValue":"30","id":135767,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7293:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7283:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135773,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135748,"src":"7314:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135772,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7306:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135771,"name":"uint256","nodeType":"ElementaryTypeName","src":"7306:7:220","typeDescriptions":{}}},"id":135774,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7306:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135770,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7298:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135769,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7298:7:220","typeDescriptions":{}}},"id":135775,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7298:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7283:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135777,"nodeType":"ExpressionStatement","src":"7283:43:220"},{"id":135805,"nodeType":"UncheckedBlock","src":"7333:174:220","statements":[{"assignments":[135779],"declarations":[{"constant":false,"id":135779,"mutability":"mutable","name":"_blob","nameLocation":"7364:5:220","nodeType":"VariableDeclaration","scope":135805,"src":"7351:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135778,"name":"bytes","nodeType":"ElementaryTypeName","src":"7351:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135795,"initialValue":{"arguments":[{"id":135782,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"7405:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135783,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135759,"src":"7415:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135784,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7426:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135785,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135750,"src":"7429:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135786,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7438:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"7429:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135790,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135788,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135750,"src":"7443:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":135789,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7452:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7443:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135791,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7442:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135792,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7457:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"7442:17:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"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_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135780,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"7372:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7384:20:220","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":14557,"src":"7372:32:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256,uint256) view returns (bytes memory)"}},"id":135794,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7372:88:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"7351:109:220"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":135800,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135779,"src":"7492:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":135799,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7484:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135798,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7484:7:220","typeDescriptions":{}}},"id":135801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7484:14:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":135797,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7476:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135796,"name":"uint256","nodeType":"ElementaryTypeName","src":"7476:7:220","typeDescriptions":{}}},"id":135802,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7476:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135803,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7475:25:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135754,"id":135804,"nodeType":"Return","src":"7468:32:220"}]}]},"documentation":{"id":135746,"nodeType":"StructuredDocumentation","src":"6987:140:220","text":" @notice Get an item of percentages.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"getItemPercentages","nameLocation":"7139:18:220","parameters":{"id":135751,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135748,"mutability":"mutable","name":"numPlayers","nameLocation":"7166:10:220","nodeType":"VariableDeclaration","scope":135807,"src":"7158:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135747,"name":"uint256","nodeType":"ElementaryTypeName","src":"7158:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135750,"mutability":"mutable","name":"_index","nameLocation":"7186:6:220","nodeType":"VariableDeclaration","scope":135807,"src":"7178:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135749,"name":"uint256","nodeType":"ElementaryTypeName","src":"7178:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7157:36:220"},"returnParameters":{"id":135754,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135753,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135807,"src":"7217:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135752,"name":"uint256","nodeType":"ElementaryTypeName","src":"7217:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7216:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135869,"nodeType":"FunctionDefinition","src":"7658:380:220","nodes":[],"body":{"id":135868,"nodeType":"Block","src":"7755:283:220","nodes":[],"statements":[{"assignments":[135821],"declarations":[{"constant":false,"id":135821,"mutability":"mutable","name":"_keyTuple","nameLocation":"7778:9:220","nodeType":"VariableDeclaration","scope":135868,"src":"7761:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135819,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7761:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135820,"nodeType":"ArrayTypeName","src":"7761:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135827,"initialValue":{"arguments":[{"hexValue":"31","id":135825,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7804:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135824,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7790:13:220","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":135822,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7794:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135823,"nodeType":"ArrayTypeName","src":"7794:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135826,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7790:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7761:45:220"},{"expression":{"id":135838,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135828,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135821,"src":"7812:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135830,"indexExpression":{"hexValue":"30","id":135829,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7822:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7812:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135835,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135810,"src":"7843:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135834,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7835:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135833,"name":"uint256","nodeType":"ElementaryTypeName","src":"7835:7:220","typeDescriptions":{}}},"id":135836,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7835:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135832,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7827:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135831,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7827:7:220","typeDescriptions":{}}},"id":135837,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7827:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7812:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135839,"nodeType":"ExpressionStatement","src":"7812:43:220"},{"id":135867,"nodeType":"UncheckedBlock","src":"7862:172:220","statements":[{"assignments":[135841],"declarations":[{"constant":false,"id":135841,"mutability":"mutable","name":"_blob","nameLocation":"7893:5:220","nodeType":"VariableDeclaration","scope":135867,"src":"7880:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135840,"name":"bytes","nodeType":"ElementaryTypeName","src":"7880:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135857,"initialValue":{"arguments":[{"id":135844,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"7932:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135845,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135821,"src":"7942:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135846,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7953:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135849,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135847,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135812,"src":"7956:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135848,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7965:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"7956:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135855,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135852,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135850,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135812,"src":"7970:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":135851,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7979:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7970:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135853,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7969:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135854,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7984:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"7969:17:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"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_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135842,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"7901:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135843,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7911:20:220","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":12700,"src":"7901:30:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256,uint256) view returns (bytes memory)"}},"id":135856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7901:86:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"7880:107:220"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":135862,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135841,"src":"8019:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":135861,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8011:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135860,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8011:7:220","typeDescriptions":{}}},"id":135863,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8011:14:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":135859,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8003:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135858,"name":"uint256","nodeType":"ElementaryTypeName","src":"8003:7:220","typeDescriptions":{}}},"id":135864,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8003:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135865,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8002:25:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135816,"id":135866,"nodeType":"Return","src":"7995:32:220"}]}]},"documentation":{"id":135808,"nodeType":"StructuredDocumentation","src":"7515:140:220","text":" @notice Get an item of percentages.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"_getItemPercentages","nameLocation":"7667:19:220","parameters":{"id":135813,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135810,"mutability":"mutable","name":"numPlayers","nameLocation":"7695:10:220","nodeType":"VariableDeclaration","scope":135869,"src":"7687:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135809,"name":"uint256","nodeType":"ElementaryTypeName","src":"7687:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135812,"mutability":"mutable","name":"_index","nameLocation":"7715:6:220","nodeType":"VariableDeclaration","scope":135869,"src":"7707:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135811,"name":"uint256","nodeType":"ElementaryTypeName","src":"7707:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7686:36:220"},"returnParameters":{"id":135816,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135815,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135869,"src":"7746:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135814,"name":"uint256","nodeType":"ElementaryTypeName","src":"7746:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7745:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135931,"nodeType":"FunctionDefinition","src":"8185:370:220","nodes":[],"body":{"id":135930,"nodeType":"Block","src":"8270:285:220","nodes":[],"statements":[{"assignments":[135883],"declarations":[{"constant":false,"id":135883,"mutability":"mutable","name":"_keyTuple","nameLocation":"8293:9:220","nodeType":"VariableDeclaration","scope":135930,"src":"8276:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135881,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8276:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135882,"nodeType":"ArrayTypeName","src":"8276:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135889,"initialValue":{"arguments":[{"hexValue":"31","id":135887,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8319:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135886,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8305:13:220","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":135884,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8309:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135885,"nodeType":"ArrayTypeName","src":"8309:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135888,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8305:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8276:45:220"},{"expression":{"id":135900,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135890,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135883,"src":"8327:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135892,"indexExpression":{"hexValue":"30","id":135891,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8337:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8327:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135897,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135872,"src":"8358:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135896,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8350:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135895,"name":"uint256","nodeType":"ElementaryTypeName","src":"8350:7:220","typeDescriptions":{}}},"id":135898,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8350:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135894,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8342:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135893,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8342:7:220","typeDescriptions":{}}},"id":135899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8342:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8327:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135901,"nodeType":"ExpressionStatement","src":"8327:43:220"},{"id":135929,"nodeType":"UncheckedBlock","src":"8377:174:220","statements":[{"assignments":[135903],"declarations":[{"constant":false,"id":135903,"mutability":"mutable","name":"_blob","nameLocation":"8408:5:220","nodeType":"VariableDeclaration","scope":135929,"src":"8395:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135902,"name":"bytes","nodeType":"ElementaryTypeName","src":"8395:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135919,"initialValue":{"arguments":[{"id":135906,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"8449:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135907,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135883,"src":"8459:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135908,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8470:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135911,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135909,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135874,"src":"8473:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135910,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8482:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8473:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135917,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135914,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135912,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135874,"src":"8487:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":135913,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8496:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"8487:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135915,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8486:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135916,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8501:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8486:17:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"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_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135904,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"8416:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":135905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8428:20:220","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":14557,"src":"8416:32:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256,uint256) view returns (bytes memory)"}},"id":135918,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8416:88:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"8395:109:220"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":135924,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135903,"src":"8536:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":135923,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8528:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135922,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8528:7:220","typeDescriptions":{}}},"id":135925,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8528:14:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":135921,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8520:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135920,"name":"uint256","nodeType":"ElementaryTypeName","src":"8520:7:220","typeDescriptions":{}}},"id":135926,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8520:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135927,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8519:25:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135878,"id":135928,"nodeType":"Return","src":"8512:32:220"}]}]},"documentation":{"id":135870,"nodeType":"StructuredDocumentation","src":"8042:140:220","text":" @notice Get an item of percentages.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"getItem","nameLocation":"8194:7:220","parameters":{"id":135875,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135872,"mutability":"mutable","name":"numPlayers","nameLocation":"8210:10:220","nodeType":"VariableDeclaration","scope":135931,"src":"8202:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135871,"name":"uint256","nodeType":"ElementaryTypeName","src":"8202:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135874,"mutability":"mutable","name":"_index","nameLocation":"8230:6:220","nodeType":"VariableDeclaration","scope":135931,"src":"8222:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135873,"name":"uint256","nodeType":"ElementaryTypeName","src":"8222:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8201:36:220"},"returnParameters":{"id":135878,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135877,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135931,"src":"8261:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135876,"name":"uint256","nodeType":"ElementaryTypeName","src":"8261:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8260:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":135993,"nodeType":"FunctionDefinition","src":"8702:369:220","nodes":[],"body":{"id":135992,"nodeType":"Block","src":"8788:283:220","nodes":[],"statements":[{"assignments":[135945],"declarations":[{"constant":false,"id":135945,"mutability":"mutable","name":"_keyTuple","nameLocation":"8811:9:220","nodeType":"VariableDeclaration","scope":135992,"src":"8794:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":135943,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8794:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135944,"nodeType":"ArrayTypeName","src":"8794:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":135951,"initialValue":{"arguments":[{"hexValue":"31","id":135949,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8837:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":135948,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8823:13:220","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":135946,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8827:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135947,"nodeType":"ArrayTypeName","src":"8827:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":135950,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8823:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8794:45:220"},{"expression":{"id":135962,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":135952,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135945,"src":"8845:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":135954,"indexExpression":{"hexValue":"30","id":135953,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8855:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8845:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":135959,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135934,"src":"8876:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135958,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8868:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135957,"name":"uint256","nodeType":"ElementaryTypeName","src":"8868:7:220","typeDescriptions":{}}},"id":135960,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8868:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":135956,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8860:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135955,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8860:7:220","typeDescriptions":{}}},"id":135961,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8860:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8845:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":135963,"nodeType":"ExpressionStatement","src":"8845:43:220"},{"id":135991,"nodeType":"UncheckedBlock","src":"8895:172:220","statements":[{"assignments":[135965],"declarations":[{"constant":false,"id":135965,"mutability":"mutable","name":"_blob","nameLocation":"8926:5:220","nodeType":"VariableDeclaration","scope":135991,"src":"8913:18:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":135964,"name":"bytes","nodeType":"ElementaryTypeName","src":"8913:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":135981,"initialValue":{"arguments":[{"id":135968,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"8965:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":135969,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135945,"src":"8975:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":135970,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8986:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135971,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135936,"src":"8989:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8998:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8989:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":135976,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":135974,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135936,"src":"9003:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":135975,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9012:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9003:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135977,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9002:12:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":135978,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9017:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"9002:17:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"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_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":135966,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"8934:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":135967,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8944:20:220","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":12700,"src":"8934:30:220","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256,uint256) view returns (bytes memory)"}},"id":135980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8934:86:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"8913:107:220"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":135986,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135965,"src":"9052:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":135985,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9044:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":135984,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9044:7:220","typeDescriptions":{}}},"id":135987,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9044:14:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":135983,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9036:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":135982,"name":"uint256","nodeType":"ElementaryTypeName","src":"9036:7:220","typeDescriptions":{}}},"id":135988,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9036:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":135989,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9035:25:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":135940,"id":135990,"nodeType":"Return","src":"9028:32:220"}]}]},"documentation":{"id":135932,"nodeType":"StructuredDocumentation","src":"8559:140:220","text":" @notice Get an item of percentages.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"_getItem","nameLocation":"8711:8:220","parameters":{"id":135937,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135934,"mutability":"mutable","name":"numPlayers","nameLocation":"8728:10:220","nodeType":"VariableDeclaration","scope":135993,"src":"8720:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135933,"name":"uint256","nodeType":"ElementaryTypeName","src":"8720:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135936,"mutability":"mutable","name":"_index","nameLocation":"8748:6:220","nodeType":"VariableDeclaration","scope":135993,"src":"8740:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135935,"name":"uint256","nodeType":"ElementaryTypeName","src":"8740:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8719:36:220"},"returnParameters":{"id":135940,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135939,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":135993,"src":"8779:7:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135938,"name":"uint256","nodeType":"ElementaryTypeName","src":"8779:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8778:9:220"},"scope":136769,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":136038,"nodeType":"FunctionDefinition","src":"9132:268:220","nodes":[],"body":{"id":136037,"nodeType":"Block","src":"9204:196:220","nodes":[],"statements":[{"assignments":[136005],"declarations":[{"constant":false,"id":136005,"mutability":"mutable","name":"_keyTuple","nameLocation":"9227:9:220","nodeType":"VariableDeclaration","scope":136037,"src":"9210:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136003,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9210:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136004,"nodeType":"ArrayTypeName","src":"9210:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136011,"initialValue":{"arguments":[{"hexValue":"31","id":136009,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9253:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136008,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9239:13:220","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":136006,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9243:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136007,"nodeType":"ArrayTypeName","src":"9243:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136010,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9239:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9210:45:220"},{"expression":{"id":136022,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136012,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136005,"src":"9261:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136014,"indexExpression":{"hexValue":"30","id":136013,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9271:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9261:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136019,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135996,"src":"9292:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136018,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9284:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136017,"name":"uint256","nodeType":"ElementaryTypeName","src":"9284:7:220","typeDescriptions":{}}},"id":136020,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9284:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136016,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9276:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136015,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9276:7:220","typeDescriptions":{}}},"id":136021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9276:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9261:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136023,"nodeType":"ExpressionStatement","src":"9261:43:220"},{"expression":{"arguments":[{"id":136027,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"9342:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136028,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136005,"src":"9352:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136029,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9363:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":136032,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135998,"src":"9384:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136033,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9383:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136030,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9366:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136031,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9370:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"9366:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136034,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9366:28:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136024,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"9311:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":136026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9323:18:220","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":13989,"src":"9311:30:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":136035,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9311:84:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136036,"nodeType":"ExpressionStatement","src":"9311:84:220"}]},"documentation":{"id":135994,"nodeType":"StructuredDocumentation","src":"9075:54:220","text":" @notice Push an element to percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"pushPercentages","nameLocation":"9141:15:220","parameters":{"id":135999,"nodeType":"ParameterList","parameters":[{"constant":false,"id":135996,"mutability":"mutable","name":"numPlayers","nameLocation":"9165:10:220","nodeType":"VariableDeclaration","scope":136038,"src":"9157:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135995,"name":"uint256","nodeType":"ElementaryTypeName","src":"9157:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":135998,"mutability":"mutable","name":"_element","nameLocation":"9185:8:220","nodeType":"VariableDeclaration","scope":136038,"src":"9177:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":135997,"name":"uint256","nodeType":"ElementaryTypeName","src":"9177:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9156:38:220"},"returnParameters":{"id":136000,"nodeType":"ParameterList","parameters":[],"src":"9204:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136083,"nodeType":"FunctionDefinition","src":"9461:267:220","nodes":[],"body":{"id":136082,"nodeType":"Block","src":"9534:194:220","nodes":[],"statements":[{"assignments":[136050],"declarations":[{"constant":false,"id":136050,"mutability":"mutable","name":"_keyTuple","nameLocation":"9557:9:220","nodeType":"VariableDeclaration","scope":136082,"src":"9540:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136048,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9540:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136049,"nodeType":"ArrayTypeName","src":"9540:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136056,"initialValue":{"arguments":[{"hexValue":"31","id":136054,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9583:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136053,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9569:13:220","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":136051,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9573:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136052,"nodeType":"ArrayTypeName","src":"9573:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136055,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9569:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9540:45:220"},{"expression":{"id":136067,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136057,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136050,"src":"9591:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136059,"indexExpression":{"hexValue":"30","id":136058,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9601:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9591:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136064,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136041,"src":"9622:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136063,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9614:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136062,"name":"uint256","nodeType":"ElementaryTypeName","src":"9614:7:220","typeDescriptions":{}}},"id":136065,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9614:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136061,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9606:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136060,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9606:7:220","typeDescriptions":{}}},"id":136066,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9606:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9591:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136068,"nodeType":"ExpressionStatement","src":"9591:43:220"},{"expression":{"arguments":[{"id":136072,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"9670:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136073,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136050,"src":"9680:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136074,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9691:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":136077,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136043,"src":"9712:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136078,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9711:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136075,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9694:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136076,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9698:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"9694:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136079,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9694:28:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136069,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"9641:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":136071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9651:18:220","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":12182,"src":"9641:28:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":136080,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9641:82:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136081,"nodeType":"ExpressionStatement","src":"9641:82:220"}]},"documentation":{"id":136039,"nodeType":"StructuredDocumentation","src":"9404:54:220","text":" @notice Push an element to percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_pushPercentages","nameLocation":"9470:16:220","parameters":{"id":136044,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136041,"mutability":"mutable","name":"numPlayers","nameLocation":"9495:10:220","nodeType":"VariableDeclaration","scope":136083,"src":"9487:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136040,"name":"uint256","nodeType":"ElementaryTypeName","src":"9487:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136043,"mutability":"mutable","name":"_element","nameLocation":"9515:8:220","nodeType":"VariableDeclaration","scope":136083,"src":"9507:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136042,"name":"uint256","nodeType":"ElementaryTypeName","src":"9507:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9486:38:220"},"returnParameters":{"id":136045,"nodeType":"ParameterList","parameters":[],"src":"9534:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136128,"nodeType":"FunctionDefinition","src":"9789:257:220","nodes":[],"body":{"id":136127,"nodeType":"Block","src":"9850:196:220","nodes":[],"statements":[{"assignments":[136095],"declarations":[{"constant":false,"id":136095,"mutability":"mutable","name":"_keyTuple","nameLocation":"9873:9:220","nodeType":"VariableDeclaration","scope":136127,"src":"9856:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136093,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9856:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136094,"nodeType":"ArrayTypeName","src":"9856:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136101,"initialValue":{"arguments":[{"hexValue":"31","id":136099,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9899:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136098,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9885:13:220","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":136096,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9889:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136097,"nodeType":"ArrayTypeName","src":"9889:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136100,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9885:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9856:45:220"},{"expression":{"id":136112,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136102,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136095,"src":"9907:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136104,"indexExpression":{"hexValue":"30","id":136103,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9917:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9907:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136109,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136086,"src":"9938:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136108,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9930:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136107,"name":"uint256","nodeType":"ElementaryTypeName","src":"9930:7:220","typeDescriptions":{}}},"id":136110,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9930:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136106,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9922:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136105,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9922:7:220","typeDescriptions":{}}},"id":136111,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9922:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9907:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136113,"nodeType":"ExpressionStatement","src":"9907:43:220"},{"expression":{"arguments":[{"id":136117,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"9988:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136118,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136095,"src":"9998:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10009:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":136122,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136088,"src":"10030:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136123,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10029:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136120,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"10012:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136121,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10016:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"10012:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136124,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10012:28:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136114,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"9957:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":136116,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9969:18:220","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":13989,"src":"9957:30:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":136125,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9957:84:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136126,"nodeType":"ExpressionStatement","src":"9957:84:220"}]},"documentation":{"id":136084,"nodeType":"StructuredDocumentation","src":"9732:54:220","text":" @notice Push an element to percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"push","nameLocation":"9798:4:220","parameters":{"id":136089,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136086,"mutability":"mutable","name":"numPlayers","nameLocation":"9811:10:220","nodeType":"VariableDeclaration","scope":136128,"src":"9803:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136085,"name":"uint256","nodeType":"ElementaryTypeName","src":"9803:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136088,"mutability":"mutable","name":"_element","nameLocation":"9831:8:220","nodeType":"VariableDeclaration","scope":136128,"src":"9823:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136087,"name":"uint256","nodeType":"ElementaryTypeName","src":"9823:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9802:38:220"},"returnParameters":{"id":136090,"nodeType":"ParameterList","parameters":[],"src":"9850:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136173,"nodeType":"FunctionDefinition","src":"10107:256:220","nodes":[],"body":{"id":136172,"nodeType":"Block","src":"10169:194:220","nodes":[],"statements":[{"assignments":[136140],"declarations":[{"constant":false,"id":136140,"mutability":"mutable","name":"_keyTuple","nameLocation":"10192:9:220","nodeType":"VariableDeclaration","scope":136172,"src":"10175:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136138,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10175:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136139,"nodeType":"ArrayTypeName","src":"10175:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136146,"initialValue":{"arguments":[{"hexValue":"31","id":136144,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10218:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136143,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10204:13:220","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":136141,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10208:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136142,"nodeType":"ArrayTypeName","src":"10208:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10204:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10175:45:220"},{"expression":{"id":136157,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136147,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136140,"src":"10226:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136149,"indexExpression":{"hexValue":"30","id":136148,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10236:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10226:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136154,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136131,"src":"10257:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136153,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10249:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136152,"name":"uint256","nodeType":"ElementaryTypeName","src":"10249:7:220","typeDescriptions":{}}},"id":136155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10249:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136151,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10241:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136150,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10241:7:220","typeDescriptions":{}}},"id":136156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10241:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10226:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136158,"nodeType":"ExpressionStatement","src":"10226:43:220"},{"expression":{"arguments":[{"id":136162,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"10305:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136163,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136140,"src":"10315:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136164,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10326:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":136167,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136133,"src":"10347:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136168,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10346:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136165,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"10329:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136166,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10333:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"10329:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136169,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10329:28:220","tryCall":false,"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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136159,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"10276:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":136161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10286:18:220","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":12182,"src":"10276:28:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory)"}},"id":136170,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10276:82:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136171,"nodeType":"ExpressionStatement","src":"10276:82:220"}]},"documentation":{"id":136129,"nodeType":"StructuredDocumentation","src":"10050:54:220","text":" @notice Push an element to percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_push","nameLocation":"10116:5:220","parameters":{"id":136134,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136131,"mutability":"mutable","name":"numPlayers","nameLocation":"10130:10:220","nodeType":"VariableDeclaration","scope":136173,"src":"10122:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136130,"name":"uint256","nodeType":"ElementaryTypeName","src":"10122:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136133,"mutability":"mutable","name":"_element","nameLocation":"10150:8:220","nodeType":"VariableDeclaration","scope":136173,"src":"10142:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136132,"name":"uint256","nodeType":"ElementaryTypeName","src":"10142:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10121:38:220"},"returnParameters":{"id":136135,"nodeType":"ParameterList","parameters":[],"src":"10169:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136212,"nodeType":"FunctionDefinition","src":"10425:224:220","nodes":[],"body":{"id":136211,"nodeType":"Block","src":"10478:171:220","nodes":[],"statements":[{"assignments":[136183],"declarations":[{"constant":false,"id":136183,"mutability":"mutable","name":"_keyTuple","nameLocation":"10501:9:220","nodeType":"VariableDeclaration","scope":136211,"src":"10484:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136181,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10484:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136182,"nodeType":"ArrayTypeName","src":"10484:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136189,"initialValue":{"arguments":[{"hexValue":"31","id":136187,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10527:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136186,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10513:13:220","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":136184,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10517:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136185,"nodeType":"ArrayTypeName","src":"10517:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136188,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10513:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10484:45:220"},{"expression":{"id":136200,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136190,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136183,"src":"10535:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136192,"indexExpression":{"hexValue":"30","id":136191,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10545:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10535:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136197,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136176,"src":"10566:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136196,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10558:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136195,"name":"uint256","nodeType":"ElementaryTypeName","src":"10558:7:220","typeDescriptions":{}}},"id":136198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10558:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136194,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10550:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136193,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10550:7:220","typeDescriptions":{}}},"id":136199,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10550:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10535:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136201,"nodeType":"ExpressionStatement","src":"10535:43:220"},{"expression":{"arguments":[{"id":136205,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"10617:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136206,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136183,"src":"10627:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136207,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10638:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"3332","id":136208,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10641:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"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_rational_32_by_1","typeString":"int_const 32"}],"expression":{"id":136202,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"10585:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":136204,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10597:19:220","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":14037,"src":"10585:31:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256)"}},"id":136209,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10585:59:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136210,"nodeType":"ExpressionStatement","src":"10585:59:220"}]},"documentation":{"id":136174,"nodeType":"StructuredDocumentation","src":"10367:55:220","text":" @notice Pop an element from percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"popPercentages","nameLocation":"10434:14:220","parameters":{"id":136177,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136176,"mutability":"mutable","name":"numPlayers","nameLocation":"10457:10:220","nodeType":"VariableDeclaration","scope":136212,"src":"10449:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136175,"name":"uint256","nodeType":"ElementaryTypeName","src":"10449:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10448:20:220"},"returnParameters":{"id":136178,"nodeType":"ParameterList","parameters":[],"src":"10478:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136251,"nodeType":"FunctionDefinition","src":"10711:223:220","nodes":[],"body":{"id":136250,"nodeType":"Block","src":"10765:169:220","nodes":[],"statements":[{"assignments":[136222],"declarations":[{"constant":false,"id":136222,"mutability":"mutable","name":"_keyTuple","nameLocation":"10788:9:220","nodeType":"VariableDeclaration","scope":136250,"src":"10771:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136220,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10771:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136221,"nodeType":"ArrayTypeName","src":"10771:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136228,"initialValue":{"arguments":[{"hexValue":"31","id":136226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10814:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136225,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10800:13:220","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":136223,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10804:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136224,"nodeType":"ArrayTypeName","src":"10804:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136227,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10800:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10771:45:220"},{"expression":{"id":136239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136229,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136222,"src":"10822:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136231,"indexExpression":{"hexValue":"30","id":136230,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10832:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10822:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136236,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136215,"src":"10853:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136235,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10845:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136234,"name":"uint256","nodeType":"ElementaryTypeName","src":"10845:7:220","typeDescriptions":{}}},"id":136237,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10845:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136233,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10837:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136232,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10837:7:220","typeDescriptions":{}}},"id":136238,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10837:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10822:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136240,"nodeType":"ExpressionStatement","src":"10822:43:220"},{"expression":{"arguments":[{"id":136244,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"10902:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136245,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136222,"src":"10912:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136246,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10923:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"3332","id":136247,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10926:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"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_rational_32_by_1","typeString":"int_const 32"}],"expression":{"id":136241,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"10872:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":136243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10882:19:220","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":12239,"src":"10872:29:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256)"}},"id":136248,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10872:57:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136249,"nodeType":"ExpressionStatement","src":"10872:57:220"}]},"documentation":{"id":136213,"nodeType":"StructuredDocumentation","src":"10653:55:220","text":" @notice Pop an element from percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_popPercentages","nameLocation":"10720:15:220","parameters":{"id":136216,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136215,"mutability":"mutable","name":"numPlayers","nameLocation":"10744:10:220","nodeType":"VariableDeclaration","scope":136251,"src":"10736:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136214,"name":"uint256","nodeType":"ElementaryTypeName","src":"10736:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10735:20:220"},"returnParameters":{"id":136217,"nodeType":"ParameterList","parameters":[],"src":"10765:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136290,"nodeType":"FunctionDefinition","src":"10996:213:220","nodes":[],"body":{"id":136289,"nodeType":"Block","src":"11038:171:220","nodes":[],"statements":[{"assignments":[136261],"declarations":[{"constant":false,"id":136261,"mutability":"mutable","name":"_keyTuple","nameLocation":"11061:9:220","nodeType":"VariableDeclaration","scope":136289,"src":"11044:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136259,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11044:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136260,"nodeType":"ArrayTypeName","src":"11044:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136267,"initialValue":{"arguments":[{"hexValue":"31","id":136265,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11087:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136264,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11073:13:220","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":136262,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11077:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136263,"nodeType":"ArrayTypeName","src":"11077:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136266,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11073:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11044:45:220"},{"expression":{"id":136278,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136268,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136261,"src":"11095:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136270,"indexExpression":{"hexValue":"30","id":136269,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11105:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11095:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136275,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136254,"src":"11126:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136274,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11118:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136273,"name":"uint256","nodeType":"ElementaryTypeName","src":"11118:7:220","typeDescriptions":{}}},"id":136276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11118:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136272,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11110:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136271,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11110:7:220","typeDescriptions":{}}},"id":136277,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11110:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11095:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136279,"nodeType":"ExpressionStatement","src":"11095:43:220"},{"expression":{"arguments":[{"id":136283,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"11177:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136284,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136261,"src":"11187:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136285,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11198:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"3332","id":136286,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11201:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"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_rational_32_by_1","typeString":"int_const 32"}],"expression":{"id":136280,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"11145:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":136282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11157:19:220","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":14037,"src":"11145:31:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256)"}},"id":136287,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11145:59:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136288,"nodeType":"ExpressionStatement","src":"11145:59:220"}]},"documentation":{"id":136252,"nodeType":"StructuredDocumentation","src":"10938:55:220","text":" @notice Pop an element from percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"pop","nameLocation":"11005:3:220","parameters":{"id":136255,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136254,"mutability":"mutable","name":"numPlayers","nameLocation":"11017:10:220","nodeType":"VariableDeclaration","scope":136290,"src":"11009:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136253,"name":"uint256","nodeType":"ElementaryTypeName","src":"11009:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11008:20:220"},"returnParameters":{"id":136256,"nodeType":"ParameterList","parameters":[],"src":"11038:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136329,"nodeType":"FunctionDefinition","src":"11271:212:220","nodes":[],"body":{"id":136328,"nodeType":"Block","src":"11314:169:220","nodes":[],"statements":[{"assignments":[136300],"declarations":[{"constant":false,"id":136300,"mutability":"mutable","name":"_keyTuple","nameLocation":"11337:9:220","nodeType":"VariableDeclaration","scope":136328,"src":"11320:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136298,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11320:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136299,"nodeType":"ArrayTypeName","src":"11320:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136306,"initialValue":{"arguments":[{"hexValue":"31","id":136304,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11363:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136303,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11349:13:220","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":136301,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11353:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136302,"nodeType":"ArrayTypeName","src":"11353:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136305,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11349:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11320:45:220"},{"expression":{"id":136317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136307,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136300,"src":"11371:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136309,"indexExpression":{"hexValue":"30","id":136308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11381:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11371:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136314,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136293,"src":"11402:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136313,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11394:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136312,"name":"uint256","nodeType":"ElementaryTypeName","src":"11394:7:220","typeDescriptions":{}}},"id":136315,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11394:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136311,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11386:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136310,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11386:7:220","typeDescriptions":{}}},"id":136316,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11386:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11371:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136318,"nodeType":"ExpressionStatement","src":"11371:43:220"},{"expression":{"arguments":[{"id":136322,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"11451:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136323,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136300,"src":"11461:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136324,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11472:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"3332","id":136325,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11475:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"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_rational_32_by_1","typeString":"int_const 32"}],"expression":{"id":136319,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"11421:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":136321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11431:19:220","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":12239,"src":"11421:29:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint256)"}},"id":136326,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11421:57:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136327,"nodeType":"ExpressionStatement","src":"11421:57:220"}]},"documentation":{"id":136291,"nodeType":"StructuredDocumentation","src":"11213:55:220","text":" @notice Pop an element from percentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_pop","nameLocation":"11280:4:220","parameters":{"id":136294,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136293,"mutability":"mutable","name":"numPlayers","nameLocation":"11293:10:220","nodeType":"VariableDeclaration","scope":136329,"src":"11285:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136292,"name":"uint256","nodeType":"ElementaryTypeName","src":"11285:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11284:20:220"},"returnParameters":{"id":136295,"nodeType":"ParameterList","parameters":[],"src":"11314:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136392,"nodeType":"FunctionDefinition","src":"11558:395:220","nodes":[],"body":{"id":136391,"nodeType":"Block","src":"11648:305:220","nodes":[],"statements":[{"assignments":[136343],"declarations":[{"constant":false,"id":136343,"mutability":"mutable","name":"_keyTuple","nameLocation":"11671:9:220","nodeType":"VariableDeclaration","scope":136391,"src":"11654:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136341,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11654:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136342,"nodeType":"ArrayTypeName","src":"11654:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136349,"initialValue":{"arguments":[{"hexValue":"31","id":136347,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11697:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136346,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11683:13:220","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":136344,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11687:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136345,"nodeType":"ArrayTypeName","src":"11687:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136348,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11683:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11654:45:220"},{"expression":{"id":136360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136350,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136343,"src":"11705:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136352,"indexExpression":{"hexValue":"30","id":136351,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11715:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11705:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136357,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136332,"src":"11736:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136356,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11728:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136355,"name":"uint256","nodeType":"ElementaryTypeName","src":"11728:7:220","typeDescriptions":{}}},"id":136358,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11728:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136354,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11720:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136353,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11720:7:220","typeDescriptions":{}}},"id":136359,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11720:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11705:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136361,"nodeType":"ExpressionStatement","src":"11705:43:220"},{"id":136390,"nodeType":"UncheckedBlock","src":"11755:194:220","statements":[{"assignments":[136363],"declarations":[{"constant":false,"id":136363,"mutability":"mutable","name":"_encoded","nameLocation":"11786:8:220","nodeType":"VariableDeclaration","scope":136390,"src":"11773:21:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136362,"name":"bytes","nodeType":"ElementaryTypeName","src":"11773:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":136369,"initialValue":{"arguments":[{"components":[{"id":136366,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136336,"src":"11815:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136367,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11814:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136364,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"11797:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136365,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11801:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"11797:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136368,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11797:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"11773:52:220"},{"expression":{"arguments":[{"id":136373,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"11863:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136374,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136343,"src":"11873:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136375,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11884:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":136380,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":136378,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136334,"src":"11894:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":136379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11903:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"11894:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136377,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11887:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136376,"name":"uint40","nodeType":"ElementaryTypeName","src":"11887:6:220","typeDescriptions":{}}},"id":136381,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11887:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":136384,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136363,"src":"11915:8:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":136385,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11924:6:220","memberName":"length","nodeType":"MemberAccess","src":"11915:15:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136383,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11908:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136382,"name":"uint40","nodeType":"ElementaryTypeName","src":"11908:6:220","typeDescriptions":{}}},"id":136386,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11908:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":136387,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136363,"src":"11933:8:220","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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136370,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"11833:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":136372,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11845:17:220","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":13739,"src":"11833:29:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint40_$_t_uint40_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint40,uint40,bytes memory)"}},"id":136388,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11833:109:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136389,"nodeType":"ExpressionStatement","src":"11833:109:220"}]}]},"documentation":{"id":136330,"nodeType":"StructuredDocumentation","src":"11487:68:220","text":" @notice Update an element of percentages at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"updatePercentages","nameLocation":"11567:17:220","parameters":{"id":136337,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136332,"mutability":"mutable","name":"numPlayers","nameLocation":"11593:10:220","nodeType":"VariableDeclaration","scope":136392,"src":"11585:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136331,"name":"uint256","nodeType":"ElementaryTypeName","src":"11585:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136334,"mutability":"mutable","name":"_index","nameLocation":"11613:6:220","nodeType":"VariableDeclaration","scope":136392,"src":"11605:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136333,"name":"uint256","nodeType":"ElementaryTypeName","src":"11605:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136336,"mutability":"mutable","name":"_element","nameLocation":"11629:8:220","nodeType":"VariableDeclaration","scope":136392,"src":"11621:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136335,"name":"uint256","nodeType":"ElementaryTypeName","src":"11621:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11584:54:220"},"returnParameters":{"id":136338,"nodeType":"ParameterList","parameters":[],"src":"11648:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136455,"nodeType":"FunctionDefinition","src":"12028:394:220","nodes":[],"body":{"id":136454,"nodeType":"Block","src":"12119:303:220","nodes":[],"statements":[{"assignments":[136406],"declarations":[{"constant":false,"id":136406,"mutability":"mutable","name":"_keyTuple","nameLocation":"12142:9:220","nodeType":"VariableDeclaration","scope":136454,"src":"12125:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136404,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12125:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136405,"nodeType":"ArrayTypeName","src":"12125:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136412,"initialValue":{"arguments":[{"hexValue":"31","id":136410,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12168:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136409,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12154:13:220","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":136407,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12158:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136408,"nodeType":"ArrayTypeName","src":"12158:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136411,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12154:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12125:45:220"},{"expression":{"id":136423,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136413,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136406,"src":"12176:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136415,"indexExpression":{"hexValue":"30","id":136414,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12186:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12176:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136420,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136395,"src":"12207:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136419,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12199:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136418,"name":"uint256","nodeType":"ElementaryTypeName","src":"12199:7:220","typeDescriptions":{}}},"id":136421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12199:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136417,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12191:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136416,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12191:7:220","typeDescriptions":{}}},"id":136422,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12191:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12176:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136424,"nodeType":"ExpressionStatement","src":"12176:43:220"},{"id":136453,"nodeType":"UncheckedBlock","src":"12226:192:220","statements":[{"assignments":[136426],"declarations":[{"constant":false,"id":136426,"mutability":"mutable","name":"_encoded","nameLocation":"12257:8:220","nodeType":"VariableDeclaration","scope":136453,"src":"12244:21:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136425,"name":"bytes","nodeType":"ElementaryTypeName","src":"12244:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":136432,"initialValue":{"arguments":[{"components":[{"id":136429,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136399,"src":"12286:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136430,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12285:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136427,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"12268:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136428,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12272:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"12268:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136431,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12268:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"12244:52:220"},{"expression":{"arguments":[{"id":136436,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"12332:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136437,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136406,"src":"12342:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136438,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12353:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":136443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":136441,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136397,"src":"12363:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":136442,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12372:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"12363:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136440,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12356:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136439,"name":"uint40","nodeType":"ElementaryTypeName","src":"12356:6:220","typeDescriptions":{}}},"id":136444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12356:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":136447,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136426,"src":"12384:8:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":136448,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12393:6:220","memberName":"length","nodeType":"MemberAccess","src":"12384:15:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136446,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12377:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136445,"name":"uint40","nodeType":"ElementaryTypeName","src":"12377:6:220","typeDescriptions":{}}},"id":136449,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12377:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":136450,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136426,"src":"12402:8:220","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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136433,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"12304:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":136435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12314:17:220","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":11796,"src":"12304:27:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint40_$_t_uint40_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint40,uint40,bytes memory)"}},"id":136451,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12304:107:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136452,"nodeType":"ExpressionStatement","src":"12304:107:220"}]}]},"documentation":{"id":136393,"nodeType":"StructuredDocumentation","src":"11957:68:220","text":" @notice Update an element of percentages at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"_updatePercentages","nameLocation":"12037:18:220","parameters":{"id":136400,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136395,"mutability":"mutable","name":"numPlayers","nameLocation":"12064:10:220","nodeType":"VariableDeclaration","scope":136455,"src":"12056:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136394,"name":"uint256","nodeType":"ElementaryTypeName","src":"12056:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136397,"mutability":"mutable","name":"_index","nameLocation":"12084:6:220","nodeType":"VariableDeclaration","scope":136455,"src":"12076:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136396,"name":"uint256","nodeType":"ElementaryTypeName","src":"12076:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136399,"mutability":"mutable","name":"_element","nameLocation":"12100:8:220","nodeType":"VariableDeclaration","scope":136455,"src":"12092:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136398,"name":"uint256","nodeType":"ElementaryTypeName","src":"12092:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12055:54:220"},"returnParameters":{"id":136401,"nodeType":"ParameterList","parameters":[],"src":"12119:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136518,"nodeType":"FunctionDefinition","src":"12497:384:220","nodes":[],"body":{"id":136517,"nodeType":"Block","src":"12576:305:220","nodes":[],"statements":[{"assignments":[136469],"declarations":[{"constant":false,"id":136469,"mutability":"mutable","name":"_keyTuple","nameLocation":"12599:9:220","nodeType":"VariableDeclaration","scope":136517,"src":"12582:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136467,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12582:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136468,"nodeType":"ArrayTypeName","src":"12582:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136475,"initialValue":{"arguments":[{"hexValue":"31","id":136473,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12625:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136472,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12611:13:220","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":136470,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12615:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136471,"nodeType":"ArrayTypeName","src":"12615:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136474,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12611:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12582:45:220"},{"expression":{"id":136486,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136476,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136469,"src":"12633:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136478,"indexExpression":{"hexValue":"30","id":136477,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12643:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12633:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136483,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136458,"src":"12664:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136482,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12656:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136481,"name":"uint256","nodeType":"ElementaryTypeName","src":"12656:7:220","typeDescriptions":{}}},"id":136484,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12656:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136480,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12648:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136479,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12648:7:220","typeDescriptions":{}}},"id":136485,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12648:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12633:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136487,"nodeType":"ExpressionStatement","src":"12633:43:220"},{"id":136516,"nodeType":"UncheckedBlock","src":"12683:194:220","statements":[{"assignments":[136489],"declarations":[{"constant":false,"id":136489,"mutability":"mutable","name":"_encoded","nameLocation":"12714:8:220","nodeType":"VariableDeclaration","scope":136516,"src":"12701:21:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136488,"name":"bytes","nodeType":"ElementaryTypeName","src":"12701:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":136495,"initialValue":{"arguments":[{"components":[{"id":136492,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136462,"src":"12743:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136493,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12742:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136490,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"12725:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136491,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12729:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"12725:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136494,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12725:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"12701:52:220"},{"expression":{"arguments":[{"id":136499,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"12791:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136500,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136469,"src":"12801:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136501,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12812:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":136506,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":136504,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136460,"src":"12822:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":136505,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12831:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"12822:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136503,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12815:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136502,"name":"uint40","nodeType":"ElementaryTypeName","src":"12815:6:220","typeDescriptions":{}}},"id":136507,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12815:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":136510,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136489,"src":"12843:8:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":136511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12852:6:220","memberName":"length","nodeType":"MemberAccess","src":"12843:15:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136509,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12836:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136508,"name":"uint40","nodeType":"ElementaryTypeName","src":"12836:6:220","typeDescriptions":{}}},"id":136512,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12836:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":136513,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136489,"src":"12861:8:220","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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136496,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"12761:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":136498,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12773:17:220","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":13739,"src":"12761:29:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint40_$_t_uint40_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint40,uint40,bytes memory)"}},"id":136514,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12761:109:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136515,"nodeType":"ExpressionStatement","src":"12761:109:220"}]}]},"documentation":{"id":136456,"nodeType":"StructuredDocumentation","src":"12426:68:220","text":" @notice Update an element of percentages at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"update","nameLocation":"12506:6:220","parameters":{"id":136463,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136458,"mutability":"mutable","name":"numPlayers","nameLocation":"12521:10:220","nodeType":"VariableDeclaration","scope":136518,"src":"12513:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136457,"name":"uint256","nodeType":"ElementaryTypeName","src":"12513:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136460,"mutability":"mutable","name":"_index","nameLocation":"12541:6:220","nodeType":"VariableDeclaration","scope":136518,"src":"12533:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136459,"name":"uint256","nodeType":"ElementaryTypeName","src":"12533:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136462,"mutability":"mutable","name":"_element","nameLocation":"12557:8:220","nodeType":"VariableDeclaration","scope":136518,"src":"12549:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136461,"name":"uint256","nodeType":"ElementaryTypeName","src":"12549:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12512:54:220"},"returnParameters":{"id":136464,"nodeType":"ParameterList","parameters":[],"src":"12576:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136581,"nodeType":"FunctionDefinition","src":"12956:383:220","nodes":[],"body":{"id":136580,"nodeType":"Block","src":"13036:303:220","nodes":[],"statements":[{"assignments":[136532],"declarations":[{"constant":false,"id":136532,"mutability":"mutable","name":"_keyTuple","nameLocation":"13059:9:220","nodeType":"VariableDeclaration","scope":136580,"src":"13042:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136530,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13042:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136531,"nodeType":"ArrayTypeName","src":"13042:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136538,"initialValue":{"arguments":[{"hexValue":"31","id":136536,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13085:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136535,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13071:13:220","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":136533,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13075:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136534,"nodeType":"ArrayTypeName","src":"13075:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136537,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13071:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13042:45:220"},{"expression":{"id":136549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136539,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136532,"src":"13093:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136541,"indexExpression":{"hexValue":"30","id":136540,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13103:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13093:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136546,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136521,"src":"13124:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136545,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13116:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136544,"name":"uint256","nodeType":"ElementaryTypeName","src":"13116:7:220","typeDescriptions":{}}},"id":136547,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13116:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136543,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13108:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136542,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13108:7:220","typeDescriptions":{}}},"id":136548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13108:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13093:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136550,"nodeType":"ExpressionStatement","src":"13093:43:220"},{"id":136579,"nodeType":"UncheckedBlock","src":"13143:192:220","statements":[{"assignments":[136552],"declarations":[{"constant":false,"id":136552,"mutability":"mutable","name":"_encoded","nameLocation":"13174:8:220","nodeType":"VariableDeclaration","scope":136579,"src":"13161:21:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136551,"name":"bytes","nodeType":"ElementaryTypeName","src":"13161:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":136558,"initialValue":{"arguments":[{"components":[{"id":136555,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136525,"src":"13203:8:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":136556,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13202:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136553,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"13185:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136554,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13189:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"13185:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136557,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13185:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"13161:52:220"},{"expression":{"arguments":[{"id":136562,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"13249:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136563,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136532,"src":"13259:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":136564,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13270:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":136569,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":136567,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136523,"src":"13280:6:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":136568,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13289:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"13280:11:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136566,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13273:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136565,"name":"uint40","nodeType":"ElementaryTypeName","src":"13273:6:220","typeDescriptions":{}}},"id":136570,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13273:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":136573,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136552,"src":"13301:8:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":136574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13310:6:220","memberName":"length","nodeType":"MemberAccess","src":"13301:15:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136572,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13294:6:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":136571,"name":"uint40","nodeType":"ElementaryTypeName","src":"13294:6:220","typeDescriptions":{}}},"id":136575,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13294:23:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":136576,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136552,"src":"13319:8:220","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_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136559,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"13221:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":136561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13231:17:220","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":11796,"src":"13221:27:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_uint40_$_t_uint40_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,uint40,uint40,bytes memory)"}},"id":136577,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13221:107:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136578,"nodeType":"ExpressionStatement","src":"13221:107:220"}]}]},"documentation":{"id":136519,"nodeType":"StructuredDocumentation","src":"12885:68:220","text":" @notice Update an element of percentages at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"_update","nameLocation":"12965:7:220","parameters":{"id":136526,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136521,"mutability":"mutable","name":"numPlayers","nameLocation":"12981:10:220","nodeType":"VariableDeclaration","scope":136581,"src":"12973:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136520,"name":"uint256","nodeType":"ElementaryTypeName","src":"12973:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136523,"mutability":"mutable","name":"_index","nameLocation":"13001:6:220","nodeType":"VariableDeclaration","scope":136581,"src":"12993:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136522,"name":"uint256","nodeType":"ElementaryTypeName","src":"12993:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":136525,"mutability":"mutable","name":"_element","nameLocation":"13017:8:220","nodeType":"VariableDeclaration","scope":136581,"src":"13009:16:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136524,"name":"uint256","nodeType":"ElementaryTypeName","src":"13009:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12972:54:220"},"returnParameters":{"id":136527,"nodeType":"ParameterList","parameters":[],"src":"13036:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136618,"nodeType":"FunctionDefinition","src":"13400:208:220","nodes":[],"body":{"id":136617,"nodeType":"Block","src":"13451:157:220","nodes":[],"statements":[{"assignments":[136591],"declarations":[{"constant":false,"id":136591,"mutability":"mutable","name":"_keyTuple","nameLocation":"13474:9:220","nodeType":"VariableDeclaration","scope":136617,"src":"13457:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136589,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13457:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136590,"nodeType":"ArrayTypeName","src":"13457:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136597,"initialValue":{"arguments":[{"hexValue":"31","id":136595,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13500:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136594,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13486:13:220","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":136592,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13490:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136593,"nodeType":"ArrayTypeName","src":"13490:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136596,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13486:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13457:45:220"},{"expression":{"id":136608,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136598,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136591,"src":"13508:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136600,"indexExpression":{"hexValue":"30","id":136599,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13518:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13508:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136605,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136584,"src":"13539:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136604,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13531:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136603,"name":"uint256","nodeType":"ElementaryTypeName","src":"13531:7:220","typeDescriptions":{}}},"id":136606,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13531:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136602,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13523:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136601,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13523:7:220","typeDescriptions":{}}},"id":136607,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13523:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13508:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136609,"nodeType":"ExpressionStatement","src":"13508:43:220"},{"expression":{"arguments":[{"id":136613,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"13583:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136614,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136591,"src":"13593:9:220","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":136610,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"13558:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":136612,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13570:12:220","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":14077,"src":"13558:24:220","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory)"}},"id":136615,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13558:45:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136616,"nodeType":"ExpressionStatement","src":"13558:45:220"}]},"documentation":{"id":136582,"nodeType":"StructuredDocumentation","src":"13343:54:220","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"deleteRecord","nameLocation":"13409:12:220","parameters":{"id":136585,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136584,"mutability":"mutable","name":"numPlayers","nameLocation":"13430:10:220","nodeType":"VariableDeclaration","scope":136618,"src":"13422:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136583,"name":"uint256","nodeType":"ElementaryTypeName","src":"13422:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13421:20:220"},"returnParameters":{"id":136586,"nodeType":"ParameterList","parameters":[],"src":"13451:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136656,"nodeType":"FunctionDefinition","src":"13669:221:220","nodes":[],"body":{"id":136655,"nodeType":"Block","src":"13721:169:220","nodes":[],"statements":[{"assignments":[136628],"declarations":[{"constant":false,"id":136628,"mutability":"mutable","name":"_keyTuple","nameLocation":"13744:9:220","nodeType":"VariableDeclaration","scope":136655,"src":"13727:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136626,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13727:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136627,"nodeType":"ArrayTypeName","src":"13727:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136634,"initialValue":{"arguments":[{"hexValue":"31","id":136632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13770:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136631,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13756:13:220","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":136629,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13760:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136630,"nodeType":"ArrayTypeName","src":"13760:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136633,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13756:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13727:45:220"},{"expression":{"id":136645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136635,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136628,"src":"13778:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136637,"indexExpression":{"hexValue":"30","id":136636,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13788:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13778:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136642,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136621,"src":"13809:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136641,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13801:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136640,"name":"uint256","nodeType":"ElementaryTypeName","src":"13801:7:220","typeDescriptions":{}}},"id":136643,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13801:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136639,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13793:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136638,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13793:7:220","typeDescriptions":{}}},"id":136644,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13793:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13778:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136646,"nodeType":"ExpressionStatement","src":"13778:43:220"},{"expression":{"arguments":[{"id":136650,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135064,"src":"13851:8:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":136651,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136628,"src":"13861:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":136652,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":135071,"src":"13872:12:220","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":136647,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"13828:9:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":136649,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13838:12:220","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":12133,"src":"13828:22:220","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":136653,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13828:57:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":136654,"nodeType":"ExpressionStatement","src":"13828:57:220"}]},"documentation":{"id":136619,"nodeType":"StructuredDocumentation","src":"13612:54:220","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"_deleteRecord","nameLocation":"13678:13:220","parameters":{"id":136622,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136621,"mutability":"mutable","name":"numPlayers","nameLocation":"13700:10:220","nodeType":"VariableDeclaration","scope":136656,"src":"13692:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136620,"name":"uint256","nodeType":"ElementaryTypeName","src":"13692:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13691:20:220"},"returnParameters":{"id":136623,"nodeType":"ParameterList","parameters":[],"src":"13721:0:220"},"scope":136769,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":136678,"nodeType":"FunctionDefinition","src":"14081:295:220","nodes":[],"body":{"id":136677,"nodeType":"Block","src":"14189:187:220","nodes":[],"statements":[{"id":136676,"nodeType":"UncheckedBlock","src":"14282:90:220","statements":[{"expression":{"id":136674,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":136666,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136664,"src":"14300:15:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":136672,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":136669,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136660,"src":"14341:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"id":136670,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14353:6:220","memberName":"length","nodeType":"MemberAccess","src":"14341:18:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":136671,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14362:2:220","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"14341:23:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":136667,"name":"EncodedLengthsLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"14318:17:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodedLengthsLib_$7669_$","typeString":"type(library EncodedLengthsLib)"}},"id":136668,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14336:4:220","memberName":"pack","nodeType":"MemberAccess","referencedDeclaration":7314,"src":"14318:22:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (uint256) pure returns (EncodedLengths)"}},"id":136673,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14318:47:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"src":"14300:65:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":136675,"nodeType":"ExpressionStatement","src":"14300:65:220"}]}]},"documentation":{"id":136657,"nodeType":"StructuredDocumentation","src":"13894:184:220","text":" @notice Tightly pack dynamic data lengths using this table's schema.\n @return _encodedLengths The lengths of the dynamic fields (packed into a single bytes32 value)."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeLengths","nameLocation":"14090:13:220","parameters":{"id":136661,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136660,"mutability":"mutable","name":"percentages","nameLocation":"14121:11:220","nodeType":"VariableDeclaration","scope":136678,"src":"14104:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":136658,"name":"uint256","nodeType":"ElementaryTypeName","src":"14104:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":136659,"nodeType":"ArrayTypeName","src":"14104:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"14103:30:220"},"returnParameters":{"id":136665,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136664,"mutability":"mutable","name":"_encodedLengths","nameLocation":"14172:15:220","nodeType":"VariableDeclaration","scope":136678,"src":"14157:30:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":136663,"nodeType":"UserDefinedTypeName","pathNode":{"id":136662,"name":"EncodedLengths","nameLocations":["14157:14:220"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"14157:14:220"},"referencedDeclaration":7251,"src":"14157:14:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"14156:32:220"},"scope":136769,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":136697,"nodeType":"FunctionDefinition","src":"14541:159:220","nodes":[],"body":{"id":136696,"nodeType":"Block","src":"14631:69:220","nodes":[],"statements":[{"expression":{"arguments":[{"arguments":[{"components":[{"id":136691,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136682,"src":"14681:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":136692,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14680:13:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"expression":{"id":136689,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"14661:11:220","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":136690,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14673:6:220","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"14661:18:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256[] memory) pure returns (bytes memory)"}},"id":136693,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14661:33:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":136687,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"14644:3:220","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":136688,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14648:12:220","memberName":"encodePacked","nodeType":"MemberAccess","src":"14644:16:220","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":136694,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14644:51:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":136686,"id":136695,"nodeType":"Return","src":"14637:58:220"}]},"documentation":{"id":136679,"nodeType":"StructuredDocumentation","src":"14380:158:220","text":" @notice Tightly pack dynamic (variable length) data using this table's schema.\n @return The dynamic data, encoded into a sequence of bytes."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeDynamic","nameLocation":"14550:13:220","parameters":{"id":136683,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136682,"mutability":"mutable","name":"percentages","nameLocation":"14581:11:220","nodeType":"VariableDeclaration","scope":136697,"src":"14564:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":136680,"name":"uint256","nodeType":"ElementaryTypeName","src":"14564:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":136681,"nodeType":"ArrayTypeName","src":"14564:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"14563:30:220"},"returnParameters":{"id":136686,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136685,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":136697,"src":"14617:12:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136684,"name":"bytes","nodeType":"ElementaryTypeName","src":"14617:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14616:14:220"},"scope":136769,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":136733,"nodeType":"FunctionDefinition","src":"15009:331:220","nodes":[],"body":{"id":136732,"nodeType":"Block","src":"15122:218:220","nodes":[],"statements":[{"assignments":[136712],"declarations":[{"constant":false,"id":136712,"mutability":"mutable","name":"_staticData","nameLocation":"15141:11:220","nodeType":"VariableDeclaration","scope":136732,"src":"15128:24:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136711,"name":"bytes","nodeType":"ElementaryTypeName","src":"15128:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":136713,"nodeType":"VariableDeclarationStatement","src":"15128:24:220"},{"assignments":[136716],"declarations":[{"constant":false,"id":136716,"mutability":"mutable","name":"_encodedLengths","nameLocation":"15173:15:220","nodeType":"VariableDeclaration","scope":136732,"src":"15158:30:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":136715,"nodeType":"UserDefinedTypeName","pathNode":{"id":136714,"name":"EncodedLengths","nameLocations":["15158:14:220"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"15158:14:220"},"referencedDeclaration":7251,"src":"15158:14:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":136720,"initialValue":{"arguments":[{"id":136718,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136701,"src":"15205:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"id":136717,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136678,"src":"15191:13:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (uint256[] memory) pure returns (EncodedLengths)"}},"id":136719,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15191:26:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"15158:59:220"},{"assignments":[136722],"declarations":[{"constant":false,"id":136722,"mutability":"mutable","name":"_dynamicData","nameLocation":"15236:12:220","nodeType":"VariableDeclaration","scope":136732,"src":"15223:25:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136721,"name":"bytes","nodeType":"ElementaryTypeName","src":"15223:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":136726,"initialValue":{"arguments":[{"id":136724,"name":"percentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136701,"src":"15265:11:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"id":136723,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136697,"src":"15251:13:220","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint256_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256[] memory) pure returns (bytes memory)"}},"id":136725,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15251:26:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"15223:54:220"},{"expression":{"components":[{"id":136727,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136712,"src":"15292:11:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":136728,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136716,"src":"15305:15:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":136729,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136722,"src":"15322:12:220","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":136730,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15291:44:220","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"functionReturnParameters":136710,"id":136731,"nodeType":"Return","src":"15284:51:220"}]},"documentation":{"id":136698,"nodeType":"StructuredDocumentation","src":"14704:302:220","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":"15018:6:220","parameters":{"id":136702,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136701,"mutability":"mutable","name":"percentages","nameLocation":"15042:11:220","nodeType":"VariableDeclaration","scope":136733,"src":"15025:28:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":136699,"name":"uint256","nodeType":"ElementaryTypeName","src":"15025:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":136700,"nodeType":"ArrayTypeName","src":"15025:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"15024:30:220"},"returnParameters":{"id":136710,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136704,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":136733,"src":"15078:12:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136703,"name":"bytes","nodeType":"ElementaryTypeName","src":"15078:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":136707,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":136733,"src":"15092:14:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":136706,"nodeType":"UserDefinedTypeName","pathNode":{"id":136705,"name":"EncodedLengths","nameLocations":["15092:14:220"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"15092:14:220"},"referencedDeclaration":7251,"src":"15092:14:220","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":136709,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":136733,"src":"15108:12:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":136708,"name":"bytes","nodeType":"ElementaryTypeName","src":"15108:5:220","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"15077:44:220"},"scope":136769,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":136768,"nodeType":"FunctionDefinition","src":"15433:213:220","nodes":[],"body":{"id":136767,"nodeType":"Block","src":"15518:128:220","nodes":[],"statements":[{"assignments":[136746],"declarations":[{"constant":false,"id":136746,"mutability":"mutable","name":"_keyTuple","nameLocation":"15541:9:220","nodeType":"VariableDeclaration","scope":136767,"src":"15524:26:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136744,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15524:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136745,"nodeType":"ArrayTypeName","src":"15524:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":136752,"initialValue":{"arguments":[{"hexValue":"31","id":136750,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15567:1:220","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":136749,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"15553:13:220","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":136747,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15557:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136748,"nodeType":"ArrayTypeName","src":"15557:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":136751,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15553:16:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"15524:45:220"},{"expression":{"id":136763,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":136753,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136746,"src":"15575:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":136755,"indexExpression":{"hexValue":"30","id":136754,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15585:1:220","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15575:12:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":136760,"name":"numPlayers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136736,"src":"15606:10:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136759,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15598:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":136758,"name":"uint256","nodeType":"ElementaryTypeName","src":"15598:7:220","typeDescriptions":{}}},"id":136761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15598:19:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":136757,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15590:7:220","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":136756,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15590:7:220","typeDescriptions":{}}},"id":136762,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15590:28:220","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15575:43:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136764,"nodeType":"ExpressionStatement","src":"15575:43:220"},{"expression":{"id":136765,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":136746,"src":"15632:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"functionReturnParameters":136741,"id":136766,"nodeType":"Return","src":"15625:16:220"}]},"documentation":{"id":136734,"nodeType":"StructuredDocumentation","src":"15344:86:220","text":" @notice Encode keys as a bytes32 array using this table's field layout."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeKeyTuple","nameLocation":"15442:14:220","parameters":{"id":136737,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136736,"mutability":"mutable","name":"numPlayers","nameLocation":"15465:10:220","nodeType":"VariableDeclaration","scope":136768,"src":"15457:18:220","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":136735,"name":"uint256","nodeType":"ElementaryTypeName","src":"15457:7:220","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15456:20:220"},"returnParameters":{"id":136741,"nodeType":"ParameterList","parameters":[{"constant":false,"id":136740,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":136768,"src":"15500:16:220","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":136738,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15500:7:220","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":136739,"nodeType":"ArrayTypeName","src":"15500:9:220","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"15499:18:220"},"scope":136769,"stateMutability":"pure","virtual":false,"visibility":"internal"}],"abstract":false,"baseContracts":[],"canonicalName":"MatchRewardPercentages","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"linearizedBaseContracts":[136769],"name":"MatchRewardPercentages","nameLocation":"881:22:220","scope":136770,"usedErrors":[],"usedEvents":[]}],"license":"MIT"},"id":220}