@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
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"getSchema(bytes32)": "a2ea7c6e",
|
|
147
147
|
"isStore()": "a5c2f007"
|
|
148
148
|
},
|
|
149
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"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\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"}],\"name\":\"getKeySchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"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\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"}],\"name\":\"getSchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isStore\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":\"IStoreRead\"},\"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\":\"
|
|
149
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"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\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"}],\"name\":\"getKeySchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"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\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"}],\"name\":\"getSchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"schema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isStore\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":\"IStoreRead\"},\"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}",
|
|
150
150
|
"metadata": {
|
|
151
151
|
"compiler": {
|
|
152
152
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -329,10 +329,10 @@
|
|
|
329
329
|
"license": "MIT"
|
|
330
330
|
},
|
|
331
331
|
"/home/runner/work/mud/mud/packages/store/src/IStore.sol": {
|
|
332
|
-
"keccak256": "
|
|
332
|
+
"keccak256": "0x465c23c85a77fdc6001f06a6899080c1d6cfef9858886d7d922e54fce1eb79e6",
|
|
333
333
|
"urls": [
|
|
334
|
-
"bzz-raw://
|
|
335
|
-
"dweb:/ipfs/
|
|
334
|
+
"bzz-raw://6358088868fa52711e65d3462eb6b6762fe736eb7f033909e3260280b6a87957",
|
|
335
|
+
"dweb:/ipfs/QmdkwwvTa9Hzc5SDP4C1hvrKzc8SxWNDrxNqQKw4ZoCKzL"
|
|
336
336
|
],
|
|
337
337
|
"license": "MIT"
|
|
338
338
|
},
|
|
@@ -405,35 +405,35 @@
|
|
|
405
405
|
},
|
|
406
406
|
"ast": {
|
|
407
407
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IStore.sol",
|
|
408
|
-
"id":
|
|
408
|
+
"id": 1011,
|
|
409
409
|
"exportedSymbols": {
|
|
410
410
|
"IErrors": [
|
|
411
411
|
768
|
|
412
412
|
],
|
|
413
413
|
"IStore": [
|
|
414
|
-
|
|
414
|
+
967
|
|
415
415
|
],
|
|
416
416
|
"IStoreData": [
|
|
417
|
-
|
|
417
|
+
931
|
|
418
418
|
],
|
|
419
419
|
"IStoreHook": [
|
|
420
|
-
|
|
420
|
+
1010
|
|
421
421
|
],
|
|
422
422
|
"IStoreRead": [
|
|
423
423
|
829
|
|
424
424
|
],
|
|
425
425
|
"IStoreRegistration": [
|
|
426
|
-
|
|
426
|
+
962
|
|
427
427
|
],
|
|
428
428
|
"IStoreWrite": [
|
|
429
|
-
|
|
429
|
+
925
|
|
430
430
|
],
|
|
431
431
|
"Schema": [
|
|
432
|
-
|
|
432
|
+
1517
|
|
433
433
|
]
|
|
434
434
|
},
|
|
435
435
|
"nodeType": "SourceUnit",
|
|
436
|
-
"src": "32:
|
|
436
|
+
"src": "32:3715:2",
|
|
437
437
|
"nodes": [
|
|
438
438
|
{
|
|
439
439
|
"id": 770,
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IErrors.sol",
|
|
456
456
|
"file": "./IErrors.sol",
|
|
457
457
|
"nameLocation": "-1:-1:-1",
|
|
458
|
-
"scope":
|
|
458
|
+
"scope": 1011,
|
|
459
459
|
"sourceUnit": 769,
|
|
460
460
|
"symbolAliases": [
|
|
461
461
|
{
|
|
@@ -481,8 +481,8 @@
|
|
|
481
481
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/Schema.sol",
|
|
482
482
|
"file": "./Schema.sol",
|
|
483
483
|
"nameLocation": "-1:-1:-1",
|
|
484
|
-
"scope":
|
|
485
|
-
"sourceUnit":
|
|
484
|
+
"scope": 1011,
|
|
485
|
+
"sourceUnit": 2285,
|
|
486
486
|
"symbolAliases": [
|
|
487
487
|
{
|
|
488
488
|
"foreign": {
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
"name": "Schema",
|
|
491
491
|
"nodeType": "Identifier",
|
|
492
492
|
"overloadedDeclarations": [],
|
|
493
|
-
"referencedDeclaration":
|
|
493
|
+
"referencedDeclaration": 1517,
|
|
494
494
|
"src": "108:6:2",
|
|
495
495
|
"typeDescriptions": {}
|
|
496
496
|
},
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
"stateVariable": false,
|
|
566
566
|
"storageLocation": "default",
|
|
567
567
|
"typeDescriptions": {
|
|
568
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
568
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
569
569
|
"typeString": "Schema"
|
|
570
570
|
},
|
|
571
571
|
"typeName": {
|
|
@@ -575,13 +575,13 @@
|
|
|
575
575
|
"id": 778,
|
|
576
576
|
"name": "Schema",
|
|
577
577
|
"nodeType": "IdentifierPath",
|
|
578
|
-
"referencedDeclaration":
|
|
578
|
+
"referencedDeclaration": 1517,
|
|
579
579
|
"src": "221:6:2"
|
|
580
580
|
},
|
|
581
|
-
"referencedDeclaration":
|
|
581
|
+
"referencedDeclaration": 1517,
|
|
582
582
|
"src": "221:6:2",
|
|
583
583
|
"typeDescriptions": {
|
|
584
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
584
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
585
585
|
"typeString": "Schema"
|
|
586
586
|
}
|
|
587
587
|
},
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
"stateVariable": false,
|
|
657
657
|
"storageLocation": "default",
|
|
658
658
|
"typeDescriptions": {
|
|
659
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
659
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
660
660
|
"typeString": "Schema"
|
|
661
661
|
},
|
|
662
662
|
"typeName": {
|
|
@@ -666,13 +666,13 @@
|
|
|
666
666
|
"id": 786,
|
|
667
667
|
"name": "Schema",
|
|
668
668
|
"nodeType": "IdentifierPath",
|
|
669
|
-
"referencedDeclaration":
|
|
669
|
+
"referencedDeclaration": 1517,
|
|
670
670
|
"src": "300:6:2"
|
|
671
671
|
},
|
|
672
|
-
"referencedDeclaration":
|
|
672
|
+
"referencedDeclaration": 1517,
|
|
673
673
|
"src": "300:6:2",
|
|
674
674
|
"typeDescriptions": {
|
|
675
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
675
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
676
676
|
"typeString": "Schema"
|
|
677
677
|
}
|
|
678
678
|
},
|
|
@@ -896,7 +896,7 @@
|
|
|
896
896
|
"stateVariable": false,
|
|
897
897
|
"storageLocation": "default",
|
|
898
898
|
"typeDescriptions": {
|
|
899
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
899
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
900
900
|
"typeString": "Schema"
|
|
901
901
|
},
|
|
902
902
|
"typeName": {
|
|
@@ -906,13 +906,13 @@
|
|
|
906
906
|
"id": 806,
|
|
907
907
|
"name": "Schema",
|
|
908
908
|
"nodeType": "IdentifierPath",
|
|
909
|
-
"referencedDeclaration":
|
|
909
|
+
"referencedDeclaration": 1517,
|
|
910
910
|
"src": "599:6:2"
|
|
911
911
|
},
|
|
912
|
-
"referencedDeclaration":
|
|
912
|
+
"referencedDeclaration": 1517,
|
|
913
913
|
"src": "599:6:2",
|
|
914
914
|
"typeDescriptions": {
|
|
915
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
915
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
916
916
|
"typeString": "Schema"
|
|
917
917
|
}
|
|
918
918
|
},
|
|
@@ -1147,13 +1147,13 @@
|
|
|
1147
1147
|
],
|
|
1148
1148
|
"name": "IStoreRead",
|
|
1149
1149
|
"nameLocation": "149:10:2",
|
|
1150
|
-
"scope":
|
|
1150
|
+
"scope": 1011,
|
|
1151
1151
|
"usedErrors": []
|
|
1152
1152
|
},
|
|
1153
1153
|
{
|
|
1154
|
-
"id":
|
|
1154
|
+
"id": 925,
|
|
1155
1155
|
"nodeType": "ContractDefinition",
|
|
1156
|
-
"src": "1073:
|
|
1156
|
+
"src": "1073:1239:2",
|
|
1157
1157
|
"nodes": [
|
|
1158
1158
|
{
|
|
1159
1159
|
"id": 838,
|
|
@@ -1599,7 +1599,7 @@
|
|
|
1599
1599
|
"parameters": [],
|
|
1600
1600
|
"src": "1445:0:2"
|
|
1601
1601
|
},
|
|
1602
|
-
"scope":
|
|
1602
|
+
"scope": 925,
|
|
1603
1603
|
"stateMutability": "nonpayable",
|
|
1604
1604
|
"virtual": false,
|
|
1605
1605
|
"visibility": "external"
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
"parameters": [],
|
|
1746
1746
|
"src": "1593:0:2"
|
|
1747
1747
|
},
|
|
1748
|
-
"scope":
|
|
1748
|
+
"scope": 925,
|
|
1749
1749
|
"stateMutability": "nonpayable",
|
|
1750
1750
|
"virtual": false,
|
|
1751
1751
|
"visibility": "external"
|
|
@@ -1891,24 +1891,24 @@
|
|
|
1891
1891
|
"parameters": [],
|
|
1892
1892
|
"src": "1773:0:2"
|
|
1893
1893
|
},
|
|
1894
|
-
"scope":
|
|
1894
|
+
"scope": 925,
|
|
1895
1895
|
"stateMutability": "nonpayable",
|
|
1896
1896
|
"virtual": false,
|
|
1897
1897
|
"visibility": "external"
|
|
1898
1898
|
},
|
|
1899
1899
|
{
|
|
1900
|
-
"id":
|
|
1900
|
+
"id": 902,
|
|
1901
1901
|
"nodeType": "FunctionDefinition",
|
|
1902
|
-
"src": "
|
|
1902
|
+
"src": "1838:114:2",
|
|
1903
1903
|
"nodes": [],
|
|
1904
|
-
"functionSelector": "
|
|
1904
|
+
"functionSelector": "8c1f9a54",
|
|
1905
1905
|
"implemented": false,
|
|
1906
1906
|
"kind": "function",
|
|
1907
1907
|
"modifiers": [],
|
|
1908
|
-
"name": "
|
|
1909
|
-
"nameLocation": "
|
|
1908
|
+
"name": "popFromField",
|
|
1909
|
+
"nameLocation": "1847:12:2",
|
|
1910
1910
|
"parameters": {
|
|
1911
|
-
"id":
|
|
1911
|
+
"id": 900,
|
|
1912
1912
|
"nodeType": "ParameterList",
|
|
1913
1913
|
"parameters": [
|
|
1914
1914
|
{
|
|
@@ -1916,10 +1916,10 @@
|
|
|
1916
1916
|
"id": 892,
|
|
1917
1917
|
"mutability": "mutable",
|
|
1918
1918
|
"name": "table",
|
|
1919
|
-
"nameLocation": "
|
|
1919
|
+
"nameLocation": "1868:5:2",
|
|
1920
1920
|
"nodeType": "VariableDeclaration",
|
|
1921
|
-
"scope":
|
|
1922
|
-
"src": "
|
|
1921
|
+
"scope": 902,
|
|
1922
|
+
"src": "1860:13:2",
|
|
1923
1923
|
"stateVariable": false,
|
|
1924
1924
|
"storageLocation": "default",
|
|
1925
1925
|
"typeDescriptions": {
|
|
@@ -1930,7 +1930,7 @@
|
|
|
1930
1930
|
"id": 891,
|
|
1931
1931
|
"name": "bytes32",
|
|
1932
1932
|
"nodeType": "ElementaryTypeName",
|
|
1933
|
-
"src": "
|
|
1933
|
+
"src": "1860:7:2",
|
|
1934
1934
|
"typeDescriptions": {
|
|
1935
1935
|
"typeIdentifier": "t_bytes32",
|
|
1936
1936
|
"typeString": "bytes32"
|
|
@@ -1943,10 +1943,10 @@
|
|
|
1943
1943
|
"id": 895,
|
|
1944
1944
|
"mutability": "mutable",
|
|
1945
1945
|
"name": "key",
|
|
1946
|
-
"nameLocation": "
|
|
1946
|
+
"nameLocation": "1894:3:2",
|
|
1947
1947
|
"nodeType": "VariableDeclaration",
|
|
1948
|
-
"scope":
|
|
1949
|
-
"src": "
|
|
1948
|
+
"scope": 902,
|
|
1949
|
+
"src": "1875:22:2",
|
|
1950
1950
|
"stateVariable": false,
|
|
1951
1951
|
"storageLocation": "calldata",
|
|
1952
1952
|
"typeDescriptions": {
|
|
@@ -1958,7 +1958,7 @@
|
|
|
1958
1958
|
"id": 893,
|
|
1959
1959
|
"name": "bytes32",
|
|
1960
1960
|
"nodeType": "ElementaryTypeName",
|
|
1961
|
-
"src": "
|
|
1961
|
+
"src": "1875:7:2",
|
|
1962
1962
|
"typeDescriptions": {
|
|
1963
1963
|
"typeIdentifier": "t_bytes32",
|
|
1964
1964
|
"typeString": "bytes32"
|
|
@@ -1966,7 +1966,7 @@
|
|
|
1966
1966
|
},
|
|
1967
1967
|
"id": 894,
|
|
1968
1968
|
"nodeType": "ArrayTypeName",
|
|
1969
|
-
"src": "
|
|
1969
|
+
"src": "1875:9:2",
|
|
1970
1970
|
"typeDescriptions": {
|
|
1971
1971
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1972
1972
|
"typeString": "bytes32[]"
|
|
@@ -1979,10 +1979,10 @@
|
|
|
1979
1979
|
"id": 897,
|
|
1980
1980
|
"mutability": "mutable",
|
|
1981
1981
|
"name": "schemaIndex",
|
|
1982
|
-
"nameLocation": "
|
|
1982
|
+
"nameLocation": "1905:11:2",
|
|
1983
1983
|
"nodeType": "VariableDeclaration",
|
|
1984
|
-
"scope":
|
|
1985
|
-
"src": "
|
|
1984
|
+
"scope": 902,
|
|
1985
|
+
"src": "1899:17:2",
|
|
1986
1986
|
"stateVariable": false,
|
|
1987
1987
|
"storageLocation": "default",
|
|
1988
1988
|
"typeDescriptions": {
|
|
@@ -1993,7 +1993,7 @@
|
|
|
1993
1993
|
"id": 896,
|
|
1994
1994
|
"name": "uint8",
|
|
1995
1995
|
"nodeType": "ElementaryTypeName",
|
|
1996
|
-
"src": "
|
|
1996
|
+
"src": "1899:5:2",
|
|
1997
1997
|
"typeDescriptions": {
|
|
1998
1998
|
"typeIdentifier": "t_uint8",
|
|
1999
1999
|
"typeString": "uint8"
|
|
@@ -2005,11 +2005,11 @@
|
|
|
2005
2005
|
"constant": false,
|
|
2006
2006
|
"id": 899,
|
|
2007
2007
|
"mutability": "mutable",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"nameLocation": "
|
|
2008
|
+
"name": "byteLengthToPop",
|
|
2009
|
+
"nameLocation": "1926:15:2",
|
|
2010
2010
|
"nodeType": "VariableDeclaration",
|
|
2011
|
-
"scope":
|
|
2012
|
-
"src": "
|
|
2011
|
+
"scope": 902,
|
|
2012
|
+
"src": "1918:23:2",
|
|
2013
2013
|
"stateVariable": false,
|
|
2014
2014
|
"storageLocation": "default",
|
|
2015
2015
|
"typeDescriptions": {
|
|
@@ -2020,7 +2020,153 @@
|
|
|
2020
2020
|
"id": 898,
|
|
2021
2021
|
"name": "uint256",
|
|
2022
2022
|
"nodeType": "ElementaryTypeName",
|
|
2023
|
-
"src": "
|
|
2023
|
+
"src": "1918:7:2",
|
|
2024
|
+
"typeDescriptions": {
|
|
2025
|
+
"typeIdentifier": "t_uint256",
|
|
2026
|
+
"typeString": "uint256"
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
"visibility": "internal"
|
|
2030
|
+
}
|
|
2031
|
+
],
|
|
2032
|
+
"src": "1859:83:2"
|
|
2033
|
+
},
|
|
2034
|
+
"returnParameters": {
|
|
2035
|
+
"id": 901,
|
|
2036
|
+
"nodeType": "ParameterList",
|
|
2037
|
+
"parameters": [],
|
|
2038
|
+
"src": "1951:0:2"
|
|
2039
|
+
},
|
|
2040
|
+
"scope": 925,
|
|
2041
|
+
"stateMutability": "nonpayable",
|
|
2042
|
+
"virtual": false,
|
|
2043
|
+
"visibility": "external"
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"id": 916,
|
|
2047
|
+
"nodeType": "FunctionDefinition",
|
|
2048
|
+
"src": "2023:164:2",
|
|
2049
|
+
"nodes": [],
|
|
2050
|
+
"functionSelector": "776d4047",
|
|
2051
|
+
"implemented": false,
|
|
2052
|
+
"kind": "function",
|
|
2053
|
+
"modifiers": [],
|
|
2054
|
+
"name": "updateInField",
|
|
2055
|
+
"nameLocation": "2032:13:2",
|
|
2056
|
+
"parameters": {
|
|
2057
|
+
"id": 914,
|
|
2058
|
+
"nodeType": "ParameterList",
|
|
2059
|
+
"parameters": [
|
|
2060
|
+
{
|
|
2061
|
+
"constant": false,
|
|
2062
|
+
"id": 904,
|
|
2063
|
+
"mutability": "mutable",
|
|
2064
|
+
"name": "table",
|
|
2065
|
+
"nameLocation": "2059:5:2",
|
|
2066
|
+
"nodeType": "VariableDeclaration",
|
|
2067
|
+
"scope": 916,
|
|
2068
|
+
"src": "2051:13:2",
|
|
2069
|
+
"stateVariable": false,
|
|
2070
|
+
"storageLocation": "default",
|
|
2071
|
+
"typeDescriptions": {
|
|
2072
|
+
"typeIdentifier": "t_bytes32",
|
|
2073
|
+
"typeString": "bytes32"
|
|
2074
|
+
},
|
|
2075
|
+
"typeName": {
|
|
2076
|
+
"id": 903,
|
|
2077
|
+
"name": "bytes32",
|
|
2078
|
+
"nodeType": "ElementaryTypeName",
|
|
2079
|
+
"src": "2051:7:2",
|
|
2080
|
+
"typeDescriptions": {
|
|
2081
|
+
"typeIdentifier": "t_bytes32",
|
|
2082
|
+
"typeString": "bytes32"
|
|
2083
|
+
}
|
|
2084
|
+
},
|
|
2085
|
+
"visibility": "internal"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"constant": false,
|
|
2089
|
+
"id": 907,
|
|
2090
|
+
"mutability": "mutable",
|
|
2091
|
+
"name": "key",
|
|
2092
|
+
"nameLocation": "2089:3:2",
|
|
2093
|
+
"nodeType": "VariableDeclaration",
|
|
2094
|
+
"scope": 916,
|
|
2095
|
+
"src": "2070:22:2",
|
|
2096
|
+
"stateVariable": false,
|
|
2097
|
+
"storageLocation": "calldata",
|
|
2098
|
+
"typeDescriptions": {
|
|
2099
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
2100
|
+
"typeString": "bytes32[]"
|
|
2101
|
+
},
|
|
2102
|
+
"typeName": {
|
|
2103
|
+
"baseType": {
|
|
2104
|
+
"id": 905,
|
|
2105
|
+
"name": "bytes32",
|
|
2106
|
+
"nodeType": "ElementaryTypeName",
|
|
2107
|
+
"src": "2070:7:2",
|
|
2108
|
+
"typeDescriptions": {
|
|
2109
|
+
"typeIdentifier": "t_bytes32",
|
|
2110
|
+
"typeString": "bytes32"
|
|
2111
|
+
}
|
|
2112
|
+
},
|
|
2113
|
+
"id": 906,
|
|
2114
|
+
"nodeType": "ArrayTypeName",
|
|
2115
|
+
"src": "2070:9:2",
|
|
2116
|
+
"typeDescriptions": {
|
|
2117
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2118
|
+
"typeString": "bytes32[]"
|
|
2119
|
+
}
|
|
2120
|
+
},
|
|
2121
|
+
"visibility": "internal"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"constant": false,
|
|
2125
|
+
"id": 909,
|
|
2126
|
+
"mutability": "mutable",
|
|
2127
|
+
"name": "schemaIndex",
|
|
2128
|
+
"nameLocation": "2104:11:2",
|
|
2129
|
+
"nodeType": "VariableDeclaration",
|
|
2130
|
+
"scope": 916,
|
|
2131
|
+
"src": "2098:17:2",
|
|
2132
|
+
"stateVariable": false,
|
|
2133
|
+
"storageLocation": "default",
|
|
2134
|
+
"typeDescriptions": {
|
|
2135
|
+
"typeIdentifier": "t_uint8",
|
|
2136
|
+
"typeString": "uint8"
|
|
2137
|
+
},
|
|
2138
|
+
"typeName": {
|
|
2139
|
+
"id": 908,
|
|
2140
|
+
"name": "uint8",
|
|
2141
|
+
"nodeType": "ElementaryTypeName",
|
|
2142
|
+
"src": "2098:5:2",
|
|
2143
|
+
"typeDescriptions": {
|
|
2144
|
+
"typeIdentifier": "t_uint8",
|
|
2145
|
+
"typeString": "uint8"
|
|
2146
|
+
}
|
|
2147
|
+
},
|
|
2148
|
+
"visibility": "internal"
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"constant": false,
|
|
2152
|
+
"id": 911,
|
|
2153
|
+
"mutability": "mutable",
|
|
2154
|
+
"name": "startByteIndex",
|
|
2155
|
+
"nameLocation": "2129:14:2",
|
|
2156
|
+
"nodeType": "VariableDeclaration",
|
|
2157
|
+
"scope": 916,
|
|
2158
|
+
"src": "2121:22:2",
|
|
2159
|
+
"stateVariable": false,
|
|
2160
|
+
"storageLocation": "default",
|
|
2161
|
+
"typeDescriptions": {
|
|
2162
|
+
"typeIdentifier": "t_uint256",
|
|
2163
|
+
"typeString": "uint256"
|
|
2164
|
+
},
|
|
2165
|
+
"typeName": {
|
|
2166
|
+
"id": 910,
|
|
2167
|
+
"name": "uint256",
|
|
2168
|
+
"nodeType": "ElementaryTypeName",
|
|
2169
|
+
"src": "2121:7:2",
|
|
2024
2170
|
"typeDescriptions": {
|
|
2025
2171
|
"typeIdentifier": "t_uint256",
|
|
2026
2172
|
"typeString": "uint256"
|
|
@@ -2030,13 +2176,13 @@
|
|
|
2030
2176
|
},
|
|
2031
2177
|
{
|
|
2032
2178
|
"constant": false,
|
|
2033
|
-
"id":
|
|
2179
|
+
"id": 913,
|
|
2034
2180
|
"mutability": "mutable",
|
|
2035
2181
|
"name": "dataToSet",
|
|
2036
|
-
"nameLocation": "
|
|
2182
|
+
"nameLocation": "2164:9:2",
|
|
2037
2183
|
"nodeType": "VariableDeclaration",
|
|
2038
|
-
"scope":
|
|
2039
|
-
"src": "
|
|
2184
|
+
"scope": 916,
|
|
2185
|
+
"src": "2149:24:2",
|
|
2040
2186
|
"stateVariable": false,
|
|
2041
2187
|
"storageLocation": "calldata",
|
|
2042
2188
|
"typeDescriptions": {
|
|
@@ -2044,10 +2190,10 @@
|
|
|
2044
2190
|
"typeString": "bytes"
|
|
2045
2191
|
},
|
|
2046
2192
|
"typeName": {
|
|
2047
|
-
"id":
|
|
2193
|
+
"id": 912,
|
|
2048
2194
|
"name": "bytes",
|
|
2049
2195
|
"nodeType": "ElementaryTypeName",
|
|
2050
|
-
"src": "
|
|
2196
|
+
"src": "2149:5:2",
|
|
2051
2197
|
"typeDescriptions": {
|
|
2052
2198
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2053
2199
|
"typeString": "bytes"
|
|
@@ -2056,43 +2202,43 @@
|
|
|
2056
2202
|
"visibility": "internal"
|
|
2057
2203
|
}
|
|
2058
2204
|
],
|
|
2059
|
-
"src": "
|
|
2205
|
+
"src": "2045:132:2"
|
|
2060
2206
|
},
|
|
2061
2207
|
"returnParameters": {
|
|
2062
|
-
"id":
|
|
2208
|
+
"id": 915,
|
|
2063
2209
|
"nodeType": "ParameterList",
|
|
2064
2210
|
"parameters": [],
|
|
2065
|
-
"src": "
|
|
2211
|
+
"src": "2186:0:2"
|
|
2066
2212
|
},
|
|
2067
|
-
"scope":
|
|
2213
|
+
"scope": 925,
|
|
2068
2214
|
"stateMutability": "nonpayable",
|
|
2069
2215
|
"virtual": false,
|
|
2070
2216
|
"visibility": "external"
|
|
2071
2217
|
},
|
|
2072
2218
|
{
|
|
2073
|
-
"id":
|
|
2219
|
+
"id": 924,
|
|
2074
2220
|
"nodeType": "FunctionDefinition",
|
|
2075
|
-
"src": "
|
|
2221
|
+
"src": "2242:68:2",
|
|
2076
2222
|
"nodes": [],
|
|
2077
2223
|
"functionSelector": "505a181d",
|
|
2078
2224
|
"implemented": false,
|
|
2079
2225
|
"kind": "function",
|
|
2080
2226
|
"modifiers": [],
|
|
2081
2227
|
"name": "deleteRecord",
|
|
2082
|
-
"nameLocation": "
|
|
2228
|
+
"nameLocation": "2251:12:2",
|
|
2083
2229
|
"parameters": {
|
|
2084
|
-
"id":
|
|
2230
|
+
"id": 922,
|
|
2085
2231
|
"nodeType": "ParameterList",
|
|
2086
2232
|
"parameters": [
|
|
2087
2233
|
{
|
|
2088
2234
|
"constant": false,
|
|
2089
|
-
"id":
|
|
2235
|
+
"id": 918,
|
|
2090
2236
|
"mutability": "mutable",
|
|
2091
2237
|
"name": "table",
|
|
2092
|
-
"nameLocation": "
|
|
2238
|
+
"nameLocation": "2272:5:2",
|
|
2093
2239
|
"nodeType": "VariableDeclaration",
|
|
2094
|
-
"scope":
|
|
2095
|
-
"src": "
|
|
2240
|
+
"scope": 924,
|
|
2241
|
+
"src": "2264:13:2",
|
|
2096
2242
|
"stateVariable": false,
|
|
2097
2243
|
"storageLocation": "default",
|
|
2098
2244
|
"typeDescriptions": {
|
|
@@ -2100,10 +2246,10 @@
|
|
|
2100
2246
|
"typeString": "bytes32"
|
|
2101
2247
|
},
|
|
2102
2248
|
"typeName": {
|
|
2103
|
-
"id":
|
|
2249
|
+
"id": 917,
|
|
2104
2250
|
"name": "bytes32",
|
|
2105
2251
|
"nodeType": "ElementaryTypeName",
|
|
2106
|
-
"src": "
|
|
2252
|
+
"src": "2264:7:2",
|
|
2107
2253
|
"typeDescriptions": {
|
|
2108
2254
|
"typeIdentifier": "t_bytes32",
|
|
2109
2255
|
"typeString": "bytes32"
|
|
@@ -2113,13 +2259,13 @@
|
|
|
2113
2259
|
},
|
|
2114
2260
|
{
|
|
2115
2261
|
"constant": false,
|
|
2116
|
-
"id":
|
|
2262
|
+
"id": 921,
|
|
2117
2263
|
"mutability": "mutable",
|
|
2118
2264
|
"name": "key",
|
|
2119
|
-
"nameLocation": "
|
|
2265
|
+
"nameLocation": "2296:3:2",
|
|
2120
2266
|
"nodeType": "VariableDeclaration",
|
|
2121
|
-
"scope":
|
|
2122
|
-
"src": "
|
|
2267
|
+
"scope": 924,
|
|
2268
|
+
"src": "2279:20:2",
|
|
2123
2269
|
"stateVariable": false,
|
|
2124
2270
|
"storageLocation": "memory",
|
|
2125
2271
|
"typeDescriptions": {
|
|
@@ -2128,18 +2274,18 @@
|
|
|
2128
2274
|
},
|
|
2129
2275
|
"typeName": {
|
|
2130
2276
|
"baseType": {
|
|
2131
|
-
"id":
|
|
2277
|
+
"id": 919,
|
|
2132
2278
|
"name": "bytes32",
|
|
2133
2279
|
"nodeType": "ElementaryTypeName",
|
|
2134
|
-
"src": "
|
|
2280
|
+
"src": "2279:7:2",
|
|
2135
2281
|
"typeDescriptions": {
|
|
2136
2282
|
"typeIdentifier": "t_bytes32",
|
|
2137
2283
|
"typeString": "bytes32"
|
|
2138
2284
|
}
|
|
2139
2285
|
},
|
|
2140
|
-
"id":
|
|
2286
|
+
"id": 920,
|
|
2141
2287
|
"nodeType": "ArrayTypeName",
|
|
2142
|
-
"src": "
|
|
2288
|
+
"src": "2279:9:2",
|
|
2143
2289
|
"typeDescriptions": {
|
|
2144
2290
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2145
2291
|
"typeString": "bytes32[]"
|
|
@@ -2148,15 +2294,15 @@
|
|
|
2148
2294
|
"visibility": "internal"
|
|
2149
2295
|
}
|
|
2150
2296
|
],
|
|
2151
|
-
"src": "
|
|
2297
|
+
"src": "2263:37:2"
|
|
2152
2298
|
},
|
|
2153
2299
|
"returnParameters": {
|
|
2154
|
-
"id":
|
|
2300
|
+
"id": 923,
|
|
2155
2301
|
"nodeType": "ParameterList",
|
|
2156
2302
|
"parameters": [],
|
|
2157
|
-
"src": "
|
|
2303
|
+
"src": "2309:0:2"
|
|
2158
2304
|
},
|
|
2159
|
-
"scope":
|
|
2305
|
+
"scope": 925,
|
|
2160
2306
|
"stateMutability": "nonpayable",
|
|
2161
2307
|
"virtual": false,
|
|
2162
2308
|
"visibility": "external"
|
|
@@ -2169,94 +2315,94 @@
|
|
|
2169
2315
|
"contractKind": "interface",
|
|
2170
2316
|
"fullyImplemented": false,
|
|
2171
2317
|
"linearizedBaseContracts": [
|
|
2172
|
-
|
|
2318
|
+
925
|
|
2173
2319
|
],
|
|
2174
2320
|
"name": "IStoreWrite",
|
|
2175
2321
|
"nameLocation": "1083:11:2",
|
|
2176
|
-
"scope":
|
|
2322
|
+
"scope": 1011,
|
|
2177
2323
|
"usedErrors": []
|
|
2178
2324
|
},
|
|
2179
2325
|
{
|
|
2180
|
-
"id":
|
|
2326
|
+
"id": 931,
|
|
2181
2327
|
"nodeType": "ContractDefinition",
|
|
2182
|
-
"src": "
|
|
2328
|
+
"src": "2523:52:2",
|
|
2183
2329
|
"nodes": [],
|
|
2184
2330
|
"abstract": false,
|
|
2185
2331
|
"baseContracts": [
|
|
2186
2332
|
{
|
|
2187
2333
|
"baseName": {
|
|
2188
|
-
"id":
|
|
2334
|
+
"id": 927,
|
|
2189
2335
|
"name": "IStoreRead",
|
|
2190
2336
|
"nodeType": "IdentifierPath",
|
|
2191
2337
|
"referencedDeclaration": 829,
|
|
2192
|
-
"src": "
|
|
2338
|
+
"src": "2547:10:2"
|
|
2193
2339
|
},
|
|
2194
|
-
"id":
|
|
2340
|
+
"id": 928,
|
|
2195
2341
|
"nodeType": "InheritanceSpecifier",
|
|
2196
|
-
"src": "
|
|
2342
|
+
"src": "2547:10:2"
|
|
2197
2343
|
},
|
|
2198
2344
|
{
|
|
2199
2345
|
"baseName": {
|
|
2200
|
-
"id":
|
|
2346
|
+
"id": 929,
|
|
2201
2347
|
"name": "IStoreWrite",
|
|
2202
2348
|
"nodeType": "IdentifierPath",
|
|
2203
|
-
"referencedDeclaration":
|
|
2204
|
-
"src": "
|
|
2349
|
+
"referencedDeclaration": 925,
|
|
2350
|
+
"src": "2559:11:2"
|
|
2205
2351
|
},
|
|
2206
|
-
"id":
|
|
2352
|
+
"id": 930,
|
|
2207
2353
|
"nodeType": "InheritanceSpecifier",
|
|
2208
|
-
"src": "
|
|
2354
|
+
"src": "2559:11:2"
|
|
2209
2355
|
}
|
|
2210
2356
|
],
|
|
2211
2357
|
"canonicalName": "IStoreData",
|
|
2212
2358
|
"contractDependencies": [],
|
|
2213
2359
|
"contractKind": "interface",
|
|
2214
2360
|
"documentation": {
|
|
2215
|
-
"id":
|
|
2361
|
+
"id": 926,
|
|
2216
2362
|
"nodeType": "StructuredDocumentation",
|
|
2217
|
-
"src": "
|
|
2363
|
+
"src": "2314:208:2",
|
|
2218
2364
|
"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"
|
|
2219
2365
|
},
|
|
2220
2366
|
"fullyImplemented": false,
|
|
2221
2367
|
"linearizedBaseContracts": [
|
|
2222
|
-
|
|
2223
|
-
|
|
2368
|
+
931,
|
|
2369
|
+
925,
|
|
2224
2370
|
829
|
|
2225
2371
|
],
|
|
2226
2372
|
"name": "IStoreData",
|
|
2227
|
-
"nameLocation": "
|
|
2228
|
-
"scope":
|
|
2373
|
+
"nameLocation": "2533:10:2",
|
|
2374
|
+
"scope": 1011,
|
|
2229
2375
|
"usedErrors": []
|
|
2230
2376
|
},
|
|
2231
2377
|
{
|
|
2232
|
-
"id":
|
|
2378
|
+
"id": 962,
|
|
2233
2379
|
"nodeType": "ContractDefinition",
|
|
2234
|
-
"src": "
|
|
2380
|
+
"src": "2828:367:2",
|
|
2235
2381
|
"nodes": [
|
|
2236
2382
|
{
|
|
2237
|
-
"id":
|
|
2383
|
+
"id": 943,
|
|
2238
2384
|
"nodeType": "FunctionDefinition",
|
|
2239
|
-
"src": "
|
|
2385
|
+
"src": "2861:81:2",
|
|
2240
2386
|
"nodes": [],
|
|
2241
2387
|
"functionSelector": "d5933686",
|
|
2242
2388
|
"implemented": false,
|
|
2243
2389
|
"kind": "function",
|
|
2244
2390
|
"modifiers": [],
|
|
2245
2391
|
"name": "registerSchema",
|
|
2246
|
-
"nameLocation": "
|
|
2392
|
+
"nameLocation": "2870:14:2",
|
|
2247
2393
|
"parameters": {
|
|
2248
|
-
"id":
|
|
2394
|
+
"id": 941,
|
|
2249
2395
|
"nodeType": "ParameterList",
|
|
2250
2396
|
"parameters": [
|
|
2251
2397
|
{
|
|
2252
2398
|
"constant": false,
|
|
2253
|
-
"id":
|
|
2399
|
+
"id": 934,
|
|
2254
2400
|
"mutability": "mutable",
|
|
2255
2401
|
"name": "table",
|
|
2256
|
-
"nameLocation": "
|
|
2402
|
+
"nameLocation": "2893:5:2",
|
|
2257
2403
|
"nodeType": "VariableDeclaration",
|
|
2258
|
-
"scope":
|
|
2259
|
-
"src": "
|
|
2404
|
+
"scope": 943,
|
|
2405
|
+
"src": "2885:13:2",
|
|
2260
2406
|
"stateVariable": false,
|
|
2261
2407
|
"storageLocation": "default",
|
|
2262
2408
|
"typeDescriptions": {
|
|
@@ -2264,10 +2410,10 @@
|
|
|
2264
2410
|
"typeString": "bytes32"
|
|
2265
2411
|
},
|
|
2266
2412
|
"typeName": {
|
|
2267
|
-
"id":
|
|
2413
|
+
"id": 933,
|
|
2268
2414
|
"name": "bytes32",
|
|
2269
2415
|
"nodeType": "ElementaryTypeName",
|
|
2270
|
-
"src": "
|
|
2416
|
+
"src": "2885:7:2",
|
|
2271
2417
|
"typeDescriptions": {
|
|
2272
2418
|
"typeIdentifier": "t_bytes32",
|
|
2273
2419
|
"typeString": "bytes32"
|
|
@@ -2277,33 +2423,33 @@
|
|
|
2277
2423
|
},
|
|
2278
2424
|
{
|
|
2279
2425
|
"constant": false,
|
|
2280
|
-
"id":
|
|
2426
|
+
"id": 937,
|
|
2281
2427
|
"mutability": "mutable",
|
|
2282
2428
|
"name": "schema",
|
|
2283
|
-
"nameLocation": "
|
|
2429
|
+
"nameLocation": "2907:6:2",
|
|
2284
2430
|
"nodeType": "VariableDeclaration",
|
|
2285
|
-
"scope":
|
|
2286
|
-
"src": "
|
|
2431
|
+
"scope": 943,
|
|
2432
|
+
"src": "2900:13:2",
|
|
2287
2433
|
"stateVariable": false,
|
|
2288
2434
|
"storageLocation": "default",
|
|
2289
2435
|
"typeDescriptions": {
|
|
2290
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2436
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2291
2437
|
"typeString": "Schema"
|
|
2292
2438
|
},
|
|
2293
2439
|
"typeName": {
|
|
2294
|
-
"id":
|
|
2440
|
+
"id": 936,
|
|
2295
2441
|
"nodeType": "UserDefinedTypeName",
|
|
2296
2442
|
"pathNode": {
|
|
2297
|
-
"id":
|
|
2443
|
+
"id": 935,
|
|
2298
2444
|
"name": "Schema",
|
|
2299
2445
|
"nodeType": "IdentifierPath",
|
|
2300
|
-
"referencedDeclaration":
|
|
2301
|
-
"src": "
|
|
2446
|
+
"referencedDeclaration": 1517,
|
|
2447
|
+
"src": "2900:6:2"
|
|
2302
2448
|
},
|
|
2303
|
-
"referencedDeclaration":
|
|
2304
|
-
"src": "
|
|
2449
|
+
"referencedDeclaration": 1517,
|
|
2450
|
+
"src": "2900:6:2",
|
|
2305
2451
|
"typeDescriptions": {
|
|
2306
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2452
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2307
2453
|
"typeString": "Schema"
|
|
2308
2454
|
}
|
|
2309
2455
|
},
|
|
@@ -2311,76 +2457,76 @@
|
|
|
2311
2457
|
},
|
|
2312
2458
|
{
|
|
2313
2459
|
"constant": false,
|
|
2314
|
-
"id":
|
|
2460
|
+
"id": 940,
|
|
2315
2461
|
"mutability": "mutable",
|
|
2316
2462
|
"name": "keySchema",
|
|
2317
|
-
"nameLocation": "
|
|
2463
|
+
"nameLocation": "2922:9:2",
|
|
2318
2464
|
"nodeType": "VariableDeclaration",
|
|
2319
|
-
"scope":
|
|
2320
|
-
"src": "
|
|
2465
|
+
"scope": 943,
|
|
2466
|
+
"src": "2915:16:2",
|
|
2321
2467
|
"stateVariable": false,
|
|
2322
2468
|
"storageLocation": "default",
|
|
2323
2469
|
"typeDescriptions": {
|
|
2324
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2470
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2325
2471
|
"typeString": "Schema"
|
|
2326
2472
|
},
|
|
2327
2473
|
"typeName": {
|
|
2328
|
-
"id":
|
|
2474
|
+
"id": 939,
|
|
2329
2475
|
"nodeType": "UserDefinedTypeName",
|
|
2330
2476
|
"pathNode": {
|
|
2331
|
-
"id":
|
|
2477
|
+
"id": 938,
|
|
2332
2478
|
"name": "Schema",
|
|
2333
2479
|
"nodeType": "IdentifierPath",
|
|
2334
|
-
"referencedDeclaration":
|
|
2335
|
-
"src": "
|
|
2480
|
+
"referencedDeclaration": 1517,
|
|
2481
|
+
"src": "2915:6:2"
|
|
2336
2482
|
},
|
|
2337
|
-
"referencedDeclaration":
|
|
2338
|
-
"src": "
|
|
2483
|
+
"referencedDeclaration": 1517,
|
|
2484
|
+
"src": "2915:6:2",
|
|
2339
2485
|
"typeDescriptions": {
|
|
2340
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2486
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2341
2487
|
"typeString": "Schema"
|
|
2342
2488
|
}
|
|
2343
2489
|
},
|
|
2344
2490
|
"visibility": "internal"
|
|
2345
2491
|
}
|
|
2346
2492
|
],
|
|
2347
|
-
"src": "
|
|
2493
|
+
"src": "2884:48:2"
|
|
2348
2494
|
},
|
|
2349
2495
|
"returnParameters": {
|
|
2350
|
-
"id":
|
|
2496
|
+
"id": 942,
|
|
2351
2497
|
"nodeType": "ParameterList",
|
|
2352
2498
|
"parameters": [],
|
|
2353
|
-
"src": "
|
|
2499
|
+
"src": "2941:0:2"
|
|
2354
2500
|
},
|
|
2355
|
-
"scope":
|
|
2501
|
+
"scope": 962,
|
|
2356
2502
|
"stateMutability": "nonpayable",
|
|
2357
2503
|
"virtual": false,
|
|
2358
2504
|
"visibility": "external"
|
|
2359
2505
|
},
|
|
2360
2506
|
{
|
|
2361
|
-
"id":
|
|
2507
|
+
"id": 953,
|
|
2362
2508
|
"nodeType": "FunctionDefinition",
|
|
2363
|
-
"src": "
|
|
2509
|
+
"src": "2946:102:2",
|
|
2364
2510
|
"nodes": [],
|
|
2365
2511
|
"functionSelector": "fe86a89f",
|
|
2366
2512
|
"implemented": false,
|
|
2367
2513
|
"kind": "function",
|
|
2368
2514
|
"modifiers": [],
|
|
2369
2515
|
"name": "setMetadata",
|
|
2370
|
-
"nameLocation": "
|
|
2516
|
+
"nameLocation": "2955:11:2",
|
|
2371
2517
|
"parameters": {
|
|
2372
|
-
"id":
|
|
2518
|
+
"id": 951,
|
|
2373
2519
|
"nodeType": "ParameterList",
|
|
2374
2520
|
"parameters": [
|
|
2375
2521
|
{
|
|
2376
2522
|
"constant": false,
|
|
2377
|
-
"id":
|
|
2523
|
+
"id": 945,
|
|
2378
2524
|
"mutability": "mutable",
|
|
2379
2525
|
"name": "table",
|
|
2380
|
-
"nameLocation": "
|
|
2526
|
+
"nameLocation": "2975:5:2",
|
|
2381
2527
|
"nodeType": "VariableDeclaration",
|
|
2382
|
-
"scope":
|
|
2383
|
-
"src": "
|
|
2528
|
+
"scope": 953,
|
|
2529
|
+
"src": "2967:13:2",
|
|
2384
2530
|
"stateVariable": false,
|
|
2385
2531
|
"storageLocation": "default",
|
|
2386
2532
|
"typeDescriptions": {
|
|
@@ -2388,10 +2534,10 @@
|
|
|
2388
2534
|
"typeString": "bytes32"
|
|
2389
2535
|
},
|
|
2390
2536
|
"typeName": {
|
|
2391
|
-
"id":
|
|
2537
|
+
"id": 944,
|
|
2392
2538
|
"name": "bytes32",
|
|
2393
2539
|
"nodeType": "ElementaryTypeName",
|
|
2394
|
-
"src": "
|
|
2540
|
+
"src": "2967:7:2",
|
|
2395
2541
|
"typeDescriptions": {
|
|
2396
2542
|
"typeIdentifier": "t_bytes32",
|
|
2397
2543
|
"typeString": "bytes32"
|
|
@@ -2401,13 +2547,13 @@
|
|
|
2401
2547
|
},
|
|
2402
2548
|
{
|
|
2403
2549
|
"constant": false,
|
|
2404
|
-
"id":
|
|
2550
|
+
"id": 947,
|
|
2405
2551
|
"mutability": "mutable",
|
|
2406
2552
|
"name": "tableName",
|
|
2407
|
-
"nameLocation": "
|
|
2553
|
+
"nameLocation": "2998:9:2",
|
|
2408
2554
|
"nodeType": "VariableDeclaration",
|
|
2409
|
-
"scope":
|
|
2410
|
-
"src": "
|
|
2555
|
+
"scope": 953,
|
|
2556
|
+
"src": "2982:25:2",
|
|
2411
2557
|
"stateVariable": false,
|
|
2412
2558
|
"storageLocation": "calldata",
|
|
2413
2559
|
"typeDescriptions": {
|
|
@@ -2415,10 +2561,10 @@
|
|
|
2415
2561
|
"typeString": "string"
|
|
2416
2562
|
},
|
|
2417
2563
|
"typeName": {
|
|
2418
|
-
"id":
|
|
2564
|
+
"id": 946,
|
|
2419
2565
|
"name": "string",
|
|
2420
2566
|
"nodeType": "ElementaryTypeName",
|
|
2421
|
-
"src": "
|
|
2567
|
+
"src": "2982:6:2",
|
|
2422
2568
|
"typeDescriptions": {
|
|
2423
2569
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2424
2570
|
"typeString": "string"
|
|
@@ -2428,13 +2574,13 @@
|
|
|
2428
2574
|
},
|
|
2429
2575
|
{
|
|
2430
2576
|
"constant": false,
|
|
2431
|
-
"id":
|
|
2577
|
+
"id": 950,
|
|
2432
2578
|
"mutability": "mutable",
|
|
2433
2579
|
"name": "fieldNames",
|
|
2434
|
-
"nameLocation": "
|
|
2580
|
+
"nameLocation": "3027:10:2",
|
|
2435
2581
|
"nodeType": "VariableDeclaration",
|
|
2436
|
-
"scope":
|
|
2437
|
-
"src": "
|
|
2582
|
+
"scope": 953,
|
|
2583
|
+
"src": "3009:28:2",
|
|
2438
2584
|
"stateVariable": false,
|
|
2439
2585
|
"storageLocation": "calldata",
|
|
2440
2586
|
"typeDescriptions": {
|
|
@@ -2443,18 +2589,18 @@
|
|
|
2443
2589
|
},
|
|
2444
2590
|
"typeName": {
|
|
2445
2591
|
"baseType": {
|
|
2446
|
-
"id":
|
|
2592
|
+
"id": 948,
|
|
2447
2593
|
"name": "string",
|
|
2448
2594
|
"nodeType": "ElementaryTypeName",
|
|
2449
|
-
"src": "
|
|
2595
|
+
"src": "3009:6:2",
|
|
2450
2596
|
"typeDescriptions": {
|
|
2451
2597
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2452
2598
|
"typeString": "string"
|
|
2453
2599
|
}
|
|
2454
2600
|
},
|
|
2455
|
-
"id":
|
|
2601
|
+
"id": 949,
|
|
2456
2602
|
"nodeType": "ArrayTypeName",
|
|
2457
|
-
"src": "
|
|
2603
|
+
"src": "3009:8:2",
|
|
2458
2604
|
"typeDescriptions": {
|
|
2459
2605
|
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
2460
2606
|
"typeString": "string[]"
|
|
@@ -2463,43 +2609,43 @@
|
|
|
2463
2609
|
"visibility": "internal"
|
|
2464
2610
|
}
|
|
2465
2611
|
],
|
|
2466
|
-
"src": "
|
|
2612
|
+
"src": "2966:72:2"
|
|
2467
2613
|
},
|
|
2468
2614
|
"returnParameters": {
|
|
2469
|
-
"id":
|
|
2615
|
+
"id": 952,
|
|
2470
2616
|
"nodeType": "ParameterList",
|
|
2471
2617
|
"parameters": [],
|
|
2472
|
-
"src": "
|
|
2618
|
+
"src": "3047:0:2"
|
|
2473
2619
|
},
|
|
2474
|
-
"scope":
|
|
2620
|
+
"scope": 962,
|
|
2475
2621
|
"stateMutability": "nonpayable",
|
|
2476
2622
|
"virtual": false,
|
|
2477
2623
|
"visibility": "external"
|
|
2478
2624
|
},
|
|
2479
2625
|
{
|
|
2480
|
-
"id":
|
|
2626
|
+
"id": 961,
|
|
2481
2627
|
"nodeType": "FunctionDefinition",
|
|
2482
|
-
"src": "
|
|
2628
|
+
"src": "3125:68:2",
|
|
2483
2629
|
"nodes": [],
|
|
2484
2630
|
"functionSelector": "6e81fd71",
|
|
2485
2631
|
"implemented": false,
|
|
2486
2632
|
"kind": "function",
|
|
2487
2633
|
"modifiers": [],
|
|
2488
2634
|
"name": "registerStoreHook",
|
|
2489
|
-
"nameLocation": "
|
|
2635
|
+
"nameLocation": "3134:17:2",
|
|
2490
2636
|
"parameters": {
|
|
2491
|
-
"id":
|
|
2637
|
+
"id": 959,
|
|
2492
2638
|
"nodeType": "ParameterList",
|
|
2493
2639
|
"parameters": [
|
|
2494
2640
|
{
|
|
2495
2641
|
"constant": false,
|
|
2496
|
-
"id":
|
|
2642
|
+
"id": 955,
|
|
2497
2643
|
"mutability": "mutable",
|
|
2498
2644
|
"name": "table",
|
|
2499
|
-
"nameLocation": "
|
|
2645
|
+
"nameLocation": "3160:5:2",
|
|
2500
2646
|
"nodeType": "VariableDeclaration",
|
|
2501
|
-
"scope":
|
|
2502
|
-
"src": "
|
|
2647
|
+
"scope": 961,
|
|
2648
|
+
"src": "3152:13:2",
|
|
2503
2649
|
"stateVariable": false,
|
|
2504
2650
|
"storageLocation": "default",
|
|
2505
2651
|
"typeDescriptions": {
|
|
@@ -2507,10 +2653,10 @@
|
|
|
2507
2653
|
"typeString": "bytes32"
|
|
2508
2654
|
},
|
|
2509
2655
|
"typeName": {
|
|
2510
|
-
"id":
|
|
2656
|
+
"id": 954,
|
|
2511
2657
|
"name": "bytes32",
|
|
2512
2658
|
"nodeType": "ElementaryTypeName",
|
|
2513
|
-
"src": "
|
|
2659
|
+
"src": "3152:7:2",
|
|
2514
2660
|
"typeDescriptions": {
|
|
2515
2661
|
"typeIdentifier": "t_bytes32",
|
|
2516
2662
|
"typeString": "bytes32"
|
|
@@ -2520,48 +2666,48 @@
|
|
|
2520
2666
|
},
|
|
2521
2667
|
{
|
|
2522
2668
|
"constant": false,
|
|
2523
|
-
"id":
|
|
2669
|
+
"id": 958,
|
|
2524
2670
|
"mutability": "mutable",
|
|
2525
2671
|
"name": "hook",
|
|
2526
|
-
"nameLocation": "
|
|
2672
|
+
"nameLocation": "3178:4:2",
|
|
2527
2673
|
"nodeType": "VariableDeclaration",
|
|
2528
|
-
"scope":
|
|
2529
|
-
"src": "
|
|
2674
|
+
"scope": 961,
|
|
2675
|
+
"src": "3167:15:2",
|
|
2530
2676
|
"stateVariable": false,
|
|
2531
2677
|
"storageLocation": "default",
|
|
2532
2678
|
"typeDescriptions": {
|
|
2533
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
2679
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2534
2680
|
"typeString": "contract IStoreHook"
|
|
2535
2681
|
},
|
|
2536
2682
|
"typeName": {
|
|
2537
|
-
"id":
|
|
2683
|
+
"id": 957,
|
|
2538
2684
|
"nodeType": "UserDefinedTypeName",
|
|
2539
2685
|
"pathNode": {
|
|
2540
|
-
"id":
|
|
2686
|
+
"id": 956,
|
|
2541
2687
|
"name": "IStoreHook",
|
|
2542
2688
|
"nodeType": "IdentifierPath",
|
|
2543
|
-
"referencedDeclaration":
|
|
2544
|
-
"src": "
|
|
2689
|
+
"referencedDeclaration": 1010,
|
|
2690
|
+
"src": "3167:10:2"
|
|
2545
2691
|
},
|
|
2546
|
-
"referencedDeclaration":
|
|
2547
|
-
"src": "
|
|
2692
|
+
"referencedDeclaration": 1010,
|
|
2693
|
+
"src": "3167:10:2",
|
|
2548
2694
|
"typeDescriptions": {
|
|
2549
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
2695
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2550
2696
|
"typeString": "contract IStoreHook"
|
|
2551
2697
|
}
|
|
2552
2698
|
},
|
|
2553
2699
|
"visibility": "internal"
|
|
2554
2700
|
}
|
|
2555
2701
|
],
|
|
2556
|
-
"src": "
|
|
2702
|
+
"src": "3151:32:2"
|
|
2557
2703
|
},
|
|
2558
2704
|
"returnParameters": {
|
|
2559
|
-
"id":
|
|
2705
|
+
"id": 960,
|
|
2560
2706
|
"nodeType": "ParameterList",
|
|
2561
2707
|
"parameters": [],
|
|
2562
|
-
"src": "
|
|
2708
|
+
"src": "3192:0:2"
|
|
2563
2709
|
},
|
|
2564
|
-
"scope":
|
|
2710
|
+
"scope": 962,
|
|
2565
2711
|
"stateMutability": "nonpayable",
|
|
2566
2712
|
"virtual": false,
|
|
2567
2713
|
"visibility": "external"
|
|
@@ -2573,50 +2719,50 @@
|
|
|
2573
2719
|
"contractDependencies": [],
|
|
2574
2720
|
"contractKind": "interface",
|
|
2575
2721
|
"documentation": {
|
|
2576
|
-
"id":
|
|
2722
|
+
"id": 932,
|
|
2577
2723
|
"nodeType": "StructuredDocumentation",
|
|
2578
|
-
"src": "
|
|
2724
|
+
"src": "2577:250:2",
|
|
2579
2725
|
"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."
|
|
2580
2726
|
},
|
|
2581
2727
|
"fullyImplemented": false,
|
|
2582
2728
|
"linearizedBaseContracts": [
|
|
2583
|
-
|
|
2729
|
+
962
|
|
2584
2730
|
],
|
|
2585
2731
|
"name": "IStoreRegistration",
|
|
2586
|
-
"nameLocation": "
|
|
2587
|
-
"scope":
|
|
2732
|
+
"nameLocation": "2838:18:2",
|
|
2733
|
+
"scope": 1011,
|
|
2588
2734
|
"usedErrors": []
|
|
2589
2735
|
},
|
|
2590
2736
|
{
|
|
2591
|
-
"id":
|
|
2737
|
+
"id": 967,
|
|
2592
2738
|
"nodeType": "ContractDefinition",
|
|
2593
|
-
"src": "
|
|
2739
|
+
"src": "3197:53:2",
|
|
2594
2740
|
"nodes": [],
|
|
2595
2741
|
"abstract": false,
|
|
2596
2742
|
"baseContracts": [
|
|
2597
2743
|
{
|
|
2598
2744
|
"baseName": {
|
|
2599
|
-
"id":
|
|
2745
|
+
"id": 963,
|
|
2600
2746
|
"name": "IStoreData",
|
|
2601
2747
|
"nodeType": "IdentifierPath",
|
|
2602
|
-
"referencedDeclaration":
|
|
2603
|
-
"src": "
|
|
2748
|
+
"referencedDeclaration": 931,
|
|
2749
|
+
"src": "3217:10:2"
|
|
2604
2750
|
},
|
|
2605
|
-
"id":
|
|
2751
|
+
"id": 964,
|
|
2606
2752
|
"nodeType": "InheritanceSpecifier",
|
|
2607
|
-
"src": "
|
|
2753
|
+
"src": "3217:10:2"
|
|
2608
2754
|
},
|
|
2609
2755
|
{
|
|
2610
2756
|
"baseName": {
|
|
2611
|
-
"id":
|
|
2757
|
+
"id": 965,
|
|
2612
2758
|
"name": "IStoreRegistration",
|
|
2613
2759
|
"nodeType": "IdentifierPath",
|
|
2614
|
-
"referencedDeclaration":
|
|
2615
|
-
"src": "
|
|
2760
|
+
"referencedDeclaration": 962,
|
|
2761
|
+
"src": "3229:18:2"
|
|
2616
2762
|
},
|
|
2617
|
-
"id":
|
|
2763
|
+
"id": 966,
|
|
2618
2764
|
"nodeType": "InheritanceSpecifier",
|
|
2619
|
-
"src": "
|
|
2765
|
+
"src": "3229:18:2"
|
|
2620
2766
|
}
|
|
2621
2767
|
],
|
|
2622
2768
|
"canonicalName": "IStore",
|
|
@@ -2624,46 +2770,46 @@
|
|
|
2624
2770
|
"contractKind": "interface",
|
|
2625
2771
|
"fullyImplemented": false,
|
|
2626
2772
|
"linearizedBaseContracts": [
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2773
|
+
967,
|
|
2774
|
+
962,
|
|
2775
|
+
931,
|
|
2776
|
+
925,
|
|
2631
2777
|
829
|
|
2632
2778
|
],
|
|
2633
2779
|
"name": "IStore",
|
|
2634
|
-
"nameLocation": "
|
|
2635
|
-
"scope":
|
|
2780
|
+
"nameLocation": "3207:6:2",
|
|
2781
|
+
"scope": 1011,
|
|
2636
2782
|
"usedErrors": []
|
|
2637
2783
|
},
|
|
2638
2784
|
{
|
|
2639
|
-
"id":
|
|
2785
|
+
"id": 1010,
|
|
2640
2786
|
"nodeType": "ContractDefinition",
|
|
2641
|
-
"src": "
|
|
2787
|
+
"src": "3252:494:2",
|
|
2642
2788
|
"nodes": [
|
|
2643
2789
|
{
|
|
2644
|
-
"id":
|
|
2790
|
+
"id": 977,
|
|
2645
2791
|
"nodeType": "FunctionDefinition",
|
|
2646
|
-
"src": "
|
|
2792
|
+
"src": "3277:86:2",
|
|
2647
2793
|
"nodes": [],
|
|
2648
2794
|
"functionSelector": "82b6745f",
|
|
2649
2795
|
"implemented": false,
|
|
2650
2796
|
"kind": "function",
|
|
2651
2797
|
"modifiers": [],
|
|
2652
2798
|
"name": "onSetRecord",
|
|
2653
|
-
"nameLocation": "
|
|
2799
|
+
"nameLocation": "3286:11:2",
|
|
2654
2800
|
"parameters": {
|
|
2655
|
-
"id":
|
|
2801
|
+
"id": 975,
|
|
2656
2802
|
"nodeType": "ParameterList",
|
|
2657
2803
|
"parameters": [
|
|
2658
2804
|
{
|
|
2659
2805
|
"constant": false,
|
|
2660
|
-
"id":
|
|
2806
|
+
"id": 969,
|
|
2661
2807
|
"mutability": "mutable",
|
|
2662
2808
|
"name": "table",
|
|
2663
|
-
"nameLocation": "
|
|
2809
|
+
"nameLocation": "3306:5:2",
|
|
2664
2810
|
"nodeType": "VariableDeclaration",
|
|
2665
|
-
"scope":
|
|
2666
|
-
"src": "
|
|
2811
|
+
"scope": 977,
|
|
2812
|
+
"src": "3298:13:2",
|
|
2667
2813
|
"stateVariable": false,
|
|
2668
2814
|
"storageLocation": "default",
|
|
2669
2815
|
"typeDescriptions": {
|
|
@@ -2671,10 +2817,10 @@
|
|
|
2671
2817
|
"typeString": "bytes32"
|
|
2672
2818
|
},
|
|
2673
2819
|
"typeName": {
|
|
2674
|
-
"id":
|
|
2820
|
+
"id": 968,
|
|
2675
2821
|
"name": "bytes32",
|
|
2676
2822
|
"nodeType": "ElementaryTypeName",
|
|
2677
|
-
"src": "
|
|
2823
|
+
"src": "3298:7:2",
|
|
2678
2824
|
"typeDescriptions": {
|
|
2679
2825
|
"typeIdentifier": "t_bytes32",
|
|
2680
2826
|
"typeString": "bytes32"
|
|
@@ -2684,13 +2830,13 @@
|
|
|
2684
2830
|
},
|
|
2685
2831
|
{
|
|
2686
2832
|
"constant": false,
|
|
2687
|
-
"id":
|
|
2833
|
+
"id": 972,
|
|
2688
2834
|
"mutability": "mutable",
|
|
2689
2835
|
"name": "key",
|
|
2690
|
-
"nameLocation": "
|
|
2836
|
+
"nameLocation": "3330:3:2",
|
|
2691
2837
|
"nodeType": "VariableDeclaration",
|
|
2692
|
-
"scope":
|
|
2693
|
-
"src": "
|
|
2838
|
+
"scope": 977,
|
|
2839
|
+
"src": "3313:20:2",
|
|
2694
2840
|
"stateVariable": false,
|
|
2695
2841
|
"storageLocation": "memory",
|
|
2696
2842
|
"typeDescriptions": {
|
|
@@ -2699,18 +2845,18 @@
|
|
|
2699
2845
|
},
|
|
2700
2846
|
"typeName": {
|
|
2701
2847
|
"baseType": {
|
|
2702
|
-
"id":
|
|
2848
|
+
"id": 970,
|
|
2703
2849
|
"name": "bytes32",
|
|
2704
2850
|
"nodeType": "ElementaryTypeName",
|
|
2705
|
-
"src": "
|
|
2851
|
+
"src": "3313:7:2",
|
|
2706
2852
|
"typeDescriptions": {
|
|
2707
2853
|
"typeIdentifier": "t_bytes32",
|
|
2708
2854
|
"typeString": "bytes32"
|
|
2709
2855
|
}
|
|
2710
2856
|
},
|
|
2711
|
-
"id":
|
|
2857
|
+
"id": 971,
|
|
2712
2858
|
"nodeType": "ArrayTypeName",
|
|
2713
|
-
"src": "
|
|
2859
|
+
"src": "3313:9:2",
|
|
2714
2860
|
"typeDescriptions": {
|
|
2715
2861
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2716
2862
|
"typeString": "bytes32[]"
|
|
@@ -2720,13 +2866,13 @@
|
|
|
2720
2866
|
},
|
|
2721
2867
|
{
|
|
2722
2868
|
"constant": false,
|
|
2723
|
-
"id":
|
|
2869
|
+
"id": 974,
|
|
2724
2870
|
"mutability": "mutable",
|
|
2725
2871
|
"name": "data",
|
|
2726
|
-
"nameLocation": "
|
|
2872
|
+
"nameLocation": "3348:4:2",
|
|
2727
2873
|
"nodeType": "VariableDeclaration",
|
|
2728
|
-
"scope":
|
|
2729
|
-
"src": "
|
|
2874
|
+
"scope": 977,
|
|
2875
|
+
"src": "3335:17:2",
|
|
2730
2876
|
"stateVariable": false,
|
|
2731
2877
|
"storageLocation": "memory",
|
|
2732
2878
|
"typeDescriptions": {
|
|
@@ -2734,10 +2880,10 @@
|
|
|
2734
2880
|
"typeString": "bytes"
|
|
2735
2881
|
},
|
|
2736
2882
|
"typeName": {
|
|
2737
|
-
"id":
|
|
2883
|
+
"id": 973,
|
|
2738
2884
|
"name": "bytes",
|
|
2739
2885
|
"nodeType": "ElementaryTypeName",
|
|
2740
|
-
"src": "
|
|
2886
|
+
"src": "3335:5:2",
|
|
2741
2887
|
"typeDescriptions": {
|
|
2742
2888
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2743
2889
|
"typeString": "bytes"
|
|
@@ -2746,43 +2892,43 @@
|
|
|
2746
2892
|
"visibility": "internal"
|
|
2747
2893
|
}
|
|
2748
2894
|
],
|
|
2749
|
-
"src": "
|
|
2895
|
+
"src": "3297:56:2"
|
|
2750
2896
|
},
|
|
2751
2897
|
"returnParameters": {
|
|
2752
|
-
"id":
|
|
2898
|
+
"id": 976,
|
|
2753
2899
|
"nodeType": "ParameterList",
|
|
2754
2900
|
"parameters": [],
|
|
2755
|
-
"src": "
|
|
2901
|
+
"src": "3362:0:2"
|
|
2756
2902
|
},
|
|
2757
|
-
"scope":
|
|
2903
|
+
"scope": 1010,
|
|
2758
2904
|
"stateMutability": "nonpayable",
|
|
2759
2905
|
"virtual": false,
|
|
2760
2906
|
"visibility": "external"
|
|
2761
2907
|
},
|
|
2762
2908
|
{
|
|
2763
|
-
"id":
|
|
2909
|
+
"id": 989,
|
|
2764
2910
|
"nodeType": "FunctionDefinition",
|
|
2765
|
-
"src": "
|
|
2911
|
+
"src": "3447:110:2",
|
|
2766
2912
|
"nodes": [],
|
|
2767
2913
|
"functionSelector": "469b7ee2",
|
|
2768
2914
|
"implemented": false,
|
|
2769
2915
|
"kind": "function",
|
|
2770
2916
|
"modifiers": [],
|
|
2771
2917
|
"name": "onBeforeSetField",
|
|
2772
|
-
"nameLocation": "
|
|
2918
|
+
"nameLocation": "3456:16:2",
|
|
2773
2919
|
"parameters": {
|
|
2774
|
-
"id":
|
|
2920
|
+
"id": 987,
|
|
2775
2921
|
"nodeType": "ParameterList",
|
|
2776
2922
|
"parameters": [
|
|
2777
2923
|
{
|
|
2778
2924
|
"constant": false,
|
|
2779
|
-
"id":
|
|
2925
|
+
"id": 979,
|
|
2780
2926
|
"mutability": "mutable",
|
|
2781
2927
|
"name": "table",
|
|
2782
|
-
"nameLocation": "
|
|
2928
|
+
"nameLocation": "3481:5:2",
|
|
2783
2929
|
"nodeType": "VariableDeclaration",
|
|
2784
|
-
"scope":
|
|
2785
|
-
"src": "
|
|
2930
|
+
"scope": 989,
|
|
2931
|
+
"src": "3473:13:2",
|
|
2786
2932
|
"stateVariable": false,
|
|
2787
2933
|
"storageLocation": "default",
|
|
2788
2934
|
"typeDescriptions": {
|
|
@@ -2790,10 +2936,10 @@
|
|
|
2790
2936
|
"typeString": "bytes32"
|
|
2791
2937
|
},
|
|
2792
2938
|
"typeName": {
|
|
2793
|
-
"id":
|
|
2939
|
+
"id": 978,
|
|
2794
2940
|
"name": "bytes32",
|
|
2795
2941
|
"nodeType": "ElementaryTypeName",
|
|
2796
|
-
"src": "
|
|
2942
|
+
"src": "3473:7:2",
|
|
2797
2943
|
"typeDescriptions": {
|
|
2798
2944
|
"typeIdentifier": "t_bytes32",
|
|
2799
2945
|
"typeString": "bytes32"
|
|
@@ -2803,13 +2949,13 @@
|
|
|
2803
2949
|
},
|
|
2804
2950
|
{
|
|
2805
2951
|
"constant": false,
|
|
2806
|
-
"id":
|
|
2952
|
+
"id": 982,
|
|
2807
2953
|
"mutability": "mutable",
|
|
2808
2954
|
"name": "key",
|
|
2809
|
-
"nameLocation": "
|
|
2955
|
+
"nameLocation": "3505:3:2",
|
|
2810
2956
|
"nodeType": "VariableDeclaration",
|
|
2811
|
-
"scope":
|
|
2812
|
-
"src": "
|
|
2957
|
+
"scope": 989,
|
|
2958
|
+
"src": "3488:20:2",
|
|
2813
2959
|
"stateVariable": false,
|
|
2814
2960
|
"storageLocation": "memory",
|
|
2815
2961
|
"typeDescriptions": {
|
|
@@ -2818,18 +2964,18 @@
|
|
|
2818
2964
|
},
|
|
2819
2965
|
"typeName": {
|
|
2820
2966
|
"baseType": {
|
|
2821
|
-
"id":
|
|
2967
|
+
"id": 980,
|
|
2822
2968
|
"name": "bytes32",
|
|
2823
2969
|
"nodeType": "ElementaryTypeName",
|
|
2824
|
-
"src": "
|
|
2970
|
+
"src": "3488:7:2",
|
|
2825
2971
|
"typeDescriptions": {
|
|
2826
2972
|
"typeIdentifier": "t_bytes32",
|
|
2827
2973
|
"typeString": "bytes32"
|
|
2828
2974
|
}
|
|
2829
2975
|
},
|
|
2830
|
-
"id":
|
|
2976
|
+
"id": 981,
|
|
2831
2977
|
"nodeType": "ArrayTypeName",
|
|
2832
|
-
"src": "
|
|
2978
|
+
"src": "3488:9:2",
|
|
2833
2979
|
"typeDescriptions": {
|
|
2834
2980
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2835
2981
|
"typeString": "bytes32[]"
|
|
@@ -2839,13 +2985,13 @@
|
|
|
2839
2985
|
},
|
|
2840
2986
|
{
|
|
2841
2987
|
"constant": false,
|
|
2842
|
-
"id":
|
|
2988
|
+
"id": 984,
|
|
2843
2989
|
"mutability": "mutable",
|
|
2844
2990
|
"name": "schemaIndex",
|
|
2845
|
-
"nameLocation": "
|
|
2991
|
+
"nameLocation": "3516:11:2",
|
|
2846
2992
|
"nodeType": "VariableDeclaration",
|
|
2847
|
-
"scope":
|
|
2848
|
-
"src": "
|
|
2993
|
+
"scope": 989,
|
|
2994
|
+
"src": "3510:17:2",
|
|
2849
2995
|
"stateVariable": false,
|
|
2850
2996
|
"storageLocation": "default",
|
|
2851
2997
|
"typeDescriptions": {
|
|
@@ -2853,10 +2999,10 @@
|
|
|
2853
2999
|
"typeString": "uint8"
|
|
2854
3000
|
},
|
|
2855
3001
|
"typeName": {
|
|
2856
|
-
"id":
|
|
3002
|
+
"id": 983,
|
|
2857
3003
|
"name": "uint8",
|
|
2858
3004
|
"nodeType": "ElementaryTypeName",
|
|
2859
|
-
"src": "
|
|
3005
|
+
"src": "3510:5:2",
|
|
2860
3006
|
"typeDescriptions": {
|
|
2861
3007
|
"typeIdentifier": "t_uint8",
|
|
2862
3008
|
"typeString": "uint8"
|
|
@@ -2866,13 +3012,13 @@
|
|
|
2866
3012
|
},
|
|
2867
3013
|
{
|
|
2868
3014
|
"constant": false,
|
|
2869
|
-
"id":
|
|
3015
|
+
"id": 986,
|
|
2870
3016
|
"mutability": "mutable",
|
|
2871
3017
|
"name": "data",
|
|
2872
|
-
"nameLocation": "
|
|
3018
|
+
"nameLocation": "3542:4:2",
|
|
2873
3019
|
"nodeType": "VariableDeclaration",
|
|
2874
|
-
"scope":
|
|
2875
|
-
"src": "
|
|
3020
|
+
"scope": 989,
|
|
3021
|
+
"src": "3529:17:2",
|
|
2876
3022
|
"stateVariable": false,
|
|
2877
3023
|
"storageLocation": "memory",
|
|
2878
3024
|
"typeDescriptions": {
|
|
@@ -2880,10 +3026,10 @@
|
|
|
2880
3026
|
"typeString": "bytes"
|
|
2881
3027
|
},
|
|
2882
3028
|
"typeName": {
|
|
2883
|
-
"id":
|
|
3029
|
+
"id": 985,
|
|
2884
3030
|
"name": "bytes",
|
|
2885
3031
|
"nodeType": "ElementaryTypeName",
|
|
2886
|
-
"src": "
|
|
3032
|
+
"src": "3529:5:2",
|
|
2887
3033
|
"typeDescriptions": {
|
|
2888
3034
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2889
3035
|
"typeString": "bytes"
|
|
@@ -2892,43 +3038,43 @@
|
|
|
2892
3038
|
"visibility": "internal"
|
|
2893
3039
|
}
|
|
2894
3040
|
],
|
|
2895
|
-
"src": "
|
|
3041
|
+
"src": "3472:75:2"
|
|
2896
3042
|
},
|
|
2897
3043
|
"returnParameters": {
|
|
2898
|
-
"id":
|
|
3044
|
+
"id": 988,
|
|
2899
3045
|
"nodeType": "ParameterList",
|
|
2900
3046
|
"parameters": [],
|
|
2901
|
-
"src": "
|
|
3047
|
+
"src": "3556:0:2"
|
|
2902
3048
|
},
|
|
2903
|
-
"scope":
|
|
3049
|
+
"scope": 1010,
|
|
2904
3050
|
"stateMutability": "nonpayable",
|
|
2905
3051
|
"virtual": false,
|
|
2906
3052
|
"visibility": "external"
|
|
2907
3053
|
},
|
|
2908
3054
|
{
|
|
2909
|
-
"id":
|
|
3055
|
+
"id": 1001,
|
|
2910
3056
|
"nodeType": "FunctionDefinition",
|
|
2911
|
-
"src": "
|
|
3057
|
+
"src": "3561:109:2",
|
|
2912
3058
|
"nodes": [],
|
|
2913
3059
|
"functionSelector": "6b3d7d5f",
|
|
2914
3060
|
"implemented": false,
|
|
2915
3061
|
"kind": "function",
|
|
2916
3062
|
"modifiers": [],
|
|
2917
3063
|
"name": "onAfterSetField",
|
|
2918
|
-
"nameLocation": "
|
|
3064
|
+
"nameLocation": "3570:15:2",
|
|
2919
3065
|
"parameters": {
|
|
2920
|
-
"id":
|
|
3066
|
+
"id": 999,
|
|
2921
3067
|
"nodeType": "ParameterList",
|
|
2922
3068
|
"parameters": [
|
|
2923
3069
|
{
|
|
2924
3070
|
"constant": false,
|
|
2925
|
-
"id":
|
|
3071
|
+
"id": 991,
|
|
2926
3072
|
"mutability": "mutable",
|
|
2927
3073
|
"name": "table",
|
|
2928
|
-
"nameLocation": "
|
|
3074
|
+
"nameLocation": "3594:5:2",
|
|
2929
3075
|
"nodeType": "VariableDeclaration",
|
|
2930
|
-
"scope":
|
|
2931
|
-
"src": "
|
|
3076
|
+
"scope": 1001,
|
|
3077
|
+
"src": "3586:13:2",
|
|
2932
3078
|
"stateVariable": false,
|
|
2933
3079
|
"storageLocation": "default",
|
|
2934
3080
|
"typeDescriptions": {
|
|
@@ -2936,10 +3082,10 @@
|
|
|
2936
3082
|
"typeString": "bytes32"
|
|
2937
3083
|
},
|
|
2938
3084
|
"typeName": {
|
|
2939
|
-
"id":
|
|
3085
|
+
"id": 990,
|
|
2940
3086
|
"name": "bytes32",
|
|
2941
3087
|
"nodeType": "ElementaryTypeName",
|
|
2942
|
-
"src": "
|
|
3088
|
+
"src": "3586:7:2",
|
|
2943
3089
|
"typeDescriptions": {
|
|
2944
3090
|
"typeIdentifier": "t_bytes32",
|
|
2945
3091
|
"typeString": "bytes32"
|
|
@@ -2949,13 +3095,13 @@
|
|
|
2949
3095
|
},
|
|
2950
3096
|
{
|
|
2951
3097
|
"constant": false,
|
|
2952
|
-
"id":
|
|
3098
|
+
"id": 994,
|
|
2953
3099
|
"mutability": "mutable",
|
|
2954
3100
|
"name": "key",
|
|
2955
|
-
"nameLocation": "
|
|
3101
|
+
"nameLocation": "3618:3:2",
|
|
2956
3102
|
"nodeType": "VariableDeclaration",
|
|
2957
|
-
"scope":
|
|
2958
|
-
"src": "
|
|
3103
|
+
"scope": 1001,
|
|
3104
|
+
"src": "3601:20:2",
|
|
2959
3105
|
"stateVariable": false,
|
|
2960
3106
|
"storageLocation": "memory",
|
|
2961
3107
|
"typeDescriptions": {
|
|
@@ -2964,18 +3110,18 @@
|
|
|
2964
3110
|
},
|
|
2965
3111
|
"typeName": {
|
|
2966
3112
|
"baseType": {
|
|
2967
|
-
"id":
|
|
3113
|
+
"id": 992,
|
|
2968
3114
|
"name": "bytes32",
|
|
2969
3115
|
"nodeType": "ElementaryTypeName",
|
|
2970
|
-
"src": "
|
|
3116
|
+
"src": "3601:7:2",
|
|
2971
3117
|
"typeDescriptions": {
|
|
2972
3118
|
"typeIdentifier": "t_bytes32",
|
|
2973
3119
|
"typeString": "bytes32"
|
|
2974
3120
|
}
|
|
2975
3121
|
},
|
|
2976
|
-
"id":
|
|
3122
|
+
"id": 993,
|
|
2977
3123
|
"nodeType": "ArrayTypeName",
|
|
2978
|
-
"src": "
|
|
3124
|
+
"src": "3601:9:2",
|
|
2979
3125
|
"typeDescriptions": {
|
|
2980
3126
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2981
3127
|
"typeString": "bytes32[]"
|
|
@@ -2985,13 +3131,13 @@
|
|
|
2985
3131
|
},
|
|
2986
3132
|
{
|
|
2987
3133
|
"constant": false,
|
|
2988
|
-
"id":
|
|
3134
|
+
"id": 996,
|
|
2989
3135
|
"mutability": "mutable",
|
|
2990
3136
|
"name": "schemaIndex",
|
|
2991
|
-
"nameLocation": "
|
|
3137
|
+
"nameLocation": "3629:11:2",
|
|
2992
3138
|
"nodeType": "VariableDeclaration",
|
|
2993
|
-
"scope":
|
|
2994
|
-
"src": "
|
|
3139
|
+
"scope": 1001,
|
|
3140
|
+
"src": "3623:17:2",
|
|
2995
3141
|
"stateVariable": false,
|
|
2996
3142
|
"storageLocation": "default",
|
|
2997
3143
|
"typeDescriptions": {
|
|
@@ -2999,10 +3145,10 @@
|
|
|
2999
3145
|
"typeString": "uint8"
|
|
3000
3146
|
},
|
|
3001
3147
|
"typeName": {
|
|
3002
|
-
"id":
|
|
3148
|
+
"id": 995,
|
|
3003
3149
|
"name": "uint8",
|
|
3004
3150
|
"nodeType": "ElementaryTypeName",
|
|
3005
|
-
"src": "
|
|
3151
|
+
"src": "3623:5:2",
|
|
3006
3152
|
"typeDescriptions": {
|
|
3007
3153
|
"typeIdentifier": "t_uint8",
|
|
3008
3154
|
"typeString": "uint8"
|
|
@@ -3012,13 +3158,13 @@
|
|
|
3012
3158
|
},
|
|
3013
3159
|
{
|
|
3014
3160
|
"constant": false,
|
|
3015
|
-
"id":
|
|
3161
|
+
"id": 998,
|
|
3016
3162
|
"mutability": "mutable",
|
|
3017
3163
|
"name": "data",
|
|
3018
|
-
"nameLocation": "
|
|
3164
|
+
"nameLocation": "3655:4:2",
|
|
3019
3165
|
"nodeType": "VariableDeclaration",
|
|
3020
|
-
"scope":
|
|
3021
|
-
"src": "
|
|
3166
|
+
"scope": 1001,
|
|
3167
|
+
"src": "3642:17:2",
|
|
3022
3168
|
"stateVariable": false,
|
|
3023
3169
|
"storageLocation": "memory",
|
|
3024
3170
|
"typeDescriptions": {
|
|
@@ -3026,10 +3172,10 @@
|
|
|
3026
3172
|
"typeString": "bytes"
|
|
3027
3173
|
},
|
|
3028
3174
|
"typeName": {
|
|
3029
|
-
"id":
|
|
3175
|
+
"id": 997,
|
|
3030
3176
|
"name": "bytes",
|
|
3031
3177
|
"nodeType": "ElementaryTypeName",
|
|
3032
|
-
"src": "
|
|
3178
|
+
"src": "3642:5:2",
|
|
3033
3179
|
"typeDescriptions": {
|
|
3034
3180
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3035
3181
|
"typeString": "bytes"
|
|
@@ -3038,43 +3184,43 @@
|
|
|
3038
3184
|
"visibility": "internal"
|
|
3039
3185
|
}
|
|
3040
3186
|
],
|
|
3041
|
-
"src": "
|
|
3187
|
+
"src": "3585:75:2"
|
|
3042
3188
|
},
|
|
3043
3189
|
"returnParameters": {
|
|
3044
|
-
"id":
|
|
3190
|
+
"id": 1000,
|
|
3045
3191
|
"nodeType": "ParameterList",
|
|
3046
3192
|
"parameters": [],
|
|
3047
|
-
"src": "
|
|
3193
|
+
"src": "3669:0:2"
|
|
3048
3194
|
},
|
|
3049
|
-
"scope":
|
|
3195
|
+
"scope": 1010,
|
|
3050
3196
|
"stateMutability": "nonpayable",
|
|
3051
3197
|
"virtual": false,
|
|
3052
3198
|
"visibility": "external"
|
|
3053
3199
|
},
|
|
3054
3200
|
{
|
|
3055
|
-
"id":
|
|
3201
|
+
"id": 1009,
|
|
3056
3202
|
"nodeType": "FunctionDefinition",
|
|
3057
|
-
"src": "
|
|
3203
|
+
"src": "3674:70:2",
|
|
3058
3204
|
"nodes": [],
|
|
3059
3205
|
"functionSelector": "b51fef6c",
|
|
3060
3206
|
"implemented": false,
|
|
3061
3207
|
"kind": "function",
|
|
3062
3208
|
"modifiers": [],
|
|
3063
3209
|
"name": "onDeleteRecord",
|
|
3064
|
-
"nameLocation": "
|
|
3210
|
+
"nameLocation": "3683:14:2",
|
|
3065
3211
|
"parameters": {
|
|
3066
|
-
"id":
|
|
3212
|
+
"id": 1007,
|
|
3067
3213
|
"nodeType": "ParameterList",
|
|
3068
3214
|
"parameters": [
|
|
3069
3215
|
{
|
|
3070
3216
|
"constant": false,
|
|
3071
|
-
"id":
|
|
3217
|
+
"id": 1003,
|
|
3072
3218
|
"mutability": "mutable",
|
|
3073
3219
|
"name": "table",
|
|
3074
|
-
"nameLocation": "
|
|
3220
|
+
"nameLocation": "3706:5:2",
|
|
3075
3221
|
"nodeType": "VariableDeclaration",
|
|
3076
|
-
"scope":
|
|
3077
|
-
"src": "
|
|
3222
|
+
"scope": 1009,
|
|
3223
|
+
"src": "3698:13:2",
|
|
3078
3224
|
"stateVariable": false,
|
|
3079
3225
|
"storageLocation": "default",
|
|
3080
3226
|
"typeDescriptions": {
|
|
@@ -3082,10 +3228,10 @@
|
|
|
3082
3228
|
"typeString": "bytes32"
|
|
3083
3229
|
},
|
|
3084
3230
|
"typeName": {
|
|
3085
|
-
"id":
|
|
3231
|
+
"id": 1002,
|
|
3086
3232
|
"name": "bytes32",
|
|
3087
3233
|
"nodeType": "ElementaryTypeName",
|
|
3088
|
-
"src": "
|
|
3234
|
+
"src": "3698:7:2",
|
|
3089
3235
|
"typeDescriptions": {
|
|
3090
3236
|
"typeIdentifier": "t_bytes32",
|
|
3091
3237
|
"typeString": "bytes32"
|
|
@@ -3095,13 +3241,13 @@
|
|
|
3095
3241
|
},
|
|
3096
3242
|
{
|
|
3097
3243
|
"constant": false,
|
|
3098
|
-
"id":
|
|
3244
|
+
"id": 1006,
|
|
3099
3245
|
"mutability": "mutable",
|
|
3100
3246
|
"name": "key",
|
|
3101
|
-
"nameLocation": "
|
|
3247
|
+
"nameLocation": "3730:3:2",
|
|
3102
3248
|
"nodeType": "VariableDeclaration",
|
|
3103
|
-
"scope":
|
|
3104
|
-
"src": "
|
|
3249
|
+
"scope": 1009,
|
|
3250
|
+
"src": "3713:20:2",
|
|
3105
3251
|
"stateVariable": false,
|
|
3106
3252
|
"storageLocation": "memory",
|
|
3107
3253
|
"typeDescriptions": {
|
|
@@ -3110,18 +3256,18 @@
|
|
|
3110
3256
|
},
|
|
3111
3257
|
"typeName": {
|
|
3112
3258
|
"baseType": {
|
|
3113
|
-
"id":
|
|
3259
|
+
"id": 1004,
|
|
3114
3260
|
"name": "bytes32",
|
|
3115
3261
|
"nodeType": "ElementaryTypeName",
|
|
3116
|
-
"src": "
|
|
3262
|
+
"src": "3713:7:2",
|
|
3117
3263
|
"typeDescriptions": {
|
|
3118
3264
|
"typeIdentifier": "t_bytes32",
|
|
3119
3265
|
"typeString": "bytes32"
|
|
3120
3266
|
}
|
|
3121
3267
|
},
|
|
3122
|
-
"id":
|
|
3268
|
+
"id": 1005,
|
|
3123
3269
|
"nodeType": "ArrayTypeName",
|
|
3124
|
-
"src": "
|
|
3270
|
+
"src": "3713:9:2",
|
|
3125
3271
|
"typeDescriptions": {
|
|
3126
3272
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3127
3273
|
"typeString": "bytes32[]"
|
|
@@ -3130,15 +3276,15 @@
|
|
|
3130
3276
|
"visibility": "internal"
|
|
3131
3277
|
}
|
|
3132
3278
|
],
|
|
3133
|
-
"src": "
|
|
3279
|
+
"src": "3697:37:2"
|
|
3134
3280
|
},
|
|
3135
3281
|
"returnParameters": {
|
|
3136
|
-
"id":
|
|
3282
|
+
"id": 1008,
|
|
3137
3283
|
"nodeType": "ParameterList",
|
|
3138
3284
|
"parameters": [],
|
|
3139
|
-
"src": "
|
|
3285
|
+
"src": "3743:0:2"
|
|
3140
3286
|
},
|
|
3141
|
-
"scope":
|
|
3287
|
+
"scope": 1010,
|
|
3142
3288
|
"stateMutability": "nonpayable",
|
|
3143
3289
|
"virtual": false,
|
|
3144
3290
|
"visibility": "external"
|
|
@@ -3151,11 +3297,11 @@
|
|
|
3151
3297
|
"contractKind": "interface",
|
|
3152
3298
|
"fullyImplemented": false,
|
|
3153
3299
|
"linearizedBaseContracts": [
|
|
3154
|
-
|
|
3300
|
+
1010
|
|
3155
3301
|
],
|
|
3156
3302
|
"name": "IStoreHook",
|
|
3157
|
-
"nameLocation": "
|
|
3158
|
-
"scope":
|
|
3303
|
+
"nameLocation": "3262:10:2",
|
|
3304
|
+
"scope": 1011,
|
|
3159
3305
|
"usedErrors": []
|
|
3160
3306
|
}
|
|
3161
3307
|
],
|