@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/IStore.json
CHANGED
|
@@ -201,6 +201,34 @@
|
|
|
201
201
|
"stateMutability": "view",
|
|
202
202
|
"type": "function"
|
|
203
203
|
},
|
|
204
|
+
{
|
|
205
|
+
"inputs": [
|
|
206
|
+
{
|
|
207
|
+
"internalType": "uint256",
|
|
208
|
+
"name": "table",
|
|
209
|
+
"type": "uint256"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"internalType": "bytes32[]",
|
|
213
|
+
"name": "key",
|
|
214
|
+
"type": "bytes32[]"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"internalType": "uint8",
|
|
218
|
+
"name": "schemaIndex",
|
|
219
|
+
"type": "uint8"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"internalType": "bytes",
|
|
223
|
+
"name": "dataToPush",
|
|
224
|
+
"type": "bytes"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"name": "pushToField",
|
|
228
|
+
"outputs": [],
|
|
229
|
+
"stateMutability": "nonpayable",
|
|
230
|
+
"type": "function"
|
|
231
|
+
},
|
|
204
232
|
{
|
|
205
233
|
"inputs": [
|
|
206
234
|
{
|
|
@@ -329,13 +357,14 @@
|
|
|
329
357
|
"getRecord(uint256,bytes32[],bytes32)": "a2d3d4fb",
|
|
330
358
|
"getSchema(uint256)": "2b26fb29",
|
|
331
359
|
"isStore()": "a5c2f007",
|
|
360
|
+
"pushToField(uint256,bytes32[],uint8,bytes)": "51ea4f1b",
|
|
332
361
|
"registerSchema(uint256,bytes32)": "88140fe0",
|
|
333
362
|
"registerStoreHook(uint256,address)": "07ff106e",
|
|
334
363
|
"setField(uint256,bytes32[],uint8,bytes)": "91c45d22",
|
|
335
364
|
"setMetadata(uint256,string,string[])": "174e23be",
|
|
336
365
|
"setRecord(uint256,bytes32[],bytes)": "651a0d1a"
|
|
337
366
|
},
|
|
338
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"StoreDeleteRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetField\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetRecord\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"}],\"name\":\"getSchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isStore\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"name\":\"registerSchema\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hooks\",\"type\":\"address\"}],\"name\":\"registerStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"tableName\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"fieldNames\",\"type\":\"string[]\"}],\"name\":\"setMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/Users/flomllr/git/latticexyz/mud/packages/store/src/IStore.sol\":\"IStore\"},\"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/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"/Users/flomllr/git/latticexyz/mud/packages/store/src/Bytes.sol\":{\"keccak256\":\"0xbf62a7c112d01458cf6798e22c7e9efb4b429f2a448613465f8a1d04ed4909d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f3fb1fecc95937b75af7ba625f80c3ea0848dddf2d8a1d1f987e705ebc20086\",\"dweb:/ipfs/QmU8kMF6YBL5QV43CmqdqaquKtn7699npyRJX1o5rHUo8W\"]},\"/Users/flomllr/git/latticexyz/mud/packages/store/src/IStore.sol\":{\"keccak256\":\"
|
|
367
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"StoreDeleteRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetField\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetRecord\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"}],\"name\":\"getSchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isStore\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"dataToPush\",\"type\":\"bytes\"}],\"name\":\"pushToField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"name\":\"registerSchema\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hooks\",\"type\":\"address\"}],\"name\":\"registerStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"tableName\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"fieldNames\",\"type\":\"string[]\"}],\"name\":\"setMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"table\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/Users/flomllr/git/latticexyz/mud/packages/store/src/IStore.sol\":\"IStore\"},\"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/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"/Users/flomllr/git/latticexyz/mud/packages/store/src/Bytes.sol\":{\"keccak256\":\"0xbf62a7c112d01458cf6798e22c7e9efb4b429f2a448613465f8a1d04ed4909d6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f3fb1fecc95937b75af7ba625f80c3ea0848dddf2d8a1d1f987e705ebc20086\",\"dweb:/ipfs/QmU8kMF6YBL5QV43CmqdqaquKtn7699npyRJX1o5rHUo8W\"]},\"/Users/flomllr/git/latticexyz/mud/packages/store/src/IStore.sol\":{\"keccak256\":\"0xe4e05dbf758852fa668cf4c9877f64c38f1cb57bbce8f8585d6f1c5ec0bba98d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://843235da22b943edfaf0a3b9c1fc1f985e480a3941eda3a9417962bdefd5ae37\",\"dweb:/ipfs/QmWC5TCVhxgJpEvDdNzTHjjwPeupFEUaq8W7AFnxYfsp5P\"]},\"/Users/flomllr/git/latticexyz/mud/packages/store/src/Schema.sol\":{\"keccak256\":\"0xd2eba52a5552d6309fa0796f1a3965c529bb19456cdda6ea0d05050ce5db6a4a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9276795636982ab9c9c245883760aee797e95e84ffc0633362615b54c68fb8fd\",\"dweb:/ipfs/QmYXkMgnLmBeLi8VH1p4hp2bCAxFLiQS97RXbGbBmqU1yD\"]}},\"version\":1}",
|
|
339
368
|
"metadata": {
|
|
340
369
|
"compiler": {
|
|
341
370
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -542,6 +571,33 @@
|
|
|
542
571
|
"type": "function",
|
|
543
572
|
"name": "isStore"
|
|
544
573
|
},
|
|
574
|
+
{
|
|
575
|
+
"inputs": [
|
|
576
|
+
{
|
|
577
|
+
"internalType": "uint256",
|
|
578
|
+
"name": "table",
|
|
579
|
+
"type": "uint256"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"internalType": "bytes32[]",
|
|
583
|
+
"name": "key",
|
|
584
|
+
"type": "bytes32[]"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"internalType": "uint8",
|
|
588
|
+
"name": "schemaIndex",
|
|
589
|
+
"type": "uint8"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"internalType": "bytes",
|
|
593
|
+
"name": "dataToPush",
|
|
594
|
+
"type": "bytes"
|
|
595
|
+
}
|
|
596
|
+
],
|
|
597
|
+
"stateMutability": "nonpayable",
|
|
598
|
+
"type": "function",
|
|
599
|
+
"name": "pushToField"
|
|
600
|
+
},
|
|
545
601
|
{
|
|
546
602
|
"inputs": [
|
|
547
603
|
{
|
|
@@ -713,10 +769,10 @@
|
|
|
713
769
|
"license": "MIT"
|
|
714
770
|
},
|
|
715
771
|
"/Users/flomllr/git/latticexyz/mud/packages/store/src/IStore.sol": {
|
|
716
|
-
"keccak256": "
|
|
772
|
+
"keccak256": "0xe4e05dbf758852fa668cf4c9877f64c38f1cb57bbce8f8585d6f1c5ec0bba98d",
|
|
717
773
|
"urls": [
|
|
718
|
-
"bzz-raw://
|
|
719
|
-
"dweb:/ipfs/
|
|
774
|
+
"bzz-raw://843235da22b943edfaf0a3b9c1fc1f985e480a3941eda3a9417962bdefd5ae37",
|
|
775
|
+
"dweb:/ipfs/QmWC5TCVhxgJpEvDdNzTHjjwPeupFEUaq8W7AFnxYfsp5P"
|
|
720
776
|
],
|
|
721
777
|
"license": "MIT"
|
|
722
778
|
},
|
|
@@ -733,23 +789,23 @@
|
|
|
733
789
|
},
|
|
734
790
|
"ast": {
|
|
735
791
|
"absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/IStore.sol",
|
|
736
|
-
"id":
|
|
792
|
+
"id": 43845,
|
|
737
793
|
"exportedSymbols": {
|
|
738
794
|
"IStore": [
|
|
739
|
-
|
|
795
|
+
43813
|
|
740
796
|
],
|
|
741
797
|
"IStoreHook": [
|
|
742
|
-
|
|
798
|
+
43844
|
|
743
799
|
],
|
|
744
800
|
"Schema": [
|
|
745
|
-
|
|
801
|
+
44351
|
|
746
802
|
]
|
|
747
803
|
},
|
|
748
804
|
"nodeType": "SourceUnit",
|
|
749
|
-
"src": "32:
|
|
805
|
+
"src": "32:2335:48",
|
|
750
806
|
"nodes": [
|
|
751
807
|
{
|
|
752
|
-
"id":
|
|
808
|
+
"id": 43669,
|
|
753
809
|
"nodeType": "PragmaDirective",
|
|
754
810
|
"src": "32:24:48",
|
|
755
811
|
"nodes": [],
|
|
@@ -761,23 +817,23 @@
|
|
|
761
817
|
]
|
|
762
818
|
},
|
|
763
819
|
{
|
|
764
|
-
"id":
|
|
820
|
+
"id": 43671,
|
|
765
821
|
"nodeType": "ImportDirective",
|
|
766
822
|
"src": "58:38:48",
|
|
767
823
|
"nodes": [],
|
|
768
824
|
"absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/Schema.sol",
|
|
769
825
|
"file": "./Schema.sol",
|
|
770
826
|
"nameLocation": "-1:-1:-1",
|
|
771
|
-
"scope":
|
|
772
|
-
"sourceUnit":
|
|
827
|
+
"scope": 43845,
|
|
828
|
+
"sourceUnit": 45114,
|
|
773
829
|
"symbolAliases": [
|
|
774
830
|
{
|
|
775
831
|
"foreign": {
|
|
776
|
-
"id":
|
|
832
|
+
"id": 43670,
|
|
777
833
|
"name": "Schema",
|
|
778
834
|
"nodeType": "Identifier",
|
|
779
835
|
"overloadedDeclarations": [],
|
|
780
|
-
"referencedDeclaration":
|
|
836
|
+
"referencedDeclaration": 44351,
|
|
781
837
|
"src": "67:6:48",
|
|
782
838
|
"typeDescriptions": {}
|
|
783
839
|
},
|
|
@@ -787,12 +843,12 @@
|
|
|
787
843
|
"unitAlias": ""
|
|
788
844
|
},
|
|
789
845
|
{
|
|
790
|
-
"id":
|
|
846
|
+
"id": 43813,
|
|
791
847
|
"nodeType": "ContractDefinition",
|
|
792
|
-
"src": "98:
|
|
848
|
+
"src": "98:1971:48",
|
|
793
849
|
"nodes": [
|
|
794
850
|
{
|
|
795
|
-
"id":
|
|
851
|
+
"id": 43680,
|
|
796
852
|
"nodeType": "EventDefinition",
|
|
797
853
|
"src": "119:63:48",
|
|
798
854
|
"nodes": [],
|
|
@@ -801,18 +857,18 @@
|
|
|
801
857
|
"name": "StoreSetRecord",
|
|
802
858
|
"nameLocation": "125:14:48",
|
|
803
859
|
"parameters": {
|
|
804
|
-
"id":
|
|
860
|
+
"id": 43679,
|
|
805
861
|
"nodeType": "ParameterList",
|
|
806
862
|
"parameters": [
|
|
807
863
|
{
|
|
808
864
|
"constant": false,
|
|
809
|
-
"id":
|
|
865
|
+
"id": 43673,
|
|
810
866
|
"indexed": false,
|
|
811
867
|
"mutability": "mutable",
|
|
812
868
|
"name": "table",
|
|
813
869
|
"nameLocation": "148:5:48",
|
|
814
870
|
"nodeType": "VariableDeclaration",
|
|
815
|
-
"scope":
|
|
871
|
+
"scope": 43680,
|
|
816
872
|
"src": "140:13:48",
|
|
817
873
|
"stateVariable": false,
|
|
818
874
|
"storageLocation": "default",
|
|
@@ -821,7 +877,7 @@
|
|
|
821
877
|
"typeString": "uint256"
|
|
822
878
|
},
|
|
823
879
|
"typeName": {
|
|
824
|
-
"id":
|
|
880
|
+
"id": 43672,
|
|
825
881
|
"name": "uint256",
|
|
826
882
|
"nodeType": "ElementaryTypeName",
|
|
827
883
|
"src": "140:7:48",
|
|
@@ -834,13 +890,13 @@
|
|
|
834
890
|
},
|
|
835
891
|
{
|
|
836
892
|
"constant": false,
|
|
837
|
-
"id":
|
|
893
|
+
"id": 43676,
|
|
838
894
|
"indexed": false,
|
|
839
895
|
"mutability": "mutable",
|
|
840
896
|
"name": "key",
|
|
841
897
|
"nameLocation": "165:3:48",
|
|
842
898
|
"nodeType": "VariableDeclaration",
|
|
843
|
-
"scope":
|
|
899
|
+
"scope": 43680,
|
|
844
900
|
"src": "155:13:48",
|
|
845
901
|
"stateVariable": false,
|
|
846
902
|
"storageLocation": "default",
|
|
@@ -850,7 +906,7 @@
|
|
|
850
906
|
},
|
|
851
907
|
"typeName": {
|
|
852
908
|
"baseType": {
|
|
853
|
-
"id":
|
|
909
|
+
"id": 43674,
|
|
854
910
|
"name": "bytes32",
|
|
855
911
|
"nodeType": "ElementaryTypeName",
|
|
856
912
|
"src": "155:7:48",
|
|
@@ -859,7 +915,7 @@
|
|
|
859
915
|
"typeString": "bytes32"
|
|
860
916
|
}
|
|
861
917
|
},
|
|
862
|
-
"id":
|
|
918
|
+
"id": 43675,
|
|
863
919
|
"nodeType": "ArrayTypeName",
|
|
864
920
|
"src": "155:9:48",
|
|
865
921
|
"typeDescriptions": {
|
|
@@ -871,13 +927,13 @@
|
|
|
871
927
|
},
|
|
872
928
|
{
|
|
873
929
|
"constant": false,
|
|
874
|
-
"id":
|
|
930
|
+
"id": 43678,
|
|
875
931
|
"indexed": false,
|
|
876
932
|
"mutability": "mutable",
|
|
877
933
|
"name": "data",
|
|
878
934
|
"nameLocation": "176:4:48",
|
|
879
935
|
"nodeType": "VariableDeclaration",
|
|
880
|
-
"scope":
|
|
936
|
+
"scope": 43680,
|
|
881
937
|
"src": "170:10:48",
|
|
882
938
|
"stateVariable": false,
|
|
883
939
|
"storageLocation": "default",
|
|
@@ -886,7 +942,7 @@
|
|
|
886
942
|
"typeString": "bytes"
|
|
887
943
|
},
|
|
888
944
|
"typeName": {
|
|
889
|
-
"id":
|
|
945
|
+
"id": 43677,
|
|
890
946
|
"name": "bytes",
|
|
891
947
|
"nodeType": "ElementaryTypeName",
|
|
892
948
|
"src": "170:5:48",
|
|
@@ -902,7 +958,7 @@
|
|
|
902
958
|
}
|
|
903
959
|
},
|
|
904
960
|
{
|
|
905
|
-
"id":
|
|
961
|
+
"id": 43691,
|
|
906
962
|
"nodeType": "EventDefinition",
|
|
907
963
|
"src": "185:81:48",
|
|
908
964
|
"nodes": [],
|
|
@@ -911,18 +967,18 @@
|
|
|
911
967
|
"name": "StoreSetField",
|
|
912
968
|
"nameLocation": "191:13:48",
|
|
913
969
|
"parameters": {
|
|
914
|
-
"id":
|
|
970
|
+
"id": 43690,
|
|
915
971
|
"nodeType": "ParameterList",
|
|
916
972
|
"parameters": [
|
|
917
973
|
{
|
|
918
974
|
"constant": false,
|
|
919
|
-
"id":
|
|
975
|
+
"id": 43682,
|
|
920
976
|
"indexed": false,
|
|
921
977
|
"mutability": "mutable",
|
|
922
978
|
"name": "table",
|
|
923
979
|
"nameLocation": "213:5:48",
|
|
924
980
|
"nodeType": "VariableDeclaration",
|
|
925
|
-
"scope":
|
|
981
|
+
"scope": 43691,
|
|
926
982
|
"src": "205:13:48",
|
|
927
983
|
"stateVariable": false,
|
|
928
984
|
"storageLocation": "default",
|
|
@@ -931,7 +987,7 @@
|
|
|
931
987
|
"typeString": "uint256"
|
|
932
988
|
},
|
|
933
989
|
"typeName": {
|
|
934
|
-
"id":
|
|
990
|
+
"id": 43681,
|
|
935
991
|
"name": "uint256",
|
|
936
992
|
"nodeType": "ElementaryTypeName",
|
|
937
993
|
"src": "205:7:48",
|
|
@@ -944,13 +1000,13 @@
|
|
|
944
1000
|
},
|
|
945
1001
|
{
|
|
946
1002
|
"constant": false,
|
|
947
|
-
"id":
|
|
1003
|
+
"id": 43685,
|
|
948
1004
|
"indexed": false,
|
|
949
1005
|
"mutability": "mutable",
|
|
950
1006
|
"name": "key",
|
|
951
1007
|
"nameLocation": "230:3:48",
|
|
952
1008
|
"nodeType": "VariableDeclaration",
|
|
953
|
-
"scope":
|
|
1009
|
+
"scope": 43691,
|
|
954
1010
|
"src": "220:13:48",
|
|
955
1011
|
"stateVariable": false,
|
|
956
1012
|
"storageLocation": "default",
|
|
@@ -960,7 +1016,7 @@
|
|
|
960
1016
|
},
|
|
961
1017
|
"typeName": {
|
|
962
1018
|
"baseType": {
|
|
963
|
-
"id":
|
|
1019
|
+
"id": 43683,
|
|
964
1020
|
"name": "bytes32",
|
|
965
1021
|
"nodeType": "ElementaryTypeName",
|
|
966
1022
|
"src": "220:7:48",
|
|
@@ -969,7 +1025,7 @@
|
|
|
969
1025
|
"typeString": "bytes32"
|
|
970
1026
|
}
|
|
971
1027
|
},
|
|
972
|
-
"id":
|
|
1028
|
+
"id": 43684,
|
|
973
1029
|
"nodeType": "ArrayTypeName",
|
|
974
1030
|
"src": "220:9:48",
|
|
975
1031
|
"typeDescriptions": {
|
|
@@ -981,13 +1037,13 @@
|
|
|
981
1037
|
},
|
|
982
1038
|
{
|
|
983
1039
|
"constant": false,
|
|
984
|
-
"id":
|
|
1040
|
+
"id": 43687,
|
|
985
1041
|
"indexed": false,
|
|
986
1042
|
"mutability": "mutable",
|
|
987
1043
|
"name": "schemaIndex",
|
|
988
1044
|
"nameLocation": "241:11:48",
|
|
989
1045
|
"nodeType": "VariableDeclaration",
|
|
990
|
-
"scope":
|
|
1046
|
+
"scope": 43691,
|
|
991
1047
|
"src": "235:17:48",
|
|
992
1048
|
"stateVariable": false,
|
|
993
1049
|
"storageLocation": "default",
|
|
@@ -996,7 +1052,7 @@
|
|
|
996
1052
|
"typeString": "uint8"
|
|
997
1053
|
},
|
|
998
1054
|
"typeName": {
|
|
999
|
-
"id":
|
|
1055
|
+
"id": 43686,
|
|
1000
1056
|
"name": "uint8",
|
|
1001
1057
|
"nodeType": "ElementaryTypeName",
|
|
1002
1058
|
"src": "235:5:48",
|
|
@@ -1009,13 +1065,13 @@
|
|
|
1009
1065
|
},
|
|
1010
1066
|
{
|
|
1011
1067
|
"constant": false,
|
|
1012
|
-
"id":
|
|
1068
|
+
"id": 43689,
|
|
1013
1069
|
"indexed": false,
|
|
1014
1070
|
"mutability": "mutable",
|
|
1015
1071
|
"name": "data",
|
|
1016
1072
|
"nameLocation": "260:4:48",
|
|
1017
1073
|
"nodeType": "VariableDeclaration",
|
|
1018
|
-
"scope":
|
|
1074
|
+
"scope": 43691,
|
|
1019
1075
|
"src": "254:10:48",
|
|
1020
1076
|
"stateVariable": false,
|
|
1021
1077
|
"storageLocation": "default",
|
|
@@ -1024,7 +1080,7 @@
|
|
|
1024
1080
|
"typeString": "bytes"
|
|
1025
1081
|
},
|
|
1026
1082
|
"typeName": {
|
|
1027
|
-
"id":
|
|
1083
|
+
"id": 43688,
|
|
1028
1084
|
"name": "bytes",
|
|
1029
1085
|
"nodeType": "ElementaryTypeName",
|
|
1030
1086
|
"src": "254:5:48",
|
|
@@ -1040,7 +1096,7 @@
|
|
|
1040
1096
|
}
|
|
1041
1097
|
},
|
|
1042
1098
|
{
|
|
1043
|
-
"id":
|
|
1099
|
+
"id": 43698,
|
|
1044
1100
|
"nodeType": "EventDefinition",
|
|
1045
1101
|
"src": "269:54:48",
|
|
1046
1102
|
"nodes": [],
|
|
@@ -1049,18 +1105,18 @@
|
|
|
1049
1105
|
"name": "StoreDeleteRecord",
|
|
1050
1106
|
"nameLocation": "275:17:48",
|
|
1051
1107
|
"parameters": {
|
|
1052
|
-
"id":
|
|
1108
|
+
"id": 43697,
|
|
1053
1109
|
"nodeType": "ParameterList",
|
|
1054
1110
|
"parameters": [
|
|
1055
1111
|
{
|
|
1056
1112
|
"constant": false,
|
|
1057
|
-
"id":
|
|
1113
|
+
"id": 43693,
|
|
1058
1114
|
"indexed": false,
|
|
1059
1115
|
"mutability": "mutable",
|
|
1060
1116
|
"name": "table",
|
|
1061
1117
|
"nameLocation": "301:5:48",
|
|
1062
1118
|
"nodeType": "VariableDeclaration",
|
|
1063
|
-
"scope":
|
|
1119
|
+
"scope": 43698,
|
|
1064
1120
|
"src": "293:13:48",
|
|
1065
1121
|
"stateVariable": false,
|
|
1066
1122
|
"storageLocation": "default",
|
|
@@ -1069,7 +1125,7 @@
|
|
|
1069
1125
|
"typeString": "uint256"
|
|
1070
1126
|
},
|
|
1071
1127
|
"typeName": {
|
|
1072
|
-
"id":
|
|
1128
|
+
"id": 43692,
|
|
1073
1129
|
"name": "uint256",
|
|
1074
1130
|
"nodeType": "ElementaryTypeName",
|
|
1075
1131
|
"src": "293:7:48",
|
|
@@ -1082,13 +1138,13 @@
|
|
|
1082
1138
|
},
|
|
1083
1139
|
{
|
|
1084
1140
|
"constant": false,
|
|
1085
|
-
"id":
|
|
1141
|
+
"id": 43696,
|
|
1086
1142
|
"indexed": false,
|
|
1087
1143
|
"mutability": "mutable",
|
|
1088
1144
|
"name": "key",
|
|
1089
1145
|
"nameLocation": "318:3:48",
|
|
1090
1146
|
"nodeType": "VariableDeclaration",
|
|
1091
|
-
"scope":
|
|
1147
|
+
"scope": 43698,
|
|
1092
1148
|
"src": "308:13:48",
|
|
1093
1149
|
"stateVariable": false,
|
|
1094
1150
|
"storageLocation": "default",
|
|
@@ -1098,7 +1154,7 @@
|
|
|
1098
1154
|
},
|
|
1099
1155
|
"typeName": {
|
|
1100
1156
|
"baseType": {
|
|
1101
|
-
"id":
|
|
1157
|
+
"id": 43694,
|
|
1102
1158
|
"name": "bytes32",
|
|
1103
1159
|
"nodeType": "ElementaryTypeName",
|
|
1104
1160
|
"src": "308:7:48",
|
|
@@ -1107,7 +1163,7 @@
|
|
|
1107
1163
|
"typeString": "bytes32"
|
|
1108
1164
|
}
|
|
1109
1165
|
},
|
|
1110
|
-
"id":
|
|
1166
|
+
"id": 43695,
|
|
1111
1167
|
"nodeType": "ArrayTypeName",
|
|
1112
1168
|
"src": "308:9:48",
|
|
1113
1169
|
"typeDescriptions": {
|
|
@@ -1122,7 +1178,7 @@
|
|
|
1122
1178
|
}
|
|
1123
1179
|
},
|
|
1124
1180
|
{
|
|
1125
|
-
"id":
|
|
1181
|
+
"id": 43706,
|
|
1126
1182
|
"nodeType": "FunctionDefinition",
|
|
1127
1183
|
"src": "327:63:48",
|
|
1128
1184
|
"nodes": [],
|
|
@@ -1133,17 +1189,17 @@
|
|
|
1133
1189
|
"name": "registerSchema",
|
|
1134
1190
|
"nameLocation": "336:14:48",
|
|
1135
1191
|
"parameters": {
|
|
1136
|
-
"id":
|
|
1192
|
+
"id": 43704,
|
|
1137
1193
|
"nodeType": "ParameterList",
|
|
1138
1194
|
"parameters": [
|
|
1139
1195
|
{
|
|
1140
1196
|
"constant": false,
|
|
1141
|
-
"id":
|
|
1197
|
+
"id": 43700,
|
|
1142
1198
|
"mutability": "mutable",
|
|
1143
1199
|
"name": "table",
|
|
1144
1200
|
"nameLocation": "359:5:48",
|
|
1145
1201
|
"nodeType": "VariableDeclaration",
|
|
1146
|
-
"scope":
|
|
1202
|
+
"scope": 43706,
|
|
1147
1203
|
"src": "351:13:48",
|
|
1148
1204
|
"stateVariable": false,
|
|
1149
1205
|
"storageLocation": "default",
|
|
@@ -1152,7 +1208,7 @@
|
|
|
1152
1208
|
"typeString": "uint256"
|
|
1153
1209
|
},
|
|
1154
1210
|
"typeName": {
|
|
1155
|
-
"id":
|
|
1211
|
+
"id": 43699,
|
|
1156
1212
|
"name": "uint256",
|
|
1157
1213
|
"nodeType": "ElementaryTypeName",
|
|
1158
1214
|
"src": "351:7:48",
|
|
@@ -1165,33 +1221,33 @@
|
|
|
1165
1221
|
},
|
|
1166
1222
|
{
|
|
1167
1223
|
"constant": false,
|
|
1168
|
-
"id":
|
|
1224
|
+
"id": 43703,
|
|
1169
1225
|
"mutability": "mutable",
|
|
1170
1226
|
"name": "schema",
|
|
1171
1227
|
"nameLocation": "373:6:48",
|
|
1172
1228
|
"nodeType": "VariableDeclaration",
|
|
1173
|
-
"scope":
|
|
1229
|
+
"scope": 43706,
|
|
1174
1230
|
"src": "366:13:48",
|
|
1175
1231
|
"stateVariable": false,
|
|
1176
1232
|
"storageLocation": "default",
|
|
1177
1233
|
"typeDescriptions": {
|
|
1178
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1234
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$44351",
|
|
1179
1235
|
"typeString": "Schema"
|
|
1180
1236
|
},
|
|
1181
1237
|
"typeName": {
|
|
1182
|
-
"id":
|
|
1238
|
+
"id": 43702,
|
|
1183
1239
|
"nodeType": "UserDefinedTypeName",
|
|
1184
1240
|
"pathNode": {
|
|
1185
|
-
"id":
|
|
1241
|
+
"id": 43701,
|
|
1186
1242
|
"name": "Schema",
|
|
1187
1243
|
"nodeType": "IdentifierPath",
|
|
1188
|
-
"referencedDeclaration":
|
|
1244
|
+
"referencedDeclaration": 44351,
|
|
1189
1245
|
"src": "366:6:48"
|
|
1190
1246
|
},
|
|
1191
|
-
"referencedDeclaration":
|
|
1247
|
+
"referencedDeclaration": 44351,
|
|
1192
1248
|
"src": "366:6:48",
|
|
1193
1249
|
"typeDescriptions": {
|
|
1194
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1250
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$44351",
|
|
1195
1251
|
"typeString": "Schema"
|
|
1196
1252
|
}
|
|
1197
1253
|
},
|
|
@@ -1201,18 +1257,18 @@
|
|
|
1201
1257
|
"src": "350:30:48"
|
|
1202
1258
|
},
|
|
1203
1259
|
"returnParameters": {
|
|
1204
|
-
"id":
|
|
1260
|
+
"id": 43705,
|
|
1205
1261
|
"nodeType": "ParameterList",
|
|
1206
1262
|
"parameters": [],
|
|
1207
1263
|
"src": "389:0:48"
|
|
1208
1264
|
},
|
|
1209
|
-
"scope":
|
|
1265
|
+
"scope": 43813,
|
|
1210
1266
|
"stateMutability": "nonpayable",
|
|
1211
1267
|
"virtual": false,
|
|
1212
1268
|
"visibility": "external"
|
|
1213
1269
|
},
|
|
1214
1270
|
{
|
|
1215
|
-
"id":
|
|
1271
|
+
"id": 43714,
|
|
1216
1272
|
"nodeType": "FunctionDefinition",
|
|
1217
1273
|
"src": "394:72:48",
|
|
1218
1274
|
"nodes": [],
|
|
@@ -1223,17 +1279,17 @@
|
|
|
1223
1279
|
"name": "getSchema",
|
|
1224
1280
|
"nameLocation": "403:9:48",
|
|
1225
1281
|
"parameters": {
|
|
1226
|
-
"id":
|
|
1282
|
+
"id": 43709,
|
|
1227
1283
|
"nodeType": "ParameterList",
|
|
1228
1284
|
"parameters": [
|
|
1229
1285
|
{
|
|
1230
1286
|
"constant": false,
|
|
1231
|
-
"id":
|
|
1287
|
+
"id": 43708,
|
|
1232
1288
|
"mutability": "mutable",
|
|
1233
1289
|
"name": "table",
|
|
1234
1290
|
"nameLocation": "421:5:48",
|
|
1235
1291
|
"nodeType": "VariableDeclaration",
|
|
1236
|
-
"scope":
|
|
1292
|
+
"scope": 43714,
|
|
1237
1293
|
"src": "413:13:48",
|
|
1238
1294
|
"stateVariable": false,
|
|
1239
1295
|
"storageLocation": "default",
|
|
@@ -1242,7 +1298,7 @@
|
|
|
1242
1298
|
"typeString": "uint256"
|
|
1243
1299
|
},
|
|
1244
1300
|
"typeName": {
|
|
1245
|
-
"id":
|
|
1301
|
+
"id": 43707,
|
|
1246
1302
|
"name": "uint256",
|
|
1247
1303
|
"nodeType": "ElementaryTypeName",
|
|
1248
1304
|
"src": "413:7:48",
|
|
@@ -1257,38 +1313,38 @@
|
|
|
1257
1313
|
"src": "412:15:48"
|
|
1258
1314
|
},
|
|
1259
1315
|
"returnParameters": {
|
|
1260
|
-
"id":
|
|
1316
|
+
"id": 43713,
|
|
1261
1317
|
"nodeType": "ParameterList",
|
|
1262
1318
|
"parameters": [
|
|
1263
1319
|
{
|
|
1264
1320
|
"constant": false,
|
|
1265
|
-
"id":
|
|
1321
|
+
"id": 43712,
|
|
1266
1322
|
"mutability": "mutable",
|
|
1267
1323
|
"name": "schema",
|
|
1268
1324
|
"nameLocation": "458:6:48",
|
|
1269
1325
|
"nodeType": "VariableDeclaration",
|
|
1270
|
-
"scope":
|
|
1326
|
+
"scope": 43714,
|
|
1271
1327
|
"src": "451:13:48",
|
|
1272
1328
|
"stateVariable": false,
|
|
1273
1329
|
"storageLocation": "default",
|
|
1274
1330
|
"typeDescriptions": {
|
|
1275
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1331
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$44351",
|
|
1276
1332
|
"typeString": "Schema"
|
|
1277
1333
|
},
|
|
1278
1334
|
"typeName": {
|
|
1279
|
-
"id":
|
|
1335
|
+
"id": 43711,
|
|
1280
1336
|
"nodeType": "UserDefinedTypeName",
|
|
1281
1337
|
"pathNode": {
|
|
1282
|
-
"id":
|
|
1338
|
+
"id": 43710,
|
|
1283
1339
|
"name": "Schema",
|
|
1284
1340
|
"nodeType": "IdentifierPath",
|
|
1285
|
-
"referencedDeclaration":
|
|
1341
|
+
"referencedDeclaration": 44351,
|
|
1286
1342
|
"src": "451:6:48"
|
|
1287
1343
|
},
|
|
1288
|
-
"referencedDeclaration":
|
|
1344
|
+
"referencedDeclaration": 44351,
|
|
1289
1345
|
"src": "451:6:48",
|
|
1290
1346
|
"typeDescriptions": {
|
|
1291
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1347
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$44351",
|
|
1292
1348
|
"typeString": "Schema"
|
|
1293
1349
|
}
|
|
1294
1350
|
},
|
|
@@ -1297,15 +1353,15 @@
|
|
|
1297
1353
|
],
|
|
1298
1354
|
"src": "450:15:48"
|
|
1299
1355
|
},
|
|
1300
|
-
"scope":
|
|
1356
|
+
"scope": 43813,
|
|
1301
1357
|
"stateMutability": "view",
|
|
1302
1358
|
"virtual": false,
|
|
1303
1359
|
"visibility": "external"
|
|
1304
1360
|
},
|
|
1305
1361
|
{
|
|
1306
|
-
"id":
|
|
1362
|
+
"id": 43724,
|
|
1307
1363
|
"nodeType": "FunctionDefinition",
|
|
1308
|
-
"src": "470:
|
|
1364
|
+
"src": "470:102:48",
|
|
1309
1365
|
"nodes": [],
|
|
1310
1366
|
"functionSelector": "174e23be",
|
|
1311
1367
|
"implemented": false,
|
|
@@ -1314,18 +1370,18 @@
|
|
|
1314
1370
|
"name": "setMetadata",
|
|
1315
1371
|
"nameLocation": "479:11:48",
|
|
1316
1372
|
"parameters": {
|
|
1317
|
-
"id":
|
|
1373
|
+
"id": 43722,
|
|
1318
1374
|
"nodeType": "ParameterList",
|
|
1319
1375
|
"parameters": [
|
|
1320
1376
|
{
|
|
1321
1377
|
"constant": false,
|
|
1322
|
-
"id":
|
|
1378
|
+
"id": 43716,
|
|
1323
1379
|
"mutability": "mutable",
|
|
1324
1380
|
"name": "table",
|
|
1325
|
-
"nameLocation": "
|
|
1381
|
+
"nameLocation": "499:5:48",
|
|
1326
1382
|
"nodeType": "VariableDeclaration",
|
|
1327
|
-
"scope":
|
|
1328
|
-
"src": "
|
|
1383
|
+
"scope": 43724,
|
|
1384
|
+
"src": "491:13:48",
|
|
1329
1385
|
"stateVariable": false,
|
|
1330
1386
|
"storageLocation": "default",
|
|
1331
1387
|
"typeDescriptions": {
|
|
@@ -1333,10 +1389,10 @@
|
|
|
1333
1389
|
"typeString": "uint256"
|
|
1334
1390
|
},
|
|
1335
1391
|
"typeName": {
|
|
1336
|
-
"id":
|
|
1392
|
+
"id": 43715,
|
|
1337
1393
|
"name": "uint256",
|
|
1338
1394
|
"nodeType": "ElementaryTypeName",
|
|
1339
|
-
"src": "
|
|
1395
|
+
"src": "491:7:48",
|
|
1340
1396
|
"typeDescriptions": {
|
|
1341
1397
|
"typeIdentifier": "t_uint256",
|
|
1342
1398
|
"typeString": "uint256"
|
|
@@ -1346,13 +1402,13 @@
|
|
|
1346
1402
|
},
|
|
1347
1403
|
{
|
|
1348
1404
|
"constant": false,
|
|
1349
|
-
"id":
|
|
1405
|
+
"id": 43718,
|
|
1350
1406
|
"mutability": "mutable",
|
|
1351
1407
|
"name": "tableName",
|
|
1352
|
-
"nameLocation": "
|
|
1408
|
+
"nameLocation": "522:9:48",
|
|
1353
1409
|
"nodeType": "VariableDeclaration",
|
|
1354
|
-
"scope":
|
|
1355
|
-
"src": "
|
|
1410
|
+
"scope": 43724,
|
|
1411
|
+
"src": "506:25:48",
|
|
1356
1412
|
"stateVariable": false,
|
|
1357
1413
|
"storageLocation": "calldata",
|
|
1358
1414
|
"typeDescriptions": {
|
|
@@ -1360,10 +1416,10 @@
|
|
|
1360
1416
|
"typeString": "string"
|
|
1361
1417
|
},
|
|
1362
1418
|
"typeName": {
|
|
1363
|
-
"id":
|
|
1419
|
+
"id": 43717,
|
|
1364
1420
|
"name": "string",
|
|
1365
1421
|
"nodeType": "ElementaryTypeName",
|
|
1366
|
-
"src": "
|
|
1422
|
+
"src": "506:6:48",
|
|
1367
1423
|
"typeDescriptions": {
|
|
1368
1424
|
"typeIdentifier": "t_string_storage_ptr",
|
|
1369
1425
|
"typeString": "string"
|
|
@@ -1373,13 +1429,13 @@
|
|
|
1373
1429
|
},
|
|
1374
1430
|
{
|
|
1375
1431
|
"constant": false,
|
|
1376
|
-
"id":
|
|
1432
|
+
"id": 43721,
|
|
1377
1433
|
"mutability": "mutable",
|
|
1378
1434
|
"name": "fieldNames",
|
|
1379
|
-
"nameLocation": "
|
|
1435
|
+
"nameLocation": "551:10:48",
|
|
1380
1436
|
"nodeType": "VariableDeclaration",
|
|
1381
|
-
"scope":
|
|
1382
|
-
"src": "
|
|
1437
|
+
"scope": 43724,
|
|
1438
|
+
"src": "533:28:48",
|
|
1383
1439
|
"stateVariable": false,
|
|
1384
1440
|
"storageLocation": "calldata",
|
|
1385
1441
|
"typeDescriptions": {
|
|
@@ -1388,18 +1444,18 @@
|
|
|
1388
1444
|
},
|
|
1389
1445
|
"typeName": {
|
|
1390
1446
|
"baseType": {
|
|
1391
|
-
"id":
|
|
1447
|
+
"id": 43719,
|
|
1392
1448
|
"name": "string",
|
|
1393
1449
|
"nodeType": "ElementaryTypeName",
|
|
1394
|
-
"src": "
|
|
1450
|
+
"src": "533:6:48",
|
|
1395
1451
|
"typeDescriptions": {
|
|
1396
1452
|
"typeIdentifier": "t_string_storage_ptr",
|
|
1397
1453
|
"typeString": "string"
|
|
1398
1454
|
}
|
|
1399
1455
|
},
|
|
1400
|
-
"id":
|
|
1456
|
+
"id": 43720,
|
|
1401
1457
|
"nodeType": "ArrayTypeName",
|
|
1402
|
-
"src": "
|
|
1458
|
+
"src": "533:8:48",
|
|
1403
1459
|
"typeDescriptions": {
|
|
1404
1460
|
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
1405
1461
|
"typeString": "string[]"
|
|
@@ -1408,43 +1464,43 @@
|
|
|
1408
1464
|
"visibility": "internal"
|
|
1409
1465
|
}
|
|
1410
1466
|
],
|
|
1411
|
-
"src": "490:
|
|
1467
|
+
"src": "490:72:48"
|
|
1412
1468
|
},
|
|
1413
1469
|
"returnParameters": {
|
|
1414
|
-
"id":
|
|
1470
|
+
"id": 43723,
|
|
1415
1471
|
"nodeType": "ParameterList",
|
|
1416
1472
|
"parameters": [],
|
|
1417
|
-
"src": "
|
|
1473
|
+
"src": "571:0:48"
|
|
1418
1474
|
},
|
|
1419
|
-
"scope":
|
|
1475
|
+
"scope": 43813,
|
|
1420
1476
|
"stateMutability": "nonpayable",
|
|
1421
1477
|
"virtual": false,
|
|
1422
1478
|
"visibility": "external"
|
|
1423
1479
|
},
|
|
1424
1480
|
{
|
|
1425
|
-
"id":
|
|
1481
|
+
"id": 43734,
|
|
1426
1482
|
"nodeType": "FunctionDefinition",
|
|
1427
|
-
"src": "
|
|
1483
|
+
"src": "627:88:48",
|
|
1428
1484
|
"nodes": [],
|
|
1429
1485
|
"functionSelector": "651a0d1a",
|
|
1430
1486
|
"implemented": false,
|
|
1431
1487
|
"kind": "function",
|
|
1432
1488
|
"modifiers": [],
|
|
1433
1489
|
"name": "setRecord",
|
|
1434
|
-
"nameLocation": "
|
|
1490
|
+
"nameLocation": "636:9:48",
|
|
1435
1491
|
"parameters": {
|
|
1436
|
-
"id":
|
|
1492
|
+
"id": 43732,
|
|
1437
1493
|
"nodeType": "ParameterList",
|
|
1438
1494
|
"parameters": [
|
|
1439
1495
|
{
|
|
1440
1496
|
"constant": false,
|
|
1441
|
-
"id":
|
|
1497
|
+
"id": 43726,
|
|
1442
1498
|
"mutability": "mutable",
|
|
1443
1499
|
"name": "table",
|
|
1444
|
-
"nameLocation": "
|
|
1500
|
+
"nameLocation": "654:5:48",
|
|
1445
1501
|
"nodeType": "VariableDeclaration",
|
|
1446
|
-
"scope":
|
|
1447
|
-
"src": "
|
|
1502
|
+
"scope": 43734,
|
|
1503
|
+
"src": "646:13:48",
|
|
1448
1504
|
"stateVariable": false,
|
|
1449
1505
|
"storageLocation": "default",
|
|
1450
1506
|
"typeDescriptions": {
|
|
@@ -1452,10 +1508,10 @@
|
|
|
1452
1508
|
"typeString": "uint256"
|
|
1453
1509
|
},
|
|
1454
1510
|
"typeName": {
|
|
1455
|
-
"id":
|
|
1511
|
+
"id": 43725,
|
|
1456
1512
|
"name": "uint256",
|
|
1457
1513
|
"nodeType": "ElementaryTypeName",
|
|
1458
|
-
"src": "
|
|
1514
|
+
"src": "646:7:48",
|
|
1459
1515
|
"typeDescriptions": {
|
|
1460
1516
|
"typeIdentifier": "t_uint256",
|
|
1461
1517
|
"typeString": "uint256"
|
|
@@ -1465,13 +1521,13 @@
|
|
|
1465
1521
|
},
|
|
1466
1522
|
{
|
|
1467
1523
|
"constant": false,
|
|
1468
|
-
"id":
|
|
1524
|
+
"id": 43729,
|
|
1469
1525
|
"mutability": "mutable",
|
|
1470
1526
|
"name": "key",
|
|
1471
|
-
"nameLocation": "
|
|
1527
|
+
"nameLocation": "680:3:48",
|
|
1472
1528
|
"nodeType": "VariableDeclaration",
|
|
1473
|
-
"scope":
|
|
1474
|
-
"src": "
|
|
1529
|
+
"scope": 43734,
|
|
1530
|
+
"src": "661:22:48",
|
|
1475
1531
|
"stateVariable": false,
|
|
1476
1532
|
"storageLocation": "calldata",
|
|
1477
1533
|
"typeDescriptions": {
|
|
@@ -1480,18 +1536,18 @@
|
|
|
1480
1536
|
},
|
|
1481
1537
|
"typeName": {
|
|
1482
1538
|
"baseType": {
|
|
1483
|
-
"id":
|
|
1539
|
+
"id": 43727,
|
|
1484
1540
|
"name": "bytes32",
|
|
1485
1541
|
"nodeType": "ElementaryTypeName",
|
|
1486
|
-
"src": "
|
|
1542
|
+
"src": "661:7:48",
|
|
1487
1543
|
"typeDescriptions": {
|
|
1488
1544
|
"typeIdentifier": "t_bytes32",
|
|
1489
1545
|
"typeString": "bytes32"
|
|
1490
1546
|
}
|
|
1491
1547
|
},
|
|
1492
|
-
"id":
|
|
1548
|
+
"id": 43728,
|
|
1493
1549
|
"nodeType": "ArrayTypeName",
|
|
1494
|
-
"src": "
|
|
1550
|
+
"src": "661:9:48",
|
|
1495
1551
|
"typeDescriptions": {
|
|
1496
1552
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1497
1553
|
"typeString": "bytes32[]"
|
|
@@ -1501,13 +1557,13 @@
|
|
|
1501
1557
|
},
|
|
1502
1558
|
{
|
|
1503
1559
|
"constant": false,
|
|
1504
|
-
"id":
|
|
1560
|
+
"id": 43731,
|
|
1505
1561
|
"mutability": "mutable",
|
|
1506
1562
|
"name": "data",
|
|
1507
|
-
"nameLocation": "
|
|
1563
|
+
"nameLocation": "700:4:48",
|
|
1508
1564
|
"nodeType": "VariableDeclaration",
|
|
1509
|
-
"scope":
|
|
1510
|
-
"src": "
|
|
1565
|
+
"scope": 43734,
|
|
1566
|
+
"src": "685:19:48",
|
|
1511
1567
|
"stateVariable": false,
|
|
1512
1568
|
"storageLocation": "calldata",
|
|
1513
1569
|
"typeDescriptions": {
|
|
@@ -1515,10 +1571,10 @@
|
|
|
1515
1571
|
"typeString": "bytes"
|
|
1516
1572
|
},
|
|
1517
1573
|
"typeName": {
|
|
1518
|
-
"id":
|
|
1574
|
+
"id": 43730,
|
|
1519
1575
|
"name": "bytes",
|
|
1520
1576
|
"nodeType": "ElementaryTypeName",
|
|
1521
|
-
"src": "
|
|
1577
|
+
"src": "685:5:48",
|
|
1522
1578
|
"typeDescriptions": {
|
|
1523
1579
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1524
1580
|
"typeString": "bytes"
|
|
@@ -1527,43 +1583,43 @@
|
|
|
1527
1583
|
"visibility": "internal"
|
|
1528
1584
|
}
|
|
1529
1585
|
],
|
|
1530
|
-
"src": "
|
|
1586
|
+
"src": "645:60:48"
|
|
1531
1587
|
},
|
|
1532
1588
|
"returnParameters": {
|
|
1533
|
-
"id":
|
|
1589
|
+
"id": 43733,
|
|
1534
1590
|
"nodeType": "ParameterList",
|
|
1535
1591
|
"parameters": [],
|
|
1536
|
-
"src": "
|
|
1592
|
+
"src": "714:0:48"
|
|
1537
1593
|
},
|
|
1538
|
-
"scope":
|
|
1594
|
+
"scope": 43813,
|
|
1539
1595
|
"stateMutability": "nonpayable",
|
|
1540
1596
|
"virtual": false,
|
|
1541
1597
|
"visibility": "external"
|
|
1542
1598
|
},
|
|
1543
1599
|
{
|
|
1544
|
-
"id":
|
|
1600
|
+
"id": 43746,
|
|
1545
1601
|
"nodeType": "FunctionDefinition",
|
|
1546
|
-
"src": "
|
|
1602
|
+
"src": "757:106:48",
|
|
1547
1603
|
"nodes": [],
|
|
1548
1604
|
"functionSelector": "91c45d22",
|
|
1549
1605
|
"implemented": false,
|
|
1550
1606
|
"kind": "function",
|
|
1551
1607
|
"modifiers": [],
|
|
1552
1608
|
"name": "setField",
|
|
1553
|
-
"nameLocation": "
|
|
1609
|
+
"nameLocation": "766:8:48",
|
|
1554
1610
|
"parameters": {
|
|
1555
|
-
"id":
|
|
1611
|
+
"id": 43744,
|
|
1556
1612
|
"nodeType": "ParameterList",
|
|
1557
1613
|
"parameters": [
|
|
1558
1614
|
{
|
|
1559
1615
|
"constant": false,
|
|
1560
|
-
"id":
|
|
1616
|
+
"id": 43736,
|
|
1561
1617
|
"mutability": "mutable",
|
|
1562
1618
|
"name": "table",
|
|
1563
|
-
"nameLocation": "
|
|
1619
|
+
"nameLocation": "783:5:48",
|
|
1564
1620
|
"nodeType": "VariableDeclaration",
|
|
1565
|
-
"scope":
|
|
1566
|
-
"src": "
|
|
1621
|
+
"scope": 43746,
|
|
1622
|
+
"src": "775:13:48",
|
|
1567
1623
|
"stateVariable": false,
|
|
1568
1624
|
"storageLocation": "default",
|
|
1569
1625
|
"typeDescriptions": {
|
|
@@ -1571,10 +1627,10 @@
|
|
|
1571
1627
|
"typeString": "uint256"
|
|
1572
1628
|
},
|
|
1573
1629
|
"typeName": {
|
|
1574
|
-
"id":
|
|
1630
|
+
"id": 43735,
|
|
1575
1631
|
"name": "uint256",
|
|
1576
1632
|
"nodeType": "ElementaryTypeName",
|
|
1577
|
-
"src": "
|
|
1633
|
+
"src": "775:7:48",
|
|
1578
1634
|
"typeDescriptions": {
|
|
1579
1635
|
"typeIdentifier": "t_uint256",
|
|
1580
1636
|
"typeString": "uint256"
|
|
@@ -1584,13 +1640,13 @@
|
|
|
1584
1640
|
},
|
|
1585
1641
|
{
|
|
1586
1642
|
"constant": false,
|
|
1587
|
-
"id":
|
|
1643
|
+
"id": 43739,
|
|
1588
1644
|
"mutability": "mutable",
|
|
1589
1645
|
"name": "key",
|
|
1590
|
-
"nameLocation": "
|
|
1646
|
+
"nameLocation": "809:3:48",
|
|
1591
1647
|
"nodeType": "VariableDeclaration",
|
|
1592
|
-
"scope":
|
|
1593
|
-
"src": "
|
|
1648
|
+
"scope": 43746,
|
|
1649
|
+
"src": "790:22:48",
|
|
1594
1650
|
"stateVariable": false,
|
|
1595
1651
|
"storageLocation": "calldata",
|
|
1596
1652
|
"typeDescriptions": {
|
|
@@ -1599,18 +1655,18 @@
|
|
|
1599
1655
|
},
|
|
1600
1656
|
"typeName": {
|
|
1601
1657
|
"baseType": {
|
|
1602
|
-
"id":
|
|
1658
|
+
"id": 43737,
|
|
1603
1659
|
"name": "bytes32",
|
|
1604
1660
|
"nodeType": "ElementaryTypeName",
|
|
1605
|
-
"src": "
|
|
1661
|
+
"src": "790:7:48",
|
|
1606
1662
|
"typeDescriptions": {
|
|
1607
1663
|
"typeIdentifier": "t_bytes32",
|
|
1608
1664
|
"typeString": "bytes32"
|
|
1609
1665
|
}
|
|
1610
1666
|
},
|
|
1611
|
-
"id":
|
|
1667
|
+
"id": 43738,
|
|
1612
1668
|
"nodeType": "ArrayTypeName",
|
|
1613
|
-
"src": "
|
|
1669
|
+
"src": "790:9:48",
|
|
1614
1670
|
"typeDescriptions": {
|
|
1615
1671
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1616
1672
|
"typeString": "bytes32[]"
|
|
@@ -1620,13 +1676,13 @@
|
|
|
1620
1676
|
},
|
|
1621
1677
|
{
|
|
1622
1678
|
"constant": false,
|
|
1623
|
-
"id":
|
|
1679
|
+
"id": 43741,
|
|
1624
1680
|
"mutability": "mutable",
|
|
1625
1681
|
"name": "schemaIndex",
|
|
1626
|
-
"nameLocation": "
|
|
1682
|
+
"nameLocation": "820:11:48",
|
|
1627
1683
|
"nodeType": "VariableDeclaration",
|
|
1628
|
-
"scope":
|
|
1629
|
-
"src": "
|
|
1684
|
+
"scope": 43746,
|
|
1685
|
+
"src": "814:17:48",
|
|
1630
1686
|
"stateVariable": false,
|
|
1631
1687
|
"storageLocation": "default",
|
|
1632
1688
|
"typeDescriptions": {
|
|
@@ -1634,10 +1690,10 @@
|
|
|
1634
1690
|
"typeString": "uint8"
|
|
1635
1691
|
},
|
|
1636
1692
|
"typeName": {
|
|
1637
|
-
"id":
|
|
1693
|
+
"id": 43740,
|
|
1638
1694
|
"name": "uint8",
|
|
1639
1695
|
"nodeType": "ElementaryTypeName",
|
|
1640
|
-
"src": "
|
|
1696
|
+
"src": "814:5:48",
|
|
1641
1697
|
"typeDescriptions": {
|
|
1642
1698
|
"typeIdentifier": "t_uint8",
|
|
1643
1699
|
"typeString": "uint8"
|
|
@@ -1647,13 +1703,159 @@
|
|
|
1647
1703
|
},
|
|
1648
1704
|
{
|
|
1649
1705
|
"constant": false,
|
|
1650
|
-
"id":
|
|
1706
|
+
"id": 43743,
|
|
1651
1707
|
"mutability": "mutable",
|
|
1652
1708
|
"name": "data",
|
|
1653
|
-
"nameLocation": "
|
|
1709
|
+
"nameLocation": "848:4:48",
|
|
1710
|
+
"nodeType": "VariableDeclaration",
|
|
1711
|
+
"scope": 43746,
|
|
1712
|
+
"src": "833:19:48",
|
|
1713
|
+
"stateVariable": false,
|
|
1714
|
+
"storageLocation": "calldata",
|
|
1715
|
+
"typeDescriptions": {
|
|
1716
|
+
"typeIdentifier": "t_bytes_calldata_ptr",
|
|
1717
|
+
"typeString": "bytes"
|
|
1718
|
+
},
|
|
1719
|
+
"typeName": {
|
|
1720
|
+
"id": 43742,
|
|
1721
|
+
"name": "bytes",
|
|
1722
|
+
"nodeType": "ElementaryTypeName",
|
|
1723
|
+
"src": "833:5:48",
|
|
1724
|
+
"typeDescriptions": {
|
|
1725
|
+
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1726
|
+
"typeString": "bytes"
|
|
1727
|
+
}
|
|
1728
|
+
},
|
|
1729
|
+
"visibility": "internal"
|
|
1730
|
+
}
|
|
1731
|
+
],
|
|
1732
|
+
"src": "774:79:48"
|
|
1733
|
+
},
|
|
1734
|
+
"returnParameters": {
|
|
1735
|
+
"id": 43745,
|
|
1736
|
+
"nodeType": "ParameterList",
|
|
1737
|
+
"parameters": [],
|
|
1738
|
+
"src": "862:0:48"
|
|
1739
|
+
},
|
|
1740
|
+
"scope": 43813,
|
|
1741
|
+
"stateMutability": "nonpayable",
|
|
1742
|
+
"virtual": false,
|
|
1743
|
+
"visibility": "external"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"id": 43758,
|
|
1747
|
+
"nodeType": "FunctionDefinition",
|
|
1748
|
+
"src": "928:115:48",
|
|
1749
|
+
"nodes": [],
|
|
1750
|
+
"functionSelector": "51ea4f1b",
|
|
1751
|
+
"implemented": false,
|
|
1752
|
+
"kind": "function",
|
|
1753
|
+
"modifiers": [],
|
|
1754
|
+
"name": "pushToField",
|
|
1755
|
+
"nameLocation": "937:11:48",
|
|
1756
|
+
"parameters": {
|
|
1757
|
+
"id": 43756,
|
|
1758
|
+
"nodeType": "ParameterList",
|
|
1759
|
+
"parameters": [
|
|
1760
|
+
{
|
|
1761
|
+
"constant": false,
|
|
1762
|
+
"id": 43748,
|
|
1763
|
+
"mutability": "mutable",
|
|
1764
|
+
"name": "table",
|
|
1765
|
+
"nameLocation": "957:5:48",
|
|
1766
|
+
"nodeType": "VariableDeclaration",
|
|
1767
|
+
"scope": 43758,
|
|
1768
|
+
"src": "949:13:48",
|
|
1769
|
+
"stateVariable": false,
|
|
1770
|
+
"storageLocation": "default",
|
|
1771
|
+
"typeDescriptions": {
|
|
1772
|
+
"typeIdentifier": "t_uint256",
|
|
1773
|
+
"typeString": "uint256"
|
|
1774
|
+
},
|
|
1775
|
+
"typeName": {
|
|
1776
|
+
"id": 43747,
|
|
1777
|
+
"name": "uint256",
|
|
1778
|
+
"nodeType": "ElementaryTypeName",
|
|
1779
|
+
"src": "949:7:48",
|
|
1780
|
+
"typeDescriptions": {
|
|
1781
|
+
"typeIdentifier": "t_uint256",
|
|
1782
|
+
"typeString": "uint256"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
"visibility": "internal"
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
"constant": false,
|
|
1789
|
+
"id": 43751,
|
|
1790
|
+
"mutability": "mutable",
|
|
1791
|
+
"name": "key",
|
|
1792
|
+
"nameLocation": "983:3:48",
|
|
1793
|
+
"nodeType": "VariableDeclaration",
|
|
1794
|
+
"scope": 43758,
|
|
1795
|
+
"src": "964:22:48",
|
|
1796
|
+
"stateVariable": false,
|
|
1797
|
+
"storageLocation": "calldata",
|
|
1798
|
+
"typeDescriptions": {
|
|
1799
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
1800
|
+
"typeString": "bytes32[]"
|
|
1801
|
+
},
|
|
1802
|
+
"typeName": {
|
|
1803
|
+
"baseType": {
|
|
1804
|
+
"id": 43749,
|
|
1805
|
+
"name": "bytes32",
|
|
1806
|
+
"nodeType": "ElementaryTypeName",
|
|
1807
|
+
"src": "964:7:48",
|
|
1808
|
+
"typeDescriptions": {
|
|
1809
|
+
"typeIdentifier": "t_bytes32",
|
|
1810
|
+
"typeString": "bytes32"
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
"id": 43750,
|
|
1814
|
+
"nodeType": "ArrayTypeName",
|
|
1815
|
+
"src": "964:9:48",
|
|
1816
|
+
"typeDescriptions": {
|
|
1817
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1818
|
+
"typeString": "bytes32[]"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
"visibility": "internal"
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"constant": false,
|
|
1825
|
+
"id": 43753,
|
|
1826
|
+
"mutability": "mutable",
|
|
1827
|
+
"name": "schemaIndex",
|
|
1828
|
+
"nameLocation": "994:11:48",
|
|
1829
|
+
"nodeType": "VariableDeclaration",
|
|
1830
|
+
"scope": 43758,
|
|
1831
|
+
"src": "988:17:48",
|
|
1832
|
+
"stateVariable": false,
|
|
1833
|
+
"storageLocation": "default",
|
|
1834
|
+
"typeDescriptions": {
|
|
1835
|
+
"typeIdentifier": "t_uint8",
|
|
1836
|
+
"typeString": "uint8"
|
|
1837
|
+
},
|
|
1838
|
+
"typeName": {
|
|
1839
|
+
"id": 43752,
|
|
1840
|
+
"name": "uint8",
|
|
1841
|
+
"nodeType": "ElementaryTypeName",
|
|
1842
|
+
"src": "988:5:48",
|
|
1843
|
+
"typeDescriptions": {
|
|
1844
|
+
"typeIdentifier": "t_uint8",
|
|
1845
|
+
"typeString": "uint8"
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
"visibility": "internal"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"constant": false,
|
|
1852
|
+
"id": 43755,
|
|
1853
|
+
"mutability": "mutable",
|
|
1854
|
+
"name": "dataToPush",
|
|
1855
|
+
"nameLocation": "1022:10:48",
|
|
1654
1856
|
"nodeType": "VariableDeclaration",
|
|
1655
|
-
"scope":
|
|
1656
|
-
"src": "
|
|
1857
|
+
"scope": 43758,
|
|
1858
|
+
"src": "1007:25:48",
|
|
1657
1859
|
"stateVariable": false,
|
|
1658
1860
|
"storageLocation": "calldata",
|
|
1659
1861
|
"typeDescriptions": {
|
|
@@ -1661,10 +1863,10 @@
|
|
|
1661
1863
|
"typeString": "bytes"
|
|
1662
1864
|
},
|
|
1663
1865
|
"typeName": {
|
|
1664
|
-
"id":
|
|
1866
|
+
"id": 43754,
|
|
1665
1867
|
"name": "bytes",
|
|
1666
1868
|
"nodeType": "ElementaryTypeName",
|
|
1667
|
-
"src": "
|
|
1869
|
+
"src": "1007:5:48",
|
|
1668
1870
|
"typeDescriptions": {
|
|
1669
1871
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1670
1872
|
"typeString": "bytes"
|
|
@@ -1673,43 +1875,43 @@
|
|
|
1673
1875
|
"visibility": "internal"
|
|
1674
1876
|
}
|
|
1675
1877
|
],
|
|
1676
|
-
"src": "
|
|
1878
|
+
"src": "948:85:48"
|
|
1677
1879
|
},
|
|
1678
1880
|
"returnParameters": {
|
|
1679
|
-
"id":
|
|
1881
|
+
"id": 43757,
|
|
1680
1882
|
"nodeType": "ParameterList",
|
|
1681
1883
|
"parameters": [],
|
|
1682
|
-
"src": "
|
|
1884
|
+
"src": "1042:0:48"
|
|
1683
1885
|
},
|
|
1684
|
-
"scope":
|
|
1886
|
+
"scope": 43813,
|
|
1685
1887
|
"stateMutability": "nonpayable",
|
|
1686
1888
|
"virtual": false,
|
|
1687
1889
|
"visibility": "external"
|
|
1688
1890
|
},
|
|
1689
1891
|
{
|
|
1690
|
-
"id":
|
|
1892
|
+
"id": 43766,
|
|
1691
1893
|
"nodeType": "FunctionDefinition",
|
|
1692
|
-
"src": "
|
|
1894
|
+
"src": "1121:69:48",
|
|
1693
1895
|
"nodes": [],
|
|
1694
1896
|
"functionSelector": "07ff106e",
|
|
1695
1897
|
"implemented": false,
|
|
1696
1898
|
"kind": "function",
|
|
1697
1899
|
"modifiers": [],
|
|
1698
1900
|
"name": "registerStoreHook",
|
|
1699
|
-
"nameLocation": "
|
|
1901
|
+
"nameLocation": "1130:17:48",
|
|
1700
1902
|
"parameters": {
|
|
1701
|
-
"id":
|
|
1903
|
+
"id": 43764,
|
|
1702
1904
|
"nodeType": "ParameterList",
|
|
1703
1905
|
"parameters": [
|
|
1704
1906
|
{
|
|
1705
1907
|
"constant": false,
|
|
1706
|
-
"id":
|
|
1908
|
+
"id": 43760,
|
|
1707
1909
|
"mutability": "mutable",
|
|
1708
1910
|
"name": "table",
|
|
1709
|
-
"nameLocation": "
|
|
1911
|
+
"nameLocation": "1156:5:48",
|
|
1710
1912
|
"nodeType": "VariableDeclaration",
|
|
1711
|
-
"scope":
|
|
1712
|
-
"src": "
|
|
1913
|
+
"scope": 43766,
|
|
1914
|
+
"src": "1148:13:48",
|
|
1713
1915
|
"stateVariable": false,
|
|
1714
1916
|
"storageLocation": "default",
|
|
1715
1917
|
"typeDescriptions": {
|
|
@@ -1717,10 +1919,10 @@
|
|
|
1717
1919
|
"typeString": "uint256"
|
|
1718
1920
|
},
|
|
1719
1921
|
"typeName": {
|
|
1720
|
-
"id":
|
|
1922
|
+
"id": 43759,
|
|
1721
1923
|
"name": "uint256",
|
|
1722
1924
|
"nodeType": "ElementaryTypeName",
|
|
1723
|
-
"src": "
|
|
1925
|
+
"src": "1148:7:48",
|
|
1724
1926
|
"typeDescriptions": {
|
|
1725
1927
|
"typeIdentifier": "t_uint256",
|
|
1726
1928
|
"typeString": "uint256"
|
|
@@ -1730,76 +1932,76 @@
|
|
|
1730
1932
|
},
|
|
1731
1933
|
{
|
|
1732
1934
|
"constant": false,
|
|
1733
|
-
"id":
|
|
1935
|
+
"id": 43763,
|
|
1734
1936
|
"mutability": "mutable",
|
|
1735
1937
|
"name": "hooks",
|
|
1736
|
-
"nameLocation": "
|
|
1938
|
+
"nameLocation": "1174:5:48",
|
|
1737
1939
|
"nodeType": "VariableDeclaration",
|
|
1738
|
-
"scope":
|
|
1739
|
-
"src": "
|
|
1940
|
+
"scope": 43766,
|
|
1941
|
+
"src": "1163:16:48",
|
|
1740
1942
|
"stateVariable": false,
|
|
1741
1943
|
"storageLocation": "default",
|
|
1742
1944
|
"typeDescriptions": {
|
|
1743
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
1945
|
+
"typeIdentifier": "t_contract$_IStoreHook_$43844",
|
|
1744
1946
|
"typeString": "contract IStoreHook"
|
|
1745
1947
|
},
|
|
1746
1948
|
"typeName": {
|
|
1747
|
-
"id":
|
|
1949
|
+
"id": 43762,
|
|
1748
1950
|
"nodeType": "UserDefinedTypeName",
|
|
1749
1951
|
"pathNode": {
|
|
1750
|
-
"id":
|
|
1952
|
+
"id": 43761,
|
|
1751
1953
|
"name": "IStoreHook",
|
|
1752
1954
|
"nodeType": "IdentifierPath",
|
|
1753
|
-
"referencedDeclaration":
|
|
1754
|
-
"src": "
|
|
1955
|
+
"referencedDeclaration": 43844,
|
|
1956
|
+
"src": "1163:10:48"
|
|
1755
1957
|
},
|
|
1756
|
-
"referencedDeclaration":
|
|
1757
|
-
"src": "
|
|
1958
|
+
"referencedDeclaration": 43844,
|
|
1959
|
+
"src": "1163:10:48",
|
|
1758
1960
|
"typeDescriptions": {
|
|
1759
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
1961
|
+
"typeIdentifier": "t_contract$_IStoreHook_$43844",
|
|
1760
1962
|
"typeString": "contract IStoreHook"
|
|
1761
1963
|
}
|
|
1762
1964
|
},
|
|
1763
1965
|
"visibility": "internal"
|
|
1764
1966
|
}
|
|
1765
1967
|
],
|
|
1766
|
-
"src": "
|
|
1968
|
+
"src": "1147:33:48"
|
|
1767
1969
|
},
|
|
1768
1970
|
"returnParameters": {
|
|
1769
|
-
"id":
|
|
1971
|
+
"id": 43765,
|
|
1770
1972
|
"nodeType": "ParameterList",
|
|
1771
1973
|
"parameters": [],
|
|
1772
|
-
"src": "
|
|
1974
|
+
"src": "1189:0:48"
|
|
1773
1975
|
},
|
|
1774
|
-
"scope":
|
|
1976
|
+
"scope": 43813,
|
|
1775
1977
|
"stateMutability": "nonpayable",
|
|
1776
1978
|
"virtual": false,
|
|
1777
1979
|
"visibility": "external"
|
|
1778
1980
|
},
|
|
1779
1981
|
{
|
|
1780
|
-
"id":
|
|
1982
|
+
"id": 43774,
|
|
1781
1983
|
"nodeType": "FunctionDefinition",
|
|
1782
|
-
"src": "
|
|
1984
|
+
"src": "1245:68:48",
|
|
1783
1985
|
"nodes": [],
|
|
1784
1986
|
"functionSelector": "971eb6cb",
|
|
1785
1987
|
"implemented": false,
|
|
1786
1988
|
"kind": "function",
|
|
1787
1989
|
"modifiers": [],
|
|
1788
1990
|
"name": "deleteRecord",
|
|
1789
|
-
"nameLocation": "
|
|
1991
|
+
"nameLocation": "1254:12:48",
|
|
1790
1992
|
"parameters": {
|
|
1791
|
-
"id":
|
|
1993
|
+
"id": 43772,
|
|
1792
1994
|
"nodeType": "ParameterList",
|
|
1793
1995
|
"parameters": [
|
|
1794
1996
|
{
|
|
1795
1997
|
"constant": false,
|
|
1796
|
-
"id":
|
|
1998
|
+
"id": 43768,
|
|
1797
1999
|
"mutability": "mutable",
|
|
1798
2000
|
"name": "table",
|
|
1799
|
-
"nameLocation": "
|
|
2001
|
+
"nameLocation": "1275:5:48",
|
|
1800
2002
|
"nodeType": "VariableDeclaration",
|
|
1801
|
-
"scope":
|
|
1802
|
-
"src": "
|
|
2003
|
+
"scope": 43774,
|
|
2004
|
+
"src": "1267:13:48",
|
|
1803
2005
|
"stateVariable": false,
|
|
1804
2006
|
"storageLocation": "default",
|
|
1805
2007
|
"typeDescriptions": {
|
|
@@ -1807,10 +2009,10 @@
|
|
|
1807
2009
|
"typeString": "uint256"
|
|
1808
2010
|
},
|
|
1809
2011
|
"typeName": {
|
|
1810
|
-
"id":
|
|
2012
|
+
"id": 43767,
|
|
1811
2013
|
"name": "uint256",
|
|
1812
2014
|
"nodeType": "ElementaryTypeName",
|
|
1813
|
-
"src": "
|
|
2015
|
+
"src": "1267:7:48",
|
|
1814
2016
|
"typeDescriptions": {
|
|
1815
2017
|
"typeIdentifier": "t_uint256",
|
|
1816
2018
|
"typeString": "uint256"
|
|
@@ -1820,13 +2022,13 @@
|
|
|
1820
2022
|
},
|
|
1821
2023
|
{
|
|
1822
2024
|
"constant": false,
|
|
1823
|
-
"id":
|
|
2025
|
+
"id": 43771,
|
|
1824
2026
|
"mutability": "mutable",
|
|
1825
2027
|
"name": "key",
|
|
1826
|
-
"nameLocation": "
|
|
2028
|
+
"nameLocation": "1299:3:48",
|
|
1827
2029
|
"nodeType": "VariableDeclaration",
|
|
1828
|
-
"scope":
|
|
1829
|
-
"src": "
|
|
2030
|
+
"scope": 43774,
|
|
2031
|
+
"src": "1282:20:48",
|
|
1830
2032
|
"stateVariable": false,
|
|
1831
2033
|
"storageLocation": "memory",
|
|
1832
2034
|
"typeDescriptions": {
|
|
@@ -1835,18 +2037,18 @@
|
|
|
1835
2037
|
},
|
|
1836
2038
|
"typeName": {
|
|
1837
2039
|
"baseType": {
|
|
1838
|
-
"id":
|
|
2040
|
+
"id": 43769,
|
|
1839
2041
|
"name": "bytes32",
|
|
1840
2042
|
"nodeType": "ElementaryTypeName",
|
|
1841
|
-
"src": "
|
|
2043
|
+
"src": "1282:7:48",
|
|
1842
2044
|
"typeDescriptions": {
|
|
1843
2045
|
"typeIdentifier": "t_bytes32",
|
|
1844
2046
|
"typeString": "bytes32"
|
|
1845
2047
|
}
|
|
1846
2048
|
},
|
|
1847
|
-
"id":
|
|
2049
|
+
"id": 43770,
|
|
1848
2050
|
"nodeType": "ArrayTypeName",
|
|
1849
|
-
"src": "
|
|
2051
|
+
"src": "1282:9:48",
|
|
1850
2052
|
"typeDescriptions": {
|
|
1851
2053
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1852
2054
|
"typeString": "bytes32[]"
|
|
@@ -1855,43 +2057,43 @@
|
|
|
1855
2057
|
"visibility": "internal"
|
|
1856
2058
|
}
|
|
1857
2059
|
],
|
|
1858
|
-
"src": "
|
|
2060
|
+
"src": "1266:37:48"
|
|
1859
2061
|
},
|
|
1860
2062
|
"returnParameters": {
|
|
1861
|
-
"id":
|
|
2063
|
+
"id": 43773,
|
|
1862
2064
|
"nodeType": "ParameterList",
|
|
1863
2065
|
"parameters": [],
|
|
1864
|
-
"src": "
|
|
2066
|
+
"src": "1312:0:48"
|
|
1865
2067
|
},
|
|
1866
|
-
"scope":
|
|
2068
|
+
"scope": 43813,
|
|
1867
2069
|
"stateMutability": "nonpayable",
|
|
1868
2070
|
"virtual": false,
|
|
1869
2071
|
"visibility": "external"
|
|
1870
2072
|
},
|
|
1871
2073
|
{
|
|
1872
|
-
"id":
|
|
2074
|
+
"id": 43784,
|
|
1873
2075
|
"nodeType": "FunctionDefinition",
|
|
1874
|
-
"src": "
|
|
2076
|
+
"src": "1393:98:48",
|
|
1875
2077
|
"nodes": [],
|
|
1876
2078
|
"functionSelector": "d99ddc07",
|
|
1877
2079
|
"implemented": false,
|
|
1878
2080
|
"kind": "function",
|
|
1879
2081
|
"modifiers": [],
|
|
1880
2082
|
"name": "getRecord",
|
|
1881
|
-
"nameLocation": "
|
|
2083
|
+
"nameLocation": "1402:9:48",
|
|
1882
2084
|
"parameters": {
|
|
1883
|
-
"id":
|
|
2085
|
+
"id": 43780,
|
|
1884
2086
|
"nodeType": "ParameterList",
|
|
1885
2087
|
"parameters": [
|
|
1886
2088
|
{
|
|
1887
2089
|
"constant": false,
|
|
1888
|
-
"id":
|
|
2090
|
+
"id": 43776,
|
|
1889
2091
|
"mutability": "mutable",
|
|
1890
2092
|
"name": "table",
|
|
1891
|
-
"nameLocation": "
|
|
2093
|
+
"nameLocation": "1420:5:48",
|
|
1892
2094
|
"nodeType": "VariableDeclaration",
|
|
1893
|
-
"scope":
|
|
1894
|
-
"src": "
|
|
2095
|
+
"scope": 43784,
|
|
2096
|
+
"src": "1412:13:48",
|
|
1895
2097
|
"stateVariable": false,
|
|
1896
2098
|
"storageLocation": "default",
|
|
1897
2099
|
"typeDescriptions": {
|
|
@@ -1899,10 +2101,10 @@
|
|
|
1899
2101
|
"typeString": "uint256"
|
|
1900
2102
|
},
|
|
1901
2103
|
"typeName": {
|
|
1902
|
-
"id":
|
|
2104
|
+
"id": 43775,
|
|
1903
2105
|
"name": "uint256",
|
|
1904
2106
|
"nodeType": "ElementaryTypeName",
|
|
1905
|
-
"src": "
|
|
2107
|
+
"src": "1412:7:48",
|
|
1906
2108
|
"typeDescriptions": {
|
|
1907
2109
|
"typeIdentifier": "t_uint256",
|
|
1908
2110
|
"typeString": "uint256"
|
|
@@ -1912,13 +2114,13 @@
|
|
|
1912
2114
|
},
|
|
1913
2115
|
{
|
|
1914
2116
|
"constant": false,
|
|
1915
|
-
"id":
|
|
2117
|
+
"id": 43779,
|
|
1916
2118
|
"mutability": "mutable",
|
|
1917
2119
|
"name": "key",
|
|
1918
|
-
"nameLocation": "
|
|
2120
|
+
"nameLocation": "1444:3:48",
|
|
1919
2121
|
"nodeType": "VariableDeclaration",
|
|
1920
|
-
"scope":
|
|
1921
|
-
"src": "
|
|
2122
|
+
"scope": 43784,
|
|
2123
|
+
"src": "1427:20:48",
|
|
1922
2124
|
"stateVariable": false,
|
|
1923
2125
|
"storageLocation": "memory",
|
|
1924
2126
|
"typeDescriptions": {
|
|
@@ -1927,18 +2129,18 @@
|
|
|
1927
2129
|
},
|
|
1928
2130
|
"typeName": {
|
|
1929
2131
|
"baseType": {
|
|
1930
|
-
"id":
|
|
2132
|
+
"id": 43777,
|
|
1931
2133
|
"name": "bytes32",
|
|
1932
2134
|
"nodeType": "ElementaryTypeName",
|
|
1933
|
-
"src": "
|
|
2135
|
+
"src": "1427:7:48",
|
|
1934
2136
|
"typeDescriptions": {
|
|
1935
2137
|
"typeIdentifier": "t_bytes32",
|
|
1936
2138
|
"typeString": "bytes32"
|
|
1937
2139
|
}
|
|
1938
2140
|
},
|
|
1939
|
-
"id":
|
|
2141
|
+
"id": 43778,
|
|
1940
2142
|
"nodeType": "ArrayTypeName",
|
|
1941
|
-
"src": "
|
|
2143
|
+
"src": "1427:9:48",
|
|
1942
2144
|
"typeDescriptions": {
|
|
1943
2145
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1944
2146
|
"typeString": "bytes32[]"
|
|
@@ -1947,21 +2149,21 @@
|
|
|
1947
2149
|
"visibility": "internal"
|
|
1948
2150
|
}
|
|
1949
2151
|
],
|
|
1950
|
-
"src": "
|
|
2152
|
+
"src": "1411:37:48"
|
|
1951
2153
|
},
|
|
1952
2154
|
"returnParameters": {
|
|
1953
|
-
"id":
|
|
2155
|
+
"id": 43783,
|
|
1954
2156
|
"nodeType": "ParameterList",
|
|
1955
2157
|
"parameters": [
|
|
1956
2158
|
{
|
|
1957
2159
|
"constant": false,
|
|
1958
|
-
"id":
|
|
2160
|
+
"id": 43782,
|
|
1959
2161
|
"mutability": "mutable",
|
|
1960
2162
|
"name": "data",
|
|
1961
|
-
"nameLocation": "
|
|
2163
|
+
"nameLocation": "1485:4:48",
|
|
1962
2164
|
"nodeType": "VariableDeclaration",
|
|
1963
|
-
"scope":
|
|
1964
|
-
"src": "
|
|
2165
|
+
"scope": 43784,
|
|
2166
|
+
"src": "1472:17:48",
|
|
1965
2167
|
"stateVariable": false,
|
|
1966
2168
|
"storageLocation": "memory",
|
|
1967
2169
|
"typeDescriptions": {
|
|
@@ -1969,10 +2171,10 @@
|
|
|
1969
2171
|
"typeString": "bytes"
|
|
1970
2172
|
},
|
|
1971
2173
|
"typeName": {
|
|
1972
|
-
"id":
|
|
2174
|
+
"id": 43781,
|
|
1973
2175
|
"name": "bytes",
|
|
1974
2176
|
"nodeType": "ElementaryTypeName",
|
|
1975
|
-
"src": "
|
|
2177
|
+
"src": "1472:5:48",
|
|
1976
2178
|
"typeDescriptions": {
|
|
1977
2179
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1978
2180
|
"typeString": "bytes"
|
|
@@ -1981,37 +2183,37 @@
|
|
|
1981
2183
|
"visibility": "internal"
|
|
1982
2184
|
}
|
|
1983
2185
|
],
|
|
1984
|
-
"src": "
|
|
2186
|
+
"src": "1471:19:48"
|
|
1985
2187
|
},
|
|
1986
|
-
"scope":
|
|
2188
|
+
"scope": 43813,
|
|
1987
2189
|
"stateMutability": "view",
|
|
1988
2190
|
"virtual": false,
|
|
1989
2191
|
"visibility": "external"
|
|
1990
2192
|
},
|
|
1991
2193
|
{
|
|
1992
|
-
"id":
|
|
2194
|
+
"id": 43797,
|
|
1993
2195
|
"nodeType": "FunctionDefinition",
|
|
1994
|
-
"src": "
|
|
2196
|
+
"src": "1539:115:48",
|
|
1995
2197
|
"nodes": [],
|
|
1996
2198
|
"functionSelector": "a2d3d4fb",
|
|
1997
2199
|
"implemented": false,
|
|
1998
2200
|
"kind": "function",
|
|
1999
2201
|
"modifiers": [],
|
|
2000
2202
|
"name": "getRecord",
|
|
2001
|
-
"nameLocation": "
|
|
2203
|
+
"nameLocation": "1548:9:48",
|
|
2002
2204
|
"parameters": {
|
|
2003
|
-
"id":
|
|
2205
|
+
"id": 43793,
|
|
2004
2206
|
"nodeType": "ParameterList",
|
|
2005
2207
|
"parameters": [
|
|
2006
2208
|
{
|
|
2007
2209
|
"constant": false,
|
|
2008
|
-
"id":
|
|
2210
|
+
"id": 43786,
|
|
2009
2211
|
"mutability": "mutable",
|
|
2010
2212
|
"name": "table",
|
|
2011
|
-
"nameLocation": "
|
|
2213
|
+
"nameLocation": "1566:5:48",
|
|
2012
2214
|
"nodeType": "VariableDeclaration",
|
|
2013
|
-
"scope":
|
|
2014
|
-
"src": "
|
|
2215
|
+
"scope": 43797,
|
|
2216
|
+
"src": "1558:13:48",
|
|
2015
2217
|
"stateVariable": false,
|
|
2016
2218
|
"storageLocation": "default",
|
|
2017
2219
|
"typeDescriptions": {
|
|
@@ -2019,10 +2221,10 @@
|
|
|
2019
2221
|
"typeString": "uint256"
|
|
2020
2222
|
},
|
|
2021
2223
|
"typeName": {
|
|
2022
|
-
"id":
|
|
2224
|
+
"id": 43785,
|
|
2023
2225
|
"name": "uint256",
|
|
2024
2226
|
"nodeType": "ElementaryTypeName",
|
|
2025
|
-
"src": "
|
|
2227
|
+
"src": "1558:7:48",
|
|
2026
2228
|
"typeDescriptions": {
|
|
2027
2229
|
"typeIdentifier": "t_uint256",
|
|
2028
2230
|
"typeString": "uint256"
|
|
@@ -2032,13 +2234,13 @@
|
|
|
2032
2234
|
},
|
|
2033
2235
|
{
|
|
2034
2236
|
"constant": false,
|
|
2035
|
-
"id":
|
|
2237
|
+
"id": 43789,
|
|
2036
2238
|
"mutability": "mutable",
|
|
2037
2239
|
"name": "key",
|
|
2038
|
-
"nameLocation": "
|
|
2240
|
+
"nameLocation": "1592:3:48",
|
|
2039
2241
|
"nodeType": "VariableDeclaration",
|
|
2040
|
-
"scope":
|
|
2041
|
-
"src": "
|
|
2242
|
+
"scope": 43797,
|
|
2243
|
+
"src": "1573:22:48",
|
|
2042
2244
|
"stateVariable": false,
|
|
2043
2245
|
"storageLocation": "calldata",
|
|
2044
2246
|
"typeDescriptions": {
|
|
@@ -2047,18 +2249,18 @@
|
|
|
2047
2249
|
},
|
|
2048
2250
|
"typeName": {
|
|
2049
2251
|
"baseType": {
|
|
2050
|
-
"id":
|
|
2252
|
+
"id": 43787,
|
|
2051
2253
|
"name": "bytes32",
|
|
2052
2254
|
"nodeType": "ElementaryTypeName",
|
|
2053
|
-
"src": "
|
|
2255
|
+
"src": "1573:7:48",
|
|
2054
2256
|
"typeDescriptions": {
|
|
2055
2257
|
"typeIdentifier": "t_bytes32",
|
|
2056
2258
|
"typeString": "bytes32"
|
|
2057
2259
|
}
|
|
2058
2260
|
},
|
|
2059
|
-
"id":
|
|
2261
|
+
"id": 43788,
|
|
2060
2262
|
"nodeType": "ArrayTypeName",
|
|
2061
|
-
"src": "
|
|
2263
|
+
"src": "1573:9:48",
|
|
2062
2264
|
"typeDescriptions": {
|
|
2063
2265
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2064
2266
|
"typeString": "bytes32[]"
|
|
@@ -2068,54 +2270,54 @@
|
|
|
2068
2270
|
},
|
|
2069
2271
|
{
|
|
2070
2272
|
"constant": false,
|
|
2071
|
-
"id":
|
|
2273
|
+
"id": 43792,
|
|
2072
2274
|
"mutability": "mutable",
|
|
2073
2275
|
"name": "schema",
|
|
2074
|
-
"nameLocation": "
|
|
2276
|
+
"nameLocation": "1604:6:48",
|
|
2075
2277
|
"nodeType": "VariableDeclaration",
|
|
2076
|
-
"scope":
|
|
2077
|
-
"src": "
|
|
2278
|
+
"scope": 43797,
|
|
2279
|
+
"src": "1597:13:48",
|
|
2078
2280
|
"stateVariable": false,
|
|
2079
2281
|
"storageLocation": "default",
|
|
2080
2282
|
"typeDescriptions": {
|
|
2081
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2283
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$44351",
|
|
2082
2284
|
"typeString": "Schema"
|
|
2083
2285
|
},
|
|
2084
2286
|
"typeName": {
|
|
2085
|
-
"id":
|
|
2287
|
+
"id": 43791,
|
|
2086
2288
|
"nodeType": "UserDefinedTypeName",
|
|
2087
2289
|
"pathNode": {
|
|
2088
|
-
"id":
|
|
2290
|
+
"id": 43790,
|
|
2089
2291
|
"name": "Schema",
|
|
2090
2292
|
"nodeType": "IdentifierPath",
|
|
2091
|
-
"referencedDeclaration":
|
|
2092
|
-
"src": "
|
|
2293
|
+
"referencedDeclaration": 44351,
|
|
2294
|
+
"src": "1597:6:48"
|
|
2093
2295
|
},
|
|
2094
|
-
"referencedDeclaration":
|
|
2095
|
-
"src": "
|
|
2296
|
+
"referencedDeclaration": 44351,
|
|
2297
|
+
"src": "1597:6:48",
|
|
2096
2298
|
"typeDescriptions": {
|
|
2097
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2299
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$44351",
|
|
2098
2300
|
"typeString": "Schema"
|
|
2099
2301
|
}
|
|
2100
2302
|
},
|
|
2101
2303
|
"visibility": "internal"
|
|
2102
2304
|
}
|
|
2103
2305
|
],
|
|
2104
|
-
"src": "
|
|
2306
|
+
"src": "1557:54:48"
|
|
2105
2307
|
},
|
|
2106
2308
|
"returnParameters": {
|
|
2107
|
-
"id":
|
|
2309
|
+
"id": 43796,
|
|
2108
2310
|
"nodeType": "ParameterList",
|
|
2109
2311
|
"parameters": [
|
|
2110
2312
|
{
|
|
2111
2313
|
"constant": false,
|
|
2112
|
-
"id":
|
|
2314
|
+
"id": 43795,
|
|
2113
2315
|
"mutability": "mutable",
|
|
2114
2316
|
"name": "data",
|
|
2115
|
-
"nameLocation": "
|
|
2317
|
+
"nameLocation": "1648:4:48",
|
|
2116
2318
|
"nodeType": "VariableDeclaration",
|
|
2117
|
-
"scope":
|
|
2118
|
-
"src": "
|
|
2319
|
+
"scope": 43797,
|
|
2320
|
+
"src": "1635:17:48",
|
|
2119
2321
|
"stateVariable": false,
|
|
2120
2322
|
"storageLocation": "memory",
|
|
2121
2323
|
"typeDescriptions": {
|
|
@@ -2123,10 +2325,10 @@
|
|
|
2123
2325
|
"typeString": "bytes"
|
|
2124
2326
|
},
|
|
2125
2327
|
"typeName": {
|
|
2126
|
-
"id":
|
|
2328
|
+
"id": 43794,
|
|
2127
2329
|
"name": "bytes",
|
|
2128
2330
|
"nodeType": "ElementaryTypeName",
|
|
2129
|
-
"src": "
|
|
2331
|
+
"src": "1635:5:48",
|
|
2130
2332
|
"typeDescriptions": {
|
|
2131
2333
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2132
2334
|
"typeString": "bytes"
|
|
@@ -2135,37 +2337,37 @@
|
|
|
2135
2337
|
"visibility": "internal"
|
|
2136
2338
|
}
|
|
2137
2339
|
],
|
|
2138
|
-
"src": "
|
|
2340
|
+
"src": "1634:19:48"
|
|
2139
2341
|
},
|
|
2140
|
-
"scope":
|
|
2342
|
+
"scope": 43813,
|
|
2141
2343
|
"stateMutability": "view",
|
|
2142
2344
|
"virtual": false,
|
|
2143
2345
|
"visibility": "external"
|
|
2144
2346
|
},
|
|
2145
2347
|
{
|
|
2146
|
-
"id":
|
|
2348
|
+
"id": 43809,
|
|
2147
2349
|
"nodeType": "FunctionDefinition",
|
|
2148
|
-
"src": "
|
|
2350
|
+
"src": "1696:118:48",
|
|
2149
2351
|
"nodes": [],
|
|
2150
2352
|
"functionSelector": "d4a0126e",
|
|
2151
2353
|
"implemented": false,
|
|
2152
2354
|
"kind": "function",
|
|
2153
2355
|
"modifiers": [],
|
|
2154
2356
|
"name": "getField",
|
|
2155
|
-
"nameLocation": "
|
|
2357
|
+
"nameLocation": "1705:8:48",
|
|
2156
2358
|
"parameters": {
|
|
2157
|
-
"id":
|
|
2359
|
+
"id": 43805,
|
|
2158
2360
|
"nodeType": "ParameterList",
|
|
2159
2361
|
"parameters": [
|
|
2160
2362
|
{
|
|
2161
2363
|
"constant": false,
|
|
2162
|
-
"id":
|
|
2364
|
+
"id": 43799,
|
|
2163
2365
|
"mutability": "mutable",
|
|
2164
2366
|
"name": "table",
|
|
2165
|
-
"nameLocation": "
|
|
2367
|
+
"nameLocation": "1722:5:48",
|
|
2166
2368
|
"nodeType": "VariableDeclaration",
|
|
2167
|
-
"scope":
|
|
2168
|
-
"src": "
|
|
2369
|
+
"scope": 43809,
|
|
2370
|
+
"src": "1714:13:48",
|
|
2169
2371
|
"stateVariable": false,
|
|
2170
2372
|
"storageLocation": "default",
|
|
2171
2373
|
"typeDescriptions": {
|
|
@@ -2173,10 +2375,10 @@
|
|
|
2173
2375
|
"typeString": "uint256"
|
|
2174
2376
|
},
|
|
2175
2377
|
"typeName": {
|
|
2176
|
-
"id":
|
|
2378
|
+
"id": 43798,
|
|
2177
2379
|
"name": "uint256",
|
|
2178
2380
|
"nodeType": "ElementaryTypeName",
|
|
2179
|
-
"src": "
|
|
2381
|
+
"src": "1714:7:48",
|
|
2180
2382
|
"typeDescriptions": {
|
|
2181
2383
|
"typeIdentifier": "t_uint256",
|
|
2182
2384
|
"typeString": "uint256"
|
|
@@ -2186,13 +2388,13 @@
|
|
|
2186
2388
|
},
|
|
2187
2389
|
{
|
|
2188
2390
|
"constant": false,
|
|
2189
|
-
"id":
|
|
2391
|
+
"id": 43802,
|
|
2190
2392
|
"mutability": "mutable",
|
|
2191
2393
|
"name": "key",
|
|
2192
|
-
"nameLocation": "
|
|
2394
|
+
"nameLocation": "1748:3:48",
|
|
2193
2395
|
"nodeType": "VariableDeclaration",
|
|
2194
|
-
"scope":
|
|
2195
|
-
"src": "
|
|
2396
|
+
"scope": 43809,
|
|
2397
|
+
"src": "1729:22:48",
|
|
2196
2398
|
"stateVariable": false,
|
|
2197
2399
|
"storageLocation": "calldata",
|
|
2198
2400
|
"typeDescriptions": {
|
|
@@ -2201,18 +2403,18 @@
|
|
|
2201
2403
|
},
|
|
2202
2404
|
"typeName": {
|
|
2203
2405
|
"baseType": {
|
|
2204
|
-
"id":
|
|
2406
|
+
"id": 43800,
|
|
2205
2407
|
"name": "bytes32",
|
|
2206
2408
|
"nodeType": "ElementaryTypeName",
|
|
2207
|
-
"src": "
|
|
2409
|
+
"src": "1729:7:48",
|
|
2208
2410
|
"typeDescriptions": {
|
|
2209
2411
|
"typeIdentifier": "t_bytes32",
|
|
2210
2412
|
"typeString": "bytes32"
|
|
2211
2413
|
}
|
|
2212
2414
|
},
|
|
2213
|
-
"id":
|
|
2415
|
+
"id": 43801,
|
|
2214
2416
|
"nodeType": "ArrayTypeName",
|
|
2215
|
-
"src": "
|
|
2417
|
+
"src": "1729:9:48",
|
|
2216
2418
|
"typeDescriptions": {
|
|
2217
2419
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2218
2420
|
"typeString": "bytes32[]"
|
|
@@ -2222,13 +2424,13 @@
|
|
|
2222
2424
|
},
|
|
2223
2425
|
{
|
|
2224
2426
|
"constant": false,
|
|
2225
|
-
"id":
|
|
2427
|
+
"id": 43804,
|
|
2226
2428
|
"mutability": "mutable",
|
|
2227
2429
|
"name": "schemaIndex",
|
|
2228
|
-
"nameLocation": "
|
|
2430
|
+
"nameLocation": "1759:11:48",
|
|
2229
2431
|
"nodeType": "VariableDeclaration",
|
|
2230
|
-
"scope":
|
|
2231
|
-
"src": "
|
|
2432
|
+
"scope": 43809,
|
|
2433
|
+
"src": "1753:17:48",
|
|
2232
2434
|
"stateVariable": false,
|
|
2233
2435
|
"storageLocation": "default",
|
|
2234
2436
|
"typeDescriptions": {
|
|
@@ -2236,10 +2438,10 @@
|
|
|
2236
2438
|
"typeString": "uint8"
|
|
2237
2439
|
},
|
|
2238
2440
|
"typeName": {
|
|
2239
|
-
"id":
|
|
2441
|
+
"id": 43803,
|
|
2240
2442
|
"name": "uint8",
|
|
2241
2443
|
"nodeType": "ElementaryTypeName",
|
|
2242
|
-
"src": "
|
|
2444
|
+
"src": "1753:5:48",
|
|
2243
2445
|
"typeDescriptions": {
|
|
2244
2446
|
"typeIdentifier": "t_uint8",
|
|
2245
2447
|
"typeString": "uint8"
|
|
@@ -2248,21 +2450,21 @@
|
|
|
2248
2450
|
"visibility": "internal"
|
|
2249
2451
|
}
|
|
2250
2452
|
],
|
|
2251
|
-
"src": "
|
|
2453
|
+
"src": "1713:58:48"
|
|
2252
2454
|
},
|
|
2253
2455
|
"returnParameters": {
|
|
2254
|
-
"id":
|
|
2456
|
+
"id": 43808,
|
|
2255
2457
|
"nodeType": "ParameterList",
|
|
2256
2458
|
"parameters": [
|
|
2257
2459
|
{
|
|
2258
2460
|
"constant": false,
|
|
2259
|
-
"id":
|
|
2461
|
+
"id": 43807,
|
|
2260
2462
|
"mutability": "mutable",
|
|
2261
2463
|
"name": "data",
|
|
2262
|
-
"nameLocation": "
|
|
2464
|
+
"nameLocation": "1808:4:48",
|
|
2263
2465
|
"nodeType": "VariableDeclaration",
|
|
2264
|
-
"scope":
|
|
2265
|
-
"src": "
|
|
2466
|
+
"scope": 43809,
|
|
2467
|
+
"src": "1795:17:48",
|
|
2266
2468
|
"stateVariable": false,
|
|
2267
2469
|
"storageLocation": "memory",
|
|
2268
2470
|
"typeDescriptions": {
|
|
@@ -2270,10 +2472,10 @@
|
|
|
2270
2472
|
"typeString": "bytes"
|
|
2271
2473
|
},
|
|
2272
2474
|
"typeName": {
|
|
2273
|
-
"id":
|
|
2475
|
+
"id": 43806,
|
|
2274
2476
|
"name": "bytes",
|
|
2275
2477
|
"nodeType": "ElementaryTypeName",
|
|
2276
|
-
"src": "
|
|
2478
|
+
"src": "1795:5:48",
|
|
2277
2479
|
"typeDescriptions": {
|
|
2278
2480
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2279
2481
|
"typeString": "bytes"
|
|
@@ -2282,37 +2484,37 @@
|
|
|
2282
2484
|
"visibility": "internal"
|
|
2283
2485
|
}
|
|
2284
2486
|
],
|
|
2285
|
-
"src": "
|
|
2487
|
+
"src": "1794:19:48"
|
|
2286
2488
|
},
|
|
2287
|
-
"scope":
|
|
2489
|
+
"scope": 43813,
|
|
2288
2490
|
"stateMutability": "view",
|
|
2289
2491
|
"virtual": false,
|
|
2290
2492
|
"visibility": "external"
|
|
2291
2493
|
},
|
|
2292
2494
|
{
|
|
2293
|
-
"id":
|
|
2495
|
+
"id": 43812,
|
|
2294
2496
|
"nodeType": "FunctionDefinition",
|
|
2295
|
-
"src": "
|
|
2497
|
+
"src": "2034:33:48",
|
|
2296
2498
|
"nodes": [],
|
|
2297
2499
|
"functionSelector": "a5c2f007",
|
|
2298
2500
|
"implemented": false,
|
|
2299
2501
|
"kind": "function",
|
|
2300
2502
|
"modifiers": [],
|
|
2301
2503
|
"name": "isStore",
|
|
2302
|
-
"nameLocation": "
|
|
2504
|
+
"nameLocation": "2043:7:48",
|
|
2303
2505
|
"parameters": {
|
|
2304
|
-
"id":
|
|
2506
|
+
"id": 43810,
|
|
2305
2507
|
"nodeType": "ParameterList",
|
|
2306
2508
|
"parameters": [],
|
|
2307
|
-
"src": "
|
|
2509
|
+
"src": "2050:2:48"
|
|
2308
2510
|
},
|
|
2309
2511
|
"returnParameters": {
|
|
2310
|
-
"id":
|
|
2512
|
+
"id": 43811,
|
|
2311
2513
|
"nodeType": "ParameterList",
|
|
2312
2514
|
"parameters": [],
|
|
2313
|
-
"src": "
|
|
2515
|
+
"src": "2066:0:48"
|
|
2314
2516
|
},
|
|
2315
|
-
"scope":
|
|
2517
|
+
"scope": 43813,
|
|
2316
2518
|
"stateMutability": "view",
|
|
2317
2519
|
"virtual": false,
|
|
2318
2520
|
"visibility": "external"
|
|
@@ -2325,42 +2527,42 @@
|
|
|
2325
2527
|
"contractKind": "interface",
|
|
2326
2528
|
"fullyImplemented": false,
|
|
2327
2529
|
"linearizedBaseContracts": [
|
|
2328
|
-
|
|
2530
|
+
43813
|
|
2329
2531
|
],
|
|
2330
2532
|
"name": "IStore",
|
|
2331
2533
|
"nameLocation": "108:6:48",
|
|
2332
|
-
"scope":
|
|
2534
|
+
"scope": 43845,
|
|
2333
2535
|
"usedErrors": []
|
|
2334
2536
|
},
|
|
2335
2537
|
{
|
|
2336
|
-
"id":
|
|
2538
|
+
"id": 43844,
|
|
2337
2539
|
"nodeType": "ContractDefinition",
|
|
2338
|
-
"src": "
|
|
2540
|
+
"src": "2071:295:48",
|
|
2339
2541
|
"nodes": [
|
|
2340
2542
|
{
|
|
2341
|
-
"id":
|
|
2543
|
+
"id": 43823,
|
|
2342
2544
|
"nodeType": "FunctionDefinition",
|
|
2343
|
-
"src": "
|
|
2545
|
+
"src": "2096:86:48",
|
|
2344
2546
|
"nodes": [],
|
|
2345
2547
|
"functionSelector": "7ae4118a",
|
|
2346
2548
|
"implemented": false,
|
|
2347
2549
|
"kind": "function",
|
|
2348
2550
|
"modifiers": [],
|
|
2349
2551
|
"name": "onSetRecord",
|
|
2350
|
-
"nameLocation": "
|
|
2552
|
+
"nameLocation": "2105:11:48",
|
|
2351
2553
|
"parameters": {
|
|
2352
|
-
"id":
|
|
2554
|
+
"id": 43821,
|
|
2353
2555
|
"nodeType": "ParameterList",
|
|
2354
2556
|
"parameters": [
|
|
2355
2557
|
{
|
|
2356
2558
|
"constant": false,
|
|
2357
|
-
"id":
|
|
2559
|
+
"id": 43815,
|
|
2358
2560
|
"mutability": "mutable",
|
|
2359
2561
|
"name": "table",
|
|
2360
|
-
"nameLocation": "
|
|
2562
|
+
"nameLocation": "2125:5:48",
|
|
2361
2563
|
"nodeType": "VariableDeclaration",
|
|
2362
|
-
"scope":
|
|
2363
|
-
"src": "
|
|
2564
|
+
"scope": 43823,
|
|
2565
|
+
"src": "2117:13:48",
|
|
2364
2566
|
"stateVariable": false,
|
|
2365
2567
|
"storageLocation": "default",
|
|
2366
2568
|
"typeDescriptions": {
|
|
@@ -2368,10 +2570,10 @@
|
|
|
2368
2570
|
"typeString": "uint256"
|
|
2369
2571
|
},
|
|
2370
2572
|
"typeName": {
|
|
2371
|
-
"id":
|
|
2573
|
+
"id": 43814,
|
|
2372
2574
|
"name": "uint256",
|
|
2373
2575
|
"nodeType": "ElementaryTypeName",
|
|
2374
|
-
"src": "
|
|
2576
|
+
"src": "2117:7:48",
|
|
2375
2577
|
"typeDescriptions": {
|
|
2376
2578
|
"typeIdentifier": "t_uint256",
|
|
2377
2579
|
"typeString": "uint256"
|
|
@@ -2381,13 +2583,13 @@
|
|
|
2381
2583
|
},
|
|
2382
2584
|
{
|
|
2383
2585
|
"constant": false,
|
|
2384
|
-
"id":
|
|
2586
|
+
"id": 43818,
|
|
2385
2587
|
"mutability": "mutable",
|
|
2386
2588
|
"name": "key",
|
|
2387
|
-
"nameLocation": "
|
|
2589
|
+
"nameLocation": "2149:3:48",
|
|
2388
2590
|
"nodeType": "VariableDeclaration",
|
|
2389
|
-
"scope":
|
|
2390
|
-
"src": "
|
|
2591
|
+
"scope": 43823,
|
|
2592
|
+
"src": "2132:20:48",
|
|
2391
2593
|
"stateVariable": false,
|
|
2392
2594
|
"storageLocation": "memory",
|
|
2393
2595
|
"typeDescriptions": {
|
|
@@ -2396,18 +2598,18 @@
|
|
|
2396
2598
|
},
|
|
2397
2599
|
"typeName": {
|
|
2398
2600
|
"baseType": {
|
|
2399
|
-
"id":
|
|
2601
|
+
"id": 43816,
|
|
2400
2602
|
"name": "bytes32",
|
|
2401
2603
|
"nodeType": "ElementaryTypeName",
|
|
2402
|
-
"src": "
|
|
2604
|
+
"src": "2132:7:48",
|
|
2403
2605
|
"typeDescriptions": {
|
|
2404
2606
|
"typeIdentifier": "t_bytes32",
|
|
2405
2607
|
"typeString": "bytes32"
|
|
2406
2608
|
}
|
|
2407
2609
|
},
|
|
2408
|
-
"id":
|
|
2610
|
+
"id": 43817,
|
|
2409
2611
|
"nodeType": "ArrayTypeName",
|
|
2410
|
-
"src": "
|
|
2612
|
+
"src": "2132:9:48",
|
|
2411
2613
|
"typeDescriptions": {
|
|
2412
2614
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2413
2615
|
"typeString": "bytes32[]"
|
|
@@ -2417,13 +2619,13 @@
|
|
|
2417
2619
|
},
|
|
2418
2620
|
{
|
|
2419
2621
|
"constant": false,
|
|
2420
|
-
"id":
|
|
2622
|
+
"id": 43820,
|
|
2421
2623
|
"mutability": "mutable",
|
|
2422
2624
|
"name": "data",
|
|
2423
|
-
"nameLocation": "
|
|
2625
|
+
"nameLocation": "2167:4:48",
|
|
2424
2626
|
"nodeType": "VariableDeclaration",
|
|
2425
|
-
"scope":
|
|
2426
|
-
"src": "
|
|
2627
|
+
"scope": 43823,
|
|
2628
|
+
"src": "2154:17:48",
|
|
2427
2629
|
"stateVariable": false,
|
|
2428
2630
|
"storageLocation": "memory",
|
|
2429
2631
|
"typeDescriptions": {
|
|
@@ -2431,10 +2633,10 @@
|
|
|
2431
2633
|
"typeString": "bytes"
|
|
2432
2634
|
},
|
|
2433
2635
|
"typeName": {
|
|
2434
|
-
"id":
|
|
2636
|
+
"id": 43819,
|
|
2435
2637
|
"name": "bytes",
|
|
2436
2638
|
"nodeType": "ElementaryTypeName",
|
|
2437
|
-
"src": "
|
|
2639
|
+
"src": "2154:5:48",
|
|
2438
2640
|
"typeDescriptions": {
|
|
2439
2641
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2440
2642
|
"typeString": "bytes"
|
|
@@ -2443,43 +2645,43 @@
|
|
|
2443
2645
|
"visibility": "internal"
|
|
2444
2646
|
}
|
|
2445
2647
|
],
|
|
2446
|
-
"src": "
|
|
2648
|
+
"src": "2116:56:48"
|
|
2447
2649
|
},
|
|
2448
2650
|
"returnParameters": {
|
|
2449
|
-
"id":
|
|
2651
|
+
"id": 43822,
|
|
2450
2652
|
"nodeType": "ParameterList",
|
|
2451
2653
|
"parameters": [],
|
|
2452
|
-
"src": "
|
|
2654
|
+
"src": "2181:0:48"
|
|
2453
2655
|
},
|
|
2454
|
-
"scope":
|
|
2656
|
+
"scope": 43844,
|
|
2455
2657
|
"stateMutability": "nonpayable",
|
|
2456
2658
|
"virtual": false,
|
|
2457
2659
|
"visibility": "external"
|
|
2458
2660
|
},
|
|
2459
2661
|
{
|
|
2460
|
-
"id":
|
|
2662
|
+
"id": 43835,
|
|
2461
2663
|
"nodeType": "FunctionDefinition",
|
|
2462
|
-
"src": "
|
|
2664
|
+
"src": "2186:104:48",
|
|
2463
2665
|
"nodes": [],
|
|
2464
2666
|
"functionSelector": "7d09d033",
|
|
2465
2667
|
"implemented": false,
|
|
2466
2668
|
"kind": "function",
|
|
2467
2669
|
"modifiers": [],
|
|
2468
2670
|
"name": "onSetField",
|
|
2469
|
-
"nameLocation": "
|
|
2671
|
+
"nameLocation": "2195:10:48",
|
|
2470
2672
|
"parameters": {
|
|
2471
|
-
"id":
|
|
2673
|
+
"id": 43833,
|
|
2472
2674
|
"nodeType": "ParameterList",
|
|
2473
2675
|
"parameters": [
|
|
2474
2676
|
{
|
|
2475
2677
|
"constant": false,
|
|
2476
|
-
"id":
|
|
2678
|
+
"id": 43825,
|
|
2477
2679
|
"mutability": "mutable",
|
|
2478
2680
|
"name": "table",
|
|
2479
|
-
"nameLocation": "
|
|
2681
|
+
"nameLocation": "2214:5:48",
|
|
2480
2682
|
"nodeType": "VariableDeclaration",
|
|
2481
|
-
"scope":
|
|
2482
|
-
"src": "
|
|
2683
|
+
"scope": 43835,
|
|
2684
|
+
"src": "2206:13:48",
|
|
2483
2685
|
"stateVariable": false,
|
|
2484
2686
|
"storageLocation": "default",
|
|
2485
2687
|
"typeDescriptions": {
|
|
@@ -2487,10 +2689,10 @@
|
|
|
2487
2689
|
"typeString": "uint256"
|
|
2488
2690
|
},
|
|
2489
2691
|
"typeName": {
|
|
2490
|
-
"id":
|
|
2692
|
+
"id": 43824,
|
|
2491
2693
|
"name": "uint256",
|
|
2492
2694
|
"nodeType": "ElementaryTypeName",
|
|
2493
|
-
"src": "
|
|
2695
|
+
"src": "2206:7:48",
|
|
2494
2696
|
"typeDescriptions": {
|
|
2495
2697
|
"typeIdentifier": "t_uint256",
|
|
2496
2698
|
"typeString": "uint256"
|
|
@@ -2500,13 +2702,13 @@
|
|
|
2500
2702
|
},
|
|
2501
2703
|
{
|
|
2502
2704
|
"constant": false,
|
|
2503
|
-
"id":
|
|
2705
|
+
"id": 43828,
|
|
2504
2706
|
"mutability": "mutable",
|
|
2505
2707
|
"name": "key",
|
|
2506
|
-
"nameLocation": "
|
|
2708
|
+
"nameLocation": "2238:3:48",
|
|
2507
2709
|
"nodeType": "VariableDeclaration",
|
|
2508
|
-
"scope":
|
|
2509
|
-
"src": "
|
|
2710
|
+
"scope": 43835,
|
|
2711
|
+
"src": "2221:20:48",
|
|
2510
2712
|
"stateVariable": false,
|
|
2511
2713
|
"storageLocation": "memory",
|
|
2512
2714
|
"typeDescriptions": {
|
|
@@ -2515,18 +2717,18 @@
|
|
|
2515
2717
|
},
|
|
2516
2718
|
"typeName": {
|
|
2517
2719
|
"baseType": {
|
|
2518
|
-
"id":
|
|
2720
|
+
"id": 43826,
|
|
2519
2721
|
"name": "bytes32",
|
|
2520
2722
|
"nodeType": "ElementaryTypeName",
|
|
2521
|
-
"src": "
|
|
2723
|
+
"src": "2221:7:48",
|
|
2522
2724
|
"typeDescriptions": {
|
|
2523
2725
|
"typeIdentifier": "t_bytes32",
|
|
2524
2726
|
"typeString": "bytes32"
|
|
2525
2727
|
}
|
|
2526
2728
|
},
|
|
2527
|
-
"id":
|
|
2729
|
+
"id": 43827,
|
|
2528
2730
|
"nodeType": "ArrayTypeName",
|
|
2529
|
-
"src": "
|
|
2731
|
+
"src": "2221:9:48",
|
|
2530
2732
|
"typeDescriptions": {
|
|
2531
2733
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2532
2734
|
"typeString": "bytes32[]"
|
|
@@ -2536,13 +2738,13 @@
|
|
|
2536
2738
|
},
|
|
2537
2739
|
{
|
|
2538
2740
|
"constant": false,
|
|
2539
|
-
"id":
|
|
2741
|
+
"id": 43830,
|
|
2540
2742
|
"mutability": "mutable",
|
|
2541
2743
|
"name": "schemaIndex",
|
|
2542
|
-
"nameLocation": "
|
|
2744
|
+
"nameLocation": "2249:11:48",
|
|
2543
2745
|
"nodeType": "VariableDeclaration",
|
|
2544
|
-
"scope":
|
|
2545
|
-
"src": "
|
|
2746
|
+
"scope": 43835,
|
|
2747
|
+
"src": "2243:17:48",
|
|
2546
2748
|
"stateVariable": false,
|
|
2547
2749
|
"storageLocation": "default",
|
|
2548
2750
|
"typeDescriptions": {
|
|
@@ -2550,10 +2752,10 @@
|
|
|
2550
2752
|
"typeString": "uint8"
|
|
2551
2753
|
},
|
|
2552
2754
|
"typeName": {
|
|
2553
|
-
"id":
|
|
2755
|
+
"id": 43829,
|
|
2554
2756
|
"name": "uint8",
|
|
2555
2757
|
"nodeType": "ElementaryTypeName",
|
|
2556
|
-
"src": "
|
|
2758
|
+
"src": "2243:5:48",
|
|
2557
2759
|
"typeDescriptions": {
|
|
2558
2760
|
"typeIdentifier": "t_uint8",
|
|
2559
2761
|
"typeString": "uint8"
|
|
@@ -2563,13 +2765,13 @@
|
|
|
2563
2765
|
},
|
|
2564
2766
|
{
|
|
2565
2767
|
"constant": false,
|
|
2566
|
-
"id":
|
|
2768
|
+
"id": 43832,
|
|
2567
2769
|
"mutability": "mutable",
|
|
2568
2770
|
"name": "data",
|
|
2569
|
-
"nameLocation": "
|
|
2771
|
+
"nameLocation": "2275:4:48",
|
|
2570
2772
|
"nodeType": "VariableDeclaration",
|
|
2571
|
-
"scope":
|
|
2572
|
-
"src": "
|
|
2773
|
+
"scope": 43835,
|
|
2774
|
+
"src": "2262:17:48",
|
|
2573
2775
|
"stateVariable": false,
|
|
2574
2776
|
"storageLocation": "memory",
|
|
2575
2777
|
"typeDescriptions": {
|
|
@@ -2577,10 +2779,10 @@
|
|
|
2577
2779
|
"typeString": "bytes"
|
|
2578
2780
|
},
|
|
2579
2781
|
"typeName": {
|
|
2580
|
-
"id":
|
|
2782
|
+
"id": 43831,
|
|
2581
2783
|
"name": "bytes",
|
|
2582
2784
|
"nodeType": "ElementaryTypeName",
|
|
2583
|
-
"src": "
|
|
2785
|
+
"src": "2262:5:48",
|
|
2584
2786
|
"typeDescriptions": {
|
|
2585
2787
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2586
2788
|
"typeString": "bytes"
|
|
@@ -2589,43 +2791,43 @@
|
|
|
2589
2791
|
"visibility": "internal"
|
|
2590
2792
|
}
|
|
2591
2793
|
],
|
|
2592
|
-
"src": "
|
|
2794
|
+
"src": "2205:75:48"
|
|
2593
2795
|
},
|
|
2594
2796
|
"returnParameters": {
|
|
2595
|
-
"id":
|
|
2797
|
+
"id": 43834,
|
|
2596
2798
|
"nodeType": "ParameterList",
|
|
2597
2799
|
"parameters": [],
|
|
2598
|
-
"src": "
|
|
2800
|
+
"src": "2289:0:48"
|
|
2599
2801
|
},
|
|
2600
|
-
"scope":
|
|
2802
|
+
"scope": 43844,
|
|
2601
2803
|
"stateMutability": "nonpayable",
|
|
2602
2804
|
"virtual": false,
|
|
2603
2805
|
"visibility": "external"
|
|
2604
2806
|
},
|
|
2605
2807
|
{
|
|
2606
|
-
"id":
|
|
2808
|
+
"id": 43843,
|
|
2607
2809
|
"nodeType": "FunctionDefinition",
|
|
2608
|
-
"src": "
|
|
2810
|
+
"src": "2294:70:48",
|
|
2609
2811
|
"nodes": [],
|
|
2610
2812
|
"functionSelector": "1a808b3c",
|
|
2611
2813
|
"implemented": false,
|
|
2612
2814
|
"kind": "function",
|
|
2613
2815
|
"modifiers": [],
|
|
2614
2816
|
"name": "onDeleteRecord",
|
|
2615
|
-
"nameLocation": "
|
|
2817
|
+
"nameLocation": "2303:14:48",
|
|
2616
2818
|
"parameters": {
|
|
2617
|
-
"id":
|
|
2819
|
+
"id": 43841,
|
|
2618
2820
|
"nodeType": "ParameterList",
|
|
2619
2821
|
"parameters": [
|
|
2620
2822
|
{
|
|
2621
2823
|
"constant": false,
|
|
2622
|
-
"id":
|
|
2824
|
+
"id": 43837,
|
|
2623
2825
|
"mutability": "mutable",
|
|
2624
2826
|
"name": "table",
|
|
2625
|
-
"nameLocation": "
|
|
2827
|
+
"nameLocation": "2326:5:48",
|
|
2626
2828
|
"nodeType": "VariableDeclaration",
|
|
2627
|
-
"scope":
|
|
2628
|
-
"src": "
|
|
2829
|
+
"scope": 43843,
|
|
2830
|
+
"src": "2318:13:48",
|
|
2629
2831
|
"stateVariable": false,
|
|
2630
2832
|
"storageLocation": "default",
|
|
2631
2833
|
"typeDescriptions": {
|
|
@@ -2633,10 +2835,10 @@
|
|
|
2633
2835
|
"typeString": "uint256"
|
|
2634
2836
|
},
|
|
2635
2837
|
"typeName": {
|
|
2636
|
-
"id":
|
|
2838
|
+
"id": 43836,
|
|
2637
2839
|
"name": "uint256",
|
|
2638
2840
|
"nodeType": "ElementaryTypeName",
|
|
2639
|
-
"src": "
|
|
2841
|
+
"src": "2318:7:48",
|
|
2640
2842
|
"typeDescriptions": {
|
|
2641
2843
|
"typeIdentifier": "t_uint256",
|
|
2642
2844
|
"typeString": "uint256"
|
|
@@ -2646,13 +2848,13 @@
|
|
|
2646
2848
|
},
|
|
2647
2849
|
{
|
|
2648
2850
|
"constant": false,
|
|
2649
|
-
"id":
|
|
2851
|
+
"id": 43840,
|
|
2650
2852
|
"mutability": "mutable",
|
|
2651
2853
|
"name": "key",
|
|
2652
|
-
"nameLocation": "
|
|
2854
|
+
"nameLocation": "2350:3:48",
|
|
2653
2855
|
"nodeType": "VariableDeclaration",
|
|
2654
|
-
"scope":
|
|
2655
|
-
"src": "
|
|
2856
|
+
"scope": 43843,
|
|
2857
|
+
"src": "2333:20:48",
|
|
2656
2858
|
"stateVariable": false,
|
|
2657
2859
|
"storageLocation": "memory",
|
|
2658
2860
|
"typeDescriptions": {
|
|
@@ -2661,18 +2863,18 @@
|
|
|
2661
2863
|
},
|
|
2662
2864
|
"typeName": {
|
|
2663
2865
|
"baseType": {
|
|
2664
|
-
"id":
|
|
2866
|
+
"id": 43838,
|
|
2665
2867
|
"name": "bytes32",
|
|
2666
2868
|
"nodeType": "ElementaryTypeName",
|
|
2667
|
-
"src": "
|
|
2869
|
+
"src": "2333:7:48",
|
|
2668
2870
|
"typeDescriptions": {
|
|
2669
2871
|
"typeIdentifier": "t_bytes32",
|
|
2670
2872
|
"typeString": "bytes32"
|
|
2671
2873
|
}
|
|
2672
2874
|
},
|
|
2673
|
-
"id":
|
|
2875
|
+
"id": 43839,
|
|
2674
2876
|
"nodeType": "ArrayTypeName",
|
|
2675
|
-
"src": "
|
|
2877
|
+
"src": "2333:9:48",
|
|
2676
2878
|
"typeDescriptions": {
|
|
2677
2879
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2678
2880
|
"typeString": "bytes32[]"
|
|
@@ -2681,15 +2883,15 @@
|
|
|
2681
2883
|
"visibility": "internal"
|
|
2682
2884
|
}
|
|
2683
2885
|
],
|
|
2684
|
-
"src": "
|
|
2886
|
+
"src": "2317:37:48"
|
|
2685
2887
|
},
|
|
2686
2888
|
"returnParameters": {
|
|
2687
|
-
"id":
|
|
2889
|
+
"id": 43842,
|
|
2688
2890
|
"nodeType": "ParameterList",
|
|
2689
2891
|
"parameters": [],
|
|
2690
|
-
"src": "
|
|
2892
|
+
"src": "2363:0:48"
|
|
2691
2893
|
},
|
|
2692
|
-
"scope":
|
|
2894
|
+
"scope": 43844,
|
|
2693
2895
|
"stateMutability": "nonpayable",
|
|
2694
2896
|
"virtual": false,
|
|
2695
2897
|
"visibility": "external"
|
|
@@ -2702,11 +2904,11 @@
|
|
|
2702
2904
|
"contractKind": "interface",
|
|
2703
2905
|
"fullyImplemented": false,
|
|
2704
2906
|
"linearizedBaseContracts": [
|
|
2705
|
-
|
|
2907
|
+
43844
|
|
2706
2908
|
],
|
|
2707
2909
|
"name": "IStoreHook",
|
|
2708
|
-
"nameLocation": "
|
|
2709
|
-
"scope":
|
|
2910
|
+
"nameLocation": "2081:10:48",
|
|
2911
|
+
"scope": 43845,
|
|
2710
2912
|
"usedErrors": []
|
|
2711
2913
|
}
|
|
2712
2914
|
],
|