@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
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"methodIdentifiers": {
|
|
44
44
|
"call(bytes16,bytes16,bytes)": "832f05f4"
|
|
45
45
|
},
|
|
46
|
-
"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\":\"bytes\",\"name\":\"funcSelectorAndArgs\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"call(bytes16,bytes16,bytes)\":{\"notice\":\"Call the system at the given namespace and name. If the system is not public, the caller must have access to the namespace or name.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IWorldKernel.sol\":\"IWorldCall\"},\"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\":\"
|
|
46
|
+
"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\":\"bytes\",\"name\":\"funcSelectorAndArgs\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"call(bytes16,bytes16,bytes)\":{\"notice\":\"Call the system at the given namespace and name. If the system is not public, the caller must have access to the namespace or name.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IWorldKernel.sol\":\"IWorldCall\"},\"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}",
|
|
47
47
|
"metadata": {
|
|
48
48
|
"compiler": {
|
|
49
49
|
"version": "0.8.13+commit.abaa5c0e"
|
|
@@ -133,10 +133,10 @@
|
|
|
133
133
|
"license": "MIT"
|
|
134
134
|
},
|
|
135
135
|
"src/interfaces/IWorldKernel.sol": {
|
|
136
|
-
"keccak256": "
|
|
136
|
+
"keccak256": "0x9baf07e472a70ec8aba9dffb71a7dd7d970c1352c2b11fdbf4c21a54b61458e7",
|
|
137
137
|
"urls": [
|
|
138
|
-
"bzz-raw://
|
|
139
|
-
"dweb:/ipfs/
|
|
138
|
+
"bzz-raw://c270f22eec9ee162bcb973349e4e96ffcacd70c7df53d0ce7eb33f3bdb1dd6e3",
|
|
139
|
+
"dweb:/ipfs/QmWRgyG2o7cM8dJRNN3d72khRsaGVJBNjVP6XPW2uSyGmU"
|
|
140
140
|
],
|
|
141
141
|
"license": "MIT"
|
|
142
142
|
}
|
|
@@ -145,32 +145,32 @@
|
|
|
145
145
|
},
|
|
146
146
|
"ast": {
|
|
147
147
|
"absolutePath": "src/interfaces/IWorldKernel.sol",
|
|
148
|
-
"id":
|
|
148
|
+
"id": 34059,
|
|
149
149
|
"exportedSymbols": {
|
|
150
150
|
"IErrors": [
|
|
151
|
-
|
|
151
|
+
33844
|
|
152
152
|
],
|
|
153
153
|
"IModule": [
|
|
154
|
-
|
|
154
|
+
33863
|
|
155
155
|
],
|
|
156
156
|
"IWorldCall": [
|
|
157
|
-
|
|
157
|
+
34048
|
|
158
158
|
],
|
|
159
159
|
"IWorldData": [
|
|
160
|
-
|
|
160
|
+
34025
|
|
161
161
|
],
|
|
162
162
|
"IWorldKernel": [
|
|
163
|
-
|
|
163
|
+
34058
|
|
164
164
|
],
|
|
165
165
|
"IWorldModuleInstallation": [
|
|
166
|
-
|
|
166
|
+
34035
|
|
167
167
|
]
|
|
168
168
|
},
|
|
169
169
|
"nodeType": "SourceUnit",
|
|
170
|
-
"src": "32:
|
|
170
|
+
"src": "32:3170:63",
|
|
171
171
|
"nodes": [
|
|
172
172
|
{
|
|
173
|
-
"id":
|
|
173
|
+
"id": 33933,
|
|
174
174
|
"nodeType": "PragmaDirective",
|
|
175
175
|
"src": "32:24:63",
|
|
176
176
|
"nodes": [],
|
|
@@ -182,23 +182,23 @@
|
|
|
182
182
|
]
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
"id":
|
|
185
|
+
"id": 33935,
|
|
186
186
|
"nodeType": "ImportDirective",
|
|
187
187
|
"src": "58:40:63",
|
|
188
188
|
"nodes": [],
|
|
189
189
|
"absolutePath": "src/interfaces/IErrors.sol",
|
|
190
190
|
"file": "./IErrors.sol",
|
|
191
191
|
"nameLocation": "-1:-1:-1",
|
|
192
|
-
"scope":
|
|
193
|
-
"sourceUnit":
|
|
192
|
+
"scope": 34059,
|
|
193
|
+
"sourceUnit": 33845,
|
|
194
194
|
"symbolAliases": [
|
|
195
195
|
{
|
|
196
196
|
"foreign": {
|
|
197
|
-
"id":
|
|
197
|
+
"id": 33934,
|
|
198
198
|
"name": "IErrors",
|
|
199
199
|
"nodeType": "Identifier",
|
|
200
200
|
"overloadedDeclarations": [],
|
|
201
|
-
"referencedDeclaration":
|
|
201
|
+
"referencedDeclaration": 33844,
|
|
202
202
|
"src": "67:7:63",
|
|
203
203
|
"typeDescriptions": {}
|
|
204
204
|
},
|
|
@@ -208,23 +208,23 @@
|
|
|
208
208
|
"unitAlias": ""
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
|
-
"id":
|
|
211
|
+
"id": 33937,
|
|
212
212
|
"nodeType": "ImportDirective",
|
|
213
213
|
"src": "99:40:63",
|
|
214
214
|
"nodes": [],
|
|
215
215
|
"absolutePath": "src/interfaces/IModule.sol",
|
|
216
216
|
"file": "./IModule.sol",
|
|
217
217
|
"nameLocation": "-1:-1:-1",
|
|
218
|
-
"scope":
|
|
219
|
-
"sourceUnit":
|
|
218
|
+
"scope": 34059,
|
|
219
|
+
"sourceUnit": 33864,
|
|
220
220
|
"symbolAliases": [
|
|
221
221
|
{
|
|
222
222
|
"foreign": {
|
|
223
|
-
"id":
|
|
223
|
+
"id": 33936,
|
|
224
224
|
"name": "IModule",
|
|
225
225
|
"nodeType": "Identifier",
|
|
226
226
|
"overloadedDeclarations": [],
|
|
227
|
-
"referencedDeclaration":
|
|
227
|
+
"referencedDeclaration": 33863,
|
|
228
228
|
"src": "108:7:63",
|
|
229
229
|
"typeDescriptions": {}
|
|
230
230
|
},
|
|
@@ -234,17 +234,17 @@
|
|
|
234
234
|
"unitAlias": ""
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
|
-
"id":
|
|
237
|
+
"id": 34025,
|
|
238
238
|
"nodeType": "ContractDefinition",
|
|
239
|
-
"src": "412:
|
|
239
|
+
"src": "412:1815:63",
|
|
240
240
|
"nodes": [
|
|
241
241
|
{
|
|
242
|
-
"id":
|
|
242
|
+
"id": 33951,
|
|
243
243
|
"nodeType": "FunctionDefinition",
|
|
244
244
|
"src": "581:106:63",
|
|
245
245
|
"nodes": [],
|
|
246
246
|
"documentation": {
|
|
247
|
-
"id":
|
|
247
|
+
"id": 33939,
|
|
248
248
|
"nodeType": "StructuredDocumentation",
|
|
249
249
|
"src": "437:141:63",
|
|
250
250
|
"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."
|
|
@@ -256,17 +256,17 @@
|
|
|
256
256
|
"name": "setRecord",
|
|
257
257
|
"nameLocation": "590:9:63",
|
|
258
258
|
"parameters": {
|
|
259
|
-
"id":
|
|
259
|
+
"id": 33949,
|
|
260
260
|
"nodeType": "ParameterList",
|
|
261
261
|
"parameters": [
|
|
262
262
|
{
|
|
263
263
|
"constant": false,
|
|
264
|
-
"id":
|
|
264
|
+
"id": 33941,
|
|
265
265
|
"mutability": "mutable",
|
|
266
266
|
"name": "namespace",
|
|
267
267
|
"nameLocation": "608:9:63",
|
|
268
268
|
"nodeType": "VariableDeclaration",
|
|
269
|
-
"scope":
|
|
269
|
+
"scope": 33951,
|
|
270
270
|
"src": "600:17:63",
|
|
271
271
|
"stateVariable": false,
|
|
272
272
|
"storageLocation": "default",
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"typeString": "bytes16"
|
|
276
276
|
},
|
|
277
277
|
"typeName": {
|
|
278
|
-
"id":
|
|
278
|
+
"id": 33940,
|
|
279
279
|
"name": "bytes16",
|
|
280
280
|
"nodeType": "ElementaryTypeName",
|
|
281
281
|
"src": "600:7:63",
|
|
@@ -288,12 +288,12 @@
|
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
"constant": false,
|
|
291
|
-
"id":
|
|
291
|
+
"id": 33943,
|
|
292
292
|
"mutability": "mutable",
|
|
293
293
|
"name": "name",
|
|
294
294
|
"nameLocation": "627:4:63",
|
|
295
295
|
"nodeType": "VariableDeclaration",
|
|
296
|
-
"scope":
|
|
296
|
+
"scope": 33951,
|
|
297
297
|
"src": "619:12:63",
|
|
298
298
|
"stateVariable": false,
|
|
299
299
|
"storageLocation": "default",
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
"typeString": "bytes16"
|
|
303
303
|
},
|
|
304
304
|
"typeName": {
|
|
305
|
-
"id":
|
|
305
|
+
"id": 33942,
|
|
306
306
|
"name": "bytes16",
|
|
307
307
|
"nodeType": "ElementaryTypeName",
|
|
308
308
|
"src": "619:7:63",
|
|
@@ -315,12 +315,12 @@
|
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
"constant": false,
|
|
318
|
-
"id":
|
|
318
|
+
"id": 33946,
|
|
319
319
|
"mutability": "mutable",
|
|
320
320
|
"name": "key",
|
|
321
321
|
"nameLocation": "652:3:63",
|
|
322
322
|
"nodeType": "VariableDeclaration",
|
|
323
|
-
"scope":
|
|
323
|
+
"scope": 33951,
|
|
324
324
|
"src": "633:22:63",
|
|
325
325
|
"stateVariable": false,
|
|
326
326
|
"storageLocation": "calldata",
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
},
|
|
331
331
|
"typeName": {
|
|
332
332
|
"baseType": {
|
|
333
|
-
"id":
|
|
333
|
+
"id": 33944,
|
|
334
334
|
"name": "bytes32",
|
|
335
335
|
"nodeType": "ElementaryTypeName",
|
|
336
336
|
"src": "633:7:63",
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
"typeString": "bytes32"
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
|
-
"id":
|
|
342
|
+
"id": 33945,
|
|
343
343
|
"nodeType": "ArrayTypeName",
|
|
344
344
|
"src": "633:9:63",
|
|
345
345
|
"typeDescriptions": {
|
|
@@ -351,12 +351,12 @@
|
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
"constant": false,
|
|
354
|
-
"id":
|
|
354
|
+
"id": 33948,
|
|
355
355
|
"mutability": "mutable",
|
|
356
356
|
"name": "data",
|
|
357
357
|
"nameLocation": "672:4:63",
|
|
358
358
|
"nodeType": "VariableDeclaration",
|
|
359
|
-
"scope":
|
|
359
|
+
"scope": 33951,
|
|
360
360
|
"src": "657:19:63",
|
|
361
361
|
"stateVariable": false,
|
|
362
362
|
"storageLocation": "calldata",
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
"typeString": "bytes"
|
|
366
366
|
},
|
|
367
367
|
"typeName": {
|
|
368
|
-
"id":
|
|
368
|
+
"id": 33947,
|
|
369
369
|
"name": "bytes",
|
|
370
370
|
"nodeType": "ElementaryTypeName",
|
|
371
371
|
"src": "657:5:63",
|
|
@@ -380,23 +380,23 @@
|
|
|
380
380
|
"src": "599:78:63"
|
|
381
381
|
},
|
|
382
382
|
"returnParameters": {
|
|
383
|
-
"id":
|
|
383
|
+
"id": 33950,
|
|
384
384
|
"nodeType": "ParameterList",
|
|
385
385
|
"parameters": [],
|
|
386
386
|
"src": "686:0:63"
|
|
387
387
|
},
|
|
388
|
-
"scope":
|
|
388
|
+
"scope": 34025,
|
|
389
389
|
"stateMutability": "nonpayable",
|
|
390
390
|
"virtual": false,
|
|
391
391
|
"visibility": "external"
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
|
-
"id":
|
|
394
|
+
"id": 33966,
|
|
395
395
|
"nodeType": "FunctionDefinition",
|
|
396
396
|
"src": "834:148:63",
|
|
397
397
|
"nodes": [],
|
|
398
398
|
"documentation": {
|
|
399
|
-
"id":
|
|
399
|
+
"id": 33952,
|
|
400
400
|
"nodeType": "StructuredDocumentation",
|
|
401
401
|
"src": "691:140:63",
|
|
402
402
|
"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."
|
|
@@ -408,17 +408,17 @@
|
|
|
408
408
|
"name": "setField",
|
|
409
409
|
"nameLocation": "843:8:63",
|
|
410
410
|
"parameters": {
|
|
411
|
-
"id":
|
|
411
|
+
"id": 33964,
|
|
412
412
|
"nodeType": "ParameterList",
|
|
413
413
|
"parameters": [
|
|
414
414
|
{
|
|
415
415
|
"constant": false,
|
|
416
|
-
"id":
|
|
416
|
+
"id": 33954,
|
|
417
417
|
"mutability": "mutable",
|
|
418
418
|
"name": "namespace",
|
|
419
419
|
"nameLocation": "865:9:63",
|
|
420
420
|
"nodeType": "VariableDeclaration",
|
|
421
|
-
"scope":
|
|
421
|
+
"scope": 33966,
|
|
422
422
|
"src": "857:17:63",
|
|
423
423
|
"stateVariable": false,
|
|
424
424
|
"storageLocation": "default",
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
"typeString": "bytes16"
|
|
428
428
|
},
|
|
429
429
|
"typeName": {
|
|
430
|
-
"id":
|
|
430
|
+
"id": 33953,
|
|
431
431
|
"name": "bytes16",
|
|
432
432
|
"nodeType": "ElementaryTypeName",
|
|
433
433
|
"src": "857:7:63",
|
|
@@ -440,12 +440,12 @@
|
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
"constant": false,
|
|
443
|
-
"id":
|
|
443
|
+
"id": 33956,
|
|
444
444
|
"mutability": "mutable",
|
|
445
445
|
"name": "name",
|
|
446
446
|
"nameLocation": "888:4:63",
|
|
447
447
|
"nodeType": "VariableDeclaration",
|
|
448
|
-
"scope":
|
|
448
|
+
"scope": 33966,
|
|
449
449
|
"src": "880:12:63",
|
|
450
450
|
"stateVariable": false,
|
|
451
451
|
"storageLocation": "default",
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
"typeString": "bytes16"
|
|
455
455
|
},
|
|
456
456
|
"typeName": {
|
|
457
|
-
"id":
|
|
457
|
+
"id": 33955,
|
|
458
458
|
"name": "bytes16",
|
|
459
459
|
"nodeType": "ElementaryTypeName",
|
|
460
460
|
"src": "880:7:63",
|
|
@@ -467,12 +467,12 @@
|
|
|
467
467
|
},
|
|
468
468
|
{
|
|
469
469
|
"constant": false,
|
|
470
|
-
"id":
|
|
470
|
+
"id": 33959,
|
|
471
471
|
"mutability": "mutable",
|
|
472
472
|
"name": "key",
|
|
473
473
|
"nameLocation": "917:3:63",
|
|
474
474
|
"nodeType": "VariableDeclaration",
|
|
475
|
-
"scope":
|
|
475
|
+
"scope": 33966,
|
|
476
476
|
"src": "898:22:63",
|
|
477
477
|
"stateVariable": false,
|
|
478
478
|
"storageLocation": "calldata",
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
},
|
|
483
483
|
"typeName": {
|
|
484
484
|
"baseType": {
|
|
485
|
-
"id":
|
|
485
|
+
"id": 33957,
|
|
486
486
|
"name": "bytes32",
|
|
487
487
|
"nodeType": "ElementaryTypeName",
|
|
488
488
|
"src": "898:7:63",
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
"typeString": "bytes32"
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
|
-
"id":
|
|
494
|
+
"id": 33958,
|
|
495
495
|
"nodeType": "ArrayTypeName",
|
|
496
496
|
"src": "898:9:63",
|
|
497
497
|
"typeDescriptions": {
|
|
@@ -503,12 +503,12 @@
|
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
505
|
"constant": false,
|
|
506
|
-
"id":
|
|
506
|
+
"id": 33961,
|
|
507
507
|
"mutability": "mutable",
|
|
508
508
|
"name": "schemaIndex",
|
|
509
509
|
"nameLocation": "932:11:63",
|
|
510
510
|
"nodeType": "VariableDeclaration",
|
|
511
|
-
"scope":
|
|
511
|
+
"scope": 33966,
|
|
512
512
|
"src": "926:17:63",
|
|
513
513
|
"stateVariable": false,
|
|
514
514
|
"storageLocation": "default",
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
"typeString": "uint8"
|
|
518
518
|
},
|
|
519
519
|
"typeName": {
|
|
520
|
-
"id":
|
|
520
|
+
"id": 33960,
|
|
521
521
|
"name": "uint8",
|
|
522
522
|
"nodeType": "ElementaryTypeName",
|
|
523
523
|
"src": "926:5:63",
|
|
@@ -530,12 +530,12 @@
|
|
|
530
530
|
},
|
|
531
531
|
{
|
|
532
532
|
"constant": false,
|
|
533
|
-
"id":
|
|
533
|
+
"id": 33963,
|
|
534
534
|
"mutability": "mutable",
|
|
535
535
|
"name": "data",
|
|
536
536
|
"nameLocation": "964:4:63",
|
|
537
537
|
"nodeType": "VariableDeclaration",
|
|
538
|
-
"scope":
|
|
538
|
+
"scope": 33966,
|
|
539
539
|
"src": "949:19:63",
|
|
540
540
|
"stateVariable": false,
|
|
541
541
|
"storageLocation": "calldata",
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
"typeString": "bytes"
|
|
545
545
|
},
|
|
546
546
|
"typeName": {
|
|
547
|
-
"id":
|
|
547
|
+
"id": 33962,
|
|
548
548
|
"name": "bytes",
|
|
549
549
|
"nodeType": "ElementaryTypeName",
|
|
550
550
|
"src": "949:5:63",
|
|
@@ -559,23 +559,23 @@
|
|
|
559
559
|
"src": "851:121:63"
|
|
560
560
|
},
|
|
561
561
|
"returnParameters": {
|
|
562
|
-
"id":
|
|
562
|
+
"id": 33965,
|
|
563
563
|
"nodeType": "ParameterList",
|
|
564
564
|
"parameters": [],
|
|
565
565
|
"src": "981:0:63"
|
|
566
566
|
},
|
|
567
|
-
"scope":
|
|
567
|
+
"scope": 34025,
|
|
568
568
|
"stateMutability": "nonpayable",
|
|
569
569
|
"virtual": false,
|
|
570
570
|
"visibility": "external"
|
|
571
571
|
},
|
|
572
572
|
{
|
|
573
|
-
"id":
|
|
573
|
+
"id": 33981,
|
|
574
574
|
"nodeType": "FunctionDefinition",
|
|
575
575
|
"src": "1147:157:63",
|
|
576
576
|
"nodes": [],
|
|
577
577
|
"documentation": {
|
|
578
|
-
"id":
|
|
578
|
+
"id": 33967,
|
|
579
579
|
"nodeType": "StructuredDocumentation",
|
|
580
580
|
"src": "986:158:63",
|
|
581
581
|
"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."
|
|
@@ -587,17 +587,17 @@
|
|
|
587
587
|
"name": "pushToField",
|
|
588
588
|
"nameLocation": "1156:11:63",
|
|
589
589
|
"parameters": {
|
|
590
|
-
"id":
|
|
590
|
+
"id": 33979,
|
|
591
591
|
"nodeType": "ParameterList",
|
|
592
592
|
"parameters": [
|
|
593
593
|
{
|
|
594
594
|
"constant": false,
|
|
595
|
-
"id":
|
|
595
|
+
"id": 33969,
|
|
596
596
|
"mutability": "mutable",
|
|
597
597
|
"name": "namespace",
|
|
598
598
|
"nameLocation": "1181:9:63",
|
|
599
599
|
"nodeType": "VariableDeclaration",
|
|
600
|
-
"scope":
|
|
600
|
+
"scope": 33981,
|
|
601
601
|
"src": "1173:17:63",
|
|
602
602
|
"stateVariable": false,
|
|
603
603
|
"storageLocation": "default",
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"typeString": "bytes16"
|
|
607
607
|
},
|
|
608
608
|
"typeName": {
|
|
609
|
-
"id":
|
|
609
|
+
"id": 33968,
|
|
610
610
|
"name": "bytes16",
|
|
611
611
|
"nodeType": "ElementaryTypeName",
|
|
612
612
|
"src": "1173:7:63",
|
|
@@ -619,12 +619,12 @@
|
|
|
619
619
|
},
|
|
620
620
|
{
|
|
621
621
|
"constant": false,
|
|
622
|
-
"id":
|
|
622
|
+
"id": 33971,
|
|
623
623
|
"mutability": "mutable",
|
|
624
624
|
"name": "name",
|
|
625
625
|
"nameLocation": "1204:4:63",
|
|
626
626
|
"nodeType": "VariableDeclaration",
|
|
627
|
-
"scope":
|
|
627
|
+
"scope": 33981,
|
|
628
628
|
"src": "1196:12:63",
|
|
629
629
|
"stateVariable": false,
|
|
630
630
|
"storageLocation": "default",
|
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
"typeString": "bytes16"
|
|
634
634
|
},
|
|
635
635
|
"typeName": {
|
|
636
|
-
"id":
|
|
636
|
+
"id": 33970,
|
|
637
637
|
"name": "bytes16",
|
|
638
638
|
"nodeType": "ElementaryTypeName",
|
|
639
639
|
"src": "1196:7:63",
|
|
@@ -646,12 +646,12 @@
|
|
|
646
646
|
},
|
|
647
647
|
{
|
|
648
648
|
"constant": false,
|
|
649
|
-
"id":
|
|
649
|
+
"id": 33974,
|
|
650
650
|
"mutability": "mutable",
|
|
651
651
|
"name": "key",
|
|
652
652
|
"nameLocation": "1233:3:63",
|
|
653
653
|
"nodeType": "VariableDeclaration",
|
|
654
|
-
"scope":
|
|
654
|
+
"scope": 33981,
|
|
655
655
|
"src": "1214:22:63",
|
|
656
656
|
"stateVariable": false,
|
|
657
657
|
"storageLocation": "calldata",
|
|
@@ -661,7 +661,7 @@
|
|
|
661
661
|
},
|
|
662
662
|
"typeName": {
|
|
663
663
|
"baseType": {
|
|
664
|
-
"id":
|
|
664
|
+
"id": 33972,
|
|
665
665
|
"name": "bytes32",
|
|
666
666
|
"nodeType": "ElementaryTypeName",
|
|
667
667
|
"src": "1214:7:63",
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
"typeString": "bytes32"
|
|
671
671
|
}
|
|
672
672
|
},
|
|
673
|
-
"id":
|
|
673
|
+
"id": 33973,
|
|
674
674
|
"nodeType": "ArrayTypeName",
|
|
675
675
|
"src": "1214:9:63",
|
|
676
676
|
"typeDescriptions": {
|
|
@@ -682,12 +682,12 @@
|
|
|
682
682
|
},
|
|
683
683
|
{
|
|
684
684
|
"constant": false,
|
|
685
|
-
"id":
|
|
685
|
+
"id": 33976,
|
|
686
686
|
"mutability": "mutable",
|
|
687
687
|
"name": "schemaIndex",
|
|
688
688
|
"nameLocation": "1248:11:63",
|
|
689
689
|
"nodeType": "VariableDeclaration",
|
|
690
|
-
"scope":
|
|
690
|
+
"scope": 33981,
|
|
691
691
|
"src": "1242:17:63",
|
|
692
692
|
"stateVariable": false,
|
|
693
693
|
"storageLocation": "default",
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
"typeString": "uint8"
|
|
697
697
|
},
|
|
698
698
|
"typeName": {
|
|
699
|
-
"id":
|
|
699
|
+
"id": 33975,
|
|
700
700
|
"name": "uint8",
|
|
701
701
|
"nodeType": "ElementaryTypeName",
|
|
702
702
|
"src": "1242:5:63",
|
|
@@ -709,12 +709,12 @@
|
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
711
|
"constant": false,
|
|
712
|
-
"id":
|
|
712
|
+
"id": 33978,
|
|
713
713
|
"mutability": "mutable",
|
|
714
714
|
"name": "dataToPush",
|
|
715
715
|
"nameLocation": "1280:10:63",
|
|
716
716
|
"nodeType": "VariableDeclaration",
|
|
717
|
-
"scope":
|
|
717
|
+
"scope": 33981,
|
|
718
718
|
"src": "1265:25:63",
|
|
719
719
|
"stateVariable": false,
|
|
720
720
|
"storageLocation": "calldata",
|
|
@@ -723,7 +723,7 @@
|
|
|
723
723
|
"typeString": "bytes"
|
|
724
724
|
},
|
|
725
725
|
"typeName": {
|
|
726
|
-
"id":
|
|
726
|
+
"id": 33977,
|
|
727
727
|
"name": "bytes",
|
|
728
728
|
"nodeType": "ElementaryTypeName",
|
|
729
729
|
"src": "1265:5:63",
|
|
@@ -738,25 +738,204 @@
|
|
|
738
738
|
"src": "1167:127:63"
|
|
739
739
|
},
|
|
740
740
|
"returnParameters": {
|
|
741
|
-
"id":
|
|
741
|
+
"id": 33980,
|
|
742
742
|
"nodeType": "ParameterList",
|
|
743
743
|
"parameters": [],
|
|
744
744
|
"src": "1303:0:63"
|
|
745
745
|
},
|
|
746
|
-
"scope":
|
|
746
|
+
"scope": 34025,
|
|
747
747
|
"stateMutability": "nonpayable",
|
|
748
748
|
"virtual": false,
|
|
749
749
|
"visibility": "external"
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
|
-
"id":
|
|
752
|
+
"id": 33996,
|
|
753
753
|
"nodeType": "FunctionDefinition",
|
|
754
|
-
"src": "
|
|
754
|
+
"src": "1470:156:63",
|
|
755
755
|
"nodes": [],
|
|
756
756
|
"documentation": {
|
|
757
|
-
"id":
|
|
757
|
+
"id": 33982,
|
|
758
758
|
"nodeType": "StructuredDocumentation",
|
|
759
|
-
"src": "1308:
|
|
759
|
+
"src": "1308:159:63",
|
|
760
|
+
"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."
|
|
761
|
+
},
|
|
762
|
+
"functionSelector": "77841557",
|
|
763
|
+
"implemented": false,
|
|
764
|
+
"kind": "function",
|
|
765
|
+
"modifiers": [],
|
|
766
|
+
"name": "popFromField",
|
|
767
|
+
"nameLocation": "1479:12:63",
|
|
768
|
+
"parameters": {
|
|
769
|
+
"id": 33994,
|
|
770
|
+
"nodeType": "ParameterList",
|
|
771
|
+
"parameters": [
|
|
772
|
+
{
|
|
773
|
+
"constant": false,
|
|
774
|
+
"id": 33984,
|
|
775
|
+
"mutability": "mutable",
|
|
776
|
+
"name": "namespace",
|
|
777
|
+
"nameLocation": "1505:9:63",
|
|
778
|
+
"nodeType": "VariableDeclaration",
|
|
779
|
+
"scope": 33996,
|
|
780
|
+
"src": "1497:17:63",
|
|
781
|
+
"stateVariable": false,
|
|
782
|
+
"storageLocation": "default",
|
|
783
|
+
"typeDescriptions": {
|
|
784
|
+
"typeIdentifier": "t_bytes16",
|
|
785
|
+
"typeString": "bytes16"
|
|
786
|
+
},
|
|
787
|
+
"typeName": {
|
|
788
|
+
"id": 33983,
|
|
789
|
+
"name": "bytes16",
|
|
790
|
+
"nodeType": "ElementaryTypeName",
|
|
791
|
+
"src": "1497:7:63",
|
|
792
|
+
"typeDescriptions": {
|
|
793
|
+
"typeIdentifier": "t_bytes16",
|
|
794
|
+
"typeString": "bytes16"
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
"visibility": "internal"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"constant": false,
|
|
801
|
+
"id": 33986,
|
|
802
|
+
"mutability": "mutable",
|
|
803
|
+
"name": "name",
|
|
804
|
+
"nameLocation": "1528:4:63",
|
|
805
|
+
"nodeType": "VariableDeclaration",
|
|
806
|
+
"scope": 33996,
|
|
807
|
+
"src": "1520:12:63",
|
|
808
|
+
"stateVariable": false,
|
|
809
|
+
"storageLocation": "default",
|
|
810
|
+
"typeDescriptions": {
|
|
811
|
+
"typeIdentifier": "t_bytes16",
|
|
812
|
+
"typeString": "bytes16"
|
|
813
|
+
},
|
|
814
|
+
"typeName": {
|
|
815
|
+
"id": 33985,
|
|
816
|
+
"name": "bytes16",
|
|
817
|
+
"nodeType": "ElementaryTypeName",
|
|
818
|
+
"src": "1520:7:63",
|
|
819
|
+
"typeDescriptions": {
|
|
820
|
+
"typeIdentifier": "t_bytes16",
|
|
821
|
+
"typeString": "bytes16"
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
"visibility": "internal"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"constant": false,
|
|
828
|
+
"id": 33989,
|
|
829
|
+
"mutability": "mutable",
|
|
830
|
+
"name": "key",
|
|
831
|
+
"nameLocation": "1557:3:63",
|
|
832
|
+
"nodeType": "VariableDeclaration",
|
|
833
|
+
"scope": 33996,
|
|
834
|
+
"src": "1538:22:63",
|
|
835
|
+
"stateVariable": false,
|
|
836
|
+
"storageLocation": "calldata",
|
|
837
|
+
"typeDescriptions": {
|
|
838
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_calldata_ptr",
|
|
839
|
+
"typeString": "bytes32[]"
|
|
840
|
+
},
|
|
841
|
+
"typeName": {
|
|
842
|
+
"baseType": {
|
|
843
|
+
"id": 33987,
|
|
844
|
+
"name": "bytes32",
|
|
845
|
+
"nodeType": "ElementaryTypeName",
|
|
846
|
+
"src": "1538:7:63",
|
|
847
|
+
"typeDescriptions": {
|
|
848
|
+
"typeIdentifier": "t_bytes32",
|
|
849
|
+
"typeString": "bytes32"
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"id": 33988,
|
|
853
|
+
"nodeType": "ArrayTypeName",
|
|
854
|
+
"src": "1538:9:63",
|
|
855
|
+
"typeDescriptions": {
|
|
856
|
+
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
857
|
+
"typeString": "bytes32[]"
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
"visibility": "internal"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"constant": false,
|
|
864
|
+
"id": 33991,
|
|
865
|
+
"mutability": "mutable",
|
|
866
|
+
"name": "schemaIndex",
|
|
867
|
+
"nameLocation": "1572:11:63",
|
|
868
|
+
"nodeType": "VariableDeclaration",
|
|
869
|
+
"scope": 33996,
|
|
870
|
+
"src": "1566:17:63",
|
|
871
|
+
"stateVariable": false,
|
|
872
|
+
"storageLocation": "default",
|
|
873
|
+
"typeDescriptions": {
|
|
874
|
+
"typeIdentifier": "t_uint8",
|
|
875
|
+
"typeString": "uint8"
|
|
876
|
+
},
|
|
877
|
+
"typeName": {
|
|
878
|
+
"id": 33990,
|
|
879
|
+
"name": "uint8",
|
|
880
|
+
"nodeType": "ElementaryTypeName",
|
|
881
|
+
"src": "1566:5:63",
|
|
882
|
+
"typeDescriptions": {
|
|
883
|
+
"typeIdentifier": "t_uint8",
|
|
884
|
+
"typeString": "uint8"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"visibility": "internal"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"constant": false,
|
|
891
|
+
"id": 33993,
|
|
892
|
+
"mutability": "mutable",
|
|
893
|
+
"name": "byteLengthToPop",
|
|
894
|
+
"nameLocation": "1597:15:63",
|
|
895
|
+
"nodeType": "VariableDeclaration",
|
|
896
|
+
"scope": 33996,
|
|
897
|
+
"src": "1589:23:63",
|
|
898
|
+
"stateVariable": false,
|
|
899
|
+
"storageLocation": "default",
|
|
900
|
+
"typeDescriptions": {
|
|
901
|
+
"typeIdentifier": "t_uint256",
|
|
902
|
+
"typeString": "uint256"
|
|
903
|
+
},
|
|
904
|
+
"typeName": {
|
|
905
|
+
"id": 33992,
|
|
906
|
+
"name": "uint256",
|
|
907
|
+
"nodeType": "ElementaryTypeName",
|
|
908
|
+
"src": "1589:7:63",
|
|
909
|
+
"typeDescriptions": {
|
|
910
|
+
"typeIdentifier": "t_uint256",
|
|
911
|
+
"typeString": "uint256"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"visibility": "internal"
|
|
915
|
+
}
|
|
916
|
+
],
|
|
917
|
+
"src": "1491:125:63"
|
|
918
|
+
},
|
|
919
|
+
"returnParameters": {
|
|
920
|
+
"id": 33995,
|
|
921
|
+
"nodeType": "ParameterList",
|
|
922
|
+
"parameters": [],
|
|
923
|
+
"src": "1625:0:63"
|
|
924
|
+
},
|
|
925
|
+
"scope": 34025,
|
|
926
|
+
"stateMutability": "nonpayable",
|
|
927
|
+
"virtual": false,
|
|
928
|
+
"visibility": "external"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"id": 34013,
|
|
932
|
+
"nodeType": "FunctionDefinition",
|
|
933
|
+
"src": "1802:186:63",
|
|
934
|
+
"nodes": [],
|
|
935
|
+
"documentation": {
|
|
936
|
+
"id": 33997,
|
|
937
|
+
"nodeType": "StructuredDocumentation",
|
|
938
|
+
"src": "1630:169:63",
|
|
760
939
|
"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."
|
|
761
940
|
},
|
|
762
941
|
"functionSelector": "d491953a",
|
|
@@ -764,20 +943,20 @@
|
|
|
764
943
|
"kind": "function",
|
|
765
944
|
"modifiers": [],
|
|
766
945
|
"name": "updateInField",
|
|
767
|
-
"nameLocation": "
|
|
946
|
+
"nameLocation": "1811:13:63",
|
|
768
947
|
"parameters": {
|
|
769
|
-
"id":
|
|
948
|
+
"id": 34011,
|
|
770
949
|
"nodeType": "ParameterList",
|
|
771
950
|
"parameters": [
|
|
772
951
|
{
|
|
773
952
|
"constant": false,
|
|
774
|
-
"id":
|
|
953
|
+
"id": 33999,
|
|
775
954
|
"mutability": "mutable",
|
|
776
955
|
"name": "namespace",
|
|
777
|
-
"nameLocation": "
|
|
956
|
+
"nameLocation": "1838:9:63",
|
|
778
957
|
"nodeType": "VariableDeclaration",
|
|
779
|
-
"scope":
|
|
780
|
-
"src": "
|
|
958
|
+
"scope": 34013,
|
|
959
|
+
"src": "1830:17:63",
|
|
781
960
|
"stateVariable": false,
|
|
782
961
|
"storageLocation": "default",
|
|
783
962
|
"typeDescriptions": {
|
|
@@ -785,10 +964,10 @@
|
|
|
785
964
|
"typeString": "bytes16"
|
|
786
965
|
},
|
|
787
966
|
"typeName": {
|
|
788
|
-
"id":
|
|
967
|
+
"id": 33998,
|
|
789
968
|
"name": "bytes16",
|
|
790
969
|
"nodeType": "ElementaryTypeName",
|
|
791
|
-
"src": "
|
|
970
|
+
"src": "1830:7:63",
|
|
792
971
|
"typeDescriptions": {
|
|
793
972
|
"typeIdentifier": "t_bytes16",
|
|
794
973
|
"typeString": "bytes16"
|
|
@@ -798,13 +977,13 @@
|
|
|
798
977
|
},
|
|
799
978
|
{
|
|
800
979
|
"constant": false,
|
|
801
|
-
"id":
|
|
980
|
+
"id": 34001,
|
|
802
981
|
"mutability": "mutable",
|
|
803
982
|
"name": "name",
|
|
804
|
-
"nameLocation": "
|
|
983
|
+
"nameLocation": "1861:4:63",
|
|
805
984
|
"nodeType": "VariableDeclaration",
|
|
806
|
-
"scope":
|
|
807
|
-
"src": "
|
|
985
|
+
"scope": 34013,
|
|
986
|
+
"src": "1853:12:63",
|
|
808
987
|
"stateVariable": false,
|
|
809
988
|
"storageLocation": "default",
|
|
810
989
|
"typeDescriptions": {
|
|
@@ -812,10 +991,10 @@
|
|
|
812
991
|
"typeString": "bytes16"
|
|
813
992
|
},
|
|
814
993
|
"typeName": {
|
|
815
|
-
"id":
|
|
994
|
+
"id": 34000,
|
|
816
995
|
"name": "bytes16",
|
|
817
996
|
"nodeType": "ElementaryTypeName",
|
|
818
|
-
"src": "
|
|
997
|
+
"src": "1853:7:63",
|
|
819
998
|
"typeDescriptions": {
|
|
820
999
|
"typeIdentifier": "t_bytes16",
|
|
821
1000
|
"typeString": "bytes16"
|
|
@@ -825,13 +1004,13 @@
|
|
|
825
1004
|
},
|
|
826
1005
|
{
|
|
827
1006
|
"constant": false,
|
|
828
|
-
"id":
|
|
1007
|
+
"id": 34004,
|
|
829
1008
|
"mutability": "mutable",
|
|
830
1009
|
"name": "key",
|
|
831
|
-
"nameLocation": "
|
|
1010
|
+
"nameLocation": "1890:3:63",
|
|
832
1011
|
"nodeType": "VariableDeclaration",
|
|
833
|
-
"scope":
|
|
834
|
-
"src": "
|
|
1012
|
+
"scope": 34013,
|
|
1013
|
+
"src": "1871:22:63",
|
|
835
1014
|
"stateVariable": false,
|
|
836
1015
|
"storageLocation": "calldata",
|
|
837
1016
|
"typeDescriptions": {
|
|
@@ -840,18 +1019,18 @@
|
|
|
840
1019
|
},
|
|
841
1020
|
"typeName": {
|
|
842
1021
|
"baseType": {
|
|
843
|
-
"id":
|
|
1022
|
+
"id": 34002,
|
|
844
1023
|
"name": "bytes32",
|
|
845
1024
|
"nodeType": "ElementaryTypeName",
|
|
846
|
-
"src": "
|
|
1025
|
+
"src": "1871:7:63",
|
|
847
1026
|
"typeDescriptions": {
|
|
848
1027
|
"typeIdentifier": "t_bytes32",
|
|
849
1028
|
"typeString": "bytes32"
|
|
850
1029
|
}
|
|
851
1030
|
},
|
|
852
|
-
"id":
|
|
1031
|
+
"id": 34003,
|
|
853
1032
|
"nodeType": "ArrayTypeName",
|
|
854
|
-
"src": "
|
|
1033
|
+
"src": "1871:9:63",
|
|
855
1034
|
"typeDescriptions": {
|
|
856
1035
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
857
1036
|
"typeString": "bytes32[]"
|
|
@@ -861,13 +1040,13 @@
|
|
|
861
1040
|
},
|
|
862
1041
|
{
|
|
863
1042
|
"constant": false,
|
|
864
|
-
"id":
|
|
1043
|
+
"id": 34006,
|
|
865
1044
|
"mutability": "mutable",
|
|
866
1045
|
"name": "schemaIndex",
|
|
867
|
-
"nameLocation": "
|
|
1046
|
+
"nameLocation": "1905:11:63",
|
|
868
1047
|
"nodeType": "VariableDeclaration",
|
|
869
|
-
"scope":
|
|
870
|
-
"src": "
|
|
1048
|
+
"scope": 34013,
|
|
1049
|
+
"src": "1899:17:63",
|
|
871
1050
|
"stateVariable": false,
|
|
872
1051
|
"storageLocation": "default",
|
|
873
1052
|
"typeDescriptions": {
|
|
@@ -875,10 +1054,10 @@
|
|
|
875
1054
|
"typeString": "uint8"
|
|
876
1055
|
},
|
|
877
1056
|
"typeName": {
|
|
878
|
-
"id":
|
|
1057
|
+
"id": 34005,
|
|
879
1058
|
"name": "uint8",
|
|
880
1059
|
"nodeType": "ElementaryTypeName",
|
|
881
|
-
"src": "
|
|
1060
|
+
"src": "1899:5:63",
|
|
882
1061
|
"typeDescriptions": {
|
|
883
1062
|
"typeIdentifier": "t_uint8",
|
|
884
1063
|
"typeString": "uint8"
|
|
@@ -888,13 +1067,13 @@
|
|
|
888
1067
|
},
|
|
889
1068
|
{
|
|
890
1069
|
"constant": false,
|
|
891
|
-
"id":
|
|
1070
|
+
"id": 34008,
|
|
892
1071
|
"mutability": "mutable",
|
|
893
1072
|
"name": "startByteIndex",
|
|
894
|
-
"nameLocation": "
|
|
1073
|
+
"nameLocation": "1930:14:63",
|
|
895
1074
|
"nodeType": "VariableDeclaration",
|
|
896
|
-
"scope":
|
|
897
|
-
"src": "
|
|
1075
|
+
"scope": 34013,
|
|
1076
|
+
"src": "1922:22:63",
|
|
898
1077
|
"stateVariable": false,
|
|
899
1078
|
"storageLocation": "default",
|
|
900
1079
|
"typeDescriptions": {
|
|
@@ -902,10 +1081,10 @@
|
|
|
902
1081
|
"typeString": "uint256"
|
|
903
1082
|
},
|
|
904
1083
|
"typeName": {
|
|
905
|
-
"id":
|
|
1084
|
+
"id": 34007,
|
|
906
1085
|
"name": "uint256",
|
|
907
1086
|
"nodeType": "ElementaryTypeName",
|
|
908
|
-
"src": "
|
|
1087
|
+
"src": "1922:7:63",
|
|
909
1088
|
"typeDescriptions": {
|
|
910
1089
|
"typeIdentifier": "t_uint256",
|
|
911
1090
|
"typeString": "uint256"
|
|
@@ -915,13 +1094,13 @@
|
|
|
915
1094
|
},
|
|
916
1095
|
{
|
|
917
1096
|
"constant": false,
|
|
918
|
-
"id":
|
|
1097
|
+
"id": 34010,
|
|
919
1098
|
"mutability": "mutable",
|
|
920
1099
|
"name": "dataToSet",
|
|
921
|
-
"nameLocation": "
|
|
1100
|
+
"nameLocation": "1965:9:63",
|
|
922
1101
|
"nodeType": "VariableDeclaration",
|
|
923
|
-
"scope":
|
|
924
|
-
"src": "
|
|
1102
|
+
"scope": 34013,
|
|
1103
|
+
"src": "1950:24:63",
|
|
925
1104
|
"stateVariable": false,
|
|
926
1105
|
"storageLocation": "calldata",
|
|
927
1106
|
"typeDescriptions": {
|
|
@@ -929,10 +1108,10 @@
|
|
|
929
1108
|
"typeString": "bytes"
|
|
930
1109
|
},
|
|
931
1110
|
"typeName": {
|
|
932
|
-
"id":
|
|
1111
|
+
"id": 34009,
|
|
933
1112
|
"name": "bytes",
|
|
934
1113
|
"nodeType": "ElementaryTypeName",
|
|
935
|
-
"src": "
|
|
1114
|
+
"src": "1950:5:63",
|
|
936
1115
|
"typeDescriptions": {
|
|
937
1116
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
938
1117
|
"typeString": "bytes"
|
|
@@ -941,28 +1120,28 @@
|
|
|
941
1120
|
"visibility": "internal"
|
|
942
1121
|
}
|
|
943
1122
|
],
|
|
944
|
-
"src": "
|
|
1123
|
+
"src": "1824:154:63"
|
|
945
1124
|
},
|
|
946
1125
|
"returnParameters": {
|
|
947
|
-
"id":
|
|
1126
|
+
"id": 34012,
|
|
948
1127
|
"nodeType": "ParameterList",
|
|
949
1128
|
"parameters": [],
|
|
950
|
-
"src": "
|
|
1129
|
+
"src": "1987:0:63"
|
|
951
1130
|
},
|
|
952
|
-
"scope":
|
|
1131
|
+
"scope": 34025,
|
|
953
1132
|
"stateMutability": "nonpayable",
|
|
954
1133
|
"virtual": false,
|
|
955
1134
|
"visibility": "external"
|
|
956
1135
|
},
|
|
957
1136
|
{
|
|
958
|
-
"id":
|
|
1137
|
+
"id": 34024,
|
|
959
1138
|
"nodeType": "FunctionDefinition",
|
|
960
|
-
"src": "
|
|
1139
|
+
"src": "2137:88:63",
|
|
961
1140
|
"nodes": [],
|
|
962
1141
|
"documentation": {
|
|
963
|
-
"id":
|
|
1142
|
+
"id": 34014,
|
|
964
1143
|
"nodeType": "StructuredDocumentation",
|
|
965
|
-
"src": "
|
|
1144
|
+
"src": "1992:142:63",
|
|
966
1145
|
"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."
|
|
967
1146
|
},
|
|
968
1147
|
"functionSelector": "e3f8cc6b",
|
|
@@ -970,20 +1149,20 @@
|
|
|
970
1149
|
"kind": "function",
|
|
971
1150
|
"modifiers": [],
|
|
972
1151
|
"name": "deleteRecord",
|
|
973
|
-
"nameLocation": "
|
|
1152
|
+
"nameLocation": "2146:12:63",
|
|
974
1153
|
"parameters": {
|
|
975
|
-
"id":
|
|
1154
|
+
"id": 34022,
|
|
976
1155
|
"nodeType": "ParameterList",
|
|
977
1156
|
"parameters": [
|
|
978
1157
|
{
|
|
979
1158
|
"constant": false,
|
|
980
|
-
"id":
|
|
1159
|
+
"id": 34016,
|
|
981
1160
|
"mutability": "mutable",
|
|
982
1161
|
"name": "namespace",
|
|
983
|
-
"nameLocation": "
|
|
1162
|
+
"nameLocation": "2167:9:63",
|
|
984
1163
|
"nodeType": "VariableDeclaration",
|
|
985
|
-
"scope":
|
|
986
|
-
"src": "
|
|
1164
|
+
"scope": 34024,
|
|
1165
|
+
"src": "2159:17:63",
|
|
987
1166
|
"stateVariable": false,
|
|
988
1167
|
"storageLocation": "default",
|
|
989
1168
|
"typeDescriptions": {
|
|
@@ -991,10 +1170,10 @@
|
|
|
991
1170
|
"typeString": "bytes16"
|
|
992
1171
|
},
|
|
993
1172
|
"typeName": {
|
|
994
|
-
"id":
|
|
1173
|
+
"id": 34015,
|
|
995
1174
|
"name": "bytes16",
|
|
996
1175
|
"nodeType": "ElementaryTypeName",
|
|
997
|
-
"src": "
|
|
1176
|
+
"src": "2159:7:63",
|
|
998
1177
|
"typeDescriptions": {
|
|
999
1178
|
"typeIdentifier": "t_bytes16",
|
|
1000
1179
|
"typeString": "bytes16"
|
|
@@ -1004,13 +1183,13 @@
|
|
|
1004
1183
|
},
|
|
1005
1184
|
{
|
|
1006
1185
|
"constant": false,
|
|
1007
|
-
"id":
|
|
1186
|
+
"id": 34018,
|
|
1008
1187
|
"mutability": "mutable",
|
|
1009
1188
|
"name": "name",
|
|
1010
|
-
"nameLocation": "
|
|
1189
|
+
"nameLocation": "2186:4:63",
|
|
1011
1190
|
"nodeType": "VariableDeclaration",
|
|
1012
|
-
"scope":
|
|
1013
|
-
"src": "
|
|
1191
|
+
"scope": 34024,
|
|
1192
|
+
"src": "2178:12:63",
|
|
1014
1193
|
"stateVariable": false,
|
|
1015
1194
|
"storageLocation": "default",
|
|
1016
1195
|
"typeDescriptions": {
|
|
@@ -1018,10 +1197,10 @@
|
|
|
1018
1197
|
"typeString": "bytes16"
|
|
1019
1198
|
},
|
|
1020
1199
|
"typeName": {
|
|
1021
|
-
"id":
|
|
1200
|
+
"id": 34017,
|
|
1022
1201
|
"name": "bytes16",
|
|
1023
1202
|
"nodeType": "ElementaryTypeName",
|
|
1024
|
-
"src": "
|
|
1203
|
+
"src": "2178:7:63",
|
|
1025
1204
|
"typeDescriptions": {
|
|
1026
1205
|
"typeIdentifier": "t_bytes16",
|
|
1027
1206
|
"typeString": "bytes16"
|
|
@@ -1031,13 +1210,13 @@
|
|
|
1031
1210
|
},
|
|
1032
1211
|
{
|
|
1033
1212
|
"constant": false,
|
|
1034
|
-
"id":
|
|
1213
|
+
"id": 34021,
|
|
1035
1214
|
"mutability": "mutable",
|
|
1036
1215
|
"name": "key",
|
|
1037
|
-
"nameLocation": "
|
|
1216
|
+
"nameLocation": "2211:3:63",
|
|
1038
1217
|
"nodeType": "VariableDeclaration",
|
|
1039
|
-
"scope":
|
|
1040
|
-
"src": "
|
|
1218
|
+
"scope": 34024,
|
|
1219
|
+
"src": "2192:22:63",
|
|
1041
1220
|
"stateVariable": false,
|
|
1042
1221
|
"storageLocation": "calldata",
|
|
1043
1222
|
"typeDescriptions": {
|
|
@@ -1046,18 +1225,18 @@
|
|
|
1046
1225
|
},
|
|
1047
1226
|
"typeName": {
|
|
1048
1227
|
"baseType": {
|
|
1049
|
-
"id":
|
|
1228
|
+
"id": 34019,
|
|
1050
1229
|
"name": "bytes32",
|
|
1051
1230
|
"nodeType": "ElementaryTypeName",
|
|
1052
|
-
"src": "
|
|
1231
|
+
"src": "2192:7:63",
|
|
1053
1232
|
"typeDescriptions": {
|
|
1054
1233
|
"typeIdentifier": "t_bytes32",
|
|
1055
1234
|
"typeString": "bytes32"
|
|
1056
1235
|
}
|
|
1057
1236
|
},
|
|
1058
|
-
"id":
|
|
1237
|
+
"id": 34020,
|
|
1059
1238
|
"nodeType": "ArrayTypeName",
|
|
1060
|
-
"src": "
|
|
1239
|
+
"src": "2192:9:63",
|
|
1061
1240
|
"typeDescriptions": {
|
|
1062
1241
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
1063
1242
|
"typeString": "bytes32[]"
|
|
@@ -1066,15 +1245,15 @@
|
|
|
1066
1245
|
"visibility": "internal"
|
|
1067
1246
|
}
|
|
1068
1247
|
],
|
|
1069
|
-
"src": "
|
|
1248
|
+
"src": "2158:57:63"
|
|
1070
1249
|
},
|
|
1071
1250
|
"returnParameters": {
|
|
1072
|
-
"id":
|
|
1251
|
+
"id": 34023,
|
|
1073
1252
|
"nodeType": "ParameterList",
|
|
1074
1253
|
"parameters": [],
|
|
1075
|
-
"src": "
|
|
1254
|
+
"src": "2224:0:63"
|
|
1076
1255
|
},
|
|
1077
|
-
"scope":
|
|
1256
|
+
"scope": 34025,
|
|
1078
1257
|
"stateMutability": "nonpayable",
|
|
1079
1258
|
"virtual": false,
|
|
1080
1259
|
"visibility": "external"
|
|
@@ -1086,34 +1265,34 @@
|
|
|
1086
1265
|
"contractDependencies": [],
|
|
1087
1266
|
"contractKind": "interface",
|
|
1088
1267
|
"documentation": {
|
|
1089
|
-
"id":
|
|
1268
|
+
"id": 33938,
|
|
1090
1269
|
"nodeType": "StructuredDocumentation",
|
|
1091
1270
|
"src": "141:270:63",
|
|
1092
1271
|
"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."
|
|
1093
1272
|
},
|
|
1094
1273
|
"fullyImplemented": false,
|
|
1095
1274
|
"linearizedBaseContracts": [
|
|
1096
|
-
|
|
1275
|
+
34025
|
|
1097
1276
|
],
|
|
1098
1277
|
"name": "IWorldData",
|
|
1099
1278
|
"nameLocation": "422:10:63",
|
|
1100
|
-
"scope":
|
|
1279
|
+
"scope": 34059,
|
|
1101
1280
|
"usedErrors": []
|
|
1102
1281
|
},
|
|
1103
1282
|
{
|
|
1104
|
-
"id":
|
|
1283
|
+
"id": 34035,
|
|
1105
1284
|
"nodeType": "ContractDefinition",
|
|
1106
|
-
"src": "
|
|
1285
|
+
"src": "2229:296:63",
|
|
1107
1286
|
"nodes": [
|
|
1108
1287
|
{
|
|
1109
|
-
"id":
|
|
1288
|
+
"id": 34034,
|
|
1110
1289
|
"nodeType": "FunctionDefinition",
|
|
1111
|
-
"src": "
|
|
1290
|
+
"src": "2452:71:63",
|
|
1112
1291
|
"nodes": [],
|
|
1113
1292
|
"documentation": {
|
|
1114
|
-
"id":
|
|
1293
|
+
"id": 34026,
|
|
1115
1294
|
"nodeType": "StructuredDocumentation",
|
|
1116
|
-
"src": "
|
|
1295
|
+
"src": "2268:181:63",
|
|
1117
1296
|
"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."
|
|
1118
1297
|
},
|
|
1119
1298
|
"functionSelector": "af068c9e",
|
|
@@ -1121,40 +1300,40 @@
|
|
|
1121
1300
|
"kind": "function",
|
|
1122
1301
|
"modifiers": [],
|
|
1123
1302
|
"name": "installRootModule",
|
|
1124
|
-
"nameLocation": "
|
|
1303
|
+
"nameLocation": "2461:17:63",
|
|
1125
1304
|
"parameters": {
|
|
1126
|
-
"id":
|
|
1305
|
+
"id": 34032,
|
|
1127
1306
|
"nodeType": "ParameterList",
|
|
1128
1307
|
"parameters": [
|
|
1129
1308
|
{
|
|
1130
1309
|
"constant": false,
|
|
1131
|
-
"id":
|
|
1310
|
+
"id": 34029,
|
|
1132
1311
|
"mutability": "mutable",
|
|
1133
1312
|
"name": "module",
|
|
1134
|
-
"nameLocation": "
|
|
1313
|
+
"nameLocation": "2487:6:63",
|
|
1135
1314
|
"nodeType": "VariableDeclaration",
|
|
1136
|
-
"scope":
|
|
1137
|
-
"src": "
|
|
1315
|
+
"scope": 34034,
|
|
1316
|
+
"src": "2479:14:63",
|
|
1138
1317
|
"stateVariable": false,
|
|
1139
1318
|
"storageLocation": "default",
|
|
1140
1319
|
"typeDescriptions": {
|
|
1141
|
-
"typeIdentifier": "t_contract$_IModule_$
|
|
1320
|
+
"typeIdentifier": "t_contract$_IModule_$33863",
|
|
1142
1321
|
"typeString": "contract IModule"
|
|
1143
1322
|
},
|
|
1144
1323
|
"typeName": {
|
|
1145
|
-
"id":
|
|
1324
|
+
"id": 34028,
|
|
1146
1325
|
"nodeType": "UserDefinedTypeName",
|
|
1147
1326
|
"pathNode": {
|
|
1148
|
-
"id":
|
|
1327
|
+
"id": 34027,
|
|
1149
1328
|
"name": "IModule",
|
|
1150
1329
|
"nodeType": "IdentifierPath",
|
|
1151
|
-
"referencedDeclaration":
|
|
1152
|
-
"src": "
|
|
1330
|
+
"referencedDeclaration": 33863,
|
|
1331
|
+
"src": "2479:7:63"
|
|
1153
1332
|
},
|
|
1154
|
-
"referencedDeclaration":
|
|
1155
|
-
"src": "
|
|
1333
|
+
"referencedDeclaration": 33863,
|
|
1334
|
+
"src": "2479:7:63",
|
|
1156
1335
|
"typeDescriptions": {
|
|
1157
|
-
"typeIdentifier": "t_contract$_IModule_$
|
|
1336
|
+
"typeIdentifier": "t_contract$_IModule_$33863",
|
|
1158
1337
|
"typeString": "contract IModule"
|
|
1159
1338
|
}
|
|
1160
1339
|
},
|
|
@@ -1162,13 +1341,13 @@
|
|
|
1162
1341
|
},
|
|
1163
1342
|
{
|
|
1164
1343
|
"constant": false,
|
|
1165
|
-
"id":
|
|
1344
|
+
"id": 34031,
|
|
1166
1345
|
"mutability": "mutable",
|
|
1167
1346
|
"name": "args",
|
|
1168
|
-
"nameLocation": "
|
|
1347
|
+
"nameLocation": "2508:4:63",
|
|
1169
1348
|
"nodeType": "VariableDeclaration",
|
|
1170
|
-
"scope":
|
|
1171
|
-
"src": "
|
|
1349
|
+
"scope": 34034,
|
|
1350
|
+
"src": "2495:17:63",
|
|
1172
1351
|
"stateVariable": false,
|
|
1173
1352
|
"storageLocation": "memory",
|
|
1174
1353
|
"typeDescriptions": {
|
|
@@ -1176,10 +1355,10 @@
|
|
|
1176
1355
|
"typeString": "bytes"
|
|
1177
1356
|
},
|
|
1178
1357
|
"typeName": {
|
|
1179
|
-
"id":
|
|
1358
|
+
"id": 34030,
|
|
1180
1359
|
"name": "bytes",
|
|
1181
1360
|
"nodeType": "ElementaryTypeName",
|
|
1182
|
-
"src": "
|
|
1361
|
+
"src": "2495:5:63",
|
|
1183
1362
|
"typeDescriptions": {
|
|
1184
1363
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1185
1364
|
"typeString": "bytes"
|
|
@@ -1188,15 +1367,15 @@
|
|
|
1188
1367
|
"visibility": "internal"
|
|
1189
1368
|
}
|
|
1190
1369
|
],
|
|
1191
|
-
"src": "
|
|
1370
|
+
"src": "2478:35:63"
|
|
1192
1371
|
},
|
|
1193
1372
|
"returnParameters": {
|
|
1194
|
-
"id":
|
|
1373
|
+
"id": 34033,
|
|
1195
1374
|
"nodeType": "ParameterList",
|
|
1196
1375
|
"parameters": [],
|
|
1197
|
-
"src": "
|
|
1376
|
+
"src": "2522:0:63"
|
|
1198
1377
|
},
|
|
1199
|
-
"scope":
|
|
1378
|
+
"scope": 34035,
|
|
1200
1379
|
"stateMutability": "nonpayable",
|
|
1201
1380
|
"virtual": false,
|
|
1202
1381
|
"visibility": "external"
|
|
@@ -1209,27 +1388,27 @@
|
|
|
1209
1388
|
"contractKind": "interface",
|
|
1210
1389
|
"fullyImplemented": false,
|
|
1211
1390
|
"linearizedBaseContracts": [
|
|
1212
|
-
|
|
1391
|
+
34035
|
|
1213
1392
|
],
|
|
1214
1393
|
"name": "IWorldModuleInstallation",
|
|
1215
|
-
"nameLocation": "
|
|
1216
|
-
"scope":
|
|
1394
|
+
"nameLocation": "2239:24:63",
|
|
1395
|
+
"scope": 34059,
|
|
1217
1396
|
"usedErrors": []
|
|
1218
1397
|
},
|
|
1219
1398
|
{
|
|
1220
|
-
"id":
|
|
1399
|
+
"id": 34048,
|
|
1221
1400
|
"nodeType": "ContractDefinition",
|
|
1222
|
-
"src": "
|
|
1401
|
+
"src": "2527:318:63",
|
|
1223
1402
|
"nodes": [
|
|
1224
1403
|
{
|
|
1225
|
-
"id":
|
|
1404
|
+
"id": 34047,
|
|
1226
1405
|
"nodeType": "FunctionDefinition",
|
|
1227
|
-
"src": "
|
|
1406
|
+
"src": "2706:137:63",
|
|
1228
1407
|
"nodes": [],
|
|
1229
1408
|
"documentation": {
|
|
1230
|
-
"id":
|
|
1409
|
+
"id": 34036,
|
|
1231
1410
|
"nodeType": "StructuredDocumentation",
|
|
1232
|
-
"src": "
|
|
1411
|
+
"src": "2552:151:63",
|
|
1233
1412
|
"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."
|
|
1234
1413
|
},
|
|
1235
1414
|
"functionSelector": "832f05f4",
|
|
@@ -1237,20 +1416,20 @@
|
|
|
1237
1416
|
"kind": "function",
|
|
1238
1417
|
"modifiers": [],
|
|
1239
1418
|
"name": "call",
|
|
1240
|
-
"nameLocation": "
|
|
1419
|
+
"nameLocation": "2715:4:63",
|
|
1241
1420
|
"parameters": {
|
|
1242
|
-
"id":
|
|
1421
|
+
"id": 34043,
|
|
1243
1422
|
"nodeType": "ParameterList",
|
|
1244
1423
|
"parameters": [
|
|
1245
1424
|
{
|
|
1246
1425
|
"constant": false,
|
|
1247
|
-
"id":
|
|
1426
|
+
"id": 34038,
|
|
1248
1427
|
"mutability": "mutable",
|
|
1249
1428
|
"name": "namespace",
|
|
1250
|
-
"nameLocation": "
|
|
1429
|
+
"nameLocation": "2733:9:63",
|
|
1251
1430
|
"nodeType": "VariableDeclaration",
|
|
1252
|
-
"scope":
|
|
1253
|
-
"src": "
|
|
1431
|
+
"scope": 34047,
|
|
1432
|
+
"src": "2725:17:63",
|
|
1254
1433
|
"stateVariable": false,
|
|
1255
1434
|
"storageLocation": "default",
|
|
1256
1435
|
"typeDescriptions": {
|
|
@@ -1258,10 +1437,10 @@
|
|
|
1258
1437
|
"typeString": "bytes16"
|
|
1259
1438
|
},
|
|
1260
1439
|
"typeName": {
|
|
1261
|
-
"id":
|
|
1440
|
+
"id": 34037,
|
|
1262
1441
|
"name": "bytes16",
|
|
1263
1442
|
"nodeType": "ElementaryTypeName",
|
|
1264
|
-
"src": "
|
|
1443
|
+
"src": "2725:7:63",
|
|
1265
1444
|
"typeDescriptions": {
|
|
1266
1445
|
"typeIdentifier": "t_bytes16",
|
|
1267
1446
|
"typeString": "bytes16"
|
|
@@ -1271,13 +1450,13 @@
|
|
|
1271
1450
|
},
|
|
1272
1451
|
{
|
|
1273
1452
|
"constant": false,
|
|
1274
|
-
"id":
|
|
1453
|
+
"id": 34040,
|
|
1275
1454
|
"mutability": "mutable",
|
|
1276
1455
|
"name": "name",
|
|
1277
|
-
"nameLocation": "
|
|
1456
|
+
"nameLocation": "2756:4:63",
|
|
1278
1457
|
"nodeType": "VariableDeclaration",
|
|
1279
|
-
"scope":
|
|
1280
|
-
"src": "
|
|
1458
|
+
"scope": 34047,
|
|
1459
|
+
"src": "2748:12:63",
|
|
1281
1460
|
"stateVariable": false,
|
|
1282
1461
|
"storageLocation": "default",
|
|
1283
1462
|
"typeDescriptions": {
|
|
@@ -1285,10 +1464,10 @@
|
|
|
1285
1464
|
"typeString": "bytes16"
|
|
1286
1465
|
},
|
|
1287
1466
|
"typeName": {
|
|
1288
|
-
"id":
|
|
1467
|
+
"id": 34039,
|
|
1289
1468
|
"name": "bytes16",
|
|
1290
1469
|
"nodeType": "ElementaryTypeName",
|
|
1291
|
-
"src": "
|
|
1470
|
+
"src": "2748:7:63",
|
|
1292
1471
|
"typeDescriptions": {
|
|
1293
1472
|
"typeIdentifier": "t_bytes16",
|
|
1294
1473
|
"typeString": "bytes16"
|
|
@@ -1298,13 +1477,13 @@
|
|
|
1298
1477
|
},
|
|
1299
1478
|
{
|
|
1300
1479
|
"constant": false,
|
|
1301
|
-
"id":
|
|
1480
|
+
"id": 34042,
|
|
1302
1481
|
"mutability": "mutable",
|
|
1303
1482
|
"name": "funcSelectorAndArgs",
|
|
1304
|
-
"nameLocation": "
|
|
1483
|
+
"nameLocation": "2779:19:63",
|
|
1305
1484
|
"nodeType": "VariableDeclaration",
|
|
1306
|
-
"scope":
|
|
1307
|
-
"src": "
|
|
1485
|
+
"scope": 34047,
|
|
1486
|
+
"src": "2766:32:63",
|
|
1308
1487
|
"stateVariable": false,
|
|
1309
1488
|
"storageLocation": "memory",
|
|
1310
1489
|
"typeDescriptions": {
|
|
@@ -1312,10 +1491,10 @@
|
|
|
1312
1491
|
"typeString": "bytes"
|
|
1313
1492
|
},
|
|
1314
1493
|
"typeName": {
|
|
1315
|
-
"id":
|
|
1494
|
+
"id": 34041,
|
|
1316
1495
|
"name": "bytes",
|
|
1317
1496
|
"nodeType": "ElementaryTypeName",
|
|
1318
|
-
"src": "
|
|
1497
|
+
"src": "2766:5:63",
|
|
1319
1498
|
"typeDescriptions": {
|
|
1320
1499
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1321
1500
|
"typeString": "bytes"
|
|
@@ -1324,21 +1503,21 @@
|
|
|
1324
1503
|
"visibility": "internal"
|
|
1325
1504
|
}
|
|
1326
1505
|
],
|
|
1327
|
-
"src": "
|
|
1506
|
+
"src": "2719:83:63"
|
|
1328
1507
|
},
|
|
1329
1508
|
"returnParameters": {
|
|
1330
|
-
"id":
|
|
1509
|
+
"id": 34046,
|
|
1331
1510
|
"nodeType": "ParameterList",
|
|
1332
1511
|
"parameters": [
|
|
1333
1512
|
{
|
|
1334
1513
|
"constant": false,
|
|
1335
|
-
"id":
|
|
1514
|
+
"id": 34045,
|
|
1336
1515
|
"mutability": "mutable",
|
|
1337
1516
|
"name": "",
|
|
1338
1517
|
"nameLocation": "-1:-1:-1",
|
|
1339
1518
|
"nodeType": "VariableDeclaration",
|
|
1340
|
-
"scope":
|
|
1341
|
-
"src": "
|
|
1519
|
+
"scope": 34047,
|
|
1520
|
+
"src": "2829:12:63",
|
|
1342
1521
|
"stateVariable": false,
|
|
1343
1522
|
"storageLocation": "memory",
|
|
1344
1523
|
"typeDescriptions": {
|
|
@@ -1346,10 +1525,10 @@
|
|
|
1346
1525
|
"typeString": "bytes"
|
|
1347
1526
|
},
|
|
1348
1527
|
"typeName": {
|
|
1349
|
-
"id":
|
|
1528
|
+
"id": 34044,
|
|
1350
1529
|
"name": "bytes",
|
|
1351
1530
|
"nodeType": "ElementaryTypeName",
|
|
1352
|
-
"src": "
|
|
1531
|
+
"src": "2829:5:63",
|
|
1353
1532
|
"typeDescriptions": {
|
|
1354
1533
|
"typeIdentifier": "t_bytes_storage_ptr",
|
|
1355
1534
|
"typeString": "bytes"
|
|
@@ -1358,9 +1537,9 @@
|
|
|
1358
1537
|
"visibility": "internal"
|
|
1359
1538
|
}
|
|
1360
1539
|
],
|
|
1361
|
-
"src": "
|
|
1540
|
+
"src": "2828:14:63"
|
|
1362
1541
|
},
|
|
1363
|
-
"scope":
|
|
1542
|
+
"scope": 34048,
|
|
1364
1543
|
"stateMutability": "payable",
|
|
1365
1544
|
"virtual": false,
|
|
1366
1545
|
"visibility": "external"
|
|
@@ -1373,98 +1552,98 @@
|
|
|
1373
1552
|
"contractKind": "interface",
|
|
1374
1553
|
"fullyImplemented": false,
|
|
1375
1554
|
"linearizedBaseContracts": [
|
|
1376
|
-
|
|
1555
|
+
34048
|
|
1377
1556
|
],
|
|
1378
1557
|
"name": "IWorldCall",
|
|
1379
|
-
"nameLocation": "
|
|
1380
|
-
"scope":
|
|
1558
|
+
"nameLocation": "2537:10:63",
|
|
1559
|
+
"scope": 34059,
|
|
1381
1560
|
"usedErrors": []
|
|
1382
1561
|
},
|
|
1383
1562
|
{
|
|
1384
|
-
"id":
|
|
1563
|
+
"id": 34058,
|
|
1385
1564
|
"nodeType": "ContractDefinition",
|
|
1386
|
-
"src": "
|
|
1565
|
+
"src": "3113:88:63",
|
|
1387
1566
|
"nodes": [],
|
|
1388
1567
|
"abstract": false,
|
|
1389
1568
|
"baseContracts": [
|
|
1390
1569
|
{
|
|
1391
1570
|
"baseName": {
|
|
1392
|
-
"id":
|
|
1571
|
+
"id": 34050,
|
|
1393
1572
|
"name": "IWorldData",
|
|
1394
1573
|
"nodeType": "IdentifierPath",
|
|
1395
|
-
"referencedDeclaration":
|
|
1396
|
-
"src": "
|
|
1574
|
+
"referencedDeclaration": 34025,
|
|
1575
|
+
"src": "3139:10:63"
|
|
1397
1576
|
},
|
|
1398
|
-
"id":
|
|
1577
|
+
"id": 34051,
|
|
1399
1578
|
"nodeType": "InheritanceSpecifier",
|
|
1400
|
-
"src": "
|
|
1579
|
+
"src": "3139:10:63"
|
|
1401
1580
|
},
|
|
1402
1581
|
{
|
|
1403
1582
|
"baseName": {
|
|
1404
|
-
"id":
|
|
1583
|
+
"id": 34052,
|
|
1405
1584
|
"name": "IWorldModuleInstallation",
|
|
1406
1585
|
"nodeType": "IdentifierPath",
|
|
1407
|
-
"referencedDeclaration":
|
|
1408
|
-
"src": "
|
|
1586
|
+
"referencedDeclaration": 34035,
|
|
1587
|
+
"src": "3151:24:63"
|
|
1409
1588
|
},
|
|
1410
|
-
"id":
|
|
1589
|
+
"id": 34053,
|
|
1411
1590
|
"nodeType": "InheritanceSpecifier",
|
|
1412
|
-
"src": "
|
|
1591
|
+
"src": "3151:24:63"
|
|
1413
1592
|
},
|
|
1414
1593
|
{
|
|
1415
1594
|
"baseName": {
|
|
1416
|
-
"id":
|
|
1595
|
+
"id": 34054,
|
|
1417
1596
|
"name": "IWorldCall",
|
|
1418
1597
|
"nodeType": "IdentifierPath",
|
|
1419
|
-
"referencedDeclaration":
|
|
1420
|
-
"src": "
|
|
1598
|
+
"referencedDeclaration": 34048,
|
|
1599
|
+
"src": "3177:10:63"
|
|
1421
1600
|
},
|
|
1422
|
-
"id":
|
|
1601
|
+
"id": 34055,
|
|
1423
1602
|
"nodeType": "InheritanceSpecifier",
|
|
1424
|
-
"src": "
|
|
1603
|
+
"src": "3177:10:63"
|
|
1425
1604
|
},
|
|
1426
1605
|
{
|
|
1427
1606
|
"baseName": {
|
|
1428
|
-
"id":
|
|
1607
|
+
"id": 34056,
|
|
1429
1608
|
"name": "IErrors",
|
|
1430
1609
|
"nodeType": "IdentifierPath",
|
|
1431
|
-
"referencedDeclaration":
|
|
1432
|
-
"src": "
|
|
1610
|
+
"referencedDeclaration": 33844,
|
|
1611
|
+
"src": "3189:7:63"
|
|
1433
1612
|
},
|
|
1434
|
-
"id":
|
|
1613
|
+
"id": 34057,
|
|
1435
1614
|
"nodeType": "InheritanceSpecifier",
|
|
1436
|
-
"src": "
|
|
1615
|
+
"src": "3189:7:63"
|
|
1437
1616
|
}
|
|
1438
1617
|
],
|
|
1439
1618
|
"canonicalName": "IWorldKernel",
|
|
1440
1619
|
"contractDependencies": [],
|
|
1441
1620
|
"contractKind": "interface",
|
|
1442
1621
|
"documentation": {
|
|
1443
|
-
"id":
|
|
1622
|
+
"id": 34049,
|
|
1444
1623
|
"nodeType": "StructuredDocumentation",
|
|
1445
|
-
"src": "
|
|
1624
|
+
"src": "2847:265:63",
|
|
1446
1625
|
"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`."
|
|
1447
1626
|
},
|
|
1448
1627
|
"fullyImplemented": false,
|
|
1449
1628
|
"linearizedBaseContracts": [
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1629
|
+
34058,
|
|
1630
|
+
33844,
|
|
1631
|
+
34048,
|
|
1632
|
+
34035,
|
|
1633
|
+
34025
|
|
1455
1634
|
],
|
|
1456
1635
|
"name": "IWorldKernel",
|
|
1457
|
-
"nameLocation": "
|
|
1458
|
-
"scope":
|
|
1636
|
+
"nameLocation": "3123:12:63",
|
|
1637
|
+
"scope": 34059,
|
|
1459
1638
|
"usedErrors": [
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1639
|
+
33813,
|
|
1640
|
+
33817,
|
|
1641
|
+
33823,
|
|
1642
|
+
33827,
|
|
1643
|
+
33831,
|
|
1644
|
+
33835,
|
|
1645
|
+
33839,
|
|
1646
|
+
33843
|
|
1468
1647
|
]
|
|
1469
1648
|
}
|
|
1470
1649
|
],
|