@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
|
@@ -220,6 +220,34 @@
|
|
|
220
220
|
"stateMutability": "view",
|
|
221
221
|
"type": "function"
|
|
222
222
|
},
|
|
223
|
+
{
|
|
224
|
+
"inputs": [
|
|
225
|
+
{
|
|
226
|
+
"internalType": "bytes32",
|
|
227
|
+
"name": "table",
|
|
228
|
+
"type": "bytes32"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"internalType": "bytes32[]",
|
|
232
|
+
"name": "key",
|
|
233
|
+
"type": "bytes32[]"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"internalType": "uint8",
|
|
237
|
+
"name": "schemaIndex",
|
|
238
|
+
"type": "uint8"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"internalType": "uint256",
|
|
242
|
+
"name": "byteLengthToPop",
|
|
243
|
+
"type": "uint256"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"name": "popFromField",
|
|
247
|
+
"outputs": [],
|
|
248
|
+
"stateMutability": "nonpayable",
|
|
249
|
+
"type": "function"
|
|
250
|
+
},
|
|
223
251
|
{
|
|
224
252
|
"inputs": [
|
|
225
253
|
{
|
|
@@ -351,12 +379,13 @@
|
|
|
351
379
|
"getRecord(bytes32,bytes32[],bytes32)": "419b58fd",
|
|
352
380
|
"getSchema(bytes32)": "a2ea7c6e",
|
|
353
381
|
"isStore()": "a5c2f007",
|
|
382
|
+
"popFromField(bytes32,bytes32[],uint8,uint256)": "8c1f9a54",
|
|
354
383
|
"pushToField(bytes32,bytes32[],uint8,bytes)": "0c1a6000",
|
|
355
384
|
"setField(bytes32,bytes32[],uint8,bytes)": "114a7266",
|
|
356
385
|
"setRecord(bytes32,bytes32[],bytes)": "8ed41f2f",
|
|
357
386
|
"updateInField(bytes32,bytes32[],uint8,uint256,bytes)": "776d4047"
|
|
358
387
|
},
|
|
359
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"StoreDeleteRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetField\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetRecord\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"dataToPush\",\"type\":\"bytes\"}],\"name\":\"pushToField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setRecord\",\"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\":\"uint256\",\"name\":\"startByteIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"dataToSet\",\"type\":\"bytes\"}],\"name\":\"updateInField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"The IStoreData interface includes methods for reading and writing table values. These methods are frequently invoked during runtime, so it is essential to prioritize optimizing their gas cost\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":\"IStoreData\"},\"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\":\"
|
|
388
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"StoreDeleteRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetField\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"StoreSetRecord\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"table\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"schemaIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"byteLengthToPop\",\"type\":\"uint256\"}],\"name\":\"popFromField\",\"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\":\"dataToPush\",\"type\":\"bytes\"}],\"name\":\"pushToField\",\"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\":\"setField\",\"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\":\"setRecord\",\"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\":\"uint256\",\"name\":\"startByteIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"dataToSet\",\"type\":\"bytes\"}],\"name\":\"updateInField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"The IStoreData interface includes methods for reading and writing table values. These methods are frequently invoked during runtime, so it is essential to prioritize optimizing their gas cost\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/store/src/IStore.sol\":\"IStoreData\"},\"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}",
|
|
360
389
|
"metadata": {
|
|
361
390
|
"compiler": {
|
|
362
391
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -582,6 +611,33 @@
|
|
|
582
611
|
"type": "function",
|
|
583
612
|
"name": "isStore"
|
|
584
613
|
},
|
|
614
|
+
{
|
|
615
|
+
"inputs": [
|
|
616
|
+
{
|
|
617
|
+
"internalType": "bytes32",
|
|
618
|
+
"name": "table",
|
|
619
|
+
"type": "bytes32"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"internalType": "bytes32[]",
|
|
623
|
+
"name": "key",
|
|
624
|
+
"type": "bytes32[]"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"internalType": "uint8",
|
|
628
|
+
"name": "schemaIndex",
|
|
629
|
+
"type": "uint8"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"internalType": "uint256",
|
|
633
|
+
"name": "byteLengthToPop",
|
|
634
|
+
"type": "uint256"
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
"stateMutability": "nonpayable",
|
|
638
|
+
"type": "function",
|
|
639
|
+
"name": "popFromField"
|
|
640
|
+
},
|
|
585
641
|
{
|
|
586
642
|
"inputs": [
|
|
587
643
|
{
|
|
@@ -739,10 +795,10 @@
|
|
|
739
795
|
"license": "MIT"
|
|
740
796
|
},
|
|
741
797
|
"/home/runner/work/mud/mud/packages/store/src/IStore.sol": {
|
|
742
|
-
"keccak256": "
|
|
798
|
+
"keccak256": "0x465c23c85a77fdc6001f06a6899080c1d6cfef9858886d7d922e54fce1eb79e6",
|
|
743
799
|
"urls": [
|
|
744
|
-
"bzz-raw://
|
|
745
|
-
"dweb:/ipfs/
|
|
800
|
+
"bzz-raw://6358088868fa52711e65d3462eb6b6762fe736eb7f033909e3260280b6a87957",
|
|
801
|
+
"dweb:/ipfs/QmdkwwvTa9Hzc5SDP4C1hvrKzc8SxWNDrxNqQKw4ZoCKzL"
|
|
746
802
|
],
|
|
747
803
|
"license": "MIT"
|
|
748
804
|
},
|
|
@@ -815,35 +871,35 @@
|
|
|
815
871
|
},
|
|
816
872
|
"ast": {
|
|
817
873
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IStore.sol",
|
|
818
|
-
"id":
|
|
874
|
+
"id": 1011,
|
|
819
875
|
"exportedSymbols": {
|
|
820
876
|
"IErrors": [
|
|
821
877
|
768
|
|
822
878
|
],
|
|
823
879
|
"IStore": [
|
|
824
|
-
|
|
880
|
+
967
|
|
825
881
|
],
|
|
826
882
|
"IStoreData": [
|
|
827
|
-
|
|
883
|
+
931
|
|
828
884
|
],
|
|
829
885
|
"IStoreHook": [
|
|
830
|
-
|
|
886
|
+
1010
|
|
831
887
|
],
|
|
832
888
|
"IStoreRead": [
|
|
833
889
|
829
|
|
834
890
|
],
|
|
835
891
|
"IStoreRegistration": [
|
|
836
|
-
|
|
892
|
+
962
|
|
837
893
|
],
|
|
838
894
|
"IStoreWrite": [
|
|
839
|
-
|
|
895
|
+
925
|
|
840
896
|
],
|
|
841
897
|
"Schema": [
|
|
842
|
-
|
|
898
|
+
1517
|
|
843
899
|
]
|
|
844
900
|
},
|
|
845
901
|
"nodeType": "SourceUnit",
|
|
846
|
-
"src": "32:
|
|
902
|
+
"src": "32:3715:2",
|
|
847
903
|
"nodes": [
|
|
848
904
|
{
|
|
849
905
|
"id": 770,
|
|
@@ -865,7 +921,7 @@
|
|
|
865
921
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/IErrors.sol",
|
|
866
922
|
"file": "./IErrors.sol",
|
|
867
923
|
"nameLocation": "-1:-1:-1",
|
|
868
|
-
"scope":
|
|
924
|
+
"scope": 1011,
|
|
869
925
|
"sourceUnit": 769,
|
|
870
926
|
"symbolAliases": [
|
|
871
927
|
{
|
|
@@ -891,8 +947,8 @@
|
|
|
891
947
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/Schema.sol",
|
|
892
948
|
"file": "./Schema.sol",
|
|
893
949
|
"nameLocation": "-1:-1:-1",
|
|
894
|
-
"scope":
|
|
895
|
-
"sourceUnit":
|
|
950
|
+
"scope": 1011,
|
|
951
|
+
"sourceUnit": 2285,
|
|
896
952
|
"symbolAliases": [
|
|
897
953
|
{
|
|
898
954
|
"foreign": {
|
|
@@ -900,7 +956,7 @@
|
|
|
900
956
|
"name": "Schema",
|
|
901
957
|
"nodeType": "Identifier",
|
|
902
958
|
"overloadedDeclarations": [],
|
|
903
|
-
"referencedDeclaration":
|
|
959
|
+
"referencedDeclaration": 1517,
|
|
904
960
|
"src": "108:6:2",
|
|
905
961
|
"typeDescriptions": {}
|
|
906
962
|
},
|
|
@@ -975,7 +1031,7 @@
|
|
|
975
1031
|
"stateVariable": false,
|
|
976
1032
|
"storageLocation": "default",
|
|
977
1033
|
"typeDescriptions": {
|
|
978
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1034
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
979
1035
|
"typeString": "Schema"
|
|
980
1036
|
},
|
|
981
1037
|
"typeName": {
|
|
@@ -985,13 +1041,13 @@
|
|
|
985
1041
|
"id": 778,
|
|
986
1042
|
"name": "Schema",
|
|
987
1043
|
"nodeType": "IdentifierPath",
|
|
988
|
-
"referencedDeclaration":
|
|
1044
|
+
"referencedDeclaration": 1517,
|
|
989
1045
|
"src": "221:6:2"
|
|
990
1046
|
},
|
|
991
|
-
"referencedDeclaration":
|
|
1047
|
+
"referencedDeclaration": 1517,
|
|
992
1048
|
"src": "221:6:2",
|
|
993
1049
|
"typeDescriptions": {
|
|
994
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1050
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
995
1051
|
"typeString": "Schema"
|
|
996
1052
|
}
|
|
997
1053
|
},
|
|
@@ -1066,7 +1122,7 @@
|
|
|
1066
1122
|
"stateVariable": false,
|
|
1067
1123
|
"storageLocation": "default",
|
|
1068
1124
|
"typeDescriptions": {
|
|
1069
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1125
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
1070
1126
|
"typeString": "Schema"
|
|
1071
1127
|
},
|
|
1072
1128
|
"typeName": {
|
|
@@ -1076,13 +1132,13 @@
|
|
|
1076
1132
|
"id": 786,
|
|
1077
1133
|
"name": "Schema",
|
|
1078
1134
|
"nodeType": "IdentifierPath",
|
|
1079
|
-
"referencedDeclaration":
|
|
1135
|
+
"referencedDeclaration": 1517,
|
|
1080
1136
|
"src": "300:6:2"
|
|
1081
1137
|
},
|
|
1082
|
-
"referencedDeclaration":
|
|
1138
|
+
"referencedDeclaration": 1517,
|
|
1083
1139
|
"src": "300:6:2",
|
|
1084
1140
|
"typeDescriptions": {
|
|
1085
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1141
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
1086
1142
|
"typeString": "Schema"
|
|
1087
1143
|
}
|
|
1088
1144
|
},
|
|
@@ -1306,7 +1362,7 @@
|
|
|
1306
1362
|
"stateVariable": false,
|
|
1307
1363
|
"storageLocation": "default",
|
|
1308
1364
|
"typeDescriptions": {
|
|
1309
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1365
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
1310
1366
|
"typeString": "Schema"
|
|
1311
1367
|
},
|
|
1312
1368
|
"typeName": {
|
|
@@ -1316,13 +1372,13 @@
|
|
|
1316
1372
|
"id": 806,
|
|
1317
1373
|
"name": "Schema",
|
|
1318
1374
|
"nodeType": "IdentifierPath",
|
|
1319
|
-
"referencedDeclaration":
|
|
1375
|
+
"referencedDeclaration": 1517,
|
|
1320
1376
|
"src": "599:6:2"
|
|
1321
1377
|
},
|
|
1322
|
-
"referencedDeclaration":
|
|
1378
|
+
"referencedDeclaration": 1517,
|
|
1323
1379
|
"src": "599:6:2",
|
|
1324
1380
|
"typeDescriptions": {
|
|
1325
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
1381
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
1326
1382
|
"typeString": "Schema"
|
|
1327
1383
|
}
|
|
1328
1384
|
},
|
|
@@ -1557,13 +1613,13 @@
|
|
|
1557
1613
|
],
|
|
1558
1614
|
"name": "IStoreRead",
|
|
1559
1615
|
"nameLocation": "149:10:2",
|
|
1560
|
-
"scope":
|
|
1616
|
+
"scope": 1011,
|
|
1561
1617
|
"usedErrors": []
|
|
1562
1618
|
},
|
|
1563
1619
|
{
|
|
1564
|
-
"id":
|
|
1620
|
+
"id": 925,
|
|
1565
1621
|
"nodeType": "ContractDefinition",
|
|
1566
|
-
"src": "1073:
|
|
1622
|
+
"src": "1073:1239:2",
|
|
1567
1623
|
"nodes": [
|
|
1568
1624
|
{
|
|
1569
1625
|
"id": 838,
|
|
@@ -2009,7 +2065,7 @@
|
|
|
2009
2065
|
"parameters": [],
|
|
2010
2066
|
"src": "1445:0:2"
|
|
2011
2067
|
},
|
|
2012
|
-
"scope":
|
|
2068
|
+
"scope": 925,
|
|
2013
2069
|
"stateMutability": "nonpayable",
|
|
2014
2070
|
"virtual": false,
|
|
2015
2071
|
"visibility": "external"
|
|
@@ -2155,7 +2211,7 @@
|
|
|
2155
2211
|
"parameters": [],
|
|
2156
2212
|
"src": "1593:0:2"
|
|
2157
2213
|
},
|
|
2158
|
-
"scope":
|
|
2214
|
+
"scope": 925,
|
|
2159
2215
|
"stateMutability": "nonpayable",
|
|
2160
2216
|
"virtual": false,
|
|
2161
2217
|
"visibility": "external"
|
|
@@ -2301,24 +2357,24 @@
|
|
|
2301
2357
|
"parameters": [],
|
|
2302
2358
|
"src": "1773:0:2"
|
|
2303
2359
|
},
|
|
2304
|
-
"scope":
|
|
2360
|
+
"scope": 925,
|
|
2305
2361
|
"stateMutability": "nonpayable",
|
|
2306
2362
|
"virtual": false,
|
|
2307
2363
|
"visibility": "external"
|
|
2308
2364
|
},
|
|
2309
2365
|
{
|
|
2310
|
-
"id":
|
|
2366
|
+
"id": 902,
|
|
2311
2367
|
"nodeType": "FunctionDefinition",
|
|
2312
|
-
"src": "
|
|
2368
|
+
"src": "1838:114:2",
|
|
2313
2369
|
"nodes": [],
|
|
2314
|
-
"functionSelector": "
|
|
2370
|
+
"functionSelector": "8c1f9a54",
|
|
2315
2371
|
"implemented": false,
|
|
2316
2372
|
"kind": "function",
|
|
2317
2373
|
"modifiers": [],
|
|
2318
|
-
"name": "
|
|
2319
|
-
"nameLocation": "
|
|
2374
|
+
"name": "popFromField",
|
|
2375
|
+
"nameLocation": "1847:12:2",
|
|
2320
2376
|
"parameters": {
|
|
2321
|
-
"id":
|
|
2377
|
+
"id": 900,
|
|
2322
2378
|
"nodeType": "ParameterList",
|
|
2323
2379
|
"parameters": [
|
|
2324
2380
|
{
|
|
@@ -2326,10 +2382,10 @@
|
|
|
2326
2382
|
"id": 892,
|
|
2327
2383
|
"mutability": "mutable",
|
|
2328
2384
|
"name": "table",
|
|
2329
|
-
"nameLocation": "
|
|
2385
|
+
"nameLocation": "1868:5:2",
|
|
2330
2386
|
"nodeType": "VariableDeclaration",
|
|
2331
|
-
"scope":
|
|
2332
|
-
"src": "
|
|
2387
|
+
"scope": 902,
|
|
2388
|
+
"src": "1860:13:2",
|
|
2333
2389
|
"stateVariable": false,
|
|
2334
2390
|
"storageLocation": "default",
|
|
2335
2391
|
"typeDescriptions": {
|
|
@@ -2340,7 +2396,7 @@
|
|
|
2340
2396
|
"id": 891,
|
|
2341
2397
|
"name": "bytes32",
|
|
2342
2398
|
"nodeType": "ElementaryTypeName",
|
|
2343
|
-
"src": "
|
|
2399
|
+
"src": "1860:7:2",
|
|
2344
2400
|
"typeDescriptions": {
|
|
2345
2401
|
"typeIdentifier": "t_bytes32",
|
|
2346
2402
|
"typeString": "bytes32"
|
|
@@ -2353,10 +2409,10 @@
|
|
|
2353
2409
|
"id": 895,
|
|
2354
2410
|
"mutability": "mutable",
|
|
2355
2411
|
"name": "key",
|
|
2356
|
-
"nameLocation": "
|
|
2412
|
+
"nameLocation": "1894:3:2",
|
|
2357
2413
|
"nodeType": "VariableDeclaration",
|
|
2358
|
-
"scope":
|
|
2359
|
-
"src": "
|
|
2414
|
+
"scope": 902,
|
|
2415
|
+
"src": "1875:22:2",
|
|
2360
2416
|
"stateVariable": false,
|
|
2361
2417
|
"storageLocation": "calldata",
|
|
2362
2418
|
"typeDescriptions": {
|
|
@@ -2368,7 +2424,7 @@
|
|
|
2368
2424
|
"id": 893,
|
|
2369
2425
|
"name": "bytes32",
|
|
2370
2426
|
"nodeType": "ElementaryTypeName",
|
|
2371
|
-
"src": "
|
|
2427
|
+
"src": "1875:7:2",
|
|
2372
2428
|
"typeDescriptions": {
|
|
2373
2429
|
"typeIdentifier": "t_bytes32",
|
|
2374
2430
|
"typeString": "bytes32"
|
|
@@ -2376,7 +2432,7 @@
|
|
|
2376
2432
|
},
|
|
2377
2433
|
"id": 894,
|
|
2378
2434
|
"nodeType": "ArrayTypeName",
|
|
2379
|
-
"src": "
|
|
2435
|
+
"src": "1875:9:2",
|
|
2380
2436
|
"typeDescriptions": {
|
|
2381
2437
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2382
2438
|
"typeString": "bytes32[]"
|
|
@@ -2389,10 +2445,10 @@
|
|
|
2389
2445
|
"id": 897,
|
|
2390
2446
|
"mutability": "mutable",
|
|
2391
2447
|
"name": "schemaIndex",
|
|
2392
|
-
"nameLocation": "
|
|
2448
|
+
"nameLocation": "1905:11:2",
|
|
2393
2449
|
"nodeType": "VariableDeclaration",
|
|
2394
|
-
"scope":
|
|
2395
|
-
"src": "
|
|
2450
|
+
"scope": 902,
|
|
2451
|
+
"src": "1899:17:2",
|
|
2396
2452
|
"stateVariable": false,
|
|
2397
2453
|
"storageLocation": "default",
|
|
2398
2454
|
"typeDescriptions": {
|
|
@@ -2403,7 +2459,7 @@
|
|
|
2403
2459
|
"id": 896,
|
|
2404
2460
|
"name": "uint8",
|
|
2405
2461
|
"nodeType": "ElementaryTypeName",
|
|
2406
|
-
"src": "
|
|
2462
|
+
"src": "1899:5:2",
|
|
2407
2463
|
"typeDescriptions": {
|
|
2408
2464
|
"typeIdentifier": "t_uint8",
|
|
2409
2465
|
"typeString": "uint8"
|
|
@@ -2415,11 +2471,11 @@
|
|
|
2415
2471
|
"constant": false,
|
|
2416
2472
|
"id": 899,
|
|
2417
2473
|
"mutability": "mutable",
|
|
2418
|
-
"name": "
|
|
2419
|
-
"nameLocation": "
|
|
2474
|
+
"name": "byteLengthToPop",
|
|
2475
|
+
"nameLocation": "1926:15:2",
|
|
2420
2476
|
"nodeType": "VariableDeclaration",
|
|
2421
|
-
"scope":
|
|
2422
|
-
"src": "
|
|
2477
|
+
"scope": 902,
|
|
2478
|
+
"src": "1918:23:2",
|
|
2423
2479
|
"stateVariable": false,
|
|
2424
2480
|
"storageLocation": "default",
|
|
2425
2481
|
"typeDescriptions": {
|
|
@@ -2430,23 +2486,169 @@
|
|
|
2430
2486
|
"id": 898,
|
|
2431
2487
|
"name": "uint256",
|
|
2432
2488
|
"nodeType": "ElementaryTypeName",
|
|
2433
|
-
"src": "
|
|
2489
|
+
"src": "1918:7:2",
|
|
2434
2490
|
"typeDescriptions": {
|
|
2435
2491
|
"typeIdentifier": "t_uint256",
|
|
2436
2492
|
"typeString": "uint256"
|
|
2437
2493
|
}
|
|
2438
2494
|
},
|
|
2439
2495
|
"visibility": "internal"
|
|
2496
|
+
}
|
|
2497
|
+
],
|
|
2498
|
+
"src": "1859:83:2"
|
|
2499
|
+
},
|
|
2500
|
+
"returnParameters": {
|
|
2501
|
+
"id": 901,
|
|
2502
|
+
"nodeType": "ParameterList",
|
|
2503
|
+
"parameters": [],
|
|
2504
|
+
"src": "1951:0:2"
|
|
2505
|
+
},
|
|
2506
|
+
"scope": 925,
|
|
2507
|
+
"stateMutability": "nonpayable",
|
|
2508
|
+
"virtual": false,
|
|
2509
|
+
"visibility": "external"
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"id": 916,
|
|
2513
|
+
"nodeType": "FunctionDefinition",
|
|
2514
|
+
"src": "2023:164:2",
|
|
2515
|
+
"nodes": [],
|
|
2516
|
+
"functionSelector": "776d4047",
|
|
2517
|
+
"implemented": false,
|
|
2518
|
+
"kind": "function",
|
|
2519
|
+
"modifiers": [],
|
|
2520
|
+
"name": "updateInField",
|
|
2521
|
+
"nameLocation": "2032:13:2",
|
|
2522
|
+
"parameters": {
|
|
2523
|
+
"id": 914,
|
|
2524
|
+
"nodeType": "ParameterList",
|
|
2525
|
+
"parameters": [
|
|
2526
|
+
{
|
|
2527
|
+
"constant": false,
|
|
2528
|
+
"id": 904,
|
|
2529
|
+
"mutability": "mutable",
|
|
2530
|
+
"name": "table",
|
|
2531
|
+
"nameLocation": "2059:5:2",
|
|
2532
|
+
"nodeType": "VariableDeclaration",
|
|
2533
|
+
"scope": 916,
|
|
2534
|
+
"src": "2051:13:2",
|
|
2535
|
+
"stateVariable": false,
|
|
2536
|
+
"storageLocation": "default",
|
|
2537
|
+
"typeDescriptions": {
|
|
2538
|
+
"typeIdentifier": "t_bytes32",
|
|
2539
|
+
"typeString": "bytes32"
|
|
2540
|
+
},
|
|
2541
|
+
"typeName": {
|
|
2542
|
+
"id": 903,
|
|
2543
|
+
"name": "bytes32",
|
|
2544
|
+
"nodeType": "ElementaryTypeName",
|
|
2545
|
+
"src": "2051:7:2",
|
|
2546
|
+
"typeDescriptions": {
|
|
2547
|
+
"typeIdentifier": "t_bytes32",
|
|
2548
|
+
"typeString": "bytes32"
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
"visibility": "internal"
|
|
2440
2552
|
},
|
|
2441
2553
|
{
|
|
2442
2554
|
"constant": false,
|
|
2443
|
-
"id":
|
|
2555
|
+
"id": 907,
|
|
2556
|
+
"mutability": "mutable",
|
|
2557
|
+
"name": "key",
|
|
2558
|
+
"nameLocation": "2089:3:2",
|
|
2559
|
+
"nodeType": "VariableDeclaration",
|
|
2560
|
+
"scope": 916,
|
|
2561
|
+
"src": "2070:22:2",
|
|
2562
|
+
"stateVariable": false,
|
|
2563
|
+
"storageLocation": "calldata",
|
|
2564
|
+
"typeDescriptions": {
|
|
2565
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
2566
|
+
"typeString": "bytes32[]"
|
|
2567
|
+
},
|
|
2568
|
+
"typeName": {
|
|
2569
|
+
"baseType": {
|
|
2570
|
+
"id": 905,
|
|
2571
|
+
"name": "bytes32",
|
|
2572
|
+
"nodeType": "ElementaryTypeName",
|
|
2573
|
+
"src": "2070:7:2",
|
|
2574
|
+
"typeDescriptions": {
|
|
2575
|
+
"typeIdentifier": "t_bytes32",
|
|
2576
|
+
"typeString": "bytes32"
|
|
2577
|
+
}
|
|
2578
|
+
},
|
|
2579
|
+
"id": 906,
|
|
2580
|
+
"nodeType": "ArrayTypeName",
|
|
2581
|
+
"src": "2070:9:2",
|
|
2582
|
+
"typeDescriptions": {
|
|
2583
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2584
|
+
"typeString": "bytes32[]"
|
|
2585
|
+
}
|
|
2586
|
+
},
|
|
2587
|
+
"visibility": "internal"
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"constant": false,
|
|
2591
|
+
"id": 909,
|
|
2592
|
+
"mutability": "mutable",
|
|
2593
|
+
"name": "schemaIndex",
|
|
2594
|
+
"nameLocation": "2104:11:2",
|
|
2595
|
+
"nodeType": "VariableDeclaration",
|
|
2596
|
+
"scope": 916,
|
|
2597
|
+
"src": "2098:17:2",
|
|
2598
|
+
"stateVariable": false,
|
|
2599
|
+
"storageLocation": "default",
|
|
2600
|
+
"typeDescriptions": {
|
|
2601
|
+
"typeIdentifier": "t_uint8",
|
|
2602
|
+
"typeString": "uint8"
|
|
2603
|
+
},
|
|
2604
|
+
"typeName": {
|
|
2605
|
+
"id": 908,
|
|
2606
|
+
"name": "uint8",
|
|
2607
|
+
"nodeType": "ElementaryTypeName",
|
|
2608
|
+
"src": "2098:5:2",
|
|
2609
|
+
"typeDescriptions": {
|
|
2610
|
+
"typeIdentifier": "t_uint8",
|
|
2611
|
+
"typeString": "uint8"
|
|
2612
|
+
}
|
|
2613
|
+
},
|
|
2614
|
+
"visibility": "internal"
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"constant": false,
|
|
2618
|
+
"id": 911,
|
|
2619
|
+
"mutability": "mutable",
|
|
2620
|
+
"name": "startByteIndex",
|
|
2621
|
+
"nameLocation": "2129:14:2",
|
|
2622
|
+
"nodeType": "VariableDeclaration",
|
|
2623
|
+
"scope": 916,
|
|
2624
|
+
"src": "2121:22:2",
|
|
2625
|
+
"stateVariable": false,
|
|
2626
|
+
"storageLocation": "default",
|
|
2627
|
+
"typeDescriptions": {
|
|
2628
|
+
"typeIdentifier": "t_uint256",
|
|
2629
|
+
"typeString": "uint256"
|
|
2630
|
+
},
|
|
2631
|
+
"typeName": {
|
|
2632
|
+
"id": 910,
|
|
2633
|
+
"name": "uint256",
|
|
2634
|
+
"nodeType": "ElementaryTypeName",
|
|
2635
|
+
"src": "2121:7:2",
|
|
2636
|
+
"typeDescriptions": {
|
|
2637
|
+
"typeIdentifier": "t_uint256",
|
|
2638
|
+
"typeString": "uint256"
|
|
2639
|
+
}
|
|
2640
|
+
},
|
|
2641
|
+
"visibility": "internal"
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"constant": false,
|
|
2645
|
+
"id": 913,
|
|
2444
2646
|
"mutability": "mutable",
|
|
2445
2647
|
"name": "dataToSet",
|
|
2446
|
-
"nameLocation": "
|
|
2648
|
+
"nameLocation": "2164:9:2",
|
|
2447
2649
|
"nodeType": "VariableDeclaration",
|
|
2448
|
-
"scope":
|
|
2449
|
-
"src": "
|
|
2650
|
+
"scope": 916,
|
|
2651
|
+
"src": "2149:24:2",
|
|
2450
2652
|
"stateVariable": false,
|
|
2451
2653
|
"storageLocation": "calldata",
|
|
2452
2654
|
"typeDescriptions": {
|
|
@@ -2454,10 +2656,10 @@
|
|
|
2454
2656
|
"typeString": "bytes"
|
|
2455
2657
|
},
|
|
2456
2658
|
"typeName": {
|
|
2457
|
-
"id":
|
|
2659
|
+
"id": 912,
|
|
2458
2660
|
"name": "bytes",
|
|
2459
2661
|
"nodeType": "ElementaryTypeName",
|
|
2460
|
-
"src": "
|
|
2662
|
+
"src": "2149:5:2",
|
|
2461
2663
|
"typeDescriptions": {
|
|
2462
2664
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
2463
2665
|
"typeString": "bytes"
|
|
@@ -2466,43 +2668,43 @@
|
|
|
2466
2668
|
"visibility": "internal"
|
|
2467
2669
|
}
|
|
2468
2670
|
],
|
|
2469
|
-
"src": "
|
|
2671
|
+
"src": "2045:132:2"
|
|
2470
2672
|
},
|
|
2471
2673
|
"returnParameters": {
|
|
2472
|
-
"id":
|
|
2674
|
+
"id": 915,
|
|
2473
2675
|
"nodeType": "ParameterList",
|
|
2474
2676
|
"parameters": [],
|
|
2475
|
-
"src": "
|
|
2677
|
+
"src": "2186:0:2"
|
|
2476
2678
|
},
|
|
2477
|
-
"scope":
|
|
2679
|
+
"scope": 925,
|
|
2478
2680
|
"stateMutability": "nonpayable",
|
|
2479
2681
|
"virtual": false,
|
|
2480
2682
|
"visibility": "external"
|
|
2481
2683
|
},
|
|
2482
2684
|
{
|
|
2483
|
-
"id":
|
|
2685
|
+
"id": 924,
|
|
2484
2686
|
"nodeType": "FunctionDefinition",
|
|
2485
|
-
"src": "
|
|
2687
|
+
"src": "2242:68:2",
|
|
2486
2688
|
"nodes": [],
|
|
2487
2689
|
"functionSelector": "505a181d",
|
|
2488
2690
|
"implemented": false,
|
|
2489
2691
|
"kind": "function",
|
|
2490
2692
|
"modifiers": [],
|
|
2491
2693
|
"name": "deleteRecord",
|
|
2492
|
-
"nameLocation": "
|
|
2694
|
+
"nameLocation": "2251:12:2",
|
|
2493
2695
|
"parameters": {
|
|
2494
|
-
"id":
|
|
2696
|
+
"id": 922,
|
|
2495
2697
|
"nodeType": "ParameterList",
|
|
2496
2698
|
"parameters": [
|
|
2497
2699
|
{
|
|
2498
2700
|
"constant": false,
|
|
2499
|
-
"id":
|
|
2701
|
+
"id": 918,
|
|
2500
2702
|
"mutability": "mutable",
|
|
2501
2703
|
"name": "table",
|
|
2502
|
-
"nameLocation": "
|
|
2704
|
+
"nameLocation": "2272:5:2",
|
|
2503
2705
|
"nodeType": "VariableDeclaration",
|
|
2504
|
-
"scope":
|
|
2505
|
-
"src": "
|
|
2706
|
+
"scope": 924,
|
|
2707
|
+
"src": "2264:13:2",
|
|
2506
2708
|
"stateVariable": false,
|
|
2507
2709
|
"storageLocation": "default",
|
|
2508
2710
|
"typeDescriptions": {
|
|
@@ -2510,10 +2712,10 @@
|
|
|
2510
2712
|
"typeString": "bytes32"
|
|
2511
2713
|
},
|
|
2512
2714
|
"typeName": {
|
|
2513
|
-
"id":
|
|
2715
|
+
"id": 917,
|
|
2514
2716
|
"name": "bytes32",
|
|
2515
2717
|
"nodeType": "ElementaryTypeName",
|
|
2516
|
-
"src": "
|
|
2718
|
+
"src": "2264:7:2",
|
|
2517
2719
|
"typeDescriptions": {
|
|
2518
2720
|
"typeIdentifier": "t_bytes32",
|
|
2519
2721
|
"typeString": "bytes32"
|
|
@@ -2523,13 +2725,13 @@
|
|
|
2523
2725
|
},
|
|
2524
2726
|
{
|
|
2525
2727
|
"constant": false,
|
|
2526
|
-
"id":
|
|
2728
|
+
"id": 921,
|
|
2527
2729
|
"mutability": "mutable",
|
|
2528
2730
|
"name": "key",
|
|
2529
|
-
"nameLocation": "
|
|
2731
|
+
"nameLocation": "2296:3:2",
|
|
2530
2732
|
"nodeType": "VariableDeclaration",
|
|
2531
|
-
"scope":
|
|
2532
|
-
"src": "
|
|
2733
|
+
"scope": 924,
|
|
2734
|
+
"src": "2279:20:2",
|
|
2533
2735
|
"stateVariable": false,
|
|
2534
2736
|
"storageLocation": "memory",
|
|
2535
2737
|
"typeDescriptions": {
|
|
@@ -2538,18 +2740,18 @@
|
|
|
2538
2740
|
},
|
|
2539
2741
|
"typeName": {
|
|
2540
2742
|
"baseType": {
|
|
2541
|
-
"id":
|
|
2743
|
+
"id": 919,
|
|
2542
2744
|
"name": "bytes32",
|
|
2543
2745
|
"nodeType": "ElementaryTypeName",
|
|
2544
|
-
"src": "
|
|
2746
|
+
"src": "2279:7:2",
|
|
2545
2747
|
"typeDescriptions": {
|
|
2546
2748
|
"typeIdentifier": "t_bytes32",
|
|
2547
2749
|
"typeString": "bytes32"
|
|
2548
2750
|
}
|
|
2549
2751
|
},
|
|
2550
|
-
"id":
|
|
2752
|
+
"id": 920,
|
|
2551
2753
|
"nodeType": "ArrayTypeName",
|
|
2552
|
-
"src": "
|
|
2754
|
+
"src": "2279:9:2",
|
|
2553
2755
|
"typeDescriptions": {
|
|
2554
2756
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
2555
2757
|
"typeString": "bytes32[]"
|
|
@@ -2558,15 +2760,15 @@
|
|
|
2558
2760
|
"visibility": "internal"
|
|
2559
2761
|
}
|
|
2560
2762
|
],
|
|
2561
|
-
"src": "
|
|
2763
|
+
"src": "2263:37:2"
|
|
2562
2764
|
},
|
|
2563
2765
|
"returnParameters": {
|
|
2564
|
-
"id":
|
|
2766
|
+
"id": 923,
|
|
2565
2767
|
"nodeType": "ParameterList",
|
|
2566
2768
|
"parameters": [],
|
|
2567
|
-
"src": "
|
|
2769
|
+
"src": "2309:0:2"
|
|
2568
2770
|
},
|
|
2569
|
-
"scope":
|
|
2771
|
+
"scope": 925,
|
|
2570
2772
|
"stateMutability": "nonpayable",
|
|
2571
2773
|
"virtual": false,
|
|
2572
2774
|
"visibility": "external"
|
|
@@ -2579,94 +2781,94 @@
|
|
|
2579
2781
|
"contractKind": "interface",
|
|
2580
2782
|
"fullyImplemented": false,
|
|
2581
2783
|
"linearizedBaseContracts": [
|
|
2582
|
-
|
|
2784
|
+
925
|
|
2583
2785
|
],
|
|
2584
2786
|
"name": "IStoreWrite",
|
|
2585
2787
|
"nameLocation": "1083:11:2",
|
|
2586
|
-
"scope":
|
|
2788
|
+
"scope": 1011,
|
|
2587
2789
|
"usedErrors": []
|
|
2588
2790
|
},
|
|
2589
2791
|
{
|
|
2590
|
-
"id":
|
|
2792
|
+
"id": 931,
|
|
2591
2793
|
"nodeType": "ContractDefinition",
|
|
2592
|
-
"src": "
|
|
2794
|
+
"src": "2523:52:2",
|
|
2593
2795
|
"nodes": [],
|
|
2594
2796
|
"abstract": false,
|
|
2595
2797
|
"baseContracts": [
|
|
2596
2798
|
{
|
|
2597
2799
|
"baseName": {
|
|
2598
|
-
"id":
|
|
2800
|
+
"id": 927,
|
|
2599
2801
|
"name": "IStoreRead",
|
|
2600
2802
|
"nodeType": "IdentifierPath",
|
|
2601
2803
|
"referencedDeclaration": 829,
|
|
2602
|
-
"src": "
|
|
2804
|
+
"src": "2547:10:2"
|
|
2603
2805
|
},
|
|
2604
|
-
"id":
|
|
2806
|
+
"id": 928,
|
|
2605
2807
|
"nodeType": "InheritanceSpecifier",
|
|
2606
|
-
"src": "
|
|
2808
|
+
"src": "2547:10:2"
|
|
2607
2809
|
},
|
|
2608
2810
|
{
|
|
2609
2811
|
"baseName": {
|
|
2610
|
-
"id":
|
|
2812
|
+
"id": 929,
|
|
2611
2813
|
"name": "IStoreWrite",
|
|
2612
2814
|
"nodeType": "IdentifierPath",
|
|
2613
|
-
"referencedDeclaration":
|
|
2614
|
-
"src": "
|
|
2815
|
+
"referencedDeclaration": 925,
|
|
2816
|
+
"src": "2559:11:2"
|
|
2615
2817
|
},
|
|
2616
|
-
"id":
|
|
2818
|
+
"id": 930,
|
|
2617
2819
|
"nodeType": "InheritanceSpecifier",
|
|
2618
|
-
"src": "
|
|
2820
|
+
"src": "2559:11:2"
|
|
2619
2821
|
}
|
|
2620
2822
|
],
|
|
2621
2823
|
"canonicalName": "IStoreData",
|
|
2622
2824
|
"contractDependencies": [],
|
|
2623
2825
|
"contractKind": "interface",
|
|
2624
2826
|
"documentation": {
|
|
2625
|
-
"id":
|
|
2827
|
+
"id": 926,
|
|
2626
2828
|
"nodeType": "StructuredDocumentation",
|
|
2627
|
-
"src": "
|
|
2829
|
+
"src": "2314:208:2",
|
|
2628
2830
|
"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"
|
|
2629
2831
|
},
|
|
2630
2832
|
"fullyImplemented": false,
|
|
2631
2833
|
"linearizedBaseContracts": [
|
|
2632
|
-
|
|
2633
|
-
|
|
2834
|
+
931,
|
|
2835
|
+
925,
|
|
2634
2836
|
829
|
|
2635
2837
|
],
|
|
2636
2838
|
"name": "IStoreData",
|
|
2637
|
-
"nameLocation": "
|
|
2638
|
-
"scope":
|
|
2839
|
+
"nameLocation": "2533:10:2",
|
|
2840
|
+
"scope": 1011,
|
|
2639
2841
|
"usedErrors": []
|
|
2640
2842
|
},
|
|
2641
2843
|
{
|
|
2642
|
-
"id":
|
|
2844
|
+
"id": 962,
|
|
2643
2845
|
"nodeType": "ContractDefinition",
|
|
2644
|
-
"src": "
|
|
2846
|
+
"src": "2828:367:2",
|
|
2645
2847
|
"nodes": [
|
|
2646
2848
|
{
|
|
2647
|
-
"id":
|
|
2849
|
+
"id": 943,
|
|
2648
2850
|
"nodeType": "FunctionDefinition",
|
|
2649
|
-
"src": "
|
|
2851
|
+
"src": "2861:81:2",
|
|
2650
2852
|
"nodes": [],
|
|
2651
2853
|
"functionSelector": "d5933686",
|
|
2652
2854
|
"implemented": false,
|
|
2653
2855
|
"kind": "function",
|
|
2654
2856
|
"modifiers": [],
|
|
2655
2857
|
"name": "registerSchema",
|
|
2656
|
-
"nameLocation": "
|
|
2858
|
+
"nameLocation": "2870:14:2",
|
|
2657
2859
|
"parameters": {
|
|
2658
|
-
"id":
|
|
2860
|
+
"id": 941,
|
|
2659
2861
|
"nodeType": "ParameterList",
|
|
2660
2862
|
"parameters": [
|
|
2661
2863
|
{
|
|
2662
2864
|
"constant": false,
|
|
2663
|
-
"id":
|
|
2865
|
+
"id": 934,
|
|
2664
2866
|
"mutability": "mutable",
|
|
2665
2867
|
"name": "table",
|
|
2666
|
-
"nameLocation": "
|
|
2868
|
+
"nameLocation": "2893:5:2",
|
|
2667
2869
|
"nodeType": "VariableDeclaration",
|
|
2668
|
-
"scope":
|
|
2669
|
-
"src": "
|
|
2870
|
+
"scope": 943,
|
|
2871
|
+
"src": "2885:13:2",
|
|
2670
2872
|
"stateVariable": false,
|
|
2671
2873
|
"storageLocation": "default",
|
|
2672
2874
|
"typeDescriptions": {
|
|
@@ -2674,10 +2876,10 @@
|
|
|
2674
2876
|
"typeString": "bytes32"
|
|
2675
2877
|
},
|
|
2676
2878
|
"typeName": {
|
|
2677
|
-
"id":
|
|
2879
|
+
"id": 933,
|
|
2678
2880
|
"name": "bytes32",
|
|
2679
2881
|
"nodeType": "ElementaryTypeName",
|
|
2680
|
-
"src": "
|
|
2882
|
+
"src": "2885:7:2",
|
|
2681
2883
|
"typeDescriptions": {
|
|
2682
2884
|
"typeIdentifier": "t_bytes32",
|
|
2683
2885
|
"typeString": "bytes32"
|
|
@@ -2687,33 +2889,33 @@
|
|
|
2687
2889
|
},
|
|
2688
2890
|
{
|
|
2689
2891
|
"constant": false,
|
|
2690
|
-
"id":
|
|
2892
|
+
"id": 937,
|
|
2691
2893
|
"mutability": "mutable",
|
|
2692
2894
|
"name": "schema",
|
|
2693
|
-
"nameLocation": "
|
|
2895
|
+
"nameLocation": "2907:6:2",
|
|
2694
2896
|
"nodeType": "VariableDeclaration",
|
|
2695
|
-
"scope":
|
|
2696
|
-
"src": "
|
|
2897
|
+
"scope": 943,
|
|
2898
|
+
"src": "2900:13:2",
|
|
2697
2899
|
"stateVariable": false,
|
|
2698
2900
|
"storageLocation": "default",
|
|
2699
2901
|
"typeDescriptions": {
|
|
2700
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2902
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2701
2903
|
"typeString": "Schema"
|
|
2702
2904
|
},
|
|
2703
2905
|
"typeName": {
|
|
2704
|
-
"id":
|
|
2906
|
+
"id": 936,
|
|
2705
2907
|
"nodeType": "UserDefinedTypeName",
|
|
2706
2908
|
"pathNode": {
|
|
2707
|
-
"id":
|
|
2909
|
+
"id": 935,
|
|
2708
2910
|
"name": "Schema",
|
|
2709
2911
|
"nodeType": "IdentifierPath",
|
|
2710
|
-
"referencedDeclaration":
|
|
2711
|
-
"src": "
|
|
2912
|
+
"referencedDeclaration": 1517,
|
|
2913
|
+
"src": "2900:6:2"
|
|
2712
2914
|
},
|
|
2713
|
-
"referencedDeclaration":
|
|
2714
|
-
"src": "
|
|
2915
|
+
"referencedDeclaration": 1517,
|
|
2916
|
+
"src": "2900:6:2",
|
|
2715
2917
|
"typeDescriptions": {
|
|
2716
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2918
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2717
2919
|
"typeString": "Schema"
|
|
2718
2920
|
}
|
|
2719
2921
|
},
|
|
@@ -2721,76 +2923,76 @@
|
|
|
2721
2923
|
},
|
|
2722
2924
|
{
|
|
2723
2925
|
"constant": false,
|
|
2724
|
-
"id":
|
|
2926
|
+
"id": 940,
|
|
2725
2927
|
"mutability": "mutable",
|
|
2726
2928
|
"name": "keySchema",
|
|
2727
|
-
"nameLocation": "
|
|
2929
|
+
"nameLocation": "2922:9:2",
|
|
2728
2930
|
"nodeType": "VariableDeclaration",
|
|
2729
|
-
"scope":
|
|
2730
|
-
"src": "
|
|
2931
|
+
"scope": 943,
|
|
2932
|
+
"src": "2915:16:2",
|
|
2731
2933
|
"stateVariable": false,
|
|
2732
2934
|
"storageLocation": "default",
|
|
2733
2935
|
"typeDescriptions": {
|
|
2734
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2936
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2735
2937
|
"typeString": "Schema"
|
|
2736
2938
|
},
|
|
2737
2939
|
"typeName": {
|
|
2738
|
-
"id":
|
|
2940
|
+
"id": 939,
|
|
2739
2941
|
"nodeType": "UserDefinedTypeName",
|
|
2740
2942
|
"pathNode": {
|
|
2741
|
-
"id":
|
|
2943
|
+
"id": 938,
|
|
2742
2944
|
"name": "Schema",
|
|
2743
2945
|
"nodeType": "IdentifierPath",
|
|
2744
|
-
"referencedDeclaration":
|
|
2745
|
-
"src": "
|
|
2946
|
+
"referencedDeclaration": 1517,
|
|
2947
|
+
"src": "2915:6:2"
|
|
2746
2948
|
},
|
|
2747
|
-
"referencedDeclaration":
|
|
2748
|
-
"src": "
|
|
2949
|
+
"referencedDeclaration": 1517,
|
|
2950
|
+
"src": "2915:6:2",
|
|
2749
2951
|
"typeDescriptions": {
|
|
2750
|
-
"typeIdentifier": "t_userDefinedValueType$_Schema_$
|
|
2952
|
+
"typeIdentifier": "t_userDefinedValueType$_Schema_$1517",
|
|
2751
2953
|
"typeString": "Schema"
|
|
2752
2954
|
}
|
|
2753
2955
|
},
|
|
2754
2956
|
"visibility": "internal"
|
|
2755
2957
|
}
|
|
2756
2958
|
],
|
|
2757
|
-
"src": "
|
|
2959
|
+
"src": "2884:48:2"
|
|
2758
2960
|
},
|
|
2759
2961
|
"returnParameters": {
|
|
2760
|
-
"id":
|
|
2962
|
+
"id": 942,
|
|
2761
2963
|
"nodeType": "ParameterList",
|
|
2762
2964
|
"parameters": [],
|
|
2763
|
-
"src": "
|
|
2965
|
+
"src": "2941:0:2"
|
|
2764
2966
|
},
|
|
2765
|
-
"scope":
|
|
2967
|
+
"scope": 962,
|
|
2766
2968
|
"stateMutability": "nonpayable",
|
|
2767
2969
|
"virtual": false,
|
|
2768
2970
|
"visibility": "external"
|
|
2769
2971
|
},
|
|
2770
2972
|
{
|
|
2771
|
-
"id":
|
|
2973
|
+
"id": 953,
|
|
2772
2974
|
"nodeType": "FunctionDefinition",
|
|
2773
|
-
"src": "
|
|
2975
|
+
"src": "2946:102:2",
|
|
2774
2976
|
"nodes": [],
|
|
2775
2977
|
"functionSelector": "fe86a89f",
|
|
2776
2978
|
"implemented": false,
|
|
2777
2979
|
"kind": "function",
|
|
2778
2980
|
"modifiers": [],
|
|
2779
2981
|
"name": "setMetadata",
|
|
2780
|
-
"nameLocation": "
|
|
2982
|
+
"nameLocation": "2955:11:2",
|
|
2781
2983
|
"parameters": {
|
|
2782
|
-
"id":
|
|
2984
|
+
"id": 951,
|
|
2783
2985
|
"nodeType": "ParameterList",
|
|
2784
2986
|
"parameters": [
|
|
2785
2987
|
{
|
|
2786
2988
|
"constant": false,
|
|
2787
|
-
"id":
|
|
2989
|
+
"id": 945,
|
|
2788
2990
|
"mutability": "mutable",
|
|
2789
2991
|
"name": "table",
|
|
2790
|
-
"nameLocation": "
|
|
2992
|
+
"nameLocation": "2975:5:2",
|
|
2791
2993
|
"nodeType": "VariableDeclaration",
|
|
2792
|
-
"scope":
|
|
2793
|
-
"src": "
|
|
2994
|
+
"scope": 953,
|
|
2995
|
+
"src": "2967:13:2",
|
|
2794
2996
|
"stateVariable": false,
|
|
2795
2997
|
"storageLocation": "default",
|
|
2796
2998
|
"typeDescriptions": {
|
|
@@ -2798,10 +3000,10 @@
|
|
|
2798
3000
|
"typeString": "bytes32"
|
|
2799
3001
|
},
|
|
2800
3002
|
"typeName": {
|
|
2801
|
-
"id":
|
|
3003
|
+
"id": 944,
|
|
2802
3004
|
"name": "bytes32",
|
|
2803
3005
|
"nodeType": "ElementaryTypeName",
|
|
2804
|
-
"src": "
|
|
3006
|
+
"src": "2967:7:2",
|
|
2805
3007
|
"typeDescriptions": {
|
|
2806
3008
|
"typeIdentifier": "t_bytes32",
|
|
2807
3009
|
"typeString": "bytes32"
|
|
@@ -2811,13 +3013,13 @@
|
|
|
2811
3013
|
},
|
|
2812
3014
|
{
|
|
2813
3015
|
"constant": false,
|
|
2814
|
-
"id":
|
|
3016
|
+
"id": 947,
|
|
2815
3017
|
"mutability": "mutable",
|
|
2816
3018
|
"name": "tableName",
|
|
2817
|
-
"nameLocation": "
|
|
3019
|
+
"nameLocation": "2998:9:2",
|
|
2818
3020
|
"nodeType": "VariableDeclaration",
|
|
2819
|
-
"scope":
|
|
2820
|
-
"src": "
|
|
3021
|
+
"scope": 953,
|
|
3022
|
+
"src": "2982:25:2",
|
|
2821
3023
|
"stateVariable": false,
|
|
2822
3024
|
"storageLocation": "calldata",
|
|
2823
3025
|
"typeDescriptions": {
|
|
@@ -2825,10 +3027,10 @@
|
|
|
2825
3027
|
"typeString": "string"
|
|
2826
3028
|
},
|
|
2827
3029
|
"typeName": {
|
|
2828
|
-
"id":
|
|
3030
|
+
"id": 946,
|
|
2829
3031
|
"name": "string",
|
|
2830
3032
|
"nodeType": "ElementaryTypeName",
|
|
2831
|
-
"src": "
|
|
3033
|
+
"src": "2982:6:2",
|
|
2832
3034
|
"typeDescriptions": {
|
|
2833
3035
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2834
3036
|
"typeString": "string"
|
|
@@ -2838,13 +3040,13 @@
|
|
|
2838
3040
|
},
|
|
2839
3041
|
{
|
|
2840
3042
|
"constant": false,
|
|
2841
|
-
"id":
|
|
3043
|
+
"id": 950,
|
|
2842
3044
|
"mutability": "mutable",
|
|
2843
3045
|
"name": "fieldNames",
|
|
2844
|
-
"nameLocation": "
|
|
3046
|
+
"nameLocation": "3027:10:2",
|
|
2845
3047
|
"nodeType": "VariableDeclaration",
|
|
2846
|
-
"scope":
|
|
2847
|
-
"src": "
|
|
3048
|
+
"scope": 953,
|
|
3049
|
+
"src": "3009:28:2",
|
|
2848
3050
|
"stateVariable": false,
|
|
2849
3051
|
"storageLocation": "calldata",
|
|
2850
3052
|
"typeDescriptions": {
|
|
@@ -2853,18 +3055,18 @@
|
|
|
2853
3055
|
},
|
|
2854
3056
|
"typeName": {
|
|
2855
3057
|
"baseType": {
|
|
2856
|
-
"id":
|
|
3058
|
+
"id": 948,
|
|
2857
3059
|
"name": "string",
|
|
2858
3060
|
"nodeType": "ElementaryTypeName",
|
|
2859
|
-
"src": "
|
|
3061
|
+
"src": "3009:6:2",
|
|
2860
3062
|
"typeDescriptions": {
|
|
2861
3063
|
"typeIdentifier": "t_string_storage_ptr",
|
|
2862
3064
|
"typeString": "string"
|
|
2863
3065
|
}
|
|
2864
3066
|
},
|
|
2865
|
-
"id":
|
|
3067
|
+
"id": 949,
|
|
2866
3068
|
"nodeType": "ArrayTypeName",
|
|
2867
|
-
"src": "
|
|
3069
|
+
"src": "3009:8:2",
|
|
2868
3070
|
"typeDescriptions": {
|
|
2869
3071
|
"typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr",
|
|
2870
3072
|
"typeString": "string[]"
|
|
@@ -2873,43 +3075,43 @@
|
|
|
2873
3075
|
"visibility": "internal"
|
|
2874
3076
|
}
|
|
2875
3077
|
],
|
|
2876
|
-
"src": "
|
|
3078
|
+
"src": "2966:72:2"
|
|
2877
3079
|
},
|
|
2878
3080
|
"returnParameters": {
|
|
2879
|
-
"id":
|
|
3081
|
+
"id": 952,
|
|
2880
3082
|
"nodeType": "ParameterList",
|
|
2881
3083
|
"parameters": [],
|
|
2882
|
-
"src": "
|
|
3084
|
+
"src": "3047:0:2"
|
|
2883
3085
|
},
|
|
2884
|
-
"scope":
|
|
3086
|
+
"scope": 962,
|
|
2885
3087
|
"stateMutability": "nonpayable",
|
|
2886
3088
|
"virtual": false,
|
|
2887
3089
|
"visibility": "external"
|
|
2888
3090
|
},
|
|
2889
3091
|
{
|
|
2890
|
-
"id":
|
|
3092
|
+
"id": 961,
|
|
2891
3093
|
"nodeType": "FunctionDefinition",
|
|
2892
|
-
"src": "
|
|
3094
|
+
"src": "3125:68:2",
|
|
2893
3095
|
"nodes": [],
|
|
2894
3096
|
"functionSelector": "6e81fd71",
|
|
2895
3097
|
"implemented": false,
|
|
2896
3098
|
"kind": "function",
|
|
2897
3099
|
"modifiers": [],
|
|
2898
3100
|
"name": "registerStoreHook",
|
|
2899
|
-
"nameLocation": "
|
|
3101
|
+
"nameLocation": "3134:17:2",
|
|
2900
3102
|
"parameters": {
|
|
2901
|
-
"id":
|
|
3103
|
+
"id": 959,
|
|
2902
3104
|
"nodeType": "ParameterList",
|
|
2903
3105
|
"parameters": [
|
|
2904
3106
|
{
|
|
2905
3107
|
"constant": false,
|
|
2906
|
-
"id":
|
|
3108
|
+
"id": 955,
|
|
2907
3109
|
"mutability": "mutable",
|
|
2908
3110
|
"name": "table",
|
|
2909
|
-
"nameLocation": "
|
|
3111
|
+
"nameLocation": "3160:5:2",
|
|
2910
3112
|
"nodeType": "VariableDeclaration",
|
|
2911
|
-
"scope":
|
|
2912
|
-
"src": "
|
|
3113
|
+
"scope": 961,
|
|
3114
|
+
"src": "3152:13:2",
|
|
2913
3115
|
"stateVariable": false,
|
|
2914
3116
|
"storageLocation": "default",
|
|
2915
3117
|
"typeDescriptions": {
|
|
@@ -2917,10 +3119,10 @@
|
|
|
2917
3119
|
"typeString": "bytes32"
|
|
2918
3120
|
},
|
|
2919
3121
|
"typeName": {
|
|
2920
|
-
"id":
|
|
3122
|
+
"id": 954,
|
|
2921
3123
|
"name": "bytes32",
|
|
2922
3124
|
"nodeType": "ElementaryTypeName",
|
|
2923
|
-
"src": "
|
|
3125
|
+
"src": "3152:7:2",
|
|
2924
3126
|
"typeDescriptions": {
|
|
2925
3127
|
"typeIdentifier": "t_bytes32",
|
|
2926
3128
|
"typeString": "bytes32"
|
|
@@ -2930,48 +3132,48 @@
|
|
|
2930
3132
|
},
|
|
2931
3133
|
{
|
|
2932
3134
|
"constant": false,
|
|
2933
|
-
"id":
|
|
3135
|
+
"id": 958,
|
|
2934
3136
|
"mutability": "mutable",
|
|
2935
3137
|
"name": "hook",
|
|
2936
|
-
"nameLocation": "
|
|
3138
|
+
"nameLocation": "3178:4:2",
|
|
2937
3139
|
"nodeType": "VariableDeclaration",
|
|
2938
|
-
"scope":
|
|
2939
|
-
"src": "
|
|
3140
|
+
"scope": 961,
|
|
3141
|
+
"src": "3167:15:2",
|
|
2940
3142
|
"stateVariable": false,
|
|
2941
3143
|
"storageLocation": "default",
|
|
2942
3144
|
"typeDescriptions": {
|
|
2943
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
3145
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2944
3146
|
"typeString": "contract IStoreHook"
|
|
2945
3147
|
},
|
|
2946
3148
|
"typeName": {
|
|
2947
|
-
"id":
|
|
3149
|
+
"id": 957,
|
|
2948
3150
|
"nodeType": "UserDefinedTypeName",
|
|
2949
3151
|
"pathNode": {
|
|
2950
|
-
"id":
|
|
3152
|
+
"id": 956,
|
|
2951
3153
|
"name": "IStoreHook",
|
|
2952
3154
|
"nodeType": "IdentifierPath",
|
|
2953
|
-
"referencedDeclaration":
|
|
2954
|
-
"src": "
|
|
3155
|
+
"referencedDeclaration": 1010,
|
|
3156
|
+
"src": "3167:10:2"
|
|
2955
3157
|
},
|
|
2956
|
-
"referencedDeclaration":
|
|
2957
|
-
"src": "
|
|
3158
|
+
"referencedDeclaration": 1010,
|
|
3159
|
+
"src": "3167:10:2",
|
|
2958
3160
|
"typeDescriptions": {
|
|
2959
|
-
"typeIdentifier": "t_contract$_IStoreHook_$
|
|
3161
|
+
"typeIdentifier": "t_contract$_IStoreHook_$1010",
|
|
2960
3162
|
"typeString": "contract IStoreHook"
|
|
2961
3163
|
}
|
|
2962
3164
|
},
|
|
2963
3165
|
"visibility": "internal"
|
|
2964
3166
|
}
|
|
2965
3167
|
],
|
|
2966
|
-
"src": "
|
|
3168
|
+
"src": "3151:32:2"
|
|
2967
3169
|
},
|
|
2968
3170
|
"returnParameters": {
|
|
2969
|
-
"id":
|
|
3171
|
+
"id": 960,
|
|
2970
3172
|
"nodeType": "ParameterList",
|
|
2971
3173
|
"parameters": [],
|
|
2972
|
-
"src": "
|
|
3174
|
+
"src": "3192:0:2"
|
|
2973
3175
|
},
|
|
2974
|
-
"scope":
|
|
3176
|
+
"scope": 962,
|
|
2975
3177
|
"stateMutability": "nonpayable",
|
|
2976
3178
|
"virtual": false,
|
|
2977
3179
|
"visibility": "external"
|
|
@@ -2983,50 +3185,50 @@
|
|
|
2983
3185
|
"contractDependencies": [],
|
|
2984
3186
|
"contractKind": "interface",
|
|
2985
3187
|
"documentation": {
|
|
2986
|
-
"id":
|
|
3188
|
+
"id": 932,
|
|
2987
3189
|
"nodeType": "StructuredDocumentation",
|
|
2988
|
-
"src": "
|
|
3190
|
+
"src": "2577:250:2",
|
|
2989
3191
|
"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."
|
|
2990
3192
|
},
|
|
2991
3193
|
"fullyImplemented": false,
|
|
2992
3194
|
"linearizedBaseContracts": [
|
|
2993
|
-
|
|
3195
|
+
962
|
|
2994
3196
|
],
|
|
2995
3197
|
"name": "IStoreRegistration",
|
|
2996
|
-
"nameLocation": "
|
|
2997
|
-
"scope":
|
|
3198
|
+
"nameLocation": "2838:18:2",
|
|
3199
|
+
"scope": 1011,
|
|
2998
3200
|
"usedErrors": []
|
|
2999
3201
|
},
|
|
3000
3202
|
{
|
|
3001
|
-
"id":
|
|
3203
|
+
"id": 967,
|
|
3002
3204
|
"nodeType": "ContractDefinition",
|
|
3003
|
-
"src": "
|
|
3205
|
+
"src": "3197:53:2",
|
|
3004
3206
|
"nodes": [],
|
|
3005
3207
|
"abstract": false,
|
|
3006
3208
|
"baseContracts": [
|
|
3007
3209
|
{
|
|
3008
3210
|
"baseName": {
|
|
3009
|
-
"id":
|
|
3211
|
+
"id": 963,
|
|
3010
3212
|
"name": "IStoreData",
|
|
3011
3213
|
"nodeType": "IdentifierPath",
|
|
3012
|
-
"referencedDeclaration":
|
|
3013
|
-
"src": "
|
|
3214
|
+
"referencedDeclaration": 931,
|
|
3215
|
+
"src": "3217:10:2"
|
|
3014
3216
|
},
|
|
3015
|
-
"id":
|
|
3217
|
+
"id": 964,
|
|
3016
3218
|
"nodeType": "InheritanceSpecifier",
|
|
3017
|
-
"src": "
|
|
3219
|
+
"src": "3217:10:2"
|
|
3018
3220
|
},
|
|
3019
3221
|
{
|
|
3020
3222
|
"baseName": {
|
|
3021
|
-
"id":
|
|
3223
|
+
"id": 965,
|
|
3022
3224
|
"name": "IStoreRegistration",
|
|
3023
3225
|
"nodeType": "IdentifierPath",
|
|
3024
|
-
"referencedDeclaration":
|
|
3025
|
-
"src": "
|
|
3226
|
+
"referencedDeclaration": 962,
|
|
3227
|
+
"src": "3229:18:2"
|
|
3026
3228
|
},
|
|
3027
|
-
"id":
|
|
3229
|
+
"id": 966,
|
|
3028
3230
|
"nodeType": "InheritanceSpecifier",
|
|
3029
|
-
"src": "
|
|
3231
|
+
"src": "3229:18:2"
|
|
3030
3232
|
}
|
|
3031
3233
|
],
|
|
3032
3234
|
"canonicalName": "IStore",
|
|
@@ -3034,46 +3236,46 @@
|
|
|
3034
3236
|
"contractKind": "interface",
|
|
3035
3237
|
"fullyImplemented": false,
|
|
3036
3238
|
"linearizedBaseContracts": [
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3239
|
+
967,
|
|
3240
|
+
962,
|
|
3241
|
+
931,
|
|
3242
|
+
925,
|
|
3041
3243
|
829
|
|
3042
3244
|
],
|
|
3043
3245
|
"name": "IStore",
|
|
3044
|
-
"nameLocation": "
|
|
3045
|
-
"scope":
|
|
3246
|
+
"nameLocation": "3207:6:2",
|
|
3247
|
+
"scope": 1011,
|
|
3046
3248
|
"usedErrors": []
|
|
3047
3249
|
},
|
|
3048
3250
|
{
|
|
3049
|
-
"id":
|
|
3251
|
+
"id": 1010,
|
|
3050
3252
|
"nodeType": "ContractDefinition",
|
|
3051
|
-
"src": "
|
|
3253
|
+
"src": "3252:494:2",
|
|
3052
3254
|
"nodes": [
|
|
3053
3255
|
{
|
|
3054
|
-
"id":
|
|
3256
|
+
"id": 977,
|
|
3055
3257
|
"nodeType": "FunctionDefinition",
|
|
3056
|
-
"src": "
|
|
3258
|
+
"src": "3277:86:2",
|
|
3057
3259
|
"nodes": [],
|
|
3058
3260
|
"functionSelector": "82b6745f",
|
|
3059
3261
|
"implemented": false,
|
|
3060
3262
|
"kind": "function",
|
|
3061
3263
|
"modifiers": [],
|
|
3062
3264
|
"name": "onSetRecord",
|
|
3063
|
-
"nameLocation": "
|
|
3265
|
+
"nameLocation": "3286:11:2",
|
|
3064
3266
|
"parameters": {
|
|
3065
|
-
"id":
|
|
3267
|
+
"id": 975,
|
|
3066
3268
|
"nodeType": "ParameterList",
|
|
3067
3269
|
"parameters": [
|
|
3068
3270
|
{
|
|
3069
3271
|
"constant": false,
|
|
3070
|
-
"id":
|
|
3272
|
+
"id": 969,
|
|
3071
3273
|
"mutability": "mutable",
|
|
3072
3274
|
"name": "table",
|
|
3073
|
-
"nameLocation": "
|
|
3275
|
+
"nameLocation": "3306:5:2",
|
|
3074
3276
|
"nodeType": "VariableDeclaration",
|
|
3075
|
-
"scope":
|
|
3076
|
-
"src": "
|
|
3277
|
+
"scope": 977,
|
|
3278
|
+
"src": "3298:13:2",
|
|
3077
3279
|
"stateVariable": false,
|
|
3078
3280
|
"storageLocation": "default",
|
|
3079
3281
|
"typeDescriptions": {
|
|
@@ -3081,10 +3283,10 @@
|
|
|
3081
3283
|
"typeString": "bytes32"
|
|
3082
3284
|
},
|
|
3083
3285
|
"typeName": {
|
|
3084
|
-
"id":
|
|
3286
|
+
"id": 968,
|
|
3085
3287
|
"name": "bytes32",
|
|
3086
3288
|
"nodeType": "ElementaryTypeName",
|
|
3087
|
-
"src": "
|
|
3289
|
+
"src": "3298:7:2",
|
|
3088
3290
|
"typeDescriptions": {
|
|
3089
3291
|
"typeIdentifier": "t_bytes32",
|
|
3090
3292
|
"typeString": "bytes32"
|
|
@@ -3094,13 +3296,13 @@
|
|
|
3094
3296
|
},
|
|
3095
3297
|
{
|
|
3096
3298
|
"constant": false,
|
|
3097
|
-
"id":
|
|
3299
|
+
"id": 972,
|
|
3098
3300
|
"mutability": "mutable",
|
|
3099
3301
|
"name": "key",
|
|
3100
|
-
"nameLocation": "
|
|
3302
|
+
"nameLocation": "3330:3:2",
|
|
3101
3303
|
"nodeType": "VariableDeclaration",
|
|
3102
|
-
"scope":
|
|
3103
|
-
"src": "
|
|
3304
|
+
"scope": 977,
|
|
3305
|
+
"src": "3313:20:2",
|
|
3104
3306
|
"stateVariable": false,
|
|
3105
3307
|
"storageLocation": "memory",
|
|
3106
3308
|
"typeDescriptions": {
|
|
@@ -3109,18 +3311,18 @@
|
|
|
3109
3311
|
},
|
|
3110
3312
|
"typeName": {
|
|
3111
3313
|
"baseType": {
|
|
3112
|
-
"id":
|
|
3314
|
+
"id": 970,
|
|
3113
3315
|
"name": "bytes32",
|
|
3114
3316
|
"nodeType": "ElementaryTypeName",
|
|
3115
|
-
"src": "
|
|
3317
|
+
"src": "3313:7:2",
|
|
3116
3318
|
"typeDescriptions": {
|
|
3117
3319
|
"typeIdentifier": "t_bytes32",
|
|
3118
3320
|
"typeString": "bytes32"
|
|
3119
3321
|
}
|
|
3120
3322
|
},
|
|
3121
|
-
"id":
|
|
3323
|
+
"id": 971,
|
|
3122
3324
|
"nodeType": "ArrayTypeName",
|
|
3123
|
-
"src": "
|
|
3325
|
+
"src": "3313:9:2",
|
|
3124
3326
|
"typeDescriptions": {
|
|
3125
3327
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3126
3328
|
"typeString": "bytes32[]"
|
|
@@ -3130,13 +3332,13 @@
|
|
|
3130
3332
|
},
|
|
3131
3333
|
{
|
|
3132
3334
|
"constant": false,
|
|
3133
|
-
"id":
|
|
3335
|
+
"id": 974,
|
|
3134
3336
|
"mutability": "mutable",
|
|
3135
3337
|
"name": "data",
|
|
3136
|
-
"nameLocation": "
|
|
3338
|
+
"nameLocation": "3348:4:2",
|
|
3137
3339
|
"nodeType": "VariableDeclaration",
|
|
3138
|
-
"scope":
|
|
3139
|
-
"src": "
|
|
3340
|
+
"scope": 977,
|
|
3341
|
+
"src": "3335:17:2",
|
|
3140
3342
|
"stateVariable": false,
|
|
3141
3343
|
"storageLocation": "memory",
|
|
3142
3344
|
"typeDescriptions": {
|
|
@@ -3144,10 +3346,10 @@
|
|
|
3144
3346
|
"typeString": "bytes"
|
|
3145
3347
|
},
|
|
3146
3348
|
"typeName": {
|
|
3147
|
-
"id":
|
|
3349
|
+
"id": 973,
|
|
3148
3350
|
"name": "bytes",
|
|
3149
3351
|
"nodeType": "ElementaryTypeName",
|
|
3150
|
-
"src": "
|
|
3352
|
+
"src": "3335:5:2",
|
|
3151
3353
|
"typeDescriptions": {
|
|
3152
3354
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3153
3355
|
"typeString": "bytes"
|
|
@@ -3156,43 +3358,43 @@
|
|
|
3156
3358
|
"visibility": "internal"
|
|
3157
3359
|
}
|
|
3158
3360
|
],
|
|
3159
|
-
"src": "
|
|
3361
|
+
"src": "3297:56:2"
|
|
3160
3362
|
},
|
|
3161
3363
|
"returnParameters": {
|
|
3162
|
-
"id":
|
|
3364
|
+
"id": 976,
|
|
3163
3365
|
"nodeType": "ParameterList",
|
|
3164
3366
|
"parameters": [],
|
|
3165
|
-
"src": "
|
|
3367
|
+
"src": "3362:0:2"
|
|
3166
3368
|
},
|
|
3167
|
-
"scope":
|
|
3369
|
+
"scope": 1010,
|
|
3168
3370
|
"stateMutability": "nonpayable",
|
|
3169
3371
|
"virtual": false,
|
|
3170
3372
|
"visibility": "external"
|
|
3171
3373
|
},
|
|
3172
3374
|
{
|
|
3173
|
-
"id":
|
|
3375
|
+
"id": 989,
|
|
3174
3376
|
"nodeType": "FunctionDefinition",
|
|
3175
|
-
"src": "
|
|
3377
|
+
"src": "3447:110:2",
|
|
3176
3378
|
"nodes": [],
|
|
3177
3379
|
"functionSelector": "469b7ee2",
|
|
3178
3380
|
"implemented": false,
|
|
3179
3381
|
"kind": "function",
|
|
3180
3382
|
"modifiers": [],
|
|
3181
3383
|
"name": "onBeforeSetField",
|
|
3182
|
-
"nameLocation": "
|
|
3384
|
+
"nameLocation": "3456:16:2",
|
|
3183
3385
|
"parameters": {
|
|
3184
|
-
"id":
|
|
3386
|
+
"id": 987,
|
|
3185
3387
|
"nodeType": "ParameterList",
|
|
3186
3388
|
"parameters": [
|
|
3187
3389
|
{
|
|
3188
3390
|
"constant": false,
|
|
3189
|
-
"id":
|
|
3391
|
+
"id": 979,
|
|
3190
3392
|
"mutability": "mutable",
|
|
3191
3393
|
"name": "table",
|
|
3192
|
-
"nameLocation": "
|
|
3394
|
+
"nameLocation": "3481:5:2",
|
|
3193
3395
|
"nodeType": "VariableDeclaration",
|
|
3194
|
-
"scope":
|
|
3195
|
-
"src": "
|
|
3396
|
+
"scope": 989,
|
|
3397
|
+
"src": "3473:13:2",
|
|
3196
3398
|
"stateVariable": false,
|
|
3197
3399
|
"storageLocation": "default",
|
|
3198
3400
|
"typeDescriptions": {
|
|
@@ -3200,10 +3402,10 @@
|
|
|
3200
3402
|
"typeString": "bytes32"
|
|
3201
3403
|
},
|
|
3202
3404
|
"typeName": {
|
|
3203
|
-
"id":
|
|
3405
|
+
"id": 978,
|
|
3204
3406
|
"name": "bytes32",
|
|
3205
3407
|
"nodeType": "ElementaryTypeName",
|
|
3206
|
-
"src": "
|
|
3408
|
+
"src": "3473:7:2",
|
|
3207
3409
|
"typeDescriptions": {
|
|
3208
3410
|
"typeIdentifier": "t_bytes32",
|
|
3209
3411
|
"typeString": "bytes32"
|
|
@@ -3213,13 +3415,13 @@
|
|
|
3213
3415
|
},
|
|
3214
3416
|
{
|
|
3215
3417
|
"constant": false,
|
|
3216
|
-
"id":
|
|
3418
|
+
"id": 982,
|
|
3217
3419
|
"mutability": "mutable",
|
|
3218
3420
|
"name": "key",
|
|
3219
|
-
"nameLocation": "
|
|
3421
|
+
"nameLocation": "3505:3:2",
|
|
3220
3422
|
"nodeType": "VariableDeclaration",
|
|
3221
|
-
"scope":
|
|
3222
|
-
"src": "
|
|
3423
|
+
"scope": 989,
|
|
3424
|
+
"src": "3488:20:2",
|
|
3223
3425
|
"stateVariable": false,
|
|
3224
3426
|
"storageLocation": "memory",
|
|
3225
3427
|
"typeDescriptions": {
|
|
@@ -3228,18 +3430,18 @@
|
|
|
3228
3430
|
},
|
|
3229
3431
|
"typeName": {
|
|
3230
3432
|
"baseType": {
|
|
3231
|
-
"id":
|
|
3433
|
+
"id": 980,
|
|
3232
3434
|
"name": "bytes32",
|
|
3233
3435
|
"nodeType": "ElementaryTypeName",
|
|
3234
|
-
"src": "
|
|
3436
|
+
"src": "3488:7:2",
|
|
3235
3437
|
"typeDescriptions": {
|
|
3236
3438
|
"typeIdentifier": "t_bytes32",
|
|
3237
3439
|
"typeString": "bytes32"
|
|
3238
3440
|
}
|
|
3239
3441
|
},
|
|
3240
|
-
"id":
|
|
3442
|
+
"id": 981,
|
|
3241
3443
|
"nodeType": "ArrayTypeName",
|
|
3242
|
-
"src": "
|
|
3444
|
+
"src": "3488:9:2",
|
|
3243
3445
|
"typeDescriptions": {
|
|
3244
3446
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3245
3447
|
"typeString": "bytes32[]"
|
|
@@ -3249,13 +3451,13 @@
|
|
|
3249
3451
|
},
|
|
3250
3452
|
{
|
|
3251
3453
|
"constant": false,
|
|
3252
|
-
"id":
|
|
3454
|
+
"id": 984,
|
|
3253
3455
|
"mutability": "mutable",
|
|
3254
3456
|
"name": "schemaIndex",
|
|
3255
|
-
"nameLocation": "
|
|
3457
|
+
"nameLocation": "3516:11:2",
|
|
3256
3458
|
"nodeType": "VariableDeclaration",
|
|
3257
|
-
"scope":
|
|
3258
|
-
"src": "
|
|
3459
|
+
"scope": 989,
|
|
3460
|
+
"src": "3510:17:2",
|
|
3259
3461
|
"stateVariable": false,
|
|
3260
3462
|
"storageLocation": "default",
|
|
3261
3463
|
"typeDescriptions": {
|
|
@@ -3263,10 +3465,10 @@
|
|
|
3263
3465
|
"typeString": "uint8"
|
|
3264
3466
|
},
|
|
3265
3467
|
"typeName": {
|
|
3266
|
-
"id":
|
|
3468
|
+
"id": 983,
|
|
3267
3469
|
"name": "uint8",
|
|
3268
3470
|
"nodeType": "ElementaryTypeName",
|
|
3269
|
-
"src": "
|
|
3471
|
+
"src": "3510:5:2",
|
|
3270
3472
|
"typeDescriptions": {
|
|
3271
3473
|
"typeIdentifier": "t_uint8",
|
|
3272
3474
|
"typeString": "uint8"
|
|
@@ -3276,13 +3478,13 @@
|
|
|
3276
3478
|
},
|
|
3277
3479
|
{
|
|
3278
3480
|
"constant": false,
|
|
3279
|
-
"id":
|
|
3481
|
+
"id": 986,
|
|
3280
3482
|
"mutability": "mutable",
|
|
3281
3483
|
"name": "data",
|
|
3282
|
-
"nameLocation": "
|
|
3484
|
+
"nameLocation": "3542:4:2",
|
|
3283
3485
|
"nodeType": "VariableDeclaration",
|
|
3284
|
-
"scope":
|
|
3285
|
-
"src": "
|
|
3486
|
+
"scope": 989,
|
|
3487
|
+
"src": "3529:17:2",
|
|
3286
3488
|
"stateVariable": false,
|
|
3287
3489
|
"storageLocation": "memory",
|
|
3288
3490
|
"typeDescriptions": {
|
|
@@ -3290,10 +3492,10 @@
|
|
|
3290
3492
|
"typeString": "bytes"
|
|
3291
3493
|
},
|
|
3292
3494
|
"typeName": {
|
|
3293
|
-
"id":
|
|
3495
|
+
"id": 985,
|
|
3294
3496
|
"name": "bytes",
|
|
3295
3497
|
"nodeType": "ElementaryTypeName",
|
|
3296
|
-
"src": "
|
|
3498
|
+
"src": "3529:5:2",
|
|
3297
3499
|
"typeDescriptions": {
|
|
3298
3500
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3299
3501
|
"typeString": "bytes"
|
|
@@ -3302,43 +3504,43 @@
|
|
|
3302
3504
|
"visibility": "internal"
|
|
3303
3505
|
}
|
|
3304
3506
|
],
|
|
3305
|
-
"src": "
|
|
3507
|
+
"src": "3472:75:2"
|
|
3306
3508
|
},
|
|
3307
3509
|
"returnParameters": {
|
|
3308
|
-
"id":
|
|
3510
|
+
"id": 988,
|
|
3309
3511
|
"nodeType": "ParameterList",
|
|
3310
3512
|
"parameters": [],
|
|
3311
|
-
"src": "
|
|
3513
|
+
"src": "3556:0:2"
|
|
3312
3514
|
},
|
|
3313
|
-
"scope":
|
|
3515
|
+
"scope": 1010,
|
|
3314
3516
|
"stateMutability": "nonpayable",
|
|
3315
3517
|
"virtual": false,
|
|
3316
3518
|
"visibility": "external"
|
|
3317
3519
|
},
|
|
3318
3520
|
{
|
|
3319
|
-
"id":
|
|
3521
|
+
"id": 1001,
|
|
3320
3522
|
"nodeType": "FunctionDefinition",
|
|
3321
|
-
"src": "
|
|
3523
|
+
"src": "3561:109:2",
|
|
3322
3524
|
"nodes": [],
|
|
3323
3525
|
"functionSelector": "6b3d7d5f",
|
|
3324
3526
|
"implemented": false,
|
|
3325
3527
|
"kind": "function",
|
|
3326
3528
|
"modifiers": [],
|
|
3327
3529
|
"name": "onAfterSetField",
|
|
3328
|
-
"nameLocation": "
|
|
3530
|
+
"nameLocation": "3570:15:2",
|
|
3329
3531
|
"parameters": {
|
|
3330
|
-
"id":
|
|
3532
|
+
"id": 999,
|
|
3331
3533
|
"nodeType": "ParameterList",
|
|
3332
3534
|
"parameters": [
|
|
3333
3535
|
{
|
|
3334
3536
|
"constant": false,
|
|
3335
|
-
"id":
|
|
3537
|
+
"id": 991,
|
|
3336
3538
|
"mutability": "mutable",
|
|
3337
3539
|
"name": "table",
|
|
3338
|
-
"nameLocation": "
|
|
3540
|
+
"nameLocation": "3594:5:2",
|
|
3339
3541
|
"nodeType": "VariableDeclaration",
|
|
3340
|
-
"scope":
|
|
3341
|
-
"src": "
|
|
3542
|
+
"scope": 1001,
|
|
3543
|
+
"src": "3586:13:2",
|
|
3342
3544
|
"stateVariable": false,
|
|
3343
3545
|
"storageLocation": "default",
|
|
3344
3546
|
"typeDescriptions": {
|
|
@@ -3346,10 +3548,10 @@
|
|
|
3346
3548
|
"typeString": "bytes32"
|
|
3347
3549
|
},
|
|
3348
3550
|
"typeName": {
|
|
3349
|
-
"id":
|
|
3551
|
+
"id": 990,
|
|
3350
3552
|
"name": "bytes32",
|
|
3351
3553
|
"nodeType": "ElementaryTypeName",
|
|
3352
|
-
"src": "
|
|
3554
|
+
"src": "3586:7:2",
|
|
3353
3555
|
"typeDescriptions": {
|
|
3354
3556
|
"typeIdentifier": "t_bytes32",
|
|
3355
3557
|
"typeString": "bytes32"
|
|
@@ -3359,13 +3561,13 @@
|
|
|
3359
3561
|
},
|
|
3360
3562
|
{
|
|
3361
3563
|
"constant": false,
|
|
3362
|
-
"id":
|
|
3564
|
+
"id": 994,
|
|
3363
3565
|
"mutability": "mutable",
|
|
3364
3566
|
"name": "key",
|
|
3365
|
-
"nameLocation": "
|
|
3567
|
+
"nameLocation": "3618:3:2",
|
|
3366
3568
|
"nodeType": "VariableDeclaration",
|
|
3367
|
-
"scope":
|
|
3368
|
-
"src": "
|
|
3569
|
+
"scope": 1001,
|
|
3570
|
+
"src": "3601:20:2",
|
|
3369
3571
|
"stateVariable": false,
|
|
3370
3572
|
"storageLocation": "memory",
|
|
3371
3573
|
"typeDescriptions": {
|
|
@@ -3374,18 +3576,18 @@
|
|
|
3374
3576
|
},
|
|
3375
3577
|
"typeName": {
|
|
3376
3578
|
"baseType": {
|
|
3377
|
-
"id":
|
|
3579
|
+
"id": 992,
|
|
3378
3580
|
"name": "bytes32",
|
|
3379
3581
|
"nodeType": "ElementaryTypeName",
|
|
3380
|
-
"src": "
|
|
3582
|
+
"src": "3601:7:2",
|
|
3381
3583
|
"typeDescriptions": {
|
|
3382
3584
|
"typeIdentifier": "t_bytes32",
|
|
3383
3585
|
"typeString": "bytes32"
|
|
3384
3586
|
}
|
|
3385
3587
|
},
|
|
3386
|
-
"id":
|
|
3588
|
+
"id": 993,
|
|
3387
3589
|
"nodeType": "ArrayTypeName",
|
|
3388
|
-
"src": "
|
|
3590
|
+
"src": "3601:9:2",
|
|
3389
3591
|
"typeDescriptions": {
|
|
3390
3592
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3391
3593
|
"typeString": "bytes32[]"
|
|
@@ -3395,13 +3597,13 @@
|
|
|
3395
3597
|
},
|
|
3396
3598
|
{
|
|
3397
3599
|
"constant": false,
|
|
3398
|
-
"id":
|
|
3600
|
+
"id": 996,
|
|
3399
3601
|
"mutability": "mutable",
|
|
3400
3602
|
"name": "schemaIndex",
|
|
3401
|
-
"nameLocation": "
|
|
3603
|
+
"nameLocation": "3629:11:2",
|
|
3402
3604
|
"nodeType": "VariableDeclaration",
|
|
3403
|
-
"scope":
|
|
3404
|
-
"src": "
|
|
3605
|
+
"scope": 1001,
|
|
3606
|
+
"src": "3623:17:2",
|
|
3405
3607
|
"stateVariable": false,
|
|
3406
3608
|
"storageLocation": "default",
|
|
3407
3609
|
"typeDescriptions": {
|
|
@@ -3409,10 +3611,10 @@
|
|
|
3409
3611
|
"typeString": "uint8"
|
|
3410
3612
|
},
|
|
3411
3613
|
"typeName": {
|
|
3412
|
-
"id":
|
|
3614
|
+
"id": 995,
|
|
3413
3615
|
"name": "uint8",
|
|
3414
3616
|
"nodeType": "ElementaryTypeName",
|
|
3415
|
-
"src": "
|
|
3617
|
+
"src": "3623:5:2",
|
|
3416
3618
|
"typeDescriptions": {
|
|
3417
3619
|
"typeIdentifier": "t_uint8",
|
|
3418
3620
|
"typeString": "uint8"
|
|
@@ -3422,13 +3624,13 @@
|
|
|
3422
3624
|
},
|
|
3423
3625
|
{
|
|
3424
3626
|
"constant": false,
|
|
3425
|
-
"id":
|
|
3627
|
+
"id": 998,
|
|
3426
3628
|
"mutability": "mutable",
|
|
3427
3629
|
"name": "data",
|
|
3428
|
-
"nameLocation": "
|
|
3630
|
+
"nameLocation": "3655:4:2",
|
|
3429
3631
|
"nodeType": "VariableDeclaration",
|
|
3430
|
-
"scope":
|
|
3431
|
-
"src": "
|
|
3632
|
+
"scope": 1001,
|
|
3633
|
+
"src": "3642:17:2",
|
|
3432
3634
|
"stateVariable": false,
|
|
3433
3635
|
"storageLocation": "memory",
|
|
3434
3636
|
"typeDescriptions": {
|
|
@@ -3436,10 +3638,10 @@
|
|
|
3436
3638
|
"typeString": "bytes"
|
|
3437
3639
|
},
|
|
3438
3640
|
"typeName": {
|
|
3439
|
-
"id":
|
|
3641
|
+
"id": 997,
|
|
3440
3642
|
"name": "bytes",
|
|
3441
3643
|
"nodeType": "ElementaryTypeName",
|
|
3442
|
-
"src": "
|
|
3644
|
+
"src": "3642:5:2",
|
|
3443
3645
|
"typeDescriptions": {
|
|
3444
3646
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
3445
3647
|
"typeString": "bytes"
|
|
@@ -3448,43 +3650,43 @@
|
|
|
3448
3650
|
"visibility": "internal"
|
|
3449
3651
|
}
|
|
3450
3652
|
],
|
|
3451
|
-
"src": "
|
|
3653
|
+
"src": "3585:75:2"
|
|
3452
3654
|
},
|
|
3453
3655
|
"returnParameters": {
|
|
3454
|
-
"id":
|
|
3656
|
+
"id": 1000,
|
|
3455
3657
|
"nodeType": "ParameterList",
|
|
3456
3658
|
"parameters": [],
|
|
3457
|
-
"src": "
|
|
3659
|
+
"src": "3669:0:2"
|
|
3458
3660
|
},
|
|
3459
|
-
"scope":
|
|
3661
|
+
"scope": 1010,
|
|
3460
3662
|
"stateMutability": "nonpayable",
|
|
3461
3663
|
"virtual": false,
|
|
3462
3664
|
"visibility": "external"
|
|
3463
3665
|
},
|
|
3464
3666
|
{
|
|
3465
|
-
"id":
|
|
3667
|
+
"id": 1009,
|
|
3466
3668
|
"nodeType": "FunctionDefinition",
|
|
3467
|
-
"src": "
|
|
3669
|
+
"src": "3674:70:2",
|
|
3468
3670
|
"nodes": [],
|
|
3469
3671
|
"functionSelector": "b51fef6c",
|
|
3470
3672
|
"implemented": false,
|
|
3471
3673
|
"kind": "function",
|
|
3472
3674
|
"modifiers": [],
|
|
3473
3675
|
"name": "onDeleteRecord",
|
|
3474
|
-
"nameLocation": "
|
|
3676
|
+
"nameLocation": "3683:14:2",
|
|
3475
3677
|
"parameters": {
|
|
3476
|
-
"id":
|
|
3678
|
+
"id": 1007,
|
|
3477
3679
|
"nodeType": "ParameterList",
|
|
3478
3680
|
"parameters": [
|
|
3479
3681
|
{
|
|
3480
3682
|
"constant": false,
|
|
3481
|
-
"id":
|
|
3683
|
+
"id": 1003,
|
|
3482
3684
|
"mutability": "mutable",
|
|
3483
3685
|
"name": "table",
|
|
3484
|
-
"nameLocation": "
|
|
3686
|
+
"nameLocation": "3706:5:2",
|
|
3485
3687
|
"nodeType": "VariableDeclaration",
|
|
3486
|
-
"scope":
|
|
3487
|
-
"src": "
|
|
3688
|
+
"scope": 1009,
|
|
3689
|
+
"src": "3698:13:2",
|
|
3488
3690
|
"stateVariable": false,
|
|
3489
3691
|
"storageLocation": "default",
|
|
3490
3692
|
"typeDescriptions": {
|
|
@@ -3492,10 +3694,10 @@
|
|
|
3492
3694
|
"typeString": "bytes32"
|
|
3493
3695
|
},
|
|
3494
3696
|
"typeName": {
|
|
3495
|
-
"id":
|
|
3697
|
+
"id": 1002,
|
|
3496
3698
|
"name": "bytes32",
|
|
3497
3699
|
"nodeType": "ElementaryTypeName",
|
|
3498
|
-
"src": "
|
|
3700
|
+
"src": "3698:7:2",
|
|
3499
3701
|
"typeDescriptions": {
|
|
3500
3702
|
"typeIdentifier": "t_bytes32",
|
|
3501
3703
|
"typeString": "bytes32"
|
|
@@ -3505,13 +3707,13 @@
|
|
|
3505
3707
|
},
|
|
3506
3708
|
{
|
|
3507
3709
|
"constant": false,
|
|
3508
|
-
"id":
|
|
3710
|
+
"id": 1006,
|
|
3509
3711
|
"mutability": "mutable",
|
|
3510
3712
|
"name": "key",
|
|
3511
|
-
"nameLocation": "
|
|
3713
|
+
"nameLocation": "3730:3:2",
|
|
3512
3714
|
"nodeType": "VariableDeclaration",
|
|
3513
|
-
"scope":
|
|
3514
|
-
"src": "
|
|
3715
|
+
"scope": 1009,
|
|
3716
|
+
"src": "3713:20:2",
|
|
3515
3717
|
"stateVariable": false,
|
|
3516
3718
|
"storageLocation": "memory",
|
|
3517
3719
|
"typeDescriptions": {
|
|
@@ -3520,18 +3722,18 @@
|
|
|
3520
3722
|
},
|
|
3521
3723
|
"typeName": {
|
|
3522
3724
|
"baseType": {
|
|
3523
|
-
"id":
|
|
3725
|
+
"id": 1004,
|
|
3524
3726
|
"name": "bytes32",
|
|
3525
3727
|
"nodeType": "ElementaryTypeName",
|
|
3526
|
-
"src": "
|
|
3728
|
+
"src": "3713:7:2",
|
|
3527
3729
|
"typeDescriptions": {
|
|
3528
3730
|
"typeIdentifier": "t_bytes32",
|
|
3529
3731
|
"typeString": "bytes32"
|
|
3530
3732
|
}
|
|
3531
3733
|
},
|
|
3532
|
-
"id":
|
|
3734
|
+
"id": 1005,
|
|
3533
3735
|
"nodeType": "ArrayTypeName",
|
|
3534
|
-
"src": "
|
|
3736
|
+
"src": "3713:9:2",
|
|
3535
3737
|
"typeDescriptions": {
|
|
3536
3738
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
3537
3739
|
"typeString": "bytes32[]"
|
|
@@ -3540,15 +3742,15 @@
|
|
|
3540
3742
|
"visibility": "internal"
|
|
3541
3743
|
}
|
|
3542
3744
|
],
|
|
3543
|
-
"src": "
|
|
3745
|
+
"src": "3697:37:2"
|
|
3544
3746
|
},
|
|
3545
3747
|
"returnParameters": {
|
|
3546
|
-
"id":
|
|
3748
|
+
"id": 1008,
|
|
3547
3749
|
"nodeType": "ParameterList",
|
|
3548
3750
|
"parameters": [],
|
|
3549
|
-
"src": "
|
|
3751
|
+
"src": "3743:0:2"
|
|
3550
3752
|
},
|
|
3551
|
-
"scope":
|
|
3753
|
+
"scope": 1010,
|
|
3552
3754
|
"stateMutability": "nonpayable",
|
|
3553
3755
|
"virtual": false,
|
|
3554
3756
|
"visibility": "external"
|
|
@@ -3561,11 +3763,11 @@
|
|
|
3561
3763
|
"contractKind": "interface",
|
|
3562
3764
|
"fullyImplemented": false,
|
|
3563
3765
|
"linearizedBaseContracts": [
|
|
3564
|
-
|
|
3766
|
+
1010
|
|
3565
3767
|
],
|
|
3566
3768
|
"name": "IStoreHook",
|
|
3567
|
-
"nameLocation": "
|
|
3568
|
-
"scope":
|
|
3769
|
+
"nameLocation": "3262:10:2",
|
|
3770
|
+
"scope": 1011,
|
|
3569
3771
|
"usedErrors": []
|
|
3570
3772
|
}
|
|
3571
3773
|
],
|