@latticexyz/world 1.40.0 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/abi/AddressArraySchemaLib.json +718 -869
- package/abi/BoolSchemaLib.json +401 -401
- package/abi/Bytes.json +1162 -1162
- package/abi/CommonBase.json +125 -125
- package/abi/DSTest.json +2630 -2630
- package/abi/DecodeSlice.json +3883 -3883
- package/abi/EncodeArray.json +3336 -3336
- package/abi/Hooks.json +1491 -785
- package/abi/IMulticall3.json +283 -283
- package/abi/IStore.json +623 -421
- package/abi/IStoreHook.json +567 -421
- package/abi/ISystemHook.json +19 -19
- package/abi/Memory.json +131 -131
- package/abi/PackedCounterLib.json +683 -683
- package/abi/RouteAccess.json +2209 -1159
- package/abi/RouteOwnerSchemaLib.json +349 -349
- package/abi/RouteOwnerTable.json +297 -297
- package/abi/RouteSchemaLib.json +433 -433
- package/abi/RouteTable.json +336 -336
- package/abi/SchemaLib.json +1211 -1211
- package/abi/ScriptBase.json +125 -125
- package/abi/SliceInstance.json +429 -429
- package/abi/SliceLib.json +429 -429
- package/abi/StdAssertions.json +2135 -2135
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +337 -337
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +491 -491
- package/abi/Store.json +374 -209
- package/abi/StoreCore.json +10665 -7865
- package/abi/StoreCoreExtended.json +10443 -7722
- package/abi/StoreCoreInternal.json +10482 -7638
- package/abi/StoreMetadata.json +3719 -2417
- package/abi/StoreSwitch.json +1692 -783
- package/abi/System.json +16 -16
- package/abi/SystemRouteSchemaLib.json +402 -402
- package/abi/SystemRouteTable.json +336 -336
- package/abi/SystemTable.json +8544 -651
- package/abi/SystemTest.json +287 -303
- package/abi/Test.json +124 -124
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +287 -303
- package/abi/TightCoder.json +272 -272
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +5183 -3374
- package/abi/WorldTest.json +9983 -10520
- package/abi/WorldTestSystem.json +9992 -10503
- package/abi/WorldTestTableHook.json +9978 -10511
- package/abi/console.json +11417 -11417
- package/abi/console2.json +11459 -11459
- package/abi/stdError.json +79 -79
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +8 -8
- package/src/World.sol +78 -32
- package/src/schemas/AddressArray.sol +5 -19
- package/src/tables/RouteAccess.sol +35 -30
- package/src/tables/SystemTable.sol +142 -23
- package/types/ethers-contracts/IStore.ts +49 -0
- package/types/ethers-contracts/Store.ts +49 -0
- package/types/ethers-contracts/World.ts +94 -0
- package/types/ethers-contracts/WorldTest.ts +27 -0
- package/types/ethers-contracts/factories/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/StoreCore__factory.ts +2 -23
- package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/factories/Store__factory.ts +81 -0
- package/types/ethers-contracts/factories/SystemTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/TestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +12 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +11 -34
- package/types/ethers-contracts/factories/World__factory.ts +70 -30
- package/types/ethers-contracts/index.ts +0 -2
- package/abi/SystemSchemaLib.json +0 -3704
- package/src/schemas/SystemSchema.sol +0 -78
- package/types/ethers-contracts/StoreCoreExtended.ts +0 -141
- package/types/ethers-contracts/factories/StoreCoreExtended__factory.ts +0 -123
package/abi/Hooks.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"abi": [],
|
|
3
3
|
"bytecode": {
|
|
4
|
-
"object": "
|
|
5
|
-
"sourceMap": "
|
|
4
|
+
"object": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c38d7b441cd74aa695d47ccafa86298a38827d01043b2013b2c8601784e5c4d864736f6c634300080d0033",
|
|
5
|
+
"sourceMap": "739:2095:12:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;739:2095:12;;;;;;;;;;;;;;;;;",
|
|
6
6
|
"linkReferences": {}
|
|
7
7
|
},
|
|
8
8
|
"deployedBytecode": {
|
|
9
|
-
"object": "
|
|
10
|
-
"sourceMap": "
|
|
9
|
+
"object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220c38d7b441cd74aa695d47ccafa86298a38827d01043b2013b2c8601784e5c4d864736f6c634300080d0033",
|
|
10
|
+
"sourceMap": "739:2095:12:-:0;;;;;;;;",
|
|
11
11
|
"linkReferences": {}
|
|
12
12
|
},
|
|
13
13
|
"methodIdentifiers": {},
|
|
14
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"../../node_modules/@latticexyz/store/src/tables/Hooks.sol\":\"Hooks\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=../../node_modules/@latticexyz/\",\":@rari-capital/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/@rari-capital/\",\":@solidstate/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/@solidstate/\",\":abdk-libraries-solidity/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/abdk-libraries-solidity/\",\":base64-sol/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/base64-sol/\",\":create-mud/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/create-mud/\",\":ds-test/=../../node_modules/ds-test/src/\",\":forge-std/=../../node_modules/forge-std/src/\",\":hardhat/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/hardhat/\",\":memmove/=/Users/flomllr/git/latticexyz/mud/node_modules/memmove/src/\",\":solmate/=/Users/flomllr/git/latticexyz/mud/node_modules/solmate/src/\",\":store/=/Users/flomllr/git/latticexyz/mud/packages/store/src/\",\":test/=../store/test/\"]},\"sources\":{\"../../node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0xe881f296ba0fe410faa6395ee4a65b9bf154947aebc6aa323d41a0484504221e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba7f706464d14365ff751936ba96f79f200df7bcd9d9f8abccd0b41387ca7967\",\"dweb:/ipfs/QmTiHgH3ZM2oJoqsbNs3iwwPFNYFNU7m8co87woxRLaUZ6\"]},\"../../node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xbf62a7c112d01458cf6798e22c7e9efb4b429f2a448613465f8a1d04ed4909d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f3fb1fecc95937b75af7ba625f80c3ea0848dddf2d8a1d1f987e705ebc20086\",\"dweb:/ipfs/QmU8kMF6YBL5QV43CmqdqaquKtn7699npyRJX1o5rHUo8W\"]},\"../../node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"
|
|
14
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"../../node_modules/@latticexyz/store/src/tables/Hooks.sol\":\"Hooks\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=../../node_modules/@latticexyz/\",\":@rari-capital/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/@rari-capital/\",\":@solidstate/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/@solidstate/\",\":abdk-libraries-solidity/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/abdk-libraries-solidity/\",\":base64-sol/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/base64-sol/\",\":create-mud/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/create-mud/\",\":ds-test/=../../node_modules/ds-test/src/\",\":forge-std/=../../node_modules/forge-std/src/\",\":hardhat/=/Users/flomllr/git/latticexyz/mud/packages/store/../../node_modules/hardhat/\",\":memmove/=/Users/flomllr/git/latticexyz/mud/node_modules/memmove/src/\",\":solmate/=/Users/flomllr/git/latticexyz/mud/node_modules/solmate/src/\",\":store/=/Users/flomllr/git/latticexyz/mud/packages/store/src/\",\":test/=../store/test/\"]},\"sources\":{\"../../node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0xe881f296ba0fe410faa6395ee4a65b9bf154947aebc6aa323d41a0484504221e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba7f706464d14365ff751936ba96f79f200df7bcd9d9f8abccd0b41387ca7967\",\"dweb:/ipfs/QmTiHgH3ZM2oJoqsbNs3iwwPFNYFNU7m8co87woxRLaUZ6\"]},\"../../node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xbf62a7c112d01458cf6798e22c7e9efb4b429f2a448613465f8a1d04ed4909d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f3fb1fecc95937b75af7ba625f80c3ea0848dddf2d8a1d1f987e705ebc20086\",\"dweb:/ipfs/QmU8kMF6YBL5QV43CmqdqaquKtn7699npyRJX1o5rHUo8W\"]},\"../../node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0xe4e05dbf758852fa668cf4c9877f64c38f1cb57bbce8f8585d6f1c5ec0bba98d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://843235da22b943edfaf0a3b9c1fc1f985e480a3941eda3a9417962bdefd5ae37\",\"dweb:/ipfs/QmWC5TCVhxgJpEvDdNzTHjjwPeupFEUaq8W7AFnxYfsp5P\"]},\"../../node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0xdcd3da381bf9618de6b5e2d6235b1e22c54078242f1b66e897cfaf2776850db5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0511205cfb3c935ffc63cc227745360cd549636da5331f249cc34387b5181f44\",\"dweb:/ipfs/QmVYZ7YCT1rJemmTVRsjXZJ4HsWgspRxqbsbhy8AD1jwey\"]},\"../../node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x4db3052d5a5009da45208715e433556d0fe7aa25f9ec6ba6f7c9711afdaba96e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee5a2906544f37897175c19423ec50e15a070e94bcd97a5201df29e1dc3c7d0f\",\"dweb:/ipfs/QmeA5iZbRLynduDgkaLMZyY3YrPweDkFExuQEDg1GjdVCc\"]},\"../../node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0xd2eba52a5552d6309fa0796f1a3965c529bb19456cdda6ea0d05050ce5db6a4a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9276795636982ab9c9c245883760aee797e95e84ffc0633362615b54c68fb8fd\",\"dweb:/ipfs/QmYXkMgnLmBeLi8VH1p4hp2bCAxFLiQS97RXbGbBmqU1yD\"]},\"../../node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0x64107104822c8aa724b120fb37648d5da0a50e66b80a801e460d968748d9a95c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://afc6e93a56eac7916adbced5c2304c253f22c9c5eed201e4086ea07b1ec36a72\",\"dweb:/ipfs/QmWZEDiEUe3iVEkUYbzzT6dTVYzADJejDmbsjTsXPkk6TY\"]},\"../../node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x0fc7628696d72f7c1b2c1e43a29a75c1b3747542bc9769b98a2ce898b1bd4969\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b0251769edbb281e740d40b03526b7d1e206d98eeb1c4e220ac2220c4815f996\",\"dweb:/ipfs/Qmb9CVZ5h7HfAdDnj6n6ybqTHHCyMKkn8EBMFDuqhR1NRn\"]},\"../../node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x37ee0910803134ee4c3492fa0133ae6103acbb5c0f954eccb30537a1f375f417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d38b9acd326f87d5e5bfdf9a07ba41536551beb9e5c5fe2e20706c811535cef9\",\"dweb:/ipfs/QmVXcc7ganYPQFExnM6bFu3Gum3WMUVU9z6i5WRJ4MeEYq\"]},\"../../node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0x423d45c044ed3b3131ecd0243315a237552ad082501a0803310c60959afe7874\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6c22d26396f5eee8b349d608ad2aef3533e82619c679345b70d51e2a52d115f\",\"dweb:/ipfs/Qmd4L27La3VFacwWi4C4u5X2BqBUQdQJXuyBFdS9BmsUh8\"]},\"../../node_modules/@latticexyz/store/src/Utils.sol\":{\"keccak256\":\"0x426216bfa1c0e70640787007a6e39257cf09e586fd04831ea4fb3dd9c5768fc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://38e657fa9cfaebe39477eaff27d1ad4d7eeaf0c0058539d2ec7e6976d93df4f4\",\"dweb:/ipfs/QmRuaxqRjUrHHC2ZyTnpmq6sfrWGCDh91B6F5chFAToU6U\"]},\"../../node_modules/@latticexyz/store/src/tables/Hooks.sol\":{\"keccak256\":\"0x0258fdef925b52096212b3f2a067bc30c901c640a29d87708e9bf1e818e022e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f02c1f42abbfff233fdd0e635f7a07bd6917a3bb9b10c7187536379f7aed1c7\",\"dweb:/ipfs/QmNbjviQRoqkWWWMo2sYocQZpao7xUMrNuCv8JsCK4RGeq\"]},\"../../node_modules/@latticexyz/store/src/tables/StoreMetadata.sol\":{\"keccak256\":\"0xfb46da9169fade0be64a3c197e10a78e1f69e5684a3ccd706f217a1d21c1d20f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://27fc20b3634e7bfbbb66b79108965a69431c8e7b820617cc7376884ce5e4ba29\",\"dweb:/ipfs/QmWCy9Z4oyovdsSCrTDx3KsgUmFiibEFgbXGQfEinRrZGt\"]},\"../../node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x9109f170227f7430388345c88e0b7f416ea46297b7f0b5011c0b794bd6a95e6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://18b046c0706a582cba039bc6cce485bcb3489f089a6dec97f965a7ef6585df93\",\"dweb:/ipfs/QmaL2Wwe3AxzW1Lis7Kcp5sb16Y8inUgTTTWwoc8SvoEzC\"]},\"../../node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x46f0010a3345cbc83f71900b7cd5375fa39e1523f5a34cb67828cfe59128368c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://457cf33b3424d816011d70a8b03a10f0ea376f3e0990ed6657455a43cf82d35b\",\"dweb:/ipfs/QmejskGLC4Hdu5oWQDMwG3TgiLbLXQJPpnLW37yUVGvBmw\"]},\"../../node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0xff0278a4e35174bbed8a38dad8ae7506f725bfe95f0b7c13829c353d68dd25dc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26249ec0c2fa3a3430a2f8edbfc5cd678e34ea1cf1d7490ecaf1e925c976eb85\",\"dweb:/ipfs/QmUpkhr5kFiDKc7rZ2z5HcTf5PkrWVJu5sa31tYv911cPL\"]},\"../../node_modules/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]}},\"version\":1}",
|
|
15
15
|
"metadata": {
|
|
16
16
|
"compiler": {
|
|
17
17
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"license": "MIT"
|
|
77
77
|
},
|
|
78
78
|
"../../node_modules/@latticexyz/store/src/IStore.sol": {
|
|
79
|
-
"keccak256": "
|
|
79
|
+
"keccak256": "0xe4e05dbf758852fa668cf4c9877f64c38f1cb57bbce8f8585d6f1c5ec0bba98d",
|
|
80
80
|
"urls": [
|
|
81
|
-
"bzz-raw://
|
|
82
|
-
"dweb:/ipfs/
|
|
81
|
+
"bzz-raw://843235da22b943edfaf0a3b9c1fc1f985e480a3941eda3a9417962bdefd5ae37",
|
|
82
|
+
"dweb:/ipfs/QmWC5TCVhxgJpEvDdNzTHjjwPeupFEUaq8W7AFnxYfsp5P"
|
|
83
83
|
],
|
|
84
84
|
"license": "MIT"
|
|
85
85
|
},
|
|
@@ -124,18 +124,18 @@
|
|
|
124
124
|
"license": "MIT"
|
|
125
125
|
},
|
|
126
126
|
"../../node_modules/@latticexyz/store/src/StoreCore.sol": {
|
|
127
|
-
"keccak256": "
|
|
127
|
+
"keccak256": "0x37ee0910803134ee4c3492fa0133ae6103acbb5c0f954eccb30537a1f375f417",
|
|
128
128
|
"urls": [
|
|
129
|
-
"bzz-raw://
|
|
130
|
-
"dweb:/ipfs/
|
|
129
|
+
"bzz-raw://d38b9acd326f87d5e5bfdf9a07ba41536551beb9e5c5fe2e20706c811535cef9",
|
|
130
|
+
"dweb:/ipfs/QmVXcc7ganYPQFExnM6bFu3Gum3WMUVU9z6i5WRJ4MeEYq"
|
|
131
131
|
],
|
|
132
132
|
"license": "MIT"
|
|
133
133
|
},
|
|
134
134
|
"../../node_modules/@latticexyz/store/src/StoreSwitch.sol": {
|
|
135
|
-
"keccak256": "
|
|
135
|
+
"keccak256": "0x423d45c044ed3b3131ecd0243315a237552ad082501a0803310c60959afe7874",
|
|
136
136
|
"urls": [
|
|
137
|
-
"bzz-raw://
|
|
138
|
-
"dweb:/ipfs/
|
|
137
|
+
"bzz-raw://f6c22d26396f5eee8b349d608ad2aef3533e82619c679345b70d51e2a52d115f",
|
|
138
|
+
"dweb:/ipfs/Qmd4L27La3VFacwWi4C4u5X2BqBUQdQJXuyBFdS9BmsUh8"
|
|
139
139
|
],
|
|
140
140
|
"license": "MIT"
|
|
141
141
|
},
|
|
@@ -148,18 +148,18 @@
|
|
|
148
148
|
"license": "MIT"
|
|
149
149
|
},
|
|
150
150
|
"../../node_modules/@latticexyz/store/src/tables/Hooks.sol": {
|
|
151
|
-
"keccak256": "
|
|
151
|
+
"keccak256": "0x0258fdef925b52096212b3f2a067bc30c901c640a29d87708e9bf1e818e022e0",
|
|
152
152
|
"urls": [
|
|
153
|
-
"bzz-raw://
|
|
154
|
-
"dweb:/ipfs/
|
|
153
|
+
"bzz-raw://6f02c1f42abbfff233fdd0e635f7a07bd6917a3bb9b10c7187536379f7aed1c7",
|
|
154
|
+
"dweb:/ipfs/QmNbjviQRoqkWWWMo2sYocQZpao7xUMrNuCv8JsCK4RGeq"
|
|
155
155
|
],
|
|
156
156
|
"license": "MIT"
|
|
157
157
|
},
|
|
158
158
|
"../../node_modules/@latticexyz/store/src/tables/StoreMetadata.sol": {
|
|
159
|
-
"keccak256": "
|
|
159
|
+
"keccak256": "0xfb46da9169fade0be64a3c197e10a78e1f69e5684a3ccd706f217a1d21c1d20f",
|
|
160
160
|
"urls": [
|
|
161
|
-
"bzz-raw://
|
|
162
|
-
"dweb:/ipfs/
|
|
161
|
+
"bzz-raw://27fc20b3634e7bfbbb66b79108965a69431c8e7b820617cc7376884ce5e4ba29",
|
|
162
|
+
"dweb:/ipfs/QmWCy9Z4oyovdsSCrTDx3KsgUmFiibEFgbXGQfEinRrZGt"
|
|
163
163
|
],
|
|
164
164
|
"license": "MIT"
|
|
165
165
|
},
|
|
@@ -200,56 +200,56 @@
|
|
|
200
200
|
},
|
|
201
201
|
"ast": {
|
|
202
202
|
"absolutePath": "../../node_modules/@latticexyz/store/src/tables/Hooks.sol",
|
|
203
|
-
"id":
|
|
203
|
+
"id": 63186,
|
|
204
204
|
"exportedSymbols": {
|
|
205
205
|
"Bytes": [
|
|
206
206
|
966
|
|
207
207
|
],
|
|
208
208
|
"EncodeArray": [
|
|
209
|
-
|
|
209
|
+
8158
|
|
210
210
|
],
|
|
211
211
|
"Hooks": [
|
|
212
|
-
|
|
212
|
+
63185
|
|
213
213
|
],
|
|
214
214
|
"HooksTableId": [
|
|
215
|
-
|
|
215
|
+
62898
|
|
216
216
|
],
|
|
217
217
|
"IStore": [
|
|
218
|
-
|
|
218
|
+
1112
|
|
219
219
|
],
|
|
220
220
|
"PackedCounter": [
|
|
221
|
-
|
|
221
|
+
1149
|
|
222
222
|
],
|
|
223
223
|
"PackedCounterLib": [
|
|
224
|
-
|
|
224
|
+
1565
|
|
225
225
|
],
|
|
226
226
|
"Schema": [
|
|
227
|
-
|
|
227
|
+
1573
|
|
228
228
|
],
|
|
229
229
|
"SchemaLib": [
|
|
230
|
-
|
|
230
|
+
2335
|
|
231
231
|
],
|
|
232
232
|
"SchemaType": [
|
|
233
233
|
204
|
|
234
234
|
],
|
|
235
235
|
"SliceLib": [
|
|
236
|
-
|
|
236
|
+
2488
|
|
237
237
|
],
|
|
238
238
|
"StoreCore": [
|
|
239
|
-
|
|
239
|
+
3736
|
|
240
240
|
],
|
|
241
241
|
"StoreSwitch": [
|
|
242
|
-
|
|
242
|
+
4886
|
|
243
243
|
],
|
|
244
244
|
"_tableId": [
|
|
245
|
-
|
|
245
|
+
62895
|
|
246
246
|
]
|
|
247
247
|
},
|
|
248
248
|
"nodeType": "SourceUnit",
|
|
249
|
-
"src": "32:
|
|
249
|
+
"src": "32:2803:12",
|
|
250
250
|
"nodes": [
|
|
251
251
|
{
|
|
252
|
-
"id":
|
|
252
|
+
"id": 62867,
|
|
253
253
|
"nodeType": "PragmaDirective",
|
|
254
254
|
"src": "32:24:12",
|
|
255
255
|
"nodes": [],
|
|
@@ -261,24 +261,24 @@
|
|
|
261
261
|
]
|
|
262
262
|
},
|
|
263
263
|
{
|
|
264
|
-
"id":
|
|
264
|
+
"id": 62869,
|
|
265
265
|
"nodeType": "ImportDirective",
|
|
266
|
-
"src": "
|
|
266
|
+
"src": "129:81:12",
|
|
267
267
|
"nodes": [],
|
|
268
268
|
"absolutePath": "../../node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol",
|
|
269
269
|
"file": "@latticexyz/schema-type/src/solidity/SchemaType.sol",
|
|
270
270
|
"nameLocation": "-1:-1:-1",
|
|
271
|
-
"scope":
|
|
271
|
+
"scope": 63186,
|
|
272
272
|
"sourceUnit": 271,
|
|
273
273
|
"symbolAliases": [
|
|
274
274
|
{
|
|
275
275
|
"foreign": {
|
|
276
|
-
"id":
|
|
276
|
+
"id": 62868,
|
|
277
277
|
"name": "SchemaType",
|
|
278
278
|
"nodeType": "Identifier",
|
|
279
279
|
"overloadedDeclarations": [],
|
|
280
280
|
"referencedDeclaration": 204,
|
|
281
|
-
"src": "
|
|
281
|
+
"src": "138:10:12",
|
|
282
282
|
"typeDescriptions": {}
|
|
283
283
|
},
|
|
284
284
|
"nameLocation": "-1:-1:-1"
|
|
@@ -287,24 +287,24 @@
|
|
|
287
287
|
"unitAlias": ""
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
|
-
"id":
|
|
290
|
+
"id": 62871,
|
|
291
291
|
"nodeType": "ImportDirective",
|
|
292
|
-
"src": "
|
|
292
|
+
"src": "238:39:12",
|
|
293
293
|
"nodes": [],
|
|
294
294
|
"absolutePath": "../../node_modules/@latticexyz/store/src/IStore.sol",
|
|
295
295
|
"file": "../IStore.sol",
|
|
296
296
|
"nameLocation": "-1:-1:-1",
|
|
297
|
-
"scope":
|
|
298
|
-
"sourceUnit":
|
|
297
|
+
"scope": 63186,
|
|
298
|
+
"sourceUnit": 1144,
|
|
299
299
|
"symbolAliases": [
|
|
300
300
|
{
|
|
301
301
|
"foreign": {
|
|
302
|
-
"id":
|
|
302
|
+
"id": 62870,
|
|
303
303
|
"name": "IStore",
|
|
304
304
|
"nodeType": "Identifier",
|
|
305
305
|
"overloadedDeclarations": [],
|
|
306
|
-
"referencedDeclaration":
|
|
307
|
-
"src": "
|
|
306
|
+
"referencedDeclaration": 1112,
|
|
307
|
+
"src": "247:6:12",
|
|
308
308
|
"typeDescriptions": {}
|
|
309
309
|
},
|
|
310
310
|
"nameLocation": "-1:-1:-1"
|
|
@@ -313,24 +313,24 @@
|
|
|
313
313
|
"unitAlias": ""
|
|
314
314
|
},
|
|
315
315
|
{
|
|
316
|
-
"id":
|
|
316
|
+
"id": 62873,
|
|
317
317
|
"nodeType": "ImportDirective",
|
|
318
|
-
"src": "
|
|
318
|
+
"src": "278:49:12",
|
|
319
319
|
"nodes": [],
|
|
320
320
|
"absolutePath": "../../node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
|
321
321
|
"file": "../StoreSwitch.sol",
|
|
322
322
|
"nameLocation": "-1:-1:-1",
|
|
323
|
-
"scope":
|
|
324
|
-
"sourceUnit":
|
|
323
|
+
"scope": 63186,
|
|
324
|
+
"sourceUnit": 4887,
|
|
325
325
|
"symbolAliases": [
|
|
326
326
|
{
|
|
327
327
|
"foreign": {
|
|
328
|
-
"id":
|
|
328
|
+
"id": 62872,
|
|
329
329
|
"name": "StoreSwitch",
|
|
330
330
|
"nodeType": "Identifier",
|
|
331
331
|
"overloadedDeclarations": [],
|
|
332
|
-
"referencedDeclaration":
|
|
333
|
-
"src": "
|
|
332
|
+
"referencedDeclaration": 4886,
|
|
333
|
+
"src": "287:11:12",
|
|
334
334
|
"typeDescriptions": {}
|
|
335
335
|
},
|
|
336
336
|
"nameLocation": "-1:-1:-1"
|
|
@@ -339,24 +339,24 @@
|
|
|
339
339
|
"unitAlias": ""
|
|
340
340
|
},
|
|
341
341
|
{
|
|
342
|
-
"id":
|
|
342
|
+
"id": 62875,
|
|
343
343
|
"nodeType": "ImportDirective",
|
|
344
|
-
"src": "
|
|
344
|
+
"src": "328:45:12",
|
|
345
345
|
"nodes": [],
|
|
346
346
|
"absolutePath": "../../node_modules/@latticexyz/store/src/StoreCore.sol",
|
|
347
347
|
"file": "../StoreCore.sol",
|
|
348
348
|
"nameLocation": "-1:-1:-1",
|
|
349
|
-
"scope":
|
|
350
|
-
"sourceUnit":
|
|
349
|
+
"scope": 63186,
|
|
350
|
+
"sourceUnit": 4498,
|
|
351
351
|
"symbolAliases": [
|
|
352
352
|
{
|
|
353
353
|
"foreign": {
|
|
354
|
-
"id":
|
|
354
|
+
"id": 62874,
|
|
355
355
|
"name": "StoreCore",
|
|
356
356
|
"nodeType": "Identifier",
|
|
357
357
|
"overloadedDeclarations": [],
|
|
358
|
-
"referencedDeclaration":
|
|
359
|
-
"src": "
|
|
358
|
+
"referencedDeclaration": 3736,
|
|
359
|
+
"src": "337:9:12",
|
|
360
360
|
"typeDescriptions": {}
|
|
361
361
|
},
|
|
362
362
|
"nameLocation": "-1:-1:-1"
|
|
@@ -365,24 +365,24 @@
|
|
|
365
365
|
"unitAlias": ""
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
|
-
"id":
|
|
368
|
+
"id": 62877,
|
|
369
369
|
"nodeType": "ImportDirective",
|
|
370
|
-
"src": "
|
|
370
|
+
"src": "374:37:12",
|
|
371
371
|
"nodes": [],
|
|
372
372
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Bytes.sol",
|
|
373
373
|
"file": "../Bytes.sol",
|
|
374
374
|
"nameLocation": "-1:-1:-1",
|
|
375
|
-
"scope":
|
|
375
|
+
"scope": 63186,
|
|
376
376
|
"sourceUnit": 967,
|
|
377
377
|
"symbolAliases": [
|
|
378
378
|
{
|
|
379
379
|
"foreign": {
|
|
380
|
-
"id":
|
|
380
|
+
"id": 62876,
|
|
381
381
|
"name": "Bytes",
|
|
382
382
|
"nodeType": "Identifier",
|
|
383
383
|
"overloadedDeclarations": [],
|
|
384
384
|
"referencedDeclaration": 966,
|
|
385
|
-
"src": "
|
|
385
|
+
"src": "383:5:12",
|
|
386
386
|
"typeDescriptions": {}
|
|
387
387
|
},
|
|
388
388
|
"nameLocation": "-1:-1:-1"
|
|
@@ -391,24 +391,24 @@
|
|
|
391
391
|
"unitAlias": ""
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
|
-
"id":
|
|
394
|
+
"id": 62879,
|
|
395
395
|
"nodeType": "ImportDirective",
|
|
396
|
-
"src": "
|
|
396
|
+
"src": "412:40:12",
|
|
397
397
|
"nodes": [],
|
|
398
398
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Slice.sol",
|
|
399
399
|
"file": "../Slice.sol",
|
|
400
400
|
"nameLocation": "-1:-1:-1",
|
|
401
|
-
"scope":
|
|
402
|
-
"sourceUnit":
|
|
401
|
+
"scope": 63186,
|
|
402
|
+
"sourceUnit": 2585,
|
|
403
403
|
"symbolAliases": [
|
|
404
404
|
{
|
|
405
405
|
"foreign": {
|
|
406
|
-
"id":
|
|
406
|
+
"id": 62878,
|
|
407
407
|
"name": "SliceLib",
|
|
408
408
|
"nodeType": "Identifier",
|
|
409
409
|
"overloadedDeclarations": [],
|
|
410
|
-
"referencedDeclaration":
|
|
411
|
-
"src": "
|
|
410
|
+
"referencedDeclaration": 2488,
|
|
411
|
+
"src": "421:8:12",
|
|
412
412
|
"typeDescriptions": {}
|
|
413
413
|
},
|
|
414
414
|
"nameLocation": "-1:-1:-1"
|
|
@@ -417,24 +417,24 @@
|
|
|
417
417
|
"unitAlias": ""
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
|
-
"id":
|
|
420
|
+
"id": 62881,
|
|
421
421
|
"nodeType": "ImportDirective",
|
|
422
|
-
"src": "
|
|
422
|
+
"src": "453:60:12",
|
|
423
423
|
"nodes": [],
|
|
424
424
|
"absolutePath": "../../node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol",
|
|
425
425
|
"file": "../tightcoder/EncodeArray.sol",
|
|
426
426
|
"nameLocation": "-1:-1:-1",
|
|
427
|
-
"scope":
|
|
428
|
-
"sourceUnit":
|
|
427
|
+
"scope": 63186,
|
|
428
|
+
"sourceUnit": 8159,
|
|
429
429
|
"symbolAliases": [
|
|
430
430
|
{
|
|
431
431
|
"foreign": {
|
|
432
|
-
"id":
|
|
432
|
+
"id": 62880,
|
|
433
433
|
"name": "EncodeArray",
|
|
434
434
|
"nodeType": "Identifier",
|
|
435
435
|
"overloadedDeclarations": [],
|
|
436
|
-
"referencedDeclaration":
|
|
437
|
-
"src": "
|
|
436
|
+
"referencedDeclaration": 8158,
|
|
437
|
+
"src": "462:11:12",
|
|
438
438
|
"typeDescriptions": {}
|
|
439
439
|
},
|
|
440
440
|
"nameLocation": "-1:-1:-1"
|
|
@@ -443,36 +443,36 @@
|
|
|
443
443
|
"unitAlias": ""
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
|
-
"id":
|
|
446
|
+
"id": 62884,
|
|
447
447
|
"nodeType": "ImportDirective",
|
|
448
|
-
"src": "
|
|
448
|
+
"src": "514:50:12",
|
|
449
449
|
"nodes": [],
|
|
450
450
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Schema.sol",
|
|
451
451
|
"file": "../Schema.sol",
|
|
452
452
|
"nameLocation": "-1:-1:-1",
|
|
453
|
-
"scope":
|
|
454
|
-
"sourceUnit":
|
|
453
|
+
"scope": 63186,
|
|
454
|
+
"sourceUnit": 2336,
|
|
455
455
|
"symbolAliases": [
|
|
456
456
|
{
|
|
457
457
|
"foreign": {
|
|
458
|
-
"id":
|
|
458
|
+
"id": 62882,
|
|
459
459
|
"name": "Schema",
|
|
460
460
|
"nodeType": "Identifier",
|
|
461
461
|
"overloadedDeclarations": [],
|
|
462
|
-
"referencedDeclaration":
|
|
463
|
-
"src": "
|
|
462
|
+
"referencedDeclaration": 1573,
|
|
463
|
+
"src": "523:6:12",
|
|
464
464
|
"typeDescriptions": {}
|
|
465
465
|
},
|
|
466
466
|
"nameLocation": "-1:-1:-1"
|
|
467
467
|
},
|
|
468
468
|
{
|
|
469
469
|
"foreign": {
|
|
470
|
-
"id":
|
|
470
|
+
"id": 62883,
|
|
471
471
|
"name": "SchemaLib",
|
|
472
472
|
"nodeType": "Identifier",
|
|
473
473
|
"overloadedDeclarations": [],
|
|
474
|
-
"referencedDeclaration":
|
|
475
|
-
"src": "
|
|
474
|
+
"referencedDeclaration": 2335,
|
|
475
|
+
"src": "531:9:12",
|
|
476
476
|
"typeDescriptions": {}
|
|
477
477
|
},
|
|
478
478
|
"nameLocation": "-1:-1:-1"
|
|
@@ -481,36 +481,36 @@
|
|
|
481
481
|
"unitAlias": ""
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
|
-
"id":
|
|
484
|
+
"id": 62887,
|
|
485
485
|
"nodeType": "ImportDirective",
|
|
486
|
-
"src": "
|
|
486
|
+
"src": "565:71:12",
|
|
487
487
|
"nodes": [],
|
|
488
488
|
"absolutePath": "../../node_modules/@latticexyz/store/src/PackedCounter.sol",
|
|
489
489
|
"file": "../PackedCounter.sol",
|
|
490
490
|
"nameLocation": "-1:-1:-1",
|
|
491
|
-
"scope":
|
|
492
|
-
"sourceUnit":
|
|
491
|
+
"scope": 63186,
|
|
492
|
+
"sourceUnit": 1566,
|
|
493
493
|
"symbolAliases": [
|
|
494
494
|
{
|
|
495
495
|
"foreign": {
|
|
496
|
-
"id":
|
|
496
|
+
"id": 62885,
|
|
497
497
|
"name": "PackedCounter",
|
|
498
498
|
"nodeType": "Identifier",
|
|
499
499
|
"overloadedDeclarations": [],
|
|
500
|
-
"referencedDeclaration":
|
|
501
|
-
"src": "
|
|
500
|
+
"referencedDeclaration": 1149,
|
|
501
|
+
"src": "574:13:12",
|
|
502
502
|
"typeDescriptions": {}
|
|
503
503
|
},
|
|
504
504
|
"nameLocation": "-1:-1:-1"
|
|
505
505
|
},
|
|
506
506
|
{
|
|
507
507
|
"foreign": {
|
|
508
|
-
"id":
|
|
508
|
+
"id": 62886,
|
|
509
509
|
"name": "PackedCounterLib",
|
|
510
510
|
"nodeType": "Identifier",
|
|
511
511
|
"overloadedDeclarations": [],
|
|
512
|
-
"referencedDeclaration":
|
|
513
|
-
"src": "
|
|
512
|
+
"referencedDeclaration": 1565,
|
|
513
|
+
"src": "589:16:12",
|
|
514
514
|
"typeDescriptions": {}
|
|
515
515
|
},
|
|
516
516
|
"nameLocation": "-1:-1:-1"
|
|
@@ -519,15 +519,15 @@
|
|
|
519
519
|
"unitAlias": ""
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
|
-
"id":
|
|
522
|
+
"id": 62895,
|
|
523
523
|
"nodeType": "VariableDeclaration",
|
|
524
|
-
"src": "
|
|
524
|
+
"src": "638:56:12",
|
|
525
525
|
"nodes": [],
|
|
526
526
|
"constant": true,
|
|
527
527
|
"mutability": "constant",
|
|
528
528
|
"name": "_tableId",
|
|
529
|
-
"nameLocation": "
|
|
530
|
-
"scope":
|
|
529
|
+
"nameLocation": "655:8:12",
|
|
530
|
+
"scope": 63186,
|
|
531
531
|
"stateVariable": false,
|
|
532
532
|
"storageLocation": "default",
|
|
533
533
|
"typeDescriptions": {
|
|
@@ -535,10 +535,10 @@
|
|
|
535
535
|
"typeString": "uint256"
|
|
536
536
|
},
|
|
537
537
|
"typeName": {
|
|
538
|
-
"id":
|
|
538
|
+
"id": 62888,
|
|
539
539
|
"name": "uint256",
|
|
540
540
|
"nodeType": "ElementaryTypeName",
|
|
541
|
-
"src": "
|
|
541
|
+
"src": "638:7:12",
|
|
542
542
|
"typeDescriptions": {
|
|
543
543
|
"typeIdentifier": "t_uint256",
|
|
544
544
|
"typeString": "uint256"
|
|
@@ -549,41 +549,41 @@
|
|
|
549
549
|
{
|
|
550
550
|
"arguments": [
|
|
551
551
|
{
|
|
552
|
-
"hexValue": "
|
|
553
|
-
"id":
|
|
552
|
+
"hexValue": "2f486f6f6b73",
|
|
553
|
+
"id": 62892,
|
|
554
554
|
"isConstant": false,
|
|
555
555
|
"isLValue": false,
|
|
556
556
|
"isPure": true,
|
|
557
557
|
"kind": "string",
|
|
558
558
|
"lValueRequested": false,
|
|
559
559
|
"nodeType": "Literal",
|
|
560
|
-
"src": "
|
|
560
|
+
"src": "684:8:12",
|
|
561
561
|
"typeDescriptions": {
|
|
562
|
-
"typeIdentifier": "
|
|
563
|
-
"typeString": "literal_string \"/
|
|
562
|
+
"typeIdentifier": "t_stringliteral_10cff6e9a45d56553c0d6a15090a896923104ebcf7e6f897a55ce1a251179890",
|
|
563
|
+
"typeString": "literal_string \"/Hooks\""
|
|
564
564
|
},
|
|
565
|
-
"value": "/
|
|
565
|
+
"value": "/Hooks"
|
|
566
566
|
}
|
|
567
567
|
],
|
|
568
568
|
"expression": {
|
|
569
569
|
"argumentTypes": [
|
|
570
570
|
{
|
|
571
|
-
"typeIdentifier": "
|
|
572
|
-
"typeString": "literal_string \"/
|
|
571
|
+
"typeIdentifier": "t_stringliteral_10cff6e9a45d56553c0d6a15090a896923104ebcf7e6f897a55ce1a251179890",
|
|
572
|
+
"typeString": "literal_string \"/Hooks\""
|
|
573
573
|
}
|
|
574
574
|
],
|
|
575
|
-
"id":
|
|
575
|
+
"id": 62891,
|
|
576
576
|
"name": "keccak256",
|
|
577
577
|
"nodeType": "Identifier",
|
|
578
578
|
"overloadedDeclarations": [],
|
|
579
579
|
"referencedDeclaration": -8,
|
|
580
|
-
"src": "
|
|
580
|
+
"src": "674:9:12",
|
|
581
581
|
"typeDescriptions": {
|
|
582
582
|
"typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
|
|
583
583
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
584
584
|
}
|
|
585
585
|
},
|
|
586
|
-
"id":
|
|
586
|
+
"id": 62893,
|
|
587
587
|
"isConstant": false,
|
|
588
588
|
"isLValue": false,
|
|
589
589
|
"isPure": true,
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"lValueRequested": false,
|
|
592
592
|
"names": [],
|
|
593
593
|
"nodeType": "FunctionCall",
|
|
594
|
-
"src": "
|
|
594
|
+
"src": "674:19:12",
|
|
595
595
|
"tryCall": false,
|
|
596
596
|
"typeDescriptions": {
|
|
597
597
|
"typeIdentifier": "t_bytes32",
|
|
@@ -606,26 +606,26 @@
|
|
|
606
606
|
"typeString": "bytes32"
|
|
607
607
|
}
|
|
608
608
|
],
|
|
609
|
-
"id":
|
|
609
|
+
"id": 62890,
|
|
610
610
|
"isConstant": false,
|
|
611
611
|
"isLValue": false,
|
|
612
612
|
"isPure": true,
|
|
613
613
|
"lValueRequested": false,
|
|
614
614
|
"nodeType": "ElementaryTypeNameExpression",
|
|
615
|
-
"src": "
|
|
615
|
+
"src": "666:7:12",
|
|
616
616
|
"typeDescriptions": {
|
|
617
617
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
618
618
|
"typeString": "type(uint256)"
|
|
619
619
|
},
|
|
620
620
|
"typeName": {
|
|
621
|
-
"id":
|
|
621
|
+
"id": 62889,
|
|
622
622
|
"name": "uint256",
|
|
623
623
|
"nodeType": "ElementaryTypeName",
|
|
624
|
-
"src": "
|
|
624
|
+
"src": "666:7:12",
|
|
625
625
|
"typeDescriptions": {}
|
|
626
626
|
}
|
|
627
627
|
},
|
|
628
|
-
"id":
|
|
628
|
+
"id": 62894,
|
|
629
629
|
"isConstant": false,
|
|
630
630
|
"isLValue": false,
|
|
631
631
|
"isPure": true,
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
"lValueRequested": false,
|
|
634
634
|
"names": [],
|
|
635
635
|
"nodeType": "FunctionCall",
|
|
636
|
-
"src": "
|
|
636
|
+
"src": "666:28:12",
|
|
637
637
|
"tryCall": false,
|
|
638
638
|
"typeDescriptions": {
|
|
639
639
|
"typeIdentifier": "t_uint256",
|
|
@@ -643,15 +643,15 @@
|
|
|
643
643
|
"visibility": "internal"
|
|
644
644
|
},
|
|
645
645
|
{
|
|
646
|
-
"id":
|
|
646
|
+
"id": 62898,
|
|
647
647
|
"nodeType": "VariableDeclaration",
|
|
648
|
-
"src": "
|
|
648
|
+
"src": "696:40:12",
|
|
649
649
|
"nodes": [],
|
|
650
650
|
"constant": true,
|
|
651
651
|
"mutability": "constant",
|
|
652
652
|
"name": "HooksTableId",
|
|
653
|
-
"nameLocation": "
|
|
654
|
-
"scope":
|
|
653
|
+
"nameLocation": "713:12:12",
|
|
654
|
+
"scope": 63186,
|
|
655
655
|
"stateVariable": false,
|
|
656
656
|
"storageLocation": "default",
|
|
657
657
|
"typeDescriptions": {
|
|
@@ -659,22 +659,22 @@
|
|
|
659
659
|
"typeString": "uint256"
|
|
660
660
|
},
|
|
661
661
|
"typeName": {
|
|
662
|
-
"id":
|
|
662
|
+
"id": 62896,
|
|
663
663
|
"name": "uint256",
|
|
664
664
|
"nodeType": "ElementaryTypeName",
|
|
665
|
-
"src": "
|
|
665
|
+
"src": "696:7:12",
|
|
666
666
|
"typeDescriptions": {
|
|
667
667
|
"typeIdentifier": "t_uint256",
|
|
668
668
|
"typeString": "uint256"
|
|
669
669
|
}
|
|
670
670
|
},
|
|
671
671
|
"value": {
|
|
672
|
-
"id":
|
|
672
|
+
"id": 62897,
|
|
673
673
|
"name": "_tableId",
|
|
674
674
|
"nodeType": "Identifier",
|
|
675
675
|
"overloadedDeclarations": [],
|
|
676
|
-
"referencedDeclaration":
|
|
677
|
-
"src": "
|
|
676
|
+
"referencedDeclaration": 62895,
|
|
677
|
+
"src": "728:8:12",
|
|
678
678
|
"typeDescriptions": {
|
|
679
679
|
"typeIdentifier": "t_uint256",
|
|
680
680
|
"typeString": "uint256"
|
|
@@ -683,35 +683,35 @@
|
|
|
683
683
|
"visibility": "internal"
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
|
-
"id":
|
|
686
|
+
"id": 63185,
|
|
687
687
|
"nodeType": "ContractDefinition",
|
|
688
|
-
"src": "
|
|
688
|
+
"src": "739:2095:12",
|
|
689
689
|
"nodes": [
|
|
690
690
|
{
|
|
691
|
-
"id":
|
|
691
|
+
"id": 62930,
|
|
692
692
|
"nodeType": "FunctionDefinition",
|
|
693
|
-
"src": "
|
|
693
|
+
"src": "789:194:12",
|
|
694
694
|
"nodes": [],
|
|
695
695
|
"body": {
|
|
696
|
-
"id":
|
|
696
|
+
"id": 62929,
|
|
697
697
|
"nodeType": "Block",
|
|
698
|
-
"src": "
|
|
698
|
+
"src": "841:142:12",
|
|
699
699
|
"nodes": [],
|
|
700
700
|
"statements": [
|
|
701
701
|
{
|
|
702
702
|
"assignments": [
|
|
703
|
-
|
|
703
|
+
62909
|
|
704
704
|
],
|
|
705
705
|
"declarations": [
|
|
706
706
|
{
|
|
707
707
|
"constant": false,
|
|
708
|
-
"id":
|
|
708
|
+
"id": 62909,
|
|
709
709
|
"mutability": "mutable",
|
|
710
710
|
"name": "_schema",
|
|
711
|
-
"nameLocation": "
|
|
711
|
+
"nameLocation": "867:7:12",
|
|
712
712
|
"nodeType": "VariableDeclaration",
|
|
713
|
-
"scope":
|
|
714
|
-
"src": "
|
|
713
|
+
"scope": 62929,
|
|
714
|
+
"src": "847:27:12",
|
|
715
715
|
"stateVariable": false,
|
|
716
716
|
"storageLocation": "memory",
|
|
717
717
|
"typeDescriptions": {
|
|
@@ -720,25 +720,25 @@
|
|
|
720
720
|
},
|
|
721
721
|
"typeName": {
|
|
722
722
|
"baseType": {
|
|
723
|
-
"id":
|
|
723
|
+
"id": 62907,
|
|
724
724
|
"nodeType": "UserDefinedTypeName",
|
|
725
725
|
"pathNode": {
|
|
726
|
-
"id":
|
|
726
|
+
"id": 62906,
|
|
727
727
|
"name": "SchemaType",
|
|
728
728
|
"nodeType": "IdentifierPath",
|
|
729
729
|
"referencedDeclaration": 204,
|
|
730
|
-
"src": "
|
|
730
|
+
"src": "847:10:12"
|
|
731
731
|
},
|
|
732
732
|
"referencedDeclaration": 204,
|
|
733
|
-
"src": "
|
|
733
|
+
"src": "847:10:12",
|
|
734
734
|
"typeDescriptions": {
|
|
735
735
|
"typeIdentifier": "t_enum$_SchemaType_$204",
|
|
736
736
|
"typeString": "enum SchemaType"
|
|
737
737
|
}
|
|
738
738
|
},
|
|
739
|
-
"id":
|
|
739
|
+
"id": 62908,
|
|
740
740
|
"nodeType": "ArrayTypeName",
|
|
741
|
-
"src": "
|
|
741
|
+
"src": "847:12:12",
|
|
742
742
|
"typeDescriptions": {
|
|
743
743
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_storage_ptr",
|
|
744
744
|
"typeString": "enum SchemaType[]"
|
|
@@ -747,19 +747,19 @@
|
|
|
747
747
|
"visibility": "internal"
|
|
748
748
|
}
|
|
749
749
|
],
|
|
750
|
-
"id":
|
|
750
|
+
"id": 62916,
|
|
751
751
|
"initialValue": {
|
|
752
752
|
"arguments": [
|
|
753
753
|
{
|
|
754
754
|
"hexValue": "31",
|
|
755
|
-
"id":
|
|
755
|
+
"id": 62914,
|
|
756
756
|
"isConstant": false,
|
|
757
757
|
"isLValue": false,
|
|
758
758
|
"isPure": true,
|
|
759
759
|
"kind": "number",
|
|
760
760
|
"lValueRequested": false,
|
|
761
761
|
"nodeType": "Literal",
|
|
762
|
-
"src": "
|
|
762
|
+
"src": "894:1:12",
|
|
763
763
|
"typeDescriptions": {
|
|
764
764
|
"typeIdentifier": "t_rational_1_by_1",
|
|
765
765
|
"typeString": "int_const 1"
|
|
@@ -774,45 +774,45 @@
|
|
|
774
774
|
"typeString": "int_const 1"
|
|
775
775
|
}
|
|
776
776
|
],
|
|
777
|
-
"id":
|
|
777
|
+
"id": 62913,
|
|
778
778
|
"isConstant": false,
|
|
779
779
|
"isLValue": false,
|
|
780
780
|
"isPure": true,
|
|
781
781
|
"lValueRequested": false,
|
|
782
782
|
"nodeType": "NewExpression",
|
|
783
|
-
"src": "
|
|
783
|
+
"src": "877:16:12",
|
|
784
784
|
"typeDescriptions": {
|
|
785
785
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr_$",
|
|
786
786
|
"typeString": "function (uint256) pure returns (enum SchemaType[] memory)"
|
|
787
787
|
},
|
|
788
788
|
"typeName": {
|
|
789
789
|
"baseType": {
|
|
790
|
-
"id":
|
|
790
|
+
"id": 62911,
|
|
791
791
|
"nodeType": "UserDefinedTypeName",
|
|
792
792
|
"pathNode": {
|
|
793
|
-
"id":
|
|
793
|
+
"id": 62910,
|
|
794
794
|
"name": "SchemaType",
|
|
795
795
|
"nodeType": "IdentifierPath",
|
|
796
796
|
"referencedDeclaration": 204,
|
|
797
|
-
"src": "
|
|
797
|
+
"src": "881:10:12"
|
|
798
798
|
},
|
|
799
799
|
"referencedDeclaration": 204,
|
|
800
|
-
"src": "
|
|
800
|
+
"src": "881:10:12",
|
|
801
801
|
"typeDescriptions": {
|
|
802
802
|
"typeIdentifier": "t_enum$_SchemaType_$204",
|
|
803
803
|
"typeString": "enum SchemaType"
|
|
804
804
|
}
|
|
805
805
|
},
|
|
806
|
-
"id":
|
|
806
|
+
"id": 62912,
|
|
807
807
|
"nodeType": "ArrayTypeName",
|
|
808
|
-
"src": "
|
|
808
|
+
"src": "881:12:12",
|
|
809
809
|
"typeDescriptions": {
|
|
810
810
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_storage_ptr",
|
|
811
811
|
"typeString": "enum SchemaType[]"
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
814
|
},
|
|
815
|
-
"id":
|
|
815
|
+
"id": 62915,
|
|
816
816
|
"isConstant": false,
|
|
817
817
|
"isLValue": false,
|
|
818
818
|
"isPure": true,
|
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
"lValueRequested": false,
|
|
821
821
|
"names": [],
|
|
822
822
|
"nodeType": "FunctionCall",
|
|
823
|
-
"src": "
|
|
823
|
+
"src": "877:19:12",
|
|
824
824
|
"tryCall": false,
|
|
825
825
|
"typeDescriptions": {
|
|
826
826
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr",
|
|
@@ -828,39 +828,39 @@
|
|
|
828
828
|
}
|
|
829
829
|
},
|
|
830
830
|
"nodeType": "VariableDeclarationStatement",
|
|
831
|
-
"src": "
|
|
831
|
+
"src": "847:49:12"
|
|
832
832
|
},
|
|
833
833
|
{
|
|
834
834
|
"expression": {
|
|
835
|
-
"id":
|
|
835
|
+
"id": 62922,
|
|
836
836
|
"isConstant": false,
|
|
837
837
|
"isLValue": false,
|
|
838
838
|
"isPure": false,
|
|
839
839
|
"lValueRequested": false,
|
|
840
840
|
"leftHandSide": {
|
|
841
841
|
"baseExpression": {
|
|
842
|
-
"id":
|
|
842
|
+
"id": 62917,
|
|
843
843
|
"name": "_schema",
|
|
844
844
|
"nodeType": "Identifier",
|
|
845
845
|
"overloadedDeclarations": [],
|
|
846
|
-
"referencedDeclaration":
|
|
847
|
-
"src": "
|
|
846
|
+
"referencedDeclaration": 62909,
|
|
847
|
+
"src": "902:7:12",
|
|
848
848
|
"typeDescriptions": {
|
|
849
849
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr",
|
|
850
850
|
"typeString": "enum SchemaType[] memory"
|
|
851
851
|
}
|
|
852
852
|
},
|
|
853
|
-
"id":
|
|
853
|
+
"id": 62919,
|
|
854
854
|
"indexExpression": {
|
|
855
855
|
"hexValue": "30",
|
|
856
|
-
"id":
|
|
856
|
+
"id": 62918,
|
|
857
857
|
"isConstant": false,
|
|
858
858
|
"isLValue": false,
|
|
859
859
|
"isPure": true,
|
|
860
860
|
"kind": "number",
|
|
861
861
|
"lValueRequested": false,
|
|
862
862
|
"nodeType": "Literal",
|
|
863
|
-
"src": "
|
|
863
|
+
"src": "910:1:12",
|
|
864
864
|
"typeDescriptions": {
|
|
865
865
|
"typeIdentifier": "t_rational_0_by_1",
|
|
866
866
|
"typeString": "int_const 0"
|
|
@@ -872,7 +872,7 @@
|
|
|
872
872
|
"isPure": false,
|
|
873
873
|
"lValueRequested": true,
|
|
874
874
|
"nodeType": "IndexAccess",
|
|
875
|
-
"src": "
|
|
875
|
+
"src": "902:10:12",
|
|
876
876
|
"typeDescriptions": {
|
|
877
877
|
"typeIdentifier": "t_enum$_SchemaType_$204",
|
|
878
878
|
"typeString": "enum SchemaType"
|
|
@@ -882,18 +882,18 @@
|
|
|
882
882
|
"operator": "=",
|
|
883
883
|
"rightHandSide": {
|
|
884
884
|
"expression": {
|
|
885
|
-
"id":
|
|
885
|
+
"id": 62920,
|
|
886
886
|
"name": "SchemaType",
|
|
887
887
|
"nodeType": "Identifier",
|
|
888
888
|
"overloadedDeclarations": [],
|
|
889
889
|
"referencedDeclaration": 204,
|
|
890
|
-
"src": "
|
|
890
|
+
"src": "915:10:12",
|
|
891
891
|
"typeDescriptions": {
|
|
892
892
|
"typeIdentifier": "t_type$_t_enum$_SchemaType_$204_$",
|
|
893
893
|
"typeString": "type(enum SchemaType)"
|
|
894
894
|
}
|
|
895
895
|
},
|
|
896
|
-
"id":
|
|
896
|
+
"id": 62921,
|
|
897
897
|
"isConstant": false,
|
|
898
898
|
"isLValue": false,
|
|
899
899
|
"isPure": true,
|
|
@@ -901,32 +901,32 @@
|
|
|
901
901
|
"memberName": "ADDRESS_ARRAY",
|
|
902
902
|
"nodeType": "MemberAccess",
|
|
903
903
|
"referencedDeclaration": 201,
|
|
904
|
-
"src": "
|
|
904
|
+
"src": "915:24:12",
|
|
905
905
|
"typeDescriptions": {
|
|
906
906
|
"typeIdentifier": "t_enum$_SchemaType_$204",
|
|
907
907
|
"typeString": "enum SchemaType"
|
|
908
908
|
}
|
|
909
909
|
},
|
|
910
|
-
"src": "
|
|
910
|
+
"src": "902:37:12",
|
|
911
911
|
"typeDescriptions": {
|
|
912
912
|
"typeIdentifier": "t_enum$_SchemaType_$204",
|
|
913
913
|
"typeString": "enum SchemaType"
|
|
914
914
|
}
|
|
915
915
|
},
|
|
916
|
-
"id":
|
|
916
|
+
"id": 62923,
|
|
917
917
|
"nodeType": "ExpressionStatement",
|
|
918
|
-
"src": "
|
|
918
|
+
"src": "902:37:12"
|
|
919
919
|
},
|
|
920
920
|
{
|
|
921
921
|
"expression": {
|
|
922
922
|
"arguments": [
|
|
923
923
|
{
|
|
924
|
-
"id":
|
|
924
|
+
"id": 62926,
|
|
925
925
|
"name": "_schema",
|
|
926
926
|
"nodeType": "Identifier",
|
|
927
927
|
"overloadedDeclarations": [],
|
|
928
|
-
"referencedDeclaration":
|
|
929
|
-
"src": "
|
|
928
|
+
"referencedDeclaration": 62909,
|
|
929
|
+
"src": "970:7:12",
|
|
930
930
|
"typeDescriptions": {
|
|
931
931
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr",
|
|
932
932
|
"typeString": "enum SchemaType[] memory"
|
|
@@ -941,32 +941,32 @@
|
|
|
941
941
|
}
|
|
942
942
|
],
|
|
943
943
|
"expression": {
|
|
944
|
-
"id":
|
|
944
|
+
"id": 62924,
|
|
945
945
|
"name": "SchemaLib",
|
|
946
946
|
"nodeType": "Identifier",
|
|
947
947
|
"overloadedDeclarations": [],
|
|
948
|
-
"referencedDeclaration":
|
|
949
|
-
"src": "
|
|
948
|
+
"referencedDeclaration": 2335,
|
|
949
|
+
"src": "953:9:12",
|
|
950
950
|
"typeDescriptions": {
|
|
951
|
-
"typeIdentifier": "t_type$_t_contract$_SchemaLib_$
|
|
951
|
+
"typeIdentifier": "t_type$_t_contract$_SchemaLib_$2335_$",
|
|
952
952
|
"typeString": "type(library SchemaLib)"
|
|
953
953
|
}
|
|
954
954
|
},
|
|
955
|
-
"id":
|
|
955
|
+
"id": 62925,
|
|
956
956
|
"isConstant": false,
|
|
957
957
|
"isLValue": false,
|
|
958
958
|
"isPure": false,
|
|
959
959
|
"lValueRequested": false,
|
|
960
960
|
"memberName": "encode",
|
|
961
961
|
"nodeType": "MemberAccess",
|
|
962
|
-
"referencedDeclaration":
|
|
963
|
-
"src": "
|
|
962
|
+
"referencedDeclaration": 1743,
|
|
963
|
+
"src": "953:16:12",
|
|
964
964
|
"typeDescriptions": {
|
|
965
|
-
"typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$
|
|
965
|
+
"typeIdentifier": "t_function_internal_pure$_t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_Schema_$1573_$",
|
|
966
966
|
"typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
|
|
967
967
|
}
|
|
968
968
|
},
|
|
969
|
-
"id":
|
|
969
|
+
"id": 62927,
|
|
970
970
|
"isConstant": false,
|
|
971
971
|
"isLValue": false,
|
|
972
972
|
"isPure": false,
|
|
@@ -974,104 +974,453 @@
|
|
|
974
974
|
"lValueRequested": false,
|
|
975
975
|
"names": [],
|
|
976
976
|
"nodeType": "FunctionCall",
|
|
977
|
-
"src": "
|
|
977
|
+
"src": "953:25:12",
|
|
978
978
|
"tryCall": false,
|
|
979
979
|
"typeDescriptions": {
|
|
980
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
980
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1573",
|
|
981
981
|
"typeString": "Schema"
|
|
982
982
|
}
|
|
983
983
|
},
|
|
984
|
-
"functionReturnParameters":
|
|
985
|
-
"id":
|
|
984
|
+
"functionReturnParameters": 62904,
|
|
985
|
+
"id": 62928,
|
|
986
986
|
"nodeType": "Return",
|
|
987
|
-
"src": "
|
|
987
|
+
"src": "946:32:12"
|
|
988
988
|
}
|
|
989
989
|
]
|
|
990
990
|
},
|
|
991
991
|
"documentation": {
|
|
992
|
-
"id":
|
|
992
|
+
"id": 62899,
|
|
993
993
|
"nodeType": "StructuredDocumentation",
|
|
994
|
-
"src": "
|
|
994
|
+
"src": "757:29:12",
|
|
995
995
|
"text": "Get the table's schema "
|
|
996
996
|
},
|
|
997
997
|
"implemented": true,
|
|
998
998
|
"kind": "function",
|
|
999
999
|
"modifiers": [],
|
|
1000
1000
|
"name": "getSchema",
|
|
1001
|
-
"nameLocation": "
|
|
1001
|
+
"nameLocation": "798:9:12",
|
|
1002
1002
|
"parameters": {
|
|
1003
|
-
"id":
|
|
1003
|
+
"id": 62900,
|
|
1004
1004
|
"nodeType": "ParameterList",
|
|
1005
1005
|
"parameters": [],
|
|
1006
|
-
"src": "
|
|
1006
|
+
"src": "807:2:12"
|
|
1007
1007
|
},
|
|
1008
1008
|
"returnParameters": {
|
|
1009
|
-
"id":
|
|
1009
|
+
"id": 62904,
|
|
1010
1010
|
"nodeType": "ParameterList",
|
|
1011
1011
|
"parameters": [
|
|
1012
1012
|
{
|
|
1013
1013
|
"constant": false,
|
|
1014
|
-
"id":
|
|
1014
|
+
"id": 62903,
|
|
1015
1015
|
"mutability": "mutable",
|
|
1016
1016
|
"name": "",
|
|
1017
1017
|
"nameLocation": "-1:-1:-1",
|
|
1018
1018
|
"nodeType": "VariableDeclaration",
|
|
1019
|
-
"scope":
|
|
1020
|
-
"src": "
|
|
1019
|
+
"scope": 62930,
|
|
1020
|
+
"src": "833:6:12",
|
|
1021
1021
|
"stateVariable": false,
|
|
1022
1022
|
"storageLocation": "default",
|
|
1023
1023
|
"typeDescriptions": {
|
|
1024
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1024
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1573",
|
|
1025
1025
|
"typeString": "Schema"
|
|
1026
1026
|
},
|
|
1027
1027
|
"typeName": {
|
|
1028
|
-
"id":
|
|
1028
|
+
"id": 62902,
|
|
1029
1029
|
"nodeType": "UserDefinedTypeName",
|
|
1030
1030
|
"pathNode": {
|
|
1031
|
-
"id":
|
|
1031
|
+
"id": 62901,
|
|
1032
1032
|
"name": "Schema",
|
|
1033
1033
|
"nodeType": "IdentifierPath",
|
|
1034
|
-
"referencedDeclaration":
|
|
1035
|
-
"src": "
|
|
1034
|
+
"referencedDeclaration": 1573,
|
|
1035
|
+
"src": "833:6:12"
|
|
1036
1036
|
},
|
|
1037
|
-
"referencedDeclaration":
|
|
1038
|
-
"src": "
|
|
1037
|
+
"referencedDeclaration": 1573,
|
|
1038
|
+
"src": "833:6:12",
|
|
1039
1039
|
"typeDescriptions": {
|
|
1040
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1040
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1573",
|
|
1041
1041
|
"typeString": "Schema"
|
|
1042
1042
|
}
|
|
1043
1043
|
},
|
|
1044
1044
|
"visibility": "internal"
|
|
1045
1045
|
}
|
|
1046
1046
|
],
|
|
1047
|
-
"src": "
|
|
1047
|
+
"src": "832:8:12"
|
|
1048
1048
|
},
|
|
1049
|
-
"scope":
|
|
1049
|
+
"scope": 63185,
|
|
1050
1050
|
"stateMutability": "pure",
|
|
1051
1051
|
"virtual": false,
|
|
1052
1052
|
"visibility": "internal"
|
|
1053
1053
|
},
|
|
1054
1054
|
{
|
|
1055
|
-
"id":
|
|
1055
|
+
"id": 62961,
|
|
1056
1056
|
"nodeType": "FunctionDefinition",
|
|
1057
|
-
"src": "
|
|
1057
|
+
"src": "1021:199:12",
|
|
1058
1058
|
"nodes": [],
|
|
1059
1059
|
"body": {
|
|
1060
|
-
"id":
|
|
1060
|
+
"id": 62960,
|
|
1061
1061
|
"nodeType": "Block",
|
|
1062
|
-
"src": "
|
|
1062
|
+
"src": "1099:121:12",
|
|
1063
|
+
"nodes": [],
|
|
1064
|
+
"statements": [
|
|
1065
|
+
{
|
|
1066
|
+
"assignments": [
|
|
1067
|
+
62943
|
|
1068
|
+
],
|
|
1069
|
+
"declarations": [
|
|
1070
|
+
{
|
|
1071
|
+
"constant": false,
|
|
1072
|
+
"id": 62943,
|
|
1073
|
+
"mutability": "mutable",
|
|
1074
|
+
"name": "_fieldNames",
|
|
1075
|
+
"nameLocation": "1121:11:12",
|
|
1076
|
+
"nodeType": "VariableDeclaration",
|
|
1077
|
+
"scope": 62960,
|
|
1078
|
+
"src": "1105:27:12",
|
|
1079
|
+
"stateVariable": false,
|
|
1080
|
+
"storageLocation": "memory",
|
|
1081
|
+
"typeDescriptions": {
|
|
1082
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1083
|
+
"typeString": "string[]"
|
|
1084
|
+
},
|
|
1085
|
+
"typeName": {
|
|
1086
|
+
"baseType": {
|
|
1087
|
+
"id": 62941,
|
|
1088
|
+
"name": "string",
|
|
1089
|
+
"nodeType": "ElementaryTypeName",
|
|
1090
|
+
"src": "1105:6:12",
|
|
1091
|
+
"typeDescriptions": {
|
|
1092
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
1093
|
+
"typeString": "string"
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
"id": 62942,
|
|
1097
|
+
"nodeType": "ArrayTypeName",
|
|
1098
|
+
"src": "1105:8:12",
|
|
1099
|
+
"typeDescriptions": {
|
|
1100
|
+
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
1101
|
+
"typeString": "string[]"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"visibility": "internal"
|
|
1105
|
+
}
|
|
1106
|
+
],
|
|
1107
|
+
"id": 62949,
|
|
1108
|
+
"initialValue": {
|
|
1109
|
+
"arguments": [
|
|
1110
|
+
{
|
|
1111
|
+
"hexValue": "31",
|
|
1112
|
+
"id": 62947,
|
|
1113
|
+
"isConstant": false,
|
|
1114
|
+
"isLValue": false,
|
|
1115
|
+
"isPure": true,
|
|
1116
|
+
"kind": "number",
|
|
1117
|
+
"lValueRequested": false,
|
|
1118
|
+
"nodeType": "Literal",
|
|
1119
|
+
"src": "1148:1:12",
|
|
1120
|
+
"typeDescriptions": {
|
|
1121
|
+
"typeIdentifier": "t_rational_1_by_1",
|
|
1122
|
+
"typeString": "int_const 1"
|
|
1123
|
+
},
|
|
1124
|
+
"value": "1"
|
|
1125
|
+
}
|
|
1126
|
+
],
|
|
1127
|
+
"expression": {
|
|
1128
|
+
"argumentTypes": [
|
|
1129
|
+
{
|
|
1130
|
+
"typeIdentifier": "t_rational_1_by_1",
|
|
1131
|
+
"typeString": "int_const 1"
|
|
1132
|
+
}
|
|
1133
|
+
],
|
|
1134
|
+
"id": 62946,
|
|
1135
|
+
"isConstant": false,
|
|
1136
|
+
"isLValue": false,
|
|
1137
|
+
"isPure": true,
|
|
1138
|
+
"lValueRequested": false,
|
|
1139
|
+
"nodeType": "NewExpression",
|
|
1140
|
+
"src": "1135:12:12",
|
|
1141
|
+
"typeDescriptions": {
|
|
1142
|
+
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
|
|
1143
|
+
"typeString": "function (uint256) pure returns (string memory[] memory)"
|
|
1144
|
+
},
|
|
1145
|
+
"typeName": {
|
|
1146
|
+
"baseType": {
|
|
1147
|
+
"id": 62944,
|
|
1148
|
+
"name": "string",
|
|
1149
|
+
"nodeType": "ElementaryTypeName",
|
|
1150
|
+
"src": "1139:6:12",
|
|
1151
|
+
"typeDescriptions": {
|
|
1152
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
1153
|
+
"typeString": "string"
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"id": 62945,
|
|
1157
|
+
"nodeType": "ArrayTypeName",
|
|
1158
|
+
"src": "1139:8:12",
|
|
1159
|
+
"typeDescriptions": {
|
|
1160
|
+
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
1161
|
+
"typeString": "string[]"
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
"id": 62948,
|
|
1166
|
+
"isConstant": false,
|
|
1167
|
+
"isLValue": false,
|
|
1168
|
+
"isPure": true,
|
|
1169
|
+
"kind": "functionCall",
|
|
1170
|
+
"lValueRequested": false,
|
|
1171
|
+
"names": [],
|
|
1172
|
+
"nodeType": "FunctionCall",
|
|
1173
|
+
"src": "1135:15:12",
|
|
1174
|
+
"tryCall": false,
|
|
1175
|
+
"typeDescriptions": {
|
|
1176
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1177
|
+
"typeString": "string memory[] memory"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"nodeType": "VariableDeclarationStatement",
|
|
1181
|
+
"src": "1105:45:12"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"expression": {
|
|
1185
|
+
"id": 62954,
|
|
1186
|
+
"isConstant": false,
|
|
1187
|
+
"isLValue": false,
|
|
1188
|
+
"isPure": false,
|
|
1189
|
+
"lValueRequested": false,
|
|
1190
|
+
"leftHandSide": {
|
|
1191
|
+
"baseExpression": {
|
|
1192
|
+
"id": 62950,
|
|
1193
|
+
"name": "_fieldNames",
|
|
1194
|
+
"nodeType": "Identifier",
|
|
1195
|
+
"overloadedDeclarations": [],
|
|
1196
|
+
"referencedDeclaration": 62943,
|
|
1197
|
+
"src": "1156:11:12",
|
|
1198
|
+
"typeDescriptions": {
|
|
1199
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1200
|
+
"typeString": "string memory[] memory"
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
"id": 62952,
|
|
1204
|
+
"indexExpression": {
|
|
1205
|
+
"hexValue": "30",
|
|
1206
|
+
"id": 62951,
|
|
1207
|
+
"isConstant": false,
|
|
1208
|
+
"isLValue": false,
|
|
1209
|
+
"isPure": true,
|
|
1210
|
+
"kind": "number",
|
|
1211
|
+
"lValueRequested": false,
|
|
1212
|
+
"nodeType": "Literal",
|
|
1213
|
+
"src": "1168:1:12",
|
|
1214
|
+
"typeDescriptions": {
|
|
1215
|
+
"typeIdentifier": "t_rational_0_by_1",
|
|
1216
|
+
"typeString": "int_const 0"
|
|
1217
|
+
},
|
|
1218
|
+
"value": "0"
|
|
1219
|
+
},
|
|
1220
|
+
"isConstant": false,
|
|
1221
|
+
"isLValue": true,
|
|
1222
|
+
"isPure": false,
|
|
1223
|
+
"lValueRequested": true,
|
|
1224
|
+
"nodeType": "IndexAccess",
|
|
1225
|
+
"src": "1156:14:12",
|
|
1226
|
+
"typeDescriptions": {
|
|
1227
|
+
"typeIdentifier": "t_string_memory_ptr",
|
|
1228
|
+
"typeString": "string memory"
|
|
1229
|
+
}
|
|
1230
|
+
},
|
|
1231
|
+
"nodeType": "Assignment",
|
|
1232
|
+
"operator": "=",
|
|
1233
|
+
"rightHandSide": {
|
|
1234
|
+
"hexValue": "76616c7565",
|
|
1235
|
+
"id": 62953,
|
|
1236
|
+
"isConstant": false,
|
|
1237
|
+
"isLValue": false,
|
|
1238
|
+
"isPure": true,
|
|
1239
|
+
"kind": "string",
|
|
1240
|
+
"lValueRequested": false,
|
|
1241
|
+
"nodeType": "Literal",
|
|
1242
|
+
"src": "1173:7:12",
|
|
1243
|
+
"typeDescriptions": {
|
|
1244
|
+
"typeIdentifier": "t_stringliteral_81afeeaff0ed5cee7d05a21078399c2f56226b0cd5657062500cef4c4e736f85",
|
|
1245
|
+
"typeString": "literal_string \"value\""
|
|
1246
|
+
},
|
|
1247
|
+
"value": "value"
|
|
1248
|
+
},
|
|
1249
|
+
"src": "1156:24:12",
|
|
1250
|
+
"typeDescriptions": {
|
|
1251
|
+
"typeIdentifier": "t_string_memory_ptr",
|
|
1252
|
+
"typeString": "string memory"
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
"id": 62955,
|
|
1256
|
+
"nodeType": "ExpressionStatement",
|
|
1257
|
+
"src": "1156:24:12"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"expression": {
|
|
1261
|
+
"components": [
|
|
1262
|
+
{
|
|
1263
|
+
"hexValue": "486f6f6b73",
|
|
1264
|
+
"id": 62956,
|
|
1265
|
+
"isConstant": false,
|
|
1266
|
+
"isLValue": false,
|
|
1267
|
+
"isPure": true,
|
|
1268
|
+
"kind": "string",
|
|
1269
|
+
"lValueRequested": false,
|
|
1270
|
+
"nodeType": "Literal",
|
|
1271
|
+
"src": "1194:7:12",
|
|
1272
|
+
"typeDescriptions": {
|
|
1273
|
+
"typeIdentifier": "t_stringliteral_69215c81eab4fef46095e093b5374677ad0c523f7f0c4f9ac444d1a9d7f94d5e",
|
|
1274
|
+
"typeString": "literal_string \"Hooks\""
|
|
1275
|
+
},
|
|
1276
|
+
"value": "Hooks"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"id": 62957,
|
|
1280
|
+
"name": "_fieldNames",
|
|
1281
|
+
"nodeType": "Identifier",
|
|
1282
|
+
"overloadedDeclarations": [],
|
|
1283
|
+
"referencedDeclaration": 62943,
|
|
1284
|
+
"src": "1203:11:12",
|
|
1285
|
+
"typeDescriptions": {
|
|
1286
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1287
|
+
"typeString": "string memory[] memory"
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
"id": 62958,
|
|
1292
|
+
"isConstant": false,
|
|
1293
|
+
"isInlineArray": false,
|
|
1294
|
+
"isLValue": false,
|
|
1295
|
+
"isPure": false,
|
|
1296
|
+
"lValueRequested": false,
|
|
1297
|
+
"nodeType": "TupleExpression",
|
|
1298
|
+
"src": "1193:22:12",
|
|
1299
|
+
"typeDescriptions": {
|
|
1300
|
+
"typeIdentifier": "t_tuple$_t_stringliteral_69215c81eab4fef46095e093b5374677ad0c523f7f0c4f9ac444d1a9d7f94d5e_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
|
|
1301
|
+
"typeString": "tuple(literal_string \"Hooks\",string memory[] memory)"
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
"functionReturnParameters": 62938,
|
|
1305
|
+
"id": 62959,
|
|
1306
|
+
"nodeType": "Return",
|
|
1307
|
+
"src": "1186:29:12"
|
|
1308
|
+
}
|
|
1309
|
+
]
|
|
1310
|
+
},
|
|
1311
|
+
"documentation": {
|
|
1312
|
+
"id": 62931,
|
|
1313
|
+
"nodeType": "StructuredDocumentation",
|
|
1314
|
+
"src": "987:31:12",
|
|
1315
|
+
"text": "Get the table's metadata "
|
|
1316
|
+
},
|
|
1317
|
+
"implemented": true,
|
|
1318
|
+
"kind": "function",
|
|
1319
|
+
"modifiers": [],
|
|
1320
|
+
"name": "getMetadata",
|
|
1321
|
+
"nameLocation": "1030:11:12",
|
|
1322
|
+
"parameters": {
|
|
1323
|
+
"id": 62932,
|
|
1324
|
+
"nodeType": "ParameterList",
|
|
1325
|
+
"parameters": [],
|
|
1326
|
+
"src": "1041:2:12"
|
|
1327
|
+
},
|
|
1328
|
+
"returnParameters": {
|
|
1329
|
+
"id": 62938,
|
|
1330
|
+
"nodeType": "ParameterList",
|
|
1331
|
+
"parameters": [
|
|
1332
|
+
{
|
|
1333
|
+
"constant": false,
|
|
1334
|
+
"id": 62934,
|
|
1335
|
+
"mutability": "mutable",
|
|
1336
|
+
"name": "",
|
|
1337
|
+
"nameLocation": "-1:-1:-1",
|
|
1338
|
+
"nodeType": "VariableDeclaration",
|
|
1339
|
+
"scope": 62961,
|
|
1340
|
+
"src": "1067:13:12",
|
|
1341
|
+
"stateVariable": false,
|
|
1342
|
+
"storageLocation": "memory",
|
|
1343
|
+
"typeDescriptions": {
|
|
1344
|
+
"typeIdentifier": "t_string_memory_ptr",
|
|
1345
|
+
"typeString": "string"
|
|
1346
|
+
},
|
|
1347
|
+
"typeName": {
|
|
1348
|
+
"id": 62933,
|
|
1349
|
+
"name": "string",
|
|
1350
|
+
"nodeType": "ElementaryTypeName",
|
|
1351
|
+
"src": "1067:6:12",
|
|
1352
|
+
"typeDescriptions": {
|
|
1353
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
1354
|
+
"typeString": "string"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
"visibility": "internal"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"constant": false,
|
|
1361
|
+
"id": 62937,
|
|
1362
|
+
"mutability": "mutable",
|
|
1363
|
+
"name": "",
|
|
1364
|
+
"nameLocation": "-1:-1:-1",
|
|
1365
|
+
"nodeType": "VariableDeclaration",
|
|
1366
|
+
"scope": 62961,
|
|
1367
|
+
"src": "1082:15:12",
|
|
1368
|
+
"stateVariable": false,
|
|
1369
|
+
"storageLocation": "memory",
|
|
1370
|
+
"typeDescriptions": {
|
|
1371
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1372
|
+
"typeString": "string[]"
|
|
1373
|
+
},
|
|
1374
|
+
"typeName": {
|
|
1375
|
+
"baseType": {
|
|
1376
|
+
"id": 62935,
|
|
1377
|
+
"name": "string",
|
|
1378
|
+
"nodeType": "ElementaryTypeName",
|
|
1379
|
+
"src": "1082:6:12",
|
|
1380
|
+
"typeDescriptions": {
|
|
1381
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
1382
|
+
"typeString": "string"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"id": 62936,
|
|
1386
|
+
"nodeType": "ArrayTypeName",
|
|
1387
|
+
"src": "1082:8:12",
|
|
1388
|
+
"typeDescriptions": {
|
|
1389
|
+
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
1390
|
+
"typeString": "string[]"
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
"visibility": "internal"
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"src": "1066:32:12"
|
|
1397
|
+
},
|
|
1398
|
+
"scope": 63185,
|
|
1399
|
+
"stateMutability": "pure",
|
|
1400
|
+
"virtual": false,
|
|
1401
|
+
"visibility": "internal"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"id": 62974,
|
|
1405
|
+
"nodeType": "FunctionDefinition",
|
|
1406
|
+
"src": "1261:95:12",
|
|
1407
|
+
"nodes": [],
|
|
1408
|
+
"body": {
|
|
1409
|
+
"id": 62973,
|
|
1410
|
+
"nodeType": "Block",
|
|
1411
|
+
"src": "1296:60:12",
|
|
1063
1412
|
"nodes": [],
|
|
1064
1413
|
"statements": [
|
|
1065
1414
|
{
|
|
1066
1415
|
"expression": {
|
|
1067
1416
|
"arguments": [
|
|
1068
1417
|
{
|
|
1069
|
-
"id":
|
|
1418
|
+
"id": 62968,
|
|
1070
1419
|
"name": "_tableId",
|
|
1071
1420
|
"nodeType": "Identifier",
|
|
1072
1421
|
"overloadedDeclarations": [],
|
|
1073
|
-
"referencedDeclaration":
|
|
1074
|
-
"src": "
|
|
1422
|
+
"referencedDeclaration": 62895,
|
|
1423
|
+
"src": "1329:8:12",
|
|
1075
1424
|
"typeDescriptions": {
|
|
1076
1425
|
"typeIdentifier": "t_uint256",
|
|
1077
1426
|
"typeString": "uint256"
|
|
@@ -1081,18 +1430,18 @@
|
|
|
1081
1430
|
"arguments": [],
|
|
1082
1431
|
"expression": {
|
|
1083
1432
|
"argumentTypes": [],
|
|
1084
|
-
"id":
|
|
1433
|
+
"id": 62969,
|
|
1085
1434
|
"name": "getSchema",
|
|
1086
1435
|
"nodeType": "Identifier",
|
|
1087
1436
|
"overloadedDeclarations": [],
|
|
1088
|
-
"referencedDeclaration":
|
|
1089
|
-
"src": "
|
|
1437
|
+
"referencedDeclaration": 62930,
|
|
1438
|
+
"src": "1339:9:12",
|
|
1090
1439
|
"typeDescriptions": {
|
|
1091
|
-
"typeIdentifier": "t_function_internal_pure$__$returns$_t_userDefinedValueType$_Schema_$
|
|
1440
|
+
"typeIdentifier": "t_function_internal_pure$__$returns$_t_userDefinedValueType$_Schema_$1573_$",
|
|
1092
1441
|
"typeString": "function () pure returns (Schema)"
|
|
1093
1442
|
}
|
|
1094
1443
|
},
|
|
1095
|
-
"id":
|
|
1444
|
+
"id": 62970,
|
|
1096
1445
|
"isConstant": false,
|
|
1097
1446
|
"isLValue": false,
|
|
1098
1447
|
"isPure": false,
|
|
@@ -1100,10 +1449,10 @@
|
|
|
1100
1449
|
"lValueRequested": false,
|
|
1101
1450
|
"names": [],
|
|
1102
1451
|
"nodeType": "FunctionCall",
|
|
1103
|
-
"src": "
|
|
1452
|
+
"src": "1339:11:12",
|
|
1104
1453
|
"tryCall": false,
|
|
1105
1454
|
"typeDescriptions": {
|
|
1106
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1455
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1573",
|
|
1107
1456
|
"typeString": "Schema"
|
|
1108
1457
|
}
|
|
1109
1458
|
}
|
|
@@ -1115,37 +1464,37 @@
|
|
|
1115
1464
|
"typeString": "uint256"
|
|
1116
1465
|
},
|
|
1117
1466
|
{
|
|
1118
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1467
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1573",
|
|
1119
1468
|
"typeString": "Schema"
|
|
1120
1469
|
}
|
|
1121
1470
|
],
|
|
1122
1471
|
"expression": {
|
|
1123
|
-
"id":
|
|
1472
|
+
"id": 62965,
|
|
1124
1473
|
"name": "StoreSwitch",
|
|
1125
1474
|
"nodeType": "Identifier",
|
|
1126
1475
|
"overloadedDeclarations": [],
|
|
1127
|
-
"referencedDeclaration":
|
|
1128
|
-
"src": "
|
|
1476
|
+
"referencedDeclaration": 4886,
|
|
1477
|
+
"src": "1302:11:12",
|
|
1129
1478
|
"typeDescriptions": {
|
|
1130
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
|
1479
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$4886_$",
|
|
1131
1480
|
"typeString": "type(library StoreSwitch)"
|
|
1132
1481
|
}
|
|
1133
1482
|
},
|
|
1134
|
-
"id":
|
|
1483
|
+
"id": 62967,
|
|
1135
1484
|
"isConstant": false,
|
|
1136
1485
|
"isLValue": false,
|
|
1137
1486
|
"isPure": false,
|
|
1138
1487
|
"lValueRequested": false,
|
|
1139
1488
|
"memberName": "registerSchema",
|
|
1140
1489
|
"nodeType": "MemberAccess",
|
|
1141
|
-
"referencedDeclaration":
|
|
1142
|
-
"src": "
|
|
1490
|
+
"referencedDeclaration": 4578,
|
|
1491
|
+
"src": "1302:26:12",
|
|
1143
1492
|
"typeDescriptions": {
|
|
1144
|
-
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_userDefinedValueType$_Schema_$
|
|
1493
|
+
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_userDefinedValueType$_Schema_$1573_$returns$__$",
|
|
1145
1494
|
"typeString": "function (uint256,Schema)"
|
|
1146
1495
|
}
|
|
1147
1496
|
},
|
|
1148
|
-
"id":
|
|
1497
|
+
"id": 62971,
|
|
1149
1498
|
"isConstant": false,
|
|
1150
1499
|
"isLValue": false,
|
|
1151
1500
|
"isPure": false,
|
|
@@ -1153,72 +1502,317 @@
|
|
|
1153
1502
|
"lValueRequested": false,
|
|
1154
1503
|
"names": [],
|
|
1155
1504
|
"nodeType": "FunctionCall",
|
|
1156
|
-
"src": "
|
|
1505
|
+
"src": "1302:49:12",
|
|
1157
1506
|
"tryCall": false,
|
|
1158
1507
|
"typeDescriptions": {
|
|
1159
1508
|
"typeIdentifier": "t_tuple$__$",
|
|
1160
1509
|
"typeString": "tuple()"
|
|
1161
1510
|
}
|
|
1162
1511
|
},
|
|
1163
|
-
"id":
|
|
1512
|
+
"id": 62972,
|
|
1164
1513
|
"nodeType": "ExpressionStatement",
|
|
1165
|
-
"src": "
|
|
1514
|
+
"src": "1302:49:12"
|
|
1166
1515
|
}
|
|
1167
1516
|
]
|
|
1168
1517
|
},
|
|
1169
1518
|
"documentation": {
|
|
1170
|
-
"id":
|
|
1519
|
+
"id": 62962,
|
|
1171
1520
|
"nodeType": "StructuredDocumentation",
|
|
1172
|
-
"src": "
|
|
1521
|
+
"src": "1224:34:12",
|
|
1173
1522
|
"text": "Register the table's schema "
|
|
1174
1523
|
},
|
|
1175
1524
|
"implemented": true,
|
|
1176
1525
|
"kind": "function",
|
|
1177
1526
|
"modifiers": [],
|
|
1178
1527
|
"name": "registerSchema",
|
|
1179
|
-
"nameLocation": "
|
|
1528
|
+
"nameLocation": "1270:14:12",
|
|
1529
|
+
"parameters": {
|
|
1530
|
+
"id": 62963,
|
|
1531
|
+
"nodeType": "ParameterList",
|
|
1532
|
+
"parameters": [],
|
|
1533
|
+
"src": "1284:2:12"
|
|
1534
|
+
},
|
|
1535
|
+
"returnParameters": {
|
|
1536
|
+
"id": 62964,
|
|
1537
|
+
"nodeType": "ParameterList",
|
|
1538
|
+
"parameters": [],
|
|
1539
|
+
"src": "1296:0:12"
|
|
1540
|
+
},
|
|
1541
|
+
"scope": 63185,
|
|
1542
|
+
"stateMutability": "nonpayable",
|
|
1543
|
+
"virtual": false,
|
|
1544
|
+
"visibility": "internal"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"id": 62995,
|
|
1548
|
+
"nodeType": "FunctionDefinition",
|
|
1549
|
+
"src": "1394:178:12",
|
|
1550
|
+
"nodes": [],
|
|
1551
|
+
"body": {
|
|
1552
|
+
"id": 62994,
|
|
1553
|
+
"nodeType": "Block",
|
|
1554
|
+
"src": "1426:146:12",
|
|
1555
|
+
"nodes": [],
|
|
1556
|
+
"statements": [
|
|
1557
|
+
{
|
|
1558
|
+
"assignments": [
|
|
1559
|
+
62979,
|
|
1560
|
+
62982
|
|
1561
|
+
],
|
|
1562
|
+
"declarations": [
|
|
1563
|
+
{
|
|
1564
|
+
"constant": false,
|
|
1565
|
+
"id": 62979,
|
|
1566
|
+
"mutability": "mutable",
|
|
1567
|
+
"name": "_tableName",
|
|
1568
|
+
"nameLocation": "1447:10:12",
|
|
1569
|
+
"nodeType": "VariableDeclaration",
|
|
1570
|
+
"scope": 62994,
|
|
1571
|
+
"src": "1433:24:12",
|
|
1572
|
+
"stateVariable": false,
|
|
1573
|
+
"storageLocation": "memory",
|
|
1574
|
+
"typeDescriptions": {
|
|
1575
|
+
"typeIdentifier": "t_string_memory_ptr",
|
|
1576
|
+
"typeString": "string"
|
|
1577
|
+
},
|
|
1578
|
+
"typeName": {
|
|
1579
|
+
"id": 62978,
|
|
1580
|
+
"name": "string",
|
|
1581
|
+
"nodeType": "ElementaryTypeName",
|
|
1582
|
+
"src": "1433:6:12",
|
|
1583
|
+
"typeDescriptions": {
|
|
1584
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
1585
|
+
"typeString": "string"
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
"visibility": "internal"
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"constant": false,
|
|
1592
|
+
"id": 62982,
|
|
1593
|
+
"mutability": "mutable",
|
|
1594
|
+
"name": "_fieldNames",
|
|
1595
|
+
"nameLocation": "1475:11:12",
|
|
1596
|
+
"nodeType": "VariableDeclaration",
|
|
1597
|
+
"scope": 62994,
|
|
1598
|
+
"src": "1459:27:12",
|
|
1599
|
+
"stateVariable": false,
|
|
1600
|
+
"storageLocation": "memory",
|
|
1601
|
+
"typeDescriptions": {
|
|
1602
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1603
|
+
"typeString": "string[]"
|
|
1604
|
+
},
|
|
1605
|
+
"typeName": {
|
|
1606
|
+
"baseType": {
|
|
1607
|
+
"id": 62980,
|
|
1608
|
+
"name": "string",
|
|
1609
|
+
"nodeType": "ElementaryTypeName",
|
|
1610
|
+
"src": "1459:6:12",
|
|
1611
|
+
"typeDescriptions": {
|
|
1612
|
+
"typeIdentifier": "t_string_storage_ptr",
|
|
1613
|
+
"typeString": "string"
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
"id": 62981,
|
|
1617
|
+
"nodeType": "ArrayTypeName",
|
|
1618
|
+
"src": "1459:8:12",
|
|
1619
|
+
"typeDescriptions": {
|
|
1620
|
+
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
1621
|
+
"typeString": "string[]"
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
"visibility": "internal"
|
|
1625
|
+
}
|
|
1626
|
+
],
|
|
1627
|
+
"id": 62985,
|
|
1628
|
+
"initialValue": {
|
|
1629
|
+
"arguments": [],
|
|
1630
|
+
"expression": {
|
|
1631
|
+
"argumentTypes": [],
|
|
1632
|
+
"id": 62983,
|
|
1633
|
+
"name": "getMetadata",
|
|
1634
|
+
"nodeType": "Identifier",
|
|
1635
|
+
"overloadedDeclarations": [],
|
|
1636
|
+
"referencedDeclaration": 62961,
|
|
1637
|
+
"src": "1490:11:12",
|
|
1638
|
+
"typeDescriptions": {
|
|
1639
|
+
"typeIdentifier": "t_function_internal_pure$__$returns$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
|
|
1640
|
+
"typeString": "function () pure returns (string memory,string memory[] memory)"
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
"id": 62984,
|
|
1644
|
+
"isConstant": false,
|
|
1645
|
+
"isLValue": false,
|
|
1646
|
+
"isPure": false,
|
|
1647
|
+
"kind": "functionCall",
|
|
1648
|
+
"lValueRequested": false,
|
|
1649
|
+
"names": [],
|
|
1650
|
+
"nodeType": "FunctionCall",
|
|
1651
|
+
"src": "1490:13:12",
|
|
1652
|
+
"tryCall": false,
|
|
1653
|
+
"typeDescriptions": {
|
|
1654
|
+
"typeIdentifier": "t_tuple$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
|
|
1655
|
+
"typeString": "tuple(string memory,string memory[] memory)"
|
|
1656
|
+
}
|
|
1657
|
+
},
|
|
1658
|
+
"nodeType": "VariableDeclarationStatement",
|
|
1659
|
+
"src": "1432:71:12"
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"expression": {
|
|
1663
|
+
"arguments": [
|
|
1664
|
+
{
|
|
1665
|
+
"id": 62989,
|
|
1666
|
+
"name": "_tableId",
|
|
1667
|
+
"nodeType": "Identifier",
|
|
1668
|
+
"overloadedDeclarations": [],
|
|
1669
|
+
"referencedDeclaration": 62895,
|
|
1670
|
+
"src": "1533:8:12",
|
|
1671
|
+
"typeDescriptions": {
|
|
1672
|
+
"typeIdentifier": "t_uint256",
|
|
1673
|
+
"typeString": "uint256"
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"id": 62990,
|
|
1678
|
+
"name": "_tableName",
|
|
1679
|
+
"nodeType": "Identifier",
|
|
1680
|
+
"overloadedDeclarations": [],
|
|
1681
|
+
"referencedDeclaration": 62979,
|
|
1682
|
+
"src": "1543:10:12",
|
|
1683
|
+
"typeDescriptions": {
|
|
1684
|
+
"typeIdentifier": "t_string_memory_ptr",
|
|
1685
|
+
"typeString": "string memory"
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"id": 62991,
|
|
1690
|
+
"name": "_fieldNames",
|
|
1691
|
+
"nodeType": "Identifier",
|
|
1692
|
+
"overloadedDeclarations": [],
|
|
1693
|
+
"referencedDeclaration": 62982,
|
|
1694
|
+
"src": "1555:11:12",
|
|
1695
|
+
"typeDescriptions": {
|
|
1696
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1697
|
+
"typeString": "string memory[] memory"
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
],
|
|
1701
|
+
"expression": {
|
|
1702
|
+
"argumentTypes": [
|
|
1703
|
+
{
|
|
1704
|
+
"typeIdentifier": "t_uint256",
|
|
1705
|
+
"typeString": "uint256"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"typeIdentifier": "t_string_memory_ptr",
|
|
1709
|
+
"typeString": "string memory"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1713
|
+
"typeString": "string memory[] memory"
|
|
1714
|
+
}
|
|
1715
|
+
],
|
|
1716
|
+
"expression": {
|
|
1717
|
+
"id": 62986,
|
|
1718
|
+
"name": "StoreSwitch",
|
|
1719
|
+
"nodeType": "Identifier",
|
|
1720
|
+
"overloadedDeclarations": [],
|
|
1721
|
+
"referencedDeclaration": 4886,
|
|
1722
|
+
"src": "1509:11:12",
|
|
1723
|
+
"typeDescriptions": {
|
|
1724
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$4886_$",
|
|
1725
|
+
"typeString": "type(library StoreSwitch)"
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
"id": 62988,
|
|
1729
|
+
"isConstant": false,
|
|
1730
|
+
"isLValue": false,
|
|
1731
|
+
"isPure": false,
|
|
1732
|
+
"lValueRequested": false,
|
|
1733
|
+
"memberName": "setMetadata",
|
|
1734
|
+
"nodeType": "MemberAccess",
|
|
1735
|
+
"referencedDeclaration": 4643,
|
|
1736
|
+
"src": "1509:23:12",
|
|
1737
|
+
"typeDescriptions": {
|
|
1738
|
+
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$returns$__$",
|
|
1739
|
+
"typeString": "function (uint256,string memory,string memory[] memory)"
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
"id": 62992,
|
|
1743
|
+
"isConstant": false,
|
|
1744
|
+
"isLValue": false,
|
|
1745
|
+
"isPure": false,
|
|
1746
|
+
"kind": "functionCall",
|
|
1747
|
+
"lValueRequested": false,
|
|
1748
|
+
"names": [],
|
|
1749
|
+
"nodeType": "FunctionCall",
|
|
1750
|
+
"src": "1509:58:12",
|
|
1751
|
+
"tryCall": false,
|
|
1752
|
+
"typeDescriptions": {
|
|
1753
|
+
"typeIdentifier": "t_tuple$__$",
|
|
1754
|
+
"typeString": "tuple()"
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
"id": 62993,
|
|
1758
|
+
"nodeType": "ExpressionStatement",
|
|
1759
|
+
"src": "1509:58:12"
|
|
1760
|
+
}
|
|
1761
|
+
]
|
|
1762
|
+
},
|
|
1763
|
+
"documentation": {
|
|
1764
|
+
"id": 62975,
|
|
1765
|
+
"nodeType": "StructuredDocumentation",
|
|
1766
|
+
"src": "1360:31:12",
|
|
1767
|
+
"text": "Set the table's metadata "
|
|
1768
|
+
},
|
|
1769
|
+
"implemented": true,
|
|
1770
|
+
"kind": "function",
|
|
1771
|
+
"modifiers": [],
|
|
1772
|
+
"name": "setMetadata",
|
|
1773
|
+
"nameLocation": "1403:11:12",
|
|
1180
1774
|
"parameters": {
|
|
1181
|
-
"id":
|
|
1775
|
+
"id": 62976,
|
|
1182
1776
|
"nodeType": "ParameterList",
|
|
1183
1777
|
"parameters": [],
|
|
1184
|
-
"src": "
|
|
1778
|
+
"src": "1414:2:12"
|
|
1185
1779
|
},
|
|
1186
1780
|
"returnParameters": {
|
|
1187
|
-
"id":
|
|
1781
|
+
"id": 62977,
|
|
1188
1782
|
"nodeType": "ParameterList",
|
|
1189
1783
|
"parameters": [],
|
|
1190
|
-
"src": "
|
|
1784
|
+
"src": "1426:0:12"
|
|
1191
1785
|
},
|
|
1192
|
-
"scope":
|
|
1786
|
+
"scope": 63185,
|
|
1193
1787
|
"stateMutability": "nonpayable",
|
|
1194
1788
|
"virtual": false,
|
|
1195
1789
|
"visibility": "internal"
|
|
1196
1790
|
},
|
|
1197
1791
|
{
|
|
1198
|
-
"id":
|
|
1792
|
+
"id": 63046,
|
|
1199
1793
|
"nodeType": "FunctionDefinition",
|
|
1200
|
-
"src": "
|
|
1794
|
+
"src": "1595:326:12",
|
|
1201
1795
|
"nodes": [],
|
|
1202
1796
|
"body": {
|
|
1203
|
-
"id":
|
|
1797
|
+
"id": 63045,
|
|
1204
1798
|
"nodeType": "Block",
|
|
1205
|
-
"src": "
|
|
1799
|
+
"src": "1668:253:12",
|
|
1206
1800
|
"nodes": [],
|
|
1207
1801
|
"statements": [
|
|
1208
1802
|
{
|
|
1209
1803
|
"assignments": [
|
|
1210
|
-
|
|
1804
|
+
63008
|
|
1211
1805
|
],
|
|
1212
1806
|
"declarations": [
|
|
1213
1807
|
{
|
|
1214
1808
|
"constant": false,
|
|
1215
|
-
"id":
|
|
1809
|
+
"id": 63008,
|
|
1216
1810
|
"mutability": "mutable",
|
|
1217
1811
|
"name": "_primaryKeys",
|
|
1218
|
-
"nameLocation": "
|
|
1812
|
+
"nameLocation": "1691:12:12",
|
|
1219
1813
|
"nodeType": "VariableDeclaration",
|
|
1220
|
-
"scope":
|
|
1221
|
-
"src": "
|
|
1814
|
+
"scope": 63045,
|
|
1815
|
+
"src": "1674:29:12",
|
|
1222
1816
|
"stateVariable": false,
|
|
1223
1817
|
"storageLocation": "memory",
|
|
1224
1818
|
"typeDescriptions": {
|
|
@@ -1227,18 +1821,18 @@
|
|
|
1227
1821
|
},
|
|
1228
1822
|
"typeName": {
|
|
1229
1823
|
"baseType": {
|
|
1230
|
-
"id":
|
|
1824
|
+
"id": 63006,
|
|
1231
1825
|
"name": "bytes32",
|
|
1232
1826
|
"nodeType": "ElementaryTypeName",
|
|
1233
|
-
"src": "
|
|
1827
|
+
"src": "1674:7:12",
|
|
1234
1828
|
"typeDescriptions": {
|
|
1235
1829
|
"typeIdentifier": "t_bytes32",
|
|
1236
1830
|
"typeString": "bytes32"
|
|
1237
1831
|
}
|
|
1238
1832
|
},
|
|
1239
|
-
"id":
|
|
1833
|
+
"id": 63007,
|
|
1240
1834
|
"nodeType": "ArrayTypeName",
|
|
1241
|
-
"src": "
|
|
1835
|
+
"src": "1674:9:12",
|
|
1242
1836
|
"typeDescriptions": {
|
|
1243
1837
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1244
1838
|
"typeString": "bytes32[]"
|
|
@@ -1247,19 +1841,19 @@
|
|
|
1247
1841
|
"visibility": "internal"
|
|
1248
1842
|
}
|
|
1249
1843
|
],
|
|
1250
|
-
"id":
|
|
1844
|
+
"id": 63014,
|
|
1251
1845
|
"initialValue": {
|
|
1252
1846
|
"arguments": [
|
|
1253
1847
|
{
|
|
1254
1848
|
"hexValue": "31",
|
|
1255
|
-
"id":
|
|
1849
|
+
"id": 63012,
|
|
1256
1850
|
"isConstant": false,
|
|
1257
1851
|
"isLValue": false,
|
|
1258
1852
|
"isPure": true,
|
|
1259
1853
|
"kind": "number",
|
|
1260
1854
|
"lValueRequested": false,
|
|
1261
1855
|
"nodeType": "Literal",
|
|
1262
|
-
"src": "
|
|
1856
|
+
"src": "1720:1:12",
|
|
1263
1857
|
"typeDescriptions": {
|
|
1264
1858
|
"typeIdentifier": "t_rational_1_by_1",
|
|
1265
1859
|
"typeString": "int_const 1"
|
|
@@ -1274,38 +1868,38 @@
|
|
|
1274
1868
|
"typeString": "int_const 1"
|
|
1275
1869
|
}
|
|
1276
1870
|
],
|
|
1277
|
-
"id":
|
|
1871
|
+
"id": 63011,
|
|
1278
1872
|
"isConstant": false,
|
|
1279
1873
|
"isLValue": false,
|
|
1280
1874
|
"isPure": true,
|
|
1281
1875
|
"lValueRequested": false,
|
|
1282
1876
|
"nodeType": "NewExpression",
|
|
1283
|
-
"src": "
|
|
1877
|
+
"src": "1706:13:12",
|
|
1284
1878
|
"typeDescriptions": {
|
|
1285
1879
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
1286
1880
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
|
1287
1881
|
},
|
|
1288
1882
|
"typeName": {
|
|
1289
1883
|
"baseType": {
|
|
1290
|
-
"id":
|
|
1884
|
+
"id": 63009,
|
|
1291
1885
|
"name": "bytes32",
|
|
1292
1886
|
"nodeType": "ElementaryTypeName",
|
|
1293
|
-
"src": "
|
|
1887
|
+
"src": "1710:7:12",
|
|
1294
1888
|
"typeDescriptions": {
|
|
1295
1889
|
"typeIdentifier": "t_bytes32",
|
|
1296
1890
|
"typeString": "bytes32"
|
|
1297
1891
|
}
|
|
1298
1892
|
},
|
|
1299
|
-
"id":
|
|
1893
|
+
"id": 63010,
|
|
1300
1894
|
"nodeType": "ArrayTypeName",
|
|
1301
|
-
"src": "
|
|
1895
|
+
"src": "1710:9:12",
|
|
1302
1896
|
"typeDescriptions": {
|
|
1303
1897
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1304
1898
|
"typeString": "bytes32[]"
|
|
1305
1899
|
}
|
|
1306
1900
|
}
|
|
1307
1901
|
},
|
|
1308
|
-
"id":
|
|
1902
|
+
"id": 63013,
|
|
1309
1903
|
"isConstant": false,
|
|
1310
1904
|
"isLValue": false,
|
|
1311
1905
|
"isPure": true,
|
|
@@ -1313,7 +1907,7 @@
|
|
|
1313
1907
|
"lValueRequested": false,
|
|
1314
1908
|
"names": [],
|
|
1315
1909
|
"nodeType": "FunctionCall",
|
|
1316
|
-
"src": "
|
|
1910
|
+
"src": "1706:16:12",
|
|
1317
1911
|
"tryCall": false,
|
|
1318
1912
|
"typeDescriptions": {
|
|
1319
1913
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -1321,39 +1915,39 @@
|
|
|
1321
1915
|
}
|
|
1322
1916
|
},
|
|
1323
1917
|
"nodeType": "VariableDeclarationStatement",
|
|
1324
|
-
"src": "
|
|
1918
|
+
"src": "1674:48:12"
|
|
1325
1919
|
},
|
|
1326
1920
|
{
|
|
1327
1921
|
"expression": {
|
|
1328
|
-
"id":
|
|
1922
|
+
"id": 63023,
|
|
1329
1923
|
"isConstant": false,
|
|
1330
1924
|
"isLValue": false,
|
|
1331
1925
|
"isPure": false,
|
|
1332
1926
|
"lValueRequested": false,
|
|
1333
1927
|
"leftHandSide": {
|
|
1334
1928
|
"baseExpression": {
|
|
1335
|
-
"id":
|
|
1929
|
+
"id": 63015,
|
|
1336
1930
|
"name": "_primaryKeys",
|
|
1337
1931
|
"nodeType": "Identifier",
|
|
1338
1932
|
"overloadedDeclarations": [],
|
|
1339
|
-
"referencedDeclaration":
|
|
1340
|
-
"src": "
|
|
1933
|
+
"referencedDeclaration": 63008,
|
|
1934
|
+
"src": "1728:12:12",
|
|
1341
1935
|
"typeDescriptions": {
|
|
1342
1936
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
1343
1937
|
"typeString": "bytes32[] memory"
|
|
1344
1938
|
}
|
|
1345
1939
|
},
|
|
1346
|
-
"id":
|
|
1940
|
+
"id": 63017,
|
|
1347
1941
|
"indexExpression": {
|
|
1348
1942
|
"hexValue": "30",
|
|
1349
|
-
"id":
|
|
1943
|
+
"id": 63016,
|
|
1350
1944
|
"isConstant": false,
|
|
1351
1945
|
"isLValue": false,
|
|
1352
1946
|
"isPure": true,
|
|
1353
1947
|
"kind": "number",
|
|
1354
1948
|
"lValueRequested": false,
|
|
1355
1949
|
"nodeType": "Literal",
|
|
1356
|
-
"src": "
|
|
1950
|
+
"src": "1741:1:12",
|
|
1357
1951
|
"typeDescriptions": {
|
|
1358
1952
|
"typeIdentifier": "t_rational_0_by_1",
|
|
1359
1953
|
"typeString": "int_const 0"
|
|
@@ -1365,7 +1959,7 @@
|
|
|
1365
1959
|
"isPure": false,
|
|
1366
1960
|
"lValueRequested": true,
|
|
1367
1961
|
"nodeType": "IndexAccess",
|
|
1368
|
-
"src": "
|
|
1962
|
+
"src": "1728:15:12",
|
|
1369
1963
|
"typeDescriptions": {
|
|
1370
1964
|
"typeIdentifier": "t_bytes32",
|
|
1371
1965
|
"typeString": "bytes32"
|
|
@@ -1376,12 +1970,28 @@
|
|
|
1376
1970
|
"rightHandSide": {
|
|
1377
1971
|
"arguments": [
|
|
1378
1972
|
{
|
|
1379
|
-
"
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1973
|
+
"components": [
|
|
1974
|
+
{
|
|
1975
|
+
"id": 63020,
|
|
1976
|
+
"name": "key",
|
|
1977
|
+
"nodeType": "Identifier",
|
|
1978
|
+
"overloadedDeclarations": [],
|
|
1979
|
+
"referencedDeclaration": 62998,
|
|
1980
|
+
"src": "1755:3:12",
|
|
1981
|
+
"typeDescriptions": {
|
|
1982
|
+
"typeIdentifier": "t_bytes32",
|
|
1983
|
+
"typeString": "bytes32"
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
],
|
|
1987
|
+
"id": 63021,
|
|
1988
|
+
"isConstant": false,
|
|
1989
|
+
"isInlineArray": false,
|
|
1990
|
+
"isLValue": false,
|
|
1991
|
+
"isPure": false,
|
|
1992
|
+
"lValueRequested": false,
|
|
1993
|
+
"nodeType": "TupleExpression",
|
|
1994
|
+
"src": "1754:5:12",
|
|
1385
1995
|
"typeDescriptions": {
|
|
1386
1996
|
"typeIdentifier": "t_bytes32",
|
|
1387
1997
|
"typeString": "bytes32"
|
|
@@ -1395,26 +2005,26 @@
|
|
|
1395
2005
|
"typeString": "bytes32"
|
|
1396
2006
|
}
|
|
1397
2007
|
],
|
|
1398
|
-
"id":
|
|
2008
|
+
"id": 63019,
|
|
1399
2009
|
"isConstant": false,
|
|
1400
2010
|
"isLValue": false,
|
|
1401
2011
|
"isPure": true,
|
|
1402
2012
|
"lValueRequested": false,
|
|
1403
2013
|
"nodeType": "ElementaryTypeNameExpression",
|
|
1404
|
-
"src": "
|
|
2014
|
+
"src": "1746:7:12",
|
|
1405
2015
|
"typeDescriptions": {
|
|
1406
2016
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
|
1407
2017
|
"typeString": "type(bytes32)"
|
|
1408
2018
|
},
|
|
1409
2019
|
"typeName": {
|
|
1410
|
-
"id":
|
|
2020
|
+
"id": 63018,
|
|
1411
2021
|
"name": "bytes32",
|
|
1412
2022
|
"nodeType": "ElementaryTypeName",
|
|
1413
|
-
"src": "
|
|
2023
|
+
"src": "1746:7:12",
|
|
1414
2024
|
"typeDescriptions": {}
|
|
1415
2025
|
}
|
|
1416
2026
|
},
|
|
1417
|
-
"id":
|
|
2027
|
+
"id": 63022,
|
|
1418
2028
|
"isConstant": false,
|
|
1419
2029
|
"isLValue": false,
|
|
1420
2030
|
"isPure": false,
|
|
@@ -1422,37 +2032,37 @@
|
|
|
1422
2032
|
"lValueRequested": false,
|
|
1423
2033
|
"names": [],
|
|
1424
2034
|
"nodeType": "FunctionCall",
|
|
1425
|
-
"src": "
|
|
2035
|
+
"src": "1746:14:12",
|
|
1426
2036
|
"tryCall": false,
|
|
1427
2037
|
"typeDescriptions": {
|
|
1428
2038
|
"typeIdentifier": "t_bytes32",
|
|
1429
2039
|
"typeString": "bytes32"
|
|
1430
2040
|
}
|
|
1431
2041
|
},
|
|
1432
|
-
"src": "
|
|
2042
|
+
"src": "1728:32:12",
|
|
1433
2043
|
"typeDescriptions": {
|
|
1434
2044
|
"typeIdentifier": "t_bytes32",
|
|
1435
2045
|
"typeString": "bytes32"
|
|
1436
2046
|
}
|
|
1437
2047
|
},
|
|
1438
|
-
"id":
|
|
2048
|
+
"id": 63024,
|
|
1439
2049
|
"nodeType": "ExpressionStatement",
|
|
1440
|
-
"src": "
|
|
2050
|
+
"src": "1728:32:12"
|
|
1441
2051
|
},
|
|
1442
2052
|
{
|
|
1443
2053
|
"assignments": [
|
|
1444
|
-
|
|
2054
|
+
63026
|
|
1445
2055
|
],
|
|
1446
2056
|
"declarations": [
|
|
1447
2057
|
{
|
|
1448
2058
|
"constant": false,
|
|
1449
|
-
"id":
|
|
2059
|
+
"id": 63026,
|
|
1450
2060
|
"mutability": "mutable",
|
|
1451
2061
|
"name": "_blob",
|
|
1452
|
-
"nameLocation": "
|
|
2062
|
+
"nameLocation": "1780:5:12",
|
|
1453
2063
|
"nodeType": "VariableDeclaration",
|
|
1454
|
-
"scope":
|
|
1455
|
-
"src": "
|
|
2064
|
+
"scope": 63045,
|
|
2065
|
+
"src": "1767:18:12",
|
|
1456
2066
|
"stateVariable": false,
|
|
1457
2067
|
"storageLocation": "memory",
|
|
1458
2068
|
"typeDescriptions": {
|
|
@@ -1460,10 +2070,10 @@
|
|
|
1460
2070
|
"typeString": "bytes"
|
|
1461
2071
|
},
|
|
1462
2072
|
"typeName": {
|
|
1463
|
-
"id":
|
|
2073
|
+
"id": 63025,
|
|
1464
2074
|
"name": "bytes",
|
|
1465
2075
|
"nodeType": "ElementaryTypeName",
|
|
1466
|
-
"src": "
|
|
2076
|
+
"src": "1767:5:12",
|
|
1467
2077
|
"typeDescriptions": {
|
|
1468
2078
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1469
2079
|
"typeString": "bytes"
|
|
@@ -1472,28 +2082,28 @@
|
|
|
1472
2082
|
"visibility": "internal"
|
|
1473
2083
|
}
|
|
1474
2084
|
],
|
|
1475
|
-
"id":
|
|
2085
|
+
"id": 63033,
|
|
1476
2086
|
"initialValue": {
|
|
1477
2087
|
"arguments": [
|
|
1478
2088
|
{
|
|
1479
|
-
"id":
|
|
2089
|
+
"id": 63029,
|
|
1480
2090
|
"name": "_tableId",
|
|
1481
2091
|
"nodeType": "Identifier",
|
|
1482
2092
|
"overloadedDeclarations": [],
|
|
1483
|
-
"referencedDeclaration":
|
|
1484
|
-
"src": "
|
|
2093
|
+
"referencedDeclaration": 62895,
|
|
2094
|
+
"src": "1809:8:12",
|
|
1485
2095
|
"typeDescriptions": {
|
|
1486
2096
|
"typeIdentifier": "t_uint256",
|
|
1487
2097
|
"typeString": "uint256"
|
|
1488
2098
|
}
|
|
1489
2099
|
},
|
|
1490
2100
|
{
|
|
1491
|
-
"id":
|
|
2101
|
+
"id": 63030,
|
|
1492
2102
|
"name": "_primaryKeys",
|
|
1493
2103
|
"nodeType": "Identifier",
|
|
1494
2104
|
"overloadedDeclarations": [],
|
|
1495
|
-
"referencedDeclaration":
|
|
1496
|
-
"src": "
|
|
2105
|
+
"referencedDeclaration": 63008,
|
|
2106
|
+
"src": "1819:12:12",
|
|
1497
2107
|
"typeDescriptions": {
|
|
1498
2108
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
1499
2109
|
"typeString": "bytes32[] memory"
|
|
@@ -1501,14 +2111,14 @@
|
|
|
1501
2111
|
},
|
|
1502
2112
|
{
|
|
1503
2113
|
"hexValue": "30",
|
|
1504
|
-
"id":
|
|
2114
|
+
"id": 63031,
|
|
1505
2115
|
"isConstant": false,
|
|
1506
2116
|
"isLValue": false,
|
|
1507
2117
|
"isPure": true,
|
|
1508
2118
|
"kind": "number",
|
|
1509
2119
|
"lValueRequested": false,
|
|
1510
2120
|
"nodeType": "Literal",
|
|
1511
|
-
"src": "
|
|
2121
|
+
"src": "1833:1:12",
|
|
1512
2122
|
"typeDescriptions": {
|
|
1513
2123
|
"typeIdentifier": "t_rational_0_by_1",
|
|
1514
2124
|
"typeString": "int_const 0"
|
|
@@ -1532,32 +2142,32 @@
|
|
|
1532
2142
|
}
|
|
1533
2143
|
],
|
|
1534
2144
|
"expression": {
|
|
1535
|
-
"id":
|
|
2145
|
+
"id": 63027,
|
|
1536
2146
|
"name": "StoreSwitch",
|
|
1537
2147
|
"nodeType": "Identifier",
|
|
1538
2148
|
"overloadedDeclarations": [],
|
|
1539
|
-
"referencedDeclaration":
|
|
1540
|
-
"src": "
|
|
2149
|
+
"referencedDeclaration": 4886,
|
|
2150
|
+
"src": "1788:11:12",
|
|
1541
2151
|
"typeDescriptions": {
|
|
1542
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
|
2152
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$4886_$",
|
|
1543
2153
|
"typeString": "type(library StoreSwitch)"
|
|
1544
2154
|
}
|
|
1545
2155
|
},
|
|
1546
|
-
"id":
|
|
2156
|
+
"id": 63028,
|
|
1547
2157
|
"isConstant": false,
|
|
1548
2158
|
"isLValue": false,
|
|
1549
2159
|
"isPure": false,
|
|
1550
2160
|
"lValueRequested": false,
|
|
1551
2161
|
"memberName": "getField",
|
|
1552
2162
|
"nodeType": "MemberAccess",
|
|
1553
|
-
"referencedDeclaration":
|
|
1554
|
-
"src": "
|
|
2163
|
+
"referencedDeclaration": 4885,
|
|
2164
|
+
"src": "1788:20:12",
|
|
1555
2165
|
"typeDescriptions": {
|
|
1556
2166
|
"typeIdentifier": "t_function_internal_view$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_bytes_memory_ptr_$",
|
|
1557
2167
|
"typeString": "function (uint256,bytes32[] memory,uint8) view returns (bytes memory)"
|
|
1558
2168
|
}
|
|
1559
2169
|
},
|
|
1560
|
-
"id":
|
|
2170
|
+
"id": 63032,
|
|
1561
2171
|
"isConstant": false,
|
|
1562
2172
|
"isLValue": false,
|
|
1563
2173
|
"isPure": false,
|
|
@@ -1565,7 +2175,7 @@
|
|
|
1565
2175
|
"lValueRequested": false,
|
|
1566
2176
|
"names": [],
|
|
1567
2177
|
"nodeType": "FunctionCall",
|
|
1568
|
-
"src": "
|
|
2178
|
+
"src": "1788:47:12",
|
|
1569
2179
|
"tryCall": false,
|
|
1570
2180
|
"typeDescriptions": {
|
|
1571
2181
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -1573,112 +2183,143 @@
|
|
|
1573
2183
|
}
|
|
1574
2184
|
},
|
|
1575
2185
|
"nodeType": "VariableDeclarationStatement",
|
|
1576
|
-
"src": "
|
|
2186
|
+
"src": "1767:68:12"
|
|
1577
2187
|
},
|
|
1578
2188
|
{
|
|
1579
2189
|
"expression": {
|
|
1580
|
-
"
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
{
|
|
1586
|
-
"
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
2190
|
+
"components": [
|
|
2191
|
+
{
|
|
2192
|
+
"arguments": [],
|
|
2193
|
+
"expression": {
|
|
2194
|
+
"argumentTypes": [],
|
|
2195
|
+
"expression": {
|
|
2196
|
+
"arguments": [
|
|
2197
|
+
{
|
|
2198
|
+
"id": 63036,
|
|
2199
|
+
"name": "_blob",
|
|
2200
|
+
"nodeType": "Identifier",
|
|
2201
|
+
"overloadedDeclarations": [],
|
|
2202
|
+
"referencedDeclaration": 63026,
|
|
2203
|
+
"src": "1870:5:12",
|
|
2204
|
+
"typeDescriptions": {
|
|
2205
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
|
2206
|
+
"typeString": "bytes memory"
|
|
2207
|
+
}
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
"hexValue": "30",
|
|
2211
|
+
"id": 63037,
|
|
2212
|
+
"isConstant": false,
|
|
2213
|
+
"isLValue": false,
|
|
2214
|
+
"isPure": true,
|
|
2215
|
+
"kind": "number",
|
|
2216
|
+
"lValueRequested": false,
|
|
2217
|
+
"nodeType": "Literal",
|
|
2218
|
+
"src": "1877:1:12",
|
|
2219
|
+
"typeDescriptions": {
|
|
2220
|
+
"typeIdentifier": "t_rational_0_by_1",
|
|
2221
|
+
"typeString": "int_const 0"
|
|
2222
|
+
},
|
|
2223
|
+
"value": "0"
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
"expression": {
|
|
2227
|
+
"id": 63038,
|
|
2228
|
+
"name": "_blob",
|
|
2229
|
+
"nodeType": "Identifier",
|
|
2230
|
+
"overloadedDeclarations": [],
|
|
2231
|
+
"referencedDeclaration": 63026,
|
|
2232
|
+
"src": "1880:5:12",
|
|
2233
|
+
"typeDescriptions": {
|
|
2234
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
|
2235
|
+
"typeString": "bytes memory"
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
"id": 63039,
|
|
2239
|
+
"isConstant": false,
|
|
2240
|
+
"isLValue": false,
|
|
2241
|
+
"isPure": false,
|
|
2242
|
+
"lValueRequested": false,
|
|
2243
|
+
"memberName": "length",
|
|
2244
|
+
"nodeType": "MemberAccess",
|
|
2245
|
+
"src": "1880:12:12",
|
|
2246
|
+
"typeDescriptions": {
|
|
2247
|
+
"typeIdentifier": "t_uint256",
|
|
2248
|
+
"typeString": "uint256"
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
],
|
|
1614
2252
|
"expression": {
|
|
1615
|
-
"
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
2253
|
+
"argumentTypes": [
|
|
2254
|
+
{
|
|
2255
|
+
"typeIdentifier": "t_bytes_memory_ptr",
|
|
2256
|
+
"typeString": "bytes memory"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"typeIdentifier": "t_rational_0_by_1",
|
|
2260
|
+
"typeString": "int_const 0"
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
"typeIdentifier": "t_uint256",
|
|
2264
|
+
"typeString": "uint256"
|
|
2265
|
+
}
|
|
2266
|
+
],
|
|
2267
|
+
"expression": {
|
|
2268
|
+
"id": 63034,
|
|
2269
|
+
"name": "SliceLib",
|
|
2270
|
+
"nodeType": "Identifier",
|
|
2271
|
+
"overloadedDeclarations": [],
|
|
2272
|
+
"referencedDeclaration": 2488,
|
|
2273
|
+
"src": "1849:8:12",
|
|
2274
|
+
"typeDescriptions": {
|
|
2275
|
+
"typeIdentifier": "t_type$_t_contract$_SliceLib_$2488_$",
|
|
2276
|
+
"typeString": "type(library SliceLib)"
|
|
2277
|
+
}
|
|
2278
|
+
},
|
|
2279
|
+
"id": 63035,
|
|
2280
|
+
"isConstant": false,
|
|
2281
|
+
"isLValue": false,
|
|
2282
|
+
"isPure": false,
|
|
2283
|
+
"lValueRequested": false,
|
|
2284
|
+
"memberName": "getSubslice",
|
|
2285
|
+
"nodeType": "MemberAccess",
|
|
2286
|
+
"referencedDeclaration": 2487,
|
|
2287
|
+
"src": "1849:20:12",
|
|
1621
2288
|
"typeDescriptions": {
|
|
1622
|
-
"typeIdentifier": "
|
|
1623
|
-
"typeString": "bytes memory"
|
|
2289
|
+
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$2343_$",
|
|
2290
|
+
"typeString": "function (bytes memory,uint256,uint256) pure returns (Slice)"
|
|
1624
2291
|
}
|
|
1625
2292
|
},
|
|
1626
|
-
"id":
|
|
2293
|
+
"id": 63040,
|
|
1627
2294
|
"isConstant": false,
|
|
1628
2295
|
"isLValue": false,
|
|
1629
2296
|
"isPure": false,
|
|
2297
|
+
"kind": "functionCall",
|
|
1630
2298
|
"lValueRequested": false,
|
|
1631
|
-
"
|
|
1632
|
-
"nodeType": "
|
|
1633
|
-
"src": "
|
|
2299
|
+
"names": [],
|
|
2300
|
+
"nodeType": "FunctionCall",
|
|
2301
|
+
"src": "1849:44:12",
|
|
2302
|
+
"tryCall": false,
|
|
1634
2303
|
"typeDescriptions": {
|
|
1635
|
-
"typeIdentifier": "
|
|
1636
|
-
"typeString": "
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
],
|
|
1640
|
-
"expression": {
|
|
1641
|
-
"argumentTypes": [
|
|
1642
|
-
{
|
|
1643
|
-
"typeIdentifier": "t_bytes_memory_ptr",
|
|
1644
|
-
"typeString": "bytes memory"
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"typeIdentifier": "t_rational_0_by_1",
|
|
1648
|
-
"typeString": "int_const 0"
|
|
1649
|
-
},
|
|
1650
|
-
{
|
|
1651
|
-
"typeIdentifier": "t_uint256",
|
|
1652
|
-
"typeString": "uint256"
|
|
1653
|
-
}
|
|
1654
|
-
],
|
|
1655
|
-
"expression": {
|
|
1656
|
-
"id": 61616,
|
|
1657
|
-
"name": "SliceLib",
|
|
1658
|
-
"nodeType": "Identifier",
|
|
1659
|
-
"overloadedDeclarations": [],
|
|
1660
|
-
"referencedDeclaration": 2476,
|
|
1661
|
-
"src": "1369:8:12",
|
|
1662
|
-
"typeDescriptions": {
|
|
1663
|
-
"typeIdentifier": "t_type$_t_contract$_SliceLib_$2476_$",
|
|
1664
|
-
"typeString": "type(library SliceLib)"
|
|
2304
|
+
"typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
|
|
2305
|
+
"typeString": "Slice"
|
|
1665
2306
|
}
|
|
1666
2307
|
},
|
|
1667
|
-
"id":
|
|
2308
|
+
"id": 63041,
|
|
1668
2309
|
"isConstant": false,
|
|
1669
2310
|
"isLValue": false,
|
|
1670
2311
|
"isPure": false,
|
|
1671
2312
|
"lValueRequested": false,
|
|
1672
|
-
"memberName": "
|
|
2313
|
+
"memberName": "decodeArray_address",
|
|
1673
2314
|
"nodeType": "MemberAccess",
|
|
1674
|
-
"referencedDeclaration":
|
|
1675
|
-
"src": "
|
|
2315
|
+
"referencedDeclaration": 62512,
|
|
2316
|
+
"src": "1849:64:12",
|
|
1676
2317
|
"typeDescriptions": {
|
|
1677
|
-
"typeIdentifier": "t_function_internal_pure$
|
|
1678
|
-
"typeString": "function (
|
|
2318
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2343_$returns$_t_array$_t_address_$dyn_memory_ptr_$bound_to$_t_userDefinedValueType$_Slice_$2343_$",
|
|
2319
|
+
"typeString": "function (Slice) pure returns (address[] memory)"
|
|
1679
2320
|
}
|
|
1680
2321
|
},
|
|
1681
|
-
"id":
|
|
2322
|
+
"id": 63042,
|
|
1682
2323
|
"isConstant": false,
|
|
1683
2324
|
"isLValue": false,
|
|
1684
2325
|
"isPure": false,
|
|
@@ -1686,73 +2327,58 @@
|
|
|
1686
2327
|
"lValueRequested": false,
|
|
1687
2328
|
"names": [],
|
|
1688
2329
|
"nodeType": "FunctionCall",
|
|
1689
|
-
"src": "
|
|
2330
|
+
"src": "1849:66:12",
|
|
1690
2331
|
"tryCall": false,
|
|
1691
2332
|
"typeDescriptions": {
|
|
1692
|
-
"typeIdentifier": "
|
|
1693
|
-
"typeString": "
|
|
2333
|
+
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2334
|
+
"typeString": "address[] memory"
|
|
1694
2335
|
}
|
|
1695
|
-
},
|
|
1696
|
-
"id": 61623,
|
|
1697
|
-
"isConstant": false,
|
|
1698
|
-
"isLValue": false,
|
|
1699
|
-
"isPure": false,
|
|
1700
|
-
"lValueRequested": false,
|
|
1701
|
-
"memberName": "decodeArray_address",
|
|
1702
|
-
"nodeType": "MemberAccess",
|
|
1703
|
-
"referencedDeclaration": 61147,
|
|
1704
|
-
"src": "1369:64:12",
|
|
1705
|
-
"typeDescriptions": {
|
|
1706
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2331_$returns$_t_array$_t_address_$dyn_memory_ptr_$bound_to$_t_userDefinedValueType$_Slice_$2331_$",
|
|
1707
|
-
"typeString": "function (Slice) pure returns (address[] memory)"
|
|
1708
2336
|
}
|
|
1709
|
-
|
|
1710
|
-
"id":
|
|
2337
|
+
],
|
|
2338
|
+
"id": 63043,
|
|
1711
2339
|
"isConstant": false,
|
|
2340
|
+
"isInlineArray": false,
|
|
1712
2341
|
"isLValue": false,
|
|
1713
2342
|
"isPure": false,
|
|
1714
|
-
"kind": "functionCall",
|
|
1715
2343
|
"lValueRequested": false,
|
|
1716
|
-
"
|
|
1717
|
-
"
|
|
1718
|
-
"src": "1369:66:12",
|
|
1719
|
-
"tryCall": false,
|
|
2344
|
+
"nodeType": "TupleExpression",
|
|
2345
|
+
"src": "1848:68:12",
|
|
1720
2346
|
"typeDescriptions": {
|
|
1721
2347
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
1722
2348
|
"typeString": "address[] memory"
|
|
1723
2349
|
}
|
|
1724
2350
|
},
|
|
1725
|
-
"functionReturnParameters":
|
|
1726
|
-
"id":
|
|
2351
|
+
"functionReturnParameters": 63003,
|
|
2352
|
+
"id": 63044,
|
|
1727
2353
|
"nodeType": "Return",
|
|
1728
|
-
"src": "
|
|
2354
|
+
"src": "1841:75:12"
|
|
1729
2355
|
}
|
|
1730
2356
|
]
|
|
1731
2357
|
},
|
|
1732
2358
|
"documentation": {
|
|
1733
|
-
"id":
|
|
2359
|
+
"id": 62996,
|
|
1734
2360
|
"nodeType": "StructuredDocumentation",
|
|
1735
|
-
"src": "
|
|
2361
|
+
"src": "1576:16:12",
|
|
1736
2362
|
"text": "Get value "
|
|
1737
2363
|
},
|
|
1738
2364
|
"implemented": true,
|
|
1739
2365
|
"kind": "function",
|
|
1740
2366
|
"modifiers": [],
|
|
1741
2367
|
"name": "get",
|
|
1742
|
-
"nameLocation": "
|
|
2368
|
+
"nameLocation": "1604:3:12",
|
|
1743
2369
|
"parameters": {
|
|
1744
|
-
"id":
|
|
2370
|
+
"id": 62999,
|
|
1745
2371
|
"nodeType": "ParameterList",
|
|
1746
2372
|
"parameters": [
|
|
1747
2373
|
{
|
|
1748
2374
|
"constant": false,
|
|
1749
|
-
"id":
|
|
2375
|
+
"id": 62998,
|
|
1750
2376
|
"mutability": "mutable",
|
|
1751
2377
|
"name": "key",
|
|
1752
|
-
"nameLocation": "
|
|
2378
|
+
"nameLocation": "1616:3:12",
|
|
1753
2379
|
"nodeType": "VariableDeclaration",
|
|
1754
|
-
"scope":
|
|
1755
|
-
"src": "
|
|
2380
|
+
"scope": 63046,
|
|
2381
|
+
"src": "1608:11:12",
|
|
1756
2382
|
"stateVariable": false,
|
|
1757
2383
|
"storageLocation": "default",
|
|
1758
2384
|
"typeDescriptions": {
|
|
@@ -1760,10 +2386,10 @@
|
|
|
1760
2386
|
"typeString": "bytes32"
|
|
1761
2387
|
},
|
|
1762
2388
|
"typeName": {
|
|
1763
|
-
"id":
|
|
2389
|
+
"id": 62997,
|
|
1764
2390
|
"name": "bytes32",
|
|
1765
2391
|
"nodeType": "ElementaryTypeName",
|
|
1766
|
-
"src": "
|
|
2392
|
+
"src": "1608:7:12",
|
|
1767
2393
|
"typeDescriptions": {
|
|
1768
2394
|
"typeIdentifier": "t_bytes32",
|
|
1769
2395
|
"typeString": "bytes32"
|
|
@@ -1772,21 +2398,21 @@
|
|
|
1772
2398
|
"visibility": "internal"
|
|
1773
2399
|
}
|
|
1774
2400
|
],
|
|
1775
|
-
"src": "
|
|
2401
|
+
"src": "1607:13:12"
|
|
1776
2402
|
},
|
|
1777
2403
|
"returnParameters": {
|
|
1778
|
-
"id":
|
|
2404
|
+
"id": 63003,
|
|
1779
2405
|
"nodeType": "ParameterList",
|
|
1780
2406
|
"parameters": [
|
|
1781
2407
|
{
|
|
1782
2408
|
"constant": false,
|
|
1783
|
-
"id":
|
|
2409
|
+
"id": 63002,
|
|
1784
2410
|
"mutability": "mutable",
|
|
1785
2411
|
"name": "value",
|
|
1786
|
-
"nameLocation": "
|
|
2412
|
+
"nameLocation": "1661:5:12",
|
|
1787
2413
|
"nodeType": "VariableDeclaration",
|
|
1788
|
-
"scope":
|
|
1789
|
-
"src": "
|
|
2414
|
+
"scope": 63046,
|
|
2415
|
+
"src": "1644:22:12",
|
|
1790
2416
|
"stateVariable": false,
|
|
1791
2417
|
"storageLocation": "memory",
|
|
1792
2418
|
"typeDescriptions": {
|
|
@@ -1795,19 +2421,19 @@
|
|
|
1795
2421
|
},
|
|
1796
2422
|
"typeName": {
|
|
1797
2423
|
"baseType": {
|
|
1798
|
-
"id":
|
|
2424
|
+
"id": 63000,
|
|
1799
2425
|
"name": "address",
|
|
1800
2426
|
"nodeType": "ElementaryTypeName",
|
|
1801
|
-
"src": "
|
|
2427
|
+
"src": "1644:7:12",
|
|
1802
2428
|
"stateMutability": "nonpayable",
|
|
1803
2429
|
"typeDescriptions": {
|
|
1804
2430
|
"typeIdentifier": "t_address",
|
|
1805
2431
|
"typeString": "address"
|
|
1806
2432
|
}
|
|
1807
2433
|
},
|
|
1808
|
-
"id":
|
|
2434
|
+
"id": 63001,
|
|
1809
2435
|
"nodeType": "ArrayTypeName",
|
|
1810
|
-
"src": "
|
|
2436
|
+
"src": "1644:9:12",
|
|
1811
2437
|
"typeDescriptions": {
|
|
1812
2438
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
|
1813
2439
|
"typeString": "address[]"
|
|
@@ -1816,38 +2442,38 @@
|
|
|
1816
2442
|
"visibility": "internal"
|
|
1817
2443
|
}
|
|
1818
2444
|
],
|
|
1819
|
-
"src": "
|
|
2445
|
+
"src": "1643:24:12"
|
|
1820
2446
|
},
|
|
1821
|
-
"scope":
|
|
2447
|
+
"scope": 63185,
|
|
1822
2448
|
"stateMutability": "view",
|
|
1823
2449
|
"virtual": false,
|
|
1824
2450
|
"visibility": "internal"
|
|
1825
2451
|
},
|
|
1826
2452
|
{
|
|
1827
|
-
"id":
|
|
2453
|
+
"id": 63090,
|
|
1828
2454
|
"nodeType": "FunctionDefinition",
|
|
1829
|
-
"src": "
|
|
2455
|
+
"src": "1944:239:12",
|
|
1830
2456
|
"nodes": [],
|
|
1831
2457
|
"body": {
|
|
1832
|
-
"id":
|
|
2458
|
+
"id": 63089,
|
|
1833
2459
|
"nodeType": "Block",
|
|
1834
|
-
"src": "
|
|
2460
|
+
"src": "2003:180:12",
|
|
1835
2461
|
"nodes": [],
|
|
1836
2462
|
"statements": [
|
|
1837
2463
|
{
|
|
1838
2464
|
"assignments": [
|
|
1839
|
-
|
|
2465
|
+
63059
|
|
1840
2466
|
],
|
|
1841
2467
|
"declarations": [
|
|
1842
2468
|
{
|
|
1843
2469
|
"constant": false,
|
|
1844
|
-
"id":
|
|
2470
|
+
"id": 63059,
|
|
1845
2471
|
"mutability": "mutable",
|
|
1846
2472
|
"name": "_primaryKeys",
|
|
1847
|
-
"nameLocation": "
|
|
2473
|
+
"nameLocation": "2026:12:12",
|
|
1848
2474
|
"nodeType": "VariableDeclaration",
|
|
1849
|
-
"scope":
|
|
1850
|
-
"src": "
|
|
2475
|
+
"scope": 63089,
|
|
2476
|
+
"src": "2009:29:12",
|
|
1851
2477
|
"stateVariable": false,
|
|
1852
2478
|
"storageLocation": "memory",
|
|
1853
2479
|
"typeDescriptions": {
|
|
@@ -1856,18 +2482,18 @@
|
|
|
1856
2482
|
},
|
|
1857
2483
|
"typeName": {
|
|
1858
2484
|
"baseType": {
|
|
1859
|
-
"id":
|
|
2485
|
+
"id": 63057,
|
|
1860
2486
|
"name": "bytes32",
|
|
1861
2487
|
"nodeType": "ElementaryTypeName",
|
|
1862
|
-
"src": "
|
|
2488
|
+
"src": "2009:7:12",
|
|
1863
2489
|
"typeDescriptions": {
|
|
1864
2490
|
"typeIdentifier": "t_bytes32",
|
|
1865
2491
|
"typeString": "bytes32"
|
|
1866
2492
|
}
|
|
1867
2493
|
},
|
|
1868
|
-
"id":
|
|
2494
|
+
"id": 63058,
|
|
1869
2495
|
"nodeType": "ArrayTypeName",
|
|
1870
|
-
"src": "
|
|
2496
|
+
"src": "2009:9:12",
|
|
1871
2497
|
"typeDescriptions": {
|
|
1872
2498
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1873
2499
|
"typeString": "bytes32[]"
|
|
@@ -1876,19 +2502,19 @@
|
|
|
1876
2502
|
"visibility": "internal"
|
|
1877
2503
|
}
|
|
1878
2504
|
],
|
|
1879
|
-
"id":
|
|
2505
|
+
"id": 63065,
|
|
1880
2506
|
"initialValue": {
|
|
1881
2507
|
"arguments": [
|
|
1882
2508
|
{
|
|
1883
2509
|
"hexValue": "31",
|
|
1884
|
-
"id":
|
|
2510
|
+
"id": 63063,
|
|
1885
2511
|
"isConstant": false,
|
|
1886
2512
|
"isLValue": false,
|
|
1887
2513
|
"isPure": true,
|
|
1888
2514
|
"kind": "number",
|
|
1889
2515
|
"lValueRequested": false,
|
|
1890
2516
|
"nodeType": "Literal",
|
|
1891
|
-
"src": "
|
|
2517
|
+
"src": "2055:1:12",
|
|
1892
2518
|
"typeDescriptions": {
|
|
1893
2519
|
"typeIdentifier": "t_rational_1_by_1",
|
|
1894
2520
|
"typeString": "int_const 1"
|
|
@@ -1903,38 +2529,38 @@
|
|
|
1903
2529
|
"typeString": "int_const 1"
|
|
1904
2530
|
}
|
|
1905
2531
|
],
|
|
1906
|
-
"id":
|
|
2532
|
+
"id": 63062,
|
|
1907
2533
|
"isConstant": false,
|
|
1908
2534
|
"isLValue": false,
|
|
1909
2535
|
"isPure": true,
|
|
1910
2536
|
"lValueRequested": false,
|
|
1911
2537
|
"nodeType": "NewExpression",
|
|
1912
|
-
"src": "
|
|
2538
|
+
"src": "2041:13:12",
|
|
1913
2539
|
"typeDescriptions": {
|
|
1914
2540
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
1915
2541
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
|
1916
2542
|
},
|
|
1917
2543
|
"typeName": {
|
|
1918
2544
|
"baseType": {
|
|
1919
|
-
"id":
|
|
2545
|
+
"id": 63060,
|
|
1920
2546
|
"name": "bytes32",
|
|
1921
2547
|
"nodeType": "ElementaryTypeName",
|
|
1922
|
-
"src": "
|
|
2548
|
+
"src": "2045:7:12",
|
|
1923
2549
|
"typeDescriptions": {
|
|
1924
2550
|
"typeIdentifier": "t_bytes32",
|
|
1925
2551
|
"typeString": "bytes32"
|
|
1926
2552
|
}
|
|
1927
2553
|
},
|
|
1928
|
-
"id":
|
|
2554
|
+
"id": 63061,
|
|
1929
2555
|
"nodeType": "ArrayTypeName",
|
|
1930
|
-
"src": "
|
|
2556
|
+
"src": "2045:9:12",
|
|
1931
2557
|
"typeDescriptions": {
|
|
1932
2558
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1933
2559
|
"typeString": "bytes32[]"
|
|
1934
2560
|
}
|
|
1935
2561
|
}
|
|
1936
2562
|
},
|
|
1937
|
-
"id":
|
|
2563
|
+
"id": 63064,
|
|
1938
2564
|
"isConstant": false,
|
|
1939
2565
|
"isLValue": false,
|
|
1940
2566
|
"isPure": true,
|
|
@@ -1942,7 +2568,7 @@
|
|
|
1942
2568
|
"lValueRequested": false,
|
|
1943
2569
|
"names": [],
|
|
1944
2570
|
"nodeType": "FunctionCall",
|
|
1945
|
-
"src": "
|
|
2571
|
+
"src": "2041:16:12",
|
|
1946
2572
|
"tryCall": false,
|
|
1947
2573
|
"typeDescriptions": {
|
|
1948
2574
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -1950,39 +2576,39 @@
|
|
|
1950
2576
|
}
|
|
1951
2577
|
},
|
|
1952
2578
|
"nodeType": "VariableDeclarationStatement",
|
|
1953
|
-
"src": "
|
|
2579
|
+
"src": "2009:48:12"
|
|
1954
2580
|
},
|
|
1955
2581
|
{
|
|
1956
2582
|
"expression": {
|
|
1957
|
-
"id":
|
|
2583
|
+
"id": 63074,
|
|
1958
2584
|
"isConstant": false,
|
|
1959
2585
|
"isLValue": false,
|
|
1960
2586
|
"isPure": false,
|
|
1961
2587
|
"lValueRequested": false,
|
|
1962
2588
|
"leftHandSide": {
|
|
1963
2589
|
"baseExpression": {
|
|
1964
|
-
"id":
|
|
2590
|
+
"id": 63066,
|
|
1965
2591
|
"name": "_primaryKeys",
|
|
1966
2592
|
"nodeType": "Identifier",
|
|
1967
2593
|
"overloadedDeclarations": [],
|
|
1968
|
-
"referencedDeclaration":
|
|
1969
|
-
"src": "
|
|
2594
|
+
"referencedDeclaration": 63059,
|
|
2595
|
+
"src": "2063:12:12",
|
|
1970
2596
|
"typeDescriptions": {
|
|
1971
2597
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
1972
2598
|
"typeString": "bytes32[] memory"
|
|
1973
2599
|
}
|
|
1974
2600
|
},
|
|
1975
|
-
"id":
|
|
2601
|
+
"id": 63068,
|
|
1976
2602
|
"indexExpression": {
|
|
1977
2603
|
"hexValue": "30",
|
|
1978
|
-
"id":
|
|
2604
|
+
"id": 63067,
|
|
1979
2605
|
"isConstant": false,
|
|
1980
2606
|
"isLValue": false,
|
|
1981
2607
|
"isPure": true,
|
|
1982
2608
|
"kind": "number",
|
|
1983
2609
|
"lValueRequested": false,
|
|
1984
2610
|
"nodeType": "Literal",
|
|
1985
|
-
"src": "
|
|
2611
|
+
"src": "2076:1:12",
|
|
1986
2612
|
"typeDescriptions": {
|
|
1987
2613
|
"typeIdentifier": "t_rational_0_by_1",
|
|
1988
2614
|
"typeString": "int_const 0"
|
|
@@ -1994,7 +2620,7 @@
|
|
|
1994
2620
|
"isPure": false,
|
|
1995
2621
|
"lValueRequested": true,
|
|
1996
2622
|
"nodeType": "IndexAccess",
|
|
1997
|
-
"src": "
|
|
2623
|
+
"src": "2063:15:12",
|
|
1998
2624
|
"typeDescriptions": {
|
|
1999
2625
|
"typeIdentifier": "t_bytes32",
|
|
2000
2626
|
"typeString": "bytes32"
|
|
@@ -2005,12 +2631,28 @@
|
|
|
2005
2631
|
"rightHandSide": {
|
|
2006
2632
|
"arguments": [
|
|
2007
2633
|
{
|
|
2008
|
-
"
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2634
|
+
"components": [
|
|
2635
|
+
{
|
|
2636
|
+
"id": 63071,
|
|
2637
|
+
"name": "key",
|
|
2638
|
+
"nodeType": "Identifier",
|
|
2639
|
+
"overloadedDeclarations": [],
|
|
2640
|
+
"referencedDeclaration": 63049,
|
|
2641
|
+
"src": "2090:3:12",
|
|
2642
|
+
"typeDescriptions": {
|
|
2643
|
+
"typeIdentifier": "t_bytes32",
|
|
2644
|
+
"typeString": "bytes32"
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
],
|
|
2648
|
+
"id": 63072,
|
|
2649
|
+
"isConstant": false,
|
|
2650
|
+
"isInlineArray": false,
|
|
2651
|
+
"isLValue": false,
|
|
2652
|
+
"isPure": false,
|
|
2653
|
+
"lValueRequested": false,
|
|
2654
|
+
"nodeType": "TupleExpression",
|
|
2655
|
+
"src": "2089:5:12",
|
|
2014
2656
|
"typeDescriptions": {
|
|
2015
2657
|
"typeIdentifier": "t_bytes32",
|
|
2016
2658
|
"typeString": "bytes32"
|
|
@@ -2024,26 +2666,26 @@
|
|
|
2024
2666
|
"typeString": "bytes32"
|
|
2025
2667
|
}
|
|
2026
2668
|
],
|
|
2027
|
-
"id":
|
|
2669
|
+
"id": 63070,
|
|
2028
2670
|
"isConstant": false,
|
|
2029
2671
|
"isLValue": false,
|
|
2030
2672
|
"isPure": true,
|
|
2031
2673
|
"lValueRequested": false,
|
|
2032
2674
|
"nodeType": "ElementaryTypeNameExpression",
|
|
2033
|
-
"src": "
|
|
2675
|
+
"src": "2081:7:12",
|
|
2034
2676
|
"typeDescriptions": {
|
|
2035
2677
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
|
2036
2678
|
"typeString": "type(bytes32)"
|
|
2037
2679
|
},
|
|
2038
2680
|
"typeName": {
|
|
2039
|
-
"id":
|
|
2681
|
+
"id": 63069,
|
|
2040
2682
|
"name": "bytes32",
|
|
2041
2683
|
"nodeType": "ElementaryTypeName",
|
|
2042
|
-
"src": "
|
|
2684
|
+
"src": "2081:7:12",
|
|
2043
2685
|
"typeDescriptions": {}
|
|
2044
2686
|
}
|
|
2045
2687
|
},
|
|
2046
|
-
"id":
|
|
2688
|
+
"id": 63073,
|
|
2047
2689
|
"isConstant": false,
|
|
2048
2690
|
"isLValue": false,
|
|
2049
2691
|
"isPure": false,
|
|
@@ -2051,45 +2693,45 @@
|
|
|
2051
2693
|
"lValueRequested": false,
|
|
2052
2694
|
"names": [],
|
|
2053
2695
|
"nodeType": "FunctionCall",
|
|
2054
|
-
"src": "
|
|
2696
|
+
"src": "2081:14:12",
|
|
2055
2697
|
"tryCall": false,
|
|
2056
2698
|
"typeDescriptions": {
|
|
2057
2699
|
"typeIdentifier": "t_bytes32",
|
|
2058
2700
|
"typeString": "bytes32"
|
|
2059
2701
|
}
|
|
2060
2702
|
},
|
|
2061
|
-
"src": "
|
|
2703
|
+
"src": "2063:32:12",
|
|
2062
2704
|
"typeDescriptions": {
|
|
2063
2705
|
"typeIdentifier": "t_bytes32",
|
|
2064
2706
|
"typeString": "bytes32"
|
|
2065
2707
|
}
|
|
2066
2708
|
},
|
|
2067
|
-
"id":
|
|
2709
|
+
"id": 63075,
|
|
2068
2710
|
"nodeType": "ExpressionStatement",
|
|
2069
|
-
"src": "
|
|
2711
|
+
"src": "2063:32:12"
|
|
2070
2712
|
},
|
|
2071
2713
|
{
|
|
2072
2714
|
"expression": {
|
|
2073
2715
|
"arguments": [
|
|
2074
2716
|
{
|
|
2075
|
-
"id":
|
|
2717
|
+
"id": 63079,
|
|
2076
2718
|
"name": "_tableId",
|
|
2077
2719
|
"nodeType": "Identifier",
|
|
2078
2720
|
"overloadedDeclarations": [],
|
|
2079
|
-
"referencedDeclaration":
|
|
2080
|
-
"src": "
|
|
2721
|
+
"referencedDeclaration": 62895,
|
|
2722
|
+
"src": "2123:8:12",
|
|
2081
2723
|
"typeDescriptions": {
|
|
2082
2724
|
"typeIdentifier": "t_uint256",
|
|
2083
2725
|
"typeString": "uint256"
|
|
2084
2726
|
}
|
|
2085
2727
|
},
|
|
2086
2728
|
{
|
|
2087
|
-
"id":
|
|
2729
|
+
"id": 63080,
|
|
2088
2730
|
"name": "_primaryKeys",
|
|
2089
2731
|
"nodeType": "Identifier",
|
|
2090
2732
|
"overloadedDeclarations": [],
|
|
2091
|
-
"referencedDeclaration":
|
|
2092
|
-
"src": "
|
|
2733
|
+
"referencedDeclaration": 63059,
|
|
2734
|
+
"src": "2133:12:12",
|
|
2093
2735
|
"typeDescriptions": {
|
|
2094
2736
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
2095
2737
|
"typeString": "bytes32[] memory"
|
|
@@ -2097,14 +2739,14 @@
|
|
|
2097
2739
|
},
|
|
2098
2740
|
{
|
|
2099
2741
|
"hexValue": "30",
|
|
2100
|
-
"id":
|
|
2742
|
+
"id": 63081,
|
|
2101
2743
|
"isConstant": false,
|
|
2102
2744
|
"isLValue": false,
|
|
2103
2745
|
"isPure": true,
|
|
2104
2746
|
"kind": "number",
|
|
2105
2747
|
"lValueRequested": false,
|
|
2106
2748
|
"nodeType": "Literal",
|
|
2107
|
-
"src": "
|
|
2749
|
+
"src": "2147:1:12",
|
|
2108
2750
|
"typeDescriptions": {
|
|
2109
2751
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2110
2752
|
"typeString": "int_const 0"
|
|
@@ -2114,12 +2756,28 @@
|
|
|
2114
2756
|
{
|
|
2115
2757
|
"arguments": [
|
|
2116
2758
|
{
|
|
2117
|
-
"
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2759
|
+
"components": [
|
|
2760
|
+
{
|
|
2761
|
+
"id": 63084,
|
|
2762
|
+
"name": "value",
|
|
2763
|
+
"nodeType": "Identifier",
|
|
2764
|
+
"overloadedDeclarations": [],
|
|
2765
|
+
"referencedDeclaration": 63052,
|
|
2766
|
+
"src": "2170:5:12",
|
|
2767
|
+
"typeDescriptions": {
|
|
2768
|
+
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2769
|
+
"typeString": "address[] memory"
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
],
|
|
2773
|
+
"id": 63085,
|
|
2774
|
+
"isConstant": false,
|
|
2775
|
+
"isInlineArray": false,
|
|
2776
|
+
"isLValue": false,
|
|
2777
|
+
"isPure": false,
|
|
2778
|
+
"lValueRequested": false,
|
|
2779
|
+
"nodeType": "TupleExpression",
|
|
2780
|
+
"src": "2169:7:12",
|
|
2123
2781
|
"typeDescriptions": {
|
|
2124
2782
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
2125
2783
|
"typeString": "address[] memory"
|
|
@@ -2134,32 +2792,32 @@
|
|
|
2134
2792
|
}
|
|
2135
2793
|
],
|
|
2136
2794
|
"expression": {
|
|
2137
|
-
"id":
|
|
2795
|
+
"id": 63082,
|
|
2138
2796
|
"name": "EncodeArray",
|
|
2139
2797
|
"nodeType": "Identifier",
|
|
2140
2798
|
"overloadedDeclarations": [],
|
|
2141
|
-
"referencedDeclaration":
|
|
2142
|
-
"src": "
|
|
2799
|
+
"referencedDeclaration": 8158,
|
|
2800
|
+
"src": "2150:11:12",
|
|
2143
2801
|
"typeDescriptions": {
|
|
2144
|
-
"typeIdentifier": "t_type$_t_contract$_EncodeArray_$
|
|
2802
|
+
"typeIdentifier": "t_type$_t_contract$_EncodeArray_$8158_$",
|
|
2145
2803
|
"typeString": "type(library EncodeArray)"
|
|
2146
2804
|
}
|
|
2147
2805
|
},
|
|
2148
|
-
"id":
|
|
2806
|
+
"id": 63083,
|
|
2149
2807
|
"isConstant": false,
|
|
2150
2808
|
"isLValue": false,
|
|
2151
2809
|
"isPure": false,
|
|
2152
2810
|
"lValueRequested": false,
|
|
2153
2811
|
"memberName": "encode",
|
|
2154
2812
|
"nodeType": "MemberAccess",
|
|
2155
|
-
"referencedDeclaration":
|
|
2156
|
-
"src": "
|
|
2813
|
+
"referencedDeclaration": 8070,
|
|
2814
|
+
"src": "2150:18:12",
|
|
2157
2815
|
"typeDescriptions": {
|
|
2158
2816
|
"typeIdentifier": "t_function_internal_pure$_t_array$_t_address_$dyn_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
|
2159
2817
|
"typeString": "function (address[] memory) pure returns (bytes memory)"
|
|
2160
2818
|
}
|
|
2161
2819
|
},
|
|
2162
|
-
"id":
|
|
2820
|
+
"id": 63086,
|
|
2163
2821
|
"isConstant": false,
|
|
2164
2822
|
"isLValue": false,
|
|
2165
2823
|
"isPure": false,
|
|
@@ -2167,7 +2825,7 @@
|
|
|
2167
2825
|
"lValueRequested": false,
|
|
2168
2826
|
"names": [],
|
|
2169
2827
|
"nodeType": "FunctionCall",
|
|
2170
|
-
"src": "
|
|
2828
|
+
"src": "2150:27:12",
|
|
2171
2829
|
"tryCall": false,
|
|
2172
2830
|
"typeDescriptions": {
|
|
2173
2831
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -2195,32 +2853,32 @@
|
|
|
2195
2853
|
}
|
|
2196
2854
|
],
|
|
2197
2855
|
"expression": {
|
|
2198
|
-
"id":
|
|
2856
|
+
"id": 63076,
|
|
2199
2857
|
"name": "StoreSwitch",
|
|
2200
2858
|
"nodeType": "Identifier",
|
|
2201
2859
|
"overloadedDeclarations": [],
|
|
2202
|
-
"referencedDeclaration":
|
|
2203
|
-
"src": "
|
|
2860
|
+
"referencedDeclaration": 4886,
|
|
2861
|
+
"src": "2102:11:12",
|
|
2204
2862
|
"typeDescriptions": {
|
|
2205
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
|
2863
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$4886_$",
|
|
2206
2864
|
"typeString": "type(library StoreSwitch)"
|
|
2207
2865
|
}
|
|
2208
2866
|
},
|
|
2209
|
-
"id":
|
|
2867
|
+
"id": 63078,
|
|
2210
2868
|
"isConstant": false,
|
|
2211
2869
|
"isLValue": false,
|
|
2212
2870
|
"isPure": false,
|
|
2213
2871
|
"lValueRequested": false,
|
|
2214
2872
|
"memberName": "setField",
|
|
2215
2873
|
"nodeType": "MemberAccess",
|
|
2216
|
-
"referencedDeclaration":
|
|
2217
|
-
"src": "
|
|
2874
|
+
"referencedDeclaration": 4715,
|
|
2875
|
+
"src": "2102:20:12",
|
|
2218
2876
|
"typeDescriptions": {
|
|
2219
2877
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$",
|
|
2220
2878
|
"typeString": "function (uint256,bytes32[] memory,uint8,bytes memory)"
|
|
2221
2879
|
}
|
|
2222
2880
|
},
|
|
2223
|
-
"id":
|
|
2881
|
+
"id": 63087,
|
|
2224
2882
|
"isConstant": false,
|
|
2225
2883
|
"isLValue": false,
|
|
2226
2884
|
"isPure": false,
|
|
@@ -2228,43 +2886,43 @@
|
|
|
2228
2886
|
"lValueRequested": false,
|
|
2229
2887
|
"names": [],
|
|
2230
2888
|
"nodeType": "FunctionCall",
|
|
2231
|
-
"src": "
|
|
2889
|
+
"src": "2102:76:12",
|
|
2232
2890
|
"tryCall": false,
|
|
2233
2891
|
"typeDescriptions": {
|
|
2234
2892
|
"typeIdentifier": "t_tuple$__$",
|
|
2235
2893
|
"typeString": "tuple()"
|
|
2236
2894
|
}
|
|
2237
2895
|
},
|
|
2238
|
-
"id":
|
|
2896
|
+
"id": 63088,
|
|
2239
2897
|
"nodeType": "ExpressionStatement",
|
|
2240
|
-
"src": "
|
|
2898
|
+
"src": "2102:76:12"
|
|
2241
2899
|
}
|
|
2242
2900
|
]
|
|
2243
2901
|
},
|
|
2244
2902
|
"documentation": {
|
|
2245
|
-
"id":
|
|
2903
|
+
"id": 63047,
|
|
2246
2904
|
"nodeType": "StructuredDocumentation",
|
|
2247
|
-
"src": "
|
|
2905
|
+
"src": "1925:16:12",
|
|
2248
2906
|
"text": "Set value "
|
|
2249
2907
|
},
|
|
2250
2908
|
"implemented": true,
|
|
2251
2909
|
"kind": "function",
|
|
2252
2910
|
"modifiers": [],
|
|
2253
2911
|
"name": "set",
|
|
2254
|
-
"nameLocation": "
|
|
2912
|
+
"nameLocation": "1953:3:12",
|
|
2255
2913
|
"parameters": {
|
|
2256
|
-
"id":
|
|
2914
|
+
"id": 63053,
|
|
2257
2915
|
"nodeType": "ParameterList",
|
|
2258
2916
|
"parameters": [
|
|
2259
2917
|
{
|
|
2260
2918
|
"constant": false,
|
|
2261
|
-
"id":
|
|
2919
|
+
"id": 63049,
|
|
2262
2920
|
"mutability": "mutable",
|
|
2263
2921
|
"name": "key",
|
|
2264
|
-
"nameLocation": "
|
|
2922
|
+
"nameLocation": "1965:3:12",
|
|
2265
2923
|
"nodeType": "VariableDeclaration",
|
|
2266
|
-
"scope":
|
|
2267
|
-
"src": "
|
|
2924
|
+
"scope": 63090,
|
|
2925
|
+
"src": "1957:11:12",
|
|
2268
2926
|
"stateVariable": false,
|
|
2269
2927
|
"storageLocation": "default",
|
|
2270
2928
|
"typeDescriptions": {
|
|
@@ -2272,10 +2930,10 @@
|
|
|
2272
2930
|
"typeString": "bytes32"
|
|
2273
2931
|
},
|
|
2274
2932
|
"typeName": {
|
|
2275
|
-
"id":
|
|
2933
|
+
"id": 63048,
|
|
2276
2934
|
"name": "bytes32",
|
|
2277
2935
|
"nodeType": "ElementaryTypeName",
|
|
2278
|
-
"src": "
|
|
2936
|
+
"src": "1957:7:12",
|
|
2279
2937
|
"typeDescriptions": {
|
|
2280
2938
|
"typeIdentifier": "t_bytes32",
|
|
2281
2939
|
"typeString": "bytes32"
|
|
@@ -2285,13 +2943,13 @@
|
|
|
2285
2943
|
},
|
|
2286
2944
|
{
|
|
2287
2945
|
"constant": false,
|
|
2288
|
-
"id":
|
|
2946
|
+
"id": 63052,
|
|
2289
2947
|
"mutability": "mutable",
|
|
2290
2948
|
"name": "value",
|
|
2291
|
-
"nameLocation": "
|
|
2949
|
+
"nameLocation": "1987:5:12",
|
|
2292
2950
|
"nodeType": "VariableDeclaration",
|
|
2293
|
-
"scope":
|
|
2294
|
-
"src": "
|
|
2951
|
+
"scope": 63090,
|
|
2952
|
+
"src": "1970:22:12",
|
|
2295
2953
|
"stateVariable": false,
|
|
2296
2954
|
"storageLocation": "memory",
|
|
2297
2955
|
"typeDescriptions": {
|
|
@@ -2300,19 +2958,19 @@
|
|
|
2300
2958
|
},
|
|
2301
2959
|
"typeName": {
|
|
2302
2960
|
"baseType": {
|
|
2303
|
-
"id":
|
|
2961
|
+
"id": 63050,
|
|
2304
2962
|
"name": "address",
|
|
2305
2963
|
"nodeType": "ElementaryTypeName",
|
|
2306
|
-
"src": "
|
|
2964
|
+
"src": "1970:7:12",
|
|
2307
2965
|
"stateMutability": "nonpayable",
|
|
2308
2966
|
"typeDescriptions": {
|
|
2309
2967
|
"typeIdentifier": "t_address",
|
|
2310
2968
|
"typeString": "address"
|
|
2311
2969
|
}
|
|
2312
2970
|
},
|
|
2313
|
-
"id":
|
|
2971
|
+
"id": 63051,
|
|
2314
2972
|
"nodeType": "ArrayTypeName",
|
|
2315
|
-
"src": "
|
|
2973
|
+
"src": "1970:9:12",
|
|
2316
2974
|
"typeDescriptions": {
|
|
2317
2975
|
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
|
2318
2976
|
"typeString": "address[]"
|
|
@@ -2321,44 +2979,44 @@
|
|
|
2321
2979
|
"visibility": "internal"
|
|
2322
2980
|
}
|
|
2323
2981
|
],
|
|
2324
|
-
"src": "
|
|
2982
|
+
"src": "1956:37:12"
|
|
2325
2983
|
},
|
|
2326
2984
|
"returnParameters": {
|
|
2327
|
-
"id":
|
|
2985
|
+
"id": 63054,
|
|
2328
2986
|
"nodeType": "ParameterList",
|
|
2329
2987
|
"parameters": [],
|
|
2330
|
-
"src": "
|
|
2988
|
+
"src": "2003:0:12"
|
|
2331
2989
|
},
|
|
2332
|
-
"scope":
|
|
2990
|
+
"scope": 63185,
|
|
2333
2991
|
"stateMutability": "nonpayable",
|
|
2334
2992
|
"virtual": false,
|
|
2335
2993
|
"visibility": "internal"
|
|
2336
2994
|
},
|
|
2337
2995
|
{
|
|
2338
|
-
"id":
|
|
2996
|
+
"id": 63150,
|
|
2339
2997
|
"nodeType": "FunctionDefinition",
|
|
2340
|
-
"src": "
|
|
2998
|
+
"src": "2221:372:12",
|
|
2341
2999
|
"nodes": [],
|
|
2342
3000
|
"body": {
|
|
2343
|
-
"id":
|
|
3001
|
+
"id": 63149,
|
|
2344
3002
|
"nodeType": "Block",
|
|
2345
|
-
"src": "
|
|
3003
|
+
"src": "2275:318:12",
|
|
2346
3004
|
"nodes": [],
|
|
2347
3005
|
"statements": [
|
|
2348
3006
|
{
|
|
2349
3007
|
"assignments": [
|
|
2350
|
-
|
|
3008
|
+
63102
|
|
2351
3009
|
],
|
|
2352
3010
|
"declarations": [
|
|
2353
3011
|
{
|
|
2354
3012
|
"constant": false,
|
|
2355
|
-
"id":
|
|
3013
|
+
"id": 63102,
|
|
2356
3014
|
"mutability": "mutable",
|
|
2357
3015
|
"name": "_primaryKeys",
|
|
2358
|
-
"nameLocation": "
|
|
3016
|
+
"nameLocation": "2298:12:12",
|
|
2359
3017
|
"nodeType": "VariableDeclaration",
|
|
2360
|
-
"scope":
|
|
2361
|
-
"src": "
|
|
3018
|
+
"scope": 63149,
|
|
3019
|
+
"src": "2281:29:12",
|
|
2362
3020
|
"stateVariable": false,
|
|
2363
3021
|
"storageLocation": "memory",
|
|
2364
3022
|
"typeDescriptions": {
|
|
@@ -2367,18 +3025,18 @@
|
|
|
2367
3025
|
},
|
|
2368
3026
|
"typeName": {
|
|
2369
3027
|
"baseType": {
|
|
2370
|
-
"id":
|
|
3028
|
+
"id": 63100,
|
|
2371
3029
|
"name": "bytes32",
|
|
2372
3030
|
"nodeType": "ElementaryTypeName",
|
|
2373
|
-
"src": "
|
|
3031
|
+
"src": "2281:7:12",
|
|
2374
3032
|
"typeDescriptions": {
|
|
2375
3033
|
"typeIdentifier": "t_bytes32",
|
|
2376
3034
|
"typeString": "bytes32"
|
|
2377
3035
|
}
|
|
2378
3036
|
},
|
|
2379
|
-
"id":
|
|
3037
|
+
"id": 63101,
|
|
2380
3038
|
"nodeType": "ArrayTypeName",
|
|
2381
|
-
"src": "
|
|
3039
|
+
"src": "2281:9:12",
|
|
2382
3040
|
"typeDescriptions": {
|
|
2383
3041
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2384
3042
|
"typeString": "bytes32[]"
|
|
@@ -2387,19 +3045,19 @@
|
|
|
2387
3045
|
"visibility": "internal"
|
|
2388
3046
|
}
|
|
2389
3047
|
],
|
|
2390
|
-
"id":
|
|
3048
|
+
"id": 63108,
|
|
2391
3049
|
"initialValue": {
|
|
2392
3050
|
"arguments": [
|
|
2393
3051
|
{
|
|
2394
3052
|
"hexValue": "31",
|
|
2395
|
-
"id":
|
|
3053
|
+
"id": 63106,
|
|
2396
3054
|
"isConstant": false,
|
|
2397
3055
|
"isLValue": false,
|
|
2398
3056
|
"isPure": true,
|
|
2399
3057
|
"kind": "number",
|
|
2400
3058
|
"lValueRequested": false,
|
|
2401
3059
|
"nodeType": "Literal",
|
|
2402
|
-
"src": "
|
|
3060
|
+
"src": "2327:1:12",
|
|
2403
3061
|
"typeDescriptions": {
|
|
2404
3062
|
"typeIdentifier": "t_rational_1_by_1",
|
|
2405
3063
|
"typeString": "int_const 1"
|
|
@@ -2414,38 +3072,38 @@
|
|
|
2414
3072
|
"typeString": "int_const 1"
|
|
2415
3073
|
}
|
|
2416
3074
|
],
|
|
2417
|
-
"id":
|
|
3075
|
+
"id": 63105,
|
|
2418
3076
|
"isConstant": false,
|
|
2419
3077
|
"isLValue": false,
|
|
2420
3078
|
"isPure": true,
|
|
2421
3079
|
"lValueRequested": false,
|
|
2422
3080
|
"nodeType": "NewExpression",
|
|
2423
|
-
"src": "
|
|
3081
|
+
"src": "2313:13:12",
|
|
2424
3082
|
"typeDescriptions": {
|
|
2425
3083
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
2426
3084
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
|
2427
3085
|
},
|
|
2428
3086
|
"typeName": {
|
|
2429
3087
|
"baseType": {
|
|
2430
|
-
"id":
|
|
3088
|
+
"id": 63103,
|
|
2431
3089
|
"name": "bytes32",
|
|
2432
3090
|
"nodeType": "ElementaryTypeName",
|
|
2433
|
-
"src": "
|
|
3091
|
+
"src": "2317:7:12",
|
|
2434
3092
|
"typeDescriptions": {
|
|
2435
3093
|
"typeIdentifier": "t_bytes32",
|
|
2436
3094
|
"typeString": "bytes32"
|
|
2437
3095
|
}
|
|
2438
3096
|
},
|
|
2439
|
-
"id":
|
|
3097
|
+
"id": 63104,
|
|
2440
3098
|
"nodeType": "ArrayTypeName",
|
|
2441
|
-
"src": "
|
|
3099
|
+
"src": "2317:9:12",
|
|
2442
3100
|
"typeDescriptions": {
|
|
2443
3101
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2444
3102
|
"typeString": "bytes32[]"
|
|
2445
3103
|
}
|
|
2446
3104
|
}
|
|
2447
3105
|
},
|
|
2448
|
-
"id":
|
|
3106
|
+
"id": 63107,
|
|
2449
3107
|
"isConstant": false,
|
|
2450
3108
|
"isLValue": false,
|
|
2451
3109
|
"isPure": true,
|
|
@@ -2453,7 +3111,7 @@
|
|
|
2453
3111
|
"lValueRequested": false,
|
|
2454
3112
|
"names": [],
|
|
2455
3113
|
"nodeType": "FunctionCall",
|
|
2456
|
-
"src": "
|
|
3114
|
+
"src": "2313:16:12",
|
|
2457
3115
|
"tryCall": false,
|
|
2458
3116
|
"typeDescriptions": {
|
|
2459
3117
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -2461,39 +3119,39 @@
|
|
|
2461
3119
|
}
|
|
2462
3120
|
},
|
|
2463
3121
|
"nodeType": "VariableDeclarationStatement",
|
|
2464
|
-
"src": "
|
|
3122
|
+
"src": "2281:48:12"
|
|
2465
3123
|
},
|
|
2466
3124
|
{
|
|
2467
3125
|
"expression": {
|
|
2468
|
-
"id":
|
|
3126
|
+
"id": 63117,
|
|
2469
3127
|
"isConstant": false,
|
|
2470
3128
|
"isLValue": false,
|
|
2471
3129
|
"isPure": false,
|
|
2472
3130
|
"lValueRequested": false,
|
|
2473
3131
|
"leftHandSide": {
|
|
2474
3132
|
"baseExpression": {
|
|
2475
|
-
"id":
|
|
3133
|
+
"id": 63109,
|
|
2476
3134
|
"name": "_primaryKeys",
|
|
2477
3135
|
"nodeType": "Identifier",
|
|
2478
3136
|
"overloadedDeclarations": [],
|
|
2479
|
-
"referencedDeclaration":
|
|
2480
|
-
"src": "
|
|
3137
|
+
"referencedDeclaration": 63102,
|
|
3138
|
+
"src": "2335:12:12",
|
|
2481
3139
|
"typeDescriptions": {
|
|
2482
3140
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
2483
3141
|
"typeString": "bytes32[] memory"
|
|
2484
3142
|
}
|
|
2485
3143
|
},
|
|
2486
|
-
"id":
|
|
3144
|
+
"id": 63111,
|
|
2487
3145
|
"indexExpression": {
|
|
2488
3146
|
"hexValue": "30",
|
|
2489
|
-
"id":
|
|
3147
|
+
"id": 63110,
|
|
2490
3148
|
"isConstant": false,
|
|
2491
3149
|
"isLValue": false,
|
|
2492
3150
|
"isPure": true,
|
|
2493
3151
|
"kind": "number",
|
|
2494
3152
|
"lValueRequested": false,
|
|
2495
3153
|
"nodeType": "Literal",
|
|
2496
|
-
"src": "
|
|
3154
|
+
"src": "2348:1:12",
|
|
2497
3155
|
"typeDescriptions": {
|
|
2498
3156
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2499
3157
|
"typeString": "int_const 0"
|
|
@@ -2505,7 +3163,7 @@
|
|
|
2505
3163
|
"isPure": false,
|
|
2506
3164
|
"lValueRequested": true,
|
|
2507
3165
|
"nodeType": "IndexAccess",
|
|
2508
|
-
"src": "
|
|
3166
|
+
"src": "2335:15:12",
|
|
2509
3167
|
"typeDescriptions": {
|
|
2510
3168
|
"typeIdentifier": "t_bytes32",
|
|
2511
3169
|
"typeString": "bytes32"
|
|
@@ -2516,12 +3174,28 @@
|
|
|
2516
3174
|
"rightHandSide": {
|
|
2517
3175
|
"arguments": [
|
|
2518
3176
|
{
|
|
2519
|
-
"
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
3177
|
+
"components": [
|
|
3178
|
+
{
|
|
3179
|
+
"id": 63114,
|
|
3180
|
+
"name": "key",
|
|
3181
|
+
"nodeType": "Identifier",
|
|
3182
|
+
"overloadedDeclarations": [],
|
|
3183
|
+
"referencedDeclaration": 63093,
|
|
3184
|
+
"src": "2362:3:12",
|
|
3185
|
+
"typeDescriptions": {
|
|
3186
|
+
"typeIdentifier": "t_bytes32",
|
|
3187
|
+
"typeString": "bytes32"
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
],
|
|
3191
|
+
"id": 63115,
|
|
3192
|
+
"isConstant": false,
|
|
3193
|
+
"isInlineArray": false,
|
|
3194
|
+
"isLValue": false,
|
|
3195
|
+
"isPure": false,
|
|
3196
|
+
"lValueRequested": false,
|
|
3197
|
+
"nodeType": "TupleExpression",
|
|
3198
|
+
"src": "2361:5:12",
|
|
2525
3199
|
"typeDescriptions": {
|
|
2526
3200
|
"typeIdentifier": "t_bytes32",
|
|
2527
3201
|
"typeString": "bytes32"
|
|
@@ -2535,26 +3209,26 @@
|
|
|
2535
3209
|
"typeString": "bytes32"
|
|
2536
3210
|
}
|
|
2537
3211
|
],
|
|
2538
|
-
"id":
|
|
3212
|
+
"id": 63113,
|
|
2539
3213
|
"isConstant": false,
|
|
2540
3214
|
"isLValue": false,
|
|
2541
3215
|
"isPure": true,
|
|
2542
3216
|
"lValueRequested": false,
|
|
2543
3217
|
"nodeType": "ElementaryTypeNameExpression",
|
|
2544
|
-
"src": "
|
|
3218
|
+
"src": "2353:7:12",
|
|
2545
3219
|
"typeDescriptions": {
|
|
2546
3220
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
|
2547
3221
|
"typeString": "type(bytes32)"
|
|
2548
3222
|
},
|
|
2549
3223
|
"typeName": {
|
|
2550
|
-
"id":
|
|
3224
|
+
"id": 63112,
|
|
2551
3225
|
"name": "bytes32",
|
|
2552
3226
|
"nodeType": "ElementaryTypeName",
|
|
2553
|
-
"src": "
|
|
3227
|
+
"src": "2353:7:12",
|
|
2554
3228
|
"typeDescriptions": {}
|
|
2555
3229
|
}
|
|
2556
3230
|
},
|
|
2557
|
-
"id":
|
|
3231
|
+
"id": 63116,
|
|
2558
3232
|
"isConstant": false,
|
|
2559
3233
|
"isLValue": false,
|
|
2560
3234
|
"isPure": false,
|
|
@@ -2562,37 +3236,37 @@
|
|
|
2562
3236
|
"lValueRequested": false,
|
|
2563
3237
|
"names": [],
|
|
2564
3238
|
"nodeType": "FunctionCall",
|
|
2565
|
-
"src": "
|
|
3239
|
+
"src": "2353:14:12",
|
|
2566
3240
|
"tryCall": false,
|
|
2567
3241
|
"typeDescriptions": {
|
|
2568
3242
|
"typeIdentifier": "t_bytes32",
|
|
2569
3243
|
"typeString": "bytes32"
|
|
2570
3244
|
}
|
|
2571
3245
|
},
|
|
2572
|
-
"src": "
|
|
3246
|
+
"src": "2335:32:12",
|
|
2573
3247
|
"typeDescriptions": {
|
|
2574
3248
|
"typeIdentifier": "t_bytes32",
|
|
2575
3249
|
"typeString": "bytes32"
|
|
2576
3250
|
}
|
|
2577
3251
|
},
|
|
2578
|
-
"id":
|
|
3252
|
+
"id": 63118,
|
|
2579
3253
|
"nodeType": "ExpressionStatement",
|
|
2580
|
-
"src": "
|
|
3254
|
+
"src": "2335:32:12"
|
|
2581
3255
|
},
|
|
2582
3256
|
{
|
|
2583
3257
|
"assignments": [
|
|
2584
|
-
|
|
3258
|
+
63120
|
|
2585
3259
|
],
|
|
2586
3260
|
"declarations": [
|
|
2587
3261
|
{
|
|
2588
3262
|
"constant": false,
|
|
2589
|
-
"id":
|
|
3263
|
+
"id": 63120,
|
|
2590
3264
|
"mutability": "mutable",
|
|
2591
3265
|
"name": "_blob",
|
|
2592
|
-
"nameLocation": "
|
|
3266
|
+
"nameLocation": "2387:5:12",
|
|
2593
3267
|
"nodeType": "VariableDeclaration",
|
|
2594
|
-
"scope":
|
|
2595
|
-
"src": "
|
|
3268
|
+
"scope": 63149,
|
|
3269
|
+
"src": "2374:18:12",
|
|
2596
3270
|
"stateVariable": false,
|
|
2597
3271
|
"storageLocation": "memory",
|
|
2598
3272
|
"typeDescriptions": {
|
|
@@ -2600,10 +3274,10 @@
|
|
|
2600
3274
|
"typeString": "bytes"
|
|
2601
3275
|
},
|
|
2602
3276
|
"typeName": {
|
|
2603
|
-
"id":
|
|
3277
|
+
"id": 63119,
|
|
2604
3278
|
"name": "bytes",
|
|
2605
3279
|
"nodeType": "ElementaryTypeName",
|
|
2606
|
-
"src": "
|
|
3280
|
+
"src": "2374:5:12",
|
|
2607
3281
|
"typeDescriptions": {
|
|
2608
3282
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2609
3283
|
"typeString": "bytes"
|
|
@@ -2612,28 +3286,28 @@
|
|
|
2612
3286
|
"visibility": "internal"
|
|
2613
3287
|
}
|
|
2614
3288
|
],
|
|
2615
|
-
"id":
|
|
3289
|
+
"id": 63127,
|
|
2616
3290
|
"initialValue": {
|
|
2617
3291
|
"arguments": [
|
|
2618
3292
|
{
|
|
2619
|
-
"id":
|
|
3293
|
+
"id": 63123,
|
|
2620
3294
|
"name": "_tableId",
|
|
2621
3295
|
"nodeType": "Identifier",
|
|
2622
3296
|
"overloadedDeclarations": [],
|
|
2623
|
-
"referencedDeclaration":
|
|
2624
|
-
"src": "
|
|
3297
|
+
"referencedDeclaration": 62895,
|
|
3298
|
+
"src": "2416:8:12",
|
|
2625
3299
|
"typeDescriptions": {
|
|
2626
3300
|
"typeIdentifier": "t_uint256",
|
|
2627
3301
|
"typeString": "uint256"
|
|
2628
3302
|
}
|
|
2629
3303
|
},
|
|
2630
3304
|
{
|
|
2631
|
-
"id":
|
|
3305
|
+
"id": 63124,
|
|
2632
3306
|
"name": "_primaryKeys",
|
|
2633
3307
|
"nodeType": "Identifier",
|
|
2634
3308
|
"overloadedDeclarations": [],
|
|
2635
|
-
"referencedDeclaration":
|
|
2636
|
-
"src": "
|
|
3309
|
+
"referencedDeclaration": 63102,
|
|
3310
|
+
"src": "2426:12:12",
|
|
2637
3311
|
"typeDescriptions": {
|
|
2638
3312
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
2639
3313
|
"typeString": "bytes32[] memory"
|
|
@@ -2641,14 +3315,14 @@
|
|
|
2641
3315
|
},
|
|
2642
3316
|
{
|
|
2643
3317
|
"hexValue": "30",
|
|
2644
|
-
"id":
|
|
3318
|
+
"id": 63125,
|
|
2645
3319
|
"isConstant": false,
|
|
2646
3320
|
"isLValue": false,
|
|
2647
3321
|
"isPure": true,
|
|
2648
3322
|
"kind": "number",
|
|
2649
3323
|
"lValueRequested": false,
|
|
2650
3324
|
"nodeType": "Literal",
|
|
2651
|
-
"src": "
|
|
3325
|
+
"src": "2440:1:12",
|
|
2652
3326
|
"typeDescriptions": {
|
|
2653
3327
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2654
3328
|
"typeString": "int_const 0"
|
|
@@ -2672,32 +3346,32 @@
|
|
|
2672
3346
|
}
|
|
2673
3347
|
],
|
|
2674
3348
|
"expression": {
|
|
2675
|
-
"id":
|
|
3349
|
+
"id": 63121,
|
|
2676
3350
|
"name": "StoreSwitch",
|
|
2677
3351
|
"nodeType": "Identifier",
|
|
2678
3352
|
"overloadedDeclarations": [],
|
|
2679
|
-
"referencedDeclaration":
|
|
2680
|
-
"src": "
|
|
3353
|
+
"referencedDeclaration": 4886,
|
|
3354
|
+
"src": "2395:11:12",
|
|
2681
3355
|
"typeDescriptions": {
|
|
2682
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
|
3356
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$4886_$",
|
|
2683
3357
|
"typeString": "type(library StoreSwitch)"
|
|
2684
3358
|
}
|
|
2685
3359
|
},
|
|
2686
|
-
"id":
|
|
3360
|
+
"id": 63122,
|
|
2687
3361
|
"isConstant": false,
|
|
2688
3362
|
"isLValue": false,
|
|
2689
3363
|
"isPure": false,
|
|
2690
3364
|
"lValueRequested": false,
|
|
2691
3365
|
"memberName": "getField",
|
|
2692
3366
|
"nodeType": "MemberAccess",
|
|
2693
|
-
"referencedDeclaration":
|
|
2694
|
-
"src": "
|
|
3367
|
+
"referencedDeclaration": 4885,
|
|
3368
|
+
"src": "2395:20:12",
|
|
2695
3369
|
"typeDescriptions": {
|
|
2696
3370
|
"typeIdentifier": "t_function_internal_view$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$returns$_t_bytes_memory_ptr_$",
|
|
2697
3371
|
"typeString": "function (uint256,bytes32[] memory,uint8) view returns (bytes memory)"
|
|
2698
3372
|
}
|
|
2699
3373
|
},
|
|
2700
|
-
"id":
|
|
3374
|
+
"id": 63126,
|
|
2701
3375
|
"isConstant": false,
|
|
2702
3376
|
"isLValue": false,
|
|
2703
3377
|
"isPure": false,
|
|
@@ -2705,7 +3379,7 @@
|
|
|
2705
3379
|
"lValueRequested": false,
|
|
2706
3380
|
"names": [],
|
|
2707
3381
|
"nodeType": "FunctionCall",
|
|
2708
|
-
"src": "
|
|
3382
|
+
"src": "2395:47:12",
|
|
2709
3383
|
"tryCall": false,
|
|
2710
3384
|
"typeDescriptions": {
|
|
2711
3385
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -2713,22 +3387,22 @@
|
|
|
2713
3387
|
}
|
|
2714
3388
|
},
|
|
2715
3389
|
"nodeType": "VariableDeclarationStatement",
|
|
2716
|
-
"src": "
|
|
3390
|
+
"src": "2374:68:12"
|
|
2717
3391
|
},
|
|
2718
3392
|
{
|
|
2719
3393
|
"assignments": [
|
|
2720
|
-
|
|
3394
|
+
63129
|
|
2721
3395
|
],
|
|
2722
3396
|
"declarations": [
|
|
2723
3397
|
{
|
|
2724
3398
|
"constant": false,
|
|
2725
|
-
"id":
|
|
3399
|
+
"id": 63129,
|
|
2726
3400
|
"mutability": "mutable",
|
|
2727
3401
|
"name": "_newBlob",
|
|
2728
|
-
"nameLocation": "
|
|
3402
|
+
"nameLocation": "2461:8:12",
|
|
2729
3403
|
"nodeType": "VariableDeclaration",
|
|
2730
|
-
"scope":
|
|
2731
|
-
"src": "
|
|
3404
|
+
"scope": 63149,
|
|
3405
|
+
"src": "2448:21:12",
|
|
2732
3406
|
"stateVariable": false,
|
|
2733
3407
|
"storageLocation": "memory",
|
|
2734
3408
|
"typeDescriptions": {
|
|
@@ -2736,10 +3410,10 @@
|
|
|
2736
3410
|
"typeString": "bytes"
|
|
2737
3411
|
},
|
|
2738
3412
|
"typeName": {
|
|
2739
|
-
"id":
|
|
3413
|
+
"id": 63128,
|
|
2740
3414
|
"name": "bytes",
|
|
2741
3415
|
"nodeType": "ElementaryTypeName",
|
|
2742
|
-
"src": "
|
|
3416
|
+
"src": "2448:5:12",
|
|
2743
3417
|
"typeDescriptions": {
|
|
2744
3418
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2745
3419
|
"typeString": "bytes"
|
|
@@ -2748,16 +3422,16 @@
|
|
|
2748
3422
|
"visibility": "internal"
|
|
2749
3423
|
}
|
|
2750
3424
|
],
|
|
2751
|
-
"id":
|
|
3425
|
+
"id": 63139,
|
|
2752
3426
|
"initialValue": {
|
|
2753
3427
|
"arguments": [
|
|
2754
3428
|
{
|
|
2755
|
-
"id":
|
|
3429
|
+
"id": 63132,
|
|
2756
3430
|
"name": "_blob",
|
|
2757
3431
|
"nodeType": "Identifier",
|
|
2758
3432
|
"overloadedDeclarations": [],
|
|
2759
|
-
"referencedDeclaration":
|
|
2760
|
-
"src": "
|
|
3433
|
+
"referencedDeclaration": 63120,
|
|
3434
|
+
"src": "2489:5:12",
|
|
2761
3435
|
"typeDescriptions": {
|
|
2762
3436
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
2763
3437
|
"typeString": "bytes memory"
|
|
@@ -2766,12 +3440,28 @@
|
|
|
2766
3440
|
{
|
|
2767
3441
|
"arguments": [
|
|
2768
3442
|
{
|
|
2769
|
-
"
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
3443
|
+
"components": [
|
|
3444
|
+
{
|
|
3445
|
+
"id": 63135,
|
|
3446
|
+
"name": "_element",
|
|
3447
|
+
"nodeType": "Identifier",
|
|
3448
|
+
"overloadedDeclarations": [],
|
|
3449
|
+
"referencedDeclaration": 63095,
|
|
3450
|
+
"src": "2514:8:12",
|
|
3451
|
+
"typeDescriptions": {
|
|
3452
|
+
"typeIdentifier": "t_address",
|
|
3453
|
+
"typeString": "address"
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
],
|
|
3457
|
+
"id": 63136,
|
|
3458
|
+
"isConstant": false,
|
|
3459
|
+
"isInlineArray": false,
|
|
3460
|
+
"isLValue": false,
|
|
3461
|
+
"isPure": false,
|
|
3462
|
+
"lValueRequested": false,
|
|
3463
|
+
"nodeType": "TupleExpression",
|
|
3464
|
+
"src": "2513:10:12",
|
|
2775
3465
|
"typeDescriptions": {
|
|
2776
3466
|
"typeIdentifier": "t_address",
|
|
2777
3467
|
"typeString": "address"
|
|
@@ -2786,31 +3476,31 @@
|
|
|
2786
3476
|
}
|
|
2787
3477
|
],
|
|
2788
3478
|
"expression": {
|
|
2789
|
-
"id":
|
|
3479
|
+
"id": 63133,
|
|
2790
3480
|
"name": "abi",
|
|
2791
3481
|
"nodeType": "Identifier",
|
|
2792
3482
|
"overloadedDeclarations": [],
|
|
2793
3483
|
"referencedDeclaration": -1,
|
|
2794
|
-
"src": "
|
|
3484
|
+
"src": "2496:3:12",
|
|
2795
3485
|
"typeDescriptions": {
|
|
2796
3486
|
"typeIdentifier": "t_magic_abi",
|
|
2797
3487
|
"typeString": "abi"
|
|
2798
3488
|
}
|
|
2799
3489
|
},
|
|
2800
|
-
"id":
|
|
3490
|
+
"id": 63134,
|
|
2801
3491
|
"isConstant": false,
|
|
2802
3492
|
"isLValue": false,
|
|
2803
3493
|
"isPure": true,
|
|
2804
3494
|
"lValueRequested": false,
|
|
2805
3495
|
"memberName": "encodePacked",
|
|
2806
3496
|
"nodeType": "MemberAccess",
|
|
2807
|
-
"src": "
|
|
3497
|
+
"src": "2496:16:12",
|
|
2808
3498
|
"typeDescriptions": {
|
|
2809
3499
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
|
2810
3500
|
"typeString": "function () pure returns (bytes memory)"
|
|
2811
3501
|
}
|
|
2812
3502
|
},
|
|
2813
|
-
"id":
|
|
3503
|
+
"id": 63137,
|
|
2814
3504
|
"isConstant": false,
|
|
2815
3505
|
"isLValue": false,
|
|
2816
3506
|
"isPure": false,
|
|
@@ -2818,7 +3508,7 @@
|
|
|
2818
3508
|
"lValueRequested": false,
|
|
2819
3509
|
"names": [],
|
|
2820
3510
|
"nodeType": "FunctionCall",
|
|
2821
|
-
"src": "
|
|
3511
|
+
"src": "2496:28:12",
|
|
2822
3512
|
"tryCall": false,
|
|
2823
3513
|
"typeDescriptions": {
|
|
2824
3514
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -2838,31 +3528,31 @@
|
|
|
2838
3528
|
}
|
|
2839
3529
|
],
|
|
2840
3530
|
"expression": {
|
|
2841
|
-
"id":
|
|
3531
|
+
"id": 63130,
|
|
2842
3532
|
"name": "abi",
|
|
2843
3533
|
"nodeType": "Identifier",
|
|
2844
3534
|
"overloadedDeclarations": [],
|
|
2845
3535
|
"referencedDeclaration": -1,
|
|
2846
|
-
"src": "
|
|
3536
|
+
"src": "2472:3:12",
|
|
2847
3537
|
"typeDescriptions": {
|
|
2848
3538
|
"typeIdentifier": "t_magic_abi",
|
|
2849
3539
|
"typeString": "abi"
|
|
2850
3540
|
}
|
|
2851
3541
|
},
|
|
2852
|
-
"id":
|
|
3542
|
+
"id": 63131,
|
|
2853
3543
|
"isConstant": false,
|
|
2854
3544
|
"isLValue": false,
|
|
2855
3545
|
"isPure": true,
|
|
2856
3546
|
"lValueRequested": false,
|
|
2857
3547
|
"memberName": "encodePacked",
|
|
2858
3548
|
"nodeType": "MemberAccess",
|
|
2859
|
-
"src": "
|
|
3549
|
+
"src": "2472:16:12",
|
|
2860
3550
|
"typeDescriptions": {
|
|
2861
3551
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
|
2862
3552
|
"typeString": "function () pure returns (bytes memory)"
|
|
2863
3553
|
}
|
|
2864
3554
|
},
|
|
2865
|
-
"id":
|
|
3555
|
+
"id": 63138,
|
|
2866
3556
|
"isConstant": false,
|
|
2867
3557
|
"isLValue": false,
|
|
2868
3558
|
"isPure": false,
|
|
@@ -2870,7 +3560,7 @@
|
|
|
2870
3560
|
"lValueRequested": false,
|
|
2871
3561
|
"names": [],
|
|
2872
3562
|
"nodeType": "FunctionCall",
|
|
2873
|
-
"src": "
|
|
3563
|
+
"src": "2472:53:12",
|
|
2874
3564
|
"tryCall": false,
|
|
2875
3565
|
"typeDescriptions": {
|
|
2876
3566
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -2878,30 +3568,30 @@
|
|
|
2878
3568
|
}
|
|
2879
3569
|
},
|
|
2880
3570
|
"nodeType": "VariableDeclarationStatement",
|
|
2881
|
-
"src": "
|
|
3571
|
+
"src": "2448:77:12"
|
|
2882
3572
|
},
|
|
2883
3573
|
{
|
|
2884
3574
|
"expression": {
|
|
2885
3575
|
"arguments": [
|
|
2886
3576
|
{
|
|
2887
|
-
"id":
|
|
3577
|
+
"id": 63143,
|
|
2888
3578
|
"name": "_tableId",
|
|
2889
3579
|
"nodeType": "Identifier",
|
|
2890
3580
|
"overloadedDeclarations": [],
|
|
2891
|
-
"referencedDeclaration":
|
|
2892
|
-
"src": "
|
|
3581
|
+
"referencedDeclaration": 62895,
|
|
3582
|
+
"src": "2552:8:12",
|
|
2893
3583
|
"typeDescriptions": {
|
|
2894
3584
|
"typeIdentifier": "t_uint256",
|
|
2895
3585
|
"typeString": "uint256"
|
|
2896
3586
|
}
|
|
2897
3587
|
},
|
|
2898
3588
|
{
|
|
2899
|
-
"id":
|
|
3589
|
+
"id": 63144,
|
|
2900
3590
|
"name": "_primaryKeys",
|
|
2901
3591
|
"nodeType": "Identifier",
|
|
2902
3592
|
"overloadedDeclarations": [],
|
|
2903
|
-
"referencedDeclaration":
|
|
2904
|
-
"src": "
|
|
3593
|
+
"referencedDeclaration": 63102,
|
|
3594
|
+
"src": "2562:12:12",
|
|
2905
3595
|
"typeDescriptions": {
|
|
2906
3596
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
2907
3597
|
"typeString": "bytes32[] memory"
|
|
@@ -2909,14 +3599,14 @@
|
|
|
2909
3599
|
},
|
|
2910
3600
|
{
|
|
2911
3601
|
"hexValue": "30",
|
|
2912
|
-
"id":
|
|
3602
|
+
"id": 63145,
|
|
2913
3603
|
"isConstant": false,
|
|
2914
3604
|
"isLValue": false,
|
|
2915
3605
|
"isPure": true,
|
|
2916
3606
|
"kind": "number",
|
|
2917
3607
|
"lValueRequested": false,
|
|
2918
3608
|
"nodeType": "Literal",
|
|
2919
|
-
"src": "
|
|
3609
|
+
"src": "2576:1:12",
|
|
2920
3610
|
"typeDescriptions": {
|
|
2921
3611
|
"typeIdentifier": "t_rational_0_by_1",
|
|
2922
3612
|
"typeString": "int_const 0"
|
|
@@ -2924,12 +3614,12 @@
|
|
|
2924
3614
|
"value": "0"
|
|
2925
3615
|
},
|
|
2926
3616
|
{
|
|
2927
|
-
"id":
|
|
3617
|
+
"id": 63146,
|
|
2928
3618
|
"name": "_newBlob",
|
|
2929
3619
|
"nodeType": "Identifier",
|
|
2930
3620
|
"overloadedDeclarations": [],
|
|
2931
|
-
"referencedDeclaration":
|
|
2932
|
-
"src": "
|
|
3621
|
+
"referencedDeclaration": 63129,
|
|
3622
|
+
"src": "2579:8:12",
|
|
2933
3623
|
"typeDescriptions": {
|
|
2934
3624
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
2935
3625
|
"typeString": "bytes memory"
|
|
@@ -2956,32 +3646,32 @@
|
|
|
2956
3646
|
}
|
|
2957
3647
|
],
|
|
2958
3648
|
"expression": {
|
|
2959
|
-
"id":
|
|
3649
|
+
"id": 63140,
|
|
2960
3650
|
"name": "StoreSwitch",
|
|
2961
3651
|
"nodeType": "Identifier",
|
|
2962
3652
|
"overloadedDeclarations": [],
|
|
2963
|
-
"referencedDeclaration":
|
|
2964
|
-
"src": "
|
|
3653
|
+
"referencedDeclaration": 4886,
|
|
3654
|
+
"src": "2531:11:12",
|
|
2965
3655
|
"typeDescriptions": {
|
|
2966
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
|
3656
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$4886_$",
|
|
2967
3657
|
"typeString": "type(library StoreSwitch)"
|
|
2968
3658
|
}
|
|
2969
3659
|
},
|
|
2970
|
-
"id":
|
|
3660
|
+
"id": 63142,
|
|
2971
3661
|
"isConstant": false,
|
|
2972
3662
|
"isLValue": false,
|
|
2973
3663
|
"isPure": false,
|
|
2974
3664
|
"lValueRequested": false,
|
|
2975
3665
|
"memberName": "setField",
|
|
2976
3666
|
"nodeType": "MemberAccess",
|
|
2977
|
-
"referencedDeclaration":
|
|
2978
|
-
"src": "
|
|
3667
|
+
"referencedDeclaration": 4715,
|
|
3668
|
+
"src": "2531:20:12",
|
|
2979
3669
|
"typeDescriptions": {
|
|
2980
3670
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_uint8_$_t_bytes_memory_ptr_$returns$__$",
|
|
2981
3671
|
"typeString": "function (uint256,bytes32[] memory,uint8,bytes memory)"
|
|
2982
3672
|
}
|
|
2983
3673
|
},
|
|
2984
|
-
"id":
|
|
3674
|
+
"id": 63147,
|
|
2985
3675
|
"isConstant": false,
|
|
2986
3676
|
"isLValue": false,
|
|
2987
3677
|
"isPure": false,
|
|
@@ -2989,43 +3679,43 @@
|
|
|
2989
3679
|
"lValueRequested": false,
|
|
2990
3680
|
"names": [],
|
|
2991
3681
|
"nodeType": "FunctionCall",
|
|
2992
|
-
"src": "
|
|
3682
|
+
"src": "2531:57:12",
|
|
2993
3683
|
"tryCall": false,
|
|
2994
3684
|
"typeDescriptions": {
|
|
2995
3685
|
"typeIdentifier": "t_tuple$__$",
|
|
2996
3686
|
"typeString": "tuple()"
|
|
2997
3687
|
}
|
|
2998
3688
|
},
|
|
2999
|
-
"id":
|
|
3689
|
+
"id": 63148,
|
|
3000
3690
|
"nodeType": "ExpressionStatement",
|
|
3001
|
-
"src": "
|
|
3691
|
+
"src": "2531:57:12"
|
|
3002
3692
|
}
|
|
3003
3693
|
]
|
|
3004
3694
|
},
|
|
3005
3695
|
"documentation": {
|
|
3006
|
-
"id":
|
|
3696
|
+
"id": 63091,
|
|
3007
3697
|
"nodeType": "StructuredDocumentation",
|
|
3008
|
-
"src": "
|
|
3698
|
+
"src": "2187:31:12",
|
|
3009
3699
|
"text": "Push an element to value "
|
|
3010
3700
|
},
|
|
3011
3701
|
"implemented": true,
|
|
3012
3702
|
"kind": "function",
|
|
3013
3703
|
"modifiers": [],
|
|
3014
3704
|
"name": "push",
|
|
3015
|
-
"nameLocation": "
|
|
3705
|
+
"nameLocation": "2230:4:12",
|
|
3016
3706
|
"parameters": {
|
|
3017
|
-
"id":
|
|
3707
|
+
"id": 63096,
|
|
3018
3708
|
"nodeType": "ParameterList",
|
|
3019
3709
|
"parameters": [
|
|
3020
3710
|
{
|
|
3021
3711
|
"constant": false,
|
|
3022
|
-
"id":
|
|
3712
|
+
"id": 63093,
|
|
3023
3713
|
"mutability": "mutable",
|
|
3024
3714
|
"name": "key",
|
|
3025
|
-
"nameLocation": "
|
|
3715
|
+
"nameLocation": "2243:3:12",
|
|
3026
3716
|
"nodeType": "VariableDeclaration",
|
|
3027
|
-
"scope":
|
|
3028
|
-
"src": "
|
|
3717
|
+
"scope": 63150,
|
|
3718
|
+
"src": "2235:11:12",
|
|
3029
3719
|
"stateVariable": false,
|
|
3030
3720
|
"storageLocation": "default",
|
|
3031
3721
|
"typeDescriptions": {
|
|
@@ -3033,10 +3723,10 @@
|
|
|
3033
3723
|
"typeString": "bytes32"
|
|
3034
3724
|
},
|
|
3035
3725
|
"typeName": {
|
|
3036
|
-
"id":
|
|
3726
|
+
"id": 63092,
|
|
3037
3727
|
"name": "bytes32",
|
|
3038
3728
|
"nodeType": "ElementaryTypeName",
|
|
3039
|
-
"src": "
|
|
3729
|
+
"src": "2235:7:12",
|
|
3040
3730
|
"typeDescriptions": {
|
|
3041
3731
|
"typeIdentifier": "t_bytes32",
|
|
3042
3732
|
"typeString": "bytes32"
|
|
@@ -3046,13 +3736,13 @@
|
|
|
3046
3736
|
},
|
|
3047
3737
|
{
|
|
3048
3738
|
"constant": false,
|
|
3049
|
-
"id":
|
|
3739
|
+
"id": 63095,
|
|
3050
3740
|
"mutability": "mutable",
|
|
3051
3741
|
"name": "_element",
|
|
3052
|
-
"nameLocation": "
|
|
3742
|
+
"nameLocation": "2256:8:12",
|
|
3053
3743
|
"nodeType": "VariableDeclaration",
|
|
3054
|
-
"scope":
|
|
3055
|
-
"src": "
|
|
3744
|
+
"scope": 63150,
|
|
3745
|
+
"src": "2248:16:12",
|
|
3056
3746
|
"stateVariable": false,
|
|
3057
3747
|
"storageLocation": "default",
|
|
3058
3748
|
"typeDescriptions": {
|
|
@@ -3060,10 +3750,10 @@
|
|
|
3060
3750
|
"typeString": "address"
|
|
3061
3751
|
},
|
|
3062
3752
|
"typeName": {
|
|
3063
|
-
"id":
|
|
3753
|
+
"id": 63094,
|
|
3064
3754
|
"name": "address",
|
|
3065
3755
|
"nodeType": "ElementaryTypeName",
|
|
3066
|
-
"src": "
|
|
3756
|
+
"src": "2248:7:12",
|
|
3067
3757
|
"stateMutability": "nonpayable",
|
|
3068
3758
|
"typeDescriptions": {
|
|
3069
3759
|
"typeIdentifier": "t_address",
|
|
@@ -3073,44 +3763,44 @@
|
|
|
3073
3763
|
"visibility": "internal"
|
|
3074
3764
|
}
|
|
3075
3765
|
],
|
|
3076
|
-
"src": "
|
|
3766
|
+
"src": "2234:31:12"
|
|
3077
3767
|
},
|
|
3078
3768
|
"returnParameters": {
|
|
3079
|
-
"id":
|
|
3769
|
+
"id": 63097,
|
|
3080
3770
|
"nodeType": "ParameterList",
|
|
3081
3771
|
"parameters": [],
|
|
3082
|
-
"src": "
|
|
3772
|
+
"src": "2275:0:12"
|
|
3083
3773
|
},
|
|
3084
|
-
"scope":
|
|
3774
|
+
"scope": 63185,
|
|
3085
3775
|
"stateMutability": "nonpayable",
|
|
3086
3776
|
"virtual": false,
|
|
3087
3777
|
"visibility": "internal"
|
|
3088
3778
|
},
|
|
3089
3779
|
{
|
|
3090
|
-
"id":
|
|
3780
|
+
"id": 63184,
|
|
3091
3781
|
"nodeType": "FunctionDefinition",
|
|
3092
|
-
"src": "
|
|
3782
|
+
"src": "2636:196:12",
|
|
3093
3783
|
"nodes": [],
|
|
3094
3784
|
"body": {
|
|
3095
|
-
"id":
|
|
3785
|
+
"id": 63183,
|
|
3096
3786
|
"nodeType": "Block",
|
|
3097
|
-
"src": "
|
|
3787
|
+
"src": "2680:152:12",
|
|
3098
3788
|
"nodes": [],
|
|
3099
3789
|
"statements": [
|
|
3100
3790
|
{
|
|
3101
3791
|
"assignments": [
|
|
3102
|
-
|
|
3792
|
+
63159
|
|
3103
3793
|
],
|
|
3104
3794
|
"declarations": [
|
|
3105
3795
|
{
|
|
3106
3796
|
"constant": false,
|
|
3107
|
-
"id":
|
|
3797
|
+
"id": 63159,
|
|
3108
3798
|
"mutability": "mutable",
|
|
3109
3799
|
"name": "_primaryKeys",
|
|
3110
|
-
"nameLocation": "
|
|
3800
|
+
"nameLocation": "2703:12:12",
|
|
3111
3801
|
"nodeType": "VariableDeclaration",
|
|
3112
|
-
"scope":
|
|
3113
|
-
"src": "
|
|
3802
|
+
"scope": 63183,
|
|
3803
|
+
"src": "2686:29:12",
|
|
3114
3804
|
"stateVariable": false,
|
|
3115
3805
|
"storageLocation": "memory",
|
|
3116
3806
|
"typeDescriptions": {
|
|
@@ -3119,18 +3809,18 @@
|
|
|
3119
3809
|
},
|
|
3120
3810
|
"typeName": {
|
|
3121
3811
|
"baseType": {
|
|
3122
|
-
"id":
|
|
3812
|
+
"id": 63157,
|
|
3123
3813
|
"name": "bytes32",
|
|
3124
3814
|
"nodeType": "ElementaryTypeName",
|
|
3125
|
-
"src": "
|
|
3815
|
+
"src": "2686:7:12",
|
|
3126
3816
|
"typeDescriptions": {
|
|
3127
3817
|
"typeIdentifier": "t_bytes32",
|
|
3128
3818
|
"typeString": "bytes32"
|
|
3129
3819
|
}
|
|
3130
3820
|
},
|
|
3131
|
-
"id":
|
|
3821
|
+
"id": 63158,
|
|
3132
3822
|
"nodeType": "ArrayTypeName",
|
|
3133
|
-
"src": "
|
|
3823
|
+
"src": "2686:9:12",
|
|
3134
3824
|
"typeDescriptions": {
|
|
3135
3825
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3136
3826
|
"typeString": "bytes32[]"
|
|
@@ -3139,19 +3829,19 @@
|
|
|
3139
3829
|
"visibility": "internal"
|
|
3140
3830
|
}
|
|
3141
3831
|
],
|
|
3142
|
-
"id":
|
|
3832
|
+
"id": 63165,
|
|
3143
3833
|
"initialValue": {
|
|
3144
3834
|
"arguments": [
|
|
3145
3835
|
{
|
|
3146
3836
|
"hexValue": "31",
|
|
3147
|
-
"id":
|
|
3837
|
+
"id": 63163,
|
|
3148
3838
|
"isConstant": false,
|
|
3149
3839
|
"isLValue": false,
|
|
3150
3840
|
"isPure": true,
|
|
3151
3841
|
"kind": "number",
|
|
3152
3842
|
"lValueRequested": false,
|
|
3153
3843
|
"nodeType": "Literal",
|
|
3154
|
-
"src": "
|
|
3844
|
+
"src": "2732:1:12",
|
|
3155
3845
|
"typeDescriptions": {
|
|
3156
3846
|
"typeIdentifier": "t_rational_1_by_1",
|
|
3157
3847
|
"typeString": "int_const 1"
|
|
@@ -3166,38 +3856,38 @@
|
|
|
3166
3856
|
"typeString": "int_const 1"
|
|
3167
3857
|
}
|
|
3168
3858
|
],
|
|
3169
|
-
"id":
|
|
3859
|
+
"id": 63162,
|
|
3170
3860
|
"isConstant": false,
|
|
3171
3861
|
"isLValue": false,
|
|
3172
3862
|
"isPure": true,
|
|
3173
3863
|
"lValueRequested": false,
|
|
3174
3864
|
"nodeType": "NewExpression",
|
|
3175
|
-
"src": "
|
|
3865
|
+
"src": "2718:13:12",
|
|
3176
3866
|
"typeDescriptions": {
|
|
3177
3867
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
3178
3868
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
|
3179
3869
|
},
|
|
3180
3870
|
"typeName": {
|
|
3181
3871
|
"baseType": {
|
|
3182
|
-
"id":
|
|
3872
|
+
"id": 63160,
|
|
3183
3873
|
"name": "bytes32",
|
|
3184
3874
|
"nodeType": "ElementaryTypeName",
|
|
3185
|
-
"src": "
|
|
3875
|
+
"src": "2722:7:12",
|
|
3186
3876
|
"typeDescriptions": {
|
|
3187
3877
|
"typeIdentifier": "t_bytes32",
|
|
3188
3878
|
"typeString": "bytes32"
|
|
3189
3879
|
}
|
|
3190
3880
|
},
|
|
3191
|
-
"id":
|
|
3881
|
+
"id": 63161,
|
|
3192
3882
|
"nodeType": "ArrayTypeName",
|
|
3193
|
-
"src": "
|
|
3883
|
+
"src": "2722:9:12",
|
|
3194
3884
|
"typeDescriptions": {
|
|
3195
3885
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3196
3886
|
"typeString": "bytes32[]"
|
|
3197
3887
|
}
|
|
3198
3888
|
}
|
|
3199
3889
|
},
|
|
3200
|
-
"id":
|
|
3890
|
+
"id": 63164,
|
|
3201
3891
|
"isConstant": false,
|
|
3202
3892
|
"isLValue": false,
|
|
3203
3893
|
"isPure": true,
|
|
@@ -3205,7 +3895,7 @@
|
|
|
3205
3895
|
"lValueRequested": false,
|
|
3206
3896
|
"names": [],
|
|
3207
3897
|
"nodeType": "FunctionCall",
|
|
3208
|
-
"src": "
|
|
3898
|
+
"src": "2718:16:12",
|
|
3209
3899
|
"tryCall": false,
|
|
3210
3900
|
"typeDescriptions": {
|
|
3211
3901
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -3213,39 +3903,39 @@
|
|
|
3213
3903
|
}
|
|
3214
3904
|
},
|
|
3215
3905
|
"nodeType": "VariableDeclarationStatement",
|
|
3216
|
-
"src": "
|
|
3906
|
+
"src": "2686:48:12"
|
|
3217
3907
|
},
|
|
3218
3908
|
{
|
|
3219
3909
|
"expression": {
|
|
3220
|
-
"id":
|
|
3910
|
+
"id": 63174,
|
|
3221
3911
|
"isConstant": false,
|
|
3222
3912
|
"isLValue": false,
|
|
3223
3913
|
"isPure": false,
|
|
3224
3914
|
"lValueRequested": false,
|
|
3225
3915
|
"leftHandSide": {
|
|
3226
3916
|
"baseExpression": {
|
|
3227
|
-
"id":
|
|
3917
|
+
"id": 63166,
|
|
3228
3918
|
"name": "_primaryKeys",
|
|
3229
3919
|
"nodeType": "Identifier",
|
|
3230
3920
|
"overloadedDeclarations": [],
|
|
3231
|
-
"referencedDeclaration":
|
|
3232
|
-
"src": "
|
|
3921
|
+
"referencedDeclaration": 63159,
|
|
3922
|
+
"src": "2740:12:12",
|
|
3233
3923
|
"typeDescriptions": {
|
|
3234
3924
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
3235
3925
|
"typeString": "bytes32[] memory"
|
|
3236
3926
|
}
|
|
3237
3927
|
},
|
|
3238
|
-
"id":
|
|
3928
|
+
"id": 63168,
|
|
3239
3929
|
"indexExpression": {
|
|
3240
3930
|
"hexValue": "30",
|
|
3241
|
-
"id":
|
|
3931
|
+
"id": 63167,
|
|
3242
3932
|
"isConstant": false,
|
|
3243
3933
|
"isLValue": false,
|
|
3244
3934
|
"isPure": true,
|
|
3245
3935
|
"kind": "number",
|
|
3246
3936
|
"lValueRequested": false,
|
|
3247
3937
|
"nodeType": "Literal",
|
|
3248
|
-
"src": "
|
|
3938
|
+
"src": "2753:1:12",
|
|
3249
3939
|
"typeDescriptions": {
|
|
3250
3940
|
"typeIdentifier": "t_rational_0_by_1",
|
|
3251
3941
|
"typeString": "int_const 0"
|
|
@@ -3257,7 +3947,7 @@
|
|
|
3257
3947
|
"isPure": false,
|
|
3258
3948
|
"lValueRequested": true,
|
|
3259
3949
|
"nodeType": "IndexAccess",
|
|
3260
|
-
"src": "
|
|
3950
|
+
"src": "2740:15:12",
|
|
3261
3951
|
"typeDescriptions": {
|
|
3262
3952
|
"typeIdentifier": "t_bytes32",
|
|
3263
3953
|
"typeString": "bytes32"
|
|
@@ -3268,12 +3958,28 @@
|
|
|
3268
3958
|
"rightHandSide": {
|
|
3269
3959
|
"arguments": [
|
|
3270
3960
|
{
|
|
3271
|
-
"
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3961
|
+
"components": [
|
|
3962
|
+
{
|
|
3963
|
+
"id": 63171,
|
|
3964
|
+
"name": "key",
|
|
3965
|
+
"nodeType": "Identifier",
|
|
3966
|
+
"overloadedDeclarations": [],
|
|
3967
|
+
"referencedDeclaration": 63152,
|
|
3968
|
+
"src": "2767:3:12",
|
|
3969
|
+
"typeDescriptions": {
|
|
3970
|
+
"typeIdentifier": "t_bytes32",
|
|
3971
|
+
"typeString": "bytes32"
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
],
|
|
3975
|
+
"id": 63172,
|
|
3976
|
+
"isConstant": false,
|
|
3977
|
+
"isInlineArray": false,
|
|
3978
|
+
"isLValue": false,
|
|
3979
|
+
"isPure": false,
|
|
3980
|
+
"lValueRequested": false,
|
|
3981
|
+
"nodeType": "TupleExpression",
|
|
3982
|
+
"src": "2766:5:12",
|
|
3277
3983
|
"typeDescriptions": {
|
|
3278
3984
|
"typeIdentifier": "t_bytes32",
|
|
3279
3985
|
"typeString": "bytes32"
|
|
@@ -3287,26 +3993,26 @@
|
|
|
3287
3993
|
"typeString": "bytes32"
|
|
3288
3994
|
}
|
|
3289
3995
|
],
|
|
3290
|
-
"id":
|
|
3996
|
+
"id": 63170,
|
|
3291
3997
|
"isConstant": false,
|
|
3292
3998
|
"isLValue": false,
|
|
3293
3999
|
"isPure": true,
|
|
3294
4000
|
"lValueRequested": false,
|
|
3295
4001
|
"nodeType": "ElementaryTypeNameExpression",
|
|
3296
|
-
"src": "
|
|
4002
|
+
"src": "2758:7:12",
|
|
3297
4003
|
"typeDescriptions": {
|
|
3298
4004
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
|
3299
4005
|
"typeString": "type(bytes32)"
|
|
3300
4006
|
},
|
|
3301
4007
|
"typeName": {
|
|
3302
|
-
"id":
|
|
4008
|
+
"id": 63169,
|
|
3303
4009
|
"name": "bytes32",
|
|
3304
4010
|
"nodeType": "ElementaryTypeName",
|
|
3305
|
-
"src": "
|
|
4011
|
+
"src": "2758:7:12",
|
|
3306
4012
|
"typeDescriptions": {}
|
|
3307
4013
|
}
|
|
3308
4014
|
},
|
|
3309
|
-
"id":
|
|
4015
|
+
"id": 63173,
|
|
3310
4016
|
"isConstant": false,
|
|
3311
4017
|
"isLValue": false,
|
|
3312
4018
|
"isPure": false,
|
|
@@ -3314,45 +4020,45 @@
|
|
|
3314
4020
|
"lValueRequested": false,
|
|
3315
4021
|
"names": [],
|
|
3316
4022
|
"nodeType": "FunctionCall",
|
|
3317
|
-
"src": "
|
|
4023
|
+
"src": "2758:14:12",
|
|
3318
4024
|
"tryCall": false,
|
|
3319
4025
|
"typeDescriptions": {
|
|
3320
4026
|
"typeIdentifier": "t_bytes32",
|
|
3321
4027
|
"typeString": "bytes32"
|
|
3322
4028
|
}
|
|
3323
4029
|
},
|
|
3324
|
-
"src": "
|
|
4030
|
+
"src": "2740:32:12",
|
|
3325
4031
|
"typeDescriptions": {
|
|
3326
4032
|
"typeIdentifier": "t_bytes32",
|
|
3327
4033
|
"typeString": "bytes32"
|
|
3328
4034
|
}
|
|
3329
4035
|
},
|
|
3330
|
-
"id":
|
|
4036
|
+
"id": 63175,
|
|
3331
4037
|
"nodeType": "ExpressionStatement",
|
|
3332
|
-
"src": "
|
|
4038
|
+
"src": "2740:32:12"
|
|
3333
4039
|
},
|
|
3334
4040
|
{
|
|
3335
4041
|
"expression": {
|
|
3336
4042
|
"arguments": [
|
|
3337
4043
|
{
|
|
3338
|
-
"id":
|
|
4044
|
+
"id": 63179,
|
|
3339
4045
|
"name": "_tableId",
|
|
3340
4046
|
"nodeType": "Identifier",
|
|
3341
4047
|
"overloadedDeclarations": [],
|
|
3342
|
-
"referencedDeclaration":
|
|
3343
|
-
"src": "
|
|
4048
|
+
"referencedDeclaration": 62895,
|
|
4049
|
+
"src": "2804:8:12",
|
|
3344
4050
|
"typeDescriptions": {
|
|
3345
4051
|
"typeIdentifier": "t_uint256",
|
|
3346
4052
|
"typeString": "uint256"
|
|
3347
4053
|
}
|
|
3348
4054
|
},
|
|
3349
4055
|
{
|
|
3350
|
-
"id":
|
|
4056
|
+
"id": 63180,
|
|
3351
4057
|
"name": "_primaryKeys",
|
|
3352
4058
|
"nodeType": "Identifier",
|
|
3353
4059
|
"overloadedDeclarations": [],
|
|
3354
|
-
"referencedDeclaration":
|
|
3355
|
-
"src": "
|
|
4060
|
+
"referencedDeclaration": 63159,
|
|
4061
|
+
"src": "2814:12:12",
|
|
3356
4062
|
"typeDescriptions": {
|
|
3357
4063
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
3358
4064
|
"typeString": "bytes32[] memory"
|
|
@@ -3371,32 +4077,32 @@
|
|
|
3371
4077
|
}
|
|
3372
4078
|
],
|
|
3373
4079
|
"expression": {
|
|
3374
|
-
"id":
|
|
4080
|
+
"id": 63176,
|
|
3375
4081
|
"name": "StoreSwitch",
|
|
3376
4082
|
"nodeType": "Identifier",
|
|
3377
4083
|
"overloadedDeclarations": [],
|
|
3378
|
-
"referencedDeclaration":
|
|
3379
|
-
"src": "
|
|
4084
|
+
"referencedDeclaration": 4886,
|
|
4085
|
+
"src": "2779:11:12",
|
|
3380
4086
|
"typeDescriptions": {
|
|
3381
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
|
4087
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$4886_$",
|
|
3382
4088
|
"typeString": "type(library StoreSwitch)"
|
|
3383
4089
|
}
|
|
3384
4090
|
},
|
|
3385
|
-
"id":
|
|
4091
|
+
"id": 63178,
|
|
3386
4092
|
"isConstant": false,
|
|
3387
4093
|
"isLValue": false,
|
|
3388
4094
|
"isPure": false,
|
|
3389
4095
|
"lValueRequested": false,
|
|
3390
4096
|
"memberName": "deleteRecord",
|
|
3391
4097
|
"nodeType": "MemberAccess",
|
|
3392
|
-
"referencedDeclaration":
|
|
3393
|
-
"src": "
|
|
4098
|
+
"referencedDeclaration": 4783,
|
|
4099
|
+
"src": "2779:24:12",
|
|
3394
4100
|
"typeDescriptions": {
|
|
3395
4101
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
|
|
3396
4102
|
"typeString": "function (uint256,bytes32[] memory)"
|
|
3397
4103
|
}
|
|
3398
4104
|
},
|
|
3399
|
-
"id":
|
|
4105
|
+
"id": 63181,
|
|
3400
4106
|
"isConstant": false,
|
|
3401
4107
|
"isLValue": false,
|
|
3402
4108
|
"isPure": false,
|
|
@@ -3404,16 +4110,16 @@
|
|
|
3404
4110
|
"lValueRequested": false,
|
|
3405
4111
|
"names": [],
|
|
3406
4112
|
"nodeType": "FunctionCall",
|
|
3407
|
-
"src": "
|
|
4113
|
+
"src": "2779:48:12",
|
|
3408
4114
|
"tryCall": false,
|
|
3409
4115
|
"typeDescriptions": {
|
|
3410
4116
|
"typeIdentifier": "t_tuple$__$",
|
|
3411
4117
|
"typeString": "tuple()"
|
|
3412
4118
|
}
|
|
3413
4119
|
},
|
|
3414
|
-
"id":
|
|
4120
|
+
"id": 63182,
|
|
3415
4121
|
"nodeType": "ExpressionStatement",
|
|
3416
|
-
"src": "
|
|
4122
|
+
"src": "2779:48:12"
|
|
3417
4123
|
}
|
|
3418
4124
|
]
|
|
3419
4125
|
},
|
|
@@ -3421,20 +4127,20 @@
|
|
|
3421
4127
|
"kind": "function",
|
|
3422
4128
|
"modifiers": [],
|
|
3423
4129
|
"name": "deleteRecord",
|
|
3424
|
-
"nameLocation": "
|
|
4130
|
+
"nameLocation": "2645:12:12",
|
|
3425
4131
|
"parameters": {
|
|
3426
|
-
"id":
|
|
4132
|
+
"id": 63153,
|
|
3427
4133
|
"nodeType": "ParameterList",
|
|
3428
4134
|
"parameters": [
|
|
3429
4135
|
{
|
|
3430
4136
|
"constant": false,
|
|
3431
|
-
"id":
|
|
4137
|
+
"id": 63152,
|
|
3432
4138
|
"mutability": "mutable",
|
|
3433
4139
|
"name": "key",
|
|
3434
|
-
"nameLocation": "
|
|
4140
|
+
"nameLocation": "2666:3:12",
|
|
3435
4141
|
"nodeType": "VariableDeclaration",
|
|
3436
|
-
"scope":
|
|
3437
|
-
"src": "
|
|
4142
|
+
"scope": 63184,
|
|
4143
|
+
"src": "2658:11:12",
|
|
3438
4144
|
"stateVariable": false,
|
|
3439
4145
|
"storageLocation": "default",
|
|
3440
4146
|
"typeDescriptions": {
|
|
@@ -3442,10 +4148,10 @@
|
|
|
3442
4148
|
"typeString": "bytes32"
|
|
3443
4149
|
},
|
|
3444
4150
|
"typeName": {
|
|
3445
|
-
"id":
|
|
4151
|
+
"id": 63151,
|
|
3446
4152
|
"name": "bytes32",
|
|
3447
4153
|
"nodeType": "ElementaryTypeName",
|
|
3448
|
-
"src": "
|
|
4154
|
+
"src": "2658:7:12",
|
|
3449
4155
|
"typeDescriptions": {
|
|
3450
4156
|
"typeIdentifier": "t_bytes32",
|
|
3451
4157
|
"typeString": "bytes32"
|
|
@@ -3454,15 +4160,15 @@
|
|
|
3454
4160
|
"visibility": "internal"
|
|
3455
4161
|
}
|
|
3456
4162
|
],
|
|
3457
|
-
"src": "
|
|
4163
|
+
"src": "2657:13:12"
|
|
3458
4164
|
},
|
|
3459
4165
|
"returnParameters": {
|
|
3460
|
-
"id":
|
|
4166
|
+
"id": 63154,
|
|
3461
4167
|
"nodeType": "ParameterList",
|
|
3462
4168
|
"parameters": [],
|
|
3463
|
-
"src": "
|
|
4169
|
+
"src": "2680:0:12"
|
|
3464
4170
|
},
|
|
3465
|
-
"scope":
|
|
4171
|
+
"scope": 63185,
|
|
3466
4172
|
"stateMutability": "nonpayable",
|
|
3467
4173
|
"virtual": false,
|
|
3468
4174
|
"visibility": "internal"
|
|
@@ -3475,11 +4181,11 @@
|
|
|
3475
4181
|
"contractKind": "library",
|
|
3476
4182
|
"fullyImplemented": true,
|
|
3477
4183
|
"linearizedBaseContracts": [
|
|
3478
|
-
|
|
4184
|
+
63185
|
|
3479
4185
|
],
|
|
3480
4186
|
"name": "Hooks",
|
|
3481
|
-
"nameLocation": "
|
|
3482
|
-
"scope":
|
|
4187
|
+
"nameLocation": "747:5:12",
|
|
4188
|
+
"scope": 63186,
|
|
3483
4189
|
"usedErrors": []
|
|
3484
4190
|
}
|
|
3485
4191
|
],
|