@latticexyz/world 2.0.0-alpha.1.21 → 2.0.0-alpha.1.22
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/abi/AccessControl.sol/AccessControl.json +241 -241
- package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
- package/abi/AddressArray.sol/AddressArray.json +1124 -1124
- package/abi/ArrayLib.sol/ArrayLib.json +139 -139
- package/abi/Bool.sol/Bool.json +704 -704
- package/abi/Bytes.sol/Bytes.json +6 -6
- package/abi/Call.sol/Call.json +112 -112
- package/abi/Callbacks.sol/Callbacks.json +1100 -1100
- package/abi/CoreModule.sol/CoreModule.json +542 -542
- package/abi/CoreSystem.sol/CoreSystem.json +92 -92
- package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
- package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
- package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
- package/abi/Hooks.sol/Hooks.json +1100 -1100
- package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
- package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
- package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/abi/IModule.sol/IModule.json +28 -28
- package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
- package/abi/IStore.sol/IStore.json +551 -349
- package/abi/IStore.sol/IStoreData.json +551 -349
- package/abi/IStore.sol/IStoreHook.json +495 -349
- package/abi/IStore.sol/IStoreRead.json +495 -349
- package/abi/IStore.sol/IStoreRegistration.json +495 -349
- package/abi/IStore.sol/IStoreWrite.json +551 -349
- package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
- package/abi/ISystemHook.sol/ISystemHook.json +19 -19
- package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
- package/abi/IWorldKernel.sol/IWorldData.json +524 -276
- package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
- package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
- package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
- package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
- package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
- package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
- package/abi/Memory.sol/Memory.json +131 -131
- package/abi/Mixed.sol/Mixed.json +2781 -2781
- package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
- package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
- package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
- package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
- package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
- package/abi/ResourceType.sol/ResourceType.json +831 -831
- package/abi/Schema.sol/SchemaLib.json +1469 -1469
- package/abi/SchemaType.sol/SchemaType.json +315 -315
- package/abi/Slice.sol/SliceInstance.json +429 -429
- package/abi/Slice.sol/SliceLib.json +429 -429
- package/abi/Storage.sol/Storage.json +1024 -1061
- package/abi/StoreCore.sol/StoreCore.json +10434 -7652
- package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
- package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
- package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
- package/abi/StoreRead.sol/StoreRead.json +247 -247
- package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
- package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
- package/abi/System.sol/System.json +31 -31
- package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
- package/abi/Systems.sol/Systems.json +1412 -1412
- package/abi/TableId.sol/TableId.json +27 -27
- package/abi/Tables.sol/Tables.json +92 -92
- package/abi/TightCoder.sol/TightCoder.json +275 -275
- package/abi/Types.sol/Types.json +8 -8
- package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
- package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
- package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
- package/abi/Utils.sol/Utils.json +67 -67
- package/abi/Vector2.sol/Vector2.json +1473 -1473
- package/abi/World.sol/World.json +2426 -1491
- package/abi/WorldContext.sol/WorldContext.json +65 -65
- package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
- package/abi/console.sol/console.json +11417 -11417
- package/abi/constants.sol/constants.json +34 -34
- package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
- package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
- package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
- package/abi/src/Bytes.sol/Bytes.json +1225 -1225
- package/abi/src/IStore.sol/IStore.json +727 -525
- package/abi/src/IStore.sol/IStoreData.json +727 -525
- package/abi/src/IStore.sol/IStoreHook.json +671 -525
- package/abi/src/IStore.sol/IStoreRead.json +671 -525
- package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
- package/abi/src/IStore.sol/IStoreWrite.json +727 -525
- package/abi/src/Memory.sol/Memory.json +131 -131
- package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
- package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
- package/abi/src/Slice.sol/SliceInstance.json +429 -429
- package/abi/src/Slice.sol/SliceLib.json +429 -429
- package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
- package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
- package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
- package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
- package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
- package/package.json +6 -6
- package/src/World.sol +32 -0
- package/src/interfaces/IWorldKernel.sol +12 -0
- package/types/ethers-contracts/IBaseWorld.ts +116 -0
- package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
- package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
- package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
- package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
- package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
- package/types/ethers-contracts/World.ts +116 -0
- package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
- package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
- package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
- package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
- package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
- package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/World__factory.ts +62 -1
- package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
- package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
- package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
- package/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +55 -0
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"registerStoreHook(bytes32,address)": "6e81fd71",
|
|
81
81
|
"setMetadata(bytes32,string,string[])": "fe86a89f"
|
|
82
82
|
},
|
|
83
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"}],\"name\":\"registerSchema\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hook\",\"type\":\"address\"}],\"name\":\"registerStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"tableName\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"fieldNames\",\"type\":\"string[]\"}],\"name\":\"setMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"The IStoreRegistration interface includes methods for managing table schemas, metadata, and hooks, which are usually called once in the setup phase of an application, making them less performance critical than the IStoreData methods.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":\"IStoreRegistration\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\",\":hardhat/=node_modules/hardhat/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/store/src/Bytes.sol\":{\"keccak256\":\"0x117331c70b8cda783991a6b3e14861176068086526548d334cef8e1c24e16d5b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://613026caf6782e8a4ad0f366781fc13141492b667a723bdea69250c9b517c790\",\"dweb:/ipfs/QmQqwBSjcrDUoVvmXxeKZZpyGSEpeMTh2QZRExQTdZLrCt\"]},\"/home/runner/work/mud/mud/packages/store/src/IErrors.sol\":{\"keccak256\":\"0xc29b8d9d2597c6e9fcfbb37714cfa02270983c95e5a54b4c70eb9d99abcfe4e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df9591141bec48fb57df31c0c5632085d5347d194292b14b479930bac5c8274\",\"dweb:/ipfs/Qmaa3yV9YeJ14wYyWcFYHjAhRc9qaU6WrejNAmdSP7oQRV\"]},\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":{\"keccak256\":\"
|
|
83
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"}],\"name\":\"registerSchema\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hook\",\"type\":\"address\"}],\"name\":\"registerStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"tableName\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"fieldNames\",\"type\":\"string[]\"}],\"name\":\"setMetadata\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"The IStoreRegistration interface includes methods for managing table schemas, metadata, and hooks, which are usually called once in the setup phase of an application, making them less performance critical than the IStoreData methods.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":\"IStoreRegistration\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\",\":hardhat/=node_modules/hardhat/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/store/src/Bytes.sol\":{\"keccak256\":\"0x117331c70b8cda783991a6b3e14861176068086526548d334cef8e1c24e16d5b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://613026caf6782e8a4ad0f366781fc13141492b667a723bdea69250c9b517c790\",\"dweb:/ipfs/QmQqwBSjcrDUoVvmXxeKZZpyGSEpeMTh2QZRExQTdZLrCt\"]},\"/home/runner/work/mud/mud/packages/store/src/IErrors.sol\":{\"keccak256\":\"0xc29b8d9d2597c6e9fcfbb37714cfa02270983c95e5a54b4c70eb9d99abcfe4e9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2df9591141bec48fb57df31c0c5632085d5347d194292b14b479930bac5c8274\",\"dweb:/ipfs/Qmaa3yV9YeJ14wYyWcFYHjAhRc9qaU6WrejNAmdSP7oQRV\"]},\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":{\"keccak256\":\"0x465c23c85a77fdc6001f06a6899080c1d6cfef9858886d7d922e54fce1eb79e6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6358088868fa52711e65d3462eb6b6762fe736eb7f033909e3260280b6a87957\",\"dweb:/ipfs/QmdkwwvTa9Hzc5SDP4C1hvrKzc8SxWNDrxNqQKw4ZoCKzL\"]},\"/home/runner/work/mud/mud/packages/store/src/Memory.sol\":{\"keccak256\":\"0x706d0d1ddd874bdcd4f73422721420b32939c1c96d4718db8b1b8e9f78bfa76c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2ed8c858fa9c3756cb70cb92bb860e0ae6429eb62551b502fb4a883e1344eb42\",\"dweb:/ipfs/QmezLAADZmFj8bKS9dccTQYHcpy4g8PSZ75AuvppSwjrW7\"]},\"/home/runner/work/mud/mud/packages/store/src/Schema.sol\":{\"keccak256\":\"0xf06793dc2e9e9994403d29125359eb2f326b0e6e502d51a8e6e4e45fc9d90a3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8cb23bf421b29839200e5584a770186309dd05cd77d4345c964f47528117a244\",\"dweb:/ipfs/QmQBvrDAtoqibky7CjCLKxGz3MquxK1iNk2Yac55Lc4xF5\"]},\"/home/runner/work/mud/mud/packages/store/src/Slice.sol\":{\"keccak256\":\"0x14879c6c859cad89451616dcee1ab6222fd565849809b89407de48f0c1a01133\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://924caa18aa0e656a295da626d586dfb120bbea321123010462b0640c7e0c52c4\",\"dweb:/ipfs/QmNueqwy4g5mwq9kXaPzue8X2mqyFjH2P2AFi3pNN3WTAt\"]},\"/home/runner/work/mud/mud/packages/store/src/Utils.sol\":{\"keccak256\":\"0x426216bfa1c0e70640787007a6e39257cf09e586fd04831ea4fb3dd9c5768fc4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://38e657fa9cfaebe39477eaff27d1ad4d7eeaf0c0058539d2ec7e6976d93df4f4\",\"dweb:/ipfs/QmRuaxqRjUrHHC2ZyTnpmq6sfrWGCDh91B6F5chFAToU6U\"]},\"/home/runner/work/mud/mud/packages/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0xe760dfb8ff20cfb44eee6a5f03ac84abbc91382fca2e36c88c92046e6b3a66e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://75eb4b355c547ffee62031d8dfb80844fa31fa4460543a088278083662dc4c12\",\"dweb:/ipfs/Qmf8sRcrjJ6hEQ8TPwwe6KcXcE2MPw7Juvf7fKBZ1fBCt6\"]},\"/home/runner/work/mud/mud/packages/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0xff0278a4e35174bbed8a38dad8ae7506f725bfe95f0b7c13829c353d68dd25dc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26249ec0c2fa3a3430a2f8edbfc5cd678e34ea1cf1d7490ecaf1e925c976eb85\",\"dweb:/ipfs/QmUpkhr5kFiDKc7rZ2z5HcTf5PkrWVJu5sa31tYv911cPL\"]},\"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\"]}},\"version\":1}",
|
|
84
84
|
"metadata": {
|
|
85
85
|
"compiler": {
|
|
86
86
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -198,10 +198,10 @@
|
|
|
198
198
|
"license": "MIT"
|
|
199
199
|
},
|
|
200
200
|
"/home/runner/work/mud/mud/packages/store/src/IStore.sol": {
|
|
201
|
-
"keccak256": "
|
|
201
|
+
"keccak256": "0x465c23c85a77fdc6001f06a6899080c1d6cfef9858886d7d922e54fce1eb79e6",
|
|
202
202
|
"urls": [
|
|
203
|
-
"bzz-raw://
|
|
204
|
-
"dweb:/ipfs/
|
|
203
|
+
"bzz-raw://6358088868fa52711e65d3462eb6b6762fe736eb7f033909e3260280b6a87957",
|
|
204
|
+
"dweb:/ipfs/QmdkwwvTa9Hzc5SDP4C1hvrKzc8SxWNDrxNqQKw4ZoCKzL"
|
|
205
205
|
],
|
|
206
206
|
"license": "MIT"
|
|
207
207
|
},
|
|
@@ -274,35 +274,35 @@
|
|
|
274
274
|
},
|
|
275
275
|
"ast": {
|
|
276
276
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IStore.sol",
|
|
277
|
-
"id":
|
|
277
|
+
"id": 1011,
|
|
278
278
|
"exportedSymbols": {
|
|
279
279
|
"IErrors": [
|
|
280
280
|
768
|
|
281
281
|
],
|
|
282
282
|
"IStore": [
|
|
283
|
-
|
|
283
|
+
967
|
|
284
284
|
],
|
|
285
285
|
"IStoreData": [
|
|
286
|
-
|
|
286
|
+
931
|
|
287
287
|
],
|
|
288
288
|
"IStoreHook": [
|
|
289
|
-
|
|
289
|
+
1010
|
|
290
290
|
],
|
|
291
291
|
"IStoreRead": [
|
|
292
292
|
829
|
|
293
293
|
],
|
|
294
294
|
"IStoreRegistration": [
|
|
295
|
-
|
|
295
|
+
962
|
|
296
296
|
],
|
|
297
297
|
"IStoreWrite": [
|
|
298
|
-
|
|
298
|
+
925
|
|
299
299
|
],
|
|
300
300
|
"Schema": [
|
|
301
|
-
|
|
301
|
+
1517
|
|
302
302
|
]
|
|
303
303
|
},
|
|
304
304
|
"nodeType": "SourceUnit",
|
|
305
|
-
"src": "32:
|
|
305
|
+
"src": "32:3715:2",
|
|
306
306
|
"nodes": [
|
|
307
307
|
{
|
|
308
308
|
"id": 770,
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IErrors.sol",
|
|
325
325
|
"file": "./IErrors.sol",
|
|
326
326
|
"nameLocation": "-1:-1:-1",
|
|
327
|
-
"scope":
|
|
327
|
+
"scope": 1011,
|
|
328
328
|
"sourceUnit": 769,
|
|
329
329
|
"symbolAliases": [
|
|
330
330
|
{
|
|
@@ -350,8 +350,8 @@
|
|
|
350
350
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/Schema.sol",
|
|
351
351
|
"file": "./Schema.sol",
|
|
352
352
|
"nameLocation": "-1:-1:-1",
|
|
353
|
-
"scope":
|
|
354
|
-
"sourceUnit":
|
|
353
|
+
"scope": 1011,
|
|
354
|
+
"sourceUnit": 2285,
|
|
355
355
|
"symbolAliases": [
|
|
356
356
|
{
|
|
357
357
|
"foreign": {
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"name": "Schema",
|
|
360
360
|
"nodeType": "Identifier",
|
|
361
361
|
"overloadedDeclarations": [],
|
|
362
|
-
"referencedDeclaration":
|
|
362
|
+
"referencedDeclaration": 1517,
|
|
363
363
|
"src": "108:6:2",
|
|
364
364
|
"typeDescriptions": {}
|
|
365
365
|
},
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"stateVariable": false,
|
|
435
435
|
"storageLocation": "default",
|
|
436
436
|
"typeDescriptions": {
|
|
437
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
437
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
438
438
|
"typeString": "Schema"
|
|
439
439
|
},
|
|
440
440
|
"typeName": {
|
|
@@ -444,13 +444,13 @@
|
|
|
444
444
|
"id": 778,
|
|
445
445
|
"name": "Schema",
|
|
446
446
|
"nodeType": "IdentifierPath",
|
|
447
|
-
"referencedDeclaration":
|
|
447
|
+
"referencedDeclaration": 1517,
|
|
448
448
|
"src": "221:6:2"
|
|
449
449
|
},
|
|
450
|
-
"referencedDeclaration":
|
|
450
|
+
"referencedDeclaration": 1517,
|
|
451
451
|
"src": "221:6:2",
|
|
452
452
|
"typeDescriptions": {
|
|
453
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
453
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
454
454
|
"typeString": "Schema"
|
|
455
455
|
}
|
|
456
456
|
},
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"stateVariable": false,
|
|
526
526
|
"storageLocation": "default",
|
|
527
527
|
"typeDescriptions": {
|
|
528
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
528
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
529
529
|
"typeString": "Schema"
|
|
530
530
|
},
|
|
531
531
|
"typeName": {
|
|
@@ -535,13 +535,13 @@
|
|
|
535
535
|
"id": 786,
|
|
536
536
|
"name": "Schema",
|
|
537
537
|
"nodeType": "IdentifierPath",
|
|
538
|
-
"referencedDeclaration":
|
|
538
|
+
"referencedDeclaration": 1517,
|
|
539
539
|
"src": "300:6:2"
|
|
540
540
|
},
|
|
541
|
-
"referencedDeclaration":
|
|
541
|
+
"referencedDeclaration": 1517,
|
|
542
542
|
"src": "300:6:2",
|
|
543
543
|
"typeDescriptions": {
|
|
544
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
544
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
545
545
|
"typeString": "Schema"
|
|
546
546
|
}
|
|
547
547
|
},
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
"stateVariable": false,
|
|
766
766
|
"storageLocation": "default",
|
|
767
767
|
"typeDescriptions": {
|
|
768
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
768
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
769
769
|
"typeString": "Schema"
|
|
770
770
|
},
|
|
771
771
|
"typeName": {
|
|
@@ -775,13 +775,13 @@
|
|
|
775
775
|
"id": 806,
|
|
776
776
|
"name": "Schema",
|
|
777
777
|
"nodeType": "IdentifierPath",
|
|
778
|
-
"referencedDeclaration":
|
|
778
|
+
"referencedDeclaration": 1517,
|
|
779
779
|
"src": "599:6:2"
|
|
780
780
|
},
|
|
781
|
-
"referencedDeclaration":
|
|
781
|
+
"referencedDeclaration": 1517,
|
|
782
782
|
"src": "599:6:2",
|
|
783
783
|
"typeDescriptions": {
|
|
784
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
784
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
785
785
|
"typeString": "Schema"
|
|
786
786
|
}
|
|
787
787
|
},
|
|
@@ -1016,13 +1016,13 @@
|
|
|
1016
1016
|
],
|
|
1017
1017
|
"name": "IStoreRead",
|
|
1018
1018
|
"nameLocation": "149:10:2",
|
|
1019
|
-
"scope":
|
|
1019
|
+
"scope": 1011,
|
|
1020
1020
|
"usedErrors": []
|
|
1021
1021
|
},
|
|
1022
1022
|
{
|
|
1023
|
-
"id":
|
|
1023
|
+
"id": 925,
|
|
1024
1024
|
"nodeType": "ContractDefinition",
|
|
1025
|
-
"src": "1073:
|
|
1025
|
+
"src": "1073:1239:2",
|
|
1026
1026
|
"nodes": [
|
|
1027
1027
|
{
|
|
1028
1028
|
"id": 838,
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
"parameters": [],
|
|
1469
1469
|
"src": "1445:0:2"
|
|
1470
1470
|
},
|
|
1471
|
-
"scope":
|
|
1471
|
+
"scope": 925,
|
|
1472
1472
|
"stateMutability": "nonpayable",
|
|
1473
1473
|
"virtual": false,
|
|
1474
1474
|
"visibility": "external"
|
|
@@ -1614,7 +1614,7 @@
|
|
|
1614
1614
|
"parameters": [],
|
|
1615
1615
|
"src": "1593:0:2"
|
|
1616
1616
|
},
|
|
1617
|
-
"scope":
|
|
1617
|
+
"scope": 925,
|
|
1618
1618
|
"stateMutability": "nonpayable",
|
|
1619
1619
|
"virtual": false,
|
|
1620
1620
|
"visibility": "external"
|
|
@@ -1760,24 +1760,24 @@
|
|
|
1760
1760
|
"parameters": [],
|
|
1761
1761
|
"src": "1773:0:2"
|
|
1762
1762
|
},
|
|
1763
|
-
"scope":
|
|
1763
|
+
"scope": 925,
|
|
1764
1764
|
"stateMutability": "nonpayable",
|
|
1765
1765
|
"virtual": false,
|
|
1766
1766
|
"visibility": "external"
|
|
1767
1767
|
},
|
|
1768
1768
|
{
|
|
1769
|
-
"id":
|
|
1769
|
+
"id": 902,
|
|
1770
1770
|
"nodeType": "FunctionDefinition",
|
|
1771
|
-
"src": "
|
|
1771
|
+
"src": "1838:114:2",
|
|
1772
1772
|
"nodes": [],
|
|
1773
|
-
"functionSelector": "
|
|
1773
|
+
"functionSelector": "8c1f9a54",
|
|
1774
1774
|
"implemented": false,
|
|
1775
1775
|
"kind": "function",
|
|
1776
1776
|
"modifiers": [],
|
|
1777
|
-
"name": "
|
|
1778
|
-
"nameLocation": "
|
|
1777
|
+
"name": "popFromField",
|
|
1778
|
+
"nameLocation": "1847:12:2",
|
|
1779
1779
|
"parameters": {
|
|
1780
|
-
"id":
|
|
1780
|
+
"id": 900,
|
|
1781
1781
|
"nodeType": "ParameterList",
|
|
1782
1782
|
"parameters": [
|
|
1783
1783
|
{
|
|
@@ -1785,10 +1785,10 @@
|
|
|
1785
1785
|
"id": 892,
|
|
1786
1786
|
"mutability": "mutable",
|
|
1787
1787
|
"name": "table",
|
|
1788
|
-
"nameLocation": "
|
|
1788
|
+
"nameLocation": "1868:5:2",
|
|
1789
1789
|
"nodeType": "VariableDeclaration",
|
|
1790
|
-
"scope":
|
|
1791
|
-
"src": "
|
|
1790
|
+
"scope": 902,
|
|
1791
|
+
"src": "1860:13:2",
|
|
1792
1792
|
"stateVariable": false,
|
|
1793
1793
|
"storageLocation": "default",
|
|
1794
1794
|
"typeDescriptions": {
|
|
@@ -1799,7 +1799,7 @@
|
|
|
1799
1799
|
"id": 891,
|
|
1800
1800
|
"name": "bytes32",
|
|
1801
1801
|
"nodeType": "ElementaryTypeName",
|
|
1802
|
-
"src": "
|
|
1802
|
+
"src": "1860:7:2",
|
|
1803
1803
|
"typeDescriptions": {
|
|
1804
1804
|
"typeIdentifier": "t_bytes32",
|
|
1805
1805
|
"typeString": "bytes32"
|
|
@@ -1812,10 +1812,10 @@
|
|
|
1812
1812
|
"id": 895,
|
|
1813
1813
|
"mutability": "mutable",
|
|
1814
1814
|
"name": "key",
|
|
1815
|
-
"nameLocation": "
|
|
1815
|
+
"nameLocation": "1894:3:2",
|
|
1816
1816
|
"nodeType": "VariableDeclaration",
|
|
1817
|
-
"scope":
|
|
1818
|
-
"src": "
|
|
1817
|
+
"scope": 902,
|
|
1818
|
+
"src": "1875:22:2",
|
|
1819
1819
|
"stateVariable": false,
|
|
1820
1820
|
"storageLocation": "calldata",
|
|
1821
1821
|
"typeDescriptions": {
|
|
@@ -1827,7 +1827,7 @@
|
|
|
1827
1827
|
"id": 893,
|
|
1828
1828
|
"name": "bytes32",
|
|
1829
1829
|
"nodeType": "ElementaryTypeName",
|
|
1830
|
-
"src": "
|
|
1830
|
+
"src": "1875:7:2",
|
|
1831
1831
|
"typeDescriptions": {
|
|
1832
1832
|
"typeIdentifier": "t_bytes32",
|
|
1833
1833
|
"typeString": "bytes32"
|
|
@@ -1835,7 +1835,7 @@
|
|
|
1835
1835
|
},
|
|
1836
1836
|
"id": 894,
|
|
1837
1837
|
"nodeType": "ArrayTypeName",
|
|
1838
|
-
"src": "
|
|
1838
|
+
"src": "1875:9:2",
|
|
1839
1839
|
"typeDescriptions": {
|
|
1840
1840
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1841
1841
|
"typeString": "bytes32[]"
|
|
@@ -1848,10 +1848,10 @@
|
|
|
1848
1848
|
"id": 897,
|
|
1849
1849
|
"mutability": "mutable",
|
|
1850
1850
|
"name": "schemaIndex",
|
|
1851
|
-
"nameLocation": "
|
|
1851
|
+
"nameLocation": "1905:11:2",
|
|
1852
1852
|
"nodeType": "VariableDeclaration",
|
|
1853
|
-
"scope":
|
|
1854
|
-
"src": "
|
|
1853
|
+
"scope": 902,
|
|
1854
|
+
"src": "1899:17:2",
|
|
1855
1855
|
"stateVariable": false,
|
|
1856
1856
|
"storageLocation": "default",
|
|
1857
1857
|
"typeDescriptions": {
|
|
@@ -1862,7 +1862,7 @@
|
|
|
1862
1862
|
"id": 896,
|
|
1863
1863
|
"name": "uint8",
|
|
1864
1864
|
"nodeType": "ElementaryTypeName",
|
|
1865
|
-
"src": "
|
|
1865
|
+
"src": "1899:5:2",
|
|
1866
1866
|
"typeDescriptions": {
|
|
1867
1867
|
"typeIdentifier": "t_uint8",
|
|
1868
1868
|
"typeString": "uint8"
|
|
@@ -1874,11 +1874,11 @@
|
|
|
1874
1874
|
"constant": false,
|
|
1875
1875
|
"id": 899,
|
|
1876
1876
|
"mutability": "mutable",
|
|
1877
|
-
"name": "
|
|
1878
|
-
"nameLocation": "
|
|
1877
|
+
"name": "byteLengthToPop",
|
|
1878
|
+
"nameLocation": "1926:15:2",
|
|
1879
1879
|
"nodeType": "VariableDeclaration",
|
|
1880
|
-
"scope":
|
|
1881
|
-
"src": "
|
|
1880
|
+
"scope": 902,
|
|
1881
|
+
"src": "1918:23:2",
|
|
1882
1882
|
"stateVariable": false,
|
|
1883
1883
|
"storageLocation": "default",
|
|
1884
1884
|
"typeDescriptions": {
|
|
@@ -1889,7 +1889,153 @@
|
|
|
1889
1889
|
"id": 898,
|
|
1890
1890
|
"name": "uint256",
|
|
1891
1891
|
"nodeType": "ElementaryTypeName",
|
|
1892
|
-
"src": "
|
|
1892
|
+
"src": "1918:7:2",
|
|
1893
|
+
"typeDescriptions": {
|
|
1894
|
+
"typeIdentifier": "t_uint256",
|
|
1895
|
+
"typeString": "uint256"
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"visibility": "internal"
|
|
1899
|
+
}
|
|
1900
|
+
],
|
|
1901
|
+
"src": "1859:83:2"
|
|
1902
|
+
},
|
|
1903
|
+
"returnParameters": {
|
|
1904
|
+
"id": 901,
|
|
1905
|
+
"nodeType": "ParameterList",
|
|
1906
|
+
"parameters": [],
|
|
1907
|
+
"src": "1951:0:2"
|
|
1908
|
+
},
|
|
1909
|
+
"scope": 925,
|
|
1910
|
+
"stateMutability": "nonpayable",
|
|
1911
|
+
"virtual": false,
|
|
1912
|
+
"visibility": "external"
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"id": 916,
|
|
1916
|
+
"nodeType": "FunctionDefinition",
|
|
1917
|
+
"src": "2023:164:2",
|
|
1918
|
+
"nodes": [],
|
|
1919
|
+
"functionSelector": "776d4047",
|
|
1920
|
+
"implemented": false,
|
|
1921
|
+
"kind": "function",
|
|
1922
|
+
"modifiers": [],
|
|
1923
|
+
"name": "updateInField",
|
|
1924
|
+
"nameLocation": "2032:13:2",
|
|
1925
|
+
"parameters": {
|
|
1926
|
+
"id": 914,
|
|
1927
|
+
"nodeType": "ParameterList",
|
|
1928
|
+
"parameters": [
|
|
1929
|
+
{
|
|
1930
|
+
"constant": false,
|
|
1931
|
+
"id": 904,
|
|
1932
|
+
"mutability": "mutable",
|
|
1933
|
+
"name": "table",
|
|
1934
|
+
"nameLocation": "2059:5:2",
|
|
1935
|
+
"nodeType": "VariableDeclaration",
|
|
1936
|
+
"scope": 916,
|
|
1937
|
+
"src": "2051:13:2",
|
|
1938
|
+
"stateVariable": false,
|
|
1939
|
+
"storageLocation": "default",
|
|
1940
|
+
"typeDescriptions": {
|
|
1941
|
+
"typeIdentifier": "t_bytes32",
|
|
1942
|
+
"typeString": "bytes32"
|
|
1943
|
+
},
|
|
1944
|
+
"typeName": {
|
|
1945
|
+
"id": 903,
|
|
1946
|
+
"name": "bytes32",
|
|
1947
|
+
"nodeType": "ElementaryTypeName",
|
|
1948
|
+
"src": "2051:7:2",
|
|
1949
|
+
"typeDescriptions": {
|
|
1950
|
+
"typeIdentifier": "t_bytes32",
|
|
1951
|
+
"typeString": "bytes32"
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
"visibility": "internal"
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"constant": false,
|
|
1958
|
+
"id": 907,
|
|
1959
|
+
"mutability": "mutable",
|
|
1960
|
+
"name": "key",
|
|
1961
|
+
"nameLocation": "2089:3:2",
|
|
1962
|
+
"nodeType": "VariableDeclaration",
|
|
1963
|
+
"scope": 916,
|
|
1964
|
+
"src": "2070:22:2",
|
|
1965
|
+
"stateVariable": false,
|
|
1966
|
+
"storageLocation": "calldata",
|
|
1967
|
+
"typeDescriptions": {
|
|
1968
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
1969
|
+
"typeString": "bytes32[]"
|
|
1970
|
+
},
|
|
1971
|
+
"typeName": {
|
|
1972
|
+
"baseType": {
|
|
1973
|
+
"id": 905,
|
|
1974
|
+
"name": "bytes32",
|
|
1975
|
+
"nodeType": "ElementaryTypeName",
|
|
1976
|
+
"src": "2070:7:2",
|
|
1977
|
+
"typeDescriptions": {
|
|
1978
|
+
"typeIdentifier": "t_bytes32",
|
|
1979
|
+
"typeString": "bytes32"
|
|
1980
|
+
}
|
|
1981
|
+
},
|
|
1982
|
+
"id": 906,
|
|
1983
|
+
"nodeType": "ArrayTypeName",
|
|
1984
|
+
"src": "2070:9:2",
|
|
1985
|
+
"typeDescriptions": {
|
|
1986
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1987
|
+
"typeString": "bytes32[]"
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
"visibility": "internal"
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"constant": false,
|
|
1994
|
+
"id": 909,
|
|
1995
|
+
"mutability": "mutable",
|
|
1996
|
+
"name": "schemaIndex",
|
|
1997
|
+
"nameLocation": "2104:11:2",
|
|
1998
|
+
"nodeType": "VariableDeclaration",
|
|
1999
|
+
"scope": 916,
|
|
2000
|
+
"src": "2098:17:2",
|
|
2001
|
+
"stateVariable": false,
|
|
2002
|
+
"storageLocation": "default",
|
|
2003
|
+
"typeDescriptions": {
|
|
2004
|
+
"typeIdentifier": "t_uint8",
|
|
2005
|
+
"typeString": "uint8"
|
|
2006
|
+
},
|
|
2007
|
+
"typeName": {
|
|
2008
|
+
"id": 908,
|
|
2009
|
+
"name": "uint8",
|
|
2010
|
+
"nodeType": "ElementaryTypeName",
|
|
2011
|
+
"src": "2098:5:2",
|
|
2012
|
+
"typeDescriptions": {
|
|
2013
|
+
"typeIdentifier": "t_uint8",
|
|
2014
|
+
"typeString": "uint8"
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
"visibility": "internal"
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"constant": false,
|
|
2021
|
+
"id": 911,
|
|
2022
|
+
"mutability": "mutable",
|
|
2023
|
+
"name": "startByteIndex",
|
|
2024
|
+
"nameLocation": "2129:14:2",
|
|
2025
|
+
"nodeType": "VariableDeclaration",
|
|
2026
|
+
"scope": 916,
|
|
2027
|
+
"src": "2121:22:2",
|
|
2028
|
+
"stateVariable": false,
|
|
2029
|
+
"storageLocation": "default",
|
|
2030
|
+
"typeDescriptions": {
|
|
2031
|
+
"typeIdentifier": "t_uint256",
|
|
2032
|
+
"typeString": "uint256"
|
|
2033
|
+
},
|
|
2034
|
+
"typeName": {
|
|
2035
|
+
"id": 910,
|
|
2036
|
+
"name": "uint256",
|
|
2037
|
+
"nodeType": "ElementaryTypeName",
|
|
2038
|
+
"src": "2121:7:2",
|
|
1893
2039
|
"typeDescriptions": {
|
|
1894
2040
|
"typeIdentifier": "t_uint256",
|
|
1895
2041
|
"typeString": "uint256"
|
|
@@ -1899,13 +2045,13 @@
|
|
|
1899
2045
|
},
|
|
1900
2046
|
{
|
|
1901
2047
|
"constant": false,
|
|
1902
|
-
"id":
|
|
2048
|
+
"id": 913,
|
|
1903
2049
|
"mutability": "mutable",
|
|
1904
2050
|
"name": "dataToSet",
|
|
1905
|
-
"nameLocation": "
|
|
2051
|
+
"nameLocation": "2164:9:2",
|
|
1906
2052
|
"nodeType": "VariableDeclaration",
|
|
1907
|
-
"scope":
|
|
1908
|
-
"src": "
|
|
2053
|
+
"scope": 916,
|
|
2054
|
+
"src": "2149:24:2",
|
|
1909
2055
|
"stateVariable": false,
|
|
1910
2056
|
"storageLocation": "calldata",
|
|
1911
2057
|
"typeDescriptions": {
|
|
@@ -1913,10 +2059,10 @@
|
|
|
1913
2059
|
"typeString": "bytes"
|
|
1914
2060
|
},
|
|
1915
2061
|
"typeName": {
|
|
1916
|
-
"id":
|
|
2062
|
+
"id": 912,
|
|
1917
2063
|
"name": "bytes",
|
|
1918
2064
|
"nodeType": "ElementaryTypeName",
|
|
1919
|
-
"src": "
|
|
2065
|
+
"src": "2149:5:2",
|
|
1920
2066
|
"typeDescriptions": {
|
|
1921
2067
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1922
2068
|
"typeString": "bytes"
|
|
@@ -1925,43 +2071,43 @@
|
|
|
1925
2071
|
"visibility": "internal"
|
|
1926
2072
|
}
|
|
1927
2073
|
],
|
|
1928
|
-
"src": "
|
|
2074
|
+
"src": "2045:132:2"
|
|
1929
2075
|
},
|
|
1930
2076
|
"returnParameters": {
|
|
1931
|
-
"id":
|
|
2077
|
+
"id": 915,
|
|
1932
2078
|
"nodeType": "ParameterList",
|
|
1933
2079
|
"parameters": [],
|
|
1934
|
-
"src": "
|
|
2080
|
+
"src": "2186:0:2"
|
|
1935
2081
|
},
|
|
1936
|
-
"scope":
|
|
2082
|
+
"scope": 925,
|
|
1937
2083
|
"stateMutability": "nonpayable",
|
|
1938
2084
|
"virtual": false,
|
|
1939
2085
|
"visibility": "external"
|
|
1940
2086
|
},
|
|
1941
2087
|
{
|
|
1942
|
-
"id":
|
|
2088
|
+
"id": 924,
|
|
1943
2089
|
"nodeType": "FunctionDefinition",
|
|
1944
|
-
"src": "
|
|
2090
|
+
"src": "2242:68:2",
|
|
1945
2091
|
"nodes": [],
|
|
1946
2092
|
"functionSelector": "505a181d",
|
|
1947
2093
|
"implemented": false,
|
|
1948
2094
|
"kind": "function",
|
|
1949
2095
|
"modifiers": [],
|
|
1950
2096
|
"name": "deleteRecord",
|
|
1951
|
-
"nameLocation": "
|
|
2097
|
+
"nameLocation": "2251:12:2",
|
|
1952
2098
|
"parameters": {
|
|
1953
|
-
"id":
|
|
2099
|
+
"id": 922,
|
|
1954
2100
|
"nodeType": "ParameterList",
|
|
1955
2101
|
"parameters": [
|
|
1956
2102
|
{
|
|
1957
2103
|
"constant": false,
|
|
1958
|
-
"id":
|
|
2104
|
+
"id": 918,
|
|
1959
2105
|
"mutability": "mutable",
|
|
1960
2106
|
"name": "table",
|
|
1961
|
-
"nameLocation": "
|
|
2107
|
+
"nameLocation": "2272:5:2",
|
|
1962
2108
|
"nodeType": "VariableDeclaration",
|
|
1963
|
-
"scope":
|
|
1964
|
-
"src": "
|
|
2109
|
+
"scope": 924,
|
|
2110
|
+
"src": "2264:13:2",
|
|
1965
2111
|
"stateVariable": false,
|
|
1966
2112
|
"storageLocation": "default",
|
|
1967
2113
|
"typeDescriptions": {
|
|
@@ -1969,10 +2115,10 @@
|
|
|
1969
2115
|
"typeString": "bytes32"
|
|
1970
2116
|
},
|
|
1971
2117
|
"typeName": {
|
|
1972
|
-
"id":
|
|
2118
|
+
"id": 917,
|
|
1973
2119
|
"name": "bytes32",
|
|
1974
2120
|
"nodeType": "ElementaryTypeName",
|
|
1975
|
-
"src": "
|
|
2121
|
+
"src": "2264:7:2",
|
|
1976
2122
|
"typeDescriptions": {
|
|
1977
2123
|
"typeIdentifier": "t_bytes32",
|
|
1978
2124
|
"typeString": "bytes32"
|
|
@@ -1982,13 +2128,13 @@
|
|
|
1982
2128
|
},
|
|
1983
2129
|
{
|
|
1984
2130
|
"constant": false,
|
|
1985
|
-
"id":
|
|
2131
|
+
"id": 921,
|
|
1986
2132
|
"mutability": "mutable",
|
|
1987
2133
|
"name": "key",
|
|
1988
|
-
"nameLocation": "
|
|
2134
|
+
"nameLocation": "2296:3:2",
|
|
1989
2135
|
"nodeType": "VariableDeclaration",
|
|
1990
|
-
"scope":
|
|
1991
|
-
"src": "
|
|
2136
|
+
"scope": 924,
|
|
2137
|
+
"src": "2279:20:2",
|
|
1992
2138
|
"stateVariable": false,
|
|
1993
2139
|
"storageLocation": "memory",
|
|
1994
2140
|
"typeDescriptions": {
|
|
@@ -1997,18 +2143,18 @@
|
|
|
1997
2143
|
},
|
|
1998
2144
|
"typeName": {
|
|
1999
2145
|
"baseType": {
|
|
2000
|
-
"id":
|
|
2146
|
+
"id": 919,
|
|
2001
2147
|
"name": "bytes32",
|
|
2002
2148
|
"nodeType": "ElementaryTypeName",
|
|
2003
|
-
"src": "
|
|
2149
|
+
"src": "2279:7:2",
|
|
2004
2150
|
"typeDescriptions": {
|
|
2005
2151
|
"typeIdentifier": "t_bytes32",
|
|
2006
2152
|
"typeString": "bytes32"
|
|
2007
2153
|
}
|
|
2008
2154
|
},
|
|
2009
|
-
"id":
|
|
2155
|
+
"id": 920,
|
|
2010
2156
|
"nodeType": "ArrayTypeName",
|
|
2011
|
-
"src": "
|
|
2157
|
+
"src": "2279:9:2",
|
|
2012
2158
|
"typeDescriptions": {
|
|
2013
2159
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2014
2160
|
"typeString": "bytes32[]"
|
|
@@ -2017,15 +2163,15 @@
|
|
|
2017
2163
|
"visibility": "internal"
|
|
2018
2164
|
}
|
|
2019
2165
|
],
|
|
2020
|
-
"src": "
|
|
2166
|
+
"src": "2263:37:2"
|
|
2021
2167
|
},
|
|
2022
2168
|
"returnParameters": {
|
|
2023
|
-
"id":
|
|
2169
|
+
"id": 923,
|
|
2024
2170
|
"nodeType": "ParameterList",
|
|
2025
2171
|
"parameters": [],
|
|
2026
|
-
"src": "
|
|
2172
|
+
"src": "2309:0:2"
|
|
2027
2173
|
},
|
|
2028
|
-
"scope":
|
|
2174
|
+
"scope": 925,
|
|
2029
2175
|
"stateMutability": "nonpayable",
|
|
2030
2176
|
"virtual": false,
|
|
2031
2177
|
"visibility": "external"
|
|
@@ -2038,94 +2184,94 @@
|
|
|
2038
2184
|
"contractKind": "interface",
|
|
2039
2185
|
"fullyImplemented": false,
|
|
2040
2186
|
"linearizedBaseContracts": [
|
|
2041
|
-
|
|
2187
|
+
925
|
|
2042
2188
|
],
|
|
2043
2189
|
"name": "IStoreWrite",
|
|
2044
2190
|
"nameLocation": "1083:11:2",
|
|
2045
|
-
"scope":
|
|
2191
|
+
"scope": 1011,
|
|
2046
2192
|
"usedErrors": []
|
|
2047
2193
|
},
|
|
2048
2194
|
{
|
|
2049
|
-
"id":
|
|
2195
|
+
"id": 931,
|
|
2050
2196
|
"nodeType": "ContractDefinition",
|
|
2051
|
-
"src": "
|
|
2197
|
+
"src": "2523:52:2",
|
|
2052
2198
|
"nodes": [],
|
|
2053
2199
|
"abstract": false,
|
|
2054
2200
|
"baseContracts": [
|
|
2055
2201
|
{
|
|
2056
2202
|
"baseName": {
|
|
2057
|
-
"id":
|
|
2203
|
+
"id": 927,
|
|
2058
2204
|
"name": "IStoreRead",
|
|
2059
2205
|
"nodeType": "IdentifierPath",
|
|
2060
2206
|
"referencedDeclaration": 829,
|
|
2061
|
-
"src": "
|
|
2207
|
+
"src": "2547:10:2"
|
|
2062
2208
|
},
|
|
2063
|
-
"id":
|
|
2209
|
+
"id": 928,
|
|
2064
2210
|
"nodeType": "InheritanceSpecifier",
|
|
2065
|
-
"src": "
|
|
2211
|
+
"src": "2547:10:2"
|
|
2066
2212
|
},
|
|
2067
2213
|
{
|
|
2068
2214
|
"baseName": {
|
|
2069
|
-
"id":
|
|
2215
|
+
"id": 929,
|
|
2070
2216
|
"name": "IStoreWrite",
|
|
2071
2217
|
"nodeType": "IdentifierPath",
|
|
2072
|
-
"referencedDeclaration":
|
|
2073
|
-
"src": "
|
|
2218
|
+
"referencedDeclaration": 925,
|
|
2219
|
+
"src": "2559:11:2"
|
|
2074
2220
|
},
|
|
2075
|
-
"id":
|
|
2221
|
+
"id": 930,
|
|
2076
2222
|
"nodeType": "InheritanceSpecifier",
|
|
2077
|
-
"src": "
|
|
2223
|
+
"src": "2559:11:2"
|
|
2078
2224
|
}
|
|
2079
2225
|
],
|
|
2080
2226
|
"canonicalName": "IStoreData",
|
|
2081
2227
|
"contractDependencies": [],
|
|
2082
2228
|
"contractKind": "interface",
|
|
2083
2229
|
"documentation": {
|
|
2084
|
-
"id":
|
|
2230
|
+
"id": 926,
|
|
2085
2231
|
"nodeType": "StructuredDocumentation",
|
|
2086
|
-
"src": "
|
|
2232
|
+
"src": "2314:208:2",
|
|
2087
2233
|
"text": " The IStoreData interface includes methods for reading and writing table values.\n These methods are frequently invoked during runtime, so it is essential to prioritize\n optimizing their gas cost"
|
|
2088
2234
|
},
|
|
2089
2235
|
"fullyImplemented": false,
|
|
2090
2236
|
"linearizedBaseContracts": [
|
|
2091
|
-
|
|
2092
|
-
|
|
2237
|
+
931,
|
|
2238
|
+
925,
|
|
2093
2239
|
829
|
|
2094
2240
|
],
|
|
2095
2241
|
"name": "IStoreData",
|
|
2096
|
-
"nameLocation": "
|
|
2097
|
-
"scope":
|
|
2242
|
+
"nameLocation": "2533:10:2",
|
|
2243
|
+
"scope": 1011,
|
|
2098
2244
|
"usedErrors": []
|
|
2099
2245
|
},
|
|
2100
2246
|
{
|
|
2101
|
-
"id":
|
|
2247
|
+
"id": 962,
|
|
2102
2248
|
"nodeType": "ContractDefinition",
|
|
2103
|
-
"src": "
|
|
2249
|
+
"src": "2828:367:2",
|
|
2104
2250
|
"nodes": [
|
|
2105
2251
|
{
|
|
2106
|
-
"id":
|
|
2252
|
+
"id": 943,
|
|
2107
2253
|
"nodeType": "FunctionDefinition",
|
|
2108
|
-
"src": "
|
|
2254
|
+
"src": "2861:81:2",
|
|
2109
2255
|
"nodes": [],
|
|
2110
2256
|
"functionSelector": "d5933686",
|
|
2111
2257
|
"implemented": false,
|
|
2112
2258
|
"kind": "function",
|
|
2113
2259
|
"modifiers": [],
|
|
2114
2260
|
"name": "registerSchema",
|
|
2115
|
-
"nameLocation": "
|
|
2261
|
+
"nameLocation": "2870:14:2",
|
|
2116
2262
|
"parameters": {
|
|
2117
|
-
"id":
|
|
2263
|
+
"id": 941,
|
|
2118
2264
|
"nodeType": "ParameterList",
|
|
2119
2265
|
"parameters": [
|
|
2120
2266
|
{
|
|
2121
2267
|
"constant": false,
|
|
2122
|
-
"id":
|
|
2268
|
+
"id": 934,
|
|
2123
2269
|
"mutability": "mutable",
|
|
2124
2270
|
"name": "table",
|
|
2125
|
-
"nameLocation": "
|
|
2271
|
+
"nameLocation": "2893:5:2",
|
|
2126
2272
|
"nodeType": "VariableDeclaration",
|
|
2127
|
-
"scope":
|
|
2128
|
-
"src": "
|
|
2273
|
+
"scope": 943,
|
|
2274
|
+
"src": "2885:13:2",
|
|
2129
2275
|
"stateVariable": false,
|
|
2130
2276
|
"storageLocation": "default",
|
|
2131
2277
|
"typeDescriptions": {
|
|
@@ -2133,10 +2279,10 @@
|
|
|
2133
2279
|
"typeString": "bytes32"
|
|
2134
2280
|
},
|
|
2135
2281
|
"typeName": {
|
|
2136
|
-
"id":
|
|
2282
|
+
"id": 933,
|
|
2137
2283
|
"name": "bytes32",
|
|
2138
2284
|
"nodeType": "ElementaryTypeName",
|
|
2139
|
-
"src": "
|
|
2285
|
+
"src": "2885:7:2",
|
|
2140
2286
|
"typeDescriptions": {
|
|
2141
2287
|
"typeIdentifier": "t_bytes32",
|
|
2142
2288
|
"typeString": "bytes32"
|
|
@@ -2146,33 +2292,33 @@
|
|
|
2146
2292
|
},
|
|
2147
2293
|
{
|
|
2148
2294
|
"constant": false,
|
|
2149
|
-
"id":
|
|
2295
|
+
"id": 937,
|
|
2150
2296
|
"mutability": "mutable",
|
|
2151
2297
|
"name": "schema",
|
|
2152
|
-
"nameLocation": "
|
|
2298
|
+
"nameLocation": "2907:6:2",
|
|
2153
2299
|
"nodeType": "VariableDeclaration",
|
|
2154
|
-
"scope":
|
|
2155
|
-
"src": "
|
|
2300
|
+
"scope": 943,
|
|
2301
|
+
"src": "2900:13:2",
|
|
2156
2302
|
"stateVariable": false,
|
|
2157
2303
|
"storageLocation": "default",
|
|
2158
2304
|
"typeDescriptions": {
|
|
2159
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2305
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2160
2306
|
"typeString": "Schema"
|
|
2161
2307
|
},
|
|
2162
2308
|
"typeName": {
|
|
2163
|
-
"id":
|
|
2309
|
+
"id": 936,
|
|
2164
2310
|
"nodeType": "UserDefinedTypeName",
|
|
2165
2311
|
"pathNode": {
|
|
2166
|
-
"id":
|
|
2312
|
+
"id": 935,
|
|
2167
2313
|
"name": "Schema",
|
|
2168
2314
|
"nodeType": "IdentifierPath",
|
|
2169
|
-
"referencedDeclaration":
|
|
2170
|
-
"src": "
|
|
2315
|
+
"referencedDeclaration": 1517,
|
|
2316
|
+
"src": "2900:6:2"
|
|
2171
2317
|
},
|
|
2172
|
-
"referencedDeclaration":
|
|
2173
|
-
"src": "
|
|
2318
|
+
"referencedDeclaration": 1517,
|
|
2319
|
+
"src": "2900:6:2",
|
|
2174
2320
|
"typeDescriptions": {
|
|
2175
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2321
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2176
2322
|
"typeString": "Schema"
|
|
2177
2323
|
}
|
|
2178
2324
|
},
|
|
@@ -2180,76 +2326,76 @@
|
|
|
2180
2326
|
},
|
|
2181
2327
|
{
|
|
2182
2328
|
"constant": false,
|
|
2183
|
-
"id":
|
|
2329
|
+
"id": 940,
|
|
2184
2330
|
"mutability": "mutable",
|
|
2185
2331
|
"name": "keySchema",
|
|
2186
|
-
"nameLocation": "
|
|
2332
|
+
"nameLocation": "2922:9:2",
|
|
2187
2333
|
"nodeType": "VariableDeclaration",
|
|
2188
|
-
"scope":
|
|
2189
|
-
"src": "
|
|
2334
|
+
"scope": 943,
|
|
2335
|
+
"src": "2915:16:2",
|
|
2190
2336
|
"stateVariable": false,
|
|
2191
2337
|
"storageLocation": "default",
|
|
2192
2338
|
"typeDescriptions": {
|
|
2193
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2339
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2194
2340
|
"typeString": "Schema"
|
|
2195
2341
|
},
|
|
2196
2342
|
"typeName": {
|
|
2197
|
-
"id":
|
|
2343
|
+
"id": 939,
|
|
2198
2344
|
"nodeType": "UserDefinedTypeName",
|
|
2199
2345
|
"pathNode": {
|
|
2200
|
-
"id":
|
|
2346
|
+
"id": 938,
|
|
2201
2347
|
"name": "Schema",
|
|
2202
2348
|
"nodeType": "IdentifierPath",
|
|
2203
|
-
"referencedDeclaration":
|
|
2204
|
-
"src": "
|
|
2349
|
+
"referencedDeclaration": 1517,
|
|
2350
|
+
"src": "2915:6:2"
|
|
2205
2351
|
},
|
|
2206
|
-
"referencedDeclaration":
|
|
2207
|
-
"src": "
|
|
2352
|
+
"referencedDeclaration": 1517,
|
|
2353
|
+
"src": "2915:6:2",
|
|
2208
2354
|
"typeDescriptions": {
|
|
2209
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2355
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2210
2356
|
"typeString": "Schema"
|
|
2211
2357
|
}
|
|
2212
2358
|
},
|
|
2213
2359
|
"visibility": "internal"
|
|
2214
2360
|
}
|
|
2215
2361
|
],
|
|
2216
|
-
"src": "
|
|
2362
|
+
"src": "2884:48:2"
|
|
2217
2363
|
},
|
|
2218
2364
|
"returnParameters": {
|
|
2219
|
-
"id":
|
|
2365
|
+
"id": 942,
|
|
2220
2366
|
"nodeType": "ParameterList",
|
|
2221
2367
|
"parameters": [],
|
|
2222
|
-
"src": "
|
|
2368
|
+
"src": "2941:0:2"
|
|
2223
2369
|
},
|
|
2224
|
-
"scope":
|
|
2370
|
+
"scope": 962,
|
|
2225
2371
|
"stateMutability": "nonpayable",
|
|
2226
2372
|
"virtual": false,
|
|
2227
2373
|
"visibility": "external"
|
|
2228
2374
|
},
|
|
2229
2375
|
{
|
|
2230
|
-
"id":
|
|
2376
|
+
"id": 953,
|
|
2231
2377
|
"nodeType": "FunctionDefinition",
|
|
2232
|
-
"src": "
|
|
2378
|
+
"src": "2946:102:2",
|
|
2233
2379
|
"nodes": [],
|
|
2234
2380
|
"functionSelector": "fe86a89f",
|
|
2235
2381
|
"implemented": false,
|
|
2236
2382
|
"kind": "function",
|
|
2237
2383
|
"modifiers": [],
|
|
2238
2384
|
"name": "setMetadata",
|
|
2239
|
-
"nameLocation": "
|
|
2385
|
+
"nameLocation": "2955:11:2",
|
|
2240
2386
|
"parameters": {
|
|
2241
|
-
"id":
|
|
2387
|
+
"id": 951,
|
|
2242
2388
|
"nodeType": "ParameterList",
|
|
2243
2389
|
"parameters": [
|
|
2244
2390
|
{
|
|
2245
2391
|
"constant": false,
|
|
2246
|
-
"id":
|
|
2392
|
+
"id": 945,
|
|
2247
2393
|
"mutability": "mutable",
|
|
2248
2394
|
"name": "table",
|
|
2249
|
-
"nameLocation": "
|
|
2395
|
+
"nameLocation": "2975:5:2",
|
|
2250
2396
|
"nodeType": "VariableDeclaration",
|
|
2251
|
-
"scope":
|
|
2252
|
-
"src": "
|
|
2397
|
+
"scope": 953,
|
|
2398
|
+
"src": "2967:13:2",
|
|
2253
2399
|
"stateVariable": false,
|
|
2254
2400
|
"storageLocation": "default",
|
|
2255
2401
|
"typeDescriptions": {
|
|
@@ -2257,10 +2403,10 @@
|
|
|
2257
2403
|
"typeString": "bytes32"
|
|
2258
2404
|
},
|
|
2259
2405
|
"typeName": {
|
|
2260
|
-
"id":
|
|
2406
|
+
"id": 944,
|
|
2261
2407
|
"name": "bytes32",
|
|
2262
2408
|
"nodeType": "ElementaryTypeName",
|
|
2263
|
-
"src": "
|
|
2409
|
+
"src": "2967:7:2",
|
|
2264
2410
|
"typeDescriptions": {
|
|
2265
2411
|
"typeIdentifier": "t_bytes32",
|
|
2266
2412
|
"typeString": "bytes32"
|
|
@@ -2270,13 +2416,13 @@
|
|
|
2270
2416
|
},
|
|
2271
2417
|
{
|
|
2272
2418
|
"constant": false,
|
|
2273
|
-
"id":
|
|
2419
|
+
"id": 947,
|
|
2274
2420
|
"mutability": "mutable",
|
|
2275
2421
|
"name": "tableName",
|
|
2276
|
-
"nameLocation": "
|
|
2422
|
+
"nameLocation": "2998:9:2",
|
|
2277
2423
|
"nodeType": "VariableDeclaration",
|
|
2278
|
-
"scope":
|
|
2279
|
-
"src": "
|
|
2424
|
+
"scope": 953,
|
|
2425
|
+
"src": "2982:25:2",
|
|
2280
2426
|
"stateVariable": false,
|
|
2281
2427
|
"storageLocation": "calldata",
|
|
2282
2428
|
"typeDescriptions": {
|
|
@@ -2284,10 +2430,10 @@
|
|
|
2284
2430
|
"typeString": "string"
|
|
2285
2431
|
},
|
|
2286
2432
|
"typeName": {
|
|
2287
|
-
"id":
|
|
2433
|
+
"id": 946,
|
|
2288
2434
|
"name": "string",
|
|
2289
2435
|
"nodeType": "ElementaryTypeName",
|
|
2290
|
-
"src": "
|
|
2436
|
+
"src": "2982:6:2",
|
|
2291
2437
|
"typeDescriptions": {
|
|
2292
2438
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2293
2439
|
"typeString": "string"
|
|
@@ -2297,13 +2443,13 @@
|
|
|
2297
2443
|
},
|
|
2298
2444
|
{
|
|
2299
2445
|
"constant": false,
|
|
2300
|
-
"id":
|
|
2446
|
+
"id": 950,
|
|
2301
2447
|
"mutability": "mutable",
|
|
2302
2448
|
"name": "fieldNames",
|
|
2303
|
-
"nameLocation": "
|
|
2449
|
+
"nameLocation": "3027:10:2",
|
|
2304
2450
|
"nodeType": "VariableDeclaration",
|
|
2305
|
-
"scope":
|
|
2306
|
-
"src": "
|
|
2451
|
+
"scope": 953,
|
|
2452
|
+
"src": "3009:28:2",
|
|
2307
2453
|
"stateVariable": false,
|
|
2308
2454
|
"storageLocation": "calldata",
|
|
2309
2455
|
"typeDescriptions": {
|
|
@@ -2312,18 +2458,18 @@
|
|
|
2312
2458
|
},
|
|
2313
2459
|
"typeName": {
|
|
2314
2460
|
"baseType": {
|
|
2315
|
-
"id":
|
|
2461
|
+
"id": 948,
|
|
2316
2462
|
"name": "string",
|
|
2317
2463
|
"nodeType": "ElementaryTypeName",
|
|
2318
|
-
"src": "
|
|
2464
|
+
"src": "3009:6:2",
|
|
2319
2465
|
"typeDescriptions": {
|
|
2320
2466
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2321
2467
|
"typeString": "string"
|
|
2322
2468
|
}
|
|
2323
2469
|
},
|
|
2324
|
-
"id":
|
|
2470
|
+
"id": 949,
|
|
2325
2471
|
"nodeType": "ArrayTypeName",
|
|
2326
|
-
"src": "
|
|
2472
|
+
"src": "3009:8:2",
|
|
2327
2473
|
"typeDescriptions": {
|
|
2328
2474
|
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
2329
2475
|
"typeString": "string[]"
|
|
@@ -2332,43 +2478,43 @@
|
|
|
2332
2478
|
"visibility": "internal"
|
|
2333
2479
|
}
|
|
2334
2480
|
],
|
|
2335
|
-
"src": "
|
|
2481
|
+
"src": "2966:72:2"
|
|
2336
2482
|
},
|
|
2337
2483
|
"returnParameters": {
|
|
2338
|
-
"id":
|
|
2484
|
+
"id": 952,
|
|
2339
2485
|
"nodeType": "ParameterList",
|
|
2340
2486
|
"parameters": [],
|
|
2341
|
-
"src": "
|
|
2487
|
+
"src": "3047:0:2"
|
|
2342
2488
|
},
|
|
2343
|
-
"scope":
|
|
2489
|
+
"scope": 962,
|
|
2344
2490
|
"stateMutability": "nonpayable",
|
|
2345
2491
|
"virtual": false,
|
|
2346
2492
|
"visibility": "external"
|
|
2347
2493
|
},
|
|
2348
2494
|
{
|
|
2349
|
-
"id":
|
|
2495
|
+
"id": 961,
|
|
2350
2496
|
"nodeType": "FunctionDefinition",
|
|
2351
|
-
"src": "
|
|
2497
|
+
"src": "3125:68:2",
|
|
2352
2498
|
"nodes": [],
|
|
2353
2499
|
"functionSelector": "6e81fd71",
|
|
2354
2500
|
"implemented": false,
|
|
2355
2501
|
"kind": "function",
|
|
2356
2502
|
"modifiers": [],
|
|
2357
2503
|
"name": "registerStoreHook",
|
|
2358
|
-
"nameLocation": "
|
|
2504
|
+
"nameLocation": "3134:17:2",
|
|
2359
2505
|
"parameters": {
|
|
2360
|
-
"id":
|
|
2506
|
+
"id": 959,
|
|
2361
2507
|
"nodeType": "ParameterList",
|
|
2362
2508
|
"parameters": [
|
|
2363
2509
|
{
|
|
2364
2510
|
"constant": false,
|
|
2365
|
-
"id":
|
|
2511
|
+
"id": 955,
|
|
2366
2512
|
"mutability": "mutable",
|
|
2367
2513
|
"name": "table",
|
|
2368
|
-
"nameLocation": "
|
|
2514
|
+
"nameLocation": "3160:5:2",
|
|
2369
2515
|
"nodeType": "VariableDeclaration",
|
|
2370
|
-
"scope":
|
|
2371
|
-
"src": "
|
|
2516
|
+
"scope": 961,
|
|
2517
|
+
"src": "3152:13:2",
|
|
2372
2518
|
"stateVariable": false,
|
|
2373
2519
|
"storageLocation": "default",
|
|
2374
2520
|
"typeDescriptions": {
|
|
@@ -2376,10 +2522,10 @@
|
|
|
2376
2522
|
"typeString": "bytes32"
|
|
2377
2523
|
},
|
|
2378
2524
|
"typeName": {
|
|
2379
|
-
"id":
|
|
2525
|
+
"id": 954,
|
|
2380
2526
|
"name": "bytes32",
|
|
2381
2527
|
"nodeType": "ElementaryTypeName",
|
|
2382
|
-
"src": "
|
|
2528
|
+
"src": "3152:7:2",
|
|
2383
2529
|
"typeDescriptions": {
|
|
2384
2530
|
"typeIdentifier": "t_bytes32",
|
|
2385
2531
|
"typeString": "bytes32"
|
|
@@ -2389,48 +2535,48 @@
|
|
|
2389
2535
|
},
|
|
2390
2536
|
{
|
|
2391
2537
|
"constant": false,
|
|
2392
|
-
"id":
|
|
2538
|
+
"id": 958,
|
|
2393
2539
|
"mutability": "mutable",
|
|
2394
2540
|
"name": "hook",
|
|
2395
|
-
"nameLocation": "
|
|
2541
|
+
"nameLocation": "3178:4:2",
|
|
2396
2542
|
"nodeType": "VariableDeclaration",
|
|
2397
|
-
"scope":
|
|
2398
|
-
"src": "
|
|
2543
|
+
"scope": 961,
|
|
2544
|
+
"src": "3167:15:2",
|
|
2399
2545
|
"stateVariable": false,
|
|
2400
2546
|
"storageLocation": "default",
|
|
2401
2547
|
"typeDescriptions": {
|
|
2402
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
2548
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2403
2549
|
"typeString": "contract IStoreHook"
|
|
2404
2550
|
},
|
|
2405
2551
|
"typeName": {
|
|
2406
|
-
"id":
|
|
2552
|
+
"id": 957,
|
|
2407
2553
|
"nodeType": "UserDefinedTypeName",
|
|
2408
2554
|
"pathNode": {
|
|
2409
|
-
"id":
|
|
2555
|
+
"id": 956,
|
|
2410
2556
|
"name": "IStoreHook",
|
|
2411
2557
|
"nodeType": "IdentifierPath",
|
|
2412
|
-
"referencedDeclaration":
|
|
2413
|
-
"src": "
|
|
2558
|
+
"referencedDeclaration": 1010,
|
|
2559
|
+
"src": "3167:10:2"
|
|
2414
2560
|
},
|
|
2415
|
-
"referencedDeclaration":
|
|
2416
|
-
"src": "
|
|
2561
|
+
"referencedDeclaration": 1010,
|
|
2562
|
+
"src": "3167:10:2",
|
|
2417
2563
|
"typeDescriptions": {
|
|
2418
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
2564
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2419
2565
|
"typeString": "contract IStoreHook"
|
|
2420
2566
|
}
|
|
2421
2567
|
},
|
|
2422
2568
|
"visibility": "internal"
|
|
2423
2569
|
}
|
|
2424
2570
|
],
|
|
2425
|
-
"src": "
|
|
2571
|
+
"src": "3151:32:2"
|
|
2426
2572
|
},
|
|
2427
2573
|
"returnParameters": {
|
|
2428
|
-
"id":
|
|
2574
|
+
"id": 960,
|
|
2429
2575
|
"nodeType": "ParameterList",
|
|
2430
2576
|
"parameters": [],
|
|
2431
|
-
"src": "
|
|
2577
|
+
"src": "3192:0:2"
|
|
2432
2578
|
},
|
|
2433
|
-
"scope":
|
|
2579
|
+
"scope": 962,
|
|
2434
2580
|
"stateMutability": "nonpayable",
|
|
2435
2581
|
"virtual": false,
|
|
2436
2582
|
"visibility": "external"
|
|
@@ -2442,50 +2588,50 @@
|
|
|
2442
2588
|
"contractDependencies": [],
|
|
2443
2589
|
"contractKind": "interface",
|
|
2444
2590
|
"documentation": {
|
|
2445
|
-
"id":
|
|
2591
|
+
"id": 932,
|
|
2446
2592
|
"nodeType": "StructuredDocumentation",
|
|
2447
|
-
"src": "
|
|
2593
|
+
"src": "2577:250:2",
|
|
2448
2594
|
"text": " The IStoreRegistration interface includes methods for managing table schemas,\n metadata, and hooks, which are usually called once in the setup phase of an application,\n making them less performance critical than the IStoreData methods."
|
|
2449
2595
|
},
|
|
2450
2596
|
"fullyImplemented": false,
|
|
2451
2597
|
"linearizedBaseContracts": [
|
|
2452
|
-
|
|
2598
|
+
962
|
|
2453
2599
|
],
|
|
2454
2600
|
"name": "IStoreRegistration",
|
|
2455
|
-
"nameLocation": "
|
|
2456
|
-
"scope":
|
|
2601
|
+
"nameLocation": "2838:18:2",
|
|
2602
|
+
"scope": 1011,
|
|
2457
2603
|
"usedErrors": []
|
|
2458
2604
|
},
|
|
2459
2605
|
{
|
|
2460
|
-
"id":
|
|
2606
|
+
"id": 967,
|
|
2461
2607
|
"nodeType": "ContractDefinition",
|
|
2462
|
-
"src": "
|
|
2608
|
+
"src": "3197:53:2",
|
|
2463
2609
|
"nodes": [],
|
|
2464
2610
|
"abstract": false,
|
|
2465
2611
|
"baseContracts": [
|
|
2466
2612
|
{
|
|
2467
2613
|
"baseName": {
|
|
2468
|
-
"id":
|
|
2614
|
+
"id": 963,
|
|
2469
2615
|
"name": "IStoreData",
|
|
2470
2616
|
"nodeType": "IdentifierPath",
|
|
2471
|
-
"referencedDeclaration":
|
|
2472
|
-
"src": "
|
|
2617
|
+
"referencedDeclaration": 931,
|
|
2618
|
+
"src": "3217:10:2"
|
|
2473
2619
|
},
|
|
2474
|
-
"id":
|
|
2620
|
+
"id": 964,
|
|
2475
2621
|
"nodeType": "InheritanceSpecifier",
|
|
2476
|
-
"src": "
|
|
2622
|
+
"src": "3217:10:2"
|
|
2477
2623
|
},
|
|
2478
2624
|
{
|
|
2479
2625
|
"baseName": {
|
|
2480
|
-
"id":
|
|
2626
|
+
"id": 965,
|
|
2481
2627
|
"name": "IStoreRegistration",
|
|
2482
2628
|
"nodeType": "IdentifierPath",
|
|
2483
|
-
"referencedDeclaration":
|
|
2484
|
-
"src": "
|
|
2629
|
+
"referencedDeclaration": 962,
|
|
2630
|
+
"src": "3229:18:2"
|
|
2485
2631
|
},
|
|
2486
|
-
"id":
|
|
2632
|
+
"id": 966,
|
|
2487
2633
|
"nodeType": "InheritanceSpecifier",
|
|
2488
|
-
"src": "
|
|
2634
|
+
"src": "3229:18:2"
|
|
2489
2635
|
}
|
|
2490
2636
|
],
|
|
2491
2637
|
"canonicalName": "IStore",
|
|
@@ -2493,46 +2639,46 @@
|
|
|
2493
2639
|
"contractKind": "interface",
|
|
2494
2640
|
"fullyImplemented": false,
|
|
2495
2641
|
"linearizedBaseContracts": [
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2642
|
+
967,
|
|
2643
|
+
962,
|
|
2644
|
+
931,
|
|
2645
|
+
925,
|
|
2500
2646
|
829
|
|
2501
2647
|
],
|
|
2502
2648
|
"name": "IStore",
|
|
2503
|
-
"nameLocation": "
|
|
2504
|
-
"scope":
|
|
2649
|
+
"nameLocation": "3207:6:2",
|
|
2650
|
+
"scope": 1011,
|
|
2505
2651
|
"usedErrors": []
|
|
2506
2652
|
},
|
|
2507
2653
|
{
|
|
2508
|
-
"id":
|
|
2654
|
+
"id": 1010,
|
|
2509
2655
|
"nodeType": "ContractDefinition",
|
|
2510
|
-
"src": "
|
|
2656
|
+
"src": "3252:494:2",
|
|
2511
2657
|
"nodes": [
|
|
2512
2658
|
{
|
|
2513
|
-
"id":
|
|
2659
|
+
"id": 977,
|
|
2514
2660
|
"nodeType": "FunctionDefinition",
|
|
2515
|
-
"src": "
|
|
2661
|
+
"src": "3277:86:2",
|
|
2516
2662
|
"nodes": [],
|
|
2517
2663
|
"functionSelector": "82b6745f",
|
|
2518
2664
|
"implemented": false,
|
|
2519
2665
|
"kind": "function",
|
|
2520
2666
|
"modifiers": [],
|
|
2521
2667
|
"name": "onSetRecord",
|
|
2522
|
-
"nameLocation": "
|
|
2668
|
+
"nameLocation": "3286:11:2",
|
|
2523
2669
|
"parameters": {
|
|
2524
|
-
"id":
|
|
2670
|
+
"id": 975,
|
|
2525
2671
|
"nodeType": "ParameterList",
|
|
2526
2672
|
"parameters": [
|
|
2527
2673
|
{
|
|
2528
2674
|
"constant": false,
|
|
2529
|
-
"id":
|
|
2675
|
+
"id": 969,
|
|
2530
2676
|
"mutability": "mutable",
|
|
2531
2677
|
"name": "table",
|
|
2532
|
-
"nameLocation": "
|
|
2678
|
+
"nameLocation": "3306:5:2",
|
|
2533
2679
|
"nodeType": "VariableDeclaration",
|
|
2534
|
-
"scope":
|
|
2535
|
-
"src": "
|
|
2680
|
+
"scope": 977,
|
|
2681
|
+
"src": "3298:13:2",
|
|
2536
2682
|
"stateVariable": false,
|
|
2537
2683
|
"storageLocation": "default",
|
|
2538
2684
|
"typeDescriptions": {
|
|
@@ -2540,10 +2686,10 @@
|
|
|
2540
2686
|
"typeString": "bytes32"
|
|
2541
2687
|
},
|
|
2542
2688
|
"typeName": {
|
|
2543
|
-
"id":
|
|
2689
|
+
"id": 968,
|
|
2544
2690
|
"name": "bytes32",
|
|
2545
2691
|
"nodeType": "ElementaryTypeName",
|
|
2546
|
-
"src": "
|
|
2692
|
+
"src": "3298:7:2",
|
|
2547
2693
|
"typeDescriptions": {
|
|
2548
2694
|
"typeIdentifier": "t_bytes32",
|
|
2549
2695
|
"typeString": "bytes32"
|
|
@@ -2553,13 +2699,13 @@
|
|
|
2553
2699
|
},
|
|
2554
2700
|
{
|
|
2555
2701
|
"constant": false,
|
|
2556
|
-
"id":
|
|
2702
|
+
"id": 972,
|
|
2557
2703
|
"mutability": "mutable",
|
|
2558
2704
|
"name": "key",
|
|
2559
|
-
"nameLocation": "
|
|
2705
|
+
"nameLocation": "3330:3:2",
|
|
2560
2706
|
"nodeType": "VariableDeclaration",
|
|
2561
|
-
"scope":
|
|
2562
|
-
"src": "
|
|
2707
|
+
"scope": 977,
|
|
2708
|
+
"src": "3313:20:2",
|
|
2563
2709
|
"stateVariable": false,
|
|
2564
2710
|
"storageLocation": "memory",
|
|
2565
2711
|
"typeDescriptions": {
|
|
@@ -2568,18 +2714,18 @@
|
|
|
2568
2714
|
},
|
|
2569
2715
|
"typeName": {
|
|
2570
2716
|
"baseType": {
|
|
2571
|
-
"id":
|
|
2717
|
+
"id": 970,
|
|
2572
2718
|
"name": "bytes32",
|
|
2573
2719
|
"nodeType": "ElementaryTypeName",
|
|
2574
|
-
"src": "
|
|
2720
|
+
"src": "3313:7:2",
|
|
2575
2721
|
"typeDescriptions": {
|
|
2576
2722
|
"typeIdentifier": "t_bytes32",
|
|
2577
2723
|
"typeString": "bytes32"
|
|
2578
2724
|
}
|
|
2579
2725
|
},
|
|
2580
|
-
"id":
|
|
2726
|
+
"id": 971,
|
|
2581
2727
|
"nodeType": "ArrayTypeName",
|
|
2582
|
-
"src": "
|
|
2728
|
+
"src": "3313:9:2",
|
|
2583
2729
|
"typeDescriptions": {
|
|
2584
2730
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2585
2731
|
"typeString": "bytes32[]"
|
|
@@ -2589,13 +2735,13 @@
|
|
|
2589
2735
|
},
|
|
2590
2736
|
{
|
|
2591
2737
|
"constant": false,
|
|
2592
|
-
"id":
|
|
2738
|
+
"id": 974,
|
|
2593
2739
|
"mutability": "mutable",
|
|
2594
2740
|
"name": "data",
|
|
2595
|
-
"nameLocation": "
|
|
2741
|
+
"nameLocation": "3348:4:2",
|
|
2596
2742
|
"nodeType": "VariableDeclaration",
|
|
2597
|
-
"scope":
|
|
2598
|
-
"src": "
|
|
2743
|
+
"scope": 977,
|
|
2744
|
+
"src": "3335:17:2",
|
|
2599
2745
|
"stateVariable": false,
|
|
2600
2746
|
"storageLocation": "memory",
|
|
2601
2747
|
"typeDescriptions": {
|
|
@@ -2603,10 +2749,10 @@
|
|
|
2603
2749
|
"typeString": "bytes"
|
|
2604
2750
|
},
|
|
2605
2751
|
"typeName": {
|
|
2606
|
-
"id":
|
|
2752
|
+
"id": 973,
|
|
2607
2753
|
"name": "bytes",
|
|
2608
2754
|
"nodeType": "ElementaryTypeName",
|
|
2609
|
-
"src": "
|
|
2755
|
+
"src": "3335:5:2",
|
|
2610
2756
|
"typeDescriptions": {
|
|
2611
2757
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2612
2758
|
"typeString": "bytes"
|
|
@@ -2615,43 +2761,43 @@
|
|
|
2615
2761
|
"visibility": "internal"
|
|
2616
2762
|
}
|
|
2617
2763
|
],
|
|
2618
|
-
"src": "
|
|
2764
|
+
"src": "3297:56:2"
|
|
2619
2765
|
},
|
|
2620
2766
|
"returnParameters": {
|
|
2621
|
-
"id":
|
|
2767
|
+
"id": 976,
|
|
2622
2768
|
"nodeType": "ParameterList",
|
|
2623
2769
|
"parameters": [],
|
|
2624
|
-
"src": "
|
|
2770
|
+
"src": "3362:0:2"
|
|
2625
2771
|
},
|
|
2626
|
-
"scope":
|
|
2772
|
+
"scope": 1010,
|
|
2627
2773
|
"stateMutability": "nonpayable",
|
|
2628
2774
|
"virtual": false,
|
|
2629
2775
|
"visibility": "external"
|
|
2630
2776
|
},
|
|
2631
2777
|
{
|
|
2632
|
-
"id":
|
|
2778
|
+
"id": 989,
|
|
2633
2779
|
"nodeType": "FunctionDefinition",
|
|
2634
|
-
"src": "
|
|
2780
|
+
"src": "3447:110:2",
|
|
2635
2781
|
"nodes": [],
|
|
2636
2782
|
"functionSelector": "469b7ee2",
|
|
2637
2783
|
"implemented": false,
|
|
2638
2784
|
"kind": "function",
|
|
2639
2785
|
"modifiers": [],
|
|
2640
2786
|
"name": "onBeforeSetField",
|
|
2641
|
-
"nameLocation": "
|
|
2787
|
+
"nameLocation": "3456:16:2",
|
|
2642
2788
|
"parameters": {
|
|
2643
|
-
"id":
|
|
2789
|
+
"id": 987,
|
|
2644
2790
|
"nodeType": "ParameterList",
|
|
2645
2791
|
"parameters": [
|
|
2646
2792
|
{
|
|
2647
2793
|
"constant": false,
|
|
2648
|
-
"id":
|
|
2794
|
+
"id": 979,
|
|
2649
2795
|
"mutability": "mutable",
|
|
2650
2796
|
"name": "table",
|
|
2651
|
-
"nameLocation": "
|
|
2797
|
+
"nameLocation": "3481:5:2",
|
|
2652
2798
|
"nodeType": "VariableDeclaration",
|
|
2653
|
-
"scope":
|
|
2654
|
-
"src": "
|
|
2799
|
+
"scope": 989,
|
|
2800
|
+
"src": "3473:13:2",
|
|
2655
2801
|
"stateVariable": false,
|
|
2656
2802
|
"storageLocation": "default",
|
|
2657
2803
|
"typeDescriptions": {
|
|
@@ -2659,10 +2805,10 @@
|
|
|
2659
2805
|
"typeString": "bytes32"
|
|
2660
2806
|
},
|
|
2661
2807
|
"typeName": {
|
|
2662
|
-
"id":
|
|
2808
|
+
"id": 978,
|
|
2663
2809
|
"name": "bytes32",
|
|
2664
2810
|
"nodeType": "ElementaryTypeName",
|
|
2665
|
-
"src": "
|
|
2811
|
+
"src": "3473:7:2",
|
|
2666
2812
|
"typeDescriptions": {
|
|
2667
2813
|
"typeIdentifier": "t_bytes32",
|
|
2668
2814
|
"typeString": "bytes32"
|
|
@@ -2672,13 +2818,13 @@
|
|
|
2672
2818
|
},
|
|
2673
2819
|
{
|
|
2674
2820
|
"constant": false,
|
|
2675
|
-
"id":
|
|
2821
|
+
"id": 982,
|
|
2676
2822
|
"mutability": "mutable",
|
|
2677
2823
|
"name": "key",
|
|
2678
|
-
"nameLocation": "
|
|
2824
|
+
"nameLocation": "3505:3:2",
|
|
2679
2825
|
"nodeType": "VariableDeclaration",
|
|
2680
|
-
"scope":
|
|
2681
|
-
"src": "
|
|
2826
|
+
"scope": 989,
|
|
2827
|
+
"src": "3488:20:2",
|
|
2682
2828
|
"stateVariable": false,
|
|
2683
2829
|
"storageLocation": "memory",
|
|
2684
2830
|
"typeDescriptions": {
|
|
@@ -2687,18 +2833,18 @@
|
|
|
2687
2833
|
},
|
|
2688
2834
|
"typeName": {
|
|
2689
2835
|
"baseType": {
|
|
2690
|
-
"id":
|
|
2836
|
+
"id": 980,
|
|
2691
2837
|
"name": "bytes32",
|
|
2692
2838
|
"nodeType": "ElementaryTypeName",
|
|
2693
|
-
"src": "
|
|
2839
|
+
"src": "3488:7:2",
|
|
2694
2840
|
"typeDescriptions": {
|
|
2695
2841
|
"typeIdentifier": "t_bytes32",
|
|
2696
2842
|
"typeString": "bytes32"
|
|
2697
2843
|
}
|
|
2698
2844
|
},
|
|
2699
|
-
"id":
|
|
2845
|
+
"id": 981,
|
|
2700
2846
|
"nodeType": "ArrayTypeName",
|
|
2701
|
-
"src": "
|
|
2847
|
+
"src": "3488:9:2",
|
|
2702
2848
|
"typeDescriptions": {
|
|
2703
2849
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2704
2850
|
"typeString": "bytes32[]"
|
|
@@ -2708,13 +2854,13 @@
|
|
|
2708
2854
|
},
|
|
2709
2855
|
{
|
|
2710
2856
|
"constant": false,
|
|
2711
|
-
"id":
|
|
2857
|
+
"id": 984,
|
|
2712
2858
|
"mutability": "mutable",
|
|
2713
2859
|
"name": "schemaIndex",
|
|
2714
|
-
"nameLocation": "
|
|
2860
|
+
"nameLocation": "3516:11:2",
|
|
2715
2861
|
"nodeType": "VariableDeclaration",
|
|
2716
|
-
"scope":
|
|
2717
|
-
"src": "
|
|
2862
|
+
"scope": 989,
|
|
2863
|
+
"src": "3510:17:2",
|
|
2718
2864
|
"stateVariable": false,
|
|
2719
2865
|
"storageLocation": "default",
|
|
2720
2866
|
"typeDescriptions": {
|
|
@@ -2722,10 +2868,10 @@
|
|
|
2722
2868
|
"typeString": "uint8"
|
|
2723
2869
|
},
|
|
2724
2870
|
"typeName": {
|
|
2725
|
-
"id":
|
|
2871
|
+
"id": 983,
|
|
2726
2872
|
"name": "uint8",
|
|
2727
2873
|
"nodeType": "ElementaryTypeName",
|
|
2728
|
-
"src": "
|
|
2874
|
+
"src": "3510:5:2",
|
|
2729
2875
|
"typeDescriptions": {
|
|
2730
2876
|
"typeIdentifier": "t_uint8",
|
|
2731
2877
|
"typeString": "uint8"
|
|
@@ -2735,13 +2881,13 @@
|
|
|
2735
2881
|
},
|
|
2736
2882
|
{
|
|
2737
2883
|
"constant": false,
|
|
2738
|
-
"id":
|
|
2884
|
+
"id": 986,
|
|
2739
2885
|
"mutability": "mutable",
|
|
2740
2886
|
"name": "data",
|
|
2741
|
-
"nameLocation": "
|
|
2887
|
+
"nameLocation": "3542:4:2",
|
|
2742
2888
|
"nodeType": "VariableDeclaration",
|
|
2743
|
-
"scope":
|
|
2744
|
-
"src": "
|
|
2889
|
+
"scope": 989,
|
|
2890
|
+
"src": "3529:17:2",
|
|
2745
2891
|
"stateVariable": false,
|
|
2746
2892
|
"storageLocation": "memory",
|
|
2747
2893
|
"typeDescriptions": {
|
|
@@ -2749,10 +2895,10 @@
|
|
|
2749
2895
|
"typeString": "bytes"
|
|
2750
2896
|
},
|
|
2751
2897
|
"typeName": {
|
|
2752
|
-
"id":
|
|
2898
|
+
"id": 985,
|
|
2753
2899
|
"name": "bytes",
|
|
2754
2900
|
"nodeType": "ElementaryTypeName",
|
|
2755
|
-
"src": "
|
|
2901
|
+
"src": "3529:5:2",
|
|
2756
2902
|
"typeDescriptions": {
|
|
2757
2903
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2758
2904
|
"typeString": "bytes"
|
|
@@ -2761,43 +2907,43 @@
|
|
|
2761
2907
|
"visibility": "internal"
|
|
2762
2908
|
}
|
|
2763
2909
|
],
|
|
2764
|
-
"src": "
|
|
2910
|
+
"src": "3472:75:2"
|
|
2765
2911
|
},
|
|
2766
2912
|
"returnParameters": {
|
|
2767
|
-
"id":
|
|
2913
|
+
"id": 988,
|
|
2768
2914
|
"nodeType": "ParameterList",
|
|
2769
2915
|
"parameters": [],
|
|
2770
|
-
"src": "
|
|
2916
|
+
"src": "3556:0:2"
|
|
2771
2917
|
},
|
|
2772
|
-
"scope":
|
|
2918
|
+
"scope": 1010,
|
|
2773
2919
|
"stateMutability": "nonpayable",
|
|
2774
2920
|
"virtual": false,
|
|
2775
2921
|
"visibility": "external"
|
|
2776
2922
|
},
|
|
2777
2923
|
{
|
|
2778
|
-
"id":
|
|
2924
|
+
"id": 1001,
|
|
2779
2925
|
"nodeType": "FunctionDefinition",
|
|
2780
|
-
"src": "
|
|
2926
|
+
"src": "3561:109:2",
|
|
2781
2927
|
"nodes": [],
|
|
2782
2928
|
"functionSelector": "6b3d7d5f",
|
|
2783
2929
|
"implemented": false,
|
|
2784
2930
|
"kind": "function",
|
|
2785
2931
|
"modifiers": [],
|
|
2786
2932
|
"name": "onAfterSetField",
|
|
2787
|
-
"nameLocation": "
|
|
2933
|
+
"nameLocation": "3570:15:2",
|
|
2788
2934
|
"parameters": {
|
|
2789
|
-
"id":
|
|
2935
|
+
"id": 999,
|
|
2790
2936
|
"nodeType": "ParameterList",
|
|
2791
2937
|
"parameters": [
|
|
2792
2938
|
{
|
|
2793
2939
|
"constant": false,
|
|
2794
|
-
"id":
|
|
2940
|
+
"id": 991,
|
|
2795
2941
|
"mutability": "mutable",
|
|
2796
2942
|
"name": "table",
|
|
2797
|
-
"nameLocation": "
|
|
2943
|
+
"nameLocation": "3594:5:2",
|
|
2798
2944
|
"nodeType": "VariableDeclaration",
|
|
2799
|
-
"scope":
|
|
2800
|
-
"src": "
|
|
2945
|
+
"scope": 1001,
|
|
2946
|
+
"src": "3586:13:2",
|
|
2801
2947
|
"stateVariable": false,
|
|
2802
2948
|
"storageLocation": "default",
|
|
2803
2949
|
"typeDescriptions": {
|
|
@@ -2805,10 +2951,10 @@
|
|
|
2805
2951
|
"typeString": "bytes32"
|
|
2806
2952
|
},
|
|
2807
2953
|
"typeName": {
|
|
2808
|
-
"id":
|
|
2954
|
+
"id": 990,
|
|
2809
2955
|
"name": "bytes32",
|
|
2810
2956
|
"nodeType": "ElementaryTypeName",
|
|
2811
|
-
"src": "
|
|
2957
|
+
"src": "3586:7:2",
|
|
2812
2958
|
"typeDescriptions": {
|
|
2813
2959
|
"typeIdentifier": "t_bytes32",
|
|
2814
2960
|
"typeString": "bytes32"
|
|
@@ -2818,13 +2964,13 @@
|
|
|
2818
2964
|
},
|
|
2819
2965
|
{
|
|
2820
2966
|
"constant": false,
|
|
2821
|
-
"id":
|
|
2967
|
+
"id": 994,
|
|
2822
2968
|
"mutability": "mutable",
|
|
2823
2969
|
"name": "key",
|
|
2824
|
-
"nameLocation": "
|
|
2970
|
+
"nameLocation": "3618:3:2",
|
|
2825
2971
|
"nodeType": "VariableDeclaration",
|
|
2826
|
-
"scope":
|
|
2827
|
-
"src": "
|
|
2972
|
+
"scope": 1001,
|
|
2973
|
+
"src": "3601:20:2",
|
|
2828
2974
|
"stateVariable": false,
|
|
2829
2975
|
"storageLocation": "memory",
|
|
2830
2976
|
"typeDescriptions": {
|
|
@@ -2833,18 +2979,18 @@
|
|
|
2833
2979
|
},
|
|
2834
2980
|
"typeName": {
|
|
2835
2981
|
"baseType": {
|
|
2836
|
-
"id":
|
|
2982
|
+
"id": 992,
|
|
2837
2983
|
"name": "bytes32",
|
|
2838
2984
|
"nodeType": "ElementaryTypeName",
|
|
2839
|
-
"src": "
|
|
2985
|
+
"src": "3601:7:2",
|
|
2840
2986
|
"typeDescriptions": {
|
|
2841
2987
|
"typeIdentifier": "t_bytes32",
|
|
2842
2988
|
"typeString": "bytes32"
|
|
2843
2989
|
}
|
|
2844
2990
|
},
|
|
2845
|
-
"id":
|
|
2991
|
+
"id": 993,
|
|
2846
2992
|
"nodeType": "ArrayTypeName",
|
|
2847
|
-
"src": "
|
|
2993
|
+
"src": "3601:9:2",
|
|
2848
2994
|
"typeDescriptions": {
|
|
2849
2995
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2850
2996
|
"typeString": "bytes32[]"
|
|
@@ -2854,13 +3000,13 @@
|
|
|
2854
3000
|
},
|
|
2855
3001
|
{
|
|
2856
3002
|
"constant": false,
|
|
2857
|
-
"id":
|
|
3003
|
+
"id": 996,
|
|
2858
3004
|
"mutability": "mutable",
|
|
2859
3005
|
"name": "schemaIndex",
|
|
2860
|
-
"nameLocation": "
|
|
3006
|
+
"nameLocation": "3629:11:2",
|
|
2861
3007
|
"nodeType": "VariableDeclaration",
|
|
2862
|
-
"scope":
|
|
2863
|
-
"src": "
|
|
3008
|
+
"scope": 1001,
|
|
3009
|
+
"src": "3623:17:2",
|
|
2864
3010
|
"stateVariable": false,
|
|
2865
3011
|
"storageLocation": "default",
|
|
2866
3012
|
"typeDescriptions": {
|
|
@@ -2868,10 +3014,10 @@
|
|
|
2868
3014
|
"typeString": "uint8"
|
|
2869
3015
|
},
|
|
2870
3016
|
"typeName": {
|
|
2871
|
-
"id":
|
|
3017
|
+
"id": 995,
|
|
2872
3018
|
"name": "uint8",
|
|
2873
3019
|
"nodeType": "ElementaryTypeName",
|
|
2874
|
-
"src": "
|
|
3020
|
+
"src": "3623:5:2",
|
|
2875
3021
|
"typeDescriptions": {
|
|
2876
3022
|
"typeIdentifier": "t_uint8",
|
|
2877
3023
|
"typeString": "uint8"
|
|
@@ -2881,13 +3027,13 @@
|
|
|
2881
3027
|
},
|
|
2882
3028
|
{
|
|
2883
3029
|
"constant": false,
|
|
2884
|
-
"id":
|
|
3030
|
+
"id": 998,
|
|
2885
3031
|
"mutability": "mutable",
|
|
2886
3032
|
"name": "data",
|
|
2887
|
-
"nameLocation": "
|
|
3033
|
+
"nameLocation": "3655:4:2",
|
|
2888
3034
|
"nodeType": "VariableDeclaration",
|
|
2889
|
-
"scope":
|
|
2890
|
-
"src": "
|
|
3035
|
+
"scope": 1001,
|
|
3036
|
+
"src": "3642:17:2",
|
|
2891
3037
|
"stateVariable": false,
|
|
2892
3038
|
"storageLocation": "memory",
|
|
2893
3039
|
"typeDescriptions": {
|
|
@@ -2895,10 +3041,10 @@
|
|
|
2895
3041
|
"typeString": "bytes"
|
|
2896
3042
|
},
|
|
2897
3043
|
"typeName": {
|
|
2898
|
-
"id":
|
|
3044
|
+
"id": 997,
|
|
2899
3045
|
"name": "bytes",
|
|
2900
3046
|
"nodeType": "ElementaryTypeName",
|
|
2901
|
-
"src": "
|
|
3047
|
+
"src": "3642:5:2",
|
|
2902
3048
|
"typeDescriptions": {
|
|
2903
3049
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2904
3050
|
"typeString": "bytes"
|
|
@@ -2907,43 +3053,43 @@
|
|
|
2907
3053
|
"visibility": "internal"
|
|
2908
3054
|
}
|
|
2909
3055
|
],
|
|
2910
|
-
"src": "
|
|
3056
|
+
"src": "3585:75:2"
|
|
2911
3057
|
},
|
|
2912
3058
|
"returnParameters": {
|
|
2913
|
-
"id":
|
|
3059
|
+
"id": 1000,
|
|
2914
3060
|
"nodeType": "ParameterList",
|
|
2915
3061
|
"parameters": [],
|
|
2916
|
-
"src": "
|
|
3062
|
+
"src": "3669:0:2"
|
|
2917
3063
|
},
|
|
2918
|
-
"scope":
|
|
3064
|
+
"scope": 1010,
|
|
2919
3065
|
"stateMutability": "nonpayable",
|
|
2920
3066
|
"virtual": false,
|
|
2921
3067
|
"visibility": "external"
|
|
2922
3068
|
},
|
|
2923
3069
|
{
|
|
2924
|
-
"id":
|
|
3070
|
+
"id": 1009,
|
|
2925
3071
|
"nodeType": "FunctionDefinition",
|
|
2926
|
-
"src": "
|
|
3072
|
+
"src": "3674:70:2",
|
|
2927
3073
|
"nodes": [],
|
|
2928
3074
|
"functionSelector": "b51fef6c",
|
|
2929
3075
|
"implemented": false,
|
|
2930
3076
|
"kind": "function",
|
|
2931
3077
|
"modifiers": [],
|
|
2932
3078
|
"name": "onDeleteRecord",
|
|
2933
|
-
"nameLocation": "
|
|
3079
|
+
"nameLocation": "3683:14:2",
|
|
2934
3080
|
"parameters": {
|
|
2935
|
-
"id":
|
|
3081
|
+
"id": 1007,
|
|
2936
3082
|
"nodeType": "ParameterList",
|
|
2937
3083
|
"parameters": [
|
|
2938
3084
|
{
|
|
2939
3085
|
"constant": false,
|
|
2940
|
-
"id":
|
|
3086
|
+
"id": 1003,
|
|
2941
3087
|
"mutability": "mutable",
|
|
2942
3088
|
"name": "table",
|
|
2943
|
-
"nameLocation": "
|
|
3089
|
+
"nameLocation": "3706:5:2",
|
|
2944
3090
|
"nodeType": "VariableDeclaration",
|
|
2945
|
-
"scope":
|
|
2946
|
-
"src": "
|
|
3091
|
+
"scope": 1009,
|
|
3092
|
+
"src": "3698:13:2",
|
|
2947
3093
|
"stateVariable": false,
|
|
2948
3094
|
"storageLocation": "default",
|
|
2949
3095
|
"typeDescriptions": {
|
|
@@ -2951,10 +3097,10 @@
|
|
|
2951
3097
|
"typeString": "bytes32"
|
|
2952
3098
|
},
|
|
2953
3099
|
"typeName": {
|
|
2954
|
-
"id":
|
|
3100
|
+
"id": 1002,
|
|
2955
3101
|
"name": "bytes32",
|
|
2956
3102
|
"nodeType": "ElementaryTypeName",
|
|
2957
|
-
"src": "
|
|
3103
|
+
"src": "3698:7:2",
|
|
2958
3104
|
"typeDescriptions": {
|
|
2959
3105
|
"typeIdentifier": "t_bytes32",
|
|
2960
3106
|
"typeString": "bytes32"
|
|
@@ -2964,13 +3110,13 @@
|
|
|
2964
3110
|
},
|
|
2965
3111
|
{
|
|
2966
3112
|
"constant": false,
|
|
2967
|
-
"id":
|
|
3113
|
+
"id": 1006,
|
|
2968
3114
|
"mutability": "mutable",
|
|
2969
3115
|
"name": "key",
|
|
2970
|
-
"nameLocation": "
|
|
3116
|
+
"nameLocation": "3730:3:2",
|
|
2971
3117
|
"nodeType": "VariableDeclaration",
|
|
2972
|
-
"scope":
|
|
2973
|
-
"src": "
|
|
3118
|
+
"scope": 1009,
|
|
3119
|
+
"src": "3713:20:2",
|
|
2974
3120
|
"stateVariable": false,
|
|
2975
3121
|
"storageLocation": "memory",
|
|
2976
3122
|
"typeDescriptions": {
|
|
@@ -2979,18 +3125,18 @@
|
|
|
2979
3125
|
},
|
|
2980
3126
|
"typeName": {
|
|
2981
3127
|
"baseType": {
|
|
2982
|
-
"id":
|
|
3128
|
+
"id": 1004,
|
|
2983
3129
|
"name": "bytes32",
|
|
2984
3130
|
"nodeType": "ElementaryTypeName",
|
|
2985
|
-
"src": "
|
|
3131
|
+
"src": "3713:7:2",
|
|
2986
3132
|
"typeDescriptions": {
|
|
2987
3133
|
"typeIdentifier": "t_bytes32",
|
|
2988
3134
|
"typeString": "bytes32"
|
|
2989
3135
|
}
|
|
2990
3136
|
},
|
|
2991
|
-
"id":
|
|
3137
|
+
"id": 1005,
|
|
2992
3138
|
"nodeType": "ArrayTypeName",
|
|
2993
|
-
"src": "
|
|
3139
|
+
"src": "3713:9:2",
|
|
2994
3140
|
"typeDescriptions": {
|
|
2995
3141
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2996
3142
|
"typeString": "bytes32[]"
|
|
@@ -2999,15 +3145,15 @@
|
|
|
2999
3145
|
"visibility": "internal"
|
|
3000
3146
|
}
|
|
3001
3147
|
],
|
|
3002
|
-
"src": "
|
|
3148
|
+
"src": "3697:37:2"
|
|
3003
3149
|
},
|
|
3004
3150
|
"returnParameters": {
|
|
3005
|
-
"id":
|
|
3151
|
+
"id": 1008,
|
|
3006
3152
|
"nodeType": "ParameterList",
|
|
3007
3153
|
"parameters": [],
|
|
3008
|
-
"src": "
|
|
3154
|
+
"src": "3743:0:2"
|
|
3009
3155
|
},
|
|
3010
|
-
"scope":
|
|
3156
|
+
"scope": 1010,
|
|
3011
3157
|
"stateMutability": "nonpayable",
|
|
3012
3158
|
"virtual": false,
|
|
3013
3159
|
"visibility": "external"
|
|
@@ -3020,11 +3166,11 @@
|
|
|
3020
3166
|
"contractKind": "interface",
|
|
3021
3167
|
"fullyImplemented": false,
|
|
3022
3168
|
"linearizedBaseContracts": [
|
|
3023
|
-
|
|
3169
|
+
1010
|
|
3024
3170
|
],
|
|
3025
3171
|
"name": "IStoreHook",
|
|
3026
|
-
"nameLocation": "
|
|
3027
|
-
"scope":
|
|
3172
|
+
"nameLocation": "3262:10:2",
|
|
3173
|
+
"scope": 1011,
|
|
3028
3174
|
"usedErrors": []
|
|
3029
3175
|
}
|
|
3030
3176
|
],
|