{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b87adf5660f8c04beaeaf5b3ca3023e73d433254b12486d27dbe272a4f77d9d964736f6c63430008180033","sourceMap":"959:15594:223:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;959:15594:223;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b87adf5660f8c04beaeaf5b3ca3023e73d433254b12486d27dbe272a4f77d9d964736f6c63430008180033","sourceMap":"959:15594:223:-: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/MatchSweepstake.sol\":\"MatchSweepstake\"},\"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/MatchSweepstake.sol\":{\"keccak256\":\"0x116a1b8e65f1e388a9ec2959940370e4e1ad6202ae694f84a05ee5f9330471e2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a7977b6835cf0326a539a8df2ef50eaa1b842be1ed4115aa4fc1e2ba24468211\",\"dweb:/ipfs/QmbD3oWJLR2LqsjfUFbLZVpMq1iYfvA4Sa2actx3Qe9eH4\"]}},\"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/MatchSweepstake.sol":"MatchSweepstake"},"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/MatchSweepstake.sol":{"keccak256":"0x116a1b8e65f1e388a9ec2959940370e4e1ad6202ae694f84a05ee5f9330471e2","urls":["bzz-raw://a7977b6835cf0326a539a8df2ef50eaa1b842be1ed4115aa4fc1e2ba24468211","dweb:/ipfs/QmbD3oWJLR2LqsjfUFbLZVpMq1iYfvA4Sa2actx3Qe9eH4"],"license":"MIT"}},"version":1},"ast":{"absolutePath":"src/codegen/tables/MatchSweepstake.sol","id":140857,"exportedSymbols":{"Bytes":[7243],"EncodeArray":[26427],"EncodedLengths":[7251],"EncodedLengthsLib":[7669],"FieldLayout":[7885],"IStore":[8658],"MatchSweepstake":[140856],"MatchSweepstakeData":[139335],"Memory":[9482],"ResourceId":[9486],"Schema":[9581],"SliceLib":[10192],"StoreCore":[12701],"StoreSwitch":[14558]},"nodeType":"SourceUnit","src":"32:16522:223","nodes":[{"id":139306,"nodeType":"PragmaDirective","src":"32:25:223","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":139308,"nodeType":"ImportDirective","src":"134:58:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/IStore.sol","file":"@latticexyz/store/src/IStore.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":8659,"symbolAliases":[{"foreign":{"id":139307,"name":"IStore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8658,"src":"143:6:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139310,"nodeType":"ImportDirective","src":"193:68:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreSwitch.sol","file":"@latticexyz/store/src/StoreSwitch.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":14559,"symbolAliases":[{"foreign":{"id":139309,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"202:11:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139312,"nodeType":"ImportDirective","src":"262:64:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreCore.sol","file":"@latticexyz/store/src/StoreCore.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":13234,"symbolAliases":[{"foreign":{"id":139311,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"271:9:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139314,"nodeType":"ImportDirective","src":"327:56:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Bytes.sol","file":"@latticexyz/store/src/Bytes.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":7244,"symbolAliases":[{"foreign":{"id":139313,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"336:5:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139316,"nodeType":"ImportDirective","src":"384:58:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Memory.sol","file":"@latticexyz/store/src/Memory.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":9483,"symbolAliases":[{"foreign":{"id":139315,"name":"Memory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9482,"src":"393:6:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139318,"nodeType":"ImportDirective","src":"443:59:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Slice.sol","file":"@latticexyz/store/src/Slice.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":10290,"symbolAliases":[{"foreign":{"id":139317,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"452:8:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139320,"nodeType":"ImportDirective","src":"503:79:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol","file":"@latticexyz/store/src/tightcoder/EncodeArray.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":26428,"symbolAliases":[{"foreign":{"id":139319,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"512:11:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139322,"nodeType":"ImportDirective","src":"583:68:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/FieldLayout.sol","file":"@latticexyz/store/src/FieldLayout.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":8362,"symbolAliases":[{"foreign":{"id":139321,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"592:11:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139324,"nodeType":"ImportDirective","src":"652:58:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Schema.sol","file":"@latticexyz/store/src/Schema.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":10058,"symbolAliases":[{"foreign":{"id":139323,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"661:6:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139327,"nodeType":"ImportDirective","src":"711:93:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":139325,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"720:14:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":139326,"name":"EncodedLengthsLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"736:17:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139329,"nodeType":"ImportDirective","src":"805:66:223","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":140857,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":139328,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"814:10:223","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":139335,"nodeType":"StructDefinition","src":"873:84:223","nodes":[],"canonicalName":"MatchSweepstakeData","members":[{"constant":false,"id":139331,"mutability":"mutable","name":"entranceFee","nameLocation":"912:11:223","nodeType":"VariableDeclaration","scope":139335,"src":"904:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139330,"name":"uint256","nodeType":"ElementaryTypeName","src":"904:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":139334,"mutability":"mutable","name":"rewardPercentages","nameLocation":"937:17:223","nodeType":"VariableDeclaration","scope":139335,"src":"927:27:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":139332,"name":"uint256","nodeType":"ElementaryTypeName","src":"927:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":139333,"nodeType":"ArrayTypeName","src":"927:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"name":"MatchSweepstakeData","nameLocation":"880:19:223","scope":140857,"visibility":"public"},{"id":140856,"nodeType":"ContractDefinition","src":"959:15594:223","nodes":[{"id":139342,"nodeType":"VariableDeclaration","src":"1116:114:223","nodes":[],"constant":true,"mutability":"constant","name":"_tableId","nameLocation":"1136:8:223","scope":140856,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":139337,"nodeType":"UserDefinedTypeName","pathNode":{"id":139336,"name":"ResourceId","nameLocations":["1116:10:223"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"1116:10:223"},"referencedDeclaration":9486,"src":"1116:10:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"value":{"arguments":[{"hexValue":"307837343632303030303030303030303030303030303030303030303030303030303464363137343633363835333737363536353730373337343631366236353030","id":139340,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1163:66:223","typeDescriptions":{"typeIdentifier":"t_rational_52641441448007182715604765737134514260666911792618297096971124346180067878144_by_1","typeString":"int_const 5264...(69 digits omitted)...8144"},"value":"0x746200000000000000000000000000004d6174636853776565707374616b6500"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_52641441448007182715604765737134514260666911792618297096971124346180067878144_by_1","typeString":"int_const 5264...(69 digits omitted)...8144"}],"expression":{"id":139338,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1147:10:223","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":139339,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1158:4:223","memberName":"wrap","nodeType":"MemberAccess","src":"1147:15:223","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"function (bytes32) pure returns (ResourceId)"}},"id":139341,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1147:83:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"id":139349,"nodeType":"VariableDeclaration","src":"1235:124:223","nodes":[],"constant":true,"mutability":"constant","name":"_fieldLayout","nameLocation":"1256:12:223","scope":140856,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"},"typeName":{"id":139344,"nodeType":"UserDefinedTypeName","pathNode":{"id":139343,"name":"FieldLayout","nameLocations":["1235:11:223"],"nodeType":"IdentifierPath","referencedDeclaration":7885,"src":"1235:11:223"},"referencedDeclaration":7885,"src":"1235:11:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"value":{"arguments":[{"hexValue":"307830303230303130313230303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":139347,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1292:66:223","typeDescriptions":{"typeIdentifier":"t_rational_56546038149195089654922723780027642429016443650779452404590602207149162496_by_1","typeString":"int_const 5654...(66 digits omitted)...2496"},"value":"0x0020010120000000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56546038149195089654922723780027642429016443650779452404590602207149162496_by_1","typeString":"int_const 5654...(66 digits omitted)...2496"}],"expression":{"id":139345,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"1275:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"type(FieldLayout)"}},"id":139346,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1287:4:223","memberName":"wrap","nodeType":"MemberAccess","src":"1275:16:223","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"function (bytes32) pure returns (FieldLayout)"}},"id":139348,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1275:84:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"visibility":"internal"},{"id":139356,"nodeType":"VariableDeclaration","src":"1405:108:223","nodes":[],"constant":true,"mutability":"constant","name":"_keySchema","nameLocation":"1421:10:223","scope":140856,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":139351,"nodeType":"UserDefinedTypeName","pathNode":{"id":139350,"name":"Schema","nameLocations":["1405:6:223"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1405:6:223"},"referencedDeclaration":9581,"src":"1405:6:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303230303130303566303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":139354,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1446:66:223","typeDescriptions":{"typeIdentifier":"t_rational_56546017823922797623385691081848299480623006104026040098612130125130498048_by_1","typeString":"int_const 5654...(66 digits omitted)...8048"},"value":"0x002001005f000000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56546017823922797623385691081848299480623006104026040098612130125130498048_by_1","typeString":"int_const 5654...(66 digits omitted)...8048"}],"expression":{"id":139352,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1434:6:223","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":139353,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1441:4:223","memberName":"wrap","nodeType":"MemberAccess","src":"1434:11:223","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":139355,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1434:79:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":139363,"nodeType":"VariableDeclaration","src":"1571:110:223","nodes":[],"constant":true,"mutability":"constant","name":"_valueSchema","nameLocation":"1587:12:223","scope":140856,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":139358,"nodeType":"UserDefinedTypeName","pathNode":{"id":139357,"name":"Schema","nameLocations":["1571:6:223"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1571:6:223"},"referencedDeclaration":9581,"src":"1571:6:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303230303130313166383130303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":139361,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1614:66:223","typeDescriptions":{"typeIdentifier":"t_rational_56546038096950319959974431941607370882820565117577588670724441545830825984_by_1","typeString":"int_const 5654...(66 digits omitted)...5984"},"value":"0x002001011f810000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56546038096950319959974431941607370882820565117577588670724441545830825984_by_1","typeString":"int_const 5654...(66 digits omitted)...5984"}],"expression":{"id":139359,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1602:6:223","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":139360,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1609:4:223","memberName":"wrap","nodeType":"MemberAccess","src":"1602:11:223","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":139362,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1602:79:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":139385,"nodeType":"FunctionDefinition","src":"1816:142:223","nodes":[],"body":{"id":139384,"nodeType":"Block","src":"1888:70:223","nodes":[],"statements":[{"expression":{"id":139376,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":139370,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139368,"src":"1894:8:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"31","id":139374,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1918:1:223","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":139373,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"1905:12:223","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":139371,"name":"string","nodeType":"ElementaryTypeName","src":"1909:6:223","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":139372,"nodeType":"ArrayTypeName","src":"1909:8:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":139375,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1905:15:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"1894:26:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":139377,"nodeType":"ExpressionStatement","src":"1894:26:223"},{"expression":{"id":139382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139378,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139368,"src":"1926:8:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":139380,"indexExpression":{"hexValue":"30","id":139379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1935:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1926:11:223","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"6d61746368456e74697479","id":139381,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1940:13:223","typeDescriptions":{"typeIdentifier":"t_stringliteral_a5a14763ffd6cc960fdfbb54f44d13410e4b9eb376ae6bc6e1d44f4563474030","typeString":"literal_string \"matchEntity\""},"value":"matchEntity"},"src":"1926:27:223","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":139383,"nodeType":"ExpressionStatement","src":"1926:27:223"}]},"documentation":{"id":139364,"nodeType":"StructuredDocumentation","src":"1686:127:223","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":"1825:11:223","parameters":{"id":139365,"nodeType":"ParameterList","parameters":[],"src":"1836:2:223"},"returnParameters":{"id":139369,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139368,"mutability":"mutable","name":"keyNames","nameLocation":"1878:8:223","nodeType":"VariableDeclaration","scope":139385,"src":"1862:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":139366,"name":"string","nodeType":"ElementaryTypeName","src":"1862:6:223","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":139367,"nodeType":"ArrayTypeName","src":"1862:8:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"1861:26:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":139413,"nodeType":"FunctionDefinition","src":"2098:191:223","nodes":[],"body":{"id":139412,"nodeType":"Block","src":"2174:115:223","nodes":[],"statements":[{"expression":{"id":139398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":139392,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139390,"src":"2180:10:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"32","id":139396,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2206:1:223","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"}],"id":139395,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2193:12:223","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":139393,"name":"string","nodeType":"ElementaryTypeName","src":"2197:6:223","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":139394,"nodeType":"ArrayTypeName","src":"2197:8:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":139397,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2193:15:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"2180:28:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":139399,"nodeType":"ExpressionStatement","src":"2180:28:223"},{"expression":{"id":139404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139400,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139390,"src":"2214:10:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":139402,"indexExpression":{"hexValue":"30","id":139401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2225:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2214:13:223","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"656e7472616e6365466565","id":139403,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2230:13:223","typeDescriptions":{"typeIdentifier":"t_stringliteral_62d63afd212db2e13ecf3a09431912987845ebac2d5f0a06ec67c422ad3fdde3","typeString":"literal_string \"entranceFee\""},"value":"entranceFee"},"src":"2214:29:223","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":139405,"nodeType":"ExpressionStatement","src":"2214:29:223"},{"expression":{"id":139410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139406,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139390,"src":"2249:10:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":139408,"indexExpression":{"hexValue":"31","id":139407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2260:1:223","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2249:13:223","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"72657761726450657263656e7461676573","id":139409,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2265:19:223","typeDescriptions":{"typeIdentifier":"t_stringliteral_88d03efd724275f117df6ac5c0c0be0f52c3be7ded166c0059bc3840a11654d4","typeString":"literal_string \"rewardPercentages\""},"value":"rewardPercentages"},"src":"2249:35:223","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":139411,"nodeType":"ExpressionStatement","src":"2249:35:223"}]},"documentation":{"id":139386,"nodeType":"StructuredDocumentation","src":"1962:133:223","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":"2107:13:223","parameters":{"id":139387,"nodeType":"ParameterList","parameters":[],"src":"2120:2:223"},"returnParameters":{"id":139391,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139390,"mutability":"mutable","name":"fieldNames","nameLocation":"2162:10:223","nodeType":"VariableDeclaration","scope":139413,"src":"2146:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":139388,"name":"string","nodeType":"ElementaryTypeName","src":"2146:6:223","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":139389,"nodeType":"ArrayTypeName","src":"2146:8:223","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"2145:28:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":139431,"nodeType":"FunctionDefinition","src":"2354:147:223","nodes":[],"body":{"id":139430,"nodeType":"Block","src":"2383:118:223","nodes":[],"statements":[{"expression":{"arguments":[{"id":139420,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"2415:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139421,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"2425:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":139422,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139356,"src":"2439:10:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":139423,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139363,"src":"2451:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":139424,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139385,"src":"2465:11:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":139425,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2465:13:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":139426,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139413,"src":"2480:13:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":139427,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2480:15:223","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":139417,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"2389:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":139419,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2401:13:223","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":13582,"src":"2389:25:223","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":139428,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2389:107:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":139429,"nodeType":"ExpressionStatement","src":"2389:107:223"}]},"documentation":{"id":139414,"nodeType":"StructuredDocumentation","src":"2293:58:223","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"register","nameLocation":"2363:8:223","parameters":{"id":139415,"nodeType":"ParameterList","parameters":[],"src":"2371:2:223"},"returnParameters":{"id":139416,"nodeType":"ParameterList","parameters":[],"src":"2383:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":139449,"nodeType":"FunctionDefinition","src":"2566:146:223","nodes":[],"body":{"id":139448,"nodeType":"Block","src":"2596:116:223","nodes":[],"statements":[{"expression":{"arguments":[{"id":139438,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"2626:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139439,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"2636:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":139440,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139356,"src":"2650:10:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":139441,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139363,"src":"2662:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":139442,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139385,"src":"2676:11:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":139443,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2676:13:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":139444,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139413,"src":"2691:13:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":139445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2691:15:223","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":139435,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"2602:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":139437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2612:13:223","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":11243,"src":"2602:23:223","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":139446,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2602:105:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":139447,"nodeType":"ExpressionStatement","src":"2602:105:223"}]},"documentation":{"id":139432,"nodeType":"StructuredDocumentation","src":"2505:58:223","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"_register","nameLocation":"2575:9:223","parameters":{"id":139433,"nodeType":"ParameterList","parameters":[],"src":"2584:2:223"},"returnParameters":{"id":139434,"nodeType":"ParameterList","parameters":[],"src":"2596:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":139494,"nodeType":"FunctionDefinition","src":"2758:302:223","nodes":[],"body":{"id":139493,"nodeType":"Block","src":"2847:213:223","nodes":[],"statements":[{"assignments":[139461],"declarations":[{"constant":false,"id":139461,"mutability":"mutable","name":"_keyTuple","nameLocation":"2870:9:223","nodeType":"VariableDeclaration","scope":139493,"src":"2853:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139459,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2853:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139460,"nodeType":"ArrayTypeName","src":"2853:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139467,"initialValue":{"arguments":[{"hexValue":"31","id":139465,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2896:1:223","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":139464,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2882:13:223","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":139462,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2886:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139463,"nodeType":"ArrayTypeName","src":"2886:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139466,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2882:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"2853:45:223"},{"expression":{"id":139472,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139468,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139461,"src":"2904:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139470,"indexExpression":{"hexValue":"30","id":139469,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2914:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2904:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139471,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139452,"src":"2919:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"2904:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139473,"nodeType":"ExpressionStatement","src":"2904:26:223"},{"assignments":[139475],"declarations":[{"constant":false,"id":139475,"mutability":"mutable","name":"_blob","nameLocation":"2945:5:223","nodeType":"VariableDeclaration","scope":139493,"src":"2937:13:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139474,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2937:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":139483,"initialValue":{"arguments":[{"id":139478,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"2980:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139479,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139461,"src":"2990:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139480,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3001:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":139481,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"3004:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":139476,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"2953:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":139477,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2965:14:223","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"2953:26:223","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":139482,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2953:64:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"2937:80:223"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":139488,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139475,"src":"3047:5:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":139487,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3039:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":139486,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3039:7:223","typeDescriptions":{}}},"id":139489,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3039:14:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":139485,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3031:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":139484,"name":"uint256","nodeType":"ElementaryTypeName","src":"3031:7:223","typeDescriptions":{}}},"id":139490,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3031:23:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139491,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3030:25:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":139456,"id":139492,"nodeType":"Return","src":"3023:32:223"}]},"documentation":{"id":139450,"nodeType":"StructuredDocumentation","src":"2716:39:223","text":" @notice Get entranceFee."},"implemented":true,"kind":"function","modifiers":[],"name":"getEntranceFee","nameLocation":"2767:14:223","parameters":{"id":139453,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139452,"mutability":"mutable","name":"matchEntity","nameLocation":"2790:11:223","nodeType":"VariableDeclaration","scope":139494,"src":"2782:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139451,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2782:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2781:21:223"},"returnParameters":{"id":139456,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139455,"mutability":"mutable","name":"entranceFee","nameLocation":"2834:11:223","nodeType":"VariableDeclaration","scope":139494,"src":"2826:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139454,"name":"uint256","nodeType":"ElementaryTypeName","src":"2826:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2825:21:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":139539,"nodeType":"FunctionDefinition","src":"3106:301:223","nodes":[],"body":{"id":139538,"nodeType":"Block","src":"3196:211:223","nodes":[],"statements":[{"assignments":[139506],"declarations":[{"constant":false,"id":139506,"mutability":"mutable","name":"_keyTuple","nameLocation":"3219:9:223","nodeType":"VariableDeclaration","scope":139538,"src":"3202:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139504,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3202:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139505,"nodeType":"ArrayTypeName","src":"3202:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139512,"initialValue":{"arguments":[{"hexValue":"31","id":139510,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3245:1:223","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":139509,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3231:13:223","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":139507,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3235:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139508,"nodeType":"ArrayTypeName","src":"3235:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139511,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3231:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3202:45:223"},{"expression":{"id":139517,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139513,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139506,"src":"3253:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139515,"indexExpression":{"hexValue":"30","id":139514,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3263:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3253:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139516,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139497,"src":"3268:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3253:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139518,"nodeType":"ExpressionStatement","src":"3253:26:223"},{"assignments":[139520],"declarations":[{"constant":false,"id":139520,"mutability":"mutable","name":"_blob","nameLocation":"3294:5:223","nodeType":"VariableDeclaration","scope":139538,"src":"3286:13:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139519,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3286:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":139528,"initialValue":{"arguments":[{"id":139523,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"3327:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139524,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139506,"src":"3337:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139525,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3348:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":139526,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"3351:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":139521,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"3302:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":139522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3312:14:223","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"3302:24:223","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes32_$","typeString":"function (ResourceId,bytes32[] memory,uint8,FieldLayout) view returns (bytes32)"}},"id":139527,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3302:62:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"3286:78:223"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":139533,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139520,"src":"3394:5:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":139532,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3386:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":139531,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3386:7:223","typeDescriptions":{}}},"id":139534,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3386:14:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":139530,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3378:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":139529,"name":"uint256","nodeType":"ElementaryTypeName","src":"3378:7:223","typeDescriptions":{}}},"id":139535,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3378:23:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139536,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3377:25:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":139501,"id":139537,"nodeType":"Return","src":"3370:32:223"}]},"documentation":{"id":139495,"nodeType":"StructuredDocumentation","src":"3064:39:223","text":" @notice Get entranceFee."},"implemented":true,"kind":"function","modifiers":[],"name":"_getEntranceFee","nameLocation":"3115:15:223","parameters":{"id":139498,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139497,"mutability":"mutable","name":"matchEntity","nameLocation":"3139:11:223","nodeType":"VariableDeclaration","scope":139539,"src":"3131:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139496,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3131:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3130:21:223"},"returnParameters":{"id":139501,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139500,"mutability":"mutable","name":"entranceFee","nameLocation":"3183:11:223","nodeType":"VariableDeclaration","scope":139539,"src":"3175:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139499,"name":"uint256","nodeType":"ElementaryTypeName","src":"3175:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3174:21:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":139579,"nodeType":"FunctionDefinition","src":"3453:267:223","nodes":[],"body":{"id":139578,"nodeType":"Block","src":"3528:192:223","nodes":[],"statements":[{"assignments":[139551],"declarations":[{"constant":false,"id":139551,"mutability":"mutable","name":"_keyTuple","nameLocation":"3551:9:223","nodeType":"VariableDeclaration","scope":139578,"src":"3534:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139549,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3534:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139550,"nodeType":"ArrayTypeName","src":"3534:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139557,"initialValue":{"arguments":[{"hexValue":"31","id":139555,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3577:1:223","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":139554,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3563:13:223","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":139552,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3567:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139553,"nodeType":"ArrayTypeName","src":"3567:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139556,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3563:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3534:45:223"},{"expression":{"id":139562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139558,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139551,"src":"3585:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139560,"indexExpression":{"hexValue":"30","id":139559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3595:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3585:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139561,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139542,"src":"3600:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3585:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139563,"nodeType":"ExpressionStatement","src":"3585:26:223"},{"expression":{"arguments":[{"id":139567,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"3645:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139568,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139551,"src":"3655:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139569,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3666:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":139572,"name":"entranceFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139544,"src":"3687:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139573,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3686:13:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":139570,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"3669:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":139571,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3673:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"3669:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":139574,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3669:31:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":139575,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"3702:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":139564,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"3618:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":139566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3630:14:223","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"3618:26:223","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":139576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3618:97:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":139577,"nodeType":"ExpressionStatement","src":"3618:97:223"}]},"documentation":{"id":139540,"nodeType":"StructuredDocumentation","src":"3411:39:223","text":" @notice Set entranceFee."},"implemented":true,"kind":"function","modifiers":[],"name":"setEntranceFee","nameLocation":"3462:14:223","parameters":{"id":139545,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139542,"mutability":"mutable","name":"matchEntity","nameLocation":"3485:11:223","nodeType":"VariableDeclaration","scope":139579,"src":"3477:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139541,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3477:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":139544,"mutability":"mutable","name":"entranceFee","nameLocation":"3506:11:223","nodeType":"VariableDeclaration","scope":139579,"src":"3498:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139543,"name":"uint256","nodeType":"ElementaryTypeName","src":"3498:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3476:42:223"},"returnParameters":{"id":139546,"nodeType":"ParameterList","parameters":[],"src":"3528:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":139619,"nodeType":"FunctionDefinition","src":"3766:266:223","nodes":[],"body":{"id":139618,"nodeType":"Block","src":"3842:190:223","nodes":[],"statements":[{"assignments":[139591],"declarations":[{"constant":false,"id":139591,"mutability":"mutable","name":"_keyTuple","nameLocation":"3865:9:223","nodeType":"VariableDeclaration","scope":139618,"src":"3848:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139589,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3848:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139590,"nodeType":"ArrayTypeName","src":"3848:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139597,"initialValue":{"arguments":[{"hexValue":"31","id":139595,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3891:1:223","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":139594,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3877:13:223","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":139592,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3881:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139593,"nodeType":"ArrayTypeName","src":"3881:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139596,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3877:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3848:45:223"},{"expression":{"id":139602,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139598,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139591,"src":"3899:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139600,"indexExpression":{"hexValue":"30","id":139599,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3909:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3899:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139601,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139582,"src":"3914:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3899:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139603,"nodeType":"ExpressionStatement","src":"3899:26:223"},{"expression":{"arguments":[{"id":139607,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"3957:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139608,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139591,"src":"3967:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139609,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3978:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":139612,"name":"entranceFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139584,"src":"3999:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139613,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3998:13:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":139610,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"3981:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":139611,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3985:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"3981:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":139614,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3981:31:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":139615,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"4014:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":139604,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"3932:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":139606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3942:14:223","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"3932:24:223","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,uint8,bytes memory,FieldLayout)"}},"id":139616,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3932:95:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":139617,"nodeType":"ExpressionStatement","src":"3932:95:223"}]},"documentation":{"id":139580,"nodeType":"StructuredDocumentation","src":"3724:39:223","text":" @notice Set entranceFee."},"implemented":true,"kind":"function","modifiers":[],"name":"_setEntranceFee","nameLocation":"3775:15:223","parameters":{"id":139585,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139582,"mutability":"mutable","name":"matchEntity","nameLocation":"3799:11:223","nodeType":"VariableDeclaration","scope":139619,"src":"3791:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139581,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3791:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":139584,"mutability":"mutable","name":"entranceFee","nameLocation":"3820:11:223","nodeType":"VariableDeclaration","scope":139619,"src":"3812:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139583,"name":"uint256","nodeType":"ElementaryTypeName","src":"3812:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3790:42:223"},"returnParameters":{"id":139586,"nodeType":"ParameterList","parameters":[],"src":"3842:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":139666,"nodeType":"FunctionDefinition","src":"4084:358:223","nodes":[],"body":{"id":139665,"nodeType":"Block","src":"4194:248:223","nodes":[],"statements":[{"assignments":[139632],"declarations":[{"constant":false,"id":139632,"mutability":"mutable","name":"_keyTuple","nameLocation":"4217:9:223","nodeType":"VariableDeclaration","scope":139665,"src":"4200:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139630,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4200:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139631,"nodeType":"ArrayTypeName","src":"4200:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139638,"initialValue":{"arguments":[{"hexValue":"31","id":139636,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4243:1:223","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":139635,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4229:13:223","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":139633,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4233:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139634,"nodeType":"ArrayTypeName","src":"4233:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139637,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4229:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4200:45:223"},{"expression":{"id":139643,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139639,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139632,"src":"4251:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139641,"indexExpression":{"hexValue":"30","id":139640,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4261:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4251:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139642,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139622,"src":"4266:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4251:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139644,"nodeType":"ExpressionStatement","src":"4251:26:223"},{"assignments":[139646],"declarations":[{"constant":false,"id":139646,"mutability":"mutable","name":"_blob","nameLocation":"4297:5:223","nodeType":"VariableDeclaration","scope":139665,"src":"4284:18:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":139645,"name":"bytes","nodeType":"ElementaryTypeName","src":"4284:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":139653,"initialValue":{"arguments":[{"id":139649,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"4333:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139650,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139632,"src":"4343:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139651,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4354:1:223","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":139647,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"4305:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":139648,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4317:15:223","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":14364,"src":"4305:27:223","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":139652,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4305:51:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"4284:72:223"},{"expression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":139656,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139646,"src":"4391:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":139657,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4398:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"id":139658,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139646,"src":"4401:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":139659,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4407:6:223","memberName":"length","nodeType":"MemberAccess","src":"4401:12:223","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":139654,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"4370:8:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":139655,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4379:11:223","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"4370:20:223","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":139660,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4370:44:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":139661,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4415:19:223","memberName":"decodeArray_uint256","nodeType":"MemberAccess","referencedDeclaration":22484,"src":"4370:64:223","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":139662,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4370:66:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":139663,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4369:68:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":139627,"id":139664,"nodeType":"Return","src":"4362:75:223"}]},"documentation":{"id":139620,"nodeType":"StructuredDocumentation","src":"4036:45:223","text":" @notice Get rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"getRewardPercentages","nameLocation":"4093:20:223","parameters":{"id":139623,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139622,"mutability":"mutable","name":"matchEntity","nameLocation":"4122:11:223","nodeType":"VariableDeclaration","scope":139666,"src":"4114:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139621,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4114:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4113:21:223"},"returnParameters":{"id":139627,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139626,"mutability":"mutable","name":"rewardPercentages","nameLocation":"4175:17:223","nodeType":"VariableDeclaration","scope":139666,"src":"4158:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":139624,"name":"uint256","nodeType":"ElementaryTypeName","src":"4158:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":139625,"nodeType":"ArrayTypeName","src":"4158:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"4157:36:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":139713,"nodeType":"FunctionDefinition","src":"4494:357:223","nodes":[],"body":{"id":139712,"nodeType":"Block","src":"4605:246:223","nodes":[],"statements":[{"assignments":[139679],"declarations":[{"constant":false,"id":139679,"mutability":"mutable","name":"_keyTuple","nameLocation":"4628:9:223","nodeType":"VariableDeclaration","scope":139712,"src":"4611:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139677,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4611:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139678,"nodeType":"ArrayTypeName","src":"4611:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139685,"initialValue":{"arguments":[{"hexValue":"31","id":139683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4654:1:223","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":139682,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4640:13:223","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":139680,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4644:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139681,"nodeType":"ArrayTypeName","src":"4644:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139684,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4640:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4611:45:223"},{"expression":{"id":139690,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139686,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139679,"src":"4662:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139688,"indexExpression":{"hexValue":"30","id":139687,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4672:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4662:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139689,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139669,"src":"4677:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4662:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139691,"nodeType":"ExpressionStatement","src":"4662:26:223"},{"assignments":[139693],"declarations":[{"constant":false,"id":139693,"mutability":"mutable","name":"_blob","nameLocation":"4708:5:223","nodeType":"VariableDeclaration","scope":139712,"src":"4695:18:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":139692,"name":"bytes","nodeType":"ElementaryTypeName","src":"4695:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":139700,"initialValue":{"arguments":[{"id":139696,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"4742:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139697,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139679,"src":"4752:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139698,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4763:1:223","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":139694,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"4716:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":139695,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4726:15:223","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":12517,"src":"4716:25:223","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":139699,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4716:49:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"4695:70:223"},{"expression":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":139703,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139693,"src":"4800:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":139704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4807:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"id":139705,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139693,"src":"4810:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":139706,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4816:6:223","memberName":"length","nodeType":"MemberAccess","src":"4810:12:223","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":139701,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"4779:8:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":139702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4788:11:223","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"4779:20:223","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":139707,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4779:44:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":139708,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4824:19:223","memberName":"decodeArray_uint256","nodeType":"MemberAccess","referencedDeclaration":22484,"src":"4779:64:223","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":139709,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4779:66:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":139710,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4778:68:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":139674,"id":139711,"nodeType":"Return","src":"4771:75:223"}]},"documentation":{"id":139667,"nodeType":"StructuredDocumentation","src":"4446:45:223","text":" @notice Get rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_getRewardPercentages","nameLocation":"4503:21:223","parameters":{"id":139670,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139669,"mutability":"mutable","name":"matchEntity","nameLocation":"4533:11:223","nodeType":"VariableDeclaration","scope":139713,"src":"4525:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139668,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4525:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4524:21:223"},"returnParameters":{"id":139674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139673,"mutability":"mutable","name":"rewardPercentages","nameLocation":"4586:17:223","nodeType":"VariableDeclaration","scope":139713,"src":"4569:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":139671,"name":"uint256","nodeType":"ElementaryTypeName","src":"4569:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":139672,"nodeType":"ArrayTypeName","src":"4569:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"4568:36:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":139753,"nodeType":"FunctionDefinition","src":"4903:283:223","nodes":[],"body":{"id":139752,"nodeType":"Block","src":"4999:187:223","nodes":[],"statements":[{"assignments":[139726],"declarations":[{"constant":false,"id":139726,"mutability":"mutable","name":"_keyTuple","nameLocation":"5022:9:223","nodeType":"VariableDeclaration","scope":139752,"src":"5005:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139724,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5005:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139725,"nodeType":"ArrayTypeName","src":"5005:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139732,"initialValue":{"arguments":[{"hexValue":"31","id":139730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5048:1:223","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":139729,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5034:13:223","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":139727,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5038:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139728,"nodeType":"ArrayTypeName","src":"5038:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139731,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5034:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5005:45:223"},{"expression":{"id":139737,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139733,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139726,"src":"5056:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139735,"indexExpression":{"hexValue":"30","id":139734,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5066:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5056:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139736,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139716,"src":"5071:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5056:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139738,"nodeType":"ExpressionStatement","src":"5056:26:223"},{"expression":{"arguments":[{"id":139742,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"5117:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139743,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139726,"src":"5127:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139744,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5138:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":139747,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139719,"src":"5161:17:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":139748,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5160:19:223","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":139745,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"5141:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":139746,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5153:6:223","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"5141:18:223","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":139749,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5141:39:223","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":139739,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5089:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":139741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5101:15:223","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":13941,"src":"5089:27:223","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":139750,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5089:92:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":139751,"nodeType":"ExpressionStatement","src":"5089:92:223"}]},"documentation":{"id":139714,"nodeType":"StructuredDocumentation","src":"4855:45:223","text":" @notice Set rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"setRewardPercentages","nameLocation":"4912:20:223","parameters":{"id":139720,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139716,"mutability":"mutable","name":"matchEntity","nameLocation":"4941:11:223","nodeType":"VariableDeclaration","scope":139753,"src":"4933:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139715,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4933:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":139719,"mutability":"mutable","name":"rewardPercentages","nameLocation":"4971:17:223","nodeType":"VariableDeclaration","scope":139753,"src":"4954:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":139717,"name":"uint256","nodeType":"ElementaryTypeName","src":"4954:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":139718,"nodeType":"ArrayTypeName","src":"4954:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"4932:57:223"},"returnParameters":{"id":139721,"nodeType":"ParameterList","parameters":[],"src":"4999:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":139793,"nodeType":"FunctionDefinition","src":"5238:282:223","nodes":[],"body":{"id":139792,"nodeType":"Block","src":"5335:185:223","nodes":[],"statements":[{"assignments":[139766],"declarations":[{"constant":false,"id":139766,"mutability":"mutable","name":"_keyTuple","nameLocation":"5358:9:223","nodeType":"VariableDeclaration","scope":139792,"src":"5341:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139764,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5341:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139765,"nodeType":"ArrayTypeName","src":"5341:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139772,"initialValue":{"arguments":[{"hexValue":"31","id":139770,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5384:1:223","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":139769,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5370:13:223","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":139767,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5374:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139768,"nodeType":"ArrayTypeName","src":"5374:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139771,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5370:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5341:45:223"},{"expression":{"id":139777,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139773,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139766,"src":"5392:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139775,"indexExpression":{"hexValue":"30","id":139774,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5402:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5392:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139776,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139756,"src":"5407:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5392:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139778,"nodeType":"ExpressionStatement","src":"5392:26:223"},{"expression":{"arguments":[{"id":139782,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"5451:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139783,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139766,"src":"5461:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139784,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5472:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":139787,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139759,"src":"5495:17:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":139788,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5494:19:223","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":139785,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"5475:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":139786,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5487:6:223","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"5475:18:223","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":139789,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5475:39:223","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":139779,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"5425:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":139781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5435:15:223","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":11947,"src":"5425:25:223","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":139790,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5425:90:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":139791,"nodeType":"ExpressionStatement","src":"5425:90:223"}]},"documentation":{"id":139754,"nodeType":"StructuredDocumentation","src":"5190:45:223","text":" @notice Set rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_setRewardPercentages","nameLocation":"5247:21:223","parameters":{"id":139760,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139756,"mutability":"mutable","name":"matchEntity","nameLocation":"5277:11:223","nodeType":"VariableDeclaration","scope":139793,"src":"5269:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139755,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5269:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":139759,"mutability":"mutable","name":"rewardPercentages","nameLocation":"5307:17:223","nodeType":"VariableDeclaration","scope":139793,"src":"5290:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":139757,"name":"uint256","nodeType":"ElementaryTypeName","src":"5290:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":139758,"nodeType":"ArrayTypeName","src":"5290:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"5268:57:223"},"returnParameters":{"id":139761,"nodeType":"ParameterList","parameters":[],"src":"5335:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":139833,"nodeType":"FunctionDefinition","src":"5586:313:223","nodes":[],"body":{"id":139832,"nodeType":"Block","src":"5672:227:223","nodes":[],"statements":[{"assignments":[139805],"declarations":[{"constant":false,"id":139805,"mutability":"mutable","name":"_keyTuple","nameLocation":"5695:9:223","nodeType":"VariableDeclaration","scope":139832,"src":"5678:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139803,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5678:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139804,"nodeType":"ArrayTypeName","src":"5678:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139811,"initialValue":{"arguments":[{"hexValue":"31","id":139809,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5721:1:223","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":139808,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5707:13:223","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":139806,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5711:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139807,"nodeType":"ArrayTypeName","src":"5711:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139810,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5707:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5678:45:223"},{"expression":{"id":139816,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139812,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139805,"src":"5729:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139814,"indexExpression":{"hexValue":"30","id":139813,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5739:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5729:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139815,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139796,"src":"5744:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5729:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139817,"nodeType":"ExpressionStatement","src":"5729:26:223"},{"assignments":[139819],"declarations":[{"constant":false,"id":139819,"mutability":"mutable","name":"_byteLength","nameLocation":"5770:11:223","nodeType":"VariableDeclaration","scope":139832,"src":"5762:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139818,"name":"uint256","nodeType":"ElementaryTypeName","src":"5762:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":139826,"initialValue":{"arguments":[{"id":139822,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"5818:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139823,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139805,"src":"5828:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139824,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5839:1:223","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":139820,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5784:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":139821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5796:21:223","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":14504,"src":"5784:33:223","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":139825,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5784:57:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5762:79:223"},{"id":139831,"nodeType":"UncheckedBlock","src":"5847:48:223","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139829,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":139827,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139819,"src":"5872:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"3332","id":139828,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5886:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"5872:16:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":139800,"id":139830,"nodeType":"Return","src":"5865:23:223"}]}]},"documentation":{"id":139794,"nodeType":"StructuredDocumentation","src":"5524:59:223","text":" @notice Get the length of rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"lengthRewardPercentages","nameLocation":"5595:23:223","parameters":{"id":139797,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139796,"mutability":"mutable","name":"matchEntity","nameLocation":"5627:11:223","nodeType":"VariableDeclaration","scope":139833,"src":"5619:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139795,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5619:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5618:21:223"},"returnParameters":{"id":139800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139799,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":139833,"src":"5663:7:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139798,"name":"uint256","nodeType":"ElementaryTypeName","src":"5663:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5662:9:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":139873,"nodeType":"FunctionDefinition","src":"5965:312:223","nodes":[],"body":{"id":139872,"nodeType":"Block","src":"6052:225:223","nodes":[],"statements":[{"assignments":[139845],"declarations":[{"constant":false,"id":139845,"mutability":"mutable","name":"_keyTuple","nameLocation":"6075:9:223","nodeType":"VariableDeclaration","scope":139872,"src":"6058:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139843,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6058:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139844,"nodeType":"ArrayTypeName","src":"6058:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139851,"initialValue":{"arguments":[{"hexValue":"31","id":139849,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6101:1:223","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":139848,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6087:13:223","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":139846,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6091:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139847,"nodeType":"ArrayTypeName","src":"6091:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139850,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6087:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6058:45:223"},{"expression":{"id":139856,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139852,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139845,"src":"6109:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139854,"indexExpression":{"hexValue":"30","id":139853,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6119:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6109:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139855,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139836,"src":"6124:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6109:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139857,"nodeType":"ExpressionStatement","src":"6109:26:223"},{"assignments":[139859],"declarations":[{"constant":false,"id":139859,"mutability":"mutable","name":"_byteLength","nameLocation":"6150:11:223","nodeType":"VariableDeclaration","scope":139872,"src":"6142:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139858,"name":"uint256","nodeType":"ElementaryTypeName","src":"6142:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":139866,"initialValue":{"arguments":[{"id":139862,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"6196:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139863,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139845,"src":"6206:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6217:1:223","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":139860,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"6164:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":139861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6174:21:223","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":12611,"src":"6164:31:223","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":139865,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6164:55:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6142:77:223"},{"id":139871,"nodeType":"UncheckedBlock","src":"6225:48:223","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":139867,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139859,"src":"6250:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"3332","id":139868,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6264:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"6250:16:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":139840,"id":139870,"nodeType":"Return","src":"6243:23:223"}]}]},"documentation":{"id":139834,"nodeType":"StructuredDocumentation","src":"5903:59:223","text":" @notice Get the length of rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_lengthRewardPercentages","nameLocation":"5974:24:223","parameters":{"id":139837,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139836,"mutability":"mutable","name":"matchEntity","nameLocation":"6007:11:223","nodeType":"VariableDeclaration","scope":139873,"src":"5999:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139835,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5999:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5998:21:223"},"returnParameters":{"id":139840,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139839,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":139873,"src":"6043:7:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139838,"name":"uint256","nodeType":"ElementaryTypeName","src":"6043:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6042:9:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":139929,"nodeType":"FunctionDefinition","src":"6430:371:223","nodes":[],"body":{"id":139928,"nodeType":"Block","src":"6533:268:223","nodes":[],"statements":[{"assignments":[139887],"declarations":[{"constant":false,"id":139887,"mutability":"mutable","name":"_keyTuple","nameLocation":"6556:9:223","nodeType":"VariableDeclaration","scope":139928,"src":"6539:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139885,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6539:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139886,"nodeType":"ArrayTypeName","src":"6539:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139893,"initialValue":{"arguments":[{"hexValue":"31","id":139891,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6582:1:223","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":139890,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6568:13:223","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":139888,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6572:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139889,"nodeType":"ArrayTypeName","src":"6572:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139892,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6568:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6539:45:223"},{"expression":{"id":139898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139894,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139887,"src":"6590:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139896,"indexExpression":{"hexValue":"30","id":139895,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6600:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6590:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139897,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139876,"src":"6605:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6590:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139899,"nodeType":"ExpressionStatement","src":"6590:26:223"},{"id":139927,"nodeType":"UncheckedBlock","src":"6623:174:223","statements":[{"assignments":[139901],"declarations":[{"constant":false,"id":139901,"mutability":"mutable","name":"_blob","nameLocation":"6654:5:223","nodeType":"VariableDeclaration","scope":139927,"src":"6641:18:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":139900,"name":"bytes","nodeType":"ElementaryTypeName","src":"6641:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":139917,"initialValue":{"arguments":[{"id":139904,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"6695:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139905,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139887,"src":"6705:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139906,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6716:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":139907,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139878,"src":"6719:6:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":139908,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6728:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"6719:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":139910,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139878,"src":"6733:6:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":139911,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6742:1:223","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6733:10:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139913,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6732:12:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":139914,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6747:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"6732:17:223","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":139902,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"6662:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":139903,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6674:20:223","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":14557,"src":"6662:32:223","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":139916,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6662:88:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"6641:109:223"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":139922,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139901,"src":"6782:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":139921,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6774:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":139920,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6774:7:223","typeDescriptions":{}}},"id":139923,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6774:14:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":139919,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6766:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":139918,"name":"uint256","nodeType":"ElementaryTypeName","src":"6766:7:223","typeDescriptions":{}}},"id":139924,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6766:23:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139925,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6765:25:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":139882,"id":139926,"nodeType":"Return","src":"6758:32:223"}]}]},"documentation":{"id":139874,"nodeType":"StructuredDocumentation","src":"6281:146:223","text":" @notice Get an item of rewardPercentages.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"getItemRewardPercentages","nameLocation":"6439:24:223","parameters":{"id":139879,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139876,"mutability":"mutable","name":"matchEntity","nameLocation":"6472:11:223","nodeType":"VariableDeclaration","scope":139929,"src":"6464:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139875,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6464:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":139878,"mutability":"mutable","name":"_index","nameLocation":"6493:6:223","nodeType":"VariableDeclaration","scope":139929,"src":"6485:14:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139877,"name":"uint256","nodeType":"ElementaryTypeName","src":"6485:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6463:37:223"},"returnParameters":{"id":139882,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139881,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":139929,"src":"6524:7:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139880,"name":"uint256","nodeType":"ElementaryTypeName","src":"6524:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6523:9:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":139985,"nodeType":"FunctionDefinition","src":"6954:370:223","nodes":[],"body":{"id":139984,"nodeType":"Block","src":"7058:266:223","nodes":[],"statements":[{"assignments":[139943],"declarations":[{"constant":false,"id":139943,"mutability":"mutable","name":"_keyTuple","nameLocation":"7081:9:223","nodeType":"VariableDeclaration","scope":139984,"src":"7064:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139941,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7064:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139942,"nodeType":"ArrayTypeName","src":"7064:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":139949,"initialValue":{"arguments":[{"hexValue":"31","id":139947,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7107:1:223","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":139946,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7093:13:223","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":139944,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7097:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139945,"nodeType":"ArrayTypeName","src":"7097:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":139948,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7093:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7064:45:223"},{"expression":{"id":139954,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":139950,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139943,"src":"7115:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":139952,"indexExpression":{"hexValue":"30","id":139951,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7125:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7115:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":139953,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139932,"src":"7130:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7115:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139955,"nodeType":"ExpressionStatement","src":"7115:26:223"},{"id":139983,"nodeType":"UncheckedBlock","src":"7148:172:223","statements":[{"assignments":[139957],"declarations":[{"constant":false,"id":139957,"mutability":"mutable","name":"_blob","nameLocation":"7179:5:223","nodeType":"VariableDeclaration","scope":139983,"src":"7166:18:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":139956,"name":"bytes","nodeType":"ElementaryTypeName","src":"7166:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":139973,"initialValue":{"arguments":[{"id":139960,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"7218:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":139961,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139943,"src":"7228:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":139962,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7239:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139965,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":139963,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139934,"src":"7242:6:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":139964,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7251:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"7242:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139971,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":139968,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":139966,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139934,"src":"7256:6:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":139967,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7265:1:223","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7256:10:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139969,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7255:12:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":139970,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7270:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"7255:17:223","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":139958,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"7187:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":139959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7197:20:223","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":12700,"src":"7187:30:223","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":139972,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7187:86:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"7166:107:223"},{"expression":{"components":[{"arguments":[{"arguments":[{"id":139978,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139957,"src":"7305:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":139977,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7297:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":139976,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7297:7:223","typeDescriptions":{}}},"id":139979,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7297:14:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":139975,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7289:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":139974,"name":"uint256","nodeType":"ElementaryTypeName","src":"7289:7:223","typeDescriptions":{}}},"id":139980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7289:23:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":139981,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7288:25:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":139938,"id":139982,"nodeType":"Return","src":"7281:32:223"}]}]},"documentation":{"id":139930,"nodeType":"StructuredDocumentation","src":"6805:146:223","text":" @notice Get an item of rewardPercentages.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"_getItemRewardPercentages","nameLocation":"6963:25:223","parameters":{"id":139935,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139932,"mutability":"mutable","name":"matchEntity","nameLocation":"6997:11:223","nodeType":"VariableDeclaration","scope":139985,"src":"6989:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139931,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6989:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":139934,"mutability":"mutable","name":"_index","nameLocation":"7018:6:223","nodeType":"VariableDeclaration","scope":139985,"src":"7010:14:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139933,"name":"uint256","nodeType":"ElementaryTypeName","src":"7010:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6988:37:223"},"returnParameters":{"id":139938,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139937,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":139985,"src":"7049:7:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139936,"name":"uint256","nodeType":"ElementaryTypeName","src":"7049:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7048:9:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":140024,"nodeType":"FunctionDefinition","src":"7391:258:223","nodes":[],"body":{"id":140023,"nodeType":"Block","src":"7470:179:223","nodes":[],"statements":[{"assignments":[139997],"declarations":[{"constant":false,"id":139997,"mutability":"mutable","name":"_keyTuple","nameLocation":"7493:9:223","nodeType":"VariableDeclaration","scope":140023,"src":"7476:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":139995,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7476:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139996,"nodeType":"ArrayTypeName","src":"7476:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140003,"initialValue":{"arguments":[{"hexValue":"31","id":140001,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7519:1:223","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":140000,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7505:13:223","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":139998,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7509:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":139999,"nodeType":"ArrayTypeName","src":"7509:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140002,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7505:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7476:45:223"},{"expression":{"id":140008,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140004,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139997,"src":"7527:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140006,"indexExpression":{"hexValue":"30","id":140005,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7537:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7527:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140007,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139988,"src":"7542:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7527:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140009,"nodeType":"ExpressionStatement","src":"7527:26:223"},{"expression":{"arguments":[{"id":140013,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"7591:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140014,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139997,"src":"7601:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":140015,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7612:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":140018,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139990,"src":"7633:8:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":140019,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7632:10:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":140016,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"7615:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":140017,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7619:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"7615:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":140020,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7615:28:223","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":140010,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"7560:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":140012,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7572:18:223","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":13989,"src":"7560:30:223","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":140021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7560:84:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140022,"nodeType":"ExpressionStatement","src":"7560:84:223"}]},"documentation":{"id":139986,"nodeType":"StructuredDocumentation","src":"7328:60:223","text":" @notice Push an element to rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"pushRewardPercentages","nameLocation":"7400:21:223","parameters":{"id":139991,"nodeType":"ParameterList","parameters":[{"constant":false,"id":139988,"mutability":"mutable","name":"matchEntity","nameLocation":"7430:11:223","nodeType":"VariableDeclaration","scope":140024,"src":"7422:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":139987,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7422:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":139990,"mutability":"mutable","name":"_element","nameLocation":"7451:8:223","nodeType":"VariableDeclaration","scope":140024,"src":"7443:16:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":139989,"name":"uint256","nodeType":"ElementaryTypeName","src":"7443:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7421:39:223"},"returnParameters":{"id":139992,"nodeType":"ParameterList","parameters":[],"src":"7470:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140063,"nodeType":"FunctionDefinition","src":"7716:257:223","nodes":[],"body":{"id":140062,"nodeType":"Block","src":"7796:177:223","nodes":[],"statements":[{"assignments":[140036],"declarations":[{"constant":false,"id":140036,"mutability":"mutable","name":"_keyTuple","nameLocation":"7819:9:223","nodeType":"VariableDeclaration","scope":140062,"src":"7802:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140034,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7802:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140035,"nodeType":"ArrayTypeName","src":"7802:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140042,"initialValue":{"arguments":[{"hexValue":"31","id":140040,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7845:1:223","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":140039,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7831:13:223","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":140037,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7835:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140038,"nodeType":"ArrayTypeName","src":"7835:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140041,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7831:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7802:45:223"},{"expression":{"id":140047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140043,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140036,"src":"7853:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140045,"indexExpression":{"hexValue":"30","id":140044,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7863:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7853:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140046,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140027,"src":"7868:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7853:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140048,"nodeType":"ExpressionStatement","src":"7853:26:223"},{"expression":{"arguments":[{"id":140052,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"7915:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140053,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140036,"src":"7925:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":140054,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7936:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":140057,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140029,"src":"7957:8:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":140058,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7956:10:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":140055,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"7939:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":140056,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7943:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"7939:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":140059,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7939:28:223","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":140049,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"7886:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":140051,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7896:18:223","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":12182,"src":"7886:28:223","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":140060,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7886:82:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140061,"nodeType":"ExpressionStatement","src":"7886:82:223"}]},"documentation":{"id":140025,"nodeType":"StructuredDocumentation","src":"7653:60:223","text":" @notice Push an element to rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_pushRewardPercentages","nameLocation":"7725:22:223","parameters":{"id":140030,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140027,"mutability":"mutable","name":"matchEntity","nameLocation":"7756:11:223","nodeType":"VariableDeclaration","scope":140063,"src":"7748:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140026,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7748:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":140029,"mutability":"mutable","name":"_element","nameLocation":"7777:8:223","nodeType":"VariableDeclaration","scope":140063,"src":"7769:16:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140028,"name":"uint256","nodeType":"ElementaryTypeName","src":"7769:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7747:39:223"},"returnParameters":{"id":140031,"nodeType":"ParameterList","parameters":[],"src":"7796:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140096,"nodeType":"FunctionDefinition","src":"8041:214:223","nodes":[],"body":{"id":140095,"nodeType":"Block","src":"8101:154:223","nodes":[],"statements":[{"assignments":[140073],"declarations":[{"constant":false,"id":140073,"mutability":"mutable","name":"_keyTuple","nameLocation":"8124:9:223","nodeType":"VariableDeclaration","scope":140095,"src":"8107:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140071,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8107:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140072,"nodeType":"ArrayTypeName","src":"8107:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140079,"initialValue":{"arguments":[{"hexValue":"31","id":140077,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8150:1:223","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":140076,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8136:13:223","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":140074,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8140:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140075,"nodeType":"ArrayTypeName","src":"8140:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140078,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8136:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8107:45:223"},{"expression":{"id":140084,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140080,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140073,"src":"8158:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140082,"indexExpression":{"hexValue":"30","id":140081,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8168:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8158:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140083,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140066,"src":"8173:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8158:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140085,"nodeType":"ExpressionStatement","src":"8158:26:223"},{"expression":{"arguments":[{"id":140089,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"8223:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140090,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140073,"src":"8233:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":140091,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8244:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"3332","id":140092,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8247:2:223","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":140086,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"8191:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":140088,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8203:19:223","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":14037,"src":"8191:31:223","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":140093,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8191:59:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140094,"nodeType":"ExpressionStatement","src":"8191:59:223"}]},"documentation":{"id":140064,"nodeType":"StructuredDocumentation","src":"7977:61:223","text":" @notice Pop an element from rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"popRewardPercentages","nameLocation":"8050:20:223","parameters":{"id":140067,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140066,"mutability":"mutable","name":"matchEntity","nameLocation":"8079:11:223","nodeType":"VariableDeclaration","scope":140096,"src":"8071:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140065,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8071:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"8070:21:223"},"returnParameters":{"id":140068,"nodeType":"ParameterList","parameters":[],"src":"8101:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140129,"nodeType":"FunctionDefinition","src":"8323:213:223","nodes":[],"body":{"id":140128,"nodeType":"Block","src":"8384:152:223","nodes":[],"statements":[{"assignments":[140106],"declarations":[{"constant":false,"id":140106,"mutability":"mutable","name":"_keyTuple","nameLocation":"8407:9:223","nodeType":"VariableDeclaration","scope":140128,"src":"8390:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140104,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8390:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140105,"nodeType":"ArrayTypeName","src":"8390:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140112,"initialValue":{"arguments":[{"hexValue":"31","id":140110,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8433:1:223","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":140109,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8419:13:223","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":140107,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8423:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140108,"nodeType":"ArrayTypeName","src":"8423:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140111,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8419:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8390:45:223"},{"expression":{"id":140117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140113,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140106,"src":"8441:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140115,"indexExpression":{"hexValue":"30","id":140114,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8451:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8441:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140116,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140099,"src":"8456:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8441:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140118,"nodeType":"ExpressionStatement","src":"8441:26:223"},{"expression":{"arguments":[{"id":140122,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"8504:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140123,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140106,"src":"8514:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":140124,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8525:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"3332","id":140125,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8528:2:223","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":140119,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"8474:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":140121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8484:19:223","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":12239,"src":"8474:29:223","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":140126,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8474:57:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140127,"nodeType":"ExpressionStatement","src":"8474:57:223"}]},"documentation":{"id":140097,"nodeType":"StructuredDocumentation","src":"8259:61:223","text":" @notice Pop an element from rewardPercentages."},"implemented":true,"kind":"function","modifiers":[],"name":"_popRewardPercentages","nameLocation":"8332:21:223","parameters":{"id":140100,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140099,"mutability":"mutable","name":"matchEntity","nameLocation":"8362:11:223","nodeType":"VariableDeclaration","scope":140129,"src":"8354:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140098,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8354:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"8353:21:223"},"returnParameters":{"id":140101,"nodeType":"ParameterList","parameters":[],"src":"8384:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140186,"nodeType":"FunctionDefinition","src":"8617:385:223","nodes":[],"body":{"id":140185,"nodeType":"Block","src":"8714:288:223","nodes":[],"statements":[{"assignments":[140143],"declarations":[{"constant":false,"id":140143,"mutability":"mutable","name":"_keyTuple","nameLocation":"8737:9:223","nodeType":"VariableDeclaration","scope":140185,"src":"8720:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140141,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8720:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140142,"nodeType":"ArrayTypeName","src":"8720:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140149,"initialValue":{"arguments":[{"hexValue":"31","id":140147,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8763:1:223","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":140146,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8749:13:223","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":140144,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8753:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140145,"nodeType":"ArrayTypeName","src":"8753:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140148,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8749:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8720:45:223"},{"expression":{"id":140154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140150,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140143,"src":"8771:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140152,"indexExpression":{"hexValue":"30","id":140151,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8781:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8771:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140153,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140132,"src":"8786:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8771:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140155,"nodeType":"ExpressionStatement","src":"8771:26:223"},{"id":140184,"nodeType":"UncheckedBlock","src":"8804:194:223","statements":[{"assignments":[140157],"declarations":[{"constant":false,"id":140157,"mutability":"mutable","name":"_encoded","nameLocation":"8835:8:223","nodeType":"VariableDeclaration","scope":140184,"src":"8822:21:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140156,"name":"bytes","nodeType":"ElementaryTypeName","src":"8822:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140163,"initialValue":{"arguments":[{"components":[{"id":140160,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140136,"src":"8864:8:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":140161,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8863:10:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":140158,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"8846:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":140159,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8850:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"8846:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":140162,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8846:28:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"8822:52:223"},{"expression":{"arguments":[{"id":140167,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"8912:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140168,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140143,"src":"8922:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":140169,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8933:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":140174,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":140172,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140134,"src":"8943:6:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":140173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8952:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"8943:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140171,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8936:6:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":140170,"name":"uint40","nodeType":"ElementaryTypeName","src":"8936:6:223","typeDescriptions":{}}},"id":140175,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8936:19:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":140178,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140157,"src":"8964:8:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":140179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8973:6:223","memberName":"length","nodeType":"MemberAccess","src":"8964:15:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140177,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8957:6:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":140176,"name":"uint40","nodeType":"ElementaryTypeName","src":"8957:6:223","typeDescriptions":{}}},"id":140180,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8957:23:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":140181,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140157,"src":"8982:8:223","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":140164,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"8882:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":140166,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8894:17:223","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":13739,"src":"8882:29:223","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":140182,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8882:109:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140183,"nodeType":"ExpressionStatement","src":"8882:109:223"}]}]},"documentation":{"id":140130,"nodeType":"StructuredDocumentation","src":"8540:74:223","text":" @notice Update an element of rewardPercentages at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"updateRewardPercentages","nameLocation":"8626:23:223","parameters":{"id":140137,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140132,"mutability":"mutable","name":"matchEntity","nameLocation":"8658:11:223","nodeType":"VariableDeclaration","scope":140186,"src":"8650:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140131,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8650:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":140134,"mutability":"mutable","name":"_index","nameLocation":"8679:6:223","nodeType":"VariableDeclaration","scope":140186,"src":"8671:14:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140133,"name":"uint256","nodeType":"ElementaryTypeName","src":"8671:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":140136,"mutability":"mutable","name":"_element","nameLocation":"8695:8:223","nodeType":"VariableDeclaration","scope":140186,"src":"8687:16:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140135,"name":"uint256","nodeType":"ElementaryTypeName","src":"8687:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8649:55:223"},"returnParameters":{"id":140138,"nodeType":"ParameterList","parameters":[],"src":"8714:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140243,"nodeType":"FunctionDefinition","src":"9083:384:223","nodes":[],"body":{"id":140242,"nodeType":"Block","src":"9181:286:223","nodes":[],"statements":[{"assignments":[140200],"declarations":[{"constant":false,"id":140200,"mutability":"mutable","name":"_keyTuple","nameLocation":"9204:9:223","nodeType":"VariableDeclaration","scope":140242,"src":"9187:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140198,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9187:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140199,"nodeType":"ArrayTypeName","src":"9187:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140206,"initialValue":{"arguments":[{"hexValue":"31","id":140204,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9230:1:223","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":140203,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9216:13:223","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":140201,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9220:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140202,"nodeType":"ArrayTypeName","src":"9220:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9216:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9187:45:223"},{"expression":{"id":140211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140207,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140200,"src":"9238:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140209,"indexExpression":{"hexValue":"30","id":140208,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9248:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9238:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140210,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140189,"src":"9253:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9238:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140212,"nodeType":"ExpressionStatement","src":"9238:26:223"},{"id":140241,"nodeType":"UncheckedBlock","src":"9271:192:223","statements":[{"assignments":[140214],"declarations":[{"constant":false,"id":140214,"mutability":"mutable","name":"_encoded","nameLocation":"9302:8:223","nodeType":"VariableDeclaration","scope":140241,"src":"9289:21:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140213,"name":"bytes","nodeType":"ElementaryTypeName","src":"9289:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140220,"initialValue":{"arguments":[{"components":[{"id":140217,"name":"_element","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140193,"src":"9331:8:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":140218,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9330:10:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":140215,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"9313:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":140216,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9317:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"9313:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":140219,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9313:28:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"9289:52:223"},{"expression":{"arguments":[{"id":140224,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"9377:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140225,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140200,"src":"9387:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":140226,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9398:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":140231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":140229,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140191,"src":"9408:6:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":140230,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9417:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"9408:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140228,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9401:6:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":140227,"name":"uint40","nodeType":"ElementaryTypeName","src":"9401:6:223","typeDescriptions":{}}},"id":140232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9401:19:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":140235,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140214,"src":"9429:8:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":140236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9438:6:223","memberName":"length","nodeType":"MemberAccess","src":"9429:15:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140234,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9422:6:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":140233,"name":"uint40","nodeType":"ElementaryTypeName","src":"9422:6:223","typeDescriptions":{}}},"id":140237,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9422:23:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":140238,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140214,"src":"9447:8:223","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":140221,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"9349:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":140223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9359:17:223","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":11796,"src":"9349:27:223","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":140239,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9349:107:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140240,"nodeType":"ExpressionStatement","src":"9349:107:223"}]}]},"documentation":{"id":140187,"nodeType":"StructuredDocumentation","src":"9006:74:223","text":" @notice Update an element of rewardPercentages at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"_updateRewardPercentages","nameLocation":"9092:24:223","parameters":{"id":140194,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140189,"mutability":"mutable","name":"matchEntity","nameLocation":"9125:11:223","nodeType":"VariableDeclaration","scope":140243,"src":"9117:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140188,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9117:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":140191,"mutability":"mutable","name":"_index","nameLocation":"9146:6:223","nodeType":"VariableDeclaration","scope":140243,"src":"9138:14:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140190,"name":"uint256","nodeType":"ElementaryTypeName","src":"9138:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":140193,"mutability":"mutable","name":"_element","nameLocation":"9162:8:223","nodeType":"VariableDeclaration","scope":140243,"src":"9154:16:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140192,"name":"uint256","nodeType":"ElementaryTypeName","src":"9154:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9116:55:223"},"returnParameters":{"id":140195,"nodeType":"ParameterList","parameters":[],"src":"9181:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140290,"nodeType":"FunctionDefinition","src":"9515:418:223","nodes":[],"body":{"id":140289,"nodeType":"Block","src":"9607:326:223","nodes":[],"statements":[{"assignments":[140256],"declarations":[{"constant":false,"id":140256,"mutability":"mutable","name":"_keyTuple","nameLocation":"9630:9:223","nodeType":"VariableDeclaration","scope":140289,"src":"9613:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140254,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9613:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140255,"nodeType":"ArrayTypeName","src":"9613:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140262,"initialValue":{"arguments":[{"hexValue":"31","id":140260,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9656:1:223","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":140259,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9642:13:223","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":140257,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9646:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140258,"nodeType":"ArrayTypeName","src":"9646:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140261,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9642:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9613:45:223"},{"expression":{"id":140267,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140263,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140256,"src":"9664:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140265,"indexExpression":{"hexValue":"30","id":140264,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9674:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9664:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140266,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140246,"src":"9679:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9664:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140268,"nodeType":"ExpressionStatement","src":"9664:26:223"},{"assignments":[140270,140273,140275],"declarations":[{"constant":false,"id":140270,"mutability":"mutable","name":"_staticData","nameLocation":"9711:11:223","nodeType":"VariableDeclaration","scope":140289,"src":"9698:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140269,"name":"bytes","nodeType":"ElementaryTypeName","src":"9698:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":140273,"mutability":"mutable","name":"_encodedLengths","nameLocation":"9739:15:223","nodeType":"VariableDeclaration","scope":140289,"src":"9724:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140272,"nodeType":"UserDefinedTypeName","pathNode":{"id":140271,"name":"EncodedLengths","nameLocations":["9724:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"9724:14:223"},"referencedDeclaration":7251,"src":"9724:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":140275,"mutability":"mutable","name":"_dynamicData","nameLocation":"9769:12:223","nodeType":"VariableDeclaration","scope":140289,"src":"9756:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140274,"name":"bytes","nodeType":"ElementaryTypeName","src":"9756:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140282,"initialValue":{"arguments":[{"id":140278,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"9814:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140279,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140256,"src":"9830:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":140280,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"9847:12:223","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":140276,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"9785:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":140277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9797:9:223","memberName":"getRecord","nodeType":"MemberAccess","referencedDeclaration":14174,"src":"9785:21:223","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,FieldLayout) view returns (bytes memory,EncodedLengths,bytes memory)"}},"id":140281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9785:80:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"9697:168:223"},{"expression":{"arguments":[{"id":140284,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140270,"src":"9885:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140285,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140273,"src":"9898:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140286,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140275,"src":"9915:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":140283,"name":"decode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140667,"src":"9878:6:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_struct$_MatchSweepstakeData_$139335_memory_ptr_$","typeString":"function (bytes memory,EncodedLengths,bytes memory) pure returns (struct MatchSweepstakeData memory)"}},"id":140287,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9878:50:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"functionReturnParameters":140251,"id":140288,"nodeType":"Return","src":"9871:57:223"}]},"documentation":{"id":140244,"nodeType":"StructuredDocumentation","src":"9471:41:223","text":" @notice Get the full data."},"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"9524:3:223","parameters":{"id":140247,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140246,"mutability":"mutable","name":"matchEntity","nameLocation":"9536:11:223","nodeType":"VariableDeclaration","scope":140290,"src":"9528:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140245,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9528:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"9527:21:223"},"returnParameters":{"id":140251,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140250,"mutability":"mutable","name":"_table","nameLocation":"9599:6:223","nodeType":"VariableDeclaration","scope":140290,"src":"9572:33:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData"},"typeName":{"id":140249,"nodeType":"UserDefinedTypeName","pathNode":{"id":140248,"name":"MatchSweepstakeData","nameLocations":["9572:19:223"],"nodeType":"IdentifierPath","referencedDeclaration":139335,"src":"9572:19:223"},"referencedDeclaration":139335,"src":"9572:19:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_storage_ptr","typeString":"struct MatchSweepstakeData"}},"visibility":"internal"}],"src":"9571:35:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":140337,"nodeType":"FunctionDefinition","src":"9981:417:223","nodes":[],"body":{"id":140336,"nodeType":"Block","src":"10074:324:223","nodes":[],"statements":[{"assignments":[140303],"declarations":[{"constant":false,"id":140303,"mutability":"mutable","name":"_keyTuple","nameLocation":"10097:9:223","nodeType":"VariableDeclaration","scope":140336,"src":"10080:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140301,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10080:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140302,"nodeType":"ArrayTypeName","src":"10080:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140309,"initialValue":{"arguments":[{"hexValue":"31","id":140307,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10123:1:223","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":140306,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10109:13:223","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":140304,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10113:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140305,"nodeType":"ArrayTypeName","src":"10113:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10109:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10080:45:223"},{"expression":{"id":140314,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140310,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140303,"src":"10131:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140312,"indexExpression":{"hexValue":"30","id":140311,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10141:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10131:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140313,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140293,"src":"10146:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10131:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140315,"nodeType":"ExpressionStatement","src":"10131:26:223"},{"assignments":[140317,140320,140322],"declarations":[{"constant":false,"id":140317,"mutability":"mutable","name":"_staticData","nameLocation":"10178:11:223","nodeType":"VariableDeclaration","scope":140336,"src":"10165:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140316,"name":"bytes","nodeType":"ElementaryTypeName","src":"10165:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":140320,"mutability":"mutable","name":"_encodedLengths","nameLocation":"10206:15:223","nodeType":"VariableDeclaration","scope":140336,"src":"10191:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140319,"nodeType":"UserDefinedTypeName","pathNode":{"id":140318,"name":"EncodedLengths","nameLocations":["10191:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"10191:14:223"},"referencedDeclaration":7251,"src":"10191:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":140322,"mutability":"mutable","name":"_dynamicData","nameLocation":"10236:12:223","nodeType":"VariableDeclaration","scope":140336,"src":"10223:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140321,"name":"bytes","nodeType":"ElementaryTypeName","src":"10223:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140329,"initialValue":{"arguments":[{"id":140325,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"10279:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140326,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140303,"src":"10295:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":140327,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"10312:12:223","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":140323,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"10252:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":140324,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10262:9:223","memberName":"getRecord","nodeType":"MemberAccess","referencedDeclaration":12376,"src":"10252:19:223","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"function (ResourceId,bytes32[] memory,FieldLayout) view returns (bytes memory,EncodedLengths,bytes memory)"}},"id":140328,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10252:78:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"10164:166:223"},{"expression":{"arguments":[{"id":140331,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140317,"src":"10350:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140332,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140320,"src":"10363:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140333,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140322,"src":"10380:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":140330,"name":"decode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140667,"src":"10343:6:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_struct$_MatchSweepstakeData_$139335_memory_ptr_$","typeString":"function (bytes memory,EncodedLengths,bytes memory) pure returns (struct MatchSweepstakeData memory)"}},"id":140334,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10343:50:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"functionReturnParameters":140298,"id":140335,"nodeType":"Return","src":"10336:57:223"}]},"documentation":{"id":140291,"nodeType":"StructuredDocumentation","src":"9937:41:223","text":" @notice Get the full data."},"implemented":true,"kind":"function","modifiers":[],"name":"_get","nameLocation":"9990:4:223","parameters":{"id":140294,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140293,"mutability":"mutable","name":"matchEntity","nameLocation":"10003:11:223","nodeType":"VariableDeclaration","scope":140337,"src":"9995:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140292,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9995:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"9994:21:223"},"returnParameters":{"id":140298,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140297,"mutability":"mutable","name":"_table","nameLocation":"10066:6:223","nodeType":"VariableDeclaration","scope":140337,"src":"10039:33:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData"},"typeName":{"id":140296,"nodeType":"UserDefinedTypeName","pathNode":{"id":140295,"name":"MatchSweepstakeData","nameLocations":["10039:19:223"],"nodeType":"IdentifierPath","referencedDeclaration":139335,"src":"10039:19:223"},"referencedDeclaration":139335,"src":"10039:19:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_storage_ptr","typeString":"struct MatchSweepstakeData"}},"visibility":"internal"}],"src":"10038:35:223"},"scope":140856,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":140395,"nodeType":"FunctionDefinition","src":"10470:478:223","nodes":[],"body":{"id":140394,"nodeType":"Block","src":"10570:378:223","nodes":[],"statements":[{"assignments":[140349],"declarations":[{"constant":false,"id":140349,"mutability":"mutable","name":"_staticData","nameLocation":"10589:11:223","nodeType":"VariableDeclaration","scope":140394,"src":"10576:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140348,"name":"bytes","nodeType":"ElementaryTypeName","src":"10576:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140353,"initialValue":{"arguments":[{"id":140351,"name":"entranceFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140342,"src":"10616:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140350,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140744,"src":"10603:12:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":140352,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10603:25:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"10576:52:223"},{"assignments":[140356],"declarations":[{"constant":false,"id":140356,"mutability":"mutable","name":"_encodedLengths","nameLocation":"10650:15:223","nodeType":"VariableDeclaration","scope":140394,"src":"10635:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140355,"nodeType":"UserDefinedTypeName","pathNode":{"id":140354,"name":"EncodedLengths","nameLocations":["10635:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"10635:14:223"},"referencedDeclaration":7251,"src":"10635:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":140360,"initialValue":{"arguments":[{"id":140358,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140345,"src":"10682:17:223","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":140357,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140766,"src":"10668:13:223","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":140359,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10668:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"10635:65:223"},{"assignments":[140362],"declarations":[{"constant":false,"id":140362,"mutability":"mutable","name":"_dynamicData","nameLocation":"10719:12:223","nodeType":"VariableDeclaration","scope":140394,"src":"10706:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140361,"name":"bytes","nodeType":"ElementaryTypeName","src":"10706:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140366,"initialValue":{"arguments":[{"id":140364,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140345,"src":"10748:17:223","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":140363,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140785,"src":"10734:13:223","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":140365,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10734:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"10706:60:223"},{"assignments":[140371],"declarations":[{"constant":false,"id":140371,"mutability":"mutable","name":"_keyTuple","nameLocation":"10790:9:223","nodeType":"VariableDeclaration","scope":140394,"src":"10773:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140369,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10773:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140370,"nodeType":"ArrayTypeName","src":"10773:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140377,"initialValue":{"arguments":[{"hexValue":"31","id":140375,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10816:1:223","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":140374,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10802:13:223","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":140372,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10806:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140373,"nodeType":"ArrayTypeName","src":"10806:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140376,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10802:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10773:45:223"},{"expression":{"id":140382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140378,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140371,"src":"10824:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140380,"indexExpression":{"hexValue":"30","id":140379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10834:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10824:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140381,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140340,"src":"10839:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10824:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140383,"nodeType":"ExpressionStatement","src":"10824:26:223"},{"expression":{"arguments":[{"id":140387,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"10879:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140388,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140371,"src":"10889:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":140389,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140349,"src":"10900:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140390,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140356,"src":"10913:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140391,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140362,"src":"10930:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":140384,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"10857:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":140386,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10869:9:223","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":13635,"src":"10857:21:223","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory)"}},"id":140392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10857:86:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140393,"nodeType":"ExpressionStatement","src":"10857:86:223"}]},"documentation":{"id":140338,"nodeType":"StructuredDocumentation","src":"10402:65:223","text":" @notice Set the full data using individual values."},"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"10479:3:223","parameters":{"id":140346,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140340,"mutability":"mutable","name":"matchEntity","nameLocation":"10491:11:223","nodeType":"VariableDeclaration","scope":140395,"src":"10483:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140339,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10483:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":140342,"mutability":"mutable","name":"entranceFee","nameLocation":"10512:11:223","nodeType":"VariableDeclaration","scope":140395,"src":"10504:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140341,"name":"uint256","nodeType":"ElementaryTypeName","src":"10504:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":140345,"mutability":"mutable","name":"rewardPercentages","nameLocation":"10542:17:223","nodeType":"VariableDeclaration","scope":140395,"src":"10525:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":140343,"name":"uint256","nodeType":"ElementaryTypeName","src":"10525:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140344,"nodeType":"ArrayTypeName","src":"10525:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"10482:78:223"},"returnParameters":{"id":140347,"nodeType":"ParameterList","parameters":[],"src":"10570:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140454,"nodeType":"FunctionDefinition","src":"11020:491:223","nodes":[],"body":{"id":140453,"nodeType":"Block","src":"11121:390:223","nodes":[],"statements":[{"assignments":[140407],"declarations":[{"constant":false,"id":140407,"mutability":"mutable","name":"_staticData","nameLocation":"11140:11:223","nodeType":"VariableDeclaration","scope":140453,"src":"11127:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140406,"name":"bytes","nodeType":"ElementaryTypeName","src":"11127:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140411,"initialValue":{"arguments":[{"id":140409,"name":"entranceFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140400,"src":"11167:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140408,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140744,"src":"11154:12:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":140410,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11154:25:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"11127:52:223"},{"assignments":[140414],"declarations":[{"constant":false,"id":140414,"mutability":"mutable","name":"_encodedLengths","nameLocation":"11201:15:223","nodeType":"VariableDeclaration","scope":140453,"src":"11186:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140413,"nodeType":"UserDefinedTypeName","pathNode":{"id":140412,"name":"EncodedLengths","nameLocations":["11186:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"11186:14:223"},"referencedDeclaration":7251,"src":"11186:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":140418,"initialValue":{"arguments":[{"id":140416,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140403,"src":"11233:17:223","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":140415,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140766,"src":"11219:13:223","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":140417,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11219:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"11186:65:223"},{"assignments":[140420],"declarations":[{"constant":false,"id":140420,"mutability":"mutable","name":"_dynamicData","nameLocation":"11270:12:223","nodeType":"VariableDeclaration","scope":140453,"src":"11257:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140419,"name":"bytes","nodeType":"ElementaryTypeName","src":"11257:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140424,"initialValue":{"arguments":[{"id":140422,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140403,"src":"11299:17:223","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":140421,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140785,"src":"11285:13:223","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":140423,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11285:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"11257:60:223"},{"assignments":[140429],"declarations":[{"constant":false,"id":140429,"mutability":"mutable","name":"_keyTuple","nameLocation":"11341:9:223","nodeType":"VariableDeclaration","scope":140453,"src":"11324:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140427,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11324:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140428,"nodeType":"ArrayTypeName","src":"11324:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140435,"initialValue":{"arguments":[{"hexValue":"31","id":140433,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11367:1:223","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":140432,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11353:13:223","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":140430,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11357:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140431,"nodeType":"ArrayTypeName","src":"11357:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140434,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11353:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11324:45:223"},{"expression":{"id":140440,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140436,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140429,"src":"11375:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140438,"indexExpression":{"hexValue":"30","id":140437,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11385:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11375:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140439,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140398,"src":"11390:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11375:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140441,"nodeType":"ExpressionStatement","src":"11375:26:223"},{"expression":{"arguments":[{"id":140445,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"11428:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140446,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140429,"src":"11438:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":140447,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140407,"src":"11449:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140448,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140414,"src":"11462:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140449,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140420,"src":"11479:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140450,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"11493:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":140442,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"11408:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":140444,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11418:9:223","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":11614,"src":"11408:19:223","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory,FieldLayout)"}},"id":140451,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11408:98:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140452,"nodeType":"ExpressionStatement","src":"11408:98:223"}]},"documentation":{"id":140396,"nodeType":"StructuredDocumentation","src":"10952:65:223","text":" @notice Set the full data using individual values."},"implemented":true,"kind":"function","modifiers":[],"name":"_set","nameLocation":"11029:4:223","parameters":{"id":140404,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140398,"mutability":"mutable","name":"matchEntity","nameLocation":"11042:11:223","nodeType":"VariableDeclaration","scope":140454,"src":"11034:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140397,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11034:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":140400,"mutability":"mutable","name":"entranceFee","nameLocation":"11063:11:223","nodeType":"VariableDeclaration","scope":140454,"src":"11055:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140399,"name":"uint256","nodeType":"ElementaryTypeName","src":"11055:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":140403,"mutability":"mutable","name":"rewardPercentages","nameLocation":"11093:17:223","nodeType":"VariableDeclaration","scope":140454,"src":"11076:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":140401,"name":"uint256","nodeType":"ElementaryTypeName","src":"11076:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140402,"nodeType":"ArrayTypeName","src":"11076:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"11033:78:223"},"returnParameters":{"id":140405,"nodeType":"ParameterList","parameters":[],"src":"11121:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140513,"nodeType":"FunctionDefinition","src":"11581:477:223","nodes":[],"body":{"id":140512,"nodeType":"Block","src":"11659:399:223","nodes":[],"statements":[{"assignments":[140464],"declarations":[{"constant":false,"id":140464,"mutability":"mutable","name":"_staticData","nameLocation":"11678:11:223","nodeType":"VariableDeclaration","scope":140512,"src":"11665:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140463,"name":"bytes","nodeType":"ElementaryTypeName","src":"11665:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140469,"initialValue":{"arguments":[{"expression":{"id":140466,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140460,"src":"11705:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140467,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11712:11:223","memberName":"entranceFee","nodeType":"MemberAccess","referencedDeclaration":139331,"src":"11705:18:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140465,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140744,"src":"11692:12:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":140468,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11692:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"11665:59:223"},{"assignments":[140472],"declarations":[{"constant":false,"id":140472,"mutability":"mutable","name":"_encodedLengths","nameLocation":"11746:15:223","nodeType":"VariableDeclaration","scope":140512,"src":"11731:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140471,"nodeType":"UserDefinedTypeName","pathNode":{"id":140470,"name":"EncodedLengths","nameLocations":["11731:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"11731:14:223"},"referencedDeclaration":7251,"src":"11731:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":140477,"initialValue":{"arguments":[{"expression":{"id":140474,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140460,"src":"11778:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140475,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11785:17:223","memberName":"rewardPercentages","nodeType":"MemberAccess","referencedDeclaration":139334,"src":"11778:24:223","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":140473,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140766,"src":"11764:13:223","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":140476,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11764:39:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"11731:72:223"},{"assignments":[140479],"declarations":[{"constant":false,"id":140479,"mutability":"mutable","name":"_dynamicData","nameLocation":"11822:12:223","nodeType":"VariableDeclaration","scope":140512,"src":"11809:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140478,"name":"bytes","nodeType":"ElementaryTypeName","src":"11809:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140484,"initialValue":{"arguments":[{"expression":{"id":140481,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140460,"src":"11851:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140482,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11858:17:223","memberName":"rewardPercentages","nodeType":"MemberAccess","referencedDeclaration":139334,"src":"11851:24:223","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":140480,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140785,"src":"11837:13:223","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":140483,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11837:39:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"11809:67:223"},{"assignments":[140489],"declarations":[{"constant":false,"id":140489,"mutability":"mutable","name":"_keyTuple","nameLocation":"11900:9:223","nodeType":"VariableDeclaration","scope":140512,"src":"11883:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140487,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11883:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140488,"nodeType":"ArrayTypeName","src":"11883:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140495,"initialValue":{"arguments":[{"hexValue":"31","id":140493,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11926:1:223","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":140492,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11912:13:223","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":140490,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11916:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140491,"nodeType":"ArrayTypeName","src":"11916:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140494,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11912:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11883:45:223"},{"expression":{"id":140500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140496,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140489,"src":"11934:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140498,"indexExpression":{"hexValue":"30","id":140497,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11944:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11934:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140499,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140457,"src":"11949:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11934:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140501,"nodeType":"ExpressionStatement","src":"11934:26:223"},{"expression":{"arguments":[{"id":140505,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"11989:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140506,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140489,"src":"11999:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":140507,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140464,"src":"12010:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140508,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140472,"src":"12023:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140509,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140479,"src":"12040:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":140502,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"11967:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":140504,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11979:9:223","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":13635,"src":"11967:21:223","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory)"}},"id":140510,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11967:86:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140511,"nodeType":"ExpressionStatement","src":"11967:86:223"}]},"documentation":{"id":140455,"nodeType":"StructuredDocumentation","src":"11515:63:223","text":" @notice Set the full data using the data struct."},"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"11590:3:223","parameters":{"id":140461,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140457,"mutability":"mutable","name":"matchEntity","nameLocation":"11602:11:223","nodeType":"VariableDeclaration","scope":140513,"src":"11594:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140456,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11594:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":140460,"mutability":"mutable","name":"_table","nameLocation":"11642:6:223","nodeType":"VariableDeclaration","scope":140513,"src":"11615:33:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData"},"typeName":{"id":140459,"nodeType":"UserDefinedTypeName","pathNode":{"id":140458,"name":"MatchSweepstakeData","nameLocations":["11615:19:223"],"nodeType":"IdentifierPath","referencedDeclaration":139335,"src":"11615:19:223"},"referencedDeclaration":139335,"src":"11615:19:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_storage_ptr","typeString":"struct MatchSweepstakeData"}},"visibility":"internal"}],"src":"11593:56:223"},"returnParameters":{"id":140462,"nodeType":"ParameterList","parameters":[],"src":"11659:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140573,"nodeType":"FunctionDefinition","src":"12128:490:223","nodes":[],"body":{"id":140572,"nodeType":"Block","src":"12207:411:223","nodes":[],"statements":[{"assignments":[140523],"declarations":[{"constant":false,"id":140523,"mutability":"mutable","name":"_staticData","nameLocation":"12226:11:223","nodeType":"VariableDeclaration","scope":140572,"src":"12213:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140522,"name":"bytes","nodeType":"ElementaryTypeName","src":"12213:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140528,"initialValue":{"arguments":[{"expression":{"id":140525,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140519,"src":"12253:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140526,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12260:11:223","memberName":"entranceFee","nodeType":"MemberAccess","referencedDeclaration":139331,"src":"12253:18:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140524,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140744,"src":"12240:12:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":140527,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12240:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"12213:59:223"},{"assignments":[140531],"declarations":[{"constant":false,"id":140531,"mutability":"mutable","name":"_encodedLengths","nameLocation":"12294:15:223","nodeType":"VariableDeclaration","scope":140572,"src":"12279:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140530,"nodeType":"UserDefinedTypeName","pathNode":{"id":140529,"name":"EncodedLengths","nameLocations":["12279:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"12279:14:223"},"referencedDeclaration":7251,"src":"12279:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":140536,"initialValue":{"arguments":[{"expression":{"id":140533,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140519,"src":"12326:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140534,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12333:17:223","memberName":"rewardPercentages","nodeType":"MemberAccess","referencedDeclaration":139334,"src":"12326:24:223","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":140532,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140766,"src":"12312:13:223","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":140535,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12312:39:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"12279:72:223"},{"assignments":[140538],"declarations":[{"constant":false,"id":140538,"mutability":"mutable","name":"_dynamicData","nameLocation":"12370:12:223","nodeType":"VariableDeclaration","scope":140572,"src":"12357:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140537,"name":"bytes","nodeType":"ElementaryTypeName","src":"12357:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140543,"initialValue":{"arguments":[{"expression":{"id":140540,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140519,"src":"12399:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140541,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12406:17:223","memberName":"rewardPercentages","nodeType":"MemberAccess","referencedDeclaration":139334,"src":"12399:24:223","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":140539,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140785,"src":"12385:13:223","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":140542,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12385:39:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"12357:67:223"},{"assignments":[140548],"declarations":[{"constant":false,"id":140548,"mutability":"mutable","name":"_keyTuple","nameLocation":"12448:9:223","nodeType":"VariableDeclaration","scope":140572,"src":"12431:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140546,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12431:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140547,"nodeType":"ArrayTypeName","src":"12431:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140554,"initialValue":{"arguments":[{"hexValue":"31","id":140552,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12474:1:223","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":140551,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12460:13:223","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":140549,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12464:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140550,"nodeType":"ArrayTypeName","src":"12464:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140553,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12460:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12431:45:223"},{"expression":{"id":140559,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140555,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140548,"src":"12482:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140557,"indexExpression":{"hexValue":"30","id":140556,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12492:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12482:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140558,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140516,"src":"12497:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12482:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140560,"nodeType":"ExpressionStatement","src":"12482:26:223"},{"expression":{"arguments":[{"id":140564,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"12535:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140565,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140548,"src":"12545:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":140566,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140523,"src":"12556:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140567,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140531,"src":"12569:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140568,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140538,"src":"12586:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140569,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"12600:12:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}],"expression":{"id":140561,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"12515:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":140563,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12525:9:223","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":11614,"src":"12515:19:223","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$_t_userDefinedValueType$_FieldLayout_$7885_$returns$__$","typeString":"function (ResourceId,bytes32[] memory,bytes memory,EncodedLengths,bytes memory,FieldLayout)"}},"id":140570,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12515:98:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140571,"nodeType":"ExpressionStatement","src":"12515:98:223"}]},"documentation":{"id":140514,"nodeType":"StructuredDocumentation","src":"12062:63:223","text":" @notice Set the full data using the data struct."},"implemented":true,"kind":"function","modifiers":[],"name":"_set","nameLocation":"12137:4:223","parameters":{"id":140520,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140516,"mutability":"mutable","name":"matchEntity","nameLocation":"12150:11:223","nodeType":"VariableDeclaration","scope":140573,"src":"12142:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140515,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12142:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":140519,"mutability":"mutable","name":"_table","nameLocation":"12190:6:223","nodeType":"VariableDeclaration","scope":140573,"src":"12163:33:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData"},"typeName":{"id":140518,"nodeType":"UserDefinedTypeName","pathNode":{"id":140517,"name":"MatchSweepstakeData","nameLocations":["12163:19:223"],"nodeType":"IdentifierPath","referencedDeclaration":139335,"src":"12163:19:223"},"referencedDeclaration":139335,"src":"12163:19:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_storage_ptr","typeString":"struct MatchSweepstakeData"}},"visibility":"internal"}],"src":"12141:56:223"},"returnParameters":{"id":140521,"nodeType":"ParameterList","parameters":[],"src":"12207:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140594,"nodeType":"FunctionDefinition","src":"12726:148:223","nodes":[],"body":{"id":140593,"nodeType":"Block","src":"12812:62:223","nodes":[],"statements":[{"expression":{"id":140591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":140581,"name":"entranceFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140579,"src":"12818:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[{"id":140586,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140576,"src":"12858:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":140587,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12865:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":140584,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"12841:5:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":140585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12847:10:223","memberName":"getBytes32","nodeType":"MemberAccess","referencedDeclaration":7230,"src":"12841:16:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":140588,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12841:26:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":140583,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12833:7:223","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":140582,"name":"uint256","nodeType":"ElementaryTypeName","src":"12833:7:223","typeDescriptions":{}}},"id":140589,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12833:35:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":140590,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12832:37:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12818:51:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140592,"nodeType":"ExpressionStatement","src":"12818:51:223"}]},"documentation":{"id":140574,"nodeType":"StructuredDocumentation","src":"12622:101:223","text":" @notice Decode the tightly packed blob of static data using this table's field layout."},"implemented":true,"kind":"function","modifiers":[],"name":"decodeStatic","nameLocation":"12735:12:223","parameters":{"id":140577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140576,"mutability":"mutable","name":"_blob","nameLocation":"12761:5:223","nodeType":"VariableDeclaration","scope":140594,"src":"12748:18:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140575,"name":"bytes","nodeType":"ElementaryTypeName","src":"12748:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"12747:20:223"},"returnParameters":{"id":140580,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140579,"mutability":"mutable","name":"entranceFee","nameLocation":"12799:11:223","nodeType":"VariableDeclaration","scope":140594,"src":"12791:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140578,"name":"uint256","nodeType":"ElementaryTypeName","src":"12791:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12790:21:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":140633,"nodeType":"FunctionDefinition","src":"12977:343:223","nodes":[],"body":{"id":140632,"nodeType":"Block","src":"13123:197:223","nodes":[],"statements":[{"assignments":[140607],"declarations":[{"constant":false,"id":140607,"mutability":"mutable","name":"_start","nameLocation":"13137:6:223","nodeType":"VariableDeclaration","scope":140632,"src":"13129:14:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140606,"name":"uint256","nodeType":"ElementaryTypeName","src":"13129:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":140608,"nodeType":"VariableDeclarationStatement","src":"13129:14:223"},{"assignments":[140610],"declarations":[{"constant":false,"id":140610,"mutability":"mutable","name":"_end","nameLocation":"13157:4:223","nodeType":"VariableDeclaration","scope":140632,"src":"13149:12:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140609,"name":"uint256","nodeType":"ElementaryTypeName","src":"13149:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":140611,"nodeType":"VariableDeclarationStatement","src":"13149:12:223"},{"id":140619,"nodeType":"UncheckedBlock","src":"13167:58:223","statements":[{"expression":{"id":140617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":140612,"name":"_end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140610,"src":"13185:4:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"30","id":140615,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13216:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"expression":{"id":140613,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140598,"src":"13192:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":140614,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13208:7:223","memberName":"atIndex","nodeType":"MemberAccess","referencedDeclaration":7722,"src":"13192:23:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_uint8_$returns$_t_uint256_$attached_to$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (EncodedLengths,uint8) pure returns (uint256)"}},"id":140616,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13192:26:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13185:33:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140618,"nodeType":"ExpressionStatement","src":"13185:33:223"}]},{"expression":{"id":140630,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":140620,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140604,"src":"13230:17:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":140623,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140600,"src":"13272:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140624,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140607,"src":"13279:6:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":140625,"name":"_end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140610,"src":"13287:4:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":140621,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"13251:8:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":140622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13260:11:223","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"13251:20:223","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":140626,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13251:41:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":140627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13293:19:223","memberName":"decodeArray_uint256","nodeType":"MemberAccess","referencedDeclaration":22484,"src":"13251:61:223","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":140628,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13251:63:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":140629,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13250:65:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"src":"13230:85:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"id":140631,"nodeType":"ExpressionStatement","src":"13230:85:223"}]},"documentation":{"id":140595,"nodeType":"StructuredDocumentation","src":"12878:96:223","text":" @notice Decode the tightly packed blob of dynamic data using the encoded lengths."},"implemented":true,"kind":"function","modifiers":[],"name":"decodeDynamic","nameLocation":"12986:13:223","parameters":{"id":140601,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140598,"mutability":"mutable","name":"_encodedLengths","nameLocation":"13020:15:223","nodeType":"VariableDeclaration","scope":140633,"src":"13005:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140597,"nodeType":"UserDefinedTypeName","pathNode":{"id":140596,"name":"EncodedLengths","nameLocations":["13005:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"13005:14:223"},"referencedDeclaration":7251,"src":"13005:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":140600,"mutability":"mutable","name":"_blob","nameLocation":"13054:5:223","nodeType":"VariableDeclaration","scope":140633,"src":"13041:18:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140599,"name":"bytes","nodeType":"ElementaryTypeName","src":"13041:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"12999:64:223"},"returnParameters":{"id":140605,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140604,"mutability":"mutable","name":"rewardPercentages","nameLocation":"13104:17:223","nodeType":"VariableDeclaration","scope":140633,"src":"13087:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":140602,"name":"uint256","nodeType":"ElementaryTypeName","src":"13087:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140603,"nodeType":"ArrayTypeName","src":"13087:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"13086:36:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":140667,"nodeType":"FunctionDefinition","src":"13587:314:223","nodes":[],"body":{"id":140666,"nodeType":"Block","src":"13762:139:223","nodes":[],"statements":[{"expression":{"id":140654,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":140647,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140645,"src":"13769:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140649,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"13776:11:223","memberName":"entranceFee","nodeType":"MemberAccess","referencedDeclaration":139331,"src":"13769:18:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":140650,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"13768:20:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":140652,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140636,"src":"13804:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":140651,"name":"decodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140594,"src":"13791:12:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_uint256_$","typeString":"function (bytes memory) pure returns (uint256)"}},"id":140653,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13791:25:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13768:48:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140655,"nodeType":"ExpressionStatement","src":"13768:48:223"},{"expression":{"id":140664,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":140656,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140645,"src":"13824:6:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData memory"}},"id":140658,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"13831:17:223","memberName":"rewardPercentages","nodeType":"MemberAccess","referencedDeclaration":139334,"src":"13824:24:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":140659,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"13823:26:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":140661,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140639,"src":"13866:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140662,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140641,"src":"13883:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":140660,"name":"decodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140633,"src":"13852:13:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$","typeString":"function (EncodedLengths,bytes memory) pure returns (uint256[] memory)"}},"id":140663,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13852:44:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"src":"13823:73:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"id":140665,"nodeType":"ExpressionStatement","src":"13823:73:223"}]},"documentation":{"id":140634,"nodeType":"StructuredDocumentation","src":"13324:260:223","text":" @notice Decode the tightly packed blobs using this table's field layout.\n @param _staticData Tightly packed static fields.\n @param _encodedLengths Encoded lengths of dynamic fields.\n @param _dynamicData Tightly packed dynamic fields."},"implemented":true,"kind":"function","modifiers":[],"name":"decode","nameLocation":"13596:6:223","parameters":{"id":140642,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140636,"mutability":"mutable","name":"_staticData","nameLocation":"13621:11:223","nodeType":"VariableDeclaration","scope":140667,"src":"13608:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140635,"name":"bytes","nodeType":"ElementaryTypeName","src":"13608:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":140639,"mutability":"mutable","name":"_encodedLengths","nameLocation":"13653:15:223","nodeType":"VariableDeclaration","scope":140667,"src":"13638:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140638,"nodeType":"UserDefinedTypeName","pathNode":{"id":140637,"name":"EncodedLengths","nameLocations":["13638:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"13638:14:223"},"referencedDeclaration":7251,"src":"13638:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":140641,"mutability":"mutable","name":"_dynamicData","nameLocation":"13687:12:223","nodeType":"VariableDeclaration","scope":140667,"src":"13674:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140640,"name":"bytes","nodeType":"ElementaryTypeName","src":"13674:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"13602:101:223"},"returnParameters":{"id":140646,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140645,"mutability":"mutable","name":"_table","nameLocation":"13754:6:223","nodeType":"VariableDeclaration","scope":140667,"src":"13727:33:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_memory_ptr","typeString":"struct MatchSweepstakeData"},"typeName":{"id":140644,"nodeType":"UserDefinedTypeName","pathNode":{"id":140643,"name":"MatchSweepstakeData","nameLocations":["13727:19:223"],"nodeType":"IdentifierPath","referencedDeclaration":139335,"src":"13727:19:223"},"referencedDeclaration":139335,"src":"13727:19:223","typeDescriptions":{"typeIdentifier":"t_struct$_MatchSweepstakeData_$139335_storage_ptr","typeString":"struct MatchSweepstakeData"}},"visibility":"internal"}],"src":"13726:35:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":140698,"nodeType":"FunctionDefinition","src":"13962:192:223","nodes":[],"body":{"id":140697,"nodeType":"Block","src":"14014:140:223","nodes":[],"statements":[{"assignments":[140677],"declarations":[{"constant":false,"id":140677,"mutability":"mutable","name":"_keyTuple","nameLocation":"14037:9:223","nodeType":"VariableDeclaration","scope":140697,"src":"14020:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140675,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14020:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140676,"nodeType":"ArrayTypeName","src":"14020:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140683,"initialValue":{"arguments":[{"hexValue":"31","id":140681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14063:1:223","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":140680,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"14049:13:223","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":140678,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14053:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140679,"nodeType":"ArrayTypeName","src":"14053:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140682,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14049:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"14020:45:223"},{"expression":{"id":140688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140684,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140677,"src":"14071:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140686,"indexExpression":{"hexValue":"30","id":140685,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14081:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14071:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140687,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140670,"src":"14086:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14071:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140689,"nodeType":"ExpressionStatement","src":"14071:26:223"},{"expression":{"arguments":[{"id":140693,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"14129:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140694,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140677,"src":"14139:9:223","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":140690,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"14104:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":140692,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14116:12:223","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":14077,"src":"14104:24:223","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory)"}},"id":140695,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14104:45:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140696,"nodeType":"ExpressionStatement","src":"14104:45:223"}]},"documentation":{"id":140668,"nodeType":"StructuredDocumentation","src":"13905:54:223","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"deleteRecord","nameLocation":"13971:12:223","parameters":{"id":140671,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140670,"mutability":"mutable","name":"matchEntity","nameLocation":"13992:11:223","nodeType":"VariableDeclaration","scope":140698,"src":"13984:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140669,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13984:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"13983:21:223"},"returnParameters":{"id":140672,"nodeType":"ParameterList","parameters":[],"src":"14014:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140730,"nodeType":"FunctionDefinition","src":"14215:205:223","nodes":[],"body":{"id":140729,"nodeType":"Block","src":"14268:152:223","nodes":[],"statements":[{"assignments":[140708],"declarations":[{"constant":false,"id":140708,"mutability":"mutable","name":"_keyTuple","nameLocation":"14291:9:223","nodeType":"VariableDeclaration","scope":140729,"src":"14274:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140706,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14274:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140707,"nodeType":"ArrayTypeName","src":"14274:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140714,"initialValue":{"arguments":[{"hexValue":"31","id":140712,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14317:1:223","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":140711,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"14303:13:223","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":140709,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14307:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140710,"nodeType":"ArrayTypeName","src":"14307:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14303:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"14274:45:223"},{"expression":{"id":140719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140715,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140708,"src":"14325:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140717,"indexExpression":{"hexValue":"30","id":140716,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14335:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14325:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140718,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140701,"src":"14340:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14325:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140720,"nodeType":"ExpressionStatement","src":"14325:26:223"},{"expression":{"arguments":[{"id":140724,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139342,"src":"14381:8:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":140725,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140708,"src":"14391:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":140726,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":139349,"src":"14402:12:223","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":140721,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"14358:9:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":140723,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14368:12:223","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":12133,"src":"14358:22:223","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":140727,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14358:57:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":140728,"nodeType":"ExpressionStatement","src":"14358:57:223"}]},"documentation":{"id":140699,"nodeType":"StructuredDocumentation","src":"14158:54:223","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"_deleteRecord","nameLocation":"14224:13:223","parameters":{"id":140702,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140701,"mutability":"mutable","name":"matchEntity","nameLocation":"14246:11:223","nodeType":"VariableDeclaration","scope":140730,"src":"14238:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140700,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14238:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"14237:21:223"},"returnParameters":{"id":140703,"nodeType":"ParameterList","parameters":[],"src":"14268:0:223"},"scope":140856,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":140744,"nodeType":"FunctionDefinition","src":"14580:127:223","nodes":[],"body":{"id":140743,"nodeType":"Block","src":"14660:47:223","nodes":[],"statements":[{"expression":{"arguments":[{"id":140740,"name":"entranceFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140733,"src":"14690:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":140738,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"14673:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":140739,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14677:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"14673:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":140741,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14673:29:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":140737,"id":140742,"nodeType":"Return","src":"14666:36:223"}]},"documentation":{"id":140731,"nodeType":"StructuredDocumentation","src":"14424:153:223","text":" @notice Tightly pack static (fixed length) data using this table's schema.\n @return The static data, encoded into a sequence of bytes."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeStatic","nameLocation":"14589:12:223","parameters":{"id":140734,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140733,"mutability":"mutable","name":"entranceFee","nameLocation":"14610:11:223","nodeType":"VariableDeclaration","scope":140744,"src":"14602:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140732,"name":"uint256","nodeType":"ElementaryTypeName","src":"14602:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14601:21:223"},"returnParameters":{"id":140737,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140736,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":140744,"src":"14646:12:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140735,"name":"bytes","nodeType":"ElementaryTypeName","src":"14646:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14645:14:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":140766,"nodeType":"FunctionDefinition","src":"14898:307:223","nodes":[],"body":{"id":140765,"nodeType":"Block","src":"15012:193:223","nodes":[],"statements":[{"id":140764,"nodeType":"UncheckedBlock","src":"15105:96:223","statements":[{"expression":{"id":140762,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":140754,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140752,"src":"15123:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":140760,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":140757,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140748,"src":"15164:17:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"id":140758,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15182:6:223","memberName":"length","nodeType":"MemberAccess","src":"15164:24:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"3332","id":140759,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15191:2:223","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"15164:29:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":140755,"name":"EncodedLengthsLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"15141:17:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodedLengthsLib_$7669_$","typeString":"type(library EncodedLengthsLib)"}},"id":140756,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15159:4:223","memberName":"pack","nodeType":"MemberAccess","referencedDeclaration":7314,"src":"15141:22:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (uint256) pure returns (EncodedLengths)"}},"id":140761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15141:53:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"src":"15123:71:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":140763,"nodeType":"ExpressionStatement","src":"15123:71:223"}]}]},"documentation":{"id":140745,"nodeType":"StructuredDocumentation","src":"14711:184:223","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":"14907:13:223","parameters":{"id":140749,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140748,"mutability":"mutable","name":"rewardPercentages","nameLocation":"14938:17:223","nodeType":"VariableDeclaration","scope":140766,"src":"14921:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":140746,"name":"uint256","nodeType":"ElementaryTypeName","src":"14921:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140747,"nodeType":"ArrayTypeName","src":"14921:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"14920:36:223"},"returnParameters":{"id":140753,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140752,"mutability":"mutable","name":"_encodedLengths","nameLocation":"14995:15:223","nodeType":"VariableDeclaration","scope":140766,"src":"14980:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140751,"nodeType":"UserDefinedTypeName","pathNode":{"id":140750,"name":"EncodedLengths","nameLocations":["14980:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"14980:14:223"},"referencedDeclaration":7251,"src":"14980:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"14979:32:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":140785,"nodeType":"FunctionDefinition","src":"15370:171:223","nodes":[],"body":{"id":140784,"nodeType":"Block","src":"15466:75:223","nodes":[],"statements":[{"expression":{"arguments":[{"arguments":[{"components":[{"id":140779,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140770,"src":"15516:17:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":140780,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15515:19:223","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":140777,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"15496:11:223","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodeArray_$26427_$","typeString":"type(library EncodeArray)"}},"id":140778,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15508:6:223","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":24842,"src":"15496:18:223","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":140781,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15496:39:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":140775,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"15479:3:223","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":140776,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15483:12:223","memberName":"encodePacked","nodeType":"MemberAccess","src":"15479:16:223","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":140782,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15479:57:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":140774,"id":140783,"nodeType":"Return","src":"15472:64:223"}]},"documentation":{"id":140767,"nodeType":"StructuredDocumentation","src":"15209:158:223","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":"15379:13:223","parameters":{"id":140771,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140770,"mutability":"mutable","name":"rewardPercentages","nameLocation":"15410:17:223","nodeType":"VariableDeclaration","scope":140785,"src":"15393:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":140768,"name":"uint256","nodeType":"ElementaryTypeName","src":"15393:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140769,"nodeType":"ArrayTypeName","src":"15393:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"15392:36:223"},"returnParameters":{"id":140774,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140773,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":140785,"src":"15452:12:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140772,"name":"bytes","nodeType":"ElementaryTypeName","src":"15452:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"15451:14:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":140826,"nodeType":"FunctionDefinition","src":"15850:411:223","nodes":[],"body":{"id":140825,"nodeType":"Block","src":"16002:259:223","nodes":[],"statements":[{"assignments":[140802],"declarations":[{"constant":false,"id":140802,"mutability":"mutable","name":"_staticData","nameLocation":"16021:11:223","nodeType":"VariableDeclaration","scope":140825,"src":"16008:24:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140801,"name":"bytes","nodeType":"ElementaryTypeName","src":"16008:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140806,"initialValue":{"arguments":[{"id":140804,"name":"entranceFee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140788,"src":"16048:11:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":140803,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140744,"src":"16035:12:223","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"}},"id":140805,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16035:25:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"16008:52:223"},{"assignments":[140809],"declarations":[{"constant":false,"id":140809,"mutability":"mutable","name":"_encodedLengths","nameLocation":"16082:15:223","nodeType":"VariableDeclaration","scope":140825,"src":"16067:30:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140808,"nodeType":"UserDefinedTypeName","pathNode":{"id":140807,"name":"EncodedLengths","nameLocations":["16067:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"16067:14:223"},"referencedDeclaration":7251,"src":"16067:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":140813,"initialValue":{"arguments":[{"id":140811,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140791,"src":"16114:17:223","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":140810,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140766,"src":"16100:13:223","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":140812,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16100:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"16067:65:223"},{"assignments":[140815],"declarations":[{"constant":false,"id":140815,"mutability":"mutable","name":"_dynamicData","nameLocation":"16151:12:223","nodeType":"VariableDeclaration","scope":140825,"src":"16138:25:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140814,"name":"bytes","nodeType":"ElementaryTypeName","src":"16138:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":140819,"initialValue":{"arguments":[{"id":140817,"name":"rewardPercentages","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140791,"src":"16180:17:223","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":140816,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140785,"src":"16166:13:223","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":140818,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16166:32:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"16138:60:223"},{"expression":{"components":[{"id":140820,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140802,"src":"16213:11:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":140821,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140809,"src":"16226:15:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":140822,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140815,"src":"16243:12:223","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":140823,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16212:44:223","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"functionReturnParameters":140800,"id":140824,"nodeType":"Return","src":"16205:51:223"}]},"documentation":{"id":140786,"nodeType":"StructuredDocumentation","src":"15545:302:223","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":"15859:6:223","parameters":{"id":140792,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140788,"mutability":"mutable","name":"entranceFee","nameLocation":"15879:11:223","nodeType":"VariableDeclaration","scope":140826,"src":"15871:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":140787,"name":"uint256","nodeType":"ElementaryTypeName","src":"15871:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":140791,"mutability":"mutable","name":"rewardPercentages","nameLocation":"15913:17:223","nodeType":"VariableDeclaration","scope":140826,"src":"15896:34:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":140789,"name":"uint256","nodeType":"ElementaryTypeName","src":"15896:7:223","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":140790,"nodeType":"ArrayTypeName","src":"15896:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"15865:69:223"},"returnParameters":{"id":140800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140794,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":140826,"src":"15958:12:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140793,"name":"bytes","nodeType":"ElementaryTypeName","src":"15958:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":140797,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":140826,"src":"15972:14:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":140796,"nodeType":"UserDefinedTypeName","pathNode":{"id":140795,"name":"EncodedLengths","nameLocations":["15972:14:223"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"15972:14:223"},"referencedDeclaration":7251,"src":"15972:14:223","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":140799,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":140826,"src":"15988:12:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":140798,"name":"bytes","nodeType":"ElementaryTypeName","src":"15988:5:223","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"15957:44:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":140855,"nodeType":"FunctionDefinition","src":"16354:197:223","nodes":[],"body":{"id":140854,"nodeType":"Block","src":"16440:111:223","nodes":[],"statements":[{"assignments":[140839],"declarations":[{"constant":false,"id":140839,"mutability":"mutable","name":"_keyTuple","nameLocation":"16463:9:223","nodeType":"VariableDeclaration","scope":140854,"src":"16446:26:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140837,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16446:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140838,"nodeType":"ArrayTypeName","src":"16446:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":140845,"initialValue":{"arguments":[{"hexValue":"31","id":140843,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16489:1:223","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":140842,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16475:13:223","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":140840,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16479:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140841,"nodeType":"ArrayTypeName","src":"16479:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":140844,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16475:16:223","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"16446:45:223"},{"expression":{"id":140850,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":140846,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140839,"src":"16497:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":140848,"indexExpression":{"hexValue":"30","id":140847,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16507:1:223","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16497:12:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":140849,"name":"matchEntity","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140829,"src":"16512:11:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16497:26:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140851,"nodeType":"ExpressionStatement","src":"16497:26:223"},{"expression":{"id":140852,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":140839,"src":"16537:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"functionReturnParameters":140834,"id":140853,"nodeType":"Return","src":"16530:16:223"}]},"documentation":{"id":140827,"nodeType":"StructuredDocumentation","src":"16265:86:223","text":" @notice Encode keys as a bytes32 array using this table's field layout."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeKeyTuple","nameLocation":"16363:14:223","parameters":{"id":140830,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140829,"mutability":"mutable","name":"matchEntity","nameLocation":"16386:11:223","nodeType":"VariableDeclaration","scope":140855,"src":"16378:19:223","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":140828,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16378:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"16377:21:223"},"returnParameters":{"id":140834,"nodeType":"ParameterList","parameters":[{"constant":false,"id":140833,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":140855,"src":"16422:16:223","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":140831,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16422:7:223","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":140832,"nodeType":"ArrayTypeName","src":"16422:9:223","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"16421:18:223"},"scope":140856,"stateMutability":"pure","virtual":false,"visibility":"internal"}],"abstract":false,"baseContracts":[],"canonicalName":"MatchSweepstake","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"linearizedBaseContracts":[140856],"name":"MatchSweepstake","nameLocation":"967:15:223","scope":140857,"usedErrors":[],"usedEvents":[]}],"license":"MIT"},"id":223}