{"abi":[],"bytecode":{"object":"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c1e6072f0a713839bd6aadaa9f9ee000fe2e088f044ed883bf05557d6dc6aaa264736f6c63430008180033","sourceMap":"1143:23670:244:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;1143:23670:244;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c1e6072f0a713839bd6aadaa9f9ee000fe2e088f044ed883bf05557d6dc6aaa264736f6c63430008180033","sourceMap":"1143:23670:244:-: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/TemplateContent.sol\":\"TemplateContent\"},\"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/TemplateContent.sol\":{\"keccak256\":\"0x0cdf0cf6588d72332903764dfafde5331e5b68ec132eb6b40e6b324dd1fcb710\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f0e40422c1a173cc04e5df496714aaadbb98086f06e2fef736b99b540253d92d\",\"dweb:/ipfs/QmWoSy7wPUMM4Udoi7M6M95tJjUDFpuFPgBwoXbsZnRv3e\"]}},\"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/TemplateContent.sol":"TemplateContent"},"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/TemplateContent.sol":{"keccak256":"0x0cdf0cf6588d72332903764dfafde5331e5b68ec132eb6b40e6b324dd1fcb710","urls":["bzz-raw://f0e40422c1a173cc04e5df496714aaadbb98086f06e2fef736b99b540253d92d","dweb:/ipfs/QmWoSy7wPUMM4Udoi7M6M95tJjUDFpuFPgBwoXbsZnRv3e"],"license":"MIT"}},"version":1},"ast":{"absolutePath":"src/codegen/tables/TemplateContent.sol","id":160541,"exportedSymbols":{"Bytes":[7243],"EncodeArray":[26427],"EncodedLengths":[7251],"EncodedLengthsLib":[7669],"FieldLayout":[7885],"IStore":[8658],"Memory":[9482],"ResourceId":[9486],"Schema":[9581],"SliceLib":[10192],"StoreCore":[12701],"StoreSwitch":[14558],"TemplateContent":[160540],"TemplateContentData":[157858]},"nodeType":"SourceUnit","src":"32:24782:244","nodes":[{"id":157823,"nodeType":"PragmaDirective","src":"32:25:244","nodes":[],"literals":["solidity",">=","0.8",".24"]},{"id":157825,"nodeType":"ImportDirective","src":"134:58:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/IStore.sol","file":"@latticexyz/store/src/IStore.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":8659,"symbolAliases":[{"foreign":{"id":157824,"name":"IStore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8658,"src":"143:6:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157827,"nodeType":"ImportDirective","src":"193:68:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreSwitch.sol","file":"@latticexyz/store/src/StoreSwitch.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":14559,"symbolAliases":[{"foreign":{"id":157826,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"202:11:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157829,"nodeType":"ImportDirective","src":"262:64:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/StoreCore.sol","file":"@latticexyz/store/src/StoreCore.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":13234,"symbolAliases":[{"foreign":{"id":157828,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"271:9:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157831,"nodeType":"ImportDirective","src":"327:56:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Bytes.sol","file":"@latticexyz/store/src/Bytes.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":7244,"symbolAliases":[{"foreign":{"id":157830,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"336:5:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157833,"nodeType":"ImportDirective","src":"384:58:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Memory.sol","file":"@latticexyz/store/src/Memory.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":9483,"symbolAliases":[{"foreign":{"id":157832,"name":"Memory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9482,"src":"393:6:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157835,"nodeType":"ImportDirective","src":"443:59:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Slice.sol","file":"@latticexyz/store/src/Slice.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":10290,"symbolAliases":[{"foreign":{"id":157834,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"452:8:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157837,"nodeType":"ImportDirective","src":"503:79:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol","file":"@latticexyz/store/src/tightcoder/EncodeArray.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":26428,"symbolAliases":[{"foreign":{"id":157836,"name":"EncodeArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26427,"src":"512:11:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157839,"nodeType":"ImportDirective","src":"583:68:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/FieldLayout.sol","file":"@latticexyz/store/src/FieldLayout.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":8362,"symbolAliases":[{"foreign":{"id":157838,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"592:11:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157841,"nodeType":"ImportDirective","src":"652:58:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/Schema.sol","file":"@latticexyz/store/src/Schema.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":10058,"symbolAliases":[{"foreign":{"id":157840,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"661:6:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157844,"nodeType":"ImportDirective","src":"711:93:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":157842,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"720:14:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":157843,"name":"EncodedLengthsLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"736:17:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157846,"nodeType":"ImportDirective","src":"805:66:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":157845,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"814:10:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157848,"nodeType":"ImportDirective","src":"894:66:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/ResourceId.sol","file":"@latticexyz/store/src/ResourceId.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":9568,"symbolAliases":[{"foreign":{"id":157847,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"903:10:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157850,"nodeType":"ImportDirective","src":"961:74:244","nodes":[],"absolutePath":"node_modules/@latticexyz/store/src/EncodedLengths.sol","file":"@latticexyz/store/src/EncodedLengths.sol","nameLocation":"-1:-1:-1","scope":160541,"sourceUnit":7873,"symbolAliases":[{"foreign":{"id":157849,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"970:14:244","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":157858,"nodeType":"StructDefinition","src":"1037:104:244","nodes":[],"canonicalName":"TemplateContentData","members":[{"constant":false,"id":157853,"mutability":"mutable","name":"encodedLengths","nameLocation":"1083:14:244","nodeType":"VariableDeclaration","scope":157858,"src":"1068:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":157852,"nodeType":"UserDefinedTypeName","pathNode":{"id":157851,"name":"EncodedLengths","nameLocations":["1068:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"1068:14:244"},"referencedDeclaration":7251,"src":"1068:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":157855,"mutability":"mutable","name":"staticData","nameLocation":"1107:10:244","nodeType":"VariableDeclaration","scope":157858,"src":"1101:16:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":157854,"name":"bytes","nodeType":"ElementaryTypeName","src":"1101:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":157857,"mutability":"mutable","name":"dynamicData","nameLocation":"1127:11:244","nodeType":"VariableDeclaration","scope":157858,"src":"1121:17:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":157856,"name":"bytes","nodeType":"ElementaryTypeName","src":"1121:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"name":"TemplateContentData","nameLocation":"1044:19:244","scope":160541,"visibility":"public"},{"id":160540,"nodeType":"ContractDefinition","src":"1143:23670:244","nodes":[{"id":157865,"nodeType":"VariableDeclaration","src":"1300:114:244","nodes":[],"constant":true,"mutability":"constant","name":"_tableId","nameLocation":"1320:8:244","scope":160540,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":157860,"nodeType":"UserDefinedTypeName","pathNode":{"id":157859,"name":"ResourceId","nameLocations":["1300:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"1300:10:244"},"referencedDeclaration":9486,"src":"1300:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"value":{"arguments":[{"hexValue":"307837343632303030303030303030303030303030303030303030303030303030303534363536643730366336313734363534333666366537343635366537343030","id":157863,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1347:66:244","typeDescriptions":{"typeIdentifier":"t_rational_52641441448007182715604765737134514260676237016830579385346918829977311802368_by_1","typeString":"int_const 5264...(69 digits omitted)...2368"},"value":"0x7462000000000000000000000000000054656d706c617465436f6e74656e7400"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_52641441448007182715604765737134514260676237016830579385346918829977311802368_by_1","typeString":"int_const 5264...(69 digits omitted)...2368"}],"expression":{"id":157861,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"1331:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":157862,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1342:4:244","memberName":"wrap","nodeType":"MemberAccess","src":"1331:15:244","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"function (bytes32) pure returns (ResourceId)"}},"id":157864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1331:83:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"id":157872,"nodeType":"VariableDeclaration","src":"1419:124:244","nodes":[],"constant":true,"mutability":"constant","name":"_fieldLayout","nameLocation":"1440:12:244","scope":160540,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"},"typeName":{"id":157867,"nodeType":"UserDefinedTypeName","pathNode":{"id":157866,"name":"FieldLayout","nameLocations":["1419:11:244"],"nodeType":"IdentifierPath","referencedDeclaration":7885,"src":"1419:11:244"},"referencedDeclaration":7885,"src":"1419:11:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"value":{"arguments":[{"hexValue":"307830303230303130323230303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":157870,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1476:66:244","typeDescriptions":{"typeIdentifier":"t_rational_56546065109141756805562518447042729448647117287923874945163083310759411712_by_1","typeString":"int_const 5654...(66 digits omitted)...1712"},"value":"0x0020010220000000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56546065109141756805562518447042729448647117287923874945163083310759411712_by_1","typeString":"int_const 5654...(66 digits omitted)...1712"}],"expression":{"id":157868,"name":"FieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7885,"src":"1459:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"type(FieldLayout)"}},"id":157869,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1471:4:244","memberName":"wrap","nodeType":"MemberAccess","src":"1459:16:244","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_FieldLayout_$7885_$","typeString":"function (bytes32) pure returns (FieldLayout)"}},"id":157871,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1459:84:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},"visibility":"internal"},{"id":157879,"nodeType":"VariableDeclaration","src":"1598:108:244","nodes":[],"constant":true,"mutability":"constant","name":"_keySchema","nameLocation":"1614:10:244","scope":160540,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":157874,"nodeType":"UserDefinedTypeName","pathNode":{"id":157873,"name":"Schema","nameLocations":["1598:6:244"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1598:6:244"},"referencedDeclaration":9581,"src":"1598:6:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303430303230303566356630303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":157877,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1639:66:244","typeDescriptions":{"typeIdentifier":"t_rational_113092025682258619970217289362664487098292016406357993953856212845247594496_by_1","typeString":"int_const 1130...(67 digits omitted)...4496"},"value":"0x004002005f5f0000000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_113092025682258619970217289362664487098292016406357993953856212845247594496_by_1","typeString":"int_const 1130...(67 digits omitted)...4496"}],"expression":{"id":157875,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1627:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":157876,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1634:4:244","memberName":"wrap","nodeType":"MemberAccess","src":"1627:11:244","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":157878,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1627:79:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":157886,"nodeType":"VariableDeclaration","src":"1767:110:244","nodes":[],"constant":true,"mutability":"constant","name":"_valueSchema","nameLocation":"1783:12:244","scope":160540,"stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"},"typeName":{"id":157881,"nodeType":"UserDefinedTypeName","pathNode":{"id":157880,"name":"Schema","nameLocations":["1767:6:244"],"nodeType":"IdentifierPath","referencedDeclaration":9581,"src":"1767:6:244"},"referencedDeclaration":9581,"src":"1767:6:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"value":{"arguments":[{"hexValue":"307830303230303130323566633463343030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030","id":157884,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1810:66:244","typeDescriptions":{"typeIdentifier":"t_rational_56546071824760815090079138575478188035293395992563294382583933032151908352_by_1","typeString":"int_const 5654...(66 digits omitted)...8352"},"value":"0x002001025fc4c400000000000000000000000000000000000000000000000000"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56546071824760815090079138575478188035293395992563294382583933032151908352_by_1","typeString":"int_const 5654...(66 digits omitted)...8352"}],"expression":{"id":157882,"name":"Schema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9581,"src":"1798:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_Schema_$9581_$","typeString":"type(Schema)"}},"id":157883,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1805:4:244","memberName":"wrap","nodeType":"MemberAccess","src":"1798:11:244","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_Schema_$9581_$","typeString":"function (bytes32) pure returns (Schema)"}},"id":157885,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1798:79:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},"visibility":"internal"},{"id":157914,"nodeType":"FunctionDefinition","src":"2012:170:244","nodes":[],"body":{"id":157913,"nodeType":"Block","src":"2084:98:244","nodes":[],"statements":[{"expression":{"id":157899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":157893,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157891,"src":"2090:8:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"32","id":157897,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2114:1:244","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":157896,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2101:12:244","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":157894,"name":"string","nodeType":"ElementaryTypeName","src":"2105:6:244","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":157895,"nodeType":"ArrayTypeName","src":"2105:8:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":157898,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2101:15:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"2090:26:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":157900,"nodeType":"ExpressionStatement","src":"2090:26:244"},{"expression":{"id":157905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":157901,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157891,"src":"2122:8:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":157903,"indexExpression":{"hexValue":"30","id":157902,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2131:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2122:11:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74656d706c6174654964","id":157904,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2136:12:244","typeDescriptions":{"typeIdentifier":"t_stringliteral_0fc35a85ba1ca29b752bf9a41b86d647e116e71f5dc2732341c669884154c3ac","typeString":"literal_string \"templateId\""},"value":"templateId"},"src":"2122:26:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":157906,"nodeType":"ExpressionStatement","src":"2122:26:244"},{"expression":{"id":157911,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":157907,"name":"keyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157891,"src":"2154:8:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":157909,"indexExpression":{"hexValue":"31","id":157908,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2163:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2154:11:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"7461626c654964","id":157910,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2168:9:244","typeDescriptions":{"typeIdentifier":"t_stringliteral_ac128cef1ab3add4a444a23bfb6e72f018ecffd14946b20d472e170fd584452a","typeString":"literal_string \"tableId\""},"value":"tableId"},"src":"2154:23:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":157912,"nodeType":"ExpressionStatement","src":"2154:23:244"}]},"documentation":{"id":157887,"nodeType":"StructuredDocumentation","src":"1882:127:244","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":"2021:11:244","parameters":{"id":157888,"nodeType":"ParameterList","parameters":[],"src":"2032:2:244"},"returnParameters":{"id":157892,"nodeType":"ParameterList","parameters":[{"constant":false,"id":157891,"mutability":"mutable","name":"keyNames","nameLocation":"2074:8:244","nodeType":"VariableDeclaration","scope":157914,"src":"2058:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":157889,"name":"string","nodeType":"ElementaryTypeName","src":"2058:6:244","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":157890,"nodeType":"ArrayTypeName","src":"2058:8:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"2057:26:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":157948,"nodeType":"FunctionDefinition","src":"2322:222:244","nodes":[],"body":{"id":157947,"nodeType":"Block","src":"2398:146:244","nodes":[],"statements":[{"expression":{"id":157927,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":157921,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157919,"src":"2404:10:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"33","id":157925,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2430:1:244","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"}],"id":157924,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2417:12:244","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":157922,"name":"string","nodeType":"ElementaryTypeName","src":"2421:6:244","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":157923,"nodeType":"ArrayTypeName","src":"2421:8:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}}},"id":157926,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2417:15:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"src":"2404:28:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":157928,"nodeType":"ExpressionStatement","src":"2404:28:244"},{"expression":{"id":157933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":157929,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157919,"src":"2438:10:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":157931,"indexExpression":{"hexValue":"30","id":157930,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2449:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2438:13:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"656e636f6465644c656e67746873","id":157932,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2454:16:244","typeDescriptions":{"typeIdentifier":"t_stringliteral_8e21e213878114a9357383ca0f354b3710422790df3e72eec0064ba848ec4655","typeString":"literal_string \"encodedLengths\""},"value":"encodedLengths"},"src":"2438:32:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":157934,"nodeType":"ExpressionStatement","src":"2438:32:244"},{"expression":{"id":157939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":157935,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157919,"src":"2476:10:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":157937,"indexExpression":{"hexValue":"31","id":157936,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2487:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2476:13:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"73746174696344617461","id":157938,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2492:12:244","typeDescriptions":{"typeIdentifier":"t_stringliteral_e67dcda210bd6da73523def851b396131cbcf2eae7b24818868a691488ca9a49","typeString":"literal_string \"staticData\""},"value":"staticData"},"src":"2476:28:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":157940,"nodeType":"ExpressionStatement","src":"2476:28:244"},{"expression":{"id":157945,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":157941,"name":"fieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157919,"src":"2510:10:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},"id":157943,"indexExpression":{"hexValue":"32","id":157942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2521:1:244","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2510:13:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"64796e616d696344617461","id":157944,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2526:13:244","typeDescriptions":{"typeIdentifier":"t_stringliteral_0f6202c2741332be63ec1ccacd97e5bca543526892a8e9919d3ae3b1044d3692","typeString":"literal_string \"dynamicData\""},"value":"dynamicData"},"src":"2510:29:244","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":157946,"nodeType":"ExpressionStatement","src":"2510:29:244"}]},"documentation":{"id":157915,"nodeType":"StructuredDocumentation","src":"2186:133:244","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":"2331:13:244","parameters":{"id":157916,"nodeType":"ParameterList","parameters":[],"src":"2344:2:244"},"returnParameters":{"id":157920,"nodeType":"ParameterList","parameters":[{"constant":false,"id":157919,"mutability":"mutable","name":"fieldNames","nameLocation":"2386:10:244","nodeType":"VariableDeclaration","scope":157948,"src":"2370:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string[]"},"typeName":{"baseType":{"id":157917,"name":"string","nodeType":"ElementaryTypeName","src":"2370:6:244","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"id":157918,"nodeType":"ArrayTypeName","src":"2370:8:244","typeDescriptions":{"typeIdentifier":"t_array$_t_string_storage_$dyn_storage_ptr","typeString":"string[]"}},"visibility":"internal"}],"src":"2369:28:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":157966,"nodeType":"FunctionDefinition","src":"2609:147:244","nodes":[],"body":{"id":157965,"nodeType":"Block","src":"2638:118:244","nodes":[],"statements":[{"expression":{"arguments":[{"id":157955,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"2670:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":157956,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"2680:12:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":157957,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157879,"src":"2694:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":157958,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157886,"src":"2706:12:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":157959,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157914,"src":"2720:11:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":157960,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2720:13:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":157961,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157948,"src":"2735:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":157962,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2735:15:244","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":157952,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"2644:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":157954,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2656:13:244","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":13582,"src":"2644:25:244","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":157963,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2644:107:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":157964,"nodeType":"ExpressionStatement","src":"2644:107:244"}]},"documentation":{"id":157949,"nodeType":"StructuredDocumentation","src":"2548:58:244","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"register","nameLocation":"2618:8:244","parameters":{"id":157950,"nodeType":"ParameterList","parameters":[],"src":"2626:2:244"},"returnParameters":{"id":157951,"nodeType":"ParameterList","parameters":[],"src":"2638:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":157984,"nodeType":"FunctionDefinition","src":"2821:146:244","nodes":[],"body":{"id":157983,"nodeType":"Block","src":"2851:116:244","nodes":[],"statements":[{"expression":{"arguments":[{"id":157973,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"2881:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":157974,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"2891:12:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_FieldLayout_$7885","typeString":"FieldLayout"}},{"id":157975,"name":"_keySchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157879,"src":"2905:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"id":157976,"name":"_valueSchema","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157886,"src":"2917:12:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Schema_$9581","typeString":"Schema"}},{"arguments":[],"expression":{"argumentTypes":[],"id":157977,"name":"getKeyNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157914,"src":"2931:11:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":157978,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2931:13:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_string_memory_ptr_$dyn_memory_ptr","typeString":"string memory[] memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":157979,"name":"getFieldNames","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157948,"src":"2946:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$__$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$","typeString":"function () pure returns (string memory[] memory)"}},"id":157980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2946:15:244","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":157970,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"2857:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":157972,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2867:13:244","memberName":"registerTable","nodeType":"MemberAccess","referencedDeclaration":11243,"src":"2857:23:244","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":157981,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2857:105:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":157982,"nodeType":"ExpressionStatement","src":"2857:105:244"}]},"documentation":{"id":157967,"nodeType":"StructuredDocumentation","src":"2760:58:244","text":" @notice Register the table with its config."},"implemented":true,"kind":"function","modifiers":[],"name":"_register","nameLocation":"2830:9:244","parameters":{"id":157968,"nodeType":"ParameterList","parameters":[],"src":"2839:2:244"},"returnParameters":{"id":157969,"nodeType":"ParameterList","parameters":[],"src":"2851:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158041,"nodeType":"FunctionDefinition","src":"3016:402:244","nodes":[],"body":{"id":158040,"nodeType":"Block","src":"3149:269:244","nodes":[],"statements":[{"assignments":[158000],"declarations":[{"constant":false,"id":158000,"mutability":"mutable","name":"_keyTuple","nameLocation":"3172:9:244","nodeType":"VariableDeclaration","scope":158040,"src":"3155:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":157998,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3155:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":157999,"nodeType":"ArrayTypeName","src":"3155:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158006,"initialValue":{"arguments":[{"hexValue":"32","id":158004,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3198:1:244","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":158003,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3184:13:244","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":158001,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3188:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158002,"nodeType":"ArrayTypeName","src":"3188:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158005,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3184:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3155:45:244"},{"expression":{"id":158011,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158007,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158000,"src":"3206:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158009,"indexExpression":{"hexValue":"30","id":158008,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3216:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3206:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158010,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157987,"src":"3221:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3206:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158012,"nodeType":"ExpressionStatement","src":"3206:25:244"},{"expression":{"id":158020,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158013,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158000,"src":"3237:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158015,"indexExpression":{"hexValue":"31","id":158014,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3247:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3237:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158018,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157990,"src":"3270:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158016,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"3252:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158017,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3263:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"3252:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158019,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3252:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3237:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158021,"nodeType":"ExpressionStatement","src":"3237:41:244"},{"assignments":[158023],"declarations":[{"constant":false,"id":158023,"mutability":"mutable","name":"_blob","nameLocation":"3293:5:244","nodeType":"VariableDeclaration","scope":158040,"src":"3285:13:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158022,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3285:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":158031,"initialValue":{"arguments":[{"id":158026,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"3328:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158027,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158000,"src":"3338:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158028,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3349:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":158029,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"3352:12:244","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":158024,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"3301:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158025,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3313:14:244","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":14319,"src":"3301:26:244","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":158030,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3301:64:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"3285:80:244"},{"expression":{"arguments":[{"arguments":[{"id":158036,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158023,"src":"3406:5:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":158035,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3398:7:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":158034,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3398:7:244","typeDescriptions":{}}},"id":158037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3398:14:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":158032,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"3378:14:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":158033,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3393:4:244","memberName":"wrap","nodeType":"MemberAccess","src":"3378:19:244","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes32) pure returns (EncodedLengths)"}},"id":158038,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3378:35:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"functionReturnParameters":157995,"id":158039,"nodeType":"Return","src":"3371:42:244"}]},"documentation":{"id":157985,"nodeType":"StructuredDocumentation","src":"2971:42:244","text":" @notice Get encodedLengths."},"implemented":true,"kind":"function","modifiers":[],"name":"getEncodedLengths","nameLocation":"3025:17:244","parameters":{"id":157991,"nodeType":"ParameterList","parameters":[{"constant":false,"id":157987,"mutability":"mutable","name":"templateId","nameLocation":"3056:10:244","nodeType":"VariableDeclaration","scope":158041,"src":"3048:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":157986,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3048:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":157990,"mutability":"mutable","name":"tableId","nameLocation":"3083:7:244","nodeType":"VariableDeclaration","scope":158041,"src":"3072:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":157989,"nodeType":"UserDefinedTypeName","pathNode":{"id":157988,"name":"ResourceId","nameLocations":["3072:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"3072:10:244"},"referencedDeclaration":9486,"src":"3072:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"3042:52:244"},"returnParameters":{"id":157995,"nodeType":"ParameterList","parameters":[{"constant":false,"id":157994,"mutability":"mutable","name":"encodedLengths","nameLocation":"3133:14:244","nodeType":"VariableDeclaration","scope":158041,"src":"3118:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":157993,"nodeType":"UserDefinedTypeName","pathNode":{"id":157992,"name":"EncodedLengths","nameLocations":["3118:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"3118:14:244"},"referencedDeclaration":7251,"src":"3118:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"3117:31:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158098,"nodeType":"FunctionDefinition","src":"3467:401:244","nodes":[],"body":{"id":158097,"nodeType":"Block","src":"3601:267:244","nodes":[],"statements":[{"assignments":[158057],"declarations":[{"constant":false,"id":158057,"mutability":"mutable","name":"_keyTuple","nameLocation":"3624:9:244","nodeType":"VariableDeclaration","scope":158097,"src":"3607:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158055,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3607:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158056,"nodeType":"ArrayTypeName","src":"3607:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158063,"initialValue":{"arguments":[{"hexValue":"32","id":158061,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3650:1:244","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":158060,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"3636:13:244","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":158058,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3640:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158059,"nodeType":"ArrayTypeName","src":"3640:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158062,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3636:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"3607:45:244"},{"expression":{"id":158068,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158064,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158057,"src":"3658:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158066,"indexExpression":{"hexValue":"30","id":158065,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3668:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3658:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158067,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158044,"src":"3673:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3658:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158069,"nodeType":"ExpressionStatement","src":"3658:25:244"},{"expression":{"id":158077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158070,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158057,"src":"3689:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158072,"indexExpression":{"hexValue":"31","id":158071,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3699:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3689:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158075,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158047,"src":"3722:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158073,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"3704:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158074,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3715:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"3704:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158076,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3704:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3689:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158078,"nodeType":"ExpressionStatement","src":"3689:41:244"},{"assignments":[158080],"declarations":[{"constant":false,"id":158080,"mutability":"mutable","name":"_blob","nameLocation":"3745:5:244","nodeType":"VariableDeclaration","scope":158097,"src":"3737:13:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158079,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3737:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":158088,"initialValue":{"arguments":[{"id":158083,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"3778:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158084,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158057,"src":"3788:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158085,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3799:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":158086,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"3802:12:244","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":158081,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"3753:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158082,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3763:14:244","memberName":"getStaticField","nodeType":"MemberAccess","referencedDeclaration":12483,"src":"3753:24:244","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":158087,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3753:62:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"3737:78:244"},{"expression":{"arguments":[{"arguments":[{"id":158093,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158080,"src":"3856:5:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":158092,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3848:7:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":158091,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3848:7:244","typeDescriptions":{}}},"id":158094,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3848:14:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":158089,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"3828:14:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":158090,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3843:4:244","memberName":"wrap","nodeType":"MemberAccess","src":"3828:19:244","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes32) pure returns (EncodedLengths)"}},"id":158095,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3828:35:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"functionReturnParameters":158052,"id":158096,"nodeType":"Return","src":"3821:42:244"}]},"documentation":{"id":158042,"nodeType":"StructuredDocumentation","src":"3422:42:244","text":" @notice Get encodedLengths."},"implemented":true,"kind":"function","modifiers":[],"name":"_getEncodedLengths","nameLocation":"3476:18:244","parameters":{"id":158048,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158044,"mutability":"mutable","name":"templateId","nameLocation":"3508:10:244","nodeType":"VariableDeclaration","scope":158098,"src":"3500:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158043,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3500:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158047,"mutability":"mutable","name":"tableId","nameLocation":"3535:7:244","nodeType":"VariableDeclaration","scope":158098,"src":"3524:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158046,"nodeType":"UserDefinedTypeName","pathNode":{"id":158045,"name":"ResourceId","nameLocations":["3524:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"3524:10:244"},"referencedDeclaration":9486,"src":"3524:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"3494:52:244"},"returnParameters":{"id":158052,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158051,"mutability":"mutable","name":"encodedLengths","nameLocation":"3585:14:244","nodeType":"VariableDeclaration","scope":158098,"src":"3570:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":158050,"nodeType":"UserDefinedTypeName","pathNode":{"id":158049,"name":"EncodedLengths","nameLocations":["3570:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"3570:14:244"},"referencedDeclaration":7251,"src":"3570:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"3569:31:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158153,"nodeType":"FunctionDefinition","src":"3917:405:244","nodes":[],"body":{"id":158152,"nodeType":"Block","src":"4024:298:244","nodes":[],"statements":[{"assignments":[158114],"declarations":[{"constant":false,"id":158114,"mutability":"mutable","name":"_keyTuple","nameLocation":"4047:9:244","nodeType":"VariableDeclaration","scope":158152,"src":"4030:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158112,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4030:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158113,"nodeType":"ArrayTypeName","src":"4030:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158120,"initialValue":{"arguments":[{"hexValue":"32","id":158118,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4073:1:244","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":158117,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4059:13:244","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":158115,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4063:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158116,"nodeType":"ArrayTypeName","src":"4063:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4059:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4030:45:244"},{"expression":{"id":158125,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158121,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158114,"src":"4081:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158123,"indexExpression":{"hexValue":"30","id":158122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4091:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4081:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158124,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158101,"src":"4096:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4081:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158126,"nodeType":"ExpressionStatement","src":"4081:25:244"},{"expression":{"id":158134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158127,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158114,"src":"4112:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158129,"indexExpression":{"hexValue":"31","id":158128,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4122:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4112:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158132,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158104,"src":"4145:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158130,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"4127:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158131,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4138:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"4127:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158133,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4127:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4112:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158135,"nodeType":"ExpressionStatement","src":"4112:41:244"},{"expression":{"arguments":[{"id":158139,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"4194:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158140,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158114,"src":"4210:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158141,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4227:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"arguments":[{"id":158146,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158107,"src":"4275:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":158144,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"4253:14:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":158145,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4268:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"4253:21:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":158147,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4253:37:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":158142,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4236:3:244","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":158143,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4240:12:244","memberName":"encodePacked","nodeType":"MemberAccess","src":"4236:16:244","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":158148,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4236:55:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":158149,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"4299:12:244","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":158136,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"4160:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158138,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4172:14:244","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":13893,"src":"4160:26:244","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":158150,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4160:157:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158151,"nodeType":"ExpressionStatement","src":"4160:157:244"}]},"documentation":{"id":158099,"nodeType":"StructuredDocumentation","src":"3872:42:244","text":" @notice Set encodedLengths."},"implemented":true,"kind":"function","modifiers":[],"name":"setEncodedLengths","nameLocation":"3926:17:244","parameters":{"id":158108,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158101,"mutability":"mutable","name":"templateId","nameLocation":"3952:10:244","nodeType":"VariableDeclaration","scope":158153,"src":"3944:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158100,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3944:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158104,"mutability":"mutable","name":"tableId","nameLocation":"3975:7:244","nodeType":"VariableDeclaration","scope":158153,"src":"3964:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158103,"nodeType":"UserDefinedTypeName","pathNode":{"id":158102,"name":"ResourceId","nameLocations":["3964:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"3964:10:244"},"referencedDeclaration":9486,"src":"3964:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158107,"mutability":"mutable","name":"encodedLengths","nameLocation":"3999:14:244","nodeType":"VariableDeclaration","scope":158153,"src":"3984:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":158106,"nodeType":"UserDefinedTypeName","pathNode":{"id":158105,"name":"EncodedLengths","nameLocations":["3984:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"3984:14:244"},"referencedDeclaration":7251,"src":"3984:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"3943:71:244"},"returnParameters":{"id":158109,"nodeType":"ParameterList","parameters":[],"src":"4024:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158208,"nodeType":"FunctionDefinition","src":"4371:404:244","nodes":[],"body":{"id":158207,"nodeType":"Block","src":"4479:296:244","nodes":[],"statements":[{"assignments":[158169],"declarations":[{"constant":false,"id":158169,"mutability":"mutable","name":"_keyTuple","nameLocation":"4502:9:244","nodeType":"VariableDeclaration","scope":158207,"src":"4485:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158167,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4485:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158168,"nodeType":"ArrayTypeName","src":"4485:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158175,"initialValue":{"arguments":[{"hexValue":"32","id":158173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4528:1:244","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":158172,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4514:13:244","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":158170,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4518:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158171,"nodeType":"ArrayTypeName","src":"4518:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158174,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4514:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4485:45:244"},{"expression":{"id":158180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158176,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158169,"src":"4536:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158178,"indexExpression":{"hexValue":"30","id":158177,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4546:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4536:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158179,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158156,"src":"4551:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4536:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158181,"nodeType":"ExpressionStatement","src":"4536:25:244"},{"expression":{"id":158189,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158182,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158169,"src":"4567:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158184,"indexExpression":{"hexValue":"31","id":158183,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4577:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4567:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158187,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158159,"src":"4600:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158185,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"4582:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158186,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4593:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"4582:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158188,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4582:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4567:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158190,"nodeType":"ExpressionStatement","src":"4567:41:244"},{"expression":{"arguments":[{"id":158194,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"4647:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158195,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158169,"src":"4663:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4680:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"arguments":[{"id":158201,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158162,"src":"4728:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":158199,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"4706:14:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":158200,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4721:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"4706:21:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes32_$","typeString":"function (EncodedLengths) pure returns (bytes32)"}},"id":158202,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4706:37:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":158197,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4689:3:244","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":158198,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4693:12:244","memberName":"encodePacked","nodeType":"MemberAccess","src":"4689:16:244","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":158203,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4689:55:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":158204,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"4752:12:244","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":158191,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"4615:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158193,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4625:14:244","memberName":"setStaticField","nodeType":"MemberAccess","referencedDeclaration":11901,"src":"4615:24:244","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":158205,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4615:155:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158206,"nodeType":"ExpressionStatement","src":"4615:155:244"}]},"documentation":{"id":158154,"nodeType":"StructuredDocumentation","src":"4326:42:244","text":" @notice Set encodedLengths."},"implemented":true,"kind":"function","modifiers":[],"name":"_setEncodedLengths","nameLocation":"4380:18:244","parameters":{"id":158163,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158156,"mutability":"mutable","name":"templateId","nameLocation":"4407:10:244","nodeType":"VariableDeclaration","scope":158208,"src":"4399:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158155,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4399:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158159,"mutability":"mutable","name":"tableId","nameLocation":"4430:7:244","nodeType":"VariableDeclaration","scope":158208,"src":"4419:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158158,"nodeType":"UserDefinedTypeName","pathNode":{"id":158157,"name":"ResourceId","nameLocations":["4419:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"4419:10:244"},"referencedDeclaration":9486,"src":"4419:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158162,"mutability":"mutable","name":"encodedLengths","nameLocation":"4454:14:244","nodeType":"VariableDeclaration","scope":158208,"src":"4439:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":158161,"nodeType":"UserDefinedTypeName","pathNode":{"id":158160,"name":"EncodedLengths","nameLocations":["4439:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"4439:14:244"},"referencedDeclaration":7251,"src":"4439:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"4398:71:244"},"returnParameters":{"id":158164,"nodeType":"ParameterList","parameters":[],"src":"4479:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158261,"nodeType":"FunctionDefinition","src":"4820:351:244","nodes":[],"body":{"id":158260,"nodeType":"Block","src":"4931:240:244","nodes":[],"statements":[{"assignments":[158223],"declarations":[{"constant":false,"id":158223,"mutability":"mutable","name":"_keyTuple","nameLocation":"4954:9:244","nodeType":"VariableDeclaration","scope":158260,"src":"4937:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158221,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4937:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158222,"nodeType":"ArrayTypeName","src":"4937:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158229,"initialValue":{"arguments":[{"hexValue":"32","id":158227,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4980:1:244","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":158226,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"4966:13:244","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":158224,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4970:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158225,"nodeType":"ArrayTypeName","src":"4970:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158228,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4966:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"4937:45:244"},{"expression":{"id":158234,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158230,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158223,"src":"4988:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158232,"indexExpression":{"hexValue":"30","id":158231,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4998:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4988:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158233,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158211,"src":"5003:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4988:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158235,"nodeType":"ExpressionStatement","src":"4988:25:244"},{"expression":{"id":158243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158236,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158223,"src":"5019:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158238,"indexExpression":{"hexValue":"31","id":158237,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5029:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5019:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158241,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158214,"src":"5052:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158239,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"5034:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158240,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5045:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"5034:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158242,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5034:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5019:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158244,"nodeType":"ExpressionStatement","src":"5019:41:244"},{"assignments":[158246],"declarations":[{"constant":false,"id":158246,"mutability":"mutable","name":"_blob","nameLocation":"5080:5:244","nodeType":"VariableDeclaration","scope":158260,"src":"5067:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158245,"name":"bytes","nodeType":"ElementaryTypeName","src":"5067:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":158253,"initialValue":{"arguments":[{"id":158249,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"5116:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158250,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158223,"src":"5126:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158251,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5137:1:244","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":158247,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5088:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158248,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5100:15:244","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":14364,"src":"5088:27:244","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":158252,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5088:51:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"5067:72:244"},{"expression":{"components":[{"arguments":[{"id":158256,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158246,"src":"5159:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158255,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5153:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158254,"name":"bytes","nodeType":"ElementaryTypeName","src":"5153:5:244","typeDescriptions":{}}},"id":158257,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5153:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158258,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5152:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":158218,"id":158259,"nodeType":"Return","src":"5145:21:244"}]},"documentation":{"id":158209,"nodeType":"StructuredDocumentation","src":"4779:38:244","text":" @notice Get staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"getStaticData","nameLocation":"4829:13:244","parameters":{"id":158215,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158211,"mutability":"mutable","name":"templateId","nameLocation":"4851:10:244","nodeType":"VariableDeclaration","scope":158261,"src":"4843:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158210,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4843:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158214,"mutability":"mutable","name":"tableId","nameLocation":"4874:7:244","nodeType":"VariableDeclaration","scope":158261,"src":"4863:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158213,"nodeType":"UserDefinedTypeName","pathNode":{"id":158212,"name":"ResourceId","nameLocations":["4863:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"4863:10:244"},"referencedDeclaration":9486,"src":"4863:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"4842:40:244"},"returnParameters":{"id":158218,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158217,"mutability":"mutable","name":"staticData","nameLocation":"4919:10:244","nodeType":"VariableDeclaration","scope":158261,"src":"4906:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158216,"name":"bytes","nodeType":"ElementaryTypeName","src":"4906:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4905:25:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158314,"nodeType":"FunctionDefinition","src":"5216:350:244","nodes":[],"body":{"id":158313,"nodeType":"Block","src":"5328:238:244","nodes":[],"statements":[{"assignments":[158276],"declarations":[{"constant":false,"id":158276,"mutability":"mutable","name":"_keyTuple","nameLocation":"5351:9:244","nodeType":"VariableDeclaration","scope":158313,"src":"5334:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158274,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5334:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158275,"nodeType":"ArrayTypeName","src":"5334:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158282,"initialValue":{"arguments":[{"hexValue":"32","id":158280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5377:1:244","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":158279,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5363:13:244","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":158277,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5367:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158278,"nodeType":"ArrayTypeName","src":"5367:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158281,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5363:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5334:45:244"},{"expression":{"id":158287,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158283,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158276,"src":"5385:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158285,"indexExpression":{"hexValue":"30","id":158284,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5395:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5385:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158286,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158264,"src":"5400:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5385:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158288,"nodeType":"ExpressionStatement","src":"5385:25:244"},{"expression":{"id":158296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158289,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158276,"src":"5416:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158291,"indexExpression":{"hexValue":"31","id":158290,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5426:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5416:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158294,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158267,"src":"5449:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158292,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"5431:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158293,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5442:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"5431:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158295,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5431:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5416:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158297,"nodeType":"ExpressionStatement","src":"5416:41:244"},{"assignments":[158299],"declarations":[{"constant":false,"id":158299,"mutability":"mutable","name":"_blob","nameLocation":"5477:5:244","nodeType":"VariableDeclaration","scope":158313,"src":"5464:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158298,"name":"bytes","nodeType":"ElementaryTypeName","src":"5464:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":158306,"initialValue":{"arguments":[{"id":158302,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"5511:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158303,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158276,"src":"5521:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158304,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5532:1:244","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":158300,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"5485:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5495:15:244","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":12517,"src":"5485:25:244","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":158305,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5485:49:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"5464:70:244"},{"expression":{"components":[{"arguments":[{"id":158309,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158299,"src":"5554:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158308,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5548:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158307,"name":"bytes","nodeType":"ElementaryTypeName","src":"5548:5:244","typeDescriptions":{}}},"id":158310,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5548:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158311,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5547:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":158271,"id":158312,"nodeType":"Return","src":"5540:21:244"}]},"documentation":{"id":158262,"nodeType":"StructuredDocumentation","src":"5175:38:244","text":" @notice Get staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"_getStaticData","nameLocation":"5225:14:244","parameters":{"id":158268,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158264,"mutability":"mutable","name":"templateId","nameLocation":"5248:10:244","nodeType":"VariableDeclaration","scope":158314,"src":"5240:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158263,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5240:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158267,"mutability":"mutable","name":"tableId","nameLocation":"5271:7:244","nodeType":"VariableDeclaration","scope":158314,"src":"5260:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158266,"nodeType":"UserDefinedTypeName","pathNode":{"id":158265,"name":"ResourceId","nameLocations":["5260:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"5260:10:244"},"referencedDeclaration":9486,"src":"5260:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"5239:40:244"},"returnParameters":{"id":158271,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158270,"mutability":"mutable","name":"staticData","nameLocation":"5316:10:244","nodeType":"VariableDeclaration","scope":158314,"src":"5303:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158269,"name":"bytes","nodeType":"ElementaryTypeName","src":"5303:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5302:25:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158365,"nodeType":"FunctionDefinition","src":"5611:310:244","nodes":[],"body":{"id":158364,"nodeType":"Block","src":"5708:213:244","nodes":[],"statements":[{"assignments":[158329],"declarations":[{"constant":false,"id":158329,"mutability":"mutable","name":"_keyTuple","nameLocation":"5731:9:244","nodeType":"VariableDeclaration","scope":158364,"src":"5714:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158327,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5714:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158328,"nodeType":"ArrayTypeName","src":"5714:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158335,"initialValue":{"arguments":[{"hexValue":"32","id":158333,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5757:1:244","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":158332,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5743:13:244","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":158330,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5747:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158331,"nodeType":"ArrayTypeName","src":"5747:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158334,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5743:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"5714:45:244"},{"expression":{"id":158340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158336,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158329,"src":"5765:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158338,"indexExpression":{"hexValue":"30","id":158337,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5775:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5765:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158339,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158317,"src":"5780:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5765:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158341,"nodeType":"ExpressionStatement","src":"5765:25:244"},{"expression":{"id":158349,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158342,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158329,"src":"5796:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158344,"indexExpression":{"hexValue":"31","id":158343,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5806:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5796:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158347,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158320,"src":"5829:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158345,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"5811:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158346,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5822:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"5811:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158348,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5811:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5796:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158350,"nodeType":"ExpressionStatement","src":"5796:41:244"},{"expression":{"arguments":[{"id":158354,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"5872:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158355,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158329,"src":"5882:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158356,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5893:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":158359,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158322,"src":"5903:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158360,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5902:12:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158358,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5896:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158357,"name":"bytes","nodeType":"ElementaryTypeName","src":"5896:5:244","typeDescriptions":{}}},"id":158361,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5896:19:244","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":158351,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"5844:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5856:15:244","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":13941,"src":"5844:27:244","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":158362,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5844:72:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158363,"nodeType":"ExpressionStatement","src":"5844:72:244"}]},"documentation":{"id":158315,"nodeType":"StructuredDocumentation","src":"5570:38:244","text":" @notice Set staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"setStaticData","nameLocation":"5620:13:244","parameters":{"id":158323,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158317,"mutability":"mutable","name":"templateId","nameLocation":"5642:10:244","nodeType":"VariableDeclaration","scope":158365,"src":"5634:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158316,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5634:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158320,"mutability":"mutable","name":"tableId","nameLocation":"5665:7:244","nodeType":"VariableDeclaration","scope":158365,"src":"5654:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158319,"nodeType":"UserDefinedTypeName","pathNode":{"id":158318,"name":"ResourceId","nameLocations":["5654:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"5654:10:244"},"referencedDeclaration":9486,"src":"5654:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158322,"mutability":"mutable","name":"staticData","nameLocation":"5687:10:244","nodeType":"VariableDeclaration","scope":158365,"src":"5674:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158321,"name":"bytes","nodeType":"ElementaryTypeName","src":"5674:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5633:65:244"},"returnParameters":{"id":158324,"nodeType":"ParameterList","parameters":[],"src":"5708:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158416,"nodeType":"FunctionDefinition","src":"5966:309:244","nodes":[],"body":{"id":158415,"nodeType":"Block","src":"6064:211:244","nodes":[],"statements":[{"assignments":[158380],"declarations":[{"constant":false,"id":158380,"mutability":"mutable","name":"_keyTuple","nameLocation":"6087:9:244","nodeType":"VariableDeclaration","scope":158415,"src":"6070:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158378,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6070:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158379,"nodeType":"ArrayTypeName","src":"6070:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158386,"initialValue":{"arguments":[{"hexValue":"32","id":158384,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6113:1:244","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":158383,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6099:13:244","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":158381,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6103:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158382,"nodeType":"ArrayTypeName","src":"6103:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158385,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6099:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6070:45:244"},{"expression":{"id":158391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158387,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158380,"src":"6121:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158389,"indexExpression":{"hexValue":"30","id":158388,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6131:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6121:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158390,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158368,"src":"6136:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6121:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158392,"nodeType":"ExpressionStatement","src":"6121:25:244"},{"expression":{"id":158400,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158393,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158380,"src":"6152:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158395,"indexExpression":{"hexValue":"31","id":158394,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6162:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6152:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158398,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158371,"src":"6185:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158396,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"6167:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158397,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6178:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"6167:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158399,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6167:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6152:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158401,"nodeType":"ExpressionStatement","src":"6152:41:244"},{"expression":{"arguments":[{"id":158405,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"6226:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158406,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158380,"src":"6236:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6247:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":158410,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158373,"src":"6257:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158411,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6256:12:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158409,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6250:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158408,"name":"bytes","nodeType":"ElementaryTypeName","src":"6250:5:244","typeDescriptions":{}}},"id":158412,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6250:19:244","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":158402,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"6200:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6210:15:244","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":11947,"src":"6200:25:244","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":158413,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6200:70:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158414,"nodeType":"ExpressionStatement","src":"6200:70:244"}]},"documentation":{"id":158366,"nodeType":"StructuredDocumentation","src":"5925:38:244","text":" @notice Set staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"_setStaticData","nameLocation":"5975:14:244","parameters":{"id":158374,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158368,"mutability":"mutable","name":"templateId","nameLocation":"5998:10:244","nodeType":"VariableDeclaration","scope":158416,"src":"5990:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158367,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5990:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158371,"mutability":"mutable","name":"tableId","nameLocation":"6021:7:244","nodeType":"VariableDeclaration","scope":158416,"src":"6010:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158370,"nodeType":"UserDefinedTypeName","pathNode":{"id":158369,"name":"ResourceId","nameLocations":["6010:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"6010:10:244"},"referencedDeclaration":9486,"src":"6010:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158373,"mutability":"mutable","name":"staticData","nameLocation":"6043:10:244","nodeType":"VariableDeclaration","scope":158416,"src":"6030:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158372,"name":"bytes","nodeType":"ElementaryTypeName","src":"6030:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5989:65:244"},"returnParameters":{"id":158375,"nodeType":"ParameterList","parameters":[],"src":"6064:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158468,"nodeType":"FunctionDefinition","src":"6334:370:244","nodes":[],"body":{"id":158467,"nodeType":"Block","src":"6432:272:244","nodes":[],"statements":[{"assignments":[158431],"declarations":[{"constant":false,"id":158431,"mutability":"mutable","name":"_keyTuple","nameLocation":"6455:9:244","nodeType":"VariableDeclaration","scope":158467,"src":"6438:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158429,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6438:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158430,"nodeType":"ArrayTypeName","src":"6438:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158437,"initialValue":{"arguments":[{"hexValue":"32","id":158435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6481:1:244","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":158434,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6467:13:244","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":158432,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6471:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158433,"nodeType":"ArrayTypeName","src":"6471:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158436,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6467:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6438:45:244"},{"expression":{"id":158442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158438,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158431,"src":"6489:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158440,"indexExpression":{"hexValue":"30","id":158439,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6499:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6489:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158441,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158419,"src":"6504:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6489:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158443,"nodeType":"ExpressionStatement","src":"6489:25:244"},{"expression":{"id":158451,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158444,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158431,"src":"6520:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158446,"indexExpression":{"hexValue":"31","id":158445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6530:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6520:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158449,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158422,"src":"6553:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158447,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"6535:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158448,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6546:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"6535:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158450,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6535:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6520:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158452,"nodeType":"ExpressionStatement","src":"6520:41:244"},{"assignments":[158454],"declarations":[{"constant":false,"id":158454,"mutability":"mutable","name":"_byteLength","nameLocation":"6576:11:244","nodeType":"VariableDeclaration","scope":158467,"src":"6568:19:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158453,"name":"uint256","nodeType":"ElementaryTypeName","src":"6568:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":158461,"initialValue":{"arguments":[{"id":158457,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"6624:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158458,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158431,"src":"6634:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158459,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6645:1:244","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":158455,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"6590:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158456,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6602:21:244","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":14504,"src":"6590:33:244","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":158460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6590:57:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6568:79:244"},{"id":158466,"nodeType":"UncheckedBlock","src":"6653:47:244","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158464,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158462,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158454,"src":"6678:11:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"31","id":158463,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6692:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6678:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":158426,"id":158465,"nodeType":"Return","src":"6671:22:244"}]}]},"documentation":{"id":158417,"nodeType":"StructuredDocumentation","src":"6279:52:244","text":" @notice Get the length of staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"lengthStaticData","nameLocation":"6343:16:244","parameters":{"id":158423,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158419,"mutability":"mutable","name":"templateId","nameLocation":"6368:10:244","nodeType":"VariableDeclaration","scope":158468,"src":"6360:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158418,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6360:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158422,"mutability":"mutable","name":"tableId","nameLocation":"6391:7:244","nodeType":"VariableDeclaration","scope":158468,"src":"6380:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158421,"nodeType":"UserDefinedTypeName","pathNode":{"id":158420,"name":"ResourceId","nameLocations":["6380:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"6380:10:244"},"referencedDeclaration":9486,"src":"6380:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"6359:40:244"},"returnParameters":{"id":158426,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158425,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":158468,"src":"6423:7:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158424,"name":"uint256","nodeType":"ElementaryTypeName","src":"6423:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6422:9:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158520,"nodeType":"FunctionDefinition","src":"6763:369:244","nodes":[],"body":{"id":158519,"nodeType":"Block","src":"6862:270:244","nodes":[],"statements":[{"assignments":[158483],"declarations":[{"constant":false,"id":158483,"mutability":"mutable","name":"_keyTuple","nameLocation":"6885:9:244","nodeType":"VariableDeclaration","scope":158519,"src":"6868:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158481,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6868:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158482,"nodeType":"ArrayTypeName","src":"6868:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158489,"initialValue":{"arguments":[{"hexValue":"32","id":158487,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6911:1:244","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":158486,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6897:13:244","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":158484,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6901:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158485,"nodeType":"ArrayTypeName","src":"6901:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158488,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6897:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"6868:45:244"},{"expression":{"id":158494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158490,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158483,"src":"6919:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158492,"indexExpression":{"hexValue":"30","id":158491,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6929:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6919:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158493,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158471,"src":"6934:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6919:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158495,"nodeType":"ExpressionStatement","src":"6919:25:244"},{"expression":{"id":158503,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158496,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158483,"src":"6950:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158498,"indexExpression":{"hexValue":"31","id":158497,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6960:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6950:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158501,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158474,"src":"6983:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158499,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"6965:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158500,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6976:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"6965:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158502,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6965:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"6950:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158504,"nodeType":"ExpressionStatement","src":"6950:41:244"},{"assignments":[158506],"declarations":[{"constant":false,"id":158506,"mutability":"mutable","name":"_byteLength","nameLocation":"7006:11:244","nodeType":"VariableDeclaration","scope":158519,"src":"6998:19:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158505,"name":"uint256","nodeType":"ElementaryTypeName","src":"6998:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":158513,"initialValue":{"arguments":[{"id":158509,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"7052:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158510,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158483,"src":"7062:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158511,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7073:1:244","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":158507,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"7020:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7030:21:244","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":12611,"src":"7020:31:244","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":158512,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7020:55:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6998:77:244"},{"id":158518,"nodeType":"UncheckedBlock","src":"7081:47:244","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158516,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158514,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158506,"src":"7106:11:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"31","id":158515,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7120:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7106:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":158478,"id":158517,"nodeType":"Return","src":"7099:22:244"}]}]},"documentation":{"id":158469,"nodeType":"StructuredDocumentation","src":"6708:52:244","text":" @notice Get the length of staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"_lengthStaticData","nameLocation":"6772:17:244","parameters":{"id":158475,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158471,"mutability":"mutable","name":"templateId","nameLocation":"6798:10:244","nodeType":"VariableDeclaration","scope":158520,"src":"6790:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158470,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6790:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158474,"mutability":"mutable","name":"tableId","nameLocation":"6821:7:244","nodeType":"VariableDeclaration","scope":158520,"src":"6810:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158473,"nodeType":"UserDefinedTypeName","pathNode":{"id":158472,"name":"ResourceId","nameLocations":["6810:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"6810:10:244"},"referencedDeclaration":9486,"src":"6810:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"6789:40:244"},"returnParameters":{"id":158478,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158477,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":158520,"src":"6853:7:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158476,"name":"uint256","nodeType":"ElementaryTypeName","src":"6853:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6852:9:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158585,"nodeType":"FunctionDefinition","src":"7278:437:244","nodes":[],"body":{"id":158584,"nodeType":"Block","src":"7414:301:244","nodes":[],"statements":[{"assignments":[158537],"declarations":[{"constant":false,"id":158537,"mutability":"mutable","name":"_keyTuple","nameLocation":"7437:9:244","nodeType":"VariableDeclaration","scope":158584,"src":"7420:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158535,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7420:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158536,"nodeType":"ArrayTypeName","src":"7420:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158543,"initialValue":{"arguments":[{"hexValue":"32","id":158541,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7463:1:244","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":158540,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7449:13:244","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":158538,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7453:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158539,"nodeType":"ArrayTypeName","src":"7453:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158542,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7449:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"7420:45:244"},{"expression":{"id":158548,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158544,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158537,"src":"7471:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158546,"indexExpression":{"hexValue":"30","id":158545,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7481:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7471:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158547,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158523,"src":"7486:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7471:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158549,"nodeType":"ExpressionStatement","src":"7471:25:244"},{"expression":{"id":158557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158550,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158537,"src":"7502:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158552,"indexExpression":{"hexValue":"31","id":158551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7512:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7502:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158555,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158526,"src":"7535:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158553,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"7517:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158554,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7528:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"7517:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158556,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7517:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"7502:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158558,"nodeType":"ExpressionStatement","src":"7502:41:244"},{"id":158583,"nodeType":"UncheckedBlock","src":"7550:161:244","statements":[{"assignments":[158560],"declarations":[{"constant":false,"id":158560,"mutability":"mutable","name":"_blob","nameLocation":"7581:5:244","nodeType":"VariableDeclaration","scope":158583,"src":"7568:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158559,"name":"bytes","nodeType":"ElementaryTypeName","src":"7568:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":158576,"initialValue":{"arguments":[{"id":158563,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"7622:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158564,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158537,"src":"7632:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158565,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7643:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158568,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158566,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158528,"src":"7646:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":158567,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7655:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7646:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158574,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158571,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158569,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158528,"src":"7659:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":158570,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7668:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7659:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":158572,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7658:12:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":158573,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7673:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7658:16:244","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":158561,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"7589:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7601:20:244","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":14557,"src":"7589:32:244","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":158575,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7589:86:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"7568:107:244"},{"expression":{"components":[{"arguments":[{"id":158579,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158560,"src":"7697:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158578,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7691:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158577,"name":"bytes","nodeType":"ElementaryTypeName","src":"7691:5:244","typeDescriptions":{}}},"id":158580,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7691:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158581,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7690:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":158532,"id":158582,"nodeType":"Return","src":"7683:21:244"}]}]},"documentation":{"id":158521,"nodeType":"StructuredDocumentation","src":"7136:139:244","text":" @notice Get an item of staticData.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"getItemStaticData","nameLocation":"7287:17:244","parameters":{"id":158529,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158523,"mutability":"mutable","name":"templateId","nameLocation":"7318:10:244","nodeType":"VariableDeclaration","scope":158585,"src":"7310:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158522,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7310:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158526,"mutability":"mutable","name":"tableId","nameLocation":"7345:7:244","nodeType":"VariableDeclaration","scope":158585,"src":"7334:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158525,"nodeType":"UserDefinedTypeName","pathNode":{"id":158524,"name":"ResourceId","nameLocations":["7334:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"7334:10:244"},"referencedDeclaration":9486,"src":"7334:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158528,"mutability":"mutable","name":"_index","nameLocation":"7366:6:244","nodeType":"VariableDeclaration","scope":158585,"src":"7358:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158527,"name":"uint256","nodeType":"ElementaryTypeName","src":"7358:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7304:72:244"},"returnParameters":{"id":158532,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158531,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":158585,"src":"7400:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158530,"name":"bytes","nodeType":"ElementaryTypeName","src":"7400:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7399:14:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158650,"nodeType":"FunctionDefinition","src":"7861:436:244","nodes":[],"body":{"id":158649,"nodeType":"Block","src":"7998:299:244","nodes":[],"statements":[{"assignments":[158602],"declarations":[{"constant":false,"id":158602,"mutability":"mutable","name":"_keyTuple","nameLocation":"8021:9:244","nodeType":"VariableDeclaration","scope":158649,"src":"8004:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158600,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8004:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158601,"nodeType":"ArrayTypeName","src":"8004:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158608,"initialValue":{"arguments":[{"hexValue":"32","id":158606,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8047:1:244","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":158605,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8033:13:244","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":158603,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8037:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158604,"nodeType":"ArrayTypeName","src":"8037:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158607,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8033:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8004:45:244"},{"expression":{"id":158613,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158609,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158602,"src":"8055:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158611,"indexExpression":{"hexValue":"30","id":158610,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8065:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8055:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158612,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158588,"src":"8070:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8055:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158614,"nodeType":"ExpressionStatement","src":"8055:25:244"},{"expression":{"id":158622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158615,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158602,"src":"8086:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158617,"indexExpression":{"hexValue":"31","id":158616,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8096:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8086:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158620,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158591,"src":"8119:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158618,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"8101:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158619,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8112:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"8101:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158621,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8101:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8086:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158623,"nodeType":"ExpressionStatement","src":"8086:41:244"},{"id":158648,"nodeType":"UncheckedBlock","src":"8134:159:244","statements":[{"assignments":[158625],"declarations":[{"constant":false,"id":158625,"mutability":"mutable","name":"_blob","nameLocation":"8165:5:244","nodeType":"VariableDeclaration","scope":158648,"src":"8152:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158624,"name":"bytes","nodeType":"ElementaryTypeName","src":"8152:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":158641,"initialValue":{"arguments":[{"id":158628,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"8204:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158629,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158602,"src":"8214:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158630,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8225:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158631,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158593,"src":"8228:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":158632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8237:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"8228:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158636,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158634,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158593,"src":"8241:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":158635,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8250:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"8241:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":158637,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8240:12:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":158638,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8255:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"8240:16:244","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":158626,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"8173:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158627,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8183:20:244","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":12700,"src":"8173:30:244","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":158640,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8173:84:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"8152:105:244"},{"expression":{"components":[{"arguments":[{"id":158644,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158625,"src":"8279:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158643,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8273:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158642,"name":"bytes","nodeType":"ElementaryTypeName","src":"8273:5:244","typeDescriptions":{}}},"id":158645,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8273:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158646,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8272:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":158597,"id":158647,"nodeType":"Return","src":"8265:21:244"}]}]},"documentation":{"id":158586,"nodeType":"StructuredDocumentation","src":"7719:139:244","text":" @notice Get an item of staticData.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"_getItemStaticData","nameLocation":"7870:18:244","parameters":{"id":158594,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158588,"mutability":"mutable","name":"templateId","nameLocation":"7902:10:244","nodeType":"VariableDeclaration","scope":158650,"src":"7894:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158587,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7894:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158591,"mutability":"mutable","name":"tableId","nameLocation":"7929:7:244","nodeType":"VariableDeclaration","scope":158650,"src":"7918:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158590,"nodeType":"UserDefinedTypeName","pathNode":{"id":158589,"name":"ResourceId","nameLocations":["7918:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"7918:10:244"},"referencedDeclaration":9486,"src":"7918:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158593,"mutability":"mutable","name":"_index","nameLocation":"7950:6:244","nodeType":"VariableDeclaration","scope":158650,"src":"7942:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158592,"name":"uint256","nodeType":"ElementaryTypeName","src":"7942:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7888:72:244"},"returnParameters":{"id":158597,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158596,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":158650,"src":"7984:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158595,"name":"bytes","nodeType":"ElementaryTypeName","src":"7984:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"7983:14:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":158701,"nodeType":"FunctionDefinition","src":"8354:306:244","nodes":[],"body":{"id":158700,"nodeType":"Block","src":"8448:212:244","nodes":[],"statements":[{"assignments":[158665],"declarations":[{"constant":false,"id":158665,"mutability":"mutable","name":"_keyTuple","nameLocation":"8471:9:244","nodeType":"VariableDeclaration","scope":158700,"src":"8454:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158663,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8454:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158664,"nodeType":"ArrayTypeName","src":"8454:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158671,"initialValue":{"arguments":[{"hexValue":"32","id":158669,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8497:1:244","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":158668,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8483:13:244","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":158666,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8487:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158667,"nodeType":"ArrayTypeName","src":"8487:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8483:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8454:45:244"},{"expression":{"id":158676,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158672,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158665,"src":"8505:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158674,"indexExpression":{"hexValue":"30","id":158673,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8515:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8505:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158675,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158653,"src":"8520:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8505:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158677,"nodeType":"ExpressionStatement","src":"8505:25:244"},{"expression":{"id":158685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158678,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158665,"src":"8536:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158680,"indexExpression":{"hexValue":"31","id":158679,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8546:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8536:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158683,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158656,"src":"8569:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158681,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"8551:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158682,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8562:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"8551:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8551:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8536:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158686,"nodeType":"ExpressionStatement","src":"8536:41:244"},{"expression":{"arguments":[{"id":158690,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"8615:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158691,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158665,"src":"8625:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158692,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8636:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":158695,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158658,"src":"8646:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158696,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8645:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158694,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8639:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158693,"name":"bytes","nodeType":"ElementaryTypeName","src":"8639:5:244","typeDescriptions":{}}},"id":158697,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8639:15:244","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":158687,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"8584:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158689,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8596:18:244","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":13989,"src":"8584:30:244","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":158698,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8584:71:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158699,"nodeType":"ExpressionStatement","src":"8584:71:244"}]},"documentation":{"id":158651,"nodeType":"StructuredDocumentation","src":"8301:50:244","text":" @notice Push a slice to staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"pushStaticData","nameLocation":"8363:14:244","parameters":{"id":158659,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158653,"mutability":"mutable","name":"templateId","nameLocation":"8386:10:244","nodeType":"VariableDeclaration","scope":158701,"src":"8378:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158652,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8378:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158656,"mutability":"mutable","name":"tableId","nameLocation":"8409:7:244","nodeType":"VariableDeclaration","scope":158701,"src":"8398:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158655,"nodeType":"UserDefinedTypeName","pathNode":{"id":158654,"name":"ResourceId","nameLocations":["8398:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"8398:10:244"},"referencedDeclaration":9486,"src":"8398:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158658,"mutability":"mutable","name":"_slice","nameLocation":"8431:6:244","nodeType":"VariableDeclaration","scope":158701,"src":"8418:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158657,"name":"bytes","nodeType":"ElementaryTypeName","src":"8418:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8377:61:244"},"returnParameters":{"id":158660,"nodeType":"ParameterList","parameters":[],"src":"8448:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158752,"nodeType":"FunctionDefinition","src":"8717:305:244","nodes":[],"body":{"id":158751,"nodeType":"Block","src":"8812:210:244","nodes":[],"statements":[{"assignments":[158716],"declarations":[{"constant":false,"id":158716,"mutability":"mutable","name":"_keyTuple","nameLocation":"8835:9:244","nodeType":"VariableDeclaration","scope":158751,"src":"8818:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158714,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8818:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158715,"nodeType":"ArrayTypeName","src":"8818:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158722,"initialValue":{"arguments":[{"hexValue":"32","id":158720,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8861:1:244","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":158719,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"8847:13:244","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":158717,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8851:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158718,"nodeType":"ArrayTypeName","src":"8851:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158721,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8847:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"8818:45:244"},{"expression":{"id":158727,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158723,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158716,"src":"8869:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158725,"indexExpression":{"hexValue":"30","id":158724,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8879:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8869:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158726,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158704,"src":"8884:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8869:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158728,"nodeType":"ExpressionStatement","src":"8869:25:244"},{"expression":{"id":158736,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158729,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158716,"src":"8900:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158731,"indexExpression":{"hexValue":"31","id":158730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8910:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8900:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158734,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158707,"src":"8933:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158732,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"8915:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158733,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8926:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"8915:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158735,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8915:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"8900:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158737,"nodeType":"ExpressionStatement","src":"8900:41:244"},{"expression":{"arguments":[{"id":158741,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"8977:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158742,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158716,"src":"8987:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158743,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8998:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"components":[{"id":158746,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158709,"src":"9008:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158747,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9007:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158745,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9001:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158744,"name":"bytes","nodeType":"ElementaryTypeName","src":"9001:5:244","typeDescriptions":{}}},"id":158748,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9001:15:244","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":158738,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"8948:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158740,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8958:18:244","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":12182,"src":"8948:28:244","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":158749,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8948:69:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158750,"nodeType":"ExpressionStatement","src":"8948:69:244"}]},"documentation":{"id":158702,"nodeType":"StructuredDocumentation","src":"8664:50:244","text":" @notice Push a slice to staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"_pushStaticData","nameLocation":"8726:15:244","parameters":{"id":158710,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158704,"mutability":"mutable","name":"templateId","nameLocation":"8750:10:244","nodeType":"VariableDeclaration","scope":158752,"src":"8742:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158703,"name":"bytes32","nodeType":"ElementaryTypeName","src":"8742:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158707,"mutability":"mutable","name":"tableId","nameLocation":"8773:7:244","nodeType":"VariableDeclaration","scope":158752,"src":"8762:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158706,"nodeType":"UserDefinedTypeName","pathNode":{"id":158705,"name":"ResourceId","nameLocations":["8762:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"8762:10:244"},"referencedDeclaration":9486,"src":"8762:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158709,"mutability":"mutable","name":"_slice","nameLocation":"8795:6:244","nodeType":"VariableDeclaration","scope":158752,"src":"8782:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158708,"name":"bytes","nodeType":"ElementaryTypeName","src":"8782:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"8741:61:244"},"returnParameters":{"id":158711,"nodeType":"ParameterList","parameters":[],"src":"8812:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158797,"nodeType":"FunctionDefinition","src":"9080:271:244","nodes":[],"body":{"id":158796,"nodeType":"Block","src":"9152:199:244","nodes":[],"statements":[{"assignments":[158765],"declarations":[{"constant":false,"id":158765,"mutability":"mutable","name":"_keyTuple","nameLocation":"9175:9:244","nodeType":"VariableDeclaration","scope":158796,"src":"9158:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158763,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9158:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158764,"nodeType":"ArrayTypeName","src":"9158:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158771,"initialValue":{"arguments":[{"hexValue":"32","id":158769,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9201:1:244","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":158768,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9187:13:244","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":158766,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9191:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158767,"nodeType":"ArrayTypeName","src":"9191:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158770,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9187:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9158:45:244"},{"expression":{"id":158776,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158772,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158765,"src":"9209:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158774,"indexExpression":{"hexValue":"30","id":158773,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9219:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9209:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158775,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158755,"src":"9224:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9209:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158777,"nodeType":"ExpressionStatement","src":"9209:25:244"},{"expression":{"id":158785,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158778,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158765,"src":"9240:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158780,"indexExpression":{"hexValue":"31","id":158779,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9250:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9240:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158783,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158758,"src":"9273:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158781,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"9255:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158782,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9266:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"9255:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158784,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9255:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9240:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158786,"nodeType":"ExpressionStatement","src":"9240:41:244"},{"expression":{"arguments":[{"id":158790,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"9320:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158791,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158765,"src":"9330:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158792,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9341:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"31","id":158793,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9344:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"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_1_by_1","typeString":"int_const 1"}],"expression":{"id":158787,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"9288:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158789,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9300:19:244","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":14037,"src":"9288:31:244","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":158794,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9288:58:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158795,"nodeType":"ExpressionStatement","src":"9288:58:244"}]},"documentation":{"id":158753,"nodeType":"StructuredDocumentation","src":"9026:51:244","text":" @notice Pop a slice from staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"popStaticData","nameLocation":"9089:13:244","parameters":{"id":158759,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158755,"mutability":"mutable","name":"templateId","nameLocation":"9111:10:244","nodeType":"VariableDeclaration","scope":158797,"src":"9103:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158754,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9103:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158758,"mutability":"mutable","name":"tableId","nameLocation":"9134:7:244","nodeType":"VariableDeclaration","scope":158797,"src":"9123:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158757,"nodeType":"UserDefinedTypeName","pathNode":{"id":158756,"name":"ResourceId","nameLocations":["9123:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"9123:10:244"},"referencedDeclaration":9486,"src":"9123:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"9102:40:244"},"returnParameters":{"id":158760,"nodeType":"ParameterList","parameters":[],"src":"9152:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158842,"nodeType":"FunctionDefinition","src":"9409:270:244","nodes":[],"body":{"id":158841,"nodeType":"Block","src":"9482:197:244","nodes":[],"statements":[{"assignments":[158810],"declarations":[{"constant":false,"id":158810,"mutability":"mutable","name":"_keyTuple","nameLocation":"9505:9:244","nodeType":"VariableDeclaration","scope":158841,"src":"9488:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158808,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9488:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158809,"nodeType":"ArrayTypeName","src":"9488:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158816,"initialValue":{"arguments":[{"hexValue":"32","id":158814,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9531:1:244","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":158813,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9517:13:244","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":158811,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9521:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158812,"nodeType":"ArrayTypeName","src":"9521:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158815,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9517:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9488:45:244"},{"expression":{"id":158821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158817,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158810,"src":"9539:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158819,"indexExpression":{"hexValue":"30","id":158818,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9549:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9539:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158820,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158800,"src":"9554:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9539:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158822,"nodeType":"ExpressionStatement","src":"9539:25:244"},{"expression":{"id":158830,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158823,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158810,"src":"9570:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158825,"indexExpression":{"hexValue":"31","id":158824,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9580:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9570:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158828,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158803,"src":"9603:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158826,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"9585:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158827,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9596:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"9585:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158829,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9585:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9570:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158831,"nodeType":"ExpressionStatement","src":"9570:41:244"},{"expression":{"arguments":[{"id":158835,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"9648:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158836,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158810,"src":"9658:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158837,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9669:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"31","id":158838,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9672:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"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_1_by_1","typeString":"int_const 1"}],"expression":{"id":158832,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"9618:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158834,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9628:19:244","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":12239,"src":"9618:29:244","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":158839,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9618:56:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158840,"nodeType":"ExpressionStatement","src":"9618:56:244"}]},"documentation":{"id":158798,"nodeType":"StructuredDocumentation","src":"9355:51:244","text":" @notice Pop a slice from staticData."},"implemented":true,"kind":"function","modifiers":[],"name":"_popStaticData","nameLocation":"9418:14:244","parameters":{"id":158804,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158800,"mutability":"mutable","name":"templateId","nameLocation":"9441:10:244","nodeType":"VariableDeclaration","scope":158842,"src":"9433:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158799,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9433:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158803,"mutability":"mutable","name":"tableId","nameLocation":"9464:7:244","nodeType":"VariableDeclaration","scope":158842,"src":"9453:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158802,"nodeType":"UserDefinedTypeName","pathNode":{"id":158801,"name":"ResourceId","nameLocations":["9453:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"9453:10:244"},"referencedDeclaration":9486,"src":"9453:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"9432:40:244"},"returnParameters":{"id":158805,"nodeType":"ParameterList","parameters":[],"src":"9482:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158911,"nodeType":"FunctionDefinition","src":"9750:432:244","nodes":[],"body":{"id":158910,"nodeType":"Block","src":"9862:320:244","nodes":[],"statements":[{"assignments":[158859],"declarations":[{"constant":false,"id":158859,"mutability":"mutable","name":"_keyTuple","nameLocation":"9885:9:244","nodeType":"VariableDeclaration","scope":158910,"src":"9868:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158857,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9868:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158858,"nodeType":"ArrayTypeName","src":"9868:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158865,"initialValue":{"arguments":[{"hexValue":"32","id":158863,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9911:1:244","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":158862,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"9897:13:244","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":158860,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9901:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158861,"nodeType":"ArrayTypeName","src":"9901:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9897:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"9868:45:244"},{"expression":{"id":158870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158866,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158859,"src":"9919:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158868,"indexExpression":{"hexValue":"30","id":158867,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9929:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9919:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158869,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158845,"src":"9934:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9919:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158871,"nodeType":"ExpressionStatement","src":"9919:25:244"},{"expression":{"id":158879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158872,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158859,"src":"9950:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158874,"indexExpression":{"hexValue":"31","id":158873,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9960:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9950:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158877,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158848,"src":"9983:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158875,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"9965:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158876,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9976:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"9965:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158878,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9965:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"9950:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158880,"nodeType":"ExpressionStatement","src":"9950:41:244"},{"id":158909,"nodeType":"UncheckedBlock","src":"9998:180:244","statements":[{"assignments":[158882],"declarations":[{"constant":false,"id":158882,"mutability":"mutable","name":"_encoded","nameLocation":"10029:8:244","nodeType":"VariableDeclaration","scope":158909,"src":"10016:21:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158881,"name":"bytes","nodeType":"ElementaryTypeName","src":"10016:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":158888,"initialValue":{"arguments":[{"components":[{"id":158885,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158852,"src":"10047:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158886,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10046:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158884,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10040:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158883,"name":"bytes","nodeType":"ElementaryTypeName","src":"10040:5:244","typeDescriptions":{}}},"id":158887,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10040:15:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"10016:39:244"},{"expression":{"arguments":[{"id":158892,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"10093:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158893,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158859,"src":"10103:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158894,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10114:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158897,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158850,"src":"10124:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":158898,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10133:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10124:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":158896,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10117:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":158895,"name":"uint40","nodeType":"ElementaryTypeName","src":"10117:6:244","typeDescriptions":{}}},"id":158900,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10117:18:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":158903,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158882,"src":"10144:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":158904,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10153:6:244","memberName":"length","nodeType":"MemberAccess","src":"10144:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":158902,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10137:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":158901,"name":"uint40","nodeType":"ElementaryTypeName","src":"10137:6:244","typeDescriptions":{}}},"id":158905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10137:23:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":158906,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158882,"src":"10162:8:244","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":158889,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"10063:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":158891,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10075:17:244","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":13739,"src":"10063:29:244","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":158907,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10063:108:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158908,"nodeType":"ExpressionStatement","src":"10063:108:244"}]}]},"documentation":{"id":158843,"nodeType":"StructuredDocumentation","src":"9683:64:244","text":" @notice Update a slice of staticData at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"updateStaticData","nameLocation":"9759:16:244","parameters":{"id":158853,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158845,"mutability":"mutable","name":"templateId","nameLocation":"9784:10:244","nodeType":"VariableDeclaration","scope":158911,"src":"9776:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158844,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9776:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158848,"mutability":"mutable","name":"tableId","nameLocation":"9807:7:244","nodeType":"VariableDeclaration","scope":158911,"src":"9796:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158847,"nodeType":"UserDefinedTypeName","pathNode":{"id":158846,"name":"ResourceId","nameLocations":["9796:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"9796:10:244"},"referencedDeclaration":9486,"src":"9796:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158850,"mutability":"mutable","name":"_index","nameLocation":"9824:6:244","nodeType":"VariableDeclaration","scope":158911,"src":"9816:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158849,"name":"uint256","nodeType":"ElementaryTypeName","src":"9816:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":158852,"mutability":"mutable","name":"_slice","nameLocation":"9845:6:244","nodeType":"VariableDeclaration","scope":158911,"src":"9832:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158851,"name":"bytes","nodeType":"ElementaryTypeName","src":"9832:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"9775:77:244"},"returnParameters":{"id":158854,"nodeType":"ParameterList","parameters":[],"src":"9862:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":158980,"nodeType":"FunctionDefinition","src":"10253:431:244","nodes":[],"body":{"id":158979,"nodeType":"Block","src":"10366:318:244","nodes":[],"statements":[{"assignments":[158928],"declarations":[{"constant":false,"id":158928,"mutability":"mutable","name":"_keyTuple","nameLocation":"10389:9:244","nodeType":"VariableDeclaration","scope":158979,"src":"10372:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158926,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10372:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158927,"nodeType":"ArrayTypeName","src":"10372:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":158934,"initialValue":{"arguments":[{"hexValue":"32","id":158932,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10415:1:244","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":158931,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10401:13:244","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":158929,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10405:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158930,"nodeType":"ArrayTypeName","src":"10405:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":158933,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10401:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10372:45:244"},{"expression":{"id":158939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158935,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158928,"src":"10423:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158937,"indexExpression":{"hexValue":"30","id":158936,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10433:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10423:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":158938,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158914,"src":"10438:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10423:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158940,"nodeType":"ExpressionStatement","src":"10423:25:244"},{"expression":{"id":158948,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":158941,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158928,"src":"10454:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":158943,"indexExpression":{"hexValue":"31","id":158942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10464:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10454:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":158946,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158917,"src":"10487:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":158944,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"10469:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":158945,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10480:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"10469:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":158947,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10469:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10454:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158949,"nodeType":"ExpressionStatement","src":"10454:41:244"},{"id":158978,"nodeType":"UncheckedBlock","src":"10502:178:244","statements":[{"assignments":[158951],"declarations":[{"constant":false,"id":158951,"mutability":"mutable","name":"_encoded","nameLocation":"10533:8:244","nodeType":"VariableDeclaration","scope":158978,"src":"10520:21:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158950,"name":"bytes","nodeType":"ElementaryTypeName","src":"10520:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":158957,"initialValue":{"arguments":[{"components":[{"id":158954,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158921,"src":"10551:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":158955,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10550:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":158953,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10544:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":158952,"name":"bytes","nodeType":"ElementaryTypeName","src":"10544:5:244","typeDescriptions":{}}},"id":158956,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10544:15:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"10520:39:244"},{"expression":{"arguments":[{"id":158961,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"10595:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":158962,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158928,"src":"10605:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"30","id":158963,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10616:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":158968,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":158966,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158919,"src":"10626:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":158967,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10635:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10626:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":158965,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10619:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":158964,"name":"uint40","nodeType":"ElementaryTypeName","src":"10619:6:244","typeDescriptions":{}}},"id":158969,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10619:18:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":158972,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158951,"src":"10646:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":158973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10655:6:244","memberName":"length","nodeType":"MemberAccess","src":"10646:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":158971,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10639:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":158970,"name":"uint40","nodeType":"ElementaryTypeName","src":"10639:6:244","typeDescriptions":{}}},"id":158974,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10639:23:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":158975,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158951,"src":"10664:8:244","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":158958,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"10567:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":158960,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10577:17:244","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":11796,"src":"10567:27:244","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":158976,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10567:106:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":158977,"nodeType":"ExpressionStatement","src":"10567:106:244"}]}]},"documentation":{"id":158912,"nodeType":"StructuredDocumentation","src":"10186:64:244","text":" @notice Update a slice of staticData at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"_updateStaticData","nameLocation":"10262:17:244","parameters":{"id":158922,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158914,"mutability":"mutable","name":"templateId","nameLocation":"10288:10:244","nodeType":"VariableDeclaration","scope":158980,"src":"10280:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158913,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10280:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158917,"mutability":"mutable","name":"tableId","nameLocation":"10311:7:244","nodeType":"VariableDeclaration","scope":158980,"src":"10300:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158916,"nodeType":"UserDefinedTypeName","pathNode":{"id":158915,"name":"ResourceId","nameLocations":["10300:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"10300:10:244"},"referencedDeclaration":9486,"src":"10300:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":158919,"mutability":"mutable","name":"_index","nameLocation":"10328:6:244","nodeType":"VariableDeclaration","scope":158980,"src":"10320:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":158918,"name":"uint256","nodeType":"ElementaryTypeName","src":"10320:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":158921,"mutability":"mutable","name":"_slice","nameLocation":"10349:6:244","nodeType":"VariableDeclaration","scope":158980,"src":"10336:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158920,"name":"bytes","nodeType":"ElementaryTypeName","src":"10336:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"10279:77:244"},"returnParameters":{"id":158923,"nodeType":"ParameterList","parameters":[],"src":"10366:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159033,"nodeType":"FunctionDefinition","src":"10730:353:244","nodes":[],"body":{"id":159032,"nodeType":"Block","src":"10843:240:244","nodes":[],"statements":[{"assignments":[158995],"declarations":[{"constant":false,"id":158995,"mutability":"mutable","name":"_keyTuple","nameLocation":"10866:9:244","nodeType":"VariableDeclaration","scope":159032,"src":"10849:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":158993,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10849:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158994,"nodeType":"ArrayTypeName","src":"10849:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159001,"initialValue":{"arguments":[{"hexValue":"32","id":158999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10892:1:244","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":158998,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"10878:13:244","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":158996,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10882:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":158997,"nodeType":"ArrayTypeName","src":"10882:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159000,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10878:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"10849:45:244"},{"expression":{"id":159006,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159002,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158995,"src":"10900:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159004,"indexExpression":{"hexValue":"30","id":159003,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10910:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10900:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159005,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158983,"src":"10915:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10900:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159007,"nodeType":"ExpressionStatement","src":"10900:25:244"},{"expression":{"id":159015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159008,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158995,"src":"10931:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159010,"indexExpression":{"hexValue":"31","id":159009,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10941:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10931:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159013,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158986,"src":"10964:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159011,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"10946:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159012,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10957:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"10946:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159014,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10946:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"10931:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159016,"nodeType":"ExpressionStatement","src":"10931:41:244"},{"assignments":[159018],"declarations":[{"constant":false,"id":159018,"mutability":"mutable","name":"_blob","nameLocation":"10992:5:244","nodeType":"VariableDeclaration","scope":159032,"src":"10979:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159017,"name":"bytes","nodeType":"ElementaryTypeName","src":"10979:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159025,"initialValue":{"arguments":[{"id":159021,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"11028:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159022,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":158995,"src":"11038:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159023,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11049:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"expression":{"id":159019,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"11000:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159020,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11012:15:244","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":14364,"src":"11000:27:244","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":159024,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11000:51:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"10979:72:244"},{"expression":{"components":[{"arguments":[{"id":159028,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159018,"src":"11071:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159027,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11065:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159026,"name":"bytes","nodeType":"ElementaryTypeName","src":"11065:5:244","typeDescriptions":{}}},"id":159029,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11065:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159030,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11064:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":158990,"id":159031,"nodeType":"Return","src":"11057:21:244"}]},"documentation":{"id":158981,"nodeType":"StructuredDocumentation","src":"10688:39:244","text":" @notice Get dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"getDynamicData","nameLocation":"10739:14:244","parameters":{"id":158987,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158983,"mutability":"mutable","name":"templateId","nameLocation":"10762:10:244","nodeType":"VariableDeclaration","scope":159033,"src":"10754:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":158982,"name":"bytes32","nodeType":"ElementaryTypeName","src":"10754:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":158986,"mutability":"mutable","name":"tableId","nameLocation":"10785:7:244","nodeType":"VariableDeclaration","scope":159033,"src":"10774:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":158985,"nodeType":"UserDefinedTypeName","pathNode":{"id":158984,"name":"ResourceId","nameLocations":["10774:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"10774:10:244"},"referencedDeclaration":9486,"src":"10774:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"10753:40:244"},"returnParameters":{"id":158990,"nodeType":"ParameterList","parameters":[{"constant":false,"id":158989,"mutability":"mutable","name":"dynamicData","nameLocation":"10830:11:244","nodeType":"VariableDeclaration","scope":159033,"src":"10817:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":158988,"name":"bytes","nodeType":"ElementaryTypeName","src":"10817:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"10816:26:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159086,"nodeType":"FunctionDefinition","src":"11129:352:244","nodes":[],"body":{"id":159085,"nodeType":"Block","src":"11243:238:244","nodes":[],"statements":[{"assignments":[159048],"declarations":[{"constant":false,"id":159048,"mutability":"mutable","name":"_keyTuple","nameLocation":"11266:9:244","nodeType":"VariableDeclaration","scope":159085,"src":"11249:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159046,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11249:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159047,"nodeType":"ArrayTypeName","src":"11249:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159054,"initialValue":{"arguments":[{"hexValue":"32","id":159052,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11292:1:244","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":159051,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11278:13:244","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":159049,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11282:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159050,"nodeType":"ArrayTypeName","src":"11282:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159053,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11278:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11249:45:244"},{"expression":{"id":159059,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159055,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159048,"src":"11300:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159057,"indexExpression":{"hexValue":"30","id":159056,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11310:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11300:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159058,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159036,"src":"11315:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11300:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159060,"nodeType":"ExpressionStatement","src":"11300:25:244"},{"expression":{"id":159068,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159061,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159048,"src":"11331:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159063,"indexExpression":{"hexValue":"31","id":159062,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11341:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11331:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159066,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159039,"src":"11364:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159064,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"11346:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159065,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11357:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"11346:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159067,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11346:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11331:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159069,"nodeType":"ExpressionStatement","src":"11331:41:244"},{"assignments":[159071],"declarations":[{"constant":false,"id":159071,"mutability":"mutable","name":"_blob","nameLocation":"11392:5:244","nodeType":"VariableDeclaration","scope":159085,"src":"11379:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159070,"name":"bytes","nodeType":"ElementaryTypeName","src":"11379:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159078,"initialValue":{"arguments":[{"id":159074,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"11426:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159075,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159048,"src":"11436:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159076,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11447:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"expression":{"id":159072,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"11400:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159073,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11410:15:244","memberName":"getDynamicField","nodeType":"MemberAccess","referencedDeclaration":12517,"src":"11400:25:244","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":159077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11400:49:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"11379:70:244"},{"expression":{"components":[{"arguments":[{"id":159081,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159071,"src":"11469:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159080,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11463:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159079,"name":"bytes","nodeType":"ElementaryTypeName","src":"11463:5:244","typeDescriptions":{}}},"id":159082,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11463:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159083,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11462:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":159043,"id":159084,"nodeType":"Return","src":"11455:21:244"}]},"documentation":{"id":159034,"nodeType":"StructuredDocumentation","src":"11087:39:244","text":" @notice Get dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"_getDynamicData","nameLocation":"11138:15:244","parameters":{"id":159040,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159036,"mutability":"mutable","name":"templateId","nameLocation":"11162:10:244","nodeType":"VariableDeclaration","scope":159086,"src":"11154:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159035,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11154:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159039,"mutability":"mutable","name":"tableId","nameLocation":"11185:7:244","nodeType":"VariableDeclaration","scope":159086,"src":"11174:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159038,"nodeType":"UserDefinedTypeName","pathNode":{"id":159037,"name":"ResourceId","nameLocations":["11174:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"11174:10:244"},"referencedDeclaration":9486,"src":"11174:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"11153:40:244"},"returnParameters":{"id":159043,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159042,"mutability":"mutable","name":"dynamicData","nameLocation":"11230:11:244","nodeType":"VariableDeclaration","scope":159086,"src":"11217:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159041,"name":"bytes","nodeType":"ElementaryTypeName","src":"11217:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"11216:26:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159137,"nodeType":"FunctionDefinition","src":"11527:313:244","nodes":[],"body":{"id":159136,"nodeType":"Block","src":"11626:214:244","nodes":[],"statements":[{"assignments":[159101],"declarations":[{"constant":false,"id":159101,"mutability":"mutable","name":"_keyTuple","nameLocation":"11649:9:244","nodeType":"VariableDeclaration","scope":159136,"src":"11632:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159099,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11632:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159100,"nodeType":"ArrayTypeName","src":"11632:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159107,"initialValue":{"arguments":[{"hexValue":"32","id":159105,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11675:1:244","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":159104,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"11661:13:244","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":159102,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11665:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159103,"nodeType":"ArrayTypeName","src":"11665:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159106,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11661:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11632:45:244"},{"expression":{"id":159112,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159108,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159101,"src":"11683:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159110,"indexExpression":{"hexValue":"30","id":159109,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11693:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11683:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159111,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159089,"src":"11698:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11683:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159113,"nodeType":"ExpressionStatement","src":"11683:25:244"},{"expression":{"id":159121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159114,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159101,"src":"11714:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159116,"indexExpression":{"hexValue":"31","id":159115,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11724:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11714:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159119,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159092,"src":"11747:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159117,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"11729:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159118,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11740:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"11729:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159120,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11729:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"11714:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159122,"nodeType":"ExpressionStatement","src":"11714:41:244"},{"expression":{"arguments":[{"id":159126,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"11790:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159127,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159101,"src":"11800:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159128,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11811:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"components":[{"id":159131,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159094,"src":"11821:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159132,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11820:13:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159130,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11814:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159129,"name":"bytes","nodeType":"ElementaryTypeName","src":"11814:5:244","typeDescriptions":{}}},"id":159133,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11814:20:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":159123,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"11762:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159125,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11774:15:244","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":13941,"src":"11762:27:244","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":159134,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11762:73:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159135,"nodeType":"ExpressionStatement","src":"11762:73:244"}]},"documentation":{"id":159087,"nodeType":"StructuredDocumentation","src":"11485:39:244","text":" @notice Set dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"setDynamicData","nameLocation":"11536:14:244","parameters":{"id":159095,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159089,"mutability":"mutable","name":"templateId","nameLocation":"11559:10:244","nodeType":"VariableDeclaration","scope":159137,"src":"11551:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159088,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11551:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159092,"mutability":"mutable","name":"tableId","nameLocation":"11582:7:244","nodeType":"VariableDeclaration","scope":159137,"src":"11571:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159091,"nodeType":"UserDefinedTypeName","pathNode":{"id":159090,"name":"ResourceId","nameLocations":["11571:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"11571:10:244"},"referencedDeclaration":9486,"src":"11571:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159094,"mutability":"mutable","name":"dynamicData","nameLocation":"11604:11:244","nodeType":"VariableDeclaration","scope":159137,"src":"11591:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159093,"name":"bytes","nodeType":"ElementaryTypeName","src":"11591:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"11550:66:244"},"returnParameters":{"id":159096,"nodeType":"ParameterList","parameters":[],"src":"11626:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159188,"nodeType":"FunctionDefinition","src":"11886:312:244","nodes":[],"body":{"id":159187,"nodeType":"Block","src":"11986:212:244","nodes":[],"statements":[{"assignments":[159152],"declarations":[{"constant":false,"id":159152,"mutability":"mutable","name":"_keyTuple","nameLocation":"12009:9:244","nodeType":"VariableDeclaration","scope":159187,"src":"11992:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159150,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11992:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159151,"nodeType":"ArrayTypeName","src":"11992:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159158,"initialValue":{"arguments":[{"hexValue":"32","id":159156,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12035:1:244","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":159155,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12021:13:244","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":159153,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12025:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159154,"nodeType":"ArrayTypeName","src":"12025:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159157,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12021:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"11992:45:244"},{"expression":{"id":159163,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159159,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159152,"src":"12043:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159161,"indexExpression":{"hexValue":"30","id":159160,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12053:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12043:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159162,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159140,"src":"12058:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12043:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159164,"nodeType":"ExpressionStatement","src":"12043:25:244"},{"expression":{"id":159172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159165,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159152,"src":"12074:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159167,"indexExpression":{"hexValue":"31","id":159166,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12084:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12074:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159170,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159143,"src":"12107:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159168,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"12089:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159169,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12100:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"12089:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159171,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12089:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12074:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159173,"nodeType":"ExpressionStatement","src":"12074:41:244"},{"expression":{"arguments":[{"id":159177,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"12148:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159178,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159152,"src":"12158:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159179,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12169:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"components":[{"id":159182,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159145,"src":"12179:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159183,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12178:13:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159181,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12172:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159180,"name":"bytes","nodeType":"ElementaryTypeName","src":"12172:5:244","typeDescriptions":{}}},"id":159184,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12172:20:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":159174,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"12122:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159176,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12132:15:244","memberName":"setDynamicField","nodeType":"MemberAccess","referencedDeclaration":11947,"src":"12122:25:244","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":159185,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12122:71:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159186,"nodeType":"ExpressionStatement","src":"12122:71:244"}]},"documentation":{"id":159138,"nodeType":"StructuredDocumentation","src":"11844:39:244","text":" @notice Set dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"_setDynamicData","nameLocation":"11895:15:244","parameters":{"id":159146,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159140,"mutability":"mutable","name":"templateId","nameLocation":"11919:10:244","nodeType":"VariableDeclaration","scope":159188,"src":"11911:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159139,"name":"bytes32","nodeType":"ElementaryTypeName","src":"11911:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159143,"mutability":"mutable","name":"tableId","nameLocation":"11942:7:244","nodeType":"VariableDeclaration","scope":159188,"src":"11931:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159142,"nodeType":"UserDefinedTypeName","pathNode":{"id":159141,"name":"ResourceId","nameLocations":["11931:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"11931:10:244"},"referencedDeclaration":9486,"src":"11931:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159145,"mutability":"mutable","name":"dynamicData","nameLocation":"11964:11:244","nodeType":"VariableDeclaration","scope":159188,"src":"11951:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159144,"name":"bytes","nodeType":"ElementaryTypeName","src":"11951:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"11910:66:244"},"returnParameters":{"id":159147,"nodeType":"ParameterList","parameters":[],"src":"11986:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159240,"nodeType":"FunctionDefinition","src":"12258:371:244","nodes":[],"body":{"id":159239,"nodeType":"Block","src":"12357:272:244","nodes":[],"statements":[{"assignments":[159203],"declarations":[{"constant":false,"id":159203,"mutability":"mutable","name":"_keyTuple","nameLocation":"12380:9:244","nodeType":"VariableDeclaration","scope":159239,"src":"12363:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159201,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12363:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159202,"nodeType":"ArrayTypeName","src":"12363:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159209,"initialValue":{"arguments":[{"hexValue":"32","id":159207,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12406:1:244","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":159206,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12392:13:244","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":159204,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12396:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159205,"nodeType":"ArrayTypeName","src":"12396:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159208,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12392:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12363:45:244"},{"expression":{"id":159214,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159210,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159203,"src":"12414:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159212,"indexExpression":{"hexValue":"30","id":159211,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12424:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12414:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159213,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159191,"src":"12429:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12414:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159215,"nodeType":"ExpressionStatement","src":"12414:25:244"},{"expression":{"id":159223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159216,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159203,"src":"12445:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159218,"indexExpression":{"hexValue":"31","id":159217,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12455:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12445:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159221,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159194,"src":"12478:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159219,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"12460:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159220,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12471:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"12460:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159222,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12460:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12445:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159224,"nodeType":"ExpressionStatement","src":"12445:41:244"},{"assignments":[159226],"declarations":[{"constant":false,"id":159226,"mutability":"mutable","name":"_byteLength","nameLocation":"12501:11:244","nodeType":"VariableDeclaration","scope":159239,"src":"12493:19:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159225,"name":"uint256","nodeType":"ElementaryTypeName","src":"12493:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":159233,"initialValue":{"arguments":[{"id":159229,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"12549:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159230,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159203,"src":"12559:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159231,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12570:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"expression":{"id":159227,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"12515:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159228,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12527:21:244","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":14504,"src":"12515:33:244","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":159232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12515:57:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"12493:79:244"},{"id":159238,"nodeType":"UncheckedBlock","src":"12578:47:244","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159234,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159226,"src":"12603:11:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"31","id":159235,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12617:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"12603:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":159198,"id":159237,"nodeType":"Return","src":"12596:22:244"}]}]},"documentation":{"id":159189,"nodeType":"StructuredDocumentation","src":"12202:53:244","text":" @notice Get the length of dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"lengthDynamicData","nameLocation":"12267:17:244","parameters":{"id":159195,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159191,"mutability":"mutable","name":"templateId","nameLocation":"12293:10:244","nodeType":"VariableDeclaration","scope":159240,"src":"12285:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159190,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12285:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159194,"mutability":"mutable","name":"tableId","nameLocation":"12316:7:244","nodeType":"VariableDeclaration","scope":159240,"src":"12305:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159193,"nodeType":"UserDefinedTypeName","pathNode":{"id":159192,"name":"ResourceId","nameLocations":["12305:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"12305:10:244"},"referencedDeclaration":9486,"src":"12305:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"12284:40:244"},"returnParameters":{"id":159198,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159197,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":159240,"src":"12348:7:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159196,"name":"uint256","nodeType":"ElementaryTypeName","src":"12348:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12347:9:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159292,"nodeType":"FunctionDefinition","src":"12689:370:244","nodes":[],"body":{"id":159291,"nodeType":"Block","src":"12789:270:244","nodes":[],"statements":[{"assignments":[159255],"declarations":[{"constant":false,"id":159255,"mutability":"mutable","name":"_keyTuple","nameLocation":"12812:9:244","nodeType":"VariableDeclaration","scope":159291,"src":"12795:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159253,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12795:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159254,"nodeType":"ArrayTypeName","src":"12795:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159261,"initialValue":{"arguments":[{"hexValue":"32","id":159259,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12838:1:244","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":159258,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12824:13:244","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":159256,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12828:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159257,"nodeType":"ArrayTypeName","src":"12828:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159260,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12824:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"12795:45:244"},{"expression":{"id":159266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159262,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159255,"src":"12846:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159264,"indexExpression":{"hexValue":"30","id":159263,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12856:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12846:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159265,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159243,"src":"12861:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12846:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159267,"nodeType":"ExpressionStatement","src":"12846:25:244"},{"expression":{"id":159275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159268,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159255,"src":"12877:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159270,"indexExpression":{"hexValue":"31","id":159269,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12887:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"12877:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159273,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159246,"src":"12910:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159271,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"12892:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159272,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12903:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"12892:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159274,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12892:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"12877:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159276,"nodeType":"ExpressionStatement","src":"12877:41:244"},{"assignments":[159278],"declarations":[{"constant":false,"id":159278,"mutability":"mutable","name":"_byteLength","nameLocation":"12933:11:244","nodeType":"VariableDeclaration","scope":159291,"src":"12925:19:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159277,"name":"uint256","nodeType":"ElementaryTypeName","src":"12925:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":159285,"initialValue":{"arguments":[{"id":159281,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"12979:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159282,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159255,"src":"12989:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159283,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13000:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"expression":{"id":159279,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"12947:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159280,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12957:21:244","memberName":"getDynamicFieldLength","nodeType":"MemberAccess","referencedDeclaration":12611,"src":"12947:31:244","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":159284,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12947:55:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"12925:77:244"},{"id":159290,"nodeType":"UncheckedBlock","src":"13008:47:244","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159286,"name":"_byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159278,"src":"13033:11:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"31","id":159287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13047:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"13033:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":159250,"id":159289,"nodeType":"Return","src":"13026:22:244"}]}]},"documentation":{"id":159241,"nodeType":"StructuredDocumentation","src":"12633:53:244","text":" @notice Get the length of dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"_lengthDynamicData","nameLocation":"12698:18:244","parameters":{"id":159247,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159243,"mutability":"mutable","name":"templateId","nameLocation":"12725:10:244","nodeType":"VariableDeclaration","scope":159292,"src":"12717:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159242,"name":"bytes32","nodeType":"ElementaryTypeName","src":"12717:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159246,"mutability":"mutable","name":"tableId","nameLocation":"12748:7:244","nodeType":"VariableDeclaration","scope":159292,"src":"12737:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159245,"nodeType":"UserDefinedTypeName","pathNode":{"id":159244,"name":"ResourceId","nameLocations":["12737:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"12737:10:244"},"referencedDeclaration":9486,"src":"12737:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"12716:40:244"},"returnParameters":{"id":159250,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159249,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":159292,"src":"12780:7:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159248,"name":"uint256","nodeType":"ElementaryTypeName","src":"12780:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12779:9:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159357,"nodeType":"FunctionDefinition","src":"13206:438:244","nodes":[],"body":{"id":159356,"nodeType":"Block","src":"13343:301:244","nodes":[],"statements":[{"assignments":[159309],"declarations":[{"constant":false,"id":159309,"mutability":"mutable","name":"_keyTuple","nameLocation":"13366:9:244","nodeType":"VariableDeclaration","scope":159356,"src":"13349:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159307,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13349:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159308,"nodeType":"ArrayTypeName","src":"13349:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159315,"initialValue":{"arguments":[{"hexValue":"32","id":159313,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13392:1:244","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":159312,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13378:13:244","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":159310,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13382:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159311,"nodeType":"ArrayTypeName","src":"13382:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159314,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13378:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13349:45:244"},{"expression":{"id":159320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159316,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159309,"src":"13400:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159318,"indexExpression":{"hexValue":"30","id":159317,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13410:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13400:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159319,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159295,"src":"13415:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13400:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159321,"nodeType":"ExpressionStatement","src":"13400:25:244"},{"expression":{"id":159329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159322,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159309,"src":"13431:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159324,"indexExpression":{"hexValue":"31","id":159323,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13441:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13431:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159327,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159298,"src":"13464:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159325,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"13446:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159326,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13457:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"13446:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159328,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13446:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13431:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159330,"nodeType":"ExpressionStatement","src":"13431:41:244"},{"id":159355,"nodeType":"UncheckedBlock","src":"13479:161:244","statements":[{"assignments":[159332],"declarations":[{"constant":false,"id":159332,"mutability":"mutable","name":"_blob","nameLocation":"13510:5:244","nodeType":"VariableDeclaration","scope":159355,"src":"13497:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159331,"name":"bytes","nodeType":"ElementaryTypeName","src":"13497:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159348,"initialValue":{"arguments":[{"id":159335,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"13551:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159336,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159309,"src":"13561:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159337,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13572:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159338,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159300,"src":"13575:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":159339,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13584:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"13575:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159346,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159341,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159300,"src":"13588:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":159342,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13597:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"13588:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":159344,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13587:12:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":159345,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13602:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"13587:16:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":159333,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"13518:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159334,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13530:20:244","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":14557,"src":"13518:32:244","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":159347,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13518:86:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"13497:107:244"},{"expression":{"components":[{"arguments":[{"id":159351,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159332,"src":"13626:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159350,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13620:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159349,"name":"bytes","nodeType":"ElementaryTypeName","src":"13620:5:244","typeDescriptions":{}}},"id":159352,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13620:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159353,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13619:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":159304,"id":159354,"nodeType":"Return","src":"13612:21:244"}]}]},"documentation":{"id":159293,"nodeType":"StructuredDocumentation","src":"13063:140:244","text":" @notice Get an item of dynamicData.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"getItemDynamicData","nameLocation":"13215:18:244","parameters":{"id":159301,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159295,"mutability":"mutable","name":"templateId","nameLocation":"13247:10:244","nodeType":"VariableDeclaration","scope":159357,"src":"13239:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159294,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13239:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159298,"mutability":"mutable","name":"tableId","nameLocation":"13274:7:244","nodeType":"VariableDeclaration","scope":159357,"src":"13263:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159297,"nodeType":"UserDefinedTypeName","pathNode":{"id":159296,"name":"ResourceId","nameLocations":["13263:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"13263:10:244"},"referencedDeclaration":9486,"src":"13263:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159300,"mutability":"mutable","name":"_index","nameLocation":"13295:6:244","nodeType":"VariableDeclaration","scope":159357,"src":"13287:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159299,"name":"uint256","nodeType":"ElementaryTypeName","src":"13287:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13233:72:244"},"returnParameters":{"id":159304,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159303,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":159357,"src":"13329:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159302,"name":"bytes","nodeType":"ElementaryTypeName","src":"13329:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"13328:14:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159422,"nodeType":"FunctionDefinition","src":"13791:437:244","nodes":[],"body":{"id":159421,"nodeType":"Block","src":"13929:299:244","nodes":[],"statements":[{"assignments":[159374],"declarations":[{"constant":false,"id":159374,"mutability":"mutable","name":"_keyTuple","nameLocation":"13952:9:244","nodeType":"VariableDeclaration","scope":159421,"src":"13935:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159372,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13935:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159373,"nodeType":"ArrayTypeName","src":"13935:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159380,"initialValue":{"arguments":[{"hexValue":"32","id":159378,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13978:1:244","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":159377,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"13964:13:244","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":159375,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13968:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159376,"nodeType":"ArrayTypeName","src":"13968:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13964:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"13935:45:244"},{"expression":{"id":159385,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159381,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159374,"src":"13986:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159383,"indexExpression":{"hexValue":"30","id":159382,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13996:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13986:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159384,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159360,"src":"14001:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"13986:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159386,"nodeType":"ExpressionStatement","src":"13986:25:244"},{"expression":{"id":159394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159387,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159374,"src":"14017:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159389,"indexExpression":{"hexValue":"31","id":159388,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14027:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14017:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159392,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159363,"src":"14050:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159390,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"14032:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159391,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14043:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"14032:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159393,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14032:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14017:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159395,"nodeType":"ExpressionStatement","src":"14017:41:244"},{"id":159420,"nodeType":"UncheckedBlock","src":"14065:159:244","statements":[{"assignments":[159397],"declarations":[{"constant":false,"id":159397,"mutability":"mutable","name":"_blob","nameLocation":"14096:5:244","nodeType":"VariableDeclaration","scope":159420,"src":"14083:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159396,"name":"bytes","nodeType":"ElementaryTypeName","src":"14083:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159413,"initialValue":{"arguments":[{"id":159400,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"14135:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159401,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159374,"src":"14145:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159402,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14156:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159405,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159403,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159365,"src":"14159:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":159404,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14168:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"14159:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159411,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159408,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159406,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159365,"src":"14172:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":159407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14181:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"14172:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":159409,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14171:12:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":159410,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14186:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"14171:16:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":159398,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"14104:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159399,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14114:20:244","memberName":"getDynamicFieldSlice","nodeType":"MemberAccess","referencedDeclaration":12700,"src":"14104:30:244","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":159412,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14104:84:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"14083:105:244"},{"expression":{"components":[{"arguments":[{"id":159416,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159397,"src":"14210:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159415,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14204:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159414,"name":"bytes","nodeType":"ElementaryTypeName","src":"14204:5:244","typeDescriptions":{}}},"id":159417,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14204:12:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159418,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14203:14:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":159369,"id":159419,"nodeType":"Return","src":"14196:21:244"}]}]},"documentation":{"id":159358,"nodeType":"StructuredDocumentation","src":"13648:140:244","text":" @notice Get an item of dynamicData.\n @dev Reverts with Store_IndexOutOfBounds if `_index` is out of bounds for the array."},"implemented":true,"kind":"function","modifiers":[],"name":"_getItemDynamicData","nameLocation":"13800:19:244","parameters":{"id":159366,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159360,"mutability":"mutable","name":"templateId","nameLocation":"13833:10:244","nodeType":"VariableDeclaration","scope":159422,"src":"13825:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159359,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13825:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159363,"mutability":"mutable","name":"tableId","nameLocation":"13860:7:244","nodeType":"VariableDeclaration","scope":159422,"src":"13849:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159362,"nodeType":"UserDefinedTypeName","pathNode":{"id":159361,"name":"ResourceId","nameLocations":["13849:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"13849:10:244"},"referencedDeclaration":9486,"src":"13849:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159365,"mutability":"mutable","name":"_index","nameLocation":"13881:6:244","nodeType":"VariableDeclaration","scope":159422,"src":"13873:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159364,"name":"uint256","nodeType":"ElementaryTypeName","src":"13873:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13819:72:244"},"returnParameters":{"id":159369,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159368,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":159422,"src":"13915:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159367,"name":"bytes","nodeType":"ElementaryTypeName","src":"13915:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"13914:14:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159473,"nodeType":"FunctionDefinition","src":"14286:307:244","nodes":[],"body":{"id":159472,"nodeType":"Block","src":"14381:212:244","nodes":[],"statements":[{"assignments":[159437],"declarations":[{"constant":false,"id":159437,"mutability":"mutable","name":"_keyTuple","nameLocation":"14404:9:244","nodeType":"VariableDeclaration","scope":159472,"src":"14387:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159435,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14387:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159436,"nodeType":"ArrayTypeName","src":"14387:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159443,"initialValue":{"arguments":[{"hexValue":"32","id":159441,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14430:1:244","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":159440,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"14416:13:244","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":159438,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14420:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159439,"nodeType":"ArrayTypeName","src":"14420:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159442,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14416:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"14387:45:244"},{"expression":{"id":159448,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159444,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159437,"src":"14438:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159446,"indexExpression":{"hexValue":"30","id":159445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14448:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14438:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159447,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159425,"src":"14453:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14438:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159449,"nodeType":"ExpressionStatement","src":"14438:25:244"},{"expression":{"id":159457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159450,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159437,"src":"14469:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159452,"indexExpression":{"hexValue":"31","id":159451,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14479:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14469:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159455,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159428,"src":"14502:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159453,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"14484:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159454,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14495:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"14484:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159456,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14484:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14469:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159458,"nodeType":"ExpressionStatement","src":"14469:41:244"},{"expression":{"arguments":[{"id":159462,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"14548:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159463,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159437,"src":"14558:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159464,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14569:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"components":[{"id":159467,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159430,"src":"14579:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159468,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14578:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159466,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14572:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159465,"name":"bytes","nodeType":"ElementaryTypeName","src":"14572:5:244","typeDescriptions":{}}},"id":159469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14572:15:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":159459,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"14517:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159461,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14529:18:244","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":13989,"src":"14517:30:244","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":159470,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14517:71:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159471,"nodeType":"ExpressionStatement","src":"14517:71:244"}]},"documentation":{"id":159423,"nodeType":"StructuredDocumentation","src":"14232:51:244","text":" @notice Push a slice to dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"pushDynamicData","nameLocation":"14295:15:244","parameters":{"id":159431,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159425,"mutability":"mutable","name":"templateId","nameLocation":"14319:10:244","nodeType":"VariableDeclaration","scope":159473,"src":"14311:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159424,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14311:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159428,"mutability":"mutable","name":"tableId","nameLocation":"14342:7:244","nodeType":"VariableDeclaration","scope":159473,"src":"14331:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159427,"nodeType":"UserDefinedTypeName","pathNode":{"id":159426,"name":"ResourceId","nameLocations":["14331:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"14331:10:244"},"referencedDeclaration":9486,"src":"14331:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159430,"mutability":"mutable","name":"_slice","nameLocation":"14364:6:244","nodeType":"VariableDeclaration","scope":159473,"src":"14351:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159429,"name":"bytes","nodeType":"ElementaryTypeName","src":"14351:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14310:61:244"},"returnParameters":{"id":159432,"nodeType":"ParameterList","parameters":[],"src":"14381:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159524,"nodeType":"FunctionDefinition","src":"14651:306:244","nodes":[],"body":{"id":159523,"nodeType":"Block","src":"14747:210:244","nodes":[],"statements":[{"assignments":[159488],"declarations":[{"constant":false,"id":159488,"mutability":"mutable","name":"_keyTuple","nameLocation":"14770:9:244","nodeType":"VariableDeclaration","scope":159523,"src":"14753:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159486,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14753:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159487,"nodeType":"ArrayTypeName","src":"14753:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159494,"initialValue":{"arguments":[{"hexValue":"32","id":159492,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14796:1:244","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":159491,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"14782:13:244","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":159489,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14786:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159490,"nodeType":"ArrayTypeName","src":"14786:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159493,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14782:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"14753:45:244"},{"expression":{"id":159499,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159495,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159488,"src":"14804:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159497,"indexExpression":{"hexValue":"30","id":159496,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14814:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14804:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159498,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159476,"src":"14819:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14804:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159500,"nodeType":"ExpressionStatement","src":"14804:25:244"},{"expression":{"id":159508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159501,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159488,"src":"14835:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159503,"indexExpression":{"hexValue":"31","id":159502,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14845:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14835:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159506,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159479,"src":"14868:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159504,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"14850:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159505,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14861:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"14850:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159507,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14850:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"14835:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159509,"nodeType":"ExpressionStatement","src":"14835:41:244"},{"expression":{"arguments":[{"id":159513,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"14912:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159514,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159488,"src":"14922:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159515,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14933:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"components":[{"id":159518,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159481,"src":"14943:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159519,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"14942:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159517,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14936:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159516,"name":"bytes","nodeType":"ElementaryTypeName","src":"14936:5:244","typeDescriptions":{}}},"id":159520,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14936:15:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":159510,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"14883:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159512,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14893:18:244","memberName":"pushToDynamicField","nodeType":"MemberAccess","referencedDeclaration":12182,"src":"14883:28:244","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":159521,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14883:69:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159522,"nodeType":"ExpressionStatement","src":"14883:69:244"}]},"documentation":{"id":159474,"nodeType":"StructuredDocumentation","src":"14597:51:244","text":" @notice Push a slice to dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"_pushDynamicData","nameLocation":"14660:16:244","parameters":{"id":159482,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159476,"mutability":"mutable","name":"templateId","nameLocation":"14685:10:244","nodeType":"VariableDeclaration","scope":159524,"src":"14677:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159475,"name":"bytes32","nodeType":"ElementaryTypeName","src":"14677:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159479,"mutability":"mutable","name":"tableId","nameLocation":"14708:7:244","nodeType":"VariableDeclaration","scope":159524,"src":"14697:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159478,"nodeType":"UserDefinedTypeName","pathNode":{"id":159477,"name":"ResourceId","nameLocations":["14697:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"14697:10:244"},"referencedDeclaration":9486,"src":"14697:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159481,"mutability":"mutable","name":"_slice","nameLocation":"14730:6:244","nodeType":"VariableDeclaration","scope":159524,"src":"14717:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159480,"name":"bytes","nodeType":"ElementaryTypeName","src":"14717:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"14676:61:244"},"returnParameters":{"id":159483,"nodeType":"ParameterList","parameters":[],"src":"14747:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159569,"nodeType":"FunctionDefinition","src":"15016:272:244","nodes":[],"body":{"id":159568,"nodeType":"Block","src":"15089:199:244","nodes":[],"statements":[{"assignments":[159537],"declarations":[{"constant":false,"id":159537,"mutability":"mutable","name":"_keyTuple","nameLocation":"15112:9:244","nodeType":"VariableDeclaration","scope":159568,"src":"15095:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159535,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15095:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159536,"nodeType":"ArrayTypeName","src":"15095:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159543,"initialValue":{"arguments":[{"hexValue":"32","id":159541,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15138:1:244","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":159540,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"15124:13:244","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":159538,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15128:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159539,"nodeType":"ArrayTypeName","src":"15128:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159542,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15124:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"15095:45:244"},{"expression":{"id":159548,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159544,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159537,"src":"15146:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159546,"indexExpression":{"hexValue":"30","id":159545,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15156:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15146:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159547,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159527,"src":"15161:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15146:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159549,"nodeType":"ExpressionStatement","src":"15146:25:244"},{"expression":{"id":159557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159550,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159537,"src":"15177:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159552,"indexExpression":{"hexValue":"31","id":159551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15187:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15177:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159555,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159530,"src":"15210:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159553,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"15192:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159554,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15203:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"15192:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159556,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15192:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15177:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159558,"nodeType":"ExpressionStatement","src":"15177:41:244"},{"expression":{"arguments":[{"id":159562,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"15257:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159563,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159537,"src":"15267:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159564,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15278:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"hexValue":"31","id":159565,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15281:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"expression":{"id":159559,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"15225:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15237:19:244","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":14037,"src":"15225:31:244","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":159566,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15225:58:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159567,"nodeType":"ExpressionStatement","src":"15225:58:244"}]},"documentation":{"id":159525,"nodeType":"StructuredDocumentation","src":"14961:52:244","text":" @notice Pop a slice from dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"popDynamicData","nameLocation":"15025:14:244","parameters":{"id":159531,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159527,"mutability":"mutable","name":"templateId","nameLocation":"15048:10:244","nodeType":"VariableDeclaration","scope":159569,"src":"15040:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159526,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15040:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159530,"mutability":"mutable","name":"tableId","nameLocation":"15071:7:244","nodeType":"VariableDeclaration","scope":159569,"src":"15060:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159529,"nodeType":"UserDefinedTypeName","pathNode":{"id":159528,"name":"ResourceId","nameLocations":["15060:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"15060:10:244"},"referencedDeclaration":9486,"src":"15060:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"15039:40:244"},"returnParameters":{"id":159532,"nodeType":"ParameterList","parameters":[],"src":"15089:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159614,"nodeType":"FunctionDefinition","src":"15347:271:244","nodes":[],"body":{"id":159613,"nodeType":"Block","src":"15421:197:244","nodes":[],"statements":[{"assignments":[159582],"declarations":[{"constant":false,"id":159582,"mutability":"mutable","name":"_keyTuple","nameLocation":"15444:9:244","nodeType":"VariableDeclaration","scope":159613,"src":"15427:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159580,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15427:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159581,"nodeType":"ArrayTypeName","src":"15427:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159588,"initialValue":{"arguments":[{"hexValue":"32","id":159586,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15470:1:244","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":159585,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"15456:13:244","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":159583,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15460:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159584,"nodeType":"ArrayTypeName","src":"15460:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159587,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15456:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"15427:45:244"},{"expression":{"id":159593,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159589,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159582,"src":"15478:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159591,"indexExpression":{"hexValue":"30","id":159590,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15488:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15478:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159592,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159572,"src":"15493:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15478:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159594,"nodeType":"ExpressionStatement","src":"15478:25:244"},{"expression":{"id":159602,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159595,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159582,"src":"15509:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159597,"indexExpression":{"hexValue":"31","id":159596,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15519:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15509:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159600,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159575,"src":"15542:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159598,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"15524:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159599,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15535:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"15524:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159601,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15524:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15509:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159603,"nodeType":"ExpressionStatement","src":"15509:41:244"},{"expression":{"arguments":[{"id":159607,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"15587:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159608,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159582,"src":"15597:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159609,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15608:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"hexValue":"31","id":159610,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15611:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"expression":{"id":159604,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"15557:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15567:19:244","memberName":"popFromDynamicField","nodeType":"MemberAccess","referencedDeclaration":12239,"src":"15557:29:244","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":159611,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15557:56:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159612,"nodeType":"ExpressionStatement","src":"15557:56:244"}]},"documentation":{"id":159570,"nodeType":"StructuredDocumentation","src":"15292:52:244","text":" @notice Pop a slice from dynamicData."},"implemented":true,"kind":"function","modifiers":[],"name":"_popDynamicData","nameLocation":"15356:15:244","parameters":{"id":159576,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159572,"mutability":"mutable","name":"templateId","nameLocation":"15380:10:244","nodeType":"VariableDeclaration","scope":159614,"src":"15372:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159571,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15372:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159575,"mutability":"mutable","name":"tableId","nameLocation":"15403:7:244","nodeType":"VariableDeclaration","scope":159614,"src":"15392:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159574,"nodeType":"UserDefinedTypeName","pathNode":{"id":159573,"name":"ResourceId","nameLocations":["15392:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"15392:10:244"},"referencedDeclaration":9486,"src":"15392:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"15371:40:244"},"returnParameters":{"id":159577,"nodeType":"ParameterList","parameters":[],"src":"15421:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159683,"nodeType":"FunctionDefinition","src":"15690:433:244","nodes":[],"body":{"id":159682,"nodeType":"Block","src":"15803:320:244","nodes":[],"statements":[{"assignments":[159631],"declarations":[{"constant":false,"id":159631,"mutability":"mutable","name":"_keyTuple","nameLocation":"15826:9:244","nodeType":"VariableDeclaration","scope":159682,"src":"15809:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159629,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15809:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159630,"nodeType":"ArrayTypeName","src":"15809:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159637,"initialValue":{"arguments":[{"hexValue":"32","id":159635,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15852:1:244","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":159634,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"15838:13:244","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":159632,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15842:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159633,"nodeType":"ArrayTypeName","src":"15842:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159636,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15838:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"15809:45:244"},{"expression":{"id":159642,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159638,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159631,"src":"15860:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159640,"indexExpression":{"hexValue":"30","id":159639,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15870:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15860:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159641,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159617,"src":"15875:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15860:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159643,"nodeType":"ExpressionStatement","src":"15860:25:244"},{"expression":{"id":159651,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159644,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159631,"src":"15891:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159646,"indexExpression":{"hexValue":"31","id":159645,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15901:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15891:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159649,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159620,"src":"15924:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159647,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"15906:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159648,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15917:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"15906:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159650,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15906:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"15891:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159652,"nodeType":"ExpressionStatement","src":"15891:41:244"},{"id":159681,"nodeType":"UncheckedBlock","src":"15939:180:244","statements":[{"assignments":[159654],"declarations":[{"constant":false,"id":159654,"mutability":"mutable","name":"_encoded","nameLocation":"15970:8:244","nodeType":"VariableDeclaration","scope":159681,"src":"15957:21:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159653,"name":"bytes","nodeType":"ElementaryTypeName","src":"15957:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159660,"initialValue":{"arguments":[{"components":[{"id":159657,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159624,"src":"15988:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159658,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15987:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159656,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15981:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159655,"name":"bytes","nodeType":"ElementaryTypeName","src":"15981:5:244","typeDescriptions":{}}},"id":159659,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15981:15:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"15957:39:244"},{"expression":{"arguments":[{"id":159664,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"16034:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159665,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159631,"src":"16044:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159666,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16055:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159671,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159669,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159622,"src":"16065:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":159670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16074:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"16065:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":159668,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16058:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":159667,"name":"uint40","nodeType":"ElementaryTypeName","src":"16058:6:244","typeDescriptions":{}}},"id":159672,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16058:18:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":159675,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159654,"src":"16085:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":159676,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16094:6:244","memberName":"length","nodeType":"MemberAccess","src":"16085:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":159674,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16078:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":159673,"name":"uint40","nodeType":"ElementaryTypeName","src":"16078:6:244","typeDescriptions":{}}},"id":159677,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16078:23:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":159678,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159654,"src":"16103:8:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":159661,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"16004:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159663,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16016:17:244","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":13739,"src":"16004:29:244","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":159679,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16004:108:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159680,"nodeType":"ExpressionStatement","src":"16004:108:244"}]}]},"documentation":{"id":159615,"nodeType":"StructuredDocumentation","src":"15622:65:244","text":" @notice Update a slice of dynamicData at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"updateDynamicData","nameLocation":"15699:17:244","parameters":{"id":159625,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159617,"mutability":"mutable","name":"templateId","nameLocation":"15725:10:244","nodeType":"VariableDeclaration","scope":159683,"src":"15717:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159616,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15717:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159620,"mutability":"mutable","name":"tableId","nameLocation":"15748:7:244","nodeType":"VariableDeclaration","scope":159683,"src":"15737:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159619,"nodeType":"UserDefinedTypeName","pathNode":{"id":159618,"name":"ResourceId","nameLocations":["15737:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"15737:10:244"},"referencedDeclaration":9486,"src":"15737:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159622,"mutability":"mutable","name":"_index","nameLocation":"15765:6:244","nodeType":"VariableDeclaration","scope":159683,"src":"15757:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159621,"name":"uint256","nodeType":"ElementaryTypeName","src":"15757:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":159624,"mutability":"mutable","name":"_slice","nameLocation":"15786:6:244","nodeType":"VariableDeclaration","scope":159683,"src":"15773:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159623,"name":"bytes","nodeType":"ElementaryTypeName","src":"15773:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"15716:77:244"},"returnParameters":{"id":159626,"nodeType":"ParameterList","parameters":[],"src":"15803:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159752,"nodeType":"FunctionDefinition","src":"16195:432:244","nodes":[],"body":{"id":159751,"nodeType":"Block","src":"16309:318:244","nodes":[],"statements":[{"assignments":[159700],"declarations":[{"constant":false,"id":159700,"mutability":"mutable","name":"_keyTuple","nameLocation":"16332:9:244","nodeType":"VariableDeclaration","scope":159751,"src":"16315:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159698,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16315:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159699,"nodeType":"ArrayTypeName","src":"16315:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159706,"initialValue":{"arguments":[{"hexValue":"32","id":159704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16358:1:244","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":159703,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16344:13:244","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":159701,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16348:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159702,"nodeType":"ArrayTypeName","src":"16348:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159705,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16344:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"16315:45:244"},{"expression":{"id":159711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159707,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159700,"src":"16366:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159709,"indexExpression":{"hexValue":"30","id":159708,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16376:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16366:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159710,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159686,"src":"16381:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16366:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159712,"nodeType":"ExpressionStatement","src":"16366:25:244"},{"expression":{"id":159720,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159713,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159700,"src":"16397:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159715,"indexExpression":{"hexValue":"31","id":159714,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16407:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16397:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159718,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159689,"src":"16430:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159716,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"16412:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159717,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16423:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"16412:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159719,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16412:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16397:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159721,"nodeType":"ExpressionStatement","src":"16397:41:244"},{"id":159750,"nodeType":"UncheckedBlock","src":"16445:178:244","statements":[{"assignments":[159723],"declarations":[{"constant":false,"id":159723,"mutability":"mutable","name":"_encoded","nameLocation":"16476:8:244","nodeType":"VariableDeclaration","scope":159750,"src":"16463:21:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159722,"name":"bytes","nodeType":"ElementaryTypeName","src":"16463:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159729,"initialValue":{"arguments":[{"components":[{"id":159726,"name":"_slice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159693,"src":"16494:6:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":159727,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16493:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159725,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16487:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":159724,"name":"bytes","nodeType":"ElementaryTypeName","src":"16487:5:244","typeDescriptions":{}}},"id":159728,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16487:15:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"16463:39:244"},{"expression":{"arguments":[{"id":159733,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"16538:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159734,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159700,"src":"16548:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"hexValue":"31","id":159735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16559:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":159740,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":159738,"name":"_index","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159691,"src":"16569:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"31","id":159739,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16578:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"16569:10:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":159737,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16562:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":159736,"name":"uint40","nodeType":"ElementaryTypeName","src":"16562:6:244","typeDescriptions":{}}},"id":159741,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16562:18:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"arguments":[{"expression":{"id":159744,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159723,"src":"16589:8:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":159745,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16598:6:244","memberName":"length","nodeType":"MemberAccess","src":"16589:15:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":159743,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16582:6:244","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":159742,"name":"uint40","nodeType":"ElementaryTypeName","src":"16582:6:244","typeDescriptions":{}}},"id":159746,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16582:23:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},{"id":159747,"name":"_encoded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159723,"src":"16607:8:244","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_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_uint40","typeString":"uint40"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":159730,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"16510:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159732,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16520:17:244","memberName":"spliceDynamicData","nodeType":"MemberAccess","referencedDeclaration":11796,"src":"16510:27:244","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":159748,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16510:106:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159749,"nodeType":"ExpressionStatement","src":"16510:106:244"}]}]},"documentation":{"id":159684,"nodeType":"StructuredDocumentation","src":"16127:65:244","text":" @notice Update a slice of dynamicData at `_index`."},"implemented":true,"kind":"function","modifiers":[],"name":"_updateDynamicData","nameLocation":"16204:18:244","parameters":{"id":159694,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159686,"mutability":"mutable","name":"templateId","nameLocation":"16231:10:244","nodeType":"VariableDeclaration","scope":159752,"src":"16223:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159685,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16223:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159689,"mutability":"mutable","name":"tableId","nameLocation":"16254:7:244","nodeType":"VariableDeclaration","scope":159752,"src":"16243:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159688,"nodeType":"UserDefinedTypeName","pathNode":{"id":159687,"name":"ResourceId","nameLocations":["16243:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"16243:10:244"},"referencedDeclaration":9486,"src":"16243:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159691,"mutability":"mutable","name":"_index","nameLocation":"16271:6:244","nodeType":"VariableDeclaration","scope":159752,"src":"16263:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":159690,"name":"uint256","nodeType":"ElementaryTypeName","src":"16263:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":159693,"mutability":"mutable","name":"_slice","nameLocation":"16292:6:244","nodeType":"VariableDeclaration","scope":159752,"src":"16279:19:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159692,"name":"bytes","nodeType":"ElementaryTypeName","src":"16279:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"16222:77:244"},"returnParameters":{"id":159695,"nodeType":"ParameterList","parameters":[],"src":"16309:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":159811,"nodeType":"FunctionDefinition","src":"16675:483:244","nodes":[],"body":{"id":159810,"nodeType":"Block","src":"16786:372:244","nodes":[],"statements":[{"assignments":[159768],"declarations":[{"constant":false,"id":159768,"mutability":"mutable","name":"_keyTuple","nameLocation":"16809:9:244","nodeType":"VariableDeclaration","scope":159810,"src":"16792:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159766,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16792:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159767,"nodeType":"ArrayTypeName","src":"16792:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159774,"initialValue":{"arguments":[{"hexValue":"32","id":159772,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16835:1:244","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":159771,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16821:13:244","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":159769,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16825:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159770,"nodeType":"ArrayTypeName","src":"16825:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159773,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16821:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"16792:45:244"},{"expression":{"id":159779,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159775,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159768,"src":"16843:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159777,"indexExpression":{"hexValue":"30","id":159776,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16853:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16843:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159778,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159755,"src":"16858:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16843:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159780,"nodeType":"ExpressionStatement","src":"16843:25:244"},{"expression":{"id":159788,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159781,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159768,"src":"16874:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159783,"indexExpression":{"hexValue":"31","id":159782,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16884:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"16874:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159786,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159758,"src":"16907:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159784,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"16889:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159785,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16900:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"16889:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159787,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16889:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"16874:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159789,"nodeType":"ExpressionStatement","src":"16874:41:244"},{"assignments":[159791,159794,159796],"declarations":[{"constant":false,"id":159791,"mutability":"mutable","name":"_staticData","nameLocation":"16936:11:244","nodeType":"VariableDeclaration","scope":159810,"src":"16923:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159790,"name":"bytes","nodeType":"ElementaryTypeName","src":"16923:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":159794,"mutability":"mutable","name":"_encodedLengths","nameLocation":"16964:15:244","nodeType":"VariableDeclaration","scope":159810,"src":"16949:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":159793,"nodeType":"UserDefinedTypeName","pathNode":{"id":159792,"name":"EncodedLengths","nameLocations":["16949:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"16949:14:244"},"referencedDeclaration":7251,"src":"16949:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":159796,"mutability":"mutable","name":"_dynamicData","nameLocation":"16994:12:244","nodeType":"VariableDeclaration","scope":159810,"src":"16981:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159795,"name":"bytes","nodeType":"ElementaryTypeName","src":"16981:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159803,"initialValue":{"arguments":[{"id":159799,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"17039:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159800,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159768,"src":"17055:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":159801,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"17072:12:244","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":159797,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"17010:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159798,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17022:9:244","memberName":"getRecord","nodeType":"MemberAccess","referencedDeclaration":14174,"src":"17010:21:244","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":159802,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17010:80:244","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":"16922:168:244"},{"expression":{"arguments":[{"id":159805,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159791,"src":"17110:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":159806,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159794,"src":"17123:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":159807,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159796,"src":"17140:12:244","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":159804,"name":"decode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160297,"src":"17103:6:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_struct$_TemplateContentData_$157858_memory_ptr_$","typeString":"function (bytes memory,EncodedLengths,bytes memory) pure returns (struct TemplateContentData memory)"}},"id":159808,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17103:50:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"functionReturnParameters":159763,"id":159809,"nodeType":"Return","src":"17096:57:244"}]},"documentation":{"id":159753,"nodeType":"StructuredDocumentation","src":"16631:41:244","text":" @notice Get the full data."},"implemented":true,"kind":"function","modifiers":[],"name":"get","nameLocation":"16684:3:244","parameters":{"id":159759,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159755,"mutability":"mutable","name":"templateId","nameLocation":"16696:10:244","nodeType":"VariableDeclaration","scope":159811,"src":"16688:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159754,"name":"bytes32","nodeType":"ElementaryTypeName","src":"16688:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159758,"mutability":"mutable","name":"tableId","nameLocation":"16719:7:244","nodeType":"VariableDeclaration","scope":159811,"src":"16708:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159757,"nodeType":"UserDefinedTypeName","pathNode":{"id":159756,"name":"ResourceId","nameLocations":["16708:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"16708:10:244"},"referencedDeclaration":9486,"src":"16708:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"16687:40:244"},"returnParameters":{"id":159763,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159762,"mutability":"mutable","name":"_table","nameLocation":"16778:6:244","nodeType":"VariableDeclaration","scope":159811,"src":"16751:33:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData"},"typeName":{"id":159761,"nodeType":"UserDefinedTypeName","pathNode":{"id":159760,"name":"TemplateContentData","nameLocations":["16751:19:244"],"nodeType":"IdentifierPath","referencedDeclaration":157858,"src":"16751:19:244"},"referencedDeclaration":157858,"src":"16751:19:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_storage_ptr","typeString":"struct TemplateContentData"}},"visibility":"internal"}],"src":"16750:35:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159870,"nodeType":"FunctionDefinition","src":"17206:482:244","nodes":[],"body":{"id":159869,"nodeType":"Block","src":"17318:370:244","nodes":[],"statements":[{"assignments":[159827],"declarations":[{"constant":false,"id":159827,"mutability":"mutable","name":"_keyTuple","nameLocation":"17341:9:244","nodeType":"VariableDeclaration","scope":159869,"src":"17324:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159825,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17324:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159826,"nodeType":"ArrayTypeName","src":"17324:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159833,"initialValue":{"arguments":[{"hexValue":"32","id":159831,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17367:1:244","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":159830,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"17353:13:244","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":159828,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17357:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159829,"nodeType":"ArrayTypeName","src":"17357:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159832,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17353:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"17324:45:244"},{"expression":{"id":159838,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159834,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159827,"src":"17375:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159836,"indexExpression":{"hexValue":"30","id":159835,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17385:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17375:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159837,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159814,"src":"17390:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"17375:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159839,"nodeType":"ExpressionStatement","src":"17375:25:244"},{"expression":{"id":159847,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159840,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159827,"src":"17406:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159842,"indexExpression":{"hexValue":"31","id":159841,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17416:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17406:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159845,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159817,"src":"17439:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159843,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"17421:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159844,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"17432:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"17421:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159846,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17421:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"17406:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159848,"nodeType":"ExpressionStatement","src":"17406:41:244"},{"assignments":[159850,159853,159855],"declarations":[{"constant":false,"id":159850,"mutability":"mutable","name":"_staticData","nameLocation":"17468:11:244","nodeType":"VariableDeclaration","scope":159869,"src":"17455:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159849,"name":"bytes","nodeType":"ElementaryTypeName","src":"17455:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":159853,"mutability":"mutable","name":"_encodedLengths","nameLocation":"17496:15:244","nodeType":"VariableDeclaration","scope":159869,"src":"17481:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":159852,"nodeType":"UserDefinedTypeName","pathNode":{"id":159851,"name":"EncodedLengths","nameLocations":["17481:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"17481:14:244"},"referencedDeclaration":7251,"src":"17481:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":159855,"mutability":"mutable","name":"_dynamicData","nameLocation":"17526:12:244","nodeType":"VariableDeclaration","scope":159869,"src":"17513:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159854,"name":"bytes","nodeType":"ElementaryTypeName","src":"17513:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159862,"initialValue":{"arguments":[{"id":159858,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"17569:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159859,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159827,"src":"17585:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":159860,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"17602:12:244","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":159856,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"17542:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":159857,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17552:9:244","memberName":"getRecord","nodeType":"MemberAccess","referencedDeclaration":12376,"src":"17542:19:244","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":159861,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17542:78:244","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":"17454:166:244"},{"expression":{"arguments":[{"id":159864,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159850,"src":"17640:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":159865,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159853,"src":"17653:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":159866,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159855,"src":"17670:12:244","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":159863,"name":"decode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160297,"src":"17633:6:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_struct$_TemplateContentData_$157858_memory_ptr_$","typeString":"function (bytes memory,EncodedLengths,bytes memory) pure returns (struct TemplateContentData memory)"}},"id":159867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17633:50:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"functionReturnParameters":159822,"id":159868,"nodeType":"Return","src":"17626:57:244"}]},"documentation":{"id":159812,"nodeType":"StructuredDocumentation","src":"17162:41:244","text":" @notice Get the full data."},"implemented":true,"kind":"function","modifiers":[],"name":"_get","nameLocation":"17215:4:244","parameters":{"id":159818,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159814,"mutability":"mutable","name":"templateId","nameLocation":"17228:10:244","nodeType":"VariableDeclaration","scope":159870,"src":"17220:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159813,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17220:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159817,"mutability":"mutable","name":"tableId","nameLocation":"17251:7:244","nodeType":"VariableDeclaration","scope":159870,"src":"17240:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159816,"nodeType":"UserDefinedTypeName","pathNode":{"id":159815,"name":"ResourceId","nameLocations":["17240:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"17240:10:244"},"referencedDeclaration":9486,"src":"17240:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"17219:40:244"},"returnParameters":{"id":159822,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159821,"mutability":"mutable","name":"_table","nameLocation":"17310:6:244","nodeType":"VariableDeclaration","scope":159870,"src":"17283:33:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData"},"typeName":{"id":159820,"nodeType":"UserDefinedTypeName","pathNode":{"id":159819,"name":"TemplateContentData","nameLocations":["17283:19:244"],"nodeType":"IdentifierPath","referencedDeclaration":157858,"src":"17283:19:244"},"referencedDeclaration":157858,"src":"17283:19:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_storage_ptr","typeString":"struct TemplateContentData"}},"visibility":"internal"}],"src":"17282:35:244"},"scope":160540,"stateMutability":"view","virtual":false,"visibility":"internal"},{"id":159944,"nodeType":"FunctionDefinition","src":"17760:607:244","nodes":[],"body":{"id":159943,"nodeType":"Block","src":"17928:439:244","nodes":[],"statements":[{"assignments":[159887],"declarations":[{"constant":false,"id":159887,"mutability":"mutable","name":"_staticData","nameLocation":"17947:11:244","nodeType":"VariableDeclaration","scope":159943,"src":"17934:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159886,"name":"bytes","nodeType":"ElementaryTypeName","src":"17934:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159891,"initialValue":{"arguments":[{"id":159889,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159879,"src":"17974:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"id":159888,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160399,"src":"17961:12:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes_memory_ptr_$","typeString":"function (EncodedLengths) pure returns (bytes memory)"}},"id":159890,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17961:28:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"17934:55:244"},{"assignments":[159894],"declarations":[{"constant":false,"id":159894,"mutability":"mutable","name":"_encodedLengths","nameLocation":"18011:15:244","nodeType":"VariableDeclaration","scope":159943,"src":"17996:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":159893,"nodeType":"UserDefinedTypeName","pathNode":{"id":159892,"name":"EncodedLengths","nameLocations":["17996:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"17996:14:244"},"referencedDeclaration":7251,"src":"17996:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":159899,"initialValue":{"arguments":[{"id":159896,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159881,"src":"18043:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":159897,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159883,"src":"18055:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159895,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160428,"src":"18029:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes memory,bytes memory) pure returns (EncodedLengths)"}},"id":159898,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18029:38:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"17996:71:244"},{"assignments":[159901],"declarations":[{"constant":false,"id":159901,"mutability":"mutable","name":"_dynamicData","nameLocation":"18086:12:244","nodeType":"VariableDeclaration","scope":159943,"src":"18073:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159900,"name":"bytes","nodeType":"ElementaryTypeName","src":"18073:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159906,"initialValue":{"arguments":[{"id":159903,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159881,"src":"18115:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":159904,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159883,"src":"18127:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159902,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160453,"src":"18101:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,bytes memory) pure returns (bytes memory)"}},"id":159905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18101:38:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"18073:66:244"},{"assignments":[159911],"declarations":[{"constant":false,"id":159911,"mutability":"mutable","name":"_keyTuple","nameLocation":"18163:9:244","nodeType":"VariableDeclaration","scope":159943,"src":"18146:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159909,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18146:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159910,"nodeType":"ArrayTypeName","src":"18146:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159917,"initialValue":{"arguments":[{"hexValue":"32","id":159915,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18189:1:244","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":159914,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"18175:13:244","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":159912,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18179:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159913,"nodeType":"ArrayTypeName","src":"18179:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159916,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18175:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"18146:45:244"},{"expression":{"id":159922,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159918,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159911,"src":"18197:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159920,"indexExpression":{"hexValue":"30","id":159919,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18207:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18197:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159921,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159873,"src":"18212:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18197:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159923,"nodeType":"ExpressionStatement","src":"18197:25:244"},{"expression":{"id":159931,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159924,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159911,"src":"18228:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159926,"indexExpression":{"hexValue":"31","id":159925,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18238:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18228:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":159929,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159876,"src":"18261:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":159927,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"18243:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":159928,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18254:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"18243:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":159930,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18243:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18228:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159932,"nodeType":"ExpressionStatement","src":"18228:41:244"},{"expression":{"arguments":[{"id":159936,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"18298:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":159937,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159911,"src":"18308:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":159938,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159887,"src":"18319:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":159939,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159894,"src":"18332:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":159940,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159901,"src":"18349:12:244","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":159933,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"18276:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":159935,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18288:9:244","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":13635,"src":"18276:21:244","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":159941,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18276:86:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":159942,"nodeType":"ExpressionStatement","src":"18276:86:244"}]},"documentation":{"id":159871,"nodeType":"StructuredDocumentation","src":"17692:65:244","text":" @notice Set the full data using individual values."},"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"17769:3:244","parameters":{"id":159884,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159873,"mutability":"mutable","name":"templateId","nameLocation":"17786:10:244","nodeType":"VariableDeclaration","scope":159944,"src":"17778:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159872,"name":"bytes32","nodeType":"ElementaryTypeName","src":"17778:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159876,"mutability":"mutable","name":"tableId","nameLocation":"17813:7:244","nodeType":"VariableDeclaration","scope":159944,"src":"17802:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159875,"nodeType":"UserDefinedTypeName","pathNode":{"id":159874,"name":"ResourceId","nameLocations":["17802:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"17802:10:244"},"referencedDeclaration":9486,"src":"17802:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159879,"mutability":"mutable","name":"encodedLengths","nameLocation":"17841:14:244","nodeType":"VariableDeclaration","scope":159944,"src":"17826:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":159878,"nodeType":"UserDefinedTypeName","pathNode":{"id":159877,"name":"EncodedLengths","nameLocations":["17826:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"17826:14:244"},"referencedDeclaration":7251,"src":"17826:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":159881,"mutability":"mutable","name":"staticData","nameLocation":"17874:10:244","nodeType":"VariableDeclaration","scope":159944,"src":"17861:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159880,"name":"bytes","nodeType":"ElementaryTypeName","src":"17861:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":159883,"mutability":"mutable","name":"dynamicData","nameLocation":"17903:11:244","nodeType":"VariableDeclaration","scope":159944,"src":"17890:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159882,"name":"bytes","nodeType":"ElementaryTypeName","src":"17890:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"17772:146:244"},"returnParameters":{"id":159885,"nodeType":"ParameterList","parameters":[],"src":"17928:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":160019,"nodeType":"FunctionDefinition","src":"18439:620:244","nodes":[],"body":{"id":160018,"nodeType":"Block","src":"18608:451:244","nodes":[],"statements":[{"assignments":[159961],"declarations":[{"constant":false,"id":159961,"mutability":"mutable","name":"_staticData","nameLocation":"18627:11:244","nodeType":"VariableDeclaration","scope":160018,"src":"18614:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159960,"name":"bytes","nodeType":"ElementaryTypeName","src":"18614:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159965,"initialValue":{"arguments":[{"id":159963,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159953,"src":"18654:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"id":159962,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160399,"src":"18641:12:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes_memory_ptr_$","typeString":"function (EncodedLengths) pure returns (bytes memory)"}},"id":159964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18641:28:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"18614:55:244"},{"assignments":[159968],"declarations":[{"constant":false,"id":159968,"mutability":"mutable","name":"_encodedLengths","nameLocation":"18691:15:244","nodeType":"VariableDeclaration","scope":160018,"src":"18676:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":159967,"nodeType":"UserDefinedTypeName","pathNode":{"id":159966,"name":"EncodedLengths","nameLocations":["18676:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"18676:14:244"},"referencedDeclaration":7251,"src":"18676:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":159973,"initialValue":{"arguments":[{"id":159970,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159955,"src":"18723:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":159971,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159957,"src":"18735:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159969,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160428,"src":"18709:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes memory,bytes memory) pure returns (EncodedLengths)"}},"id":159972,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18709:38:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"18676:71:244"},{"assignments":[159975],"declarations":[{"constant":false,"id":159975,"mutability":"mutable","name":"_dynamicData","nameLocation":"18766:12:244","nodeType":"VariableDeclaration","scope":160018,"src":"18753:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159974,"name":"bytes","nodeType":"ElementaryTypeName","src":"18753:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":159980,"initialValue":{"arguments":[{"id":159977,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159955,"src":"18795:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":159978,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159957,"src":"18807:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":159976,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160453,"src":"18781:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,bytes memory) pure returns (bytes memory)"}},"id":159979,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18781:38:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"18753:66:244"},{"assignments":[159985],"declarations":[{"constant":false,"id":159985,"mutability":"mutable","name":"_keyTuple","nameLocation":"18843:9:244","nodeType":"VariableDeclaration","scope":160018,"src":"18826:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":159983,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18826:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159984,"nodeType":"ArrayTypeName","src":"18826:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":159991,"initialValue":{"arguments":[{"hexValue":"32","id":159989,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18869:1:244","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":159988,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"18855:13:244","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":159986,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18859:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159987,"nodeType":"ArrayTypeName","src":"18859:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":159990,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18855:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"18826:45:244"},{"expression":{"id":159996,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159992,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159985,"src":"18877:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":159994,"indexExpression":{"hexValue":"30","id":159993,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18887:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18877:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":159995,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159947,"src":"18892:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18877:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":159997,"nodeType":"ExpressionStatement","src":"18877:25:244"},{"expression":{"id":160005,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":159998,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159985,"src":"18908:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160000,"indexExpression":{"hexValue":"31","id":159999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18918:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18908:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160003,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159950,"src":"18941:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":160001,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"18923:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":160002,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18934:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"18923:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":160004,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18923:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"18908:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160006,"nodeType":"ExpressionStatement","src":"18908:41:244"},{"expression":{"arguments":[{"id":160010,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"18976:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":160011,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159985,"src":"18986:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":160012,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159961,"src":"18997:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160013,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159968,"src":"19010:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":160014,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":159975,"src":"19027:12:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160015,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"19041:12:244","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":160007,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"18956:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":160009,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18966:9:244","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":11614,"src":"18956:19:244","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":160016,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18956:98:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":160017,"nodeType":"ExpressionStatement","src":"18956:98:244"}]},"documentation":{"id":159945,"nodeType":"StructuredDocumentation","src":"18371:65:244","text":" @notice Set the full data using individual values."},"implemented":true,"kind":"function","modifiers":[],"name":"_set","nameLocation":"18448:4:244","parameters":{"id":159958,"nodeType":"ParameterList","parameters":[{"constant":false,"id":159947,"mutability":"mutable","name":"templateId","nameLocation":"18466:10:244","nodeType":"VariableDeclaration","scope":160019,"src":"18458:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":159946,"name":"bytes32","nodeType":"ElementaryTypeName","src":"18458:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":159950,"mutability":"mutable","name":"tableId","nameLocation":"18493:7:244","nodeType":"VariableDeclaration","scope":160019,"src":"18482:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":159949,"nodeType":"UserDefinedTypeName","pathNode":{"id":159948,"name":"ResourceId","nameLocations":["18482:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"18482:10:244"},"referencedDeclaration":9486,"src":"18482:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":159953,"mutability":"mutable","name":"encodedLengths","nameLocation":"18521:14:244","nodeType":"VariableDeclaration","scope":160019,"src":"18506:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":159952,"nodeType":"UserDefinedTypeName","pathNode":{"id":159951,"name":"EncodedLengths","nameLocations":["18506:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"18506:14:244"},"referencedDeclaration":7251,"src":"18506:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":159955,"mutability":"mutable","name":"staticData","nameLocation":"18554:10:244","nodeType":"VariableDeclaration","scope":160019,"src":"18541:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159954,"name":"bytes","nodeType":"ElementaryTypeName","src":"18541:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":159957,"mutability":"mutable","name":"dynamicData","nameLocation":"18583:11:244","nodeType":"VariableDeclaration","scope":160019,"src":"18570:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":159956,"name":"bytes","nodeType":"ElementaryTypeName","src":"18570:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"18452:146:244"},"returnParameters":{"id":159959,"nodeType":"ParameterList","parameters":[],"src":"18608:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":160094,"nodeType":"FunctionDefinition","src":"19129:571:244","nodes":[],"body":{"id":160093,"nodeType":"Block","src":"19226:474:244","nodes":[],"statements":[{"assignments":[160032],"declarations":[{"constant":false,"id":160032,"mutability":"mutable","name":"_staticData","nameLocation":"19245:11:244","nodeType":"VariableDeclaration","scope":160093,"src":"19232:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160031,"name":"bytes","nodeType":"ElementaryTypeName","src":"19232:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":160037,"initialValue":{"arguments":[{"expression":{"id":160034,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160028,"src":"19272:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160035,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19279:14:244","memberName":"encodedLengths","nodeType":"MemberAccess","referencedDeclaration":157853,"src":"19272:21:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"id":160033,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160399,"src":"19259:12:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes_memory_ptr_$","typeString":"function (EncodedLengths) pure returns (bytes memory)"}},"id":160036,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19259:35:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"19232:62:244"},{"assignments":[160040],"declarations":[{"constant":false,"id":160040,"mutability":"mutable","name":"_encodedLengths","nameLocation":"19316:15:244","nodeType":"VariableDeclaration","scope":160093,"src":"19301:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160039,"nodeType":"UserDefinedTypeName","pathNode":{"id":160038,"name":"EncodedLengths","nameLocations":["19301:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"19301:14:244"},"referencedDeclaration":7251,"src":"19301:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":160047,"initialValue":{"arguments":[{"expression":{"id":160042,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160028,"src":"19348:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160043,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19355:10:244","memberName":"staticData","nodeType":"MemberAccess","referencedDeclaration":157855,"src":"19348:17:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"expression":{"id":160044,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160028,"src":"19367:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160045,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19374:11:244","memberName":"dynamicData","nodeType":"MemberAccess","referencedDeclaration":157857,"src":"19367:18:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160041,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160428,"src":"19334:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes memory,bytes memory) pure returns (EncodedLengths)"}},"id":160046,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19334:52:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"19301:85:244"},{"assignments":[160049],"declarations":[{"constant":false,"id":160049,"mutability":"mutable","name":"_dynamicData","nameLocation":"19405:12:244","nodeType":"VariableDeclaration","scope":160093,"src":"19392:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160048,"name":"bytes","nodeType":"ElementaryTypeName","src":"19392:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":160056,"initialValue":{"arguments":[{"expression":{"id":160051,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160028,"src":"19434:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160052,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19441:10:244","memberName":"staticData","nodeType":"MemberAccess","referencedDeclaration":157855,"src":"19434:17:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"expression":{"id":160053,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160028,"src":"19453:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160054,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19460:11:244","memberName":"dynamicData","nodeType":"MemberAccess","referencedDeclaration":157857,"src":"19453:18:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160050,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160453,"src":"19420:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,bytes memory) pure returns (bytes memory)"}},"id":160055,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19420:52:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"19392:80:244"},{"assignments":[160061],"declarations":[{"constant":false,"id":160061,"mutability":"mutable","name":"_keyTuple","nameLocation":"19496:9:244","nodeType":"VariableDeclaration","scope":160093,"src":"19479:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":160059,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19479:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160060,"nodeType":"ArrayTypeName","src":"19479:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":160067,"initialValue":{"arguments":[{"hexValue":"32","id":160065,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19522:1:244","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":160064,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"19508:13:244","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":160062,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19512:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160063,"nodeType":"ArrayTypeName","src":"19512:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":160066,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19508:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"19479:45:244"},{"expression":{"id":160072,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160068,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160061,"src":"19530:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160070,"indexExpression":{"hexValue":"30","id":160069,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19540:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"19530:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":160071,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160022,"src":"19545:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"19530:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160073,"nodeType":"ExpressionStatement","src":"19530:25:244"},{"expression":{"id":160081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160074,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160061,"src":"19561:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160076,"indexExpression":{"hexValue":"31","id":160075,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19571:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"19561:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160079,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160025,"src":"19594:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":160077,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"19576:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":160078,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"19587:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"19576:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":160080,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19576:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"19561:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160082,"nodeType":"ExpressionStatement","src":"19561:41:244"},{"expression":{"arguments":[{"id":160086,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"19631:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":160087,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160061,"src":"19641:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":160088,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160032,"src":"19652:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160089,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160040,"src":"19665:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":160090,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160049,"src":"19682:12:244","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":160083,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"19609:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":160085,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19621:9:244","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":13635,"src":"19609:21:244","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":160091,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19609:86:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":160092,"nodeType":"ExpressionStatement","src":"19609:86:244"}]},"documentation":{"id":160020,"nodeType":"StructuredDocumentation","src":"19063:63:244","text":" @notice Set the full data using the data struct."},"implemented":true,"kind":"function","modifiers":[],"name":"set","nameLocation":"19138:3:244","parameters":{"id":160029,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160022,"mutability":"mutable","name":"templateId","nameLocation":"19150:10:244","nodeType":"VariableDeclaration","scope":160094,"src":"19142:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":160021,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19142:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":160025,"mutability":"mutable","name":"tableId","nameLocation":"19173:7:244","nodeType":"VariableDeclaration","scope":160094,"src":"19162:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":160024,"nodeType":"UserDefinedTypeName","pathNode":{"id":160023,"name":"ResourceId","nameLocations":["19162:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"19162:10:244"},"referencedDeclaration":9486,"src":"19162:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":160028,"mutability":"mutable","name":"_table","nameLocation":"19209:6:244","nodeType":"VariableDeclaration","scope":160094,"src":"19182:33:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData"},"typeName":{"id":160027,"nodeType":"UserDefinedTypeName","pathNode":{"id":160026,"name":"TemplateContentData","nameLocations":["19182:19:244"],"nodeType":"IdentifierPath","referencedDeclaration":157858,"src":"19182:19:244"},"referencedDeclaration":157858,"src":"19182:19:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_storage_ptr","typeString":"struct TemplateContentData"}},"visibility":"internal"}],"src":"19141:75:244"},"returnParameters":{"id":160030,"nodeType":"ParameterList","parameters":[],"src":"19226:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":160170,"nodeType":"FunctionDefinition","src":"19770:584:244","nodes":[],"body":{"id":160169,"nodeType":"Block","src":"19868:486:244","nodes":[],"statements":[{"assignments":[160107],"declarations":[{"constant":false,"id":160107,"mutability":"mutable","name":"_staticData","nameLocation":"19887:11:244","nodeType":"VariableDeclaration","scope":160169,"src":"19874:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160106,"name":"bytes","nodeType":"ElementaryTypeName","src":"19874:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":160112,"initialValue":{"arguments":[{"expression":{"id":160109,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160103,"src":"19914:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160110,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19921:14:244","memberName":"encodedLengths","nodeType":"MemberAccess","referencedDeclaration":157853,"src":"19914:21:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"id":160108,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160399,"src":"19901:12:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes_memory_ptr_$","typeString":"function (EncodedLengths) pure returns (bytes memory)"}},"id":160111,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19901:35:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"19874:62:244"},{"assignments":[160115],"declarations":[{"constant":false,"id":160115,"mutability":"mutable","name":"_encodedLengths","nameLocation":"19958:15:244","nodeType":"VariableDeclaration","scope":160169,"src":"19943:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160114,"nodeType":"UserDefinedTypeName","pathNode":{"id":160113,"name":"EncodedLengths","nameLocations":["19943:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"19943:14:244"},"referencedDeclaration":7251,"src":"19943:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":160122,"initialValue":{"arguments":[{"expression":{"id":160117,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160103,"src":"19990:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160118,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19997:10:244","memberName":"staticData","nodeType":"MemberAccess","referencedDeclaration":157855,"src":"19990:17:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"expression":{"id":160119,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160103,"src":"20009:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160120,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20016:11:244","memberName":"dynamicData","nodeType":"MemberAccess","referencedDeclaration":157857,"src":"20009:18:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160116,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160428,"src":"19976:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes memory,bytes memory) pure returns (EncodedLengths)"}},"id":160121,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19976:52:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"19943:85:244"},{"assignments":[160124],"declarations":[{"constant":false,"id":160124,"mutability":"mutable","name":"_dynamicData","nameLocation":"20047:12:244","nodeType":"VariableDeclaration","scope":160169,"src":"20034:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160123,"name":"bytes","nodeType":"ElementaryTypeName","src":"20034:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":160131,"initialValue":{"arguments":[{"expression":{"id":160126,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160103,"src":"20076:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160127,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20083:10:244","memberName":"staticData","nodeType":"MemberAccess","referencedDeclaration":157855,"src":"20076:17:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"expression":{"id":160128,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160103,"src":"20095:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160129,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20102:11:244","memberName":"dynamicData","nodeType":"MemberAccess","referencedDeclaration":157857,"src":"20095:18:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160125,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160453,"src":"20062:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,bytes memory) pure returns (bytes memory)"}},"id":160130,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20062:52:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"20034:80:244"},{"assignments":[160136],"declarations":[{"constant":false,"id":160136,"mutability":"mutable","name":"_keyTuple","nameLocation":"20138:9:244","nodeType":"VariableDeclaration","scope":160169,"src":"20121:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":160134,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20121:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160135,"nodeType":"ArrayTypeName","src":"20121:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":160142,"initialValue":{"arguments":[{"hexValue":"32","id":160140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20164:1:244","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":160139,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"20150:13:244","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":160137,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20154:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160138,"nodeType":"ArrayTypeName","src":"20154:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":160141,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20150:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"20121:45:244"},{"expression":{"id":160147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160143,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160136,"src":"20172:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160145,"indexExpression":{"hexValue":"30","id":160144,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20182:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20172:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":160146,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160097,"src":"20187:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20172:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160148,"nodeType":"ExpressionStatement","src":"20172:25:244"},{"expression":{"id":160156,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160149,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160136,"src":"20203:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160151,"indexExpression":{"hexValue":"31","id":160150,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20213:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"20203:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160154,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160100,"src":"20236:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":160152,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"20218:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":160153,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"20229:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"20218:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":160155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20218:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"20203:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160157,"nodeType":"ExpressionStatement","src":"20203:41:244"},{"expression":{"arguments":[{"id":160161,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"20271:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":160162,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160136,"src":"20281:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":160163,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160107,"src":"20292:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160164,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160115,"src":"20305:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":160165,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160124,"src":"20322:12:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160166,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"20336:12:244","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":160158,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"20251:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":160160,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20261:9:244","memberName":"setRecord","nodeType":"MemberAccess","referencedDeclaration":11614,"src":"20251:19:244","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":160167,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20251:98:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":160168,"nodeType":"ExpressionStatement","src":"20251:98:244"}]},"documentation":{"id":160095,"nodeType":"StructuredDocumentation","src":"19704:63:244","text":" @notice Set the full data using the data struct."},"implemented":true,"kind":"function","modifiers":[],"name":"_set","nameLocation":"19779:4:244","parameters":{"id":160104,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160097,"mutability":"mutable","name":"templateId","nameLocation":"19792:10:244","nodeType":"VariableDeclaration","scope":160170,"src":"19784:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":160096,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19784:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":160100,"mutability":"mutable","name":"tableId","nameLocation":"19815:7:244","nodeType":"VariableDeclaration","scope":160170,"src":"19804:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":160099,"nodeType":"UserDefinedTypeName","pathNode":{"id":160098,"name":"ResourceId","nameLocations":["19804:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"19804:10:244"},"referencedDeclaration":9486,"src":"19804:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"},{"constant":false,"id":160103,"mutability":"mutable","name":"_table","nameLocation":"19851:6:244","nodeType":"VariableDeclaration","scope":160170,"src":"19824:33:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData"},"typeName":{"id":160102,"nodeType":"UserDefinedTypeName","pathNode":{"id":160101,"name":"TemplateContentData","nameLocations":["19824:19:244"],"nodeType":"IdentifierPath","referencedDeclaration":157858,"src":"19824:19:244"},"referencedDeclaration":157858,"src":"19824:19:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_storage_ptr","typeString":"struct TemplateContentData"}},"visibility":"internal"}],"src":"19783:75:244"},"returnParameters":{"id":160105,"nodeType":"ParameterList","parameters":[],"src":"19868:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":160191,"nodeType":"FunctionDefinition","src":"20462:171:244","nodes":[],"body":{"id":160190,"nodeType":"Block","src":"20558:75:244","nodes":[],"statements":[{"expression":{"id":160188,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":160179,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160177,"src":"20564:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":160184,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160173,"src":"20618:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":160185,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20625:1:244","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":160182,"name":"Bytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7243,"src":"20601:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Bytes_$7243_$","typeString":"type(library Bytes)"}},"id":160183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20607:10:244","memberName":"getBytes32","nodeType":"MemberAccess","referencedDeclaration":7230,"src":"20601:16:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":160186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20601:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":160180,"name":"EncodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7251,"src":"20581:14:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"type(EncodedLengths)"}},"id":160181,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"20596:4:244","memberName":"wrap","nodeType":"MemberAccess","src":"20581:19:244","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes32) pure returns (EncodedLengths)"}},"id":160187,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20581:47:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"src":"20564:64:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":160189,"nodeType":"ExpressionStatement","src":"20564:64:244"}]},"documentation":{"id":160171,"nodeType":"StructuredDocumentation","src":"20358:101:244","text":" @notice Decode the tightly packed blob of static data using this table's field layout."},"implemented":true,"kind":"function","modifiers":[],"name":"decodeStatic","nameLocation":"20471:12:244","parameters":{"id":160174,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160173,"mutability":"mutable","name":"_blob","nameLocation":"20497:5:244","nodeType":"VariableDeclaration","scope":160191,"src":"20484:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160172,"name":"bytes","nodeType":"ElementaryTypeName","src":"20484:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"20483:20:244"},"returnParameters":{"id":160178,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160177,"mutability":"mutable","name":"encodedLengths","nameLocation":"20542:14:244","nodeType":"VariableDeclaration","scope":160191,"src":"20527:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160176,"nodeType":"UserDefinedTypeName","pathNode":{"id":160175,"name":"EncodedLengths","nameLocations":["20527:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"20527:14:244"},"referencedDeclaration":7251,"src":"20527:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"20526:31:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":160261,"nodeType":"FunctionDefinition","src":"20736:510:244","nodes":[],"body":{"id":160260,"nodeType":"Block","src":"20897:349:244","nodes":[],"statements":[{"assignments":[160205],"declarations":[{"constant":false,"id":160205,"mutability":"mutable","name":"_start","nameLocation":"20911:6:244","nodeType":"VariableDeclaration","scope":160260,"src":"20903:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":160204,"name":"uint256","nodeType":"ElementaryTypeName","src":"20903:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":160206,"nodeType":"VariableDeclarationStatement","src":"20903:14:244"},{"assignments":[160208],"declarations":[{"constant":false,"id":160208,"mutability":"mutable","name":"_end","nameLocation":"20931:4:244","nodeType":"VariableDeclaration","scope":160260,"src":"20923:12:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":160207,"name":"uint256","nodeType":"ElementaryTypeName","src":"20923:7:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":160209,"nodeType":"VariableDeclarationStatement","src":"20923:12:244"},{"id":160217,"nodeType":"UncheckedBlock","src":"20941:58:244","statements":[{"expression":{"id":160215,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":160210,"name":"_end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160208,"src":"20959:4:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"hexValue":"30","id":160213,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20990:1:244","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":160211,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160195,"src":"20966:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":160212,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20982:7:244","memberName":"atIndex","nodeType":"MemberAccess","referencedDeclaration":7722,"src":"20966:23:244","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":160214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20966:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20959:33:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":160216,"nodeType":"ExpressionStatement","src":"20959:33:244"}]},{"expression":{"id":160231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":160218,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160200,"src":"21004:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":160223,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160197,"src":"21045:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160224,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160205,"src":"21052:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":160225,"name":"_end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160208,"src":"21060:4:244","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":160221,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"21024:8:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":160222,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21033:11:244","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"21024:20:244","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":160226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21024:41:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":160227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21066:7:244","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":10269,"src":"21024:49:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slice_$10067_$returns$_t_bytes_memory_ptr_$attached_to$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (Slice) pure returns (bytes memory)"}},"id":160228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21024:51:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160220,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"21018:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":160219,"name":"bytes","nodeType":"ElementaryTypeName","src":"21018:5:244","typeDescriptions":{}}},"id":160229,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21018:58:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":160230,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21017:60:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"21004:73:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":160232,"nodeType":"ExpressionStatement","src":"21004:73:244"},{"expression":{"id":160235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":160233,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160205,"src":"21084:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":160234,"name":"_end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160208,"src":"21093:4:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21084:13:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":160236,"nodeType":"ExpressionStatement","src":"21084:13:244"},{"id":160244,"nodeType":"UncheckedBlock","src":"21103:59:244","statements":[{"expression":{"id":160242,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":160237,"name":"_end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160208,"src":"21121:4:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"hexValue":"31","id":160240,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21153:1:244","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"}],"expression":{"id":160238,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160195,"src":"21129:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":160239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21145:7:244","memberName":"atIndex","nodeType":"MemberAccess","referencedDeclaration":7722,"src":"21129:23:244","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":160241,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21129:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21121:34:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":160243,"nodeType":"ExpressionStatement","src":"21121:34:244"}]},{"expression":{"id":160258,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":160245,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160202,"src":"21167:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":160250,"name":"_blob","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160197,"src":"21209:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160251,"name":"_start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160205,"src":"21216:6:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":160252,"name":"_end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160208,"src":"21224:4:244","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":160248,"name":"SliceLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10192,"src":"21188:8:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SliceLib_$10192_$","typeString":"type(library SliceLib)"}},"id":160249,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21197:11:244","memberName":"getSubslice","nodeType":"MemberAccess","referencedDeclaration":10191,"src":"21188:20:244","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":160253,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21188:41:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_Slice_$10067","typeString":"Slice"}},"id":160254,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21230:7:244","memberName":"toBytes","nodeType":"MemberAccess","referencedDeclaration":10269,"src":"21188:49:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_Slice_$10067_$returns$_t_bytes_memory_ptr_$attached_to$_t_userDefinedValueType$_Slice_$10067_$","typeString":"function (Slice) pure returns (bytes memory)"}},"id":160255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21188:51:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160247,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"21182:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":160246,"name":"bytes","nodeType":"ElementaryTypeName","src":"21182:5:244","typeDescriptions":{}}},"id":160256,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21182:58:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":160257,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"21181:60:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"21167:74:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":160259,"nodeType":"ExpressionStatement","src":"21167:74:244"}]},"documentation":{"id":160192,"nodeType":"StructuredDocumentation","src":"20637:96:244","text":" @notice Decode the tightly packed blob of dynamic data using the encoded lengths."},"implemented":true,"kind":"function","modifiers":[],"name":"decodeDynamic","nameLocation":"20745:13:244","parameters":{"id":160198,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160195,"mutability":"mutable","name":"_encodedLengths","nameLocation":"20779:15:244","nodeType":"VariableDeclaration","scope":160261,"src":"20764:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160194,"nodeType":"UserDefinedTypeName","pathNode":{"id":160193,"name":"EncodedLengths","nameLocations":["20764:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"20764:14:244"},"referencedDeclaration":7251,"src":"20764:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":160197,"mutability":"mutable","name":"_blob","nameLocation":"20813:5:244","nodeType":"VariableDeclaration","scope":160261,"src":"20800:18:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160196,"name":"bytes","nodeType":"ElementaryTypeName","src":"20800:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"20758:64:244"},"returnParameters":{"id":160203,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160200,"mutability":"mutable","name":"staticData","nameLocation":"20859:10:244","nodeType":"VariableDeclaration","scope":160261,"src":"20846:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160199,"name":"bytes","nodeType":"ElementaryTypeName","src":"20846:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":160202,"mutability":"mutable","name":"dynamicData","nameLocation":"20884:11:244","nodeType":"VariableDeclaration","scope":160261,"src":"20871:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160201,"name":"bytes","nodeType":"ElementaryTypeName","src":"20871:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"20845:51:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":160297,"nodeType":"FunctionDefinition","src":"21513:330:244","nodes":[],"body":{"id":160296,"nodeType":"Block","src":"21688:155:244","nodes":[],"statements":[{"expression":{"id":160282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":160275,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160273,"src":"21695:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160277,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21702:14:244","memberName":"encodedLengths","nodeType":"MemberAccess","referencedDeclaration":157853,"src":"21695:21:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"id":160278,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"21694:23:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160280,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160264,"src":"21733:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160279,"name":"decodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160191,"src":"21720:12:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes memory) pure returns (EncodedLengths)"}},"id":160281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21720:25:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"src":"21694:51:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":160283,"nodeType":"ExpressionStatement","src":"21694:51:244"},{"expression":{"id":160294,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"expression":{"id":160284,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160273,"src":"21753:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160286,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21760:10:244","memberName":"staticData","nodeType":"MemberAccess","referencedDeclaration":157855,"src":"21753:17:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"expression":{"id":160287,"name":"_table","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160273,"src":"21772:6:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData memory"}},"id":160288,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21779:11:244","memberName":"dynamicData","nodeType":"MemberAccess","referencedDeclaration":157857,"src":"21772:18:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":160289,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"21752:39:244","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,bytes memory)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160291,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160267,"src":"21808:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":160292,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160269,"src":"21825:12:244","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":160290,"name":"decodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160261,"src":"21794:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$","typeString":"function (EncodedLengths,bytes memory) pure returns (bytes memory,bytes memory)"}},"id":160293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21794:44:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,bytes memory)"}},"src":"21752:86:244","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":160295,"nodeType":"ExpressionStatement","src":"21752:86:244"}]},"documentation":{"id":160262,"nodeType":"StructuredDocumentation","src":"21250:260:244","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":"21522:6:244","parameters":{"id":160270,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160264,"mutability":"mutable","name":"_staticData","nameLocation":"21547:11:244","nodeType":"VariableDeclaration","scope":160297,"src":"21534:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160263,"name":"bytes","nodeType":"ElementaryTypeName","src":"21534:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":160267,"mutability":"mutable","name":"_encodedLengths","nameLocation":"21579:15:244","nodeType":"VariableDeclaration","scope":160297,"src":"21564:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160266,"nodeType":"UserDefinedTypeName","pathNode":{"id":160265,"name":"EncodedLengths","nameLocations":["21564:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"21564:14:244"},"referencedDeclaration":7251,"src":"21564:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":160269,"mutability":"mutable","name":"_dynamicData","nameLocation":"21613:12:244","nodeType":"VariableDeclaration","scope":160297,"src":"21600:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160268,"name":"bytes","nodeType":"ElementaryTypeName","src":"21600:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"21528:101:244"},"returnParameters":{"id":160274,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160273,"mutability":"mutable","name":"_table","nameLocation":"21680:6:244","nodeType":"VariableDeclaration","scope":160297,"src":"21653:33:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_memory_ptr","typeString":"struct TemplateContentData"},"typeName":{"id":160272,"nodeType":"UserDefinedTypeName","pathNode":{"id":160271,"name":"TemplateContentData","nameLocations":["21653:19:244"],"nodeType":"IdentifierPath","referencedDeclaration":157858,"src":"21653:19:244"},"referencedDeclaration":157858,"src":"21653:19:244","typeDescriptions":{"typeIdentifier":"t_struct$_TemplateContentData_$157858_storage_ptr","typeString":"struct TemplateContentData"}},"visibility":"internal"}],"src":"21652:35:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":160340,"nodeType":"FunctionDefinition","src":"21904:257:244","nodes":[],"body":{"id":160339,"nodeType":"Block","src":"21975:186:244","nodes":[],"statements":[{"assignments":[160310],"declarations":[{"constant":false,"id":160310,"mutability":"mutable","name":"_keyTuple","nameLocation":"21998:9:244","nodeType":"VariableDeclaration","scope":160339,"src":"21981:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":160308,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21981:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160309,"nodeType":"ArrayTypeName","src":"21981:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":160316,"initialValue":{"arguments":[{"hexValue":"32","id":160314,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22024:1:244","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":160313,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"22010:13:244","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":160311,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22014:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160312,"nodeType":"ArrayTypeName","src":"22014:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":160315,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22010:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"21981:45:244"},{"expression":{"id":160321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160317,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160310,"src":"22032:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160319,"indexExpression":{"hexValue":"30","id":160318,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22042:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"22032:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":160320,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160300,"src":"22047:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"22032:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160322,"nodeType":"ExpressionStatement","src":"22032:25:244"},{"expression":{"id":160330,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160323,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160310,"src":"22063:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160325,"indexExpression":{"hexValue":"31","id":160324,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22073:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"22063:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160328,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160303,"src":"22096:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":160326,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"22078:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":160327,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"22089:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"22078:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":160329,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22078:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"22063:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160331,"nodeType":"ExpressionStatement","src":"22063:41:244"},{"expression":{"arguments":[{"id":160335,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"22136:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":160336,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160310,"src":"22146:9:244","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":160332,"name":"StoreSwitch","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"22111:11:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreSwitch_$14558_$","typeString":"type(library StoreSwitch)"}},"id":160334,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22123:12:244","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":14077,"src":"22111:24:244","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$9486_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$","typeString":"function (ResourceId,bytes32[] memory)"}},"id":160337,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22111:45:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":160338,"nodeType":"ExpressionStatement","src":"22111:45:244"}]},"documentation":{"id":160298,"nodeType":"StructuredDocumentation","src":"21847:54:244","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"deleteRecord","nameLocation":"21913:12:244","parameters":{"id":160304,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160300,"mutability":"mutable","name":"templateId","nameLocation":"21934:10:244","nodeType":"VariableDeclaration","scope":160340,"src":"21926:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":160299,"name":"bytes32","nodeType":"ElementaryTypeName","src":"21926:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":160303,"mutability":"mutable","name":"tableId","nameLocation":"21957:7:244","nodeType":"VariableDeclaration","scope":160340,"src":"21946:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":160302,"nodeType":"UserDefinedTypeName","pathNode":{"id":160301,"name":"ResourceId","nameLocations":["21946:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"21946:10:244"},"referencedDeclaration":9486,"src":"21946:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"21925:40:244"},"returnParameters":{"id":160305,"nodeType":"ParameterList","parameters":[],"src":"21975:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":160384,"nodeType":"FunctionDefinition","src":"22222:270:244","nodes":[],"body":{"id":160383,"nodeType":"Block","src":"22294:198:244","nodes":[],"statements":[{"assignments":[160353],"declarations":[{"constant":false,"id":160353,"mutability":"mutable","name":"_keyTuple","nameLocation":"22317:9:244","nodeType":"VariableDeclaration","scope":160383,"src":"22300:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":160351,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22300:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160352,"nodeType":"ArrayTypeName","src":"22300:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":160359,"initialValue":{"arguments":[{"hexValue":"32","id":160357,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22343:1:244","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":160356,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"22329:13:244","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":160354,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22333:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160355,"nodeType":"ArrayTypeName","src":"22333:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":160358,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22329:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"22300:45:244"},{"expression":{"id":160364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160360,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160353,"src":"22351:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160362,"indexExpression":{"hexValue":"30","id":160361,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22361:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"22351:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":160363,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160343,"src":"22366:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"22351:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160365,"nodeType":"ExpressionStatement","src":"22351:25:244"},{"expression":{"id":160373,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160366,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160353,"src":"22382:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160368,"indexExpression":{"hexValue":"31","id":160367,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22392:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"22382:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160371,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160346,"src":"22415:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":160369,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"22397:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":160370,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"22408:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"22397:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":160372,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22397:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"22382:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160374,"nodeType":"ExpressionStatement","src":"22382:41:244"},{"expression":{"arguments":[{"id":160378,"name":"_tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157865,"src":"22453:8:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},{"id":160379,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160353,"src":"22463:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},{"id":160380,"name":"_fieldLayout","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":157872,"src":"22474:12:244","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":160375,"name":"StoreCore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12701,"src":"22430:9:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StoreCore_$12701_$","typeString":"type(library StoreCore)"}},"id":160377,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"22440:12:244","memberName":"deleteRecord","nodeType":"MemberAccess","referencedDeclaration":12133,"src":"22430:22:244","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":160381,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22430:57:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":160382,"nodeType":"ExpressionStatement","src":"22430:57:244"}]},"documentation":{"id":160341,"nodeType":"StructuredDocumentation","src":"22165:54:244","text":" @notice Delete all data for given keys."},"implemented":true,"kind":"function","modifiers":[],"name":"_deleteRecord","nameLocation":"22231:13:244","parameters":{"id":160347,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160343,"mutability":"mutable","name":"templateId","nameLocation":"22253:10:244","nodeType":"VariableDeclaration","scope":160384,"src":"22245:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":160342,"name":"bytes32","nodeType":"ElementaryTypeName","src":"22245:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":160346,"mutability":"mutable","name":"tableId","nameLocation":"22276:7:244","nodeType":"VariableDeclaration","scope":160384,"src":"22265:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":160345,"nodeType":"UserDefinedTypeName","pathNode":{"id":160344,"name":"ResourceId","nameLocations":["22265:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"22265:10:244"},"referencedDeclaration":9486,"src":"22265:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"22244:40:244"},"returnParameters":{"id":160348,"nodeType":"ParameterList","parameters":[],"src":"22294:0:244"},"scope":160540,"stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"id":160399,"nodeType":"FunctionDefinition","src":"22652:140:244","nodes":[],"body":{"id":160398,"nodeType":"Block","src":"22742:50:244","nodes":[],"statements":[{"expression":{"arguments":[{"id":160395,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160388,"src":"22772:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"expression":{"id":160393,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"22755:3:244","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":160394,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"22759:12:244","memberName":"encodePacked","nodeType":"MemberAccess","src":"22755:16:244","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":160396,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22755:32:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":160392,"id":160397,"nodeType":"Return","src":"22748:39:244"}]},"documentation":{"id":160385,"nodeType":"StructuredDocumentation","src":"22496:153:244","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":"22661:12:244","parameters":{"id":160389,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160388,"mutability":"mutable","name":"encodedLengths","nameLocation":"22689:14:244","nodeType":"VariableDeclaration","scope":160399,"src":"22674:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160387,"nodeType":"UserDefinedTypeName","pathNode":{"id":160386,"name":"EncodedLengths","nameLocations":["22674:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"22674:14:244"},"referencedDeclaration":7251,"src":"22674:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"22673:31:244"},"returnParameters":{"id":160392,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160391,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":160399,"src":"22728:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160390,"name":"bytes","nodeType":"ElementaryTypeName","src":"22728:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"22727:14:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":160428,"nodeType":"FunctionDefinition","src":"22983:356:244","nodes":[],"body":{"id":160427,"nodeType":"Block","src":"23124:215:244","nodes":[],"statements":[{"id":160426,"nodeType":"UncheckedBlock","src":"23217:118:244","statements":[{"expression":{"id":160424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":160410,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160408,"src":"23235:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"arguments":[{"id":160415,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160402,"src":"23282:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160414,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23276:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":160413,"name":"bytes","nodeType":"ElementaryTypeName","src":"23276:5:244","typeDescriptions":{}}},"id":160416,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23276:17:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":160417,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23294:6:244","memberName":"length","nodeType":"MemberAccess","src":"23276:24:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"arguments":[{"id":160420,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160404,"src":"23308:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160419,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23302:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":160418,"name":"bytes","nodeType":"ElementaryTypeName","src":"23302:5:244","typeDescriptions":{}}},"id":160421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23302:18:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":160422,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23321:6:244","memberName":"length","nodeType":"MemberAccess","src":"23302:25:244","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":160411,"name":"EncodedLengthsLib","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7669,"src":"23253:17:244","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_EncodedLengthsLib_$7669_$","typeString":"type(library EncodedLengthsLib)"}},"id":160412,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23271:4:244","memberName":"pack","nodeType":"MemberAccess","referencedDeclaration":7374,"src":"23253:22:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (uint256,uint256) pure returns (EncodedLengths)"}},"id":160423,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23253:75:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"src":"23235:93:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"id":160425,"nodeType":"ExpressionStatement","src":"23235:93:244"}]}]},"documentation":{"id":160400,"nodeType":"StructuredDocumentation","src":"22796:184:244","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":"22992:13:244","parameters":{"id":160405,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160402,"mutability":"mutable","name":"staticData","nameLocation":"23024:10:244","nodeType":"VariableDeclaration","scope":160428,"src":"23011:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160401,"name":"bytes","nodeType":"ElementaryTypeName","src":"23011:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":160404,"mutability":"mutable","name":"dynamicData","nameLocation":"23053:11:244","nodeType":"VariableDeclaration","scope":160428,"src":"23040:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160403,"name":"bytes","nodeType":"ElementaryTypeName","src":"23040:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"23005:63:244"},"returnParameters":{"id":160409,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160408,"mutability":"mutable","name":"_encodedLengths","nameLocation":"23107:15:244","nodeType":"VariableDeclaration","scope":160428,"src":"23092:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160407,"nodeType":"UserDefinedTypeName","pathNode":{"id":160406,"name":"EncodedLengths","nameLocations":["23092:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"23092:14:244"},"referencedDeclaration":7251,"src":"23092:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"src":"23091:32:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":160453,"nodeType":"FunctionDefinition","src":"23504:188:244","nodes":[],"body":{"id":160452,"nodeType":"Block","src":"23615:77:244","nodes":[],"statements":[{"expression":{"arguments":[{"arguments":[{"components":[{"id":160442,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160431,"src":"23652:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":160443,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"23651:12:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160441,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23645:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":160440,"name":"bytes","nodeType":"ElementaryTypeName","src":"23645:5:244","typeDescriptions":{}}},"id":160444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23645:19:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"arguments":[{"components":[{"id":160447,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160433,"src":"23673:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":160448,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"23672:13:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160446,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23666:5:244","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":160445,"name":"bytes","nodeType":"ElementaryTypeName","src":"23666:5:244","typeDescriptions":{}}},"id":160449,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23666:20:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":160438,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"23628:3:244","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":160439,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"23632:12:244","memberName":"encodePacked","nodeType":"MemberAccess","src":"23628:16:244","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":160450,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23628:59:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":160437,"id":160451,"nodeType":"Return","src":"23621:66:244"}]},"documentation":{"id":160429,"nodeType":"StructuredDocumentation","src":"23343:158:244","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":"23513:13:244","parameters":{"id":160434,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160431,"mutability":"mutable","name":"staticData","nameLocation":"23540:10:244","nodeType":"VariableDeclaration","scope":160453,"src":"23527:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160430,"name":"bytes","nodeType":"ElementaryTypeName","src":"23527:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":160433,"mutability":"mutable","name":"dynamicData","nameLocation":"23565:11:244","nodeType":"VariableDeclaration","scope":160453,"src":"23552:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160432,"name":"bytes","nodeType":"ElementaryTypeName","src":"23552:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"23526:51:244"},"returnParameters":{"id":160437,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160436,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":160453,"src":"23601:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160435,"name":"bytes","nodeType":"ElementaryTypeName","src":"23601:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"23600:14:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":160498,"nodeType":"FunctionDefinition","src":"24001:455:244","nodes":[],"body":{"id":160497,"nodeType":"Block","src":"24182:274:244","nodes":[],"statements":[{"assignments":[160472],"declarations":[{"constant":false,"id":160472,"mutability":"mutable","name":"_staticData","nameLocation":"24201:11:244","nodeType":"VariableDeclaration","scope":160497,"src":"24188:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160471,"name":"bytes","nodeType":"ElementaryTypeName","src":"24188:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":160476,"initialValue":{"arguments":[{"id":160474,"name":"encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160457,"src":"24228:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}],"id":160473,"name":"encodeStatic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160399,"src":"24215:12:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_EncodedLengths_$7251_$returns$_t_bytes_memory_ptr_$","typeString":"function (EncodedLengths) pure returns (bytes memory)"}},"id":160475,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24215:28:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"24188:55:244"},{"assignments":[160479],"declarations":[{"constant":false,"id":160479,"mutability":"mutable","name":"_encodedLengths","nameLocation":"24265:15:244","nodeType":"VariableDeclaration","scope":160497,"src":"24250:30:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160478,"nodeType":"UserDefinedTypeName","pathNode":{"id":160477,"name":"EncodedLengths","nameLocations":["24250:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"24250:14:244"},"referencedDeclaration":7251,"src":"24250:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"}],"id":160484,"initialValue":{"arguments":[{"id":160481,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160459,"src":"24297:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160482,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160461,"src":"24309:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160480,"name":"encodeLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160428,"src":"24283:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_EncodedLengths_$7251_$","typeString":"function (bytes memory,bytes memory) pure returns (EncodedLengths)"}},"id":160483,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24283:38:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"nodeType":"VariableDeclarationStatement","src":"24250:71:244"},{"assignments":[160486],"declarations":[{"constant":false,"id":160486,"mutability":"mutable","name":"_dynamicData","nameLocation":"24340:12:244","nodeType":"VariableDeclaration","scope":160497,"src":"24327:25:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160485,"name":"bytes","nodeType":"ElementaryTypeName","src":"24327:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":160491,"initialValue":{"arguments":[{"id":160488,"name":"staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160459,"src":"24369:10:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160489,"name":"dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160461,"src":"24381:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":160487,"name":"encodeDynamic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160453,"src":"24355:13:244","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,bytes memory) pure returns (bytes memory)"}},"id":160490,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24355:38:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"24327:66:244"},{"expression":{"components":[{"id":160492,"name":"_staticData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160472,"src":"24408:11:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":160493,"name":"_encodedLengths","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160479,"src":"24421:15:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},{"id":160494,"name":"_dynamicData","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160486,"src":"24438:12:244","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":160495,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"24407:44:244","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes_memory_ptr_$_t_userDefinedValueType$_EncodedLengths_$7251_$_t_bytes_memory_ptr_$","typeString":"tuple(bytes memory,EncodedLengths,bytes memory)"}},"functionReturnParameters":160470,"id":160496,"nodeType":"Return","src":"24400:51:244"}]},"documentation":{"id":160454,"nodeType":"StructuredDocumentation","src":"23696:302:244","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":"24010:6:244","parameters":{"id":160462,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160457,"mutability":"mutable","name":"encodedLengths","nameLocation":"24037:14:244","nodeType":"VariableDeclaration","scope":160498,"src":"24022:29:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160456,"nodeType":"UserDefinedTypeName","pathNode":{"id":160455,"name":"EncodedLengths","nameLocations":["24022:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"24022:14:244"},"referencedDeclaration":7251,"src":"24022:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":160459,"mutability":"mutable","name":"staticData","nameLocation":"24070:10:244","nodeType":"VariableDeclaration","scope":160498,"src":"24057:23:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160458,"name":"bytes","nodeType":"ElementaryTypeName","src":"24057:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":160461,"mutability":"mutable","name":"dynamicData","nameLocation":"24099:11:244","nodeType":"VariableDeclaration","scope":160498,"src":"24086:24:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160460,"name":"bytes","nodeType":"ElementaryTypeName","src":"24086:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"24016:98:244"},"returnParameters":{"id":160470,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160464,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":160498,"src":"24138:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160463,"name":"bytes","nodeType":"ElementaryTypeName","src":"24138:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":160467,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":160498,"src":"24152:14:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"},"typeName":{"id":160466,"nodeType":"UserDefinedTypeName","pathNode":{"id":160465,"name":"EncodedLengths","nameLocations":["24152:14:244"],"nodeType":"IdentifierPath","referencedDeclaration":7251,"src":"24152:14:244"},"referencedDeclaration":7251,"src":"24152:14:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_EncodedLengths_$7251","typeString":"EncodedLengths"}},"visibility":"internal"},{"constant":false,"id":160469,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":160498,"src":"24168:12:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":160468,"name":"bytes","nodeType":"ElementaryTypeName","src":"24168:5:244","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"24137:44:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"},{"id":160539,"nodeType":"FunctionDefinition","src":"24549:262:244","nodes":[],"body":{"id":160538,"nodeType":"Block","src":"24654:157:244","nodes":[],"statements":[{"assignments":[160514],"declarations":[{"constant":false,"id":160514,"mutability":"mutable","name":"_keyTuple","nameLocation":"24677:9:244","nodeType":"VariableDeclaration","scope":160538,"src":"24660:26:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":160512,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24660:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160513,"nodeType":"ArrayTypeName","src":"24660:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"id":160520,"initialValue":{"arguments":[{"hexValue":"32","id":160518,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24703:1:244","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":160517,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"24689:13:244","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":160515,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24693:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160516,"nodeType":"ArrayTypeName","src":"24693:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}}},"id":160519,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24689:16:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"nodeType":"VariableDeclarationStatement","src":"24660:45:244"},{"expression":{"id":160525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160521,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160514,"src":"24711:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160523,"indexExpression":{"hexValue":"30","id":160522,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24721:1:244","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"24711:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":160524,"name":"templateId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160501,"src":"24726:10:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"24711:25:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160526,"nodeType":"ExpressionStatement","src":"24711:25:244"},{"expression":{"id":160534,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":160527,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160514,"src":"24742:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"id":160529,"indexExpression":{"hexValue":"31","id":160528,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24752:1:244","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"24742:12:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":160532,"name":"tableId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160504,"src":"24775:7:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}],"expression":{"id":160530,"name":"ResourceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9486,"src":"24757:10:244","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ResourceId_$9486_$","typeString":"type(ResourceId)"}},"id":160531,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"24768:6:244","memberName":"unwrap","nodeType":"MemberAccess","src":"24757:17:244","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$9486_$returns$_t_bytes32_$","typeString":"function (ResourceId) pure returns (bytes32)"}},"id":160533,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24757:26:244","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"24742:41:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160535,"nodeType":"ExpressionStatement","src":"24742:41:244"},{"expression":{"id":160536,"name":"_keyTuple","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":160514,"src":"24797:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[] memory"}},"functionReturnParameters":160509,"id":160537,"nodeType":"Return","src":"24790:16:244"}]},"documentation":{"id":160499,"nodeType":"StructuredDocumentation","src":"24460:86:244","text":" @notice Encode keys as a bytes32 array using this table's field layout."},"implemented":true,"kind":"function","modifiers":[],"name":"encodeKeyTuple","nameLocation":"24558:14:244","parameters":{"id":160505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160501,"mutability":"mutable","name":"templateId","nameLocation":"24581:10:244","nodeType":"VariableDeclaration","scope":160539,"src":"24573:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":160500,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24573:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":160504,"mutability":"mutable","name":"tableId","nameLocation":"24604:7:244","nodeType":"VariableDeclaration","scope":160539,"src":"24593:18:244","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"},"typeName":{"id":160503,"nodeType":"UserDefinedTypeName","pathNode":{"id":160502,"name":"ResourceId","nameLocations":["24593:10:244"],"nodeType":"IdentifierPath","referencedDeclaration":9486,"src":"24593:10:244"},"referencedDeclaration":9486,"src":"24593:10:244","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ResourceId_$9486","typeString":"ResourceId"}},"visibility":"internal"}],"src":"24572:40:244"},"returnParameters":{"id":160509,"nodeType":"ParameterList","parameters":[{"constant":false,"id":160508,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":160539,"src":"24636:16:244","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_memory_ptr","typeString":"bytes32[]"},"typeName":{"baseType":{"id":160506,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24636:7:244","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":160507,"nodeType":"ArrayTypeName","src":"24636:9:244","typeDescriptions":{"typeIdentifier":"t_array$_t_bytes32_$dyn_storage_ptr","typeString":"bytes32[]"}},"visibility":"internal"}],"src":"24635:18:244"},"scope":160540,"stateMutability":"pure","virtual":false,"visibility":"internal"}],"abstract":false,"baseContracts":[],"canonicalName":"TemplateContent","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"linearizedBaseContracts":[160540],"name":"TemplateContent","nameLocation":"1151:15:244","scope":160541,"usedErrors":[],"usedEvents":[]}],"license":"MIT"},"id":244}