@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
|
@@ -23,6 +23,39 @@
|
|
|
23
23
|
"stateMutability": "nonpayable",
|
|
24
24
|
"type": "function"
|
|
25
25
|
},
|
|
26
|
+
{
|
|
27
|
+
"inputs": [
|
|
28
|
+
{
|
|
29
|
+
"internalType": "bytes16",
|
|
30
|
+
"name": "namespace",
|
|
31
|
+
"type": "bytes16"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"internalType": "bytes16",
|
|
35
|
+
"name": "name",
|
|
36
|
+
"type": "bytes16"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"internalType": "bytes32[]",
|
|
40
|
+
"name": "key",
|
|
41
|
+
"type": "bytes32[]"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"internalType": "uint8",
|
|
45
|
+
"name": "schemaIndex",
|
|
46
|
+
"type": "uint8"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"internalType": "uint256",
|
|
50
|
+
"name": "byteLengthToPop",
|
|
51
|
+
"type": "uint256"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"name": "popFromField",
|
|
55
|
+
"outputs": [],
|
|
56
|
+
"stateMutability": "nonpayable",
|
|
57
|
+
"type": "function"
|
|
58
|
+
},
|
|
26
59
|
{
|
|
27
60
|
"inputs": [
|
|
28
61
|
{
|
|
@@ -168,12 +201,13 @@
|
|
|
168
201
|
},
|
|
169
202
|
"methodIdentifiers": {
|
|
170
203
|
"deleteRecord(bytes16,bytes16,bytes32[])": "e3f8cc6b",
|
|
204
|
+
"popFromField(bytes16,bytes16,bytes32[],uint8,uint256)": "77841557",
|
|
171
205
|
"pushToField(bytes16,bytes16,bytes32[],uint8,bytes)": "6e627cb8",
|
|
172
206
|
"setField(bytes16,bytes16,bytes32[],uint8,bytes)": "9146e7c8",
|
|
173
207
|
"setRecord(bytes16,bytes16,bytes32[],bytes)": "11c73ffb",
|
|
174
208
|
"updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)": "d491953a"
|
|
175
209
|
},
|
|
176
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"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\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"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\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"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\":{\"deleteRecord(bytes16,bytes16,bytes32[])\":{\"notice\":\"Delete a record in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"pushToField(bytes16,bytes16,bytes32[],uint8,bytes)\":{\"notice\":\"Push data to the end of a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"setField(bytes16,bytes16,bytes32[],uint8,bytes)\":{\"notice\":\"Write a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"setRecord(bytes16,bytes16,bytes32[],bytes)\":{\"notice\":\"Write a record in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)\":{\"notice\":\"Update data at `startByteIndex` of a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"}},\"notice\":\"The IWorldData 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, and they are part of the World contract's internal bytecode.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IWorldKernel.sol\":\"IWorldData\"},\"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\":{\"src/interfaces/IErrors.sol\":{\"keccak256\":\"0x8a8a5caf964d336b38123704893463589b3bf6195405c9929c21291faf0e2f6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3aa3dcd4d059015580dbcad309db99db7a18fe7c015f1f83f56d84684f27bd14\",\"dweb:/ipfs/QmVpQW1kF4ruDmXtnTSnGRuxr7RtJqo8NwEXtfdA5TVKq1\"]},\"src/interfaces/IModule.sol\":{\"keccak256\":\"0x0c9f5a12f8b27ae6f02b6ca7ccfd7ab1de349e5c4773f99cfab1fd4721bc4a06\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cafb66fbd4b3587121a2f2ff6fc5e4c32796e6469719899e181c3abac1479178\",\"dweb:/ipfs/QmT6GKskhqmLadhuNVVbgDEgJ92jMsCdyLcfrSaiVQeZYf\"]},\"src/interfaces/IWorldKernel.sol\":{\"keccak256\":\"
|
|
210
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"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\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"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\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"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\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"internalType\":\"bytes32[]\",\"name\":\"key\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes16\",\"name\":\"namespace\",\"type\":\"bytes16\"},{\"internalType\":\"bytes16\",\"name\":\"name\",\"type\":\"bytes16\"},{\"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\":{\"deleteRecord(bytes16,bytes16,bytes32[])\":{\"notice\":\"Delete a record in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"popFromField(bytes16,bytes16,bytes32[],uint8,uint256)\":{\"notice\":\"Pop data from the end of a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"pushToField(bytes16,bytes16,bytes32[],uint8,bytes)\":{\"notice\":\"Push data to the end of a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"setField(bytes16,bytes16,bytes32[],uint8,bytes)\":{\"notice\":\"Write a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"setRecord(bytes16,bytes16,bytes32[],bytes)\":{\"notice\":\"Write a record in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"},\"updateInField(bytes16,bytes16,bytes32[],uint8,uint256,bytes)\":{\"notice\":\"Update data at `startByteIndex` of a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name.\"}},\"notice\":\"The IWorldData 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, and they are part of the World contract's internal bytecode.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IWorldKernel.sol\":\"IWorldData\"},\"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\":{\"src/interfaces/IErrors.sol\":{\"keccak256\":\"0x8a8a5caf964d336b38123704893463589b3bf6195405c9929c21291faf0e2f6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3aa3dcd4d059015580dbcad309db99db7a18fe7c015f1f83f56d84684f27bd14\",\"dweb:/ipfs/QmVpQW1kF4ruDmXtnTSnGRuxr7RtJqo8NwEXtfdA5TVKq1\"]},\"src/interfaces/IModule.sol\":{\"keccak256\":\"0x0c9f5a12f8b27ae6f02b6ca7ccfd7ab1de349e5c4773f99cfab1fd4721bc4a06\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cafb66fbd4b3587121a2f2ff6fc5e4c32796e6469719899e181c3abac1479178\",\"dweb:/ipfs/QmT6GKskhqmLadhuNVVbgDEgJ92jMsCdyLcfrSaiVQeZYf\"]},\"src/interfaces/IWorldKernel.sol\":{\"keccak256\":\"0x9baf07e472a70ec8aba9dffb71a7dd7d970c1352c2b11fdbf4c21a54b61458e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c270f22eec9ee162bcb973349e4e96ffcacd70c7df53d0ce7eb33f3bdb1dd6e3\",\"dweb:/ipfs/QmWRgyG2o7cM8dJRNN3d72khRsaGVJBNjVP6XPW2uSyGmU\"]}},\"version\":1}",
|
|
177
211
|
"metadata": {
|
|
178
212
|
"compiler": {
|
|
179
213
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -203,6 +237,38 @@
|
|
|
203
237
|
"type": "function",
|
|
204
238
|
"name": "deleteRecord"
|
|
205
239
|
},
|
|
240
|
+
{
|
|
241
|
+
"inputs": [
|
|
242
|
+
{
|
|
243
|
+
"internalType": "bytes16",
|
|
244
|
+
"name": "namespace",
|
|
245
|
+
"type": "bytes16"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"internalType": "bytes16",
|
|
249
|
+
"name": "name",
|
|
250
|
+
"type": "bytes16"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"internalType": "bytes32[]",
|
|
254
|
+
"name": "key",
|
|
255
|
+
"type": "bytes32[]"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"internalType": "uint8",
|
|
259
|
+
"name": "schemaIndex",
|
|
260
|
+
"type": "uint8"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"internalType": "uint256",
|
|
264
|
+
"name": "byteLengthToPop",
|
|
265
|
+
"type": "uint256"
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"stateMutability": "nonpayable",
|
|
269
|
+
"type": "function",
|
|
270
|
+
"name": "popFromField"
|
|
271
|
+
},
|
|
206
272
|
{
|
|
207
273
|
"inputs": [
|
|
208
274
|
{
|
|
@@ -343,6 +409,9 @@
|
|
|
343
409
|
"deleteRecord(bytes16,bytes16,bytes32[])": {
|
|
344
410
|
"notice": "Delete a record in the table at the given namespace and name. Requires the caller to have access to the namespace or name."
|
|
345
411
|
},
|
|
412
|
+
"popFromField(bytes16,bytes16,bytes32[],uint8,uint256)": {
|
|
413
|
+
"notice": "Pop data from the end of a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name."
|
|
414
|
+
},
|
|
346
415
|
"pushToField(bytes16,bytes16,bytes32[],uint8,bytes)": {
|
|
347
416
|
"notice": "Push data to the end of a field in the table at the given namespace and name. Requires the caller to have access to the namespace or name."
|
|
348
417
|
},
|
|
@@ -396,10 +465,10 @@
|
|
|
396
465
|
"license": "MIT"
|
|
397
466
|
},
|
|
398
467
|
"src/interfaces/IWorldKernel.sol": {
|
|
399
|
-
"keccak256": "
|
|
468
|
+
"keccak256": "0x9baf07e472a70ec8aba9dffb71a7dd7d970c1352c2b11fdbf4c21a54b61458e7",
|
|
400
469
|
"urls": [
|
|
401
|
-
"bzz-raw://
|
|
402
|
-
"dweb:/ipfs/
|
|
470
|
+
"bzz-raw://c270f22eec9ee162bcb973349e4e96ffcacd70c7df53d0ce7eb33f3bdb1dd6e3",
|
|
471
|
+
"dweb:/ipfs/QmWRgyG2o7cM8dJRNN3d72khRsaGVJBNjVP6XPW2uSyGmU"
|
|
403
472
|
],
|
|
404
473
|
"license": "MIT"
|
|
405
474
|
}
|
|
@@ -408,32 +477,32 @@
|
|
|
408
477
|
},
|
|
409
478
|
"ast": {
|
|
410
479
|
"absolutePath": "src/interfaces/IWorldKernel.sol",
|
|
411
|
-
"id":
|
|
480
|
+
"id": 34059,
|
|
412
481
|
"exportedSymbols": {
|
|
413
482
|
"IErrors": [
|
|
414
|
-
|
|
483
|
+
33844
|
|
415
484
|
],
|
|
416
485
|
"IModule": [
|
|
417
|
-
|
|
486
|
+
33863
|
|
418
487
|
],
|
|
419
488
|
"IWorldCall": [
|
|
420
|
-
|
|
489
|
+
34048
|
|
421
490
|
],
|
|
422
491
|
"IWorldData": [
|
|
423
|
-
|
|
492
|
+
34025
|
|
424
493
|
],
|
|
425
494
|
"IWorldKernel": [
|
|
426
|
-
|
|
495
|
+
34058
|
|
427
496
|
],
|
|
428
497
|
"IWorldModuleInstallation": [
|
|
429
|
-
|
|
498
|
+
34035
|
|
430
499
|
]
|
|
431
500
|
},
|
|
432
501
|
"nodeType": "SourceUnit",
|
|
433
|
-
"src": "32:
|
|
502
|
+
"src": "32:3170:63",
|
|
434
503
|
"nodes": [
|
|
435
504
|
{
|
|
436
|
-
"id":
|
|
505
|
+
"id": 33933,
|
|
437
506
|
"nodeType": "PragmaDirective",
|
|
438
507
|
"src": "32:24:63",
|
|
439
508
|
"nodes": [],
|
|
@@ -445,23 +514,23 @@
|
|
|
445
514
|
]
|
|
446
515
|
},
|
|
447
516
|
{
|
|
448
|
-
"id":
|
|
517
|
+
"id": 33935,
|
|
449
518
|
"nodeType": "ImportDirective",
|
|
450
519
|
"src": "58:40:63",
|
|
451
520
|
"nodes": [],
|
|
452
521
|
"absolutePath": "src/interfaces/IErrors.sol",
|
|
453
522
|
"file": "./IErrors.sol",
|
|
454
523
|
"nameLocation": "-1:-1:-1",
|
|
455
|
-
"scope":
|
|
456
|
-
"sourceUnit":
|
|
524
|
+
"scope": 34059,
|
|
525
|
+
"sourceUnit": 33845,
|
|
457
526
|
"symbolAliases": [
|
|
458
527
|
{
|
|
459
528
|
"foreign": {
|
|
460
|
-
"id":
|
|
529
|
+
"id": 33934,
|
|
461
530
|
"name": "IErrors",
|
|
462
531
|
"nodeType": "Identifier",
|
|
463
532
|
"overloadedDeclarations": [],
|
|
464
|
-
"referencedDeclaration":
|
|
533
|
+
"referencedDeclaration": 33844,
|
|
465
534
|
"src": "67:7:63",
|
|
466
535
|
"typeDescriptions": {}
|
|
467
536
|
},
|
|
@@ -471,23 +540,23 @@
|
|
|
471
540
|
"unitAlias": ""
|
|
472
541
|
},
|
|
473
542
|
{
|
|
474
|
-
"id":
|
|
543
|
+
"id": 33937,
|
|
475
544
|
"nodeType": "ImportDirective",
|
|
476
545
|
"src": "99:40:63",
|
|
477
546
|
"nodes": [],
|
|
478
547
|
"absolutePath": "src/interfaces/IModule.sol",
|
|
479
548
|
"file": "./IModule.sol",
|
|
480
549
|
"nameLocation": "-1:-1:-1",
|
|
481
|
-
"scope":
|
|
482
|
-
"sourceUnit":
|
|
550
|
+
"scope": 34059,
|
|
551
|
+
"sourceUnit": 33864,
|
|
483
552
|
"symbolAliases": [
|
|
484
553
|
{
|
|
485
554
|
"foreign": {
|
|
486
|
-
"id":
|
|
555
|
+
"id": 33936,
|
|
487
556
|
"name": "IModule",
|
|
488
557
|
"nodeType": "Identifier",
|
|
489
558
|
"overloadedDeclarations": [],
|
|
490
|
-
"referencedDeclaration":
|
|
559
|
+
"referencedDeclaration": 33863,
|
|
491
560
|
"src": "108:7:63",
|
|
492
561
|
"typeDescriptions": {}
|
|
493
562
|
},
|
|
@@ -497,17 +566,17 @@
|
|
|
497
566
|
"unitAlias": ""
|
|
498
567
|
},
|
|
499
568
|
{
|
|
500
|
-
"id":
|
|
569
|
+
"id": 34025,
|
|
501
570
|
"nodeType": "ContractDefinition",
|
|
502
|
-
"src": "412:
|
|
571
|
+
"src": "412:1815:63",
|
|
503
572
|
"nodes": [
|
|
504
573
|
{
|
|
505
|
-
"id":
|
|
574
|
+
"id": 33951,
|
|
506
575
|
"nodeType": "FunctionDefinition",
|
|
507
576
|
"src": "581:106:63",
|
|
508
577
|
"nodes": [],
|
|
509
578
|
"documentation": {
|
|
510
|
-
"id":
|
|
579
|
+
"id": 33939,
|
|
511
580
|
"nodeType": "StructuredDocumentation",
|
|
512
581
|
"src": "437:141:63",
|
|
513
582
|
"text": " Write a record in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
@@ -519,17 +588,17 @@
|
|
|
519
588
|
"name": "setRecord",
|
|
520
589
|
"nameLocation": "590:9:63",
|
|
521
590
|
"parameters": {
|
|
522
|
-
"id":
|
|
591
|
+
"id": 33949,
|
|
523
592
|
"nodeType": "ParameterList",
|
|
524
593
|
"parameters": [
|
|
525
594
|
{
|
|
526
595
|
"constant": false,
|
|
527
|
-
"id":
|
|
596
|
+
"id": 33941,
|
|
528
597
|
"mutability": "mutable",
|
|
529
598
|
"name": "namespace",
|
|
530
599
|
"nameLocation": "608:9:63",
|
|
531
600
|
"nodeType": "VariableDeclaration",
|
|
532
|
-
"scope":
|
|
601
|
+
"scope": 33951,
|
|
533
602
|
"src": "600:17:63",
|
|
534
603
|
"stateVariable": false,
|
|
535
604
|
"storageLocation": "default",
|
|
@@ -538,7 +607,7 @@
|
|
|
538
607
|
"typeString": "bytes16"
|
|
539
608
|
},
|
|
540
609
|
"typeName": {
|
|
541
|
-
"id":
|
|
610
|
+
"id": 33940,
|
|
542
611
|
"name": "bytes16",
|
|
543
612
|
"nodeType": "ElementaryTypeName",
|
|
544
613
|
"src": "600:7:63",
|
|
@@ -551,12 +620,12 @@
|
|
|
551
620
|
},
|
|
552
621
|
{
|
|
553
622
|
"constant": false,
|
|
554
|
-
"id":
|
|
623
|
+
"id": 33943,
|
|
555
624
|
"mutability": "mutable",
|
|
556
625
|
"name": "name",
|
|
557
626
|
"nameLocation": "627:4:63",
|
|
558
627
|
"nodeType": "VariableDeclaration",
|
|
559
|
-
"scope":
|
|
628
|
+
"scope": 33951,
|
|
560
629
|
"src": "619:12:63",
|
|
561
630
|
"stateVariable": false,
|
|
562
631
|
"storageLocation": "default",
|
|
@@ -565,7 +634,7 @@
|
|
|
565
634
|
"typeString": "bytes16"
|
|
566
635
|
},
|
|
567
636
|
"typeName": {
|
|
568
|
-
"id":
|
|
637
|
+
"id": 33942,
|
|
569
638
|
"name": "bytes16",
|
|
570
639
|
"nodeType": "ElementaryTypeName",
|
|
571
640
|
"src": "619:7:63",
|
|
@@ -578,12 +647,12 @@
|
|
|
578
647
|
},
|
|
579
648
|
{
|
|
580
649
|
"constant": false,
|
|
581
|
-
"id":
|
|
650
|
+
"id": 33946,
|
|
582
651
|
"mutability": "mutable",
|
|
583
652
|
"name": "key",
|
|
584
653
|
"nameLocation": "652:3:63",
|
|
585
654
|
"nodeType": "VariableDeclaration",
|
|
586
|
-
"scope":
|
|
655
|
+
"scope": 33951,
|
|
587
656
|
"src": "633:22:63",
|
|
588
657
|
"stateVariable": false,
|
|
589
658
|
"storageLocation": "calldata",
|
|
@@ -593,7 +662,7 @@
|
|
|
593
662
|
},
|
|
594
663
|
"typeName": {
|
|
595
664
|
"baseType": {
|
|
596
|
-
"id":
|
|
665
|
+
"id": 33944,
|
|
597
666
|
"name": "bytes32",
|
|
598
667
|
"nodeType": "ElementaryTypeName",
|
|
599
668
|
"src": "633:7:63",
|
|
@@ -602,7 +671,7 @@
|
|
|
602
671
|
"typeString": "bytes32"
|
|
603
672
|
}
|
|
604
673
|
},
|
|
605
|
-
"id":
|
|
674
|
+
"id": 33945,
|
|
606
675
|
"nodeType": "ArrayTypeName",
|
|
607
676
|
"src": "633:9:63",
|
|
608
677
|
"typeDescriptions": {
|
|
@@ -614,12 +683,12 @@
|
|
|
614
683
|
},
|
|
615
684
|
{
|
|
616
685
|
"constant": false,
|
|
617
|
-
"id":
|
|
686
|
+
"id": 33948,
|
|
618
687
|
"mutability": "mutable",
|
|
619
688
|
"name": "data",
|
|
620
689
|
"nameLocation": "672:4:63",
|
|
621
690
|
"nodeType": "VariableDeclaration",
|
|
622
|
-
"scope":
|
|
691
|
+
"scope": 33951,
|
|
623
692
|
"src": "657:19:63",
|
|
624
693
|
"stateVariable": false,
|
|
625
694
|
"storageLocation": "calldata",
|
|
@@ -628,7 +697,7 @@
|
|
|
628
697
|
"typeString": "bytes"
|
|
629
698
|
},
|
|
630
699
|
"typeName": {
|
|
631
|
-
"id":
|
|
700
|
+
"id": 33947,
|
|
632
701
|
"name": "bytes",
|
|
633
702
|
"nodeType": "ElementaryTypeName",
|
|
634
703
|
"src": "657:5:63",
|
|
@@ -643,23 +712,23 @@
|
|
|
643
712
|
"src": "599:78:63"
|
|
644
713
|
},
|
|
645
714
|
"returnParameters": {
|
|
646
|
-
"id":
|
|
715
|
+
"id": 33950,
|
|
647
716
|
"nodeType": "ParameterList",
|
|
648
717
|
"parameters": [],
|
|
649
718
|
"src": "686:0:63"
|
|
650
719
|
},
|
|
651
|
-
"scope":
|
|
720
|
+
"scope": 34025,
|
|
652
721
|
"stateMutability": "nonpayable",
|
|
653
722
|
"virtual": false,
|
|
654
723
|
"visibility": "external"
|
|
655
724
|
},
|
|
656
725
|
{
|
|
657
|
-
"id":
|
|
726
|
+
"id": 33966,
|
|
658
727
|
"nodeType": "FunctionDefinition",
|
|
659
728
|
"src": "834:148:63",
|
|
660
729
|
"nodes": [],
|
|
661
730
|
"documentation": {
|
|
662
|
-
"id":
|
|
731
|
+
"id": 33952,
|
|
663
732
|
"nodeType": "StructuredDocumentation",
|
|
664
733
|
"src": "691:140:63",
|
|
665
734
|
"text": " Write a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
@@ -671,17 +740,17 @@
|
|
|
671
740
|
"name": "setField",
|
|
672
741
|
"nameLocation": "843:8:63",
|
|
673
742
|
"parameters": {
|
|
674
|
-
"id":
|
|
743
|
+
"id": 33964,
|
|
675
744
|
"nodeType": "ParameterList",
|
|
676
745
|
"parameters": [
|
|
677
746
|
{
|
|
678
747
|
"constant": false,
|
|
679
|
-
"id":
|
|
748
|
+
"id": 33954,
|
|
680
749
|
"mutability": "mutable",
|
|
681
750
|
"name": "namespace",
|
|
682
751
|
"nameLocation": "865:9:63",
|
|
683
752
|
"nodeType": "VariableDeclaration",
|
|
684
|
-
"scope":
|
|
753
|
+
"scope": 33966,
|
|
685
754
|
"src": "857:17:63",
|
|
686
755
|
"stateVariable": false,
|
|
687
756
|
"storageLocation": "default",
|
|
@@ -690,7 +759,7 @@
|
|
|
690
759
|
"typeString": "bytes16"
|
|
691
760
|
},
|
|
692
761
|
"typeName": {
|
|
693
|
-
"id":
|
|
762
|
+
"id": 33953,
|
|
694
763
|
"name": "bytes16",
|
|
695
764
|
"nodeType": "ElementaryTypeName",
|
|
696
765
|
"src": "857:7:63",
|
|
@@ -703,12 +772,12 @@
|
|
|
703
772
|
},
|
|
704
773
|
{
|
|
705
774
|
"constant": false,
|
|
706
|
-
"id":
|
|
775
|
+
"id": 33956,
|
|
707
776
|
"mutability": "mutable",
|
|
708
777
|
"name": "name",
|
|
709
778
|
"nameLocation": "888:4:63",
|
|
710
779
|
"nodeType": "VariableDeclaration",
|
|
711
|
-
"scope":
|
|
780
|
+
"scope": 33966,
|
|
712
781
|
"src": "880:12:63",
|
|
713
782
|
"stateVariable": false,
|
|
714
783
|
"storageLocation": "default",
|
|
@@ -717,7 +786,7 @@
|
|
|
717
786
|
"typeString": "bytes16"
|
|
718
787
|
},
|
|
719
788
|
"typeName": {
|
|
720
|
-
"id":
|
|
789
|
+
"id": 33955,
|
|
721
790
|
"name": "bytes16",
|
|
722
791
|
"nodeType": "ElementaryTypeName",
|
|
723
792
|
"src": "880:7:63",
|
|
@@ -730,12 +799,12 @@
|
|
|
730
799
|
},
|
|
731
800
|
{
|
|
732
801
|
"constant": false,
|
|
733
|
-
"id":
|
|
802
|
+
"id": 33959,
|
|
734
803
|
"mutability": "mutable",
|
|
735
804
|
"name": "key",
|
|
736
805
|
"nameLocation": "917:3:63",
|
|
737
806
|
"nodeType": "VariableDeclaration",
|
|
738
|
-
"scope":
|
|
807
|
+
"scope": 33966,
|
|
739
808
|
"src": "898:22:63",
|
|
740
809
|
"stateVariable": false,
|
|
741
810
|
"storageLocation": "calldata",
|
|
@@ -745,7 +814,7 @@
|
|
|
745
814
|
},
|
|
746
815
|
"typeName": {
|
|
747
816
|
"baseType": {
|
|
748
|
-
"id":
|
|
817
|
+
"id": 33957,
|
|
749
818
|
"name": "bytes32",
|
|
750
819
|
"nodeType": "ElementaryTypeName",
|
|
751
820
|
"src": "898:7:63",
|
|
@@ -754,7 +823,7 @@
|
|
|
754
823
|
"typeString": "bytes32"
|
|
755
824
|
}
|
|
756
825
|
},
|
|
757
|
-
"id":
|
|
826
|
+
"id": 33958,
|
|
758
827
|
"nodeType": "ArrayTypeName",
|
|
759
828
|
"src": "898:9:63",
|
|
760
829
|
"typeDescriptions": {
|
|
@@ -766,12 +835,12 @@
|
|
|
766
835
|
},
|
|
767
836
|
{
|
|
768
837
|
"constant": false,
|
|
769
|
-
"id":
|
|
838
|
+
"id": 33961,
|
|
770
839
|
"mutability": "mutable",
|
|
771
840
|
"name": "schemaIndex",
|
|
772
841
|
"nameLocation": "932:11:63",
|
|
773
842
|
"nodeType": "VariableDeclaration",
|
|
774
|
-
"scope":
|
|
843
|
+
"scope": 33966,
|
|
775
844
|
"src": "926:17:63",
|
|
776
845
|
"stateVariable": false,
|
|
777
846
|
"storageLocation": "default",
|
|
@@ -780,7 +849,7 @@
|
|
|
780
849
|
"typeString": "uint8"
|
|
781
850
|
},
|
|
782
851
|
"typeName": {
|
|
783
|
-
"id":
|
|
852
|
+
"id": 33960,
|
|
784
853
|
"name": "uint8",
|
|
785
854
|
"nodeType": "ElementaryTypeName",
|
|
786
855
|
"src": "926:5:63",
|
|
@@ -793,12 +862,12 @@
|
|
|
793
862
|
},
|
|
794
863
|
{
|
|
795
864
|
"constant": false,
|
|
796
|
-
"id":
|
|
865
|
+
"id": 33963,
|
|
797
866
|
"mutability": "mutable",
|
|
798
867
|
"name": "data",
|
|
799
868
|
"nameLocation": "964:4:63",
|
|
800
869
|
"nodeType": "VariableDeclaration",
|
|
801
|
-
"scope":
|
|
870
|
+
"scope": 33966,
|
|
802
871
|
"src": "949:19:63",
|
|
803
872
|
"stateVariable": false,
|
|
804
873
|
"storageLocation": "calldata",
|
|
@@ -807,7 +876,7 @@
|
|
|
807
876
|
"typeString": "bytes"
|
|
808
877
|
},
|
|
809
878
|
"typeName": {
|
|
810
|
-
"id":
|
|
879
|
+
"id": 33962,
|
|
811
880
|
"name": "bytes",
|
|
812
881
|
"nodeType": "ElementaryTypeName",
|
|
813
882
|
"src": "949:5:63",
|
|
@@ -822,23 +891,23 @@
|
|
|
822
891
|
"src": "851:121:63"
|
|
823
892
|
},
|
|
824
893
|
"returnParameters": {
|
|
825
|
-
"id":
|
|
894
|
+
"id": 33965,
|
|
826
895
|
"nodeType": "ParameterList",
|
|
827
896
|
"parameters": [],
|
|
828
897
|
"src": "981:0:63"
|
|
829
898
|
},
|
|
830
|
-
"scope":
|
|
899
|
+
"scope": 34025,
|
|
831
900
|
"stateMutability": "nonpayable",
|
|
832
901
|
"virtual": false,
|
|
833
902
|
"visibility": "external"
|
|
834
903
|
},
|
|
835
904
|
{
|
|
836
|
-
"id":
|
|
905
|
+
"id": 33981,
|
|
837
906
|
"nodeType": "FunctionDefinition",
|
|
838
907
|
"src": "1147:157:63",
|
|
839
908
|
"nodes": [],
|
|
840
909
|
"documentation": {
|
|
841
|
-
"id":
|
|
910
|
+
"id": 33967,
|
|
842
911
|
"nodeType": "StructuredDocumentation",
|
|
843
912
|
"src": "986:158:63",
|
|
844
913
|
"text": " Push data to the end of a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
@@ -850,17 +919,17 @@
|
|
|
850
919
|
"name": "pushToField",
|
|
851
920
|
"nameLocation": "1156:11:63",
|
|
852
921
|
"parameters": {
|
|
853
|
-
"id":
|
|
922
|
+
"id": 33979,
|
|
854
923
|
"nodeType": "ParameterList",
|
|
855
924
|
"parameters": [
|
|
856
925
|
{
|
|
857
926
|
"constant": false,
|
|
858
|
-
"id":
|
|
927
|
+
"id": 33969,
|
|
859
928
|
"mutability": "mutable",
|
|
860
929
|
"name": "namespace",
|
|
861
930
|
"nameLocation": "1181:9:63",
|
|
862
931
|
"nodeType": "VariableDeclaration",
|
|
863
|
-
"scope":
|
|
932
|
+
"scope": 33981,
|
|
864
933
|
"src": "1173:17:63",
|
|
865
934
|
"stateVariable": false,
|
|
866
935
|
"storageLocation": "default",
|
|
@@ -869,7 +938,7 @@
|
|
|
869
938
|
"typeString": "bytes16"
|
|
870
939
|
},
|
|
871
940
|
"typeName": {
|
|
872
|
-
"id":
|
|
941
|
+
"id": 33968,
|
|
873
942
|
"name": "bytes16",
|
|
874
943
|
"nodeType": "ElementaryTypeName",
|
|
875
944
|
"src": "1173:7:63",
|
|
@@ -882,12 +951,12 @@
|
|
|
882
951
|
},
|
|
883
952
|
{
|
|
884
953
|
"constant": false,
|
|
885
|
-
"id":
|
|
954
|
+
"id": 33971,
|
|
886
955
|
"mutability": "mutable",
|
|
887
956
|
"name": "name",
|
|
888
957
|
"nameLocation": "1204:4:63",
|
|
889
958
|
"nodeType": "VariableDeclaration",
|
|
890
|
-
"scope":
|
|
959
|
+
"scope": 33981,
|
|
891
960
|
"src": "1196:12:63",
|
|
892
961
|
"stateVariable": false,
|
|
893
962
|
"storageLocation": "default",
|
|
@@ -896,7 +965,7 @@
|
|
|
896
965
|
"typeString": "bytes16"
|
|
897
966
|
},
|
|
898
967
|
"typeName": {
|
|
899
|
-
"id":
|
|
968
|
+
"id": 33970,
|
|
900
969
|
"name": "bytes16",
|
|
901
970
|
"nodeType": "ElementaryTypeName",
|
|
902
971
|
"src": "1196:7:63",
|
|
@@ -909,12 +978,12 @@
|
|
|
909
978
|
},
|
|
910
979
|
{
|
|
911
980
|
"constant": false,
|
|
912
|
-
"id":
|
|
981
|
+
"id": 33974,
|
|
913
982
|
"mutability": "mutable",
|
|
914
983
|
"name": "key",
|
|
915
984
|
"nameLocation": "1233:3:63",
|
|
916
985
|
"nodeType": "VariableDeclaration",
|
|
917
|
-
"scope":
|
|
986
|
+
"scope": 33981,
|
|
918
987
|
"src": "1214:22:63",
|
|
919
988
|
"stateVariable": false,
|
|
920
989
|
"storageLocation": "calldata",
|
|
@@ -924,7 +993,7 @@
|
|
|
924
993
|
},
|
|
925
994
|
"typeName": {
|
|
926
995
|
"baseType": {
|
|
927
|
-
"id":
|
|
996
|
+
"id": 33972,
|
|
928
997
|
"name": "bytes32",
|
|
929
998
|
"nodeType": "ElementaryTypeName",
|
|
930
999
|
"src": "1214:7:63",
|
|
@@ -933,7 +1002,7 @@
|
|
|
933
1002
|
"typeString": "bytes32"
|
|
934
1003
|
}
|
|
935
1004
|
},
|
|
936
|
-
"id":
|
|
1005
|
+
"id": 33973,
|
|
937
1006
|
"nodeType": "ArrayTypeName",
|
|
938
1007
|
"src": "1214:9:63",
|
|
939
1008
|
"typeDescriptions": {
|
|
@@ -945,12 +1014,12 @@
|
|
|
945
1014
|
},
|
|
946
1015
|
{
|
|
947
1016
|
"constant": false,
|
|
948
|
-
"id":
|
|
1017
|
+
"id": 33976,
|
|
949
1018
|
"mutability": "mutable",
|
|
950
1019
|
"name": "schemaIndex",
|
|
951
1020
|
"nameLocation": "1248:11:63",
|
|
952
1021
|
"nodeType": "VariableDeclaration",
|
|
953
|
-
"scope":
|
|
1022
|
+
"scope": 33981,
|
|
954
1023
|
"src": "1242:17:63",
|
|
955
1024
|
"stateVariable": false,
|
|
956
1025
|
"storageLocation": "default",
|
|
@@ -959,7 +1028,7 @@
|
|
|
959
1028
|
"typeString": "uint8"
|
|
960
1029
|
},
|
|
961
1030
|
"typeName": {
|
|
962
|
-
"id":
|
|
1031
|
+
"id": 33975,
|
|
963
1032
|
"name": "uint8",
|
|
964
1033
|
"nodeType": "ElementaryTypeName",
|
|
965
1034
|
"src": "1242:5:63",
|
|
@@ -972,12 +1041,12 @@
|
|
|
972
1041
|
},
|
|
973
1042
|
{
|
|
974
1043
|
"constant": false,
|
|
975
|
-
"id":
|
|
1044
|
+
"id": 33978,
|
|
976
1045
|
"mutability": "mutable",
|
|
977
1046
|
"name": "dataToPush",
|
|
978
1047
|
"nameLocation": "1280:10:63",
|
|
979
1048
|
"nodeType": "VariableDeclaration",
|
|
980
|
-
"scope":
|
|
1049
|
+
"scope": 33981,
|
|
981
1050
|
"src": "1265:25:63",
|
|
982
1051
|
"stateVariable": false,
|
|
983
1052
|
"storageLocation": "calldata",
|
|
@@ -986,7 +1055,7 @@
|
|
|
986
1055
|
"typeString": "bytes"
|
|
987
1056
|
},
|
|
988
1057
|
"typeName": {
|
|
989
|
-
"id":
|
|
1058
|
+
"id": 33977,
|
|
990
1059
|
"name": "bytes",
|
|
991
1060
|
"nodeType": "ElementaryTypeName",
|
|
992
1061
|
"src": "1265:5:63",
|
|
@@ -1001,25 +1070,204 @@
|
|
|
1001
1070
|
"src": "1167:127:63"
|
|
1002
1071
|
},
|
|
1003
1072
|
"returnParameters": {
|
|
1004
|
-
"id":
|
|
1073
|
+
"id": 33980,
|
|
1005
1074
|
"nodeType": "ParameterList",
|
|
1006
1075
|
"parameters": [],
|
|
1007
1076
|
"src": "1303:0:63"
|
|
1008
1077
|
},
|
|
1009
|
-
"scope":
|
|
1078
|
+
"scope": 34025,
|
|
1010
1079
|
"stateMutability": "nonpayable",
|
|
1011
1080
|
"virtual": false,
|
|
1012
1081
|
"visibility": "external"
|
|
1013
1082
|
},
|
|
1014
1083
|
{
|
|
1015
|
-
"id":
|
|
1084
|
+
"id": 33996,
|
|
1016
1085
|
"nodeType": "FunctionDefinition",
|
|
1017
|
-
"src": "
|
|
1086
|
+
"src": "1470:156:63",
|
|
1018
1087
|
"nodes": [],
|
|
1019
1088
|
"documentation": {
|
|
1020
|
-
"id":
|
|
1089
|
+
"id": 33982,
|
|
1021
1090
|
"nodeType": "StructuredDocumentation",
|
|
1022
|
-
"src": "1308:
|
|
1091
|
+
"src": "1308:159:63",
|
|
1092
|
+
"text": " Pop data from the end of a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
1093
|
+
},
|
|
1094
|
+
"functionSelector": "77841557",
|
|
1095
|
+
"implemented": false,
|
|
1096
|
+
"kind": "function",
|
|
1097
|
+
"modifiers": [],
|
|
1098
|
+
"name": "popFromField",
|
|
1099
|
+
"nameLocation": "1479:12:63",
|
|
1100
|
+
"parameters": {
|
|
1101
|
+
"id": 33994,
|
|
1102
|
+
"nodeType": "ParameterList",
|
|
1103
|
+
"parameters": [
|
|
1104
|
+
{
|
|
1105
|
+
"constant": false,
|
|
1106
|
+
"id": 33984,
|
|
1107
|
+
"mutability": "mutable",
|
|
1108
|
+
"name": "namespace",
|
|
1109
|
+
"nameLocation": "1505:9:63",
|
|
1110
|
+
"nodeType": "VariableDeclaration",
|
|
1111
|
+
"scope": 33996,
|
|
1112
|
+
"src": "1497:17:63",
|
|
1113
|
+
"stateVariable": false,
|
|
1114
|
+
"storageLocation": "default",
|
|
1115
|
+
"typeDescriptions": {
|
|
1116
|
+
"typeIdentifier": "t_bytes16",
|
|
1117
|
+
"typeString": "bytes16"
|
|
1118
|
+
},
|
|
1119
|
+
"typeName": {
|
|
1120
|
+
"id": 33983,
|
|
1121
|
+
"name": "bytes16",
|
|
1122
|
+
"nodeType": "ElementaryTypeName",
|
|
1123
|
+
"src": "1497:7:63",
|
|
1124
|
+
"typeDescriptions": {
|
|
1125
|
+
"typeIdentifier": "t_bytes16",
|
|
1126
|
+
"typeString": "bytes16"
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
"visibility": "internal"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"constant": false,
|
|
1133
|
+
"id": 33986,
|
|
1134
|
+
"mutability": "mutable",
|
|
1135
|
+
"name": "name",
|
|
1136
|
+
"nameLocation": "1528:4:63",
|
|
1137
|
+
"nodeType": "VariableDeclaration",
|
|
1138
|
+
"scope": 33996,
|
|
1139
|
+
"src": "1520:12:63",
|
|
1140
|
+
"stateVariable": false,
|
|
1141
|
+
"storageLocation": "default",
|
|
1142
|
+
"typeDescriptions": {
|
|
1143
|
+
"typeIdentifier": "t_bytes16",
|
|
1144
|
+
"typeString": "bytes16"
|
|
1145
|
+
},
|
|
1146
|
+
"typeName": {
|
|
1147
|
+
"id": 33985,
|
|
1148
|
+
"name": "bytes16",
|
|
1149
|
+
"nodeType": "ElementaryTypeName",
|
|
1150
|
+
"src": "1520:7:63",
|
|
1151
|
+
"typeDescriptions": {
|
|
1152
|
+
"typeIdentifier": "t_bytes16",
|
|
1153
|
+
"typeString": "bytes16"
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"visibility": "internal"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"constant": false,
|
|
1160
|
+
"id": 33989,
|
|
1161
|
+
"mutability": "mutable",
|
|
1162
|
+
"name": "key",
|
|
1163
|
+
"nameLocation": "1557:3:63",
|
|
1164
|
+
"nodeType": "VariableDeclaration",
|
|
1165
|
+
"scope": 33996,
|
|
1166
|
+
"src": "1538:22:63",
|
|
1167
|
+
"stateVariable": false,
|
|
1168
|
+
"storageLocation": "calldata",
|
|
1169
|
+
"typeDescriptions": {
|
|
1170
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
1171
|
+
"typeString": "bytes32[]"
|
|
1172
|
+
},
|
|
1173
|
+
"typeName": {
|
|
1174
|
+
"baseType": {
|
|
1175
|
+
"id": 33987,
|
|
1176
|
+
"name": "bytes32",
|
|
1177
|
+
"nodeType": "ElementaryTypeName",
|
|
1178
|
+
"src": "1538:7:63",
|
|
1179
|
+
"typeDescriptions": {
|
|
1180
|
+
"typeIdentifier": "t_bytes32",
|
|
1181
|
+
"typeString": "bytes32"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
"id": 33988,
|
|
1185
|
+
"nodeType": "ArrayTypeName",
|
|
1186
|
+
"src": "1538:9:63",
|
|
1187
|
+
"typeDescriptions": {
|
|
1188
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1189
|
+
"typeString": "bytes32[]"
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"visibility": "internal"
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"constant": false,
|
|
1196
|
+
"id": 33991,
|
|
1197
|
+
"mutability": "mutable",
|
|
1198
|
+
"name": "schemaIndex",
|
|
1199
|
+
"nameLocation": "1572:11:63",
|
|
1200
|
+
"nodeType": "VariableDeclaration",
|
|
1201
|
+
"scope": 33996,
|
|
1202
|
+
"src": "1566:17:63",
|
|
1203
|
+
"stateVariable": false,
|
|
1204
|
+
"storageLocation": "default",
|
|
1205
|
+
"typeDescriptions": {
|
|
1206
|
+
"typeIdentifier": "t_uint8",
|
|
1207
|
+
"typeString": "uint8"
|
|
1208
|
+
},
|
|
1209
|
+
"typeName": {
|
|
1210
|
+
"id": 33990,
|
|
1211
|
+
"name": "uint8",
|
|
1212
|
+
"nodeType": "ElementaryTypeName",
|
|
1213
|
+
"src": "1566:5:63",
|
|
1214
|
+
"typeDescriptions": {
|
|
1215
|
+
"typeIdentifier": "t_uint8",
|
|
1216
|
+
"typeString": "uint8"
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
"visibility": "internal"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"constant": false,
|
|
1223
|
+
"id": 33993,
|
|
1224
|
+
"mutability": "mutable",
|
|
1225
|
+
"name": "byteLengthToPop",
|
|
1226
|
+
"nameLocation": "1597:15:63",
|
|
1227
|
+
"nodeType": "VariableDeclaration",
|
|
1228
|
+
"scope": 33996,
|
|
1229
|
+
"src": "1589:23:63",
|
|
1230
|
+
"stateVariable": false,
|
|
1231
|
+
"storageLocation": "default",
|
|
1232
|
+
"typeDescriptions": {
|
|
1233
|
+
"typeIdentifier": "t_uint256",
|
|
1234
|
+
"typeString": "uint256"
|
|
1235
|
+
},
|
|
1236
|
+
"typeName": {
|
|
1237
|
+
"id": 33992,
|
|
1238
|
+
"name": "uint256",
|
|
1239
|
+
"nodeType": "ElementaryTypeName",
|
|
1240
|
+
"src": "1589:7:63",
|
|
1241
|
+
"typeDescriptions": {
|
|
1242
|
+
"typeIdentifier": "t_uint256",
|
|
1243
|
+
"typeString": "uint256"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"visibility": "internal"
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
"src": "1491:125:63"
|
|
1250
|
+
},
|
|
1251
|
+
"returnParameters": {
|
|
1252
|
+
"id": 33995,
|
|
1253
|
+
"nodeType": "ParameterList",
|
|
1254
|
+
"parameters": [],
|
|
1255
|
+
"src": "1625:0:63"
|
|
1256
|
+
},
|
|
1257
|
+
"scope": 34025,
|
|
1258
|
+
"stateMutability": "nonpayable",
|
|
1259
|
+
"virtual": false,
|
|
1260
|
+
"visibility": "external"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"id": 34013,
|
|
1264
|
+
"nodeType": "FunctionDefinition",
|
|
1265
|
+
"src": "1802:186:63",
|
|
1266
|
+
"nodes": [],
|
|
1267
|
+
"documentation": {
|
|
1268
|
+
"id": 33997,
|
|
1269
|
+
"nodeType": "StructuredDocumentation",
|
|
1270
|
+
"src": "1630:169:63",
|
|
1023
1271
|
"text": " Update data at `startByteIndex` of a field in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
1024
1272
|
},
|
|
1025
1273
|
"functionSelector": "d491953a",
|
|
@@ -1027,20 +1275,20 @@
|
|
|
1027
1275
|
"kind": "function",
|
|
1028
1276
|
"modifiers": [],
|
|
1029
1277
|
"name": "updateInField",
|
|
1030
|
-
"nameLocation": "
|
|
1278
|
+
"nameLocation": "1811:13:63",
|
|
1031
1279
|
"parameters": {
|
|
1032
|
-
"id":
|
|
1280
|
+
"id": 34011,
|
|
1033
1281
|
"nodeType": "ParameterList",
|
|
1034
1282
|
"parameters": [
|
|
1035
1283
|
{
|
|
1036
1284
|
"constant": false,
|
|
1037
|
-
"id":
|
|
1285
|
+
"id": 33999,
|
|
1038
1286
|
"mutability": "mutable",
|
|
1039
1287
|
"name": "namespace",
|
|
1040
|
-
"nameLocation": "
|
|
1288
|
+
"nameLocation": "1838:9:63",
|
|
1041
1289
|
"nodeType": "VariableDeclaration",
|
|
1042
|
-
"scope":
|
|
1043
|
-
"src": "
|
|
1290
|
+
"scope": 34013,
|
|
1291
|
+
"src": "1830:17:63",
|
|
1044
1292
|
"stateVariable": false,
|
|
1045
1293
|
"storageLocation": "default",
|
|
1046
1294
|
"typeDescriptions": {
|
|
@@ -1048,10 +1296,10 @@
|
|
|
1048
1296
|
"typeString": "bytes16"
|
|
1049
1297
|
},
|
|
1050
1298
|
"typeName": {
|
|
1051
|
-
"id":
|
|
1299
|
+
"id": 33998,
|
|
1052
1300
|
"name": "bytes16",
|
|
1053
1301
|
"nodeType": "ElementaryTypeName",
|
|
1054
|
-
"src": "
|
|
1302
|
+
"src": "1830:7:63",
|
|
1055
1303
|
"typeDescriptions": {
|
|
1056
1304
|
"typeIdentifier": "t_bytes16",
|
|
1057
1305
|
"typeString": "bytes16"
|
|
@@ -1061,13 +1309,13 @@
|
|
|
1061
1309
|
},
|
|
1062
1310
|
{
|
|
1063
1311
|
"constant": false,
|
|
1064
|
-
"id":
|
|
1312
|
+
"id": 34001,
|
|
1065
1313
|
"mutability": "mutable",
|
|
1066
1314
|
"name": "name",
|
|
1067
|
-
"nameLocation": "
|
|
1315
|
+
"nameLocation": "1861:4:63",
|
|
1068
1316
|
"nodeType": "VariableDeclaration",
|
|
1069
|
-
"scope":
|
|
1070
|
-
"src": "
|
|
1317
|
+
"scope": 34013,
|
|
1318
|
+
"src": "1853:12:63",
|
|
1071
1319
|
"stateVariable": false,
|
|
1072
1320
|
"storageLocation": "default",
|
|
1073
1321
|
"typeDescriptions": {
|
|
@@ -1075,10 +1323,10 @@
|
|
|
1075
1323
|
"typeString": "bytes16"
|
|
1076
1324
|
},
|
|
1077
1325
|
"typeName": {
|
|
1078
|
-
"id":
|
|
1326
|
+
"id": 34000,
|
|
1079
1327
|
"name": "bytes16",
|
|
1080
1328
|
"nodeType": "ElementaryTypeName",
|
|
1081
|
-
"src": "
|
|
1329
|
+
"src": "1853:7:63",
|
|
1082
1330
|
"typeDescriptions": {
|
|
1083
1331
|
"typeIdentifier": "t_bytes16",
|
|
1084
1332
|
"typeString": "bytes16"
|
|
@@ -1088,13 +1336,13 @@
|
|
|
1088
1336
|
},
|
|
1089
1337
|
{
|
|
1090
1338
|
"constant": false,
|
|
1091
|
-
"id":
|
|
1339
|
+
"id": 34004,
|
|
1092
1340
|
"mutability": "mutable",
|
|
1093
1341
|
"name": "key",
|
|
1094
|
-
"nameLocation": "
|
|
1342
|
+
"nameLocation": "1890:3:63",
|
|
1095
1343
|
"nodeType": "VariableDeclaration",
|
|
1096
|
-
"scope":
|
|
1097
|
-
"src": "
|
|
1344
|
+
"scope": 34013,
|
|
1345
|
+
"src": "1871:22:63",
|
|
1098
1346
|
"stateVariable": false,
|
|
1099
1347
|
"storageLocation": "calldata",
|
|
1100
1348
|
"typeDescriptions": {
|
|
@@ -1103,18 +1351,18 @@
|
|
|
1103
1351
|
},
|
|
1104
1352
|
"typeName": {
|
|
1105
1353
|
"baseType": {
|
|
1106
|
-
"id":
|
|
1354
|
+
"id": 34002,
|
|
1107
1355
|
"name": "bytes32",
|
|
1108
1356
|
"nodeType": "ElementaryTypeName",
|
|
1109
|
-
"src": "
|
|
1357
|
+
"src": "1871:7:63",
|
|
1110
1358
|
"typeDescriptions": {
|
|
1111
1359
|
"typeIdentifier": "t_bytes32",
|
|
1112
1360
|
"typeString": "bytes32"
|
|
1113
1361
|
}
|
|
1114
1362
|
},
|
|
1115
|
-
"id":
|
|
1363
|
+
"id": 34003,
|
|
1116
1364
|
"nodeType": "ArrayTypeName",
|
|
1117
|
-
"src": "
|
|
1365
|
+
"src": "1871:9:63",
|
|
1118
1366
|
"typeDescriptions": {
|
|
1119
1367
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1120
1368
|
"typeString": "bytes32[]"
|
|
@@ -1124,13 +1372,13 @@
|
|
|
1124
1372
|
},
|
|
1125
1373
|
{
|
|
1126
1374
|
"constant": false,
|
|
1127
|
-
"id":
|
|
1375
|
+
"id": 34006,
|
|
1128
1376
|
"mutability": "mutable",
|
|
1129
1377
|
"name": "schemaIndex",
|
|
1130
|
-
"nameLocation": "
|
|
1378
|
+
"nameLocation": "1905:11:63",
|
|
1131
1379
|
"nodeType": "VariableDeclaration",
|
|
1132
|
-
"scope":
|
|
1133
|
-
"src": "
|
|
1380
|
+
"scope": 34013,
|
|
1381
|
+
"src": "1899:17:63",
|
|
1134
1382
|
"stateVariable": false,
|
|
1135
1383
|
"storageLocation": "default",
|
|
1136
1384
|
"typeDescriptions": {
|
|
@@ -1138,10 +1386,10 @@
|
|
|
1138
1386
|
"typeString": "uint8"
|
|
1139
1387
|
},
|
|
1140
1388
|
"typeName": {
|
|
1141
|
-
"id":
|
|
1389
|
+
"id": 34005,
|
|
1142
1390
|
"name": "uint8",
|
|
1143
1391
|
"nodeType": "ElementaryTypeName",
|
|
1144
|
-
"src": "
|
|
1392
|
+
"src": "1899:5:63",
|
|
1145
1393
|
"typeDescriptions": {
|
|
1146
1394
|
"typeIdentifier": "t_uint8",
|
|
1147
1395
|
"typeString": "uint8"
|
|
@@ -1151,13 +1399,13 @@
|
|
|
1151
1399
|
},
|
|
1152
1400
|
{
|
|
1153
1401
|
"constant": false,
|
|
1154
|
-
"id":
|
|
1402
|
+
"id": 34008,
|
|
1155
1403
|
"mutability": "mutable",
|
|
1156
1404
|
"name": "startByteIndex",
|
|
1157
|
-
"nameLocation": "
|
|
1405
|
+
"nameLocation": "1930:14:63",
|
|
1158
1406
|
"nodeType": "VariableDeclaration",
|
|
1159
|
-
"scope":
|
|
1160
|
-
"src": "
|
|
1407
|
+
"scope": 34013,
|
|
1408
|
+
"src": "1922:22:63",
|
|
1161
1409
|
"stateVariable": false,
|
|
1162
1410
|
"storageLocation": "default",
|
|
1163
1411
|
"typeDescriptions": {
|
|
@@ -1165,10 +1413,10 @@
|
|
|
1165
1413
|
"typeString": "uint256"
|
|
1166
1414
|
},
|
|
1167
1415
|
"typeName": {
|
|
1168
|
-
"id":
|
|
1416
|
+
"id": 34007,
|
|
1169
1417
|
"name": "uint256",
|
|
1170
1418
|
"nodeType": "ElementaryTypeName",
|
|
1171
|
-
"src": "
|
|
1419
|
+
"src": "1922:7:63",
|
|
1172
1420
|
"typeDescriptions": {
|
|
1173
1421
|
"typeIdentifier": "t_uint256",
|
|
1174
1422
|
"typeString": "uint256"
|
|
@@ -1178,13 +1426,13 @@
|
|
|
1178
1426
|
},
|
|
1179
1427
|
{
|
|
1180
1428
|
"constant": false,
|
|
1181
|
-
"id":
|
|
1429
|
+
"id": 34010,
|
|
1182
1430
|
"mutability": "mutable",
|
|
1183
1431
|
"name": "dataToSet",
|
|
1184
|
-
"nameLocation": "
|
|
1432
|
+
"nameLocation": "1965:9:63",
|
|
1185
1433
|
"nodeType": "VariableDeclaration",
|
|
1186
|
-
"scope":
|
|
1187
|
-
"src": "
|
|
1434
|
+
"scope": 34013,
|
|
1435
|
+
"src": "1950:24:63",
|
|
1188
1436
|
"stateVariable": false,
|
|
1189
1437
|
"storageLocation": "calldata",
|
|
1190
1438
|
"typeDescriptions": {
|
|
@@ -1192,10 +1440,10 @@
|
|
|
1192
1440
|
"typeString": "bytes"
|
|
1193
1441
|
},
|
|
1194
1442
|
"typeName": {
|
|
1195
|
-
"id":
|
|
1443
|
+
"id": 34009,
|
|
1196
1444
|
"name": "bytes",
|
|
1197
1445
|
"nodeType": "ElementaryTypeName",
|
|
1198
|
-
"src": "
|
|
1446
|
+
"src": "1950:5:63",
|
|
1199
1447
|
"typeDescriptions": {
|
|
1200
1448
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1201
1449
|
"typeString": "bytes"
|
|
@@ -1204,28 +1452,28 @@
|
|
|
1204
1452
|
"visibility": "internal"
|
|
1205
1453
|
}
|
|
1206
1454
|
],
|
|
1207
|
-
"src": "
|
|
1455
|
+
"src": "1824:154:63"
|
|
1208
1456
|
},
|
|
1209
1457
|
"returnParameters": {
|
|
1210
|
-
"id":
|
|
1458
|
+
"id": 34012,
|
|
1211
1459
|
"nodeType": "ParameterList",
|
|
1212
1460
|
"parameters": [],
|
|
1213
|
-
"src": "
|
|
1461
|
+
"src": "1987:0:63"
|
|
1214
1462
|
},
|
|
1215
|
-
"scope":
|
|
1463
|
+
"scope": 34025,
|
|
1216
1464
|
"stateMutability": "nonpayable",
|
|
1217
1465
|
"virtual": false,
|
|
1218
1466
|
"visibility": "external"
|
|
1219
1467
|
},
|
|
1220
1468
|
{
|
|
1221
|
-
"id":
|
|
1469
|
+
"id": 34024,
|
|
1222
1470
|
"nodeType": "FunctionDefinition",
|
|
1223
|
-
"src": "
|
|
1471
|
+
"src": "2137:88:63",
|
|
1224
1472
|
"nodes": [],
|
|
1225
1473
|
"documentation": {
|
|
1226
|
-
"id":
|
|
1474
|
+
"id": 34014,
|
|
1227
1475
|
"nodeType": "StructuredDocumentation",
|
|
1228
|
-
"src": "
|
|
1476
|
+
"src": "1992:142:63",
|
|
1229
1477
|
"text": " Delete a record in the table at the given namespace and name.\n Requires the caller to have access to the namespace or name."
|
|
1230
1478
|
},
|
|
1231
1479
|
"functionSelector": "e3f8cc6b",
|
|
@@ -1233,20 +1481,20 @@
|
|
|
1233
1481
|
"kind": "function",
|
|
1234
1482
|
"modifiers": [],
|
|
1235
1483
|
"name": "deleteRecord",
|
|
1236
|
-
"nameLocation": "
|
|
1484
|
+
"nameLocation": "2146:12:63",
|
|
1237
1485
|
"parameters": {
|
|
1238
|
-
"id":
|
|
1486
|
+
"id": 34022,
|
|
1239
1487
|
"nodeType": "ParameterList",
|
|
1240
1488
|
"parameters": [
|
|
1241
1489
|
{
|
|
1242
1490
|
"constant": false,
|
|
1243
|
-
"id":
|
|
1491
|
+
"id": 34016,
|
|
1244
1492
|
"mutability": "mutable",
|
|
1245
1493
|
"name": "namespace",
|
|
1246
|
-
"nameLocation": "
|
|
1494
|
+
"nameLocation": "2167:9:63",
|
|
1247
1495
|
"nodeType": "VariableDeclaration",
|
|
1248
|
-
"scope":
|
|
1249
|
-
"src": "
|
|
1496
|
+
"scope": 34024,
|
|
1497
|
+
"src": "2159:17:63",
|
|
1250
1498
|
"stateVariable": false,
|
|
1251
1499
|
"storageLocation": "default",
|
|
1252
1500
|
"typeDescriptions": {
|
|
@@ -1254,10 +1502,10 @@
|
|
|
1254
1502
|
"typeString": "bytes16"
|
|
1255
1503
|
},
|
|
1256
1504
|
"typeName": {
|
|
1257
|
-
"id":
|
|
1505
|
+
"id": 34015,
|
|
1258
1506
|
"name": "bytes16",
|
|
1259
1507
|
"nodeType": "ElementaryTypeName",
|
|
1260
|
-
"src": "
|
|
1508
|
+
"src": "2159:7:63",
|
|
1261
1509
|
"typeDescriptions": {
|
|
1262
1510
|
"typeIdentifier": "t_bytes16",
|
|
1263
1511
|
"typeString": "bytes16"
|
|
@@ -1267,13 +1515,13 @@
|
|
|
1267
1515
|
},
|
|
1268
1516
|
{
|
|
1269
1517
|
"constant": false,
|
|
1270
|
-
"id":
|
|
1518
|
+
"id": 34018,
|
|
1271
1519
|
"mutability": "mutable",
|
|
1272
1520
|
"name": "name",
|
|
1273
|
-
"nameLocation": "
|
|
1521
|
+
"nameLocation": "2186:4:63",
|
|
1274
1522
|
"nodeType": "VariableDeclaration",
|
|
1275
|
-
"scope":
|
|
1276
|
-
"src": "
|
|
1523
|
+
"scope": 34024,
|
|
1524
|
+
"src": "2178:12:63",
|
|
1277
1525
|
"stateVariable": false,
|
|
1278
1526
|
"storageLocation": "default",
|
|
1279
1527
|
"typeDescriptions": {
|
|
@@ -1281,10 +1529,10 @@
|
|
|
1281
1529
|
"typeString": "bytes16"
|
|
1282
1530
|
},
|
|
1283
1531
|
"typeName": {
|
|
1284
|
-
"id":
|
|
1532
|
+
"id": 34017,
|
|
1285
1533
|
"name": "bytes16",
|
|
1286
1534
|
"nodeType": "ElementaryTypeName",
|
|
1287
|
-
"src": "
|
|
1535
|
+
"src": "2178:7:63",
|
|
1288
1536
|
"typeDescriptions": {
|
|
1289
1537
|
"typeIdentifier": "t_bytes16",
|
|
1290
1538
|
"typeString": "bytes16"
|
|
@@ -1294,13 +1542,13 @@
|
|
|
1294
1542
|
},
|
|
1295
1543
|
{
|
|
1296
1544
|
"constant": false,
|
|
1297
|
-
"id":
|
|
1545
|
+
"id": 34021,
|
|
1298
1546
|
"mutability": "mutable",
|
|
1299
1547
|
"name": "key",
|
|
1300
|
-
"nameLocation": "
|
|
1548
|
+
"nameLocation": "2211:3:63",
|
|
1301
1549
|
"nodeType": "VariableDeclaration",
|
|
1302
|
-
"scope":
|
|
1303
|
-
"src": "
|
|
1550
|
+
"scope": 34024,
|
|
1551
|
+
"src": "2192:22:63",
|
|
1304
1552
|
"stateVariable": false,
|
|
1305
1553
|
"storageLocation": "calldata",
|
|
1306
1554
|
"typeDescriptions": {
|
|
@@ -1309,18 +1557,18 @@
|
|
|
1309
1557
|
},
|
|
1310
1558
|
"typeName": {
|
|
1311
1559
|
"baseType": {
|
|
1312
|
-
"id":
|
|
1560
|
+
"id": 34019,
|
|
1313
1561
|
"name": "bytes32",
|
|
1314
1562
|
"nodeType": "ElementaryTypeName",
|
|
1315
|
-
"src": "
|
|
1563
|
+
"src": "2192:7:63",
|
|
1316
1564
|
"typeDescriptions": {
|
|
1317
1565
|
"typeIdentifier": "t_bytes32",
|
|
1318
1566
|
"typeString": "bytes32"
|
|
1319
1567
|
}
|
|
1320
1568
|
},
|
|
1321
|
-
"id":
|
|
1569
|
+
"id": 34020,
|
|
1322
1570
|
"nodeType": "ArrayTypeName",
|
|
1323
|
-
"src": "
|
|
1571
|
+
"src": "2192:9:63",
|
|
1324
1572
|
"typeDescriptions": {
|
|
1325
1573
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1326
1574
|
"typeString": "bytes32[]"
|
|
@@ -1329,15 +1577,15 @@
|
|
|
1329
1577
|
"visibility": "internal"
|
|
1330
1578
|
}
|
|
1331
1579
|
],
|
|
1332
|
-
"src": "
|
|
1580
|
+
"src": "2158:57:63"
|
|
1333
1581
|
},
|
|
1334
1582
|
"returnParameters": {
|
|
1335
|
-
"id":
|
|
1583
|
+
"id": 34023,
|
|
1336
1584
|
"nodeType": "ParameterList",
|
|
1337
1585
|
"parameters": [],
|
|
1338
|
-
"src": "
|
|
1586
|
+
"src": "2224:0:63"
|
|
1339
1587
|
},
|
|
1340
|
-
"scope":
|
|
1588
|
+
"scope": 34025,
|
|
1341
1589
|
"stateMutability": "nonpayable",
|
|
1342
1590
|
"virtual": false,
|
|
1343
1591
|
"visibility": "external"
|
|
@@ -1349,34 +1597,34 @@
|
|
|
1349
1597
|
"contractDependencies": [],
|
|
1350
1598
|
"contractKind": "interface",
|
|
1351
1599
|
"documentation": {
|
|
1352
|
-
"id":
|
|
1600
|
+
"id": 33938,
|
|
1353
1601
|
"nodeType": "StructuredDocumentation",
|
|
1354
1602
|
"src": "141:270:63",
|
|
1355
1603
|
"text": " The IWorldData 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, and they are part of the World contract's internal bytecode."
|
|
1356
1604
|
},
|
|
1357
1605
|
"fullyImplemented": false,
|
|
1358
1606
|
"linearizedBaseContracts": [
|
|
1359
|
-
|
|
1607
|
+
34025
|
|
1360
1608
|
],
|
|
1361
1609
|
"name": "IWorldData",
|
|
1362
1610
|
"nameLocation": "422:10:63",
|
|
1363
|
-
"scope":
|
|
1611
|
+
"scope": 34059,
|
|
1364
1612
|
"usedErrors": []
|
|
1365
1613
|
},
|
|
1366
1614
|
{
|
|
1367
|
-
"id":
|
|
1615
|
+
"id": 34035,
|
|
1368
1616
|
"nodeType": "ContractDefinition",
|
|
1369
|
-
"src": "
|
|
1617
|
+
"src": "2229:296:63",
|
|
1370
1618
|
"nodes": [
|
|
1371
1619
|
{
|
|
1372
|
-
"id":
|
|
1620
|
+
"id": 34034,
|
|
1373
1621
|
"nodeType": "FunctionDefinition",
|
|
1374
|
-
"src": "
|
|
1622
|
+
"src": "2452:71:63",
|
|
1375
1623
|
"nodes": [],
|
|
1376
1624
|
"documentation": {
|
|
1377
|
-
"id":
|
|
1625
|
+
"id": 34026,
|
|
1378
1626
|
"nodeType": "StructuredDocumentation",
|
|
1379
|
-
"src": "
|
|
1627
|
+
"src": "2268:181:63",
|
|
1380
1628
|
"text": " Install the given root module in the World.\n Requires the caller to own the root namespace.\n The module is delegatecalled and installed in the root namespace."
|
|
1381
1629
|
},
|
|
1382
1630
|
"functionSelector": "af068c9e",
|
|
@@ -1384,40 +1632,40 @@
|
|
|
1384
1632
|
"kind": "function",
|
|
1385
1633
|
"modifiers": [],
|
|
1386
1634
|
"name": "installRootModule",
|
|
1387
|
-
"nameLocation": "
|
|
1635
|
+
"nameLocation": "2461:17:63",
|
|
1388
1636
|
"parameters": {
|
|
1389
|
-
"id":
|
|
1637
|
+
"id": 34032,
|
|
1390
1638
|
"nodeType": "ParameterList",
|
|
1391
1639
|
"parameters": [
|
|
1392
1640
|
{
|
|
1393
1641
|
"constant": false,
|
|
1394
|
-
"id":
|
|
1642
|
+
"id": 34029,
|
|
1395
1643
|
"mutability": "mutable",
|
|
1396
1644
|
"name": "module",
|
|
1397
|
-
"nameLocation": "
|
|
1645
|
+
"nameLocation": "2487:6:63",
|
|
1398
1646
|
"nodeType": "VariableDeclaration",
|
|
1399
|
-
"scope":
|
|
1400
|
-
"src": "
|
|
1647
|
+
"scope": 34034,
|
|
1648
|
+
"src": "2479:14:63",
|
|
1401
1649
|
"stateVariable": false,
|
|
1402
1650
|
"storageLocation": "default",
|
|
1403
1651
|
"typeDescriptions": {
|
|
1404
|
-
"typeIdentifier": "t_contract$_IModule_$
|
|
1652
|
+
"typeIdentifier": "t_contract$_IModule_$33863",
|
|
1405
1653
|
"typeString": "contract IModule"
|
|
1406
1654
|
},
|
|
1407
1655
|
"typeName": {
|
|
1408
|
-
"id":
|
|
1656
|
+
"id": 34028,
|
|
1409
1657
|
"nodeType": "UserDefinedTypeName",
|
|
1410
1658
|
"pathNode": {
|
|
1411
|
-
"id":
|
|
1659
|
+
"id": 34027,
|
|
1412
1660
|
"name": "IModule",
|
|
1413
1661
|
"nodeType": "IdentifierPath",
|
|
1414
|
-
"referencedDeclaration":
|
|
1415
|
-
"src": "
|
|
1662
|
+
"referencedDeclaration": 33863,
|
|
1663
|
+
"src": "2479:7:63"
|
|
1416
1664
|
},
|
|
1417
|
-
"referencedDeclaration":
|
|
1418
|
-
"src": "
|
|
1665
|
+
"referencedDeclaration": 33863,
|
|
1666
|
+
"src": "2479:7:63",
|
|
1419
1667
|
"typeDescriptions": {
|
|
1420
|
-
"typeIdentifier": "t_contract$_IModule_$
|
|
1668
|
+
"typeIdentifier": "t_contract$_IModule_$33863",
|
|
1421
1669
|
"typeString": "contract IModule"
|
|
1422
1670
|
}
|
|
1423
1671
|
},
|
|
@@ -1425,13 +1673,13 @@
|
|
|
1425
1673
|
},
|
|
1426
1674
|
{
|
|
1427
1675
|
"constant": false,
|
|
1428
|
-
"id":
|
|
1676
|
+
"id": 34031,
|
|
1429
1677
|
"mutability": "mutable",
|
|
1430
1678
|
"name": "args",
|
|
1431
|
-
"nameLocation": "
|
|
1679
|
+
"nameLocation": "2508:4:63",
|
|
1432
1680
|
"nodeType": "VariableDeclaration",
|
|
1433
|
-
"scope":
|
|
1434
|
-
"src": "
|
|
1681
|
+
"scope": 34034,
|
|
1682
|
+
"src": "2495:17:63",
|
|
1435
1683
|
"stateVariable": false,
|
|
1436
1684
|
"storageLocation": "memory",
|
|
1437
1685
|
"typeDescriptions": {
|
|
@@ -1439,10 +1687,10 @@
|
|
|
1439
1687
|
"typeString": "bytes"
|
|
1440
1688
|
},
|
|
1441
1689
|
"typeName": {
|
|
1442
|
-
"id":
|
|
1690
|
+
"id": 34030,
|
|
1443
1691
|
"name": "bytes",
|
|
1444
1692
|
"nodeType": "ElementaryTypeName",
|
|
1445
|
-
"src": "
|
|
1693
|
+
"src": "2495:5:63",
|
|
1446
1694
|
"typeDescriptions": {
|
|
1447
1695
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1448
1696
|
"typeString": "bytes"
|
|
@@ -1451,15 +1699,15 @@
|
|
|
1451
1699
|
"visibility": "internal"
|
|
1452
1700
|
}
|
|
1453
1701
|
],
|
|
1454
|
-
"src": "
|
|
1702
|
+
"src": "2478:35:63"
|
|
1455
1703
|
},
|
|
1456
1704
|
"returnParameters": {
|
|
1457
|
-
"id":
|
|
1705
|
+
"id": 34033,
|
|
1458
1706
|
"nodeType": "ParameterList",
|
|
1459
1707
|
"parameters": [],
|
|
1460
|
-
"src": "
|
|
1708
|
+
"src": "2522:0:63"
|
|
1461
1709
|
},
|
|
1462
|
-
"scope":
|
|
1710
|
+
"scope": 34035,
|
|
1463
1711
|
"stateMutability": "nonpayable",
|
|
1464
1712
|
"virtual": false,
|
|
1465
1713
|
"visibility": "external"
|
|
@@ -1472,27 +1720,27 @@
|
|
|
1472
1720
|
"contractKind": "interface",
|
|
1473
1721
|
"fullyImplemented": false,
|
|
1474
1722
|
"linearizedBaseContracts": [
|
|
1475
|
-
|
|
1723
|
+
34035
|
|
1476
1724
|
],
|
|
1477
1725
|
"name": "IWorldModuleInstallation",
|
|
1478
|
-
"nameLocation": "
|
|
1479
|
-
"scope":
|
|
1726
|
+
"nameLocation": "2239:24:63",
|
|
1727
|
+
"scope": 34059,
|
|
1480
1728
|
"usedErrors": []
|
|
1481
1729
|
},
|
|
1482
1730
|
{
|
|
1483
|
-
"id":
|
|
1731
|
+
"id": 34048,
|
|
1484
1732
|
"nodeType": "ContractDefinition",
|
|
1485
|
-
"src": "
|
|
1733
|
+
"src": "2527:318:63",
|
|
1486
1734
|
"nodes": [
|
|
1487
1735
|
{
|
|
1488
|
-
"id":
|
|
1736
|
+
"id": 34047,
|
|
1489
1737
|
"nodeType": "FunctionDefinition",
|
|
1490
|
-
"src": "
|
|
1738
|
+
"src": "2706:137:63",
|
|
1491
1739
|
"nodes": [],
|
|
1492
1740
|
"documentation": {
|
|
1493
|
-
"id":
|
|
1741
|
+
"id": 34036,
|
|
1494
1742
|
"nodeType": "StructuredDocumentation",
|
|
1495
|
-
"src": "
|
|
1743
|
+
"src": "2552:151:63",
|
|
1496
1744
|
"text": " Call the system at the given namespace and name.\n If the system is not public, the caller must have access to the namespace or name."
|
|
1497
1745
|
},
|
|
1498
1746
|
"functionSelector": "832f05f4",
|
|
@@ -1500,20 +1748,20 @@
|
|
|
1500
1748
|
"kind": "function",
|
|
1501
1749
|
"modifiers": [],
|
|
1502
1750
|
"name": "call",
|
|
1503
|
-
"nameLocation": "
|
|
1751
|
+
"nameLocation": "2715:4:63",
|
|
1504
1752
|
"parameters": {
|
|
1505
|
-
"id":
|
|
1753
|
+
"id": 34043,
|
|
1506
1754
|
"nodeType": "ParameterList",
|
|
1507
1755
|
"parameters": [
|
|
1508
1756
|
{
|
|
1509
1757
|
"constant": false,
|
|
1510
|
-
"id":
|
|
1758
|
+
"id": 34038,
|
|
1511
1759
|
"mutability": "mutable",
|
|
1512
1760
|
"name": "namespace",
|
|
1513
|
-
"nameLocation": "
|
|
1761
|
+
"nameLocation": "2733:9:63",
|
|
1514
1762
|
"nodeType": "VariableDeclaration",
|
|
1515
|
-
"scope":
|
|
1516
|
-
"src": "
|
|
1763
|
+
"scope": 34047,
|
|
1764
|
+
"src": "2725:17:63",
|
|
1517
1765
|
"stateVariable": false,
|
|
1518
1766
|
"storageLocation": "default",
|
|
1519
1767
|
"typeDescriptions": {
|
|
@@ -1521,10 +1769,10 @@
|
|
|
1521
1769
|
"typeString": "bytes16"
|
|
1522
1770
|
},
|
|
1523
1771
|
"typeName": {
|
|
1524
|
-
"id":
|
|
1772
|
+
"id": 34037,
|
|
1525
1773
|
"name": "bytes16",
|
|
1526
1774
|
"nodeType": "ElementaryTypeName",
|
|
1527
|
-
"src": "
|
|
1775
|
+
"src": "2725:7:63",
|
|
1528
1776
|
"typeDescriptions": {
|
|
1529
1777
|
"typeIdentifier": "t_bytes16",
|
|
1530
1778
|
"typeString": "bytes16"
|
|
@@ -1534,13 +1782,13 @@
|
|
|
1534
1782
|
},
|
|
1535
1783
|
{
|
|
1536
1784
|
"constant": false,
|
|
1537
|
-
"id":
|
|
1785
|
+
"id": 34040,
|
|
1538
1786
|
"mutability": "mutable",
|
|
1539
1787
|
"name": "name",
|
|
1540
|
-
"nameLocation": "
|
|
1788
|
+
"nameLocation": "2756:4:63",
|
|
1541
1789
|
"nodeType": "VariableDeclaration",
|
|
1542
|
-
"scope":
|
|
1543
|
-
"src": "
|
|
1790
|
+
"scope": 34047,
|
|
1791
|
+
"src": "2748:12:63",
|
|
1544
1792
|
"stateVariable": false,
|
|
1545
1793
|
"storageLocation": "default",
|
|
1546
1794
|
"typeDescriptions": {
|
|
@@ -1548,10 +1796,10 @@
|
|
|
1548
1796
|
"typeString": "bytes16"
|
|
1549
1797
|
},
|
|
1550
1798
|
"typeName": {
|
|
1551
|
-
"id":
|
|
1799
|
+
"id": 34039,
|
|
1552
1800
|
"name": "bytes16",
|
|
1553
1801
|
"nodeType": "ElementaryTypeName",
|
|
1554
|
-
"src": "
|
|
1802
|
+
"src": "2748:7:63",
|
|
1555
1803
|
"typeDescriptions": {
|
|
1556
1804
|
"typeIdentifier": "t_bytes16",
|
|
1557
1805
|
"typeString": "bytes16"
|
|
@@ -1561,13 +1809,13 @@
|
|
|
1561
1809
|
},
|
|
1562
1810
|
{
|
|
1563
1811
|
"constant": false,
|
|
1564
|
-
"id":
|
|
1812
|
+
"id": 34042,
|
|
1565
1813
|
"mutability": "mutable",
|
|
1566
1814
|
"name": "funcSelectorAndArgs",
|
|
1567
|
-
"nameLocation": "
|
|
1815
|
+
"nameLocation": "2779:19:63",
|
|
1568
1816
|
"nodeType": "VariableDeclaration",
|
|
1569
|
-
"scope":
|
|
1570
|
-
"src": "
|
|
1817
|
+
"scope": 34047,
|
|
1818
|
+
"src": "2766:32:63",
|
|
1571
1819
|
"stateVariable": false,
|
|
1572
1820
|
"storageLocation": "memory",
|
|
1573
1821
|
"typeDescriptions": {
|
|
@@ -1575,10 +1823,10 @@
|
|
|
1575
1823
|
"typeString": "bytes"
|
|
1576
1824
|
},
|
|
1577
1825
|
"typeName": {
|
|
1578
|
-
"id":
|
|
1826
|
+
"id": 34041,
|
|
1579
1827
|
"name": "bytes",
|
|
1580
1828
|
"nodeType": "ElementaryTypeName",
|
|
1581
|
-
"src": "
|
|
1829
|
+
"src": "2766:5:63",
|
|
1582
1830
|
"typeDescriptions": {
|
|
1583
1831
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1584
1832
|
"typeString": "bytes"
|
|
@@ -1587,21 +1835,21 @@
|
|
|
1587
1835
|
"visibility": "internal"
|
|
1588
1836
|
}
|
|
1589
1837
|
],
|
|
1590
|
-
"src": "
|
|
1838
|
+
"src": "2719:83:63"
|
|
1591
1839
|
},
|
|
1592
1840
|
"returnParameters": {
|
|
1593
|
-
"id":
|
|
1841
|
+
"id": 34046,
|
|
1594
1842
|
"nodeType": "ParameterList",
|
|
1595
1843
|
"parameters": [
|
|
1596
1844
|
{
|
|
1597
1845
|
"constant": false,
|
|
1598
|
-
"id":
|
|
1846
|
+
"id": 34045,
|
|
1599
1847
|
"mutability": "mutable",
|
|
1600
1848
|
"name": "",
|
|
1601
1849
|
"nameLocation": "-1:-1:-1",
|
|
1602
1850
|
"nodeType": "VariableDeclaration",
|
|
1603
|
-
"scope":
|
|
1604
|
-
"src": "
|
|
1851
|
+
"scope": 34047,
|
|
1852
|
+
"src": "2829:12:63",
|
|
1605
1853
|
"stateVariable": false,
|
|
1606
1854
|
"storageLocation": "memory",
|
|
1607
1855
|
"typeDescriptions": {
|
|
@@ -1609,10 +1857,10 @@
|
|
|
1609
1857
|
"typeString": "bytes"
|
|
1610
1858
|
},
|
|
1611
1859
|
"typeName": {
|
|
1612
|
-
"id":
|
|
1860
|
+
"id": 34044,
|
|
1613
1861
|
"name": "bytes",
|
|
1614
1862
|
"nodeType": "ElementaryTypeName",
|
|
1615
|
-
"src": "
|
|
1863
|
+
"src": "2829:5:63",
|
|
1616
1864
|
"typeDescriptions": {
|
|
1617
1865
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1618
1866
|
"typeString": "bytes"
|
|
@@ -1621,9 +1869,9 @@
|
|
|
1621
1869
|
"visibility": "internal"
|
|
1622
1870
|
}
|
|
1623
1871
|
],
|
|
1624
|
-
"src": "
|
|
1872
|
+
"src": "2828:14:63"
|
|
1625
1873
|
},
|
|
1626
|
-
"scope":
|
|
1874
|
+
"scope": 34048,
|
|
1627
1875
|
"stateMutability": "payable",
|
|
1628
1876
|
"virtual": false,
|
|
1629
1877
|
"visibility": "external"
|
|
@@ -1636,98 +1884,98 @@
|
|
|
1636
1884
|
"contractKind": "interface",
|
|
1637
1885
|
"fullyImplemented": false,
|
|
1638
1886
|
"linearizedBaseContracts": [
|
|
1639
|
-
|
|
1887
|
+
34048
|
|
1640
1888
|
],
|
|
1641
1889
|
"name": "IWorldCall",
|
|
1642
|
-
"nameLocation": "
|
|
1643
|
-
"scope":
|
|
1890
|
+
"nameLocation": "2537:10:63",
|
|
1891
|
+
"scope": 34059,
|
|
1644
1892
|
"usedErrors": []
|
|
1645
1893
|
},
|
|
1646
1894
|
{
|
|
1647
|
-
"id":
|
|
1895
|
+
"id": 34058,
|
|
1648
1896
|
"nodeType": "ContractDefinition",
|
|
1649
|
-
"src": "
|
|
1897
|
+
"src": "3113:88:63",
|
|
1650
1898
|
"nodes": [],
|
|
1651
1899
|
"abstract": false,
|
|
1652
1900
|
"baseContracts": [
|
|
1653
1901
|
{
|
|
1654
1902
|
"baseName": {
|
|
1655
|
-
"id":
|
|
1903
|
+
"id": 34050,
|
|
1656
1904
|
"name": "IWorldData",
|
|
1657
1905
|
"nodeType": "IdentifierPath",
|
|
1658
|
-
"referencedDeclaration":
|
|
1659
|
-
"src": "
|
|
1906
|
+
"referencedDeclaration": 34025,
|
|
1907
|
+
"src": "3139:10:63"
|
|
1660
1908
|
},
|
|
1661
|
-
"id":
|
|
1909
|
+
"id": 34051,
|
|
1662
1910
|
"nodeType": "InheritanceSpecifier",
|
|
1663
|
-
"src": "
|
|
1911
|
+
"src": "3139:10:63"
|
|
1664
1912
|
},
|
|
1665
1913
|
{
|
|
1666
1914
|
"baseName": {
|
|
1667
|
-
"id":
|
|
1915
|
+
"id": 34052,
|
|
1668
1916
|
"name": "IWorldModuleInstallation",
|
|
1669
1917
|
"nodeType": "IdentifierPath",
|
|
1670
|
-
"referencedDeclaration":
|
|
1671
|
-
"src": "
|
|
1918
|
+
"referencedDeclaration": 34035,
|
|
1919
|
+
"src": "3151:24:63"
|
|
1672
1920
|
},
|
|
1673
|
-
"id":
|
|
1921
|
+
"id": 34053,
|
|
1674
1922
|
"nodeType": "InheritanceSpecifier",
|
|
1675
|
-
"src": "
|
|
1923
|
+
"src": "3151:24:63"
|
|
1676
1924
|
},
|
|
1677
1925
|
{
|
|
1678
1926
|
"baseName": {
|
|
1679
|
-
"id":
|
|
1927
|
+
"id": 34054,
|
|
1680
1928
|
"name": "IWorldCall",
|
|
1681
1929
|
"nodeType": "IdentifierPath",
|
|
1682
|
-
"referencedDeclaration":
|
|
1683
|
-
"src": "
|
|
1930
|
+
"referencedDeclaration": 34048,
|
|
1931
|
+
"src": "3177:10:63"
|
|
1684
1932
|
},
|
|
1685
|
-
"id":
|
|
1933
|
+
"id": 34055,
|
|
1686
1934
|
"nodeType": "InheritanceSpecifier",
|
|
1687
|
-
"src": "
|
|
1935
|
+
"src": "3177:10:63"
|
|
1688
1936
|
},
|
|
1689
1937
|
{
|
|
1690
1938
|
"baseName": {
|
|
1691
|
-
"id":
|
|
1939
|
+
"id": 34056,
|
|
1692
1940
|
"name": "IErrors",
|
|
1693
1941
|
"nodeType": "IdentifierPath",
|
|
1694
|
-
"referencedDeclaration":
|
|
1695
|
-
"src": "
|
|
1942
|
+
"referencedDeclaration": 33844,
|
|
1943
|
+
"src": "3189:7:63"
|
|
1696
1944
|
},
|
|
1697
|
-
"id":
|
|
1945
|
+
"id": 34057,
|
|
1698
1946
|
"nodeType": "InheritanceSpecifier",
|
|
1699
|
-
"src": "
|
|
1947
|
+
"src": "3189:7:63"
|
|
1700
1948
|
}
|
|
1701
1949
|
],
|
|
1702
1950
|
"canonicalName": "IWorldKernel",
|
|
1703
1951
|
"contractDependencies": [],
|
|
1704
1952
|
"contractKind": "interface",
|
|
1705
1953
|
"documentation": {
|
|
1706
|
-
"id":
|
|
1954
|
+
"id": 34049,
|
|
1707
1955
|
"nodeType": "StructuredDocumentation",
|
|
1708
|
-
"src": "
|
|
1956
|
+
"src": "2847:265:63",
|
|
1709
1957
|
"text": " The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode.\n Consumers should use the `IBaseWorld` interface instead, which includes dynamically\n registered functions selectors from the `CoreModule`."
|
|
1710
1958
|
},
|
|
1711
1959
|
"fullyImplemented": false,
|
|
1712
1960
|
"linearizedBaseContracts": [
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1961
|
+
34058,
|
|
1962
|
+
33844,
|
|
1963
|
+
34048,
|
|
1964
|
+
34035,
|
|
1965
|
+
34025
|
|
1718
1966
|
],
|
|
1719
1967
|
"name": "IWorldKernel",
|
|
1720
|
-
"nameLocation": "
|
|
1721
|
-
"scope":
|
|
1968
|
+
"nameLocation": "3123:12:63",
|
|
1969
|
+
"scope": 34059,
|
|
1722
1970
|
"usedErrors": [
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1971
|
+
33813,
|
|
1972
|
+
33817,
|
|
1973
|
+
33823,
|
|
1974
|
+
33827,
|
|
1975
|
+
33831,
|
|
1976
|
+
33835,
|
|
1977
|
+
33839,
|
|
1978
|
+
33843
|
|
1731
1979
|
]
|
|
1732
1980
|
}
|
|
1733
1981
|
],
|