@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
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"onDeleteRecord(bytes32,bytes32[])": "b51fef6c",
|
|
115
115
|
"onSetRecord(bytes32,bytes32[],bytes)": "82b6745f"
|
|
116
116
|
},
|
|
117
|
-
"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\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onAfterSetField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onBeforeSetField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"onDeleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onSetRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"IStoreHook\"},\"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\":\"
|
|
117
|
+
"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\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onAfterSetField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onBeforeSetField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"onDeleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onSetRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"IStoreHook\"},\"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}",
|
|
118
118
|
"metadata": {
|
|
119
119
|
"compiler": {
|
|
120
120
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -264,10 +264,10 @@
|
|
|
264
264
|
"license": "MIT"
|
|
265
265
|
},
|
|
266
266
|
"/home/runner/work/mud/mud/packages/store/src/IStore.sol": {
|
|
267
|
-
"keccak256": "
|
|
267
|
+
"keccak256": "0x465c23c85a77fdc6001f06a6899080c1d6cfef9858886d7d922e54fce1eb79e6",
|
|
268
268
|
"urls": [
|
|
269
|
-
"bzz-raw://
|
|
270
|
-
"dweb:/ipfs/
|
|
269
|
+
"bzz-raw://6358088868fa52711e65d3462eb6b6762fe736eb7f033909e3260280b6a87957",
|
|
270
|
+
"dweb:/ipfs/QmdkwwvTa9Hzc5SDP4C1hvrKzc8SxWNDrxNqQKw4ZoCKzL"
|
|
271
271
|
],
|
|
272
272
|
"license": "MIT"
|
|
273
273
|
},
|
|
@@ -340,35 +340,35 @@
|
|
|
340
340
|
},
|
|
341
341
|
"ast": {
|
|
342
342
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IStore.sol",
|
|
343
|
-
"id":
|
|
343
|
+
"id": 1011,
|
|
344
344
|
"exportedSymbols": {
|
|
345
345
|
"IErrors": [
|
|
346
346
|
768
|
|
347
347
|
],
|
|
348
348
|
"IStore": [
|
|
349
|
-
|
|
349
|
+
967
|
|
350
350
|
],
|
|
351
351
|
"IStoreData": [
|
|
352
|
-
|
|
352
|
+
931
|
|
353
353
|
],
|
|
354
354
|
"IStoreHook": [
|
|
355
|
-
|
|
355
|
+
1010
|
|
356
356
|
],
|
|
357
357
|
"IStoreRead": [
|
|
358
358
|
829
|
|
359
359
|
],
|
|
360
360
|
"IStoreRegistration": [
|
|
361
|
-
|
|
361
|
+
962
|
|
362
362
|
],
|
|
363
363
|
"IStoreWrite": [
|
|
364
|
-
|
|
364
|
+
925
|
|
365
365
|
],
|
|
366
366
|
"Schema": [
|
|
367
|
-
|
|
367
|
+
1517
|
|
368
368
|
]
|
|
369
369
|
},
|
|
370
370
|
"nodeType": "SourceUnit",
|
|
371
|
-
"src": "32:
|
|
371
|
+
"src": "32:3715:2",
|
|
372
372
|
"nodes": [
|
|
373
373
|
{
|
|
374
374
|
"id": 770,
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IErrors.sol",
|
|
391
391
|
"file": "./IErrors.sol",
|
|
392
392
|
"nameLocation": "-1:-1:-1",
|
|
393
|
-
"scope":
|
|
393
|
+
"scope": 1011,
|
|
394
394
|
"sourceUnit": 769,
|
|
395
395
|
"symbolAliases": [
|
|
396
396
|
{
|
|
@@ -416,8 +416,8 @@
|
|
|
416
416
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/Schema.sol",
|
|
417
417
|
"file": "./Schema.sol",
|
|
418
418
|
"nameLocation": "-1:-1:-1",
|
|
419
|
-
"scope":
|
|
420
|
-
"sourceUnit":
|
|
419
|
+
"scope": 1011,
|
|
420
|
+
"sourceUnit": 2285,
|
|
421
421
|
"symbolAliases": [
|
|
422
422
|
{
|
|
423
423
|
"foreign": {
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
"name": "Schema",
|
|
426
426
|
"nodeType": "Identifier",
|
|
427
427
|
"overloadedDeclarations": [],
|
|
428
|
-
"referencedDeclaration":
|
|
428
|
+
"referencedDeclaration": 1517,
|
|
429
429
|
"src": "108:6:2",
|
|
430
430
|
"typeDescriptions": {}
|
|
431
431
|
},
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
"stateVariable": false,
|
|
501
501
|
"storageLocation": "default",
|
|
502
502
|
"typeDescriptions": {
|
|
503
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
503
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
504
504
|
"typeString": "Schema"
|
|
505
505
|
},
|
|
506
506
|
"typeName": {
|
|
@@ -510,13 +510,13 @@
|
|
|
510
510
|
"id": 778,
|
|
511
511
|
"name": "Schema",
|
|
512
512
|
"nodeType": "IdentifierPath",
|
|
513
|
-
"referencedDeclaration":
|
|
513
|
+
"referencedDeclaration": 1517,
|
|
514
514
|
"src": "221:6:2"
|
|
515
515
|
},
|
|
516
|
-
"referencedDeclaration":
|
|
516
|
+
"referencedDeclaration": 1517,
|
|
517
517
|
"src": "221:6:2",
|
|
518
518
|
"typeDescriptions": {
|
|
519
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
519
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
520
520
|
"typeString": "Schema"
|
|
521
521
|
}
|
|
522
522
|
},
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"stateVariable": false,
|
|
592
592
|
"storageLocation": "default",
|
|
593
593
|
"typeDescriptions": {
|
|
594
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
594
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
595
595
|
"typeString": "Schema"
|
|
596
596
|
},
|
|
597
597
|
"typeName": {
|
|
@@ -601,13 +601,13 @@
|
|
|
601
601
|
"id": 786,
|
|
602
602
|
"name": "Schema",
|
|
603
603
|
"nodeType": "IdentifierPath",
|
|
604
|
-
"referencedDeclaration":
|
|
604
|
+
"referencedDeclaration": 1517,
|
|
605
605
|
"src": "300:6:2"
|
|
606
606
|
},
|
|
607
|
-
"referencedDeclaration":
|
|
607
|
+
"referencedDeclaration": 1517,
|
|
608
608
|
"src": "300:6:2",
|
|
609
609
|
"typeDescriptions": {
|
|
610
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
610
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
611
611
|
"typeString": "Schema"
|
|
612
612
|
}
|
|
613
613
|
},
|
|
@@ -831,7 +831,7 @@
|
|
|
831
831
|
"stateVariable": false,
|
|
832
832
|
"storageLocation": "default",
|
|
833
833
|
"typeDescriptions": {
|
|
834
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
834
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
835
835
|
"typeString": "Schema"
|
|
836
836
|
},
|
|
837
837
|
"typeName": {
|
|
@@ -841,13 +841,13 @@
|
|
|
841
841
|
"id": 806,
|
|
842
842
|
"name": "Schema",
|
|
843
843
|
"nodeType": "IdentifierPath",
|
|
844
|
-
"referencedDeclaration":
|
|
844
|
+
"referencedDeclaration": 1517,
|
|
845
845
|
"src": "599:6:2"
|
|
846
846
|
},
|
|
847
|
-
"referencedDeclaration":
|
|
847
|
+
"referencedDeclaration": 1517,
|
|
848
848
|
"src": "599:6:2",
|
|
849
849
|
"typeDescriptions": {
|
|
850
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
850
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
851
851
|
"typeString": "Schema"
|
|
852
852
|
}
|
|
853
853
|
},
|
|
@@ -1082,13 +1082,13 @@
|
|
|
1082
1082
|
],
|
|
1083
1083
|
"name": "IStoreRead",
|
|
1084
1084
|
"nameLocation": "149:10:2",
|
|
1085
|
-
"scope":
|
|
1085
|
+
"scope": 1011,
|
|
1086
1086
|
"usedErrors": []
|
|
1087
1087
|
},
|
|
1088
1088
|
{
|
|
1089
|
-
"id":
|
|
1089
|
+
"id": 925,
|
|
1090
1090
|
"nodeType": "ContractDefinition",
|
|
1091
|
-
"src": "1073:
|
|
1091
|
+
"src": "1073:1239:2",
|
|
1092
1092
|
"nodes": [
|
|
1093
1093
|
{
|
|
1094
1094
|
"id": 838,
|
|
@@ -1534,7 +1534,7 @@
|
|
|
1534
1534
|
"parameters": [],
|
|
1535
1535
|
"src": "1445:0:2"
|
|
1536
1536
|
},
|
|
1537
|
-
"scope":
|
|
1537
|
+
"scope": 925,
|
|
1538
1538
|
"stateMutability": "nonpayable",
|
|
1539
1539
|
"virtual": false,
|
|
1540
1540
|
"visibility": "external"
|
|
@@ -1680,7 +1680,7 @@
|
|
|
1680
1680
|
"parameters": [],
|
|
1681
1681
|
"src": "1593:0:2"
|
|
1682
1682
|
},
|
|
1683
|
-
"scope":
|
|
1683
|
+
"scope": 925,
|
|
1684
1684
|
"stateMutability": "nonpayable",
|
|
1685
1685
|
"virtual": false,
|
|
1686
1686
|
"visibility": "external"
|
|
@@ -1826,24 +1826,24 @@
|
|
|
1826
1826
|
"parameters": [],
|
|
1827
1827
|
"src": "1773:0:2"
|
|
1828
1828
|
},
|
|
1829
|
-
"scope":
|
|
1829
|
+
"scope": 925,
|
|
1830
1830
|
"stateMutability": "nonpayable",
|
|
1831
1831
|
"virtual": false,
|
|
1832
1832
|
"visibility": "external"
|
|
1833
1833
|
},
|
|
1834
1834
|
{
|
|
1835
|
-
"id":
|
|
1835
|
+
"id": 902,
|
|
1836
1836
|
"nodeType": "FunctionDefinition",
|
|
1837
|
-
"src": "
|
|
1837
|
+
"src": "1838:114:2",
|
|
1838
1838
|
"nodes": [],
|
|
1839
|
-
"functionSelector": "
|
|
1839
|
+
"functionSelector": "8c1f9a54",
|
|
1840
1840
|
"implemented": false,
|
|
1841
1841
|
"kind": "function",
|
|
1842
1842
|
"modifiers": [],
|
|
1843
|
-
"name": "
|
|
1844
|
-
"nameLocation": "
|
|
1843
|
+
"name": "popFromField",
|
|
1844
|
+
"nameLocation": "1847:12:2",
|
|
1845
1845
|
"parameters": {
|
|
1846
|
-
"id":
|
|
1846
|
+
"id": 900,
|
|
1847
1847
|
"nodeType": "ParameterList",
|
|
1848
1848
|
"parameters": [
|
|
1849
1849
|
{
|
|
@@ -1851,10 +1851,10 @@
|
|
|
1851
1851
|
"id": 892,
|
|
1852
1852
|
"mutability": "mutable",
|
|
1853
1853
|
"name": "table",
|
|
1854
|
-
"nameLocation": "
|
|
1854
|
+
"nameLocation": "1868:5:2",
|
|
1855
1855
|
"nodeType": "VariableDeclaration",
|
|
1856
|
-
"scope":
|
|
1857
|
-
"src": "
|
|
1856
|
+
"scope": 902,
|
|
1857
|
+
"src": "1860:13:2",
|
|
1858
1858
|
"stateVariable": false,
|
|
1859
1859
|
"storageLocation": "default",
|
|
1860
1860
|
"typeDescriptions": {
|
|
@@ -1865,7 +1865,7 @@
|
|
|
1865
1865
|
"id": 891,
|
|
1866
1866
|
"name": "bytes32",
|
|
1867
1867
|
"nodeType": "ElementaryTypeName",
|
|
1868
|
-
"src": "
|
|
1868
|
+
"src": "1860:7:2",
|
|
1869
1869
|
"typeDescriptions": {
|
|
1870
1870
|
"typeIdentifier": "t_bytes32",
|
|
1871
1871
|
"typeString": "bytes32"
|
|
@@ -1878,10 +1878,10 @@
|
|
|
1878
1878
|
"id": 895,
|
|
1879
1879
|
"mutability": "mutable",
|
|
1880
1880
|
"name": "key",
|
|
1881
|
-
"nameLocation": "
|
|
1881
|
+
"nameLocation": "1894:3:2",
|
|
1882
1882
|
"nodeType": "VariableDeclaration",
|
|
1883
|
-
"scope":
|
|
1884
|
-
"src": "
|
|
1883
|
+
"scope": 902,
|
|
1884
|
+
"src": "1875:22:2",
|
|
1885
1885
|
"stateVariable": false,
|
|
1886
1886
|
"storageLocation": "calldata",
|
|
1887
1887
|
"typeDescriptions": {
|
|
@@ -1893,7 +1893,7 @@
|
|
|
1893
1893
|
"id": 893,
|
|
1894
1894
|
"name": "bytes32",
|
|
1895
1895
|
"nodeType": "ElementaryTypeName",
|
|
1896
|
-
"src": "
|
|
1896
|
+
"src": "1875:7:2",
|
|
1897
1897
|
"typeDescriptions": {
|
|
1898
1898
|
"typeIdentifier": "t_bytes32",
|
|
1899
1899
|
"typeString": "bytes32"
|
|
@@ -1901,7 +1901,7 @@
|
|
|
1901
1901
|
},
|
|
1902
1902
|
"id": 894,
|
|
1903
1903
|
"nodeType": "ArrayTypeName",
|
|
1904
|
-
"src": "
|
|
1904
|
+
"src": "1875:9:2",
|
|
1905
1905
|
"typeDescriptions": {
|
|
1906
1906
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1907
1907
|
"typeString": "bytes32[]"
|
|
@@ -1914,10 +1914,10 @@
|
|
|
1914
1914
|
"id": 897,
|
|
1915
1915
|
"mutability": "mutable",
|
|
1916
1916
|
"name": "schemaIndex",
|
|
1917
|
-
"nameLocation": "
|
|
1917
|
+
"nameLocation": "1905:11:2",
|
|
1918
1918
|
"nodeType": "VariableDeclaration",
|
|
1919
|
-
"scope":
|
|
1920
|
-
"src": "
|
|
1919
|
+
"scope": 902,
|
|
1920
|
+
"src": "1899:17:2",
|
|
1921
1921
|
"stateVariable": false,
|
|
1922
1922
|
"storageLocation": "default",
|
|
1923
1923
|
"typeDescriptions": {
|
|
@@ -1928,7 +1928,7 @@
|
|
|
1928
1928
|
"id": 896,
|
|
1929
1929
|
"name": "uint8",
|
|
1930
1930
|
"nodeType": "ElementaryTypeName",
|
|
1931
|
-
"src": "
|
|
1931
|
+
"src": "1899:5:2",
|
|
1932
1932
|
"typeDescriptions": {
|
|
1933
1933
|
"typeIdentifier": "t_uint8",
|
|
1934
1934
|
"typeString": "uint8"
|
|
@@ -1940,11 +1940,11 @@
|
|
|
1940
1940
|
"constant": false,
|
|
1941
1941
|
"id": 899,
|
|
1942
1942
|
"mutability": "mutable",
|
|
1943
|
-
"name": "
|
|
1944
|
-
"nameLocation": "
|
|
1943
|
+
"name": "byteLengthToPop",
|
|
1944
|
+
"nameLocation": "1926:15:2",
|
|
1945
1945
|
"nodeType": "VariableDeclaration",
|
|
1946
|
-
"scope":
|
|
1947
|
-
"src": "
|
|
1946
|
+
"scope": 902,
|
|
1947
|
+
"src": "1918:23:2",
|
|
1948
1948
|
"stateVariable": false,
|
|
1949
1949
|
"storageLocation": "default",
|
|
1950
1950
|
"typeDescriptions": {
|
|
@@ -1955,7 +1955,153 @@
|
|
|
1955
1955
|
"id": 898,
|
|
1956
1956
|
"name": "uint256",
|
|
1957
1957
|
"nodeType": "ElementaryTypeName",
|
|
1958
|
-
"src": "
|
|
1958
|
+
"src": "1918:7:2",
|
|
1959
|
+
"typeDescriptions": {
|
|
1960
|
+
"typeIdentifier": "t_uint256",
|
|
1961
|
+
"typeString": "uint256"
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1964
|
+
"visibility": "internal"
|
|
1965
|
+
}
|
|
1966
|
+
],
|
|
1967
|
+
"src": "1859:83:2"
|
|
1968
|
+
},
|
|
1969
|
+
"returnParameters": {
|
|
1970
|
+
"id": 901,
|
|
1971
|
+
"nodeType": "ParameterList",
|
|
1972
|
+
"parameters": [],
|
|
1973
|
+
"src": "1951:0:2"
|
|
1974
|
+
},
|
|
1975
|
+
"scope": 925,
|
|
1976
|
+
"stateMutability": "nonpayable",
|
|
1977
|
+
"virtual": false,
|
|
1978
|
+
"visibility": "external"
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
"id": 916,
|
|
1982
|
+
"nodeType": "FunctionDefinition",
|
|
1983
|
+
"src": "2023:164:2",
|
|
1984
|
+
"nodes": [],
|
|
1985
|
+
"functionSelector": "776d4047",
|
|
1986
|
+
"implemented": false,
|
|
1987
|
+
"kind": "function",
|
|
1988
|
+
"modifiers": [],
|
|
1989
|
+
"name": "updateInField",
|
|
1990
|
+
"nameLocation": "2032:13:2",
|
|
1991
|
+
"parameters": {
|
|
1992
|
+
"id": 914,
|
|
1993
|
+
"nodeType": "ParameterList",
|
|
1994
|
+
"parameters": [
|
|
1995
|
+
{
|
|
1996
|
+
"constant": false,
|
|
1997
|
+
"id": 904,
|
|
1998
|
+
"mutability": "mutable",
|
|
1999
|
+
"name": "table",
|
|
2000
|
+
"nameLocation": "2059:5:2",
|
|
2001
|
+
"nodeType": "VariableDeclaration",
|
|
2002
|
+
"scope": 916,
|
|
2003
|
+
"src": "2051:13:2",
|
|
2004
|
+
"stateVariable": false,
|
|
2005
|
+
"storageLocation": "default",
|
|
2006
|
+
"typeDescriptions": {
|
|
2007
|
+
"typeIdentifier": "t_bytes32",
|
|
2008
|
+
"typeString": "bytes32"
|
|
2009
|
+
},
|
|
2010
|
+
"typeName": {
|
|
2011
|
+
"id": 903,
|
|
2012
|
+
"name": "bytes32",
|
|
2013
|
+
"nodeType": "ElementaryTypeName",
|
|
2014
|
+
"src": "2051:7:2",
|
|
2015
|
+
"typeDescriptions": {
|
|
2016
|
+
"typeIdentifier": "t_bytes32",
|
|
2017
|
+
"typeString": "bytes32"
|
|
2018
|
+
}
|
|
2019
|
+
},
|
|
2020
|
+
"visibility": "internal"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"constant": false,
|
|
2024
|
+
"id": 907,
|
|
2025
|
+
"mutability": "mutable",
|
|
2026
|
+
"name": "key",
|
|
2027
|
+
"nameLocation": "2089:3:2",
|
|
2028
|
+
"nodeType": "VariableDeclaration",
|
|
2029
|
+
"scope": 916,
|
|
2030
|
+
"src": "2070:22:2",
|
|
2031
|
+
"stateVariable": false,
|
|
2032
|
+
"storageLocation": "calldata",
|
|
2033
|
+
"typeDescriptions": {
|
|
2034
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
2035
|
+
"typeString": "bytes32[]"
|
|
2036
|
+
},
|
|
2037
|
+
"typeName": {
|
|
2038
|
+
"baseType": {
|
|
2039
|
+
"id": 905,
|
|
2040
|
+
"name": "bytes32",
|
|
2041
|
+
"nodeType": "ElementaryTypeName",
|
|
2042
|
+
"src": "2070:7:2",
|
|
2043
|
+
"typeDescriptions": {
|
|
2044
|
+
"typeIdentifier": "t_bytes32",
|
|
2045
|
+
"typeString": "bytes32"
|
|
2046
|
+
}
|
|
2047
|
+
},
|
|
2048
|
+
"id": 906,
|
|
2049
|
+
"nodeType": "ArrayTypeName",
|
|
2050
|
+
"src": "2070:9:2",
|
|
2051
|
+
"typeDescriptions": {
|
|
2052
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2053
|
+
"typeString": "bytes32[]"
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
"visibility": "internal"
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"constant": false,
|
|
2060
|
+
"id": 909,
|
|
2061
|
+
"mutability": "mutable",
|
|
2062
|
+
"name": "schemaIndex",
|
|
2063
|
+
"nameLocation": "2104:11:2",
|
|
2064
|
+
"nodeType": "VariableDeclaration",
|
|
2065
|
+
"scope": 916,
|
|
2066
|
+
"src": "2098:17:2",
|
|
2067
|
+
"stateVariable": false,
|
|
2068
|
+
"storageLocation": "default",
|
|
2069
|
+
"typeDescriptions": {
|
|
2070
|
+
"typeIdentifier": "t_uint8",
|
|
2071
|
+
"typeString": "uint8"
|
|
2072
|
+
},
|
|
2073
|
+
"typeName": {
|
|
2074
|
+
"id": 908,
|
|
2075
|
+
"name": "uint8",
|
|
2076
|
+
"nodeType": "ElementaryTypeName",
|
|
2077
|
+
"src": "2098:5:2",
|
|
2078
|
+
"typeDescriptions": {
|
|
2079
|
+
"typeIdentifier": "t_uint8",
|
|
2080
|
+
"typeString": "uint8"
|
|
2081
|
+
}
|
|
2082
|
+
},
|
|
2083
|
+
"visibility": "internal"
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"constant": false,
|
|
2087
|
+
"id": 911,
|
|
2088
|
+
"mutability": "mutable",
|
|
2089
|
+
"name": "startByteIndex",
|
|
2090
|
+
"nameLocation": "2129:14:2",
|
|
2091
|
+
"nodeType": "VariableDeclaration",
|
|
2092
|
+
"scope": 916,
|
|
2093
|
+
"src": "2121:22:2",
|
|
2094
|
+
"stateVariable": false,
|
|
2095
|
+
"storageLocation": "default",
|
|
2096
|
+
"typeDescriptions": {
|
|
2097
|
+
"typeIdentifier": "t_uint256",
|
|
2098
|
+
"typeString": "uint256"
|
|
2099
|
+
},
|
|
2100
|
+
"typeName": {
|
|
2101
|
+
"id": 910,
|
|
2102
|
+
"name": "uint256",
|
|
2103
|
+
"nodeType": "ElementaryTypeName",
|
|
2104
|
+
"src": "2121:7:2",
|
|
1959
2105
|
"typeDescriptions": {
|
|
1960
2106
|
"typeIdentifier": "t_uint256",
|
|
1961
2107
|
"typeString": "uint256"
|
|
@@ -1965,13 +2111,13 @@
|
|
|
1965
2111
|
},
|
|
1966
2112
|
{
|
|
1967
2113
|
"constant": false,
|
|
1968
|
-
"id":
|
|
2114
|
+
"id": 913,
|
|
1969
2115
|
"mutability": "mutable",
|
|
1970
2116
|
"name": "dataToSet",
|
|
1971
|
-
"nameLocation": "
|
|
2117
|
+
"nameLocation": "2164:9:2",
|
|
1972
2118
|
"nodeType": "VariableDeclaration",
|
|
1973
|
-
"scope":
|
|
1974
|
-
"src": "
|
|
2119
|
+
"scope": 916,
|
|
2120
|
+
"src": "2149:24:2",
|
|
1975
2121
|
"stateVariable": false,
|
|
1976
2122
|
"storageLocation": "calldata",
|
|
1977
2123
|
"typeDescriptions": {
|
|
@@ -1979,10 +2125,10 @@
|
|
|
1979
2125
|
"typeString": "bytes"
|
|
1980
2126
|
},
|
|
1981
2127
|
"typeName": {
|
|
1982
|
-
"id":
|
|
2128
|
+
"id": 912,
|
|
1983
2129
|
"name": "bytes",
|
|
1984
2130
|
"nodeType": "ElementaryTypeName",
|
|
1985
|
-
"src": "
|
|
2131
|
+
"src": "2149:5:2",
|
|
1986
2132
|
"typeDescriptions": {
|
|
1987
2133
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1988
2134
|
"typeString": "bytes"
|
|
@@ -1991,43 +2137,43 @@
|
|
|
1991
2137
|
"visibility": "internal"
|
|
1992
2138
|
}
|
|
1993
2139
|
],
|
|
1994
|
-
"src": "
|
|
2140
|
+
"src": "2045:132:2"
|
|
1995
2141
|
},
|
|
1996
2142
|
"returnParameters": {
|
|
1997
|
-
"id":
|
|
2143
|
+
"id": 915,
|
|
1998
2144
|
"nodeType": "ParameterList",
|
|
1999
2145
|
"parameters": [],
|
|
2000
|
-
"src": "
|
|
2146
|
+
"src": "2186:0:2"
|
|
2001
2147
|
},
|
|
2002
|
-
"scope":
|
|
2148
|
+
"scope": 925,
|
|
2003
2149
|
"stateMutability": "nonpayable",
|
|
2004
2150
|
"virtual": false,
|
|
2005
2151
|
"visibility": "external"
|
|
2006
2152
|
},
|
|
2007
2153
|
{
|
|
2008
|
-
"id":
|
|
2154
|
+
"id": 924,
|
|
2009
2155
|
"nodeType": "FunctionDefinition",
|
|
2010
|
-
"src": "
|
|
2156
|
+
"src": "2242:68:2",
|
|
2011
2157
|
"nodes": [],
|
|
2012
2158
|
"functionSelector": "505a181d",
|
|
2013
2159
|
"implemented": false,
|
|
2014
2160
|
"kind": "function",
|
|
2015
2161
|
"modifiers": [],
|
|
2016
2162
|
"name": "deleteRecord",
|
|
2017
|
-
"nameLocation": "
|
|
2163
|
+
"nameLocation": "2251:12:2",
|
|
2018
2164
|
"parameters": {
|
|
2019
|
-
"id":
|
|
2165
|
+
"id": 922,
|
|
2020
2166
|
"nodeType": "ParameterList",
|
|
2021
2167
|
"parameters": [
|
|
2022
2168
|
{
|
|
2023
2169
|
"constant": false,
|
|
2024
|
-
"id":
|
|
2170
|
+
"id": 918,
|
|
2025
2171
|
"mutability": "mutable",
|
|
2026
2172
|
"name": "table",
|
|
2027
|
-
"nameLocation": "
|
|
2173
|
+
"nameLocation": "2272:5:2",
|
|
2028
2174
|
"nodeType": "VariableDeclaration",
|
|
2029
|
-
"scope":
|
|
2030
|
-
"src": "
|
|
2175
|
+
"scope": 924,
|
|
2176
|
+
"src": "2264:13:2",
|
|
2031
2177
|
"stateVariable": false,
|
|
2032
2178
|
"storageLocation": "default",
|
|
2033
2179
|
"typeDescriptions": {
|
|
@@ -2035,10 +2181,10 @@
|
|
|
2035
2181
|
"typeString": "bytes32"
|
|
2036
2182
|
},
|
|
2037
2183
|
"typeName": {
|
|
2038
|
-
"id":
|
|
2184
|
+
"id": 917,
|
|
2039
2185
|
"name": "bytes32",
|
|
2040
2186
|
"nodeType": "ElementaryTypeName",
|
|
2041
|
-
"src": "
|
|
2187
|
+
"src": "2264:7:2",
|
|
2042
2188
|
"typeDescriptions": {
|
|
2043
2189
|
"typeIdentifier": "t_bytes32",
|
|
2044
2190
|
"typeString": "bytes32"
|
|
@@ -2048,13 +2194,13 @@
|
|
|
2048
2194
|
},
|
|
2049
2195
|
{
|
|
2050
2196
|
"constant": false,
|
|
2051
|
-
"id":
|
|
2197
|
+
"id": 921,
|
|
2052
2198
|
"mutability": "mutable",
|
|
2053
2199
|
"name": "key",
|
|
2054
|
-
"nameLocation": "
|
|
2200
|
+
"nameLocation": "2296:3:2",
|
|
2055
2201
|
"nodeType": "VariableDeclaration",
|
|
2056
|
-
"scope":
|
|
2057
|
-
"src": "
|
|
2202
|
+
"scope": 924,
|
|
2203
|
+
"src": "2279:20:2",
|
|
2058
2204
|
"stateVariable": false,
|
|
2059
2205
|
"storageLocation": "memory",
|
|
2060
2206
|
"typeDescriptions": {
|
|
@@ -2063,18 +2209,18 @@
|
|
|
2063
2209
|
},
|
|
2064
2210
|
"typeName": {
|
|
2065
2211
|
"baseType": {
|
|
2066
|
-
"id":
|
|
2212
|
+
"id": 919,
|
|
2067
2213
|
"name": "bytes32",
|
|
2068
2214
|
"nodeType": "ElementaryTypeName",
|
|
2069
|
-
"src": "
|
|
2215
|
+
"src": "2279:7:2",
|
|
2070
2216
|
"typeDescriptions": {
|
|
2071
2217
|
"typeIdentifier": "t_bytes32",
|
|
2072
2218
|
"typeString": "bytes32"
|
|
2073
2219
|
}
|
|
2074
2220
|
},
|
|
2075
|
-
"id":
|
|
2221
|
+
"id": 920,
|
|
2076
2222
|
"nodeType": "ArrayTypeName",
|
|
2077
|
-
"src": "
|
|
2223
|
+
"src": "2279:9:2",
|
|
2078
2224
|
"typeDescriptions": {
|
|
2079
2225
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2080
2226
|
"typeString": "bytes32[]"
|
|
@@ -2083,15 +2229,15 @@
|
|
|
2083
2229
|
"visibility": "internal"
|
|
2084
2230
|
}
|
|
2085
2231
|
],
|
|
2086
|
-
"src": "
|
|
2232
|
+
"src": "2263:37:2"
|
|
2087
2233
|
},
|
|
2088
2234
|
"returnParameters": {
|
|
2089
|
-
"id":
|
|
2235
|
+
"id": 923,
|
|
2090
2236
|
"nodeType": "ParameterList",
|
|
2091
2237
|
"parameters": [],
|
|
2092
|
-
"src": "
|
|
2238
|
+
"src": "2309:0:2"
|
|
2093
2239
|
},
|
|
2094
|
-
"scope":
|
|
2240
|
+
"scope": 925,
|
|
2095
2241
|
"stateMutability": "nonpayable",
|
|
2096
2242
|
"virtual": false,
|
|
2097
2243
|
"visibility": "external"
|
|
@@ -2104,94 +2250,94 @@
|
|
|
2104
2250
|
"contractKind": "interface",
|
|
2105
2251
|
"fullyImplemented": false,
|
|
2106
2252
|
"linearizedBaseContracts": [
|
|
2107
|
-
|
|
2253
|
+
925
|
|
2108
2254
|
],
|
|
2109
2255
|
"name": "IStoreWrite",
|
|
2110
2256
|
"nameLocation": "1083:11:2",
|
|
2111
|
-
"scope":
|
|
2257
|
+
"scope": 1011,
|
|
2112
2258
|
"usedErrors": []
|
|
2113
2259
|
},
|
|
2114
2260
|
{
|
|
2115
|
-
"id":
|
|
2261
|
+
"id": 931,
|
|
2116
2262
|
"nodeType": "ContractDefinition",
|
|
2117
|
-
"src": "
|
|
2263
|
+
"src": "2523:52:2",
|
|
2118
2264
|
"nodes": [],
|
|
2119
2265
|
"abstract": false,
|
|
2120
2266
|
"baseContracts": [
|
|
2121
2267
|
{
|
|
2122
2268
|
"baseName": {
|
|
2123
|
-
"id":
|
|
2269
|
+
"id": 927,
|
|
2124
2270
|
"name": "IStoreRead",
|
|
2125
2271
|
"nodeType": "IdentifierPath",
|
|
2126
2272
|
"referencedDeclaration": 829,
|
|
2127
|
-
"src": "
|
|
2273
|
+
"src": "2547:10:2"
|
|
2128
2274
|
},
|
|
2129
|
-
"id":
|
|
2275
|
+
"id": 928,
|
|
2130
2276
|
"nodeType": "InheritanceSpecifier",
|
|
2131
|
-
"src": "
|
|
2277
|
+
"src": "2547:10:2"
|
|
2132
2278
|
},
|
|
2133
2279
|
{
|
|
2134
2280
|
"baseName": {
|
|
2135
|
-
"id":
|
|
2281
|
+
"id": 929,
|
|
2136
2282
|
"name": "IStoreWrite",
|
|
2137
2283
|
"nodeType": "IdentifierPath",
|
|
2138
|
-
"referencedDeclaration":
|
|
2139
|
-
"src": "
|
|
2284
|
+
"referencedDeclaration": 925,
|
|
2285
|
+
"src": "2559:11:2"
|
|
2140
2286
|
},
|
|
2141
|
-
"id":
|
|
2287
|
+
"id": 930,
|
|
2142
2288
|
"nodeType": "InheritanceSpecifier",
|
|
2143
|
-
"src": "
|
|
2289
|
+
"src": "2559:11:2"
|
|
2144
2290
|
}
|
|
2145
2291
|
],
|
|
2146
2292
|
"canonicalName": "IStoreData",
|
|
2147
2293
|
"contractDependencies": [],
|
|
2148
2294
|
"contractKind": "interface",
|
|
2149
2295
|
"documentation": {
|
|
2150
|
-
"id":
|
|
2296
|
+
"id": 926,
|
|
2151
2297
|
"nodeType": "StructuredDocumentation",
|
|
2152
|
-
"src": "
|
|
2298
|
+
"src": "2314:208:2",
|
|
2153
2299
|
"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"
|
|
2154
2300
|
},
|
|
2155
2301
|
"fullyImplemented": false,
|
|
2156
2302
|
"linearizedBaseContracts": [
|
|
2157
|
-
|
|
2158
|
-
|
|
2303
|
+
931,
|
|
2304
|
+
925,
|
|
2159
2305
|
829
|
|
2160
2306
|
],
|
|
2161
2307
|
"name": "IStoreData",
|
|
2162
|
-
"nameLocation": "
|
|
2163
|
-
"scope":
|
|
2308
|
+
"nameLocation": "2533:10:2",
|
|
2309
|
+
"scope": 1011,
|
|
2164
2310
|
"usedErrors": []
|
|
2165
2311
|
},
|
|
2166
2312
|
{
|
|
2167
|
-
"id":
|
|
2313
|
+
"id": 962,
|
|
2168
2314
|
"nodeType": "ContractDefinition",
|
|
2169
|
-
"src": "
|
|
2315
|
+
"src": "2828:367:2",
|
|
2170
2316
|
"nodes": [
|
|
2171
2317
|
{
|
|
2172
|
-
"id":
|
|
2318
|
+
"id": 943,
|
|
2173
2319
|
"nodeType": "FunctionDefinition",
|
|
2174
|
-
"src": "
|
|
2320
|
+
"src": "2861:81:2",
|
|
2175
2321
|
"nodes": [],
|
|
2176
2322
|
"functionSelector": "d5933686",
|
|
2177
2323
|
"implemented": false,
|
|
2178
2324
|
"kind": "function",
|
|
2179
2325
|
"modifiers": [],
|
|
2180
2326
|
"name": "registerSchema",
|
|
2181
|
-
"nameLocation": "
|
|
2327
|
+
"nameLocation": "2870:14:2",
|
|
2182
2328
|
"parameters": {
|
|
2183
|
-
"id":
|
|
2329
|
+
"id": 941,
|
|
2184
2330
|
"nodeType": "ParameterList",
|
|
2185
2331
|
"parameters": [
|
|
2186
2332
|
{
|
|
2187
2333
|
"constant": false,
|
|
2188
|
-
"id":
|
|
2334
|
+
"id": 934,
|
|
2189
2335
|
"mutability": "mutable",
|
|
2190
2336
|
"name": "table",
|
|
2191
|
-
"nameLocation": "
|
|
2337
|
+
"nameLocation": "2893:5:2",
|
|
2192
2338
|
"nodeType": "VariableDeclaration",
|
|
2193
|
-
"scope":
|
|
2194
|
-
"src": "
|
|
2339
|
+
"scope": 943,
|
|
2340
|
+
"src": "2885:13:2",
|
|
2195
2341
|
"stateVariable": false,
|
|
2196
2342
|
"storageLocation": "default",
|
|
2197
2343
|
"typeDescriptions": {
|
|
@@ -2199,10 +2345,10 @@
|
|
|
2199
2345
|
"typeString": "bytes32"
|
|
2200
2346
|
},
|
|
2201
2347
|
"typeName": {
|
|
2202
|
-
"id":
|
|
2348
|
+
"id": 933,
|
|
2203
2349
|
"name": "bytes32",
|
|
2204
2350
|
"nodeType": "ElementaryTypeName",
|
|
2205
|
-
"src": "
|
|
2351
|
+
"src": "2885:7:2",
|
|
2206
2352
|
"typeDescriptions": {
|
|
2207
2353
|
"typeIdentifier": "t_bytes32",
|
|
2208
2354
|
"typeString": "bytes32"
|
|
@@ -2212,33 +2358,33 @@
|
|
|
2212
2358
|
},
|
|
2213
2359
|
{
|
|
2214
2360
|
"constant": false,
|
|
2215
|
-
"id":
|
|
2361
|
+
"id": 937,
|
|
2216
2362
|
"mutability": "mutable",
|
|
2217
2363
|
"name": "schema",
|
|
2218
|
-
"nameLocation": "
|
|
2364
|
+
"nameLocation": "2907:6:2",
|
|
2219
2365
|
"nodeType": "VariableDeclaration",
|
|
2220
|
-
"scope":
|
|
2221
|
-
"src": "
|
|
2366
|
+
"scope": 943,
|
|
2367
|
+
"src": "2900:13:2",
|
|
2222
2368
|
"stateVariable": false,
|
|
2223
2369
|
"storageLocation": "default",
|
|
2224
2370
|
"typeDescriptions": {
|
|
2225
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2371
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2226
2372
|
"typeString": "Schema"
|
|
2227
2373
|
},
|
|
2228
2374
|
"typeName": {
|
|
2229
|
-
"id":
|
|
2375
|
+
"id": 936,
|
|
2230
2376
|
"nodeType": "UserDefinedTypeName",
|
|
2231
2377
|
"pathNode": {
|
|
2232
|
-
"id":
|
|
2378
|
+
"id": 935,
|
|
2233
2379
|
"name": "Schema",
|
|
2234
2380
|
"nodeType": "IdentifierPath",
|
|
2235
|
-
"referencedDeclaration":
|
|
2236
|
-
"src": "
|
|
2381
|
+
"referencedDeclaration": 1517,
|
|
2382
|
+
"src": "2900:6:2"
|
|
2237
2383
|
},
|
|
2238
|
-
"referencedDeclaration":
|
|
2239
|
-
"src": "
|
|
2384
|
+
"referencedDeclaration": 1517,
|
|
2385
|
+
"src": "2900:6:2",
|
|
2240
2386
|
"typeDescriptions": {
|
|
2241
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2387
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2242
2388
|
"typeString": "Schema"
|
|
2243
2389
|
}
|
|
2244
2390
|
},
|
|
@@ -2246,76 +2392,76 @@
|
|
|
2246
2392
|
},
|
|
2247
2393
|
{
|
|
2248
2394
|
"constant": false,
|
|
2249
|
-
"id":
|
|
2395
|
+
"id": 940,
|
|
2250
2396
|
"mutability": "mutable",
|
|
2251
2397
|
"name": "keySchema",
|
|
2252
|
-
"nameLocation": "
|
|
2398
|
+
"nameLocation": "2922:9:2",
|
|
2253
2399
|
"nodeType": "VariableDeclaration",
|
|
2254
|
-
"scope":
|
|
2255
|
-
"src": "
|
|
2400
|
+
"scope": 943,
|
|
2401
|
+
"src": "2915:16:2",
|
|
2256
2402
|
"stateVariable": false,
|
|
2257
2403
|
"storageLocation": "default",
|
|
2258
2404
|
"typeDescriptions": {
|
|
2259
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2405
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2260
2406
|
"typeString": "Schema"
|
|
2261
2407
|
},
|
|
2262
2408
|
"typeName": {
|
|
2263
|
-
"id":
|
|
2409
|
+
"id": 939,
|
|
2264
2410
|
"nodeType": "UserDefinedTypeName",
|
|
2265
2411
|
"pathNode": {
|
|
2266
|
-
"id":
|
|
2412
|
+
"id": 938,
|
|
2267
2413
|
"name": "Schema",
|
|
2268
2414
|
"nodeType": "IdentifierPath",
|
|
2269
|
-
"referencedDeclaration":
|
|
2270
|
-
"src": "
|
|
2415
|
+
"referencedDeclaration": 1517,
|
|
2416
|
+
"src": "2915:6:2"
|
|
2271
2417
|
},
|
|
2272
|
-
"referencedDeclaration":
|
|
2273
|
-
"src": "
|
|
2418
|
+
"referencedDeclaration": 1517,
|
|
2419
|
+
"src": "2915:6:2",
|
|
2274
2420
|
"typeDescriptions": {
|
|
2275
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2421
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2276
2422
|
"typeString": "Schema"
|
|
2277
2423
|
}
|
|
2278
2424
|
},
|
|
2279
2425
|
"visibility": "internal"
|
|
2280
2426
|
}
|
|
2281
2427
|
],
|
|
2282
|
-
"src": "
|
|
2428
|
+
"src": "2884:48:2"
|
|
2283
2429
|
},
|
|
2284
2430
|
"returnParameters": {
|
|
2285
|
-
"id":
|
|
2431
|
+
"id": 942,
|
|
2286
2432
|
"nodeType": "ParameterList",
|
|
2287
2433
|
"parameters": [],
|
|
2288
|
-
"src": "
|
|
2434
|
+
"src": "2941:0:2"
|
|
2289
2435
|
},
|
|
2290
|
-
"scope":
|
|
2436
|
+
"scope": 962,
|
|
2291
2437
|
"stateMutability": "nonpayable",
|
|
2292
2438
|
"virtual": false,
|
|
2293
2439
|
"visibility": "external"
|
|
2294
2440
|
},
|
|
2295
2441
|
{
|
|
2296
|
-
"id":
|
|
2442
|
+
"id": 953,
|
|
2297
2443
|
"nodeType": "FunctionDefinition",
|
|
2298
|
-
"src": "
|
|
2444
|
+
"src": "2946:102:2",
|
|
2299
2445
|
"nodes": [],
|
|
2300
2446
|
"functionSelector": "fe86a89f",
|
|
2301
2447
|
"implemented": false,
|
|
2302
2448
|
"kind": "function",
|
|
2303
2449
|
"modifiers": [],
|
|
2304
2450
|
"name": "setMetadata",
|
|
2305
|
-
"nameLocation": "
|
|
2451
|
+
"nameLocation": "2955:11:2",
|
|
2306
2452
|
"parameters": {
|
|
2307
|
-
"id":
|
|
2453
|
+
"id": 951,
|
|
2308
2454
|
"nodeType": "ParameterList",
|
|
2309
2455
|
"parameters": [
|
|
2310
2456
|
{
|
|
2311
2457
|
"constant": false,
|
|
2312
|
-
"id":
|
|
2458
|
+
"id": 945,
|
|
2313
2459
|
"mutability": "mutable",
|
|
2314
2460
|
"name": "table",
|
|
2315
|
-
"nameLocation": "
|
|
2461
|
+
"nameLocation": "2975:5:2",
|
|
2316
2462
|
"nodeType": "VariableDeclaration",
|
|
2317
|
-
"scope":
|
|
2318
|
-
"src": "
|
|
2463
|
+
"scope": 953,
|
|
2464
|
+
"src": "2967:13:2",
|
|
2319
2465
|
"stateVariable": false,
|
|
2320
2466
|
"storageLocation": "default",
|
|
2321
2467
|
"typeDescriptions": {
|
|
@@ -2323,10 +2469,10 @@
|
|
|
2323
2469
|
"typeString": "bytes32"
|
|
2324
2470
|
},
|
|
2325
2471
|
"typeName": {
|
|
2326
|
-
"id":
|
|
2472
|
+
"id": 944,
|
|
2327
2473
|
"name": "bytes32",
|
|
2328
2474
|
"nodeType": "ElementaryTypeName",
|
|
2329
|
-
"src": "
|
|
2475
|
+
"src": "2967:7:2",
|
|
2330
2476
|
"typeDescriptions": {
|
|
2331
2477
|
"typeIdentifier": "t_bytes32",
|
|
2332
2478
|
"typeString": "bytes32"
|
|
@@ -2336,13 +2482,13 @@
|
|
|
2336
2482
|
},
|
|
2337
2483
|
{
|
|
2338
2484
|
"constant": false,
|
|
2339
|
-
"id":
|
|
2485
|
+
"id": 947,
|
|
2340
2486
|
"mutability": "mutable",
|
|
2341
2487
|
"name": "tableName",
|
|
2342
|
-
"nameLocation": "
|
|
2488
|
+
"nameLocation": "2998:9:2",
|
|
2343
2489
|
"nodeType": "VariableDeclaration",
|
|
2344
|
-
"scope":
|
|
2345
|
-
"src": "
|
|
2490
|
+
"scope": 953,
|
|
2491
|
+
"src": "2982:25:2",
|
|
2346
2492
|
"stateVariable": false,
|
|
2347
2493
|
"storageLocation": "calldata",
|
|
2348
2494
|
"typeDescriptions": {
|
|
@@ -2350,10 +2496,10 @@
|
|
|
2350
2496
|
"typeString": "string"
|
|
2351
2497
|
},
|
|
2352
2498
|
"typeName": {
|
|
2353
|
-
"id":
|
|
2499
|
+
"id": 946,
|
|
2354
2500
|
"name": "string",
|
|
2355
2501
|
"nodeType": "ElementaryTypeName",
|
|
2356
|
-
"src": "
|
|
2502
|
+
"src": "2982:6:2",
|
|
2357
2503
|
"typeDescriptions": {
|
|
2358
2504
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2359
2505
|
"typeString": "string"
|
|
@@ -2363,13 +2509,13 @@
|
|
|
2363
2509
|
},
|
|
2364
2510
|
{
|
|
2365
2511
|
"constant": false,
|
|
2366
|
-
"id":
|
|
2512
|
+
"id": 950,
|
|
2367
2513
|
"mutability": "mutable",
|
|
2368
2514
|
"name": "fieldNames",
|
|
2369
|
-
"nameLocation": "
|
|
2515
|
+
"nameLocation": "3027:10:2",
|
|
2370
2516
|
"nodeType": "VariableDeclaration",
|
|
2371
|
-
"scope":
|
|
2372
|
-
"src": "
|
|
2517
|
+
"scope": 953,
|
|
2518
|
+
"src": "3009:28:2",
|
|
2373
2519
|
"stateVariable": false,
|
|
2374
2520
|
"storageLocation": "calldata",
|
|
2375
2521
|
"typeDescriptions": {
|
|
@@ -2378,18 +2524,18 @@
|
|
|
2378
2524
|
},
|
|
2379
2525
|
"typeName": {
|
|
2380
2526
|
"baseType": {
|
|
2381
|
-
"id":
|
|
2527
|
+
"id": 948,
|
|
2382
2528
|
"name": "string",
|
|
2383
2529
|
"nodeType": "ElementaryTypeName",
|
|
2384
|
-
"src": "
|
|
2530
|
+
"src": "3009:6:2",
|
|
2385
2531
|
"typeDescriptions": {
|
|
2386
2532
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2387
2533
|
"typeString": "string"
|
|
2388
2534
|
}
|
|
2389
2535
|
},
|
|
2390
|
-
"id":
|
|
2536
|
+
"id": 949,
|
|
2391
2537
|
"nodeType": "ArrayTypeName",
|
|
2392
|
-
"src": "
|
|
2538
|
+
"src": "3009:8:2",
|
|
2393
2539
|
"typeDescriptions": {
|
|
2394
2540
|
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
2395
2541
|
"typeString": "string[]"
|
|
@@ -2398,43 +2544,43 @@
|
|
|
2398
2544
|
"visibility": "internal"
|
|
2399
2545
|
}
|
|
2400
2546
|
],
|
|
2401
|
-
"src": "
|
|
2547
|
+
"src": "2966:72:2"
|
|
2402
2548
|
},
|
|
2403
2549
|
"returnParameters": {
|
|
2404
|
-
"id":
|
|
2550
|
+
"id": 952,
|
|
2405
2551
|
"nodeType": "ParameterList",
|
|
2406
2552
|
"parameters": [],
|
|
2407
|
-
"src": "
|
|
2553
|
+
"src": "3047:0:2"
|
|
2408
2554
|
},
|
|
2409
|
-
"scope":
|
|
2555
|
+
"scope": 962,
|
|
2410
2556
|
"stateMutability": "nonpayable",
|
|
2411
2557
|
"virtual": false,
|
|
2412
2558
|
"visibility": "external"
|
|
2413
2559
|
},
|
|
2414
2560
|
{
|
|
2415
|
-
"id":
|
|
2561
|
+
"id": 961,
|
|
2416
2562
|
"nodeType": "FunctionDefinition",
|
|
2417
|
-
"src": "
|
|
2563
|
+
"src": "3125:68:2",
|
|
2418
2564
|
"nodes": [],
|
|
2419
2565
|
"functionSelector": "6e81fd71",
|
|
2420
2566
|
"implemented": false,
|
|
2421
2567
|
"kind": "function",
|
|
2422
2568
|
"modifiers": [],
|
|
2423
2569
|
"name": "registerStoreHook",
|
|
2424
|
-
"nameLocation": "
|
|
2570
|
+
"nameLocation": "3134:17:2",
|
|
2425
2571
|
"parameters": {
|
|
2426
|
-
"id":
|
|
2572
|
+
"id": 959,
|
|
2427
2573
|
"nodeType": "ParameterList",
|
|
2428
2574
|
"parameters": [
|
|
2429
2575
|
{
|
|
2430
2576
|
"constant": false,
|
|
2431
|
-
"id":
|
|
2577
|
+
"id": 955,
|
|
2432
2578
|
"mutability": "mutable",
|
|
2433
2579
|
"name": "table",
|
|
2434
|
-
"nameLocation": "
|
|
2580
|
+
"nameLocation": "3160:5:2",
|
|
2435
2581
|
"nodeType": "VariableDeclaration",
|
|
2436
|
-
"scope":
|
|
2437
|
-
"src": "
|
|
2582
|
+
"scope": 961,
|
|
2583
|
+
"src": "3152:13:2",
|
|
2438
2584
|
"stateVariable": false,
|
|
2439
2585
|
"storageLocation": "default",
|
|
2440
2586
|
"typeDescriptions": {
|
|
@@ -2442,10 +2588,10 @@
|
|
|
2442
2588
|
"typeString": "bytes32"
|
|
2443
2589
|
},
|
|
2444
2590
|
"typeName": {
|
|
2445
|
-
"id":
|
|
2591
|
+
"id": 954,
|
|
2446
2592
|
"name": "bytes32",
|
|
2447
2593
|
"nodeType": "ElementaryTypeName",
|
|
2448
|
-
"src": "
|
|
2594
|
+
"src": "3152:7:2",
|
|
2449
2595
|
"typeDescriptions": {
|
|
2450
2596
|
"typeIdentifier": "t_bytes32",
|
|
2451
2597
|
"typeString": "bytes32"
|
|
@@ -2455,48 +2601,48 @@
|
|
|
2455
2601
|
},
|
|
2456
2602
|
{
|
|
2457
2603
|
"constant": false,
|
|
2458
|
-
"id":
|
|
2604
|
+
"id": 958,
|
|
2459
2605
|
"mutability": "mutable",
|
|
2460
2606
|
"name": "hook",
|
|
2461
|
-
"nameLocation": "
|
|
2607
|
+
"nameLocation": "3178:4:2",
|
|
2462
2608
|
"nodeType": "VariableDeclaration",
|
|
2463
|
-
"scope":
|
|
2464
|
-
"src": "
|
|
2609
|
+
"scope": 961,
|
|
2610
|
+
"src": "3167:15:2",
|
|
2465
2611
|
"stateVariable": false,
|
|
2466
2612
|
"storageLocation": "default",
|
|
2467
2613
|
"typeDescriptions": {
|
|
2468
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
2614
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2469
2615
|
"typeString": "contract IStoreHook"
|
|
2470
2616
|
},
|
|
2471
2617
|
"typeName": {
|
|
2472
|
-
"id":
|
|
2618
|
+
"id": 957,
|
|
2473
2619
|
"nodeType": "UserDefinedTypeName",
|
|
2474
2620
|
"pathNode": {
|
|
2475
|
-
"id":
|
|
2621
|
+
"id": 956,
|
|
2476
2622
|
"name": "IStoreHook",
|
|
2477
2623
|
"nodeType": "IdentifierPath",
|
|
2478
|
-
"referencedDeclaration":
|
|
2479
|
-
"src": "
|
|
2624
|
+
"referencedDeclaration": 1010,
|
|
2625
|
+
"src": "3167:10:2"
|
|
2480
2626
|
},
|
|
2481
|
-
"referencedDeclaration":
|
|
2482
|
-
"src": "
|
|
2627
|
+
"referencedDeclaration": 1010,
|
|
2628
|
+
"src": "3167:10:2",
|
|
2483
2629
|
"typeDescriptions": {
|
|
2484
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
2630
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2485
2631
|
"typeString": "contract IStoreHook"
|
|
2486
2632
|
}
|
|
2487
2633
|
},
|
|
2488
2634
|
"visibility": "internal"
|
|
2489
2635
|
}
|
|
2490
2636
|
],
|
|
2491
|
-
"src": "
|
|
2637
|
+
"src": "3151:32:2"
|
|
2492
2638
|
},
|
|
2493
2639
|
"returnParameters": {
|
|
2494
|
-
"id":
|
|
2640
|
+
"id": 960,
|
|
2495
2641
|
"nodeType": "ParameterList",
|
|
2496
2642
|
"parameters": [],
|
|
2497
|
-
"src": "
|
|
2643
|
+
"src": "3192:0:2"
|
|
2498
2644
|
},
|
|
2499
|
-
"scope":
|
|
2645
|
+
"scope": 962,
|
|
2500
2646
|
"stateMutability": "nonpayable",
|
|
2501
2647
|
"virtual": false,
|
|
2502
2648
|
"visibility": "external"
|
|
@@ -2508,50 +2654,50 @@
|
|
|
2508
2654
|
"contractDependencies": [],
|
|
2509
2655
|
"contractKind": "interface",
|
|
2510
2656
|
"documentation": {
|
|
2511
|
-
"id":
|
|
2657
|
+
"id": 932,
|
|
2512
2658
|
"nodeType": "StructuredDocumentation",
|
|
2513
|
-
"src": "
|
|
2659
|
+
"src": "2577:250:2",
|
|
2514
2660
|
"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."
|
|
2515
2661
|
},
|
|
2516
2662
|
"fullyImplemented": false,
|
|
2517
2663
|
"linearizedBaseContracts": [
|
|
2518
|
-
|
|
2664
|
+
962
|
|
2519
2665
|
],
|
|
2520
2666
|
"name": "IStoreRegistration",
|
|
2521
|
-
"nameLocation": "
|
|
2522
|
-
"scope":
|
|
2667
|
+
"nameLocation": "2838:18:2",
|
|
2668
|
+
"scope": 1011,
|
|
2523
2669
|
"usedErrors": []
|
|
2524
2670
|
},
|
|
2525
2671
|
{
|
|
2526
|
-
"id":
|
|
2672
|
+
"id": 967,
|
|
2527
2673
|
"nodeType": "ContractDefinition",
|
|
2528
|
-
"src": "
|
|
2674
|
+
"src": "3197:53:2",
|
|
2529
2675
|
"nodes": [],
|
|
2530
2676
|
"abstract": false,
|
|
2531
2677
|
"baseContracts": [
|
|
2532
2678
|
{
|
|
2533
2679
|
"baseName": {
|
|
2534
|
-
"id":
|
|
2680
|
+
"id": 963,
|
|
2535
2681
|
"name": "IStoreData",
|
|
2536
2682
|
"nodeType": "IdentifierPath",
|
|
2537
|
-
"referencedDeclaration":
|
|
2538
|
-
"src": "
|
|
2683
|
+
"referencedDeclaration": 931,
|
|
2684
|
+
"src": "3217:10:2"
|
|
2539
2685
|
},
|
|
2540
|
-
"id":
|
|
2686
|
+
"id": 964,
|
|
2541
2687
|
"nodeType": "InheritanceSpecifier",
|
|
2542
|
-
"src": "
|
|
2688
|
+
"src": "3217:10:2"
|
|
2543
2689
|
},
|
|
2544
2690
|
{
|
|
2545
2691
|
"baseName": {
|
|
2546
|
-
"id":
|
|
2692
|
+
"id": 965,
|
|
2547
2693
|
"name": "IStoreRegistration",
|
|
2548
2694
|
"nodeType": "IdentifierPath",
|
|
2549
|
-
"referencedDeclaration":
|
|
2550
|
-
"src": "
|
|
2695
|
+
"referencedDeclaration": 962,
|
|
2696
|
+
"src": "3229:18:2"
|
|
2551
2697
|
},
|
|
2552
|
-
"id":
|
|
2698
|
+
"id": 966,
|
|
2553
2699
|
"nodeType": "InheritanceSpecifier",
|
|
2554
|
-
"src": "
|
|
2700
|
+
"src": "3229:18:2"
|
|
2555
2701
|
}
|
|
2556
2702
|
],
|
|
2557
2703
|
"canonicalName": "IStore",
|
|
@@ -2559,46 +2705,46 @@
|
|
|
2559
2705
|
"contractKind": "interface",
|
|
2560
2706
|
"fullyImplemented": false,
|
|
2561
2707
|
"linearizedBaseContracts": [
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2708
|
+
967,
|
|
2709
|
+
962,
|
|
2710
|
+
931,
|
|
2711
|
+
925,
|
|
2566
2712
|
829
|
|
2567
2713
|
],
|
|
2568
2714
|
"name": "IStore",
|
|
2569
|
-
"nameLocation": "
|
|
2570
|
-
"scope":
|
|
2715
|
+
"nameLocation": "3207:6:2",
|
|
2716
|
+
"scope": 1011,
|
|
2571
2717
|
"usedErrors": []
|
|
2572
2718
|
},
|
|
2573
2719
|
{
|
|
2574
|
-
"id":
|
|
2720
|
+
"id": 1010,
|
|
2575
2721
|
"nodeType": "ContractDefinition",
|
|
2576
|
-
"src": "
|
|
2722
|
+
"src": "3252:494:2",
|
|
2577
2723
|
"nodes": [
|
|
2578
2724
|
{
|
|
2579
|
-
"id":
|
|
2725
|
+
"id": 977,
|
|
2580
2726
|
"nodeType": "FunctionDefinition",
|
|
2581
|
-
"src": "
|
|
2727
|
+
"src": "3277:86:2",
|
|
2582
2728
|
"nodes": [],
|
|
2583
2729
|
"functionSelector": "82b6745f",
|
|
2584
2730
|
"implemented": false,
|
|
2585
2731
|
"kind": "function",
|
|
2586
2732
|
"modifiers": [],
|
|
2587
2733
|
"name": "onSetRecord",
|
|
2588
|
-
"nameLocation": "
|
|
2734
|
+
"nameLocation": "3286:11:2",
|
|
2589
2735
|
"parameters": {
|
|
2590
|
-
"id":
|
|
2736
|
+
"id": 975,
|
|
2591
2737
|
"nodeType": "ParameterList",
|
|
2592
2738
|
"parameters": [
|
|
2593
2739
|
{
|
|
2594
2740
|
"constant": false,
|
|
2595
|
-
"id":
|
|
2741
|
+
"id": 969,
|
|
2596
2742
|
"mutability": "mutable",
|
|
2597
2743
|
"name": "table",
|
|
2598
|
-
"nameLocation": "
|
|
2744
|
+
"nameLocation": "3306:5:2",
|
|
2599
2745
|
"nodeType": "VariableDeclaration",
|
|
2600
|
-
"scope":
|
|
2601
|
-
"src": "
|
|
2746
|
+
"scope": 977,
|
|
2747
|
+
"src": "3298:13:2",
|
|
2602
2748
|
"stateVariable": false,
|
|
2603
2749
|
"storageLocation": "default",
|
|
2604
2750
|
"typeDescriptions": {
|
|
@@ -2606,10 +2752,10 @@
|
|
|
2606
2752
|
"typeString": "bytes32"
|
|
2607
2753
|
},
|
|
2608
2754
|
"typeName": {
|
|
2609
|
-
"id":
|
|
2755
|
+
"id": 968,
|
|
2610
2756
|
"name": "bytes32",
|
|
2611
2757
|
"nodeType": "ElementaryTypeName",
|
|
2612
|
-
"src": "
|
|
2758
|
+
"src": "3298:7:2",
|
|
2613
2759
|
"typeDescriptions": {
|
|
2614
2760
|
"typeIdentifier": "t_bytes32",
|
|
2615
2761
|
"typeString": "bytes32"
|
|
@@ -2619,13 +2765,13 @@
|
|
|
2619
2765
|
},
|
|
2620
2766
|
{
|
|
2621
2767
|
"constant": false,
|
|
2622
|
-
"id":
|
|
2768
|
+
"id": 972,
|
|
2623
2769
|
"mutability": "mutable",
|
|
2624
2770
|
"name": "key",
|
|
2625
|
-
"nameLocation": "
|
|
2771
|
+
"nameLocation": "3330:3:2",
|
|
2626
2772
|
"nodeType": "VariableDeclaration",
|
|
2627
|
-
"scope":
|
|
2628
|
-
"src": "
|
|
2773
|
+
"scope": 977,
|
|
2774
|
+
"src": "3313:20:2",
|
|
2629
2775
|
"stateVariable": false,
|
|
2630
2776
|
"storageLocation": "memory",
|
|
2631
2777
|
"typeDescriptions": {
|
|
@@ -2634,18 +2780,18 @@
|
|
|
2634
2780
|
},
|
|
2635
2781
|
"typeName": {
|
|
2636
2782
|
"baseType": {
|
|
2637
|
-
"id":
|
|
2783
|
+
"id": 970,
|
|
2638
2784
|
"name": "bytes32",
|
|
2639
2785
|
"nodeType": "ElementaryTypeName",
|
|
2640
|
-
"src": "
|
|
2786
|
+
"src": "3313:7:2",
|
|
2641
2787
|
"typeDescriptions": {
|
|
2642
2788
|
"typeIdentifier": "t_bytes32",
|
|
2643
2789
|
"typeString": "bytes32"
|
|
2644
2790
|
}
|
|
2645
2791
|
},
|
|
2646
|
-
"id":
|
|
2792
|
+
"id": 971,
|
|
2647
2793
|
"nodeType": "ArrayTypeName",
|
|
2648
|
-
"src": "
|
|
2794
|
+
"src": "3313:9:2",
|
|
2649
2795
|
"typeDescriptions": {
|
|
2650
2796
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2651
2797
|
"typeString": "bytes32[]"
|
|
@@ -2655,13 +2801,13 @@
|
|
|
2655
2801
|
},
|
|
2656
2802
|
{
|
|
2657
2803
|
"constant": false,
|
|
2658
|
-
"id":
|
|
2804
|
+
"id": 974,
|
|
2659
2805
|
"mutability": "mutable",
|
|
2660
2806
|
"name": "data",
|
|
2661
|
-
"nameLocation": "
|
|
2807
|
+
"nameLocation": "3348:4:2",
|
|
2662
2808
|
"nodeType": "VariableDeclaration",
|
|
2663
|
-
"scope":
|
|
2664
|
-
"src": "
|
|
2809
|
+
"scope": 977,
|
|
2810
|
+
"src": "3335:17:2",
|
|
2665
2811
|
"stateVariable": false,
|
|
2666
2812
|
"storageLocation": "memory",
|
|
2667
2813
|
"typeDescriptions": {
|
|
@@ -2669,10 +2815,10 @@
|
|
|
2669
2815
|
"typeString": "bytes"
|
|
2670
2816
|
},
|
|
2671
2817
|
"typeName": {
|
|
2672
|
-
"id":
|
|
2818
|
+
"id": 973,
|
|
2673
2819
|
"name": "bytes",
|
|
2674
2820
|
"nodeType": "ElementaryTypeName",
|
|
2675
|
-
"src": "
|
|
2821
|
+
"src": "3335:5:2",
|
|
2676
2822
|
"typeDescriptions": {
|
|
2677
2823
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2678
2824
|
"typeString": "bytes"
|
|
@@ -2681,43 +2827,43 @@
|
|
|
2681
2827
|
"visibility": "internal"
|
|
2682
2828
|
}
|
|
2683
2829
|
],
|
|
2684
|
-
"src": "
|
|
2830
|
+
"src": "3297:56:2"
|
|
2685
2831
|
},
|
|
2686
2832
|
"returnParameters": {
|
|
2687
|
-
"id":
|
|
2833
|
+
"id": 976,
|
|
2688
2834
|
"nodeType": "ParameterList",
|
|
2689
2835
|
"parameters": [],
|
|
2690
|
-
"src": "
|
|
2836
|
+
"src": "3362:0:2"
|
|
2691
2837
|
},
|
|
2692
|
-
"scope":
|
|
2838
|
+
"scope": 1010,
|
|
2693
2839
|
"stateMutability": "nonpayable",
|
|
2694
2840
|
"virtual": false,
|
|
2695
2841
|
"visibility": "external"
|
|
2696
2842
|
},
|
|
2697
2843
|
{
|
|
2698
|
-
"id":
|
|
2844
|
+
"id": 989,
|
|
2699
2845
|
"nodeType": "FunctionDefinition",
|
|
2700
|
-
"src": "
|
|
2846
|
+
"src": "3447:110:2",
|
|
2701
2847
|
"nodes": [],
|
|
2702
2848
|
"functionSelector": "469b7ee2",
|
|
2703
2849
|
"implemented": false,
|
|
2704
2850
|
"kind": "function",
|
|
2705
2851
|
"modifiers": [],
|
|
2706
2852
|
"name": "onBeforeSetField",
|
|
2707
|
-
"nameLocation": "
|
|
2853
|
+
"nameLocation": "3456:16:2",
|
|
2708
2854
|
"parameters": {
|
|
2709
|
-
"id":
|
|
2855
|
+
"id": 987,
|
|
2710
2856
|
"nodeType": "ParameterList",
|
|
2711
2857
|
"parameters": [
|
|
2712
2858
|
{
|
|
2713
2859
|
"constant": false,
|
|
2714
|
-
"id":
|
|
2860
|
+
"id": 979,
|
|
2715
2861
|
"mutability": "mutable",
|
|
2716
2862
|
"name": "table",
|
|
2717
|
-
"nameLocation": "
|
|
2863
|
+
"nameLocation": "3481:5:2",
|
|
2718
2864
|
"nodeType": "VariableDeclaration",
|
|
2719
|
-
"scope":
|
|
2720
|
-
"src": "
|
|
2865
|
+
"scope": 989,
|
|
2866
|
+
"src": "3473:13:2",
|
|
2721
2867
|
"stateVariable": false,
|
|
2722
2868
|
"storageLocation": "default",
|
|
2723
2869
|
"typeDescriptions": {
|
|
@@ -2725,10 +2871,10 @@
|
|
|
2725
2871
|
"typeString": "bytes32"
|
|
2726
2872
|
},
|
|
2727
2873
|
"typeName": {
|
|
2728
|
-
"id":
|
|
2874
|
+
"id": 978,
|
|
2729
2875
|
"name": "bytes32",
|
|
2730
2876
|
"nodeType": "ElementaryTypeName",
|
|
2731
|
-
"src": "
|
|
2877
|
+
"src": "3473:7:2",
|
|
2732
2878
|
"typeDescriptions": {
|
|
2733
2879
|
"typeIdentifier": "t_bytes32",
|
|
2734
2880
|
"typeString": "bytes32"
|
|
@@ -2738,13 +2884,13 @@
|
|
|
2738
2884
|
},
|
|
2739
2885
|
{
|
|
2740
2886
|
"constant": false,
|
|
2741
|
-
"id":
|
|
2887
|
+
"id": 982,
|
|
2742
2888
|
"mutability": "mutable",
|
|
2743
2889
|
"name": "key",
|
|
2744
|
-
"nameLocation": "
|
|
2890
|
+
"nameLocation": "3505:3:2",
|
|
2745
2891
|
"nodeType": "VariableDeclaration",
|
|
2746
|
-
"scope":
|
|
2747
|
-
"src": "
|
|
2892
|
+
"scope": 989,
|
|
2893
|
+
"src": "3488:20:2",
|
|
2748
2894
|
"stateVariable": false,
|
|
2749
2895
|
"storageLocation": "memory",
|
|
2750
2896
|
"typeDescriptions": {
|
|
@@ -2753,18 +2899,18 @@
|
|
|
2753
2899
|
},
|
|
2754
2900
|
"typeName": {
|
|
2755
2901
|
"baseType": {
|
|
2756
|
-
"id":
|
|
2902
|
+
"id": 980,
|
|
2757
2903
|
"name": "bytes32",
|
|
2758
2904
|
"nodeType": "ElementaryTypeName",
|
|
2759
|
-
"src": "
|
|
2905
|
+
"src": "3488:7:2",
|
|
2760
2906
|
"typeDescriptions": {
|
|
2761
2907
|
"typeIdentifier": "t_bytes32",
|
|
2762
2908
|
"typeString": "bytes32"
|
|
2763
2909
|
}
|
|
2764
2910
|
},
|
|
2765
|
-
"id":
|
|
2911
|
+
"id": 981,
|
|
2766
2912
|
"nodeType": "ArrayTypeName",
|
|
2767
|
-
"src": "
|
|
2913
|
+
"src": "3488:9:2",
|
|
2768
2914
|
"typeDescriptions": {
|
|
2769
2915
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2770
2916
|
"typeString": "bytes32[]"
|
|
@@ -2774,13 +2920,13 @@
|
|
|
2774
2920
|
},
|
|
2775
2921
|
{
|
|
2776
2922
|
"constant": false,
|
|
2777
|
-
"id":
|
|
2923
|
+
"id": 984,
|
|
2778
2924
|
"mutability": "mutable",
|
|
2779
2925
|
"name": "schemaIndex",
|
|
2780
|
-
"nameLocation": "
|
|
2926
|
+
"nameLocation": "3516:11:2",
|
|
2781
2927
|
"nodeType": "VariableDeclaration",
|
|
2782
|
-
"scope":
|
|
2783
|
-
"src": "
|
|
2928
|
+
"scope": 989,
|
|
2929
|
+
"src": "3510:17:2",
|
|
2784
2930
|
"stateVariable": false,
|
|
2785
2931
|
"storageLocation": "default",
|
|
2786
2932
|
"typeDescriptions": {
|
|
@@ -2788,10 +2934,10 @@
|
|
|
2788
2934
|
"typeString": "uint8"
|
|
2789
2935
|
},
|
|
2790
2936
|
"typeName": {
|
|
2791
|
-
"id":
|
|
2937
|
+
"id": 983,
|
|
2792
2938
|
"name": "uint8",
|
|
2793
2939
|
"nodeType": "ElementaryTypeName",
|
|
2794
|
-
"src": "
|
|
2940
|
+
"src": "3510:5:2",
|
|
2795
2941
|
"typeDescriptions": {
|
|
2796
2942
|
"typeIdentifier": "t_uint8",
|
|
2797
2943
|
"typeString": "uint8"
|
|
@@ -2801,13 +2947,13 @@
|
|
|
2801
2947
|
},
|
|
2802
2948
|
{
|
|
2803
2949
|
"constant": false,
|
|
2804
|
-
"id":
|
|
2950
|
+
"id": 986,
|
|
2805
2951
|
"mutability": "mutable",
|
|
2806
2952
|
"name": "data",
|
|
2807
|
-
"nameLocation": "
|
|
2953
|
+
"nameLocation": "3542:4:2",
|
|
2808
2954
|
"nodeType": "VariableDeclaration",
|
|
2809
|
-
"scope":
|
|
2810
|
-
"src": "
|
|
2955
|
+
"scope": 989,
|
|
2956
|
+
"src": "3529:17:2",
|
|
2811
2957
|
"stateVariable": false,
|
|
2812
2958
|
"storageLocation": "memory",
|
|
2813
2959
|
"typeDescriptions": {
|
|
@@ -2815,10 +2961,10 @@
|
|
|
2815
2961
|
"typeString": "bytes"
|
|
2816
2962
|
},
|
|
2817
2963
|
"typeName": {
|
|
2818
|
-
"id":
|
|
2964
|
+
"id": 985,
|
|
2819
2965
|
"name": "bytes",
|
|
2820
2966
|
"nodeType": "ElementaryTypeName",
|
|
2821
|
-
"src": "
|
|
2967
|
+
"src": "3529:5:2",
|
|
2822
2968
|
"typeDescriptions": {
|
|
2823
2969
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2824
2970
|
"typeString": "bytes"
|
|
@@ -2827,43 +2973,43 @@
|
|
|
2827
2973
|
"visibility": "internal"
|
|
2828
2974
|
}
|
|
2829
2975
|
],
|
|
2830
|
-
"src": "
|
|
2976
|
+
"src": "3472:75:2"
|
|
2831
2977
|
},
|
|
2832
2978
|
"returnParameters": {
|
|
2833
|
-
"id":
|
|
2979
|
+
"id": 988,
|
|
2834
2980
|
"nodeType": "ParameterList",
|
|
2835
2981
|
"parameters": [],
|
|
2836
|
-
"src": "
|
|
2982
|
+
"src": "3556:0:2"
|
|
2837
2983
|
},
|
|
2838
|
-
"scope":
|
|
2984
|
+
"scope": 1010,
|
|
2839
2985
|
"stateMutability": "nonpayable",
|
|
2840
2986
|
"virtual": false,
|
|
2841
2987
|
"visibility": "external"
|
|
2842
2988
|
},
|
|
2843
2989
|
{
|
|
2844
|
-
"id":
|
|
2990
|
+
"id": 1001,
|
|
2845
2991
|
"nodeType": "FunctionDefinition",
|
|
2846
|
-
"src": "
|
|
2992
|
+
"src": "3561:109:2",
|
|
2847
2993
|
"nodes": [],
|
|
2848
2994
|
"functionSelector": "6b3d7d5f",
|
|
2849
2995
|
"implemented": false,
|
|
2850
2996
|
"kind": "function",
|
|
2851
2997
|
"modifiers": [],
|
|
2852
2998
|
"name": "onAfterSetField",
|
|
2853
|
-
"nameLocation": "
|
|
2999
|
+
"nameLocation": "3570:15:2",
|
|
2854
3000
|
"parameters": {
|
|
2855
|
-
"id":
|
|
3001
|
+
"id": 999,
|
|
2856
3002
|
"nodeType": "ParameterList",
|
|
2857
3003
|
"parameters": [
|
|
2858
3004
|
{
|
|
2859
3005
|
"constant": false,
|
|
2860
|
-
"id":
|
|
3006
|
+
"id": 991,
|
|
2861
3007
|
"mutability": "mutable",
|
|
2862
3008
|
"name": "table",
|
|
2863
|
-
"nameLocation": "
|
|
3009
|
+
"nameLocation": "3594:5:2",
|
|
2864
3010
|
"nodeType": "VariableDeclaration",
|
|
2865
|
-
"scope":
|
|
2866
|
-
"src": "
|
|
3011
|
+
"scope": 1001,
|
|
3012
|
+
"src": "3586:13:2",
|
|
2867
3013
|
"stateVariable": false,
|
|
2868
3014
|
"storageLocation": "default",
|
|
2869
3015
|
"typeDescriptions": {
|
|
@@ -2871,10 +3017,10 @@
|
|
|
2871
3017
|
"typeString": "bytes32"
|
|
2872
3018
|
},
|
|
2873
3019
|
"typeName": {
|
|
2874
|
-
"id":
|
|
3020
|
+
"id": 990,
|
|
2875
3021
|
"name": "bytes32",
|
|
2876
3022
|
"nodeType": "ElementaryTypeName",
|
|
2877
|
-
"src": "
|
|
3023
|
+
"src": "3586:7:2",
|
|
2878
3024
|
"typeDescriptions": {
|
|
2879
3025
|
"typeIdentifier": "t_bytes32",
|
|
2880
3026
|
"typeString": "bytes32"
|
|
@@ -2884,13 +3030,13 @@
|
|
|
2884
3030
|
},
|
|
2885
3031
|
{
|
|
2886
3032
|
"constant": false,
|
|
2887
|
-
"id":
|
|
3033
|
+
"id": 994,
|
|
2888
3034
|
"mutability": "mutable",
|
|
2889
3035
|
"name": "key",
|
|
2890
|
-
"nameLocation": "
|
|
3036
|
+
"nameLocation": "3618:3:2",
|
|
2891
3037
|
"nodeType": "VariableDeclaration",
|
|
2892
|
-
"scope":
|
|
2893
|
-
"src": "
|
|
3038
|
+
"scope": 1001,
|
|
3039
|
+
"src": "3601:20:2",
|
|
2894
3040
|
"stateVariable": false,
|
|
2895
3041
|
"storageLocation": "memory",
|
|
2896
3042
|
"typeDescriptions": {
|
|
@@ -2899,18 +3045,18 @@
|
|
|
2899
3045
|
},
|
|
2900
3046
|
"typeName": {
|
|
2901
3047
|
"baseType": {
|
|
2902
|
-
"id":
|
|
3048
|
+
"id": 992,
|
|
2903
3049
|
"name": "bytes32",
|
|
2904
3050
|
"nodeType": "ElementaryTypeName",
|
|
2905
|
-
"src": "
|
|
3051
|
+
"src": "3601:7:2",
|
|
2906
3052
|
"typeDescriptions": {
|
|
2907
3053
|
"typeIdentifier": "t_bytes32",
|
|
2908
3054
|
"typeString": "bytes32"
|
|
2909
3055
|
}
|
|
2910
3056
|
},
|
|
2911
|
-
"id":
|
|
3057
|
+
"id": 993,
|
|
2912
3058
|
"nodeType": "ArrayTypeName",
|
|
2913
|
-
"src": "
|
|
3059
|
+
"src": "3601:9:2",
|
|
2914
3060
|
"typeDescriptions": {
|
|
2915
3061
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2916
3062
|
"typeString": "bytes32[]"
|
|
@@ -2920,13 +3066,13 @@
|
|
|
2920
3066
|
},
|
|
2921
3067
|
{
|
|
2922
3068
|
"constant": false,
|
|
2923
|
-
"id":
|
|
3069
|
+
"id": 996,
|
|
2924
3070
|
"mutability": "mutable",
|
|
2925
3071
|
"name": "schemaIndex",
|
|
2926
|
-
"nameLocation": "
|
|
3072
|
+
"nameLocation": "3629:11:2",
|
|
2927
3073
|
"nodeType": "VariableDeclaration",
|
|
2928
|
-
"scope":
|
|
2929
|
-
"src": "
|
|
3074
|
+
"scope": 1001,
|
|
3075
|
+
"src": "3623:17:2",
|
|
2930
3076
|
"stateVariable": false,
|
|
2931
3077
|
"storageLocation": "default",
|
|
2932
3078
|
"typeDescriptions": {
|
|
@@ -2934,10 +3080,10 @@
|
|
|
2934
3080
|
"typeString": "uint8"
|
|
2935
3081
|
},
|
|
2936
3082
|
"typeName": {
|
|
2937
|
-
"id":
|
|
3083
|
+
"id": 995,
|
|
2938
3084
|
"name": "uint8",
|
|
2939
3085
|
"nodeType": "ElementaryTypeName",
|
|
2940
|
-
"src": "
|
|
3086
|
+
"src": "3623:5:2",
|
|
2941
3087
|
"typeDescriptions": {
|
|
2942
3088
|
"typeIdentifier": "t_uint8",
|
|
2943
3089
|
"typeString": "uint8"
|
|
@@ -2947,13 +3093,13 @@
|
|
|
2947
3093
|
},
|
|
2948
3094
|
{
|
|
2949
3095
|
"constant": false,
|
|
2950
|
-
"id":
|
|
3096
|
+
"id": 998,
|
|
2951
3097
|
"mutability": "mutable",
|
|
2952
3098
|
"name": "data",
|
|
2953
|
-
"nameLocation": "
|
|
3099
|
+
"nameLocation": "3655:4:2",
|
|
2954
3100
|
"nodeType": "VariableDeclaration",
|
|
2955
|
-
"scope":
|
|
2956
|
-
"src": "
|
|
3101
|
+
"scope": 1001,
|
|
3102
|
+
"src": "3642:17:2",
|
|
2957
3103
|
"stateVariable": false,
|
|
2958
3104
|
"storageLocation": "memory",
|
|
2959
3105
|
"typeDescriptions": {
|
|
@@ -2961,10 +3107,10 @@
|
|
|
2961
3107
|
"typeString": "bytes"
|
|
2962
3108
|
},
|
|
2963
3109
|
"typeName": {
|
|
2964
|
-
"id":
|
|
3110
|
+
"id": 997,
|
|
2965
3111
|
"name": "bytes",
|
|
2966
3112
|
"nodeType": "ElementaryTypeName",
|
|
2967
|
-
"src": "
|
|
3113
|
+
"src": "3642:5:2",
|
|
2968
3114
|
"typeDescriptions": {
|
|
2969
3115
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2970
3116
|
"typeString": "bytes"
|
|
@@ -2973,43 +3119,43 @@
|
|
|
2973
3119
|
"visibility": "internal"
|
|
2974
3120
|
}
|
|
2975
3121
|
],
|
|
2976
|
-
"src": "
|
|
3122
|
+
"src": "3585:75:2"
|
|
2977
3123
|
},
|
|
2978
3124
|
"returnParameters": {
|
|
2979
|
-
"id":
|
|
3125
|
+
"id": 1000,
|
|
2980
3126
|
"nodeType": "ParameterList",
|
|
2981
3127
|
"parameters": [],
|
|
2982
|
-
"src": "
|
|
3128
|
+
"src": "3669:0:2"
|
|
2983
3129
|
},
|
|
2984
|
-
"scope":
|
|
3130
|
+
"scope": 1010,
|
|
2985
3131
|
"stateMutability": "nonpayable",
|
|
2986
3132
|
"virtual": false,
|
|
2987
3133
|
"visibility": "external"
|
|
2988
3134
|
},
|
|
2989
3135
|
{
|
|
2990
|
-
"id":
|
|
3136
|
+
"id": 1009,
|
|
2991
3137
|
"nodeType": "FunctionDefinition",
|
|
2992
|
-
"src": "
|
|
3138
|
+
"src": "3674:70:2",
|
|
2993
3139
|
"nodes": [],
|
|
2994
3140
|
"functionSelector": "b51fef6c",
|
|
2995
3141
|
"implemented": false,
|
|
2996
3142
|
"kind": "function",
|
|
2997
3143
|
"modifiers": [],
|
|
2998
3144
|
"name": "onDeleteRecord",
|
|
2999
|
-
"nameLocation": "
|
|
3145
|
+
"nameLocation": "3683:14:2",
|
|
3000
3146
|
"parameters": {
|
|
3001
|
-
"id":
|
|
3147
|
+
"id": 1007,
|
|
3002
3148
|
"nodeType": "ParameterList",
|
|
3003
3149
|
"parameters": [
|
|
3004
3150
|
{
|
|
3005
3151
|
"constant": false,
|
|
3006
|
-
"id":
|
|
3152
|
+
"id": 1003,
|
|
3007
3153
|
"mutability": "mutable",
|
|
3008
3154
|
"name": "table",
|
|
3009
|
-
"nameLocation": "
|
|
3155
|
+
"nameLocation": "3706:5:2",
|
|
3010
3156
|
"nodeType": "VariableDeclaration",
|
|
3011
|
-
"scope":
|
|
3012
|
-
"src": "
|
|
3157
|
+
"scope": 1009,
|
|
3158
|
+
"src": "3698:13:2",
|
|
3013
3159
|
"stateVariable": false,
|
|
3014
3160
|
"storageLocation": "default",
|
|
3015
3161
|
"typeDescriptions": {
|
|
@@ -3017,10 +3163,10 @@
|
|
|
3017
3163
|
"typeString": "bytes32"
|
|
3018
3164
|
},
|
|
3019
3165
|
"typeName": {
|
|
3020
|
-
"id":
|
|
3166
|
+
"id": 1002,
|
|
3021
3167
|
"name": "bytes32",
|
|
3022
3168
|
"nodeType": "ElementaryTypeName",
|
|
3023
|
-
"src": "
|
|
3169
|
+
"src": "3698:7:2",
|
|
3024
3170
|
"typeDescriptions": {
|
|
3025
3171
|
"typeIdentifier": "t_bytes32",
|
|
3026
3172
|
"typeString": "bytes32"
|
|
@@ -3030,13 +3176,13 @@
|
|
|
3030
3176
|
},
|
|
3031
3177
|
{
|
|
3032
3178
|
"constant": false,
|
|
3033
|
-
"id":
|
|
3179
|
+
"id": 1006,
|
|
3034
3180
|
"mutability": "mutable",
|
|
3035
3181
|
"name": "key",
|
|
3036
|
-
"nameLocation": "
|
|
3182
|
+
"nameLocation": "3730:3:2",
|
|
3037
3183
|
"nodeType": "VariableDeclaration",
|
|
3038
|
-
"scope":
|
|
3039
|
-
"src": "
|
|
3184
|
+
"scope": 1009,
|
|
3185
|
+
"src": "3713:20:2",
|
|
3040
3186
|
"stateVariable": false,
|
|
3041
3187
|
"storageLocation": "memory",
|
|
3042
3188
|
"typeDescriptions": {
|
|
@@ -3045,18 +3191,18 @@
|
|
|
3045
3191
|
},
|
|
3046
3192
|
"typeName": {
|
|
3047
3193
|
"baseType": {
|
|
3048
|
-
"id":
|
|
3194
|
+
"id": 1004,
|
|
3049
3195
|
"name": "bytes32",
|
|
3050
3196
|
"nodeType": "ElementaryTypeName",
|
|
3051
|
-
"src": "
|
|
3197
|
+
"src": "3713:7:2",
|
|
3052
3198
|
"typeDescriptions": {
|
|
3053
3199
|
"typeIdentifier": "t_bytes32",
|
|
3054
3200
|
"typeString": "bytes32"
|
|
3055
3201
|
}
|
|
3056
3202
|
},
|
|
3057
|
-
"id":
|
|
3203
|
+
"id": 1005,
|
|
3058
3204
|
"nodeType": "ArrayTypeName",
|
|
3059
|
-
"src": "
|
|
3205
|
+
"src": "3713:9:2",
|
|
3060
3206
|
"typeDescriptions": {
|
|
3061
3207
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3062
3208
|
"typeString": "bytes32[]"
|
|
@@ -3065,15 +3211,15 @@
|
|
|
3065
3211
|
"visibility": "internal"
|
|
3066
3212
|
}
|
|
3067
3213
|
],
|
|
3068
|
-
"src": "
|
|
3214
|
+
"src": "3697:37:2"
|
|
3069
3215
|
},
|
|
3070
3216
|
"returnParameters": {
|
|
3071
|
-
"id":
|
|
3217
|
+
"id": 1008,
|
|
3072
3218
|
"nodeType": "ParameterList",
|
|
3073
3219
|
"parameters": [],
|
|
3074
|
-
"src": "
|
|
3220
|
+
"src": "3743:0:2"
|
|
3075
3221
|
},
|
|
3076
|
-
"scope":
|
|
3222
|
+
"scope": 1010,
|
|
3077
3223
|
"stateMutability": "nonpayable",
|
|
3078
3224
|
"virtual": false,
|
|
3079
3225
|
"visibility": "external"
|
|
@@ -3086,11 +3232,11 @@
|
|
|
3086
3232
|
"contractKind": "interface",
|
|
3087
3233
|
"fullyImplemented": false,
|
|
3088
3234
|
"linearizedBaseContracts": [
|
|
3089
|
-
|
|
3235
|
+
1010
|
|
3090
3236
|
],
|
|
3091
3237
|
"name": "IStoreHook",
|
|
3092
|
-
"nameLocation": "
|
|
3093
|
-
"scope":
|
|
3238
|
+
"nameLocation": "3262:10:2",
|
|
3239
|
+
"scope": 1011,
|
|
3094
3240
|
"usedErrors": []
|
|
3095
3241
|
}
|
|
3096
3242
|
],
|