@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-5741d53d
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/dist/mud.config.js +1 -1
- package/dist/mud.config.js.map +1 -1
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Callbacks.sol/Callbacks.json +45 -45
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +83 -83
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
- package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
- package/out/IModule.sol/IModule.json +139 -139
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
- package/out/ISystemHook.sol/ISystemHook.json +141 -141
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
- package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
- package/out/IWorldKernel.sol/IWorldCall.json +251 -251
- package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
- package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
- package/out/Mixed.sol/Mixed.json +66 -66
- package/out/Module.sol/Module.json +73 -73
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +19 -19
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
- package/out/Vector2.sol/Vector2.json +52 -52
- package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
- package/out/WorldContext.sol/WorldContextProvider.json +28 -28
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +142 -142
- package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
- package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
- package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
- package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
- package/out/interfaces/IERC165.sol/IERC165.json +50 -50
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +885 -885
- package/out/src/IStore.sol/IStoreData.json +885 -885
- package/out/src/IStore.sol/IStoreRead.json +885 -885
- package/out/src/IStore.sol/IStoreRegistration.json +885 -885
- package/out/src/IStore.sol/IStoreWrite.json +885 -885
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
- package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +131 -23
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +1 -3
- package/src/interfaces/IUniqueEntitySystem.sol +2 -3
- package/src/modules/keysintable/KeysInTableModule.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
- package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
- package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
- package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -177,32 +177,32 @@
|
|
177
177
|
},
|
178
178
|
"ast": {
|
179
179
|
"absolutePath": "node_modules/@latticexyz/world/src/interfaces/IWorldKernel.sol",
|
180
|
-
"id":
|
180
|
+
"id": 49383,
|
181
181
|
"exportedSymbols": {
|
182
182
|
"IModule": [
|
183
|
-
|
183
|
+
70943
|
184
184
|
],
|
185
185
|
"IWorldCall": [
|
186
|
-
|
186
|
+
49351
|
187
187
|
],
|
188
188
|
"IWorldErrors": [
|
189
|
-
|
189
|
+
71208
|
190
190
|
],
|
191
191
|
"IWorldKernel": [
|
192
|
-
|
192
|
+
49382
|
193
193
|
],
|
194
194
|
"IWorldModuleInstallation": [
|
195
|
-
|
195
|
+
49326
|
196
196
|
],
|
197
197
|
"ResourceId": [
|
198
|
-
|
198
|
+
36384
|
199
199
|
]
|
200
200
|
},
|
201
201
|
"nodeType": "SourceUnit",
|
202
202
|
"src": "32:1869:106",
|
203
203
|
"nodes": [
|
204
204
|
{
|
205
|
-
"id":
|
205
|
+
"id": 49310,
|
206
206
|
"nodeType": "PragmaDirective",
|
207
207
|
"src": "32:25:106",
|
208
208
|
"nodes": [],
|
@@ -214,23 +214,23 @@
|
|
214
214
|
]
|
215
215
|
},
|
216
216
|
{
|
217
|
-
"id":
|
217
|
+
"id": 49312,
|
218
218
|
"nodeType": "ImportDirective",
|
219
219
|
"src": "59:50:106",
|
220
220
|
"nodes": [],
|
221
221
|
"absolutePath": "node_modules/@latticexyz/world/src/interfaces/IWorldErrors.sol",
|
222
222
|
"file": "./IWorldErrors.sol",
|
223
223
|
"nameLocation": "-1:-1:-1",
|
224
|
-
"scope":
|
225
|
-
"sourceUnit":
|
224
|
+
"scope": 49383,
|
225
|
+
"sourceUnit": 71209,
|
226
226
|
"symbolAliases": [
|
227
227
|
{
|
228
228
|
"foreign": {
|
229
|
-
"id":
|
229
|
+
"id": 49311,
|
230
230
|
"name": "IWorldErrors",
|
231
231
|
"nodeType": "Identifier",
|
232
232
|
"overloadedDeclarations": [],
|
233
|
-
"referencedDeclaration":
|
233
|
+
"referencedDeclaration": 71208,
|
234
234
|
"src": "68:12:106",
|
235
235
|
"typeDescriptions": {}
|
236
236
|
},
|
@@ -240,23 +240,23 @@
|
|
240
240
|
"unitAlias": ""
|
241
241
|
},
|
242
242
|
{
|
243
|
-
"id":
|
243
|
+
"id": 49314,
|
244
244
|
"nodeType": "ImportDirective",
|
245
245
|
"src": "110:40:106",
|
246
246
|
"nodes": [],
|
247
247
|
"absolutePath": "node_modules/@latticexyz/world/src/interfaces/IModule.sol",
|
248
248
|
"file": "./IModule.sol",
|
249
249
|
"nameLocation": "-1:-1:-1",
|
250
|
-
"scope":
|
251
|
-
"sourceUnit":
|
250
|
+
"scope": 49383,
|
251
|
+
"sourceUnit": 70944,
|
252
252
|
"symbolAliases": [
|
253
253
|
{
|
254
254
|
"foreign": {
|
255
|
-
"id":
|
255
|
+
"id": 49313,
|
256
256
|
"name": "IModule",
|
257
257
|
"nodeType": "Identifier",
|
258
258
|
"overloadedDeclarations": [],
|
259
|
-
"referencedDeclaration":
|
259
|
+
"referencedDeclaration": 70943,
|
260
260
|
"src": "119:7:106",
|
261
261
|
"typeDescriptions": {}
|
262
262
|
},
|
@@ -266,23 +266,23 @@
|
|
266
266
|
"unitAlias": ""
|
267
267
|
},
|
268
268
|
{
|
269
|
-
"id":
|
269
|
+
"id": 49316,
|
270
270
|
"nodeType": "ImportDirective",
|
271
271
|
"src": "151:52:106",
|
272
272
|
"nodes": [],
|
273
273
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
|
274
274
|
"file": "../WorldResourceId.sol",
|
275
275
|
"nameLocation": "-1:-1:-1",
|
276
|
-
"scope":
|
277
|
-
"sourceUnit":
|
276
|
+
"scope": 49383,
|
277
|
+
"sourceUnit": 49227,
|
278
278
|
"symbolAliases": [
|
279
279
|
{
|
280
280
|
"foreign": {
|
281
|
-
"id":
|
281
|
+
"id": 49315,
|
282
282
|
"name": "ResourceId",
|
283
283
|
"nodeType": "Identifier",
|
284
284
|
"overloadedDeclarations": [],
|
285
|
-
"referencedDeclaration":
|
285
|
+
"referencedDeclaration": 36384,
|
286
286
|
"src": "160:10:106",
|
287
287
|
"typeDescriptions": {}
|
288
288
|
},
|
@@ -292,17 +292,17 @@
|
|
292
292
|
"unitAlias": ""
|
293
293
|
},
|
294
294
|
{
|
295
|
-
"id":
|
295
|
+
"id": 49326,
|
296
296
|
"nodeType": "ContractDefinition",
|
297
297
|
"src": "205:296:106",
|
298
298
|
"nodes": [
|
299
299
|
{
|
300
|
-
"id":
|
300
|
+
"id": 49325,
|
301
301
|
"nodeType": "FunctionDefinition",
|
302
302
|
"src": "428:71:106",
|
303
303
|
"nodes": [],
|
304
304
|
"documentation": {
|
305
|
-
"id":
|
305
|
+
"id": 49317,
|
306
306
|
"nodeType": "StructuredDocumentation",
|
307
307
|
"src": "244:181:106",
|
308
308
|
"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."
|
@@ -314,41 +314,41 @@
|
|
314
314
|
"name": "installRootModule",
|
315
315
|
"nameLocation": "437:17:106",
|
316
316
|
"parameters": {
|
317
|
-
"id":
|
317
|
+
"id": 49323,
|
318
318
|
"nodeType": "ParameterList",
|
319
319
|
"parameters": [
|
320
320
|
{
|
321
321
|
"constant": false,
|
322
|
-
"id":
|
322
|
+
"id": 49320,
|
323
323
|
"mutability": "mutable",
|
324
324
|
"name": "module",
|
325
325
|
"nameLocation": "463:6:106",
|
326
326
|
"nodeType": "VariableDeclaration",
|
327
|
-
"scope":
|
327
|
+
"scope": 49325,
|
328
328
|
"src": "455:14:106",
|
329
329
|
"stateVariable": false,
|
330
330
|
"storageLocation": "default",
|
331
331
|
"typeDescriptions": {
|
332
|
-
"typeIdentifier": "t_contract$_IModule_$
|
332
|
+
"typeIdentifier": "t_contract$_IModule_$70943",
|
333
333
|
"typeString": "contract IModule"
|
334
334
|
},
|
335
335
|
"typeName": {
|
336
|
-
"id":
|
336
|
+
"id": 49319,
|
337
337
|
"nodeType": "UserDefinedTypeName",
|
338
338
|
"pathNode": {
|
339
|
-
"id":
|
339
|
+
"id": 49318,
|
340
340
|
"name": "IModule",
|
341
341
|
"nameLocations": [
|
342
342
|
"455:7:106"
|
343
343
|
],
|
344
344
|
"nodeType": "IdentifierPath",
|
345
|
-
"referencedDeclaration":
|
345
|
+
"referencedDeclaration": 70943,
|
346
346
|
"src": "455:7:106"
|
347
347
|
},
|
348
|
-
"referencedDeclaration":
|
348
|
+
"referencedDeclaration": 70943,
|
349
349
|
"src": "455:7:106",
|
350
350
|
"typeDescriptions": {
|
351
|
-
"typeIdentifier": "t_contract$_IModule_$
|
351
|
+
"typeIdentifier": "t_contract$_IModule_$70943",
|
352
352
|
"typeString": "contract IModule"
|
353
353
|
}
|
354
354
|
},
|
@@ -356,12 +356,12 @@
|
|
356
356
|
},
|
357
357
|
{
|
358
358
|
"constant": false,
|
359
|
-
"id":
|
359
|
+
"id": 49322,
|
360
360
|
"mutability": "mutable",
|
361
361
|
"name": "args",
|
362
362
|
"nameLocation": "484:4:106",
|
363
363
|
"nodeType": "VariableDeclaration",
|
364
|
-
"scope":
|
364
|
+
"scope": 49325,
|
365
365
|
"src": "471:17:106",
|
366
366
|
"stateVariable": false,
|
367
367
|
"storageLocation": "memory",
|
@@ -370,7 +370,7 @@
|
|
370
370
|
"typeString": "bytes"
|
371
371
|
},
|
372
372
|
"typeName": {
|
373
|
-
"id":
|
373
|
+
"id": 49321,
|
374
374
|
"name": "bytes",
|
375
375
|
"nodeType": "ElementaryTypeName",
|
376
376
|
"src": "471:5:106",
|
@@ -385,12 +385,12 @@
|
|
385
385
|
"src": "454:35:106"
|
386
386
|
},
|
387
387
|
"returnParameters": {
|
388
|
-
"id":
|
388
|
+
"id": 49324,
|
389
389
|
"nodeType": "ParameterList",
|
390
390
|
"parameters": [],
|
391
391
|
"src": "498:0:106"
|
392
392
|
},
|
393
|
-
"scope":
|
393
|
+
"scope": 49326,
|
394
394
|
"stateMutability": "nonpayable",
|
395
395
|
"virtual": false,
|
396
396
|
"visibility": "external"
|
@@ -403,26 +403,26 @@
|
|
403
403
|
"contractKind": "interface",
|
404
404
|
"fullyImplemented": false,
|
405
405
|
"linearizedBaseContracts": [
|
406
|
-
|
406
|
+
49326
|
407
407
|
],
|
408
408
|
"name": "IWorldModuleInstallation",
|
409
409
|
"nameLocation": "215:24:106",
|
410
|
-
"scope":
|
410
|
+
"scope": 49383,
|
411
411
|
"usedErrors": [],
|
412
412
|
"usedEvents": []
|
413
413
|
},
|
414
414
|
{
|
415
|
-
"id":
|
415
|
+
"id": 49351,
|
416
416
|
"nodeType": "ContractDefinition",
|
417
417
|
"src": "503:646:106",
|
418
418
|
"nodes": [
|
419
419
|
{
|
420
|
-
"id":
|
420
|
+
"id": 49337,
|
421
421
|
"nodeType": "FunctionDefinition",
|
422
422
|
"src": "700:98:106",
|
423
423
|
"nodes": [],
|
424
424
|
"documentation": {
|
425
|
-
"id":
|
425
|
+
"id": 49327,
|
426
426
|
"nodeType": "StructuredDocumentation",
|
427
427
|
"src": "528:169:106",
|
428
428
|
"text": " Call the system at the given system ID.\n If the system is not public, the caller must have access to the namespace or name (encoded in the system ID)."
|
@@ -434,41 +434,41 @@
|
|
434
434
|
"name": "call",
|
435
435
|
"nameLocation": "709:4:106",
|
436
436
|
"parameters": {
|
437
|
-
"id":
|
437
|
+
"id": 49333,
|
438
438
|
"nodeType": "ParameterList",
|
439
439
|
"parameters": [
|
440
440
|
{
|
441
441
|
"constant": false,
|
442
|
-
"id":
|
442
|
+
"id": 49330,
|
443
443
|
"mutability": "mutable",
|
444
444
|
"name": "systemId",
|
445
445
|
"nameLocation": "725:8:106",
|
446
446
|
"nodeType": "VariableDeclaration",
|
447
|
-
"scope":
|
447
|
+
"scope": 49337,
|
448
448
|
"src": "714:19:106",
|
449
449
|
"stateVariable": false,
|
450
450
|
"storageLocation": "default",
|
451
451
|
"typeDescriptions": {
|
452
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
452
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
453
453
|
"typeString": "ResourceId"
|
454
454
|
},
|
455
455
|
"typeName": {
|
456
|
-
"id":
|
456
|
+
"id": 49329,
|
457
457
|
"nodeType": "UserDefinedTypeName",
|
458
458
|
"pathNode": {
|
459
|
-
"id":
|
459
|
+
"id": 49328,
|
460
460
|
"name": "ResourceId",
|
461
461
|
"nameLocations": [
|
462
462
|
"714:10:106"
|
463
463
|
],
|
464
464
|
"nodeType": "IdentifierPath",
|
465
|
-
"referencedDeclaration":
|
465
|
+
"referencedDeclaration": 36384,
|
466
466
|
"src": "714:10:106"
|
467
467
|
},
|
468
|
-
"referencedDeclaration":
|
468
|
+
"referencedDeclaration": 36384,
|
469
469
|
"src": "714:10:106",
|
470
470
|
"typeDescriptions": {
|
471
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
471
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
472
472
|
"typeString": "ResourceId"
|
473
473
|
}
|
474
474
|
},
|
@@ -476,12 +476,12 @@
|
|
476
476
|
},
|
477
477
|
{
|
478
478
|
"constant": false,
|
479
|
-
"id":
|
479
|
+
"id": 49332,
|
480
480
|
"mutability": "mutable",
|
481
481
|
"name": "callData",
|
482
482
|
"nameLocation": "748:8:106",
|
483
483
|
"nodeType": "VariableDeclaration",
|
484
|
-
"scope":
|
484
|
+
"scope": 49337,
|
485
485
|
"src": "735:21:106",
|
486
486
|
"stateVariable": false,
|
487
487
|
"storageLocation": "memory",
|
@@ -490,7 +490,7 @@
|
|
490
490
|
"typeString": "bytes"
|
491
491
|
},
|
492
492
|
"typeName": {
|
493
|
-
"id":
|
493
|
+
"id": 49331,
|
494
494
|
"name": "bytes",
|
495
495
|
"nodeType": "ElementaryTypeName",
|
496
496
|
"src": "735:5:106",
|
@@ -505,17 +505,17 @@
|
|
505
505
|
"src": "713:44:106"
|
506
506
|
},
|
507
507
|
"returnParameters": {
|
508
|
-
"id":
|
508
|
+
"id": 49336,
|
509
509
|
"nodeType": "ParameterList",
|
510
510
|
"parameters": [
|
511
511
|
{
|
512
512
|
"constant": false,
|
513
|
-
"id":
|
513
|
+
"id": 49335,
|
514
514
|
"mutability": "mutable",
|
515
515
|
"name": "",
|
516
516
|
"nameLocation": "-1:-1:-1",
|
517
517
|
"nodeType": "VariableDeclaration",
|
518
|
-
"scope":
|
518
|
+
"scope": 49337,
|
519
519
|
"src": "784:12:106",
|
520
520
|
"stateVariable": false,
|
521
521
|
"storageLocation": "memory",
|
@@ -524,7 +524,7 @@
|
|
524
524
|
"typeString": "bytes"
|
525
525
|
},
|
526
526
|
"typeName": {
|
527
|
-
"id":
|
527
|
+
"id": 49334,
|
528
528
|
"name": "bytes",
|
529
529
|
"nodeType": "ElementaryTypeName",
|
530
530
|
"src": "784:5:106",
|
@@ -538,18 +538,18 @@
|
|
538
538
|
],
|
539
539
|
"src": "783:14:106"
|
540
540
|
},
|
541
|
-
"scope":
|
541
|
+
"scope": 49351,
|
542
542
|
"stateMutability": "payable",
|
543
543
|
"virtual": false,
|
544
544
|
"visibility": "external"
|
545
545
|
},
|
546
546
|
{
|
547
|
-
"id":
|
547
|
+
"id": 49350,
|
548
548
|
"nodeType": "FunctionDefinition",
|
549
549
|
"src": "1010:137:106",
|
550
550
|
"nodes": [],
|
551
551
|
"documentation": {
|
552
|
-
"id":
|
552
|
+
"id": 49338,
|
553
553
|
"nodeType": "StructuredDocumentation",
|
554
554
|
"src": "802:205:106",
|
555
555
|
"text": " Call the system at the given system ID on behalf of the given delegator.\n If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID)."
|
@@ -561,17 +561,17 @@
|
|
561
561
|
"name": "callFrom",
|
562
562
|
"nameLocation": "1019:8:106",
|
563
563
|
"parameters": {
|
564
|
-
"id":
|
564
|
+
"id": 49346,
|
565
565
|
"nodeType": "ParameterList",
|
566
566
|
"parameters": [
|
567
567
|
{
|
568
568
|
"constant": false,
|
569
|
-
"id":
|
569
|
+
"id": 49340,
|
570
570
|
"mutability": "mutable",
|
571
571
|
"name": "delegator",
|
572
572
|
"nameLocation": "1041:9:106",
|
573
573
|
"nodeType": "VariableDeclaration",
|
574
|
-
"scope":
|
574
|
+
"scope": 49350,
|
575
575
|
"src": "1033:17:106",
|
576
576
|
"stateVariable": false,
|
577
577
|
"storageLocation": "default",
|
@@ -580,7 +580,7 @@
|
|
580
580
|
"typeString": "address"
|
581
581
|
},
|
582
582
|
"typeName": {
|
583
|
-
"id":
|
583
|
+
"id": 49339,
|
584
584
|
"name": "address",
|
585
585
|
"nodeType": "ElementaryTypeName",
|
586
586
|
"src": "1033:7:106",
|
@@ -594,36 +594,36 @@
|
|
594
594
|
},
|
595
595
|
{
|
596
596
|
"constant": false,
|
597
|
-
"id":
|
597
|
+
"id": 49343,
|
598
598
|
"mutability": "mutable",
|
599
599
|
"name": "systemId",
|
600
600
|
"nameLocation": "1067:8:106",
|
601
601
|
"nodeType": "VariableDeclaration",
|
602
|
-
"scope":
|
602
|
+
"scope": 49350,
|
603
603
|
"src": "1056:19:106",
|
604
604
|
"stateVariable": false,
|
605
605
|
"storageLocation": "default",
|
606
606
|
"typeDescriptions": {
|
607
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
607
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
608
608
|
"typeString": "ResourceId"
|
609
609
|
},
|
610
610
|
"typeName": {
|
611
|
-
"id":
|
611
|
+
"id": 49342,
|
612
612
|
"nodeType": "UserDefinedTypeName",
|
613
613
|
"pathNode": {
|
614
|
-
"id":
|
614
|
+
"id": 49341,
|
615
615
|
"name": "ResourceId",
|
616
616
|
"nameLocations": [
|
617
617
|
"1056:10:106"
|
618
618
|
],
|
619
619
|
"nodeType": "IdentifierPath",
|
620
|
-
"referencedDeclaration":
|
620
|
+
"referencedDeclaration": 36384,
|
621
621
|
"src": "1056:10:106"
|
622
622
|
},
|
623
|
-
"referencedDeclaration":
|
623
|
+
"referencedDeclaration": 36384,
|
624
624
|
"src": "1056:10:106",
|
625
625
|
"typeDescriptions": {
|
626
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
626
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
627
627
|
"typeString": "ResourceId"
|
628
628
|
}
|
629
629
|
},
|
@@ -631,12 +631,12 @@
|
|
631
631
|
},
|
632
632
|
{
|
633
633
|
"constant": false,
|
634
|
-
"id":
|
634
|
+
"id": 49345,
|
635
635
|
"mutability": "mutable",
|
636
636
|
"name": "callData",
|
637
637
|
"nameLocation": "1094:8:106",
|
638
638
|
"nodeType": "VariableDeclaration",
|
639
|
-
"scope":
|
639
|
+
"scope": 49350,
|
640
640
|
"src": "1081:21:106",
|
641
641
|
"stateVariable": false,
|
642
642
|
"storageLocation": "memory",
|
@@ -645,7 +645,7 @@
|
|
645
645
|
"typeString": "bytes"
|
646
646
|
},
|
647
647
|
"typeName": {
|
648
|
-
"id":
|
648
|
+
"id": 49344,
|
649
649
|
"name": "bytes",
|
650
650
|
"nodeType": "ElementaryTypeName",
|
651
651
|
"src": "1081:5:106",
|
@@ -660,17 +660,17 @@
|
|
660
660
|
"src": "1027:79:106"
|
661
661
|
},
|
662
662
|
"returnParameters": {
|
663
|
-
"id":
|
663
|
+
"id": 49349,
|
664
664
|
"nodeType": "ParameterList",
|
665
665
|
"parameters": [
|
666
666
|
{
|
667
667
|
"constant": false,
|
668
|
-
"id":
|
668
|
+
"id": 49348,
|
669
669
|
"mutability": "mutable",
|
670
670
|
"name": "",
|
671
671
|
"nameLocation": "-1:-1:-1",
|
672
672
|
"nodeType": "VariableDeclaration",
|
673
|
-
"scope":
|
673
|
+
"scope": 49350,
|
674
674
|
"src": "1133:12:106",
|
675
675
|
"stateVariable": false,
|
676
676
|
"storageLocation": "memory",
|
@@ -679,7 +679,7 @@
|
|
679
679
|
"typeString": "bytes"
|
680
680
|
},
|
681
681
|
"typeName": {
|
682
|
-
"id":
|
682
|
+
"id": 49347,
|
683
683
|
"name": "bytes",
|
684
684
|
"nodeType": "ElementaryTypeName",
|
685
685
|
"src": "1133:5:106",
|
@@ -693,7 +693,7 @@
|
|
693
693
|
],
|
694
694
|
"src": "1132:14:106"
|
695
695
|
},
|
696
|
-
"scope":
|
696
|
+
"scope": 49351,
|
697
697
|
"stateMutability": "payable",
|
698
698
|
"virtual": false,
|
699
699
|
"visibility": "external"
|
@@ -706,21 +706,21 @@
|
|
706
706
|
"contractKind": "interface",
|
707
707
|
"fullyImplemented": false,
|
708
708
|
"linearizedBaseContracts": [
|
709
|
-
|
709
|
+
49351
|
710
710
|
],
|
711
711
|
"name": "IWorldCall",
|
712
712
|
"nameLocation": "513:10:106",
|
713
|
-
"scope":
|
713
|
+
"scope": 49383,
|
714
714
|
"usedErrors": [],
|
715
715
|
"usedEvents": []
|
716
716
|
},
|
717
717
|
{
|
718
|
-
"id":
|
718
|
+
"id": 49382,
|
719
719
|
"nodeType": "ContractDefinition",
|
720
720
|
"src": "1417:483:106",
|
721
721
|
"nodes": [
|
722
722
|
{
|
723
|
-
"id":
|
723
|
+
"id": 49362,
|
724
724
|
"nodeType": "EventDefinition",
|
725
725
|
"src": "1498:47:106",
|
726
726
|
"nodes": [],
|
@@ -729,18 +729,18 @@
|
|
729
729
|
"name": "HelloWorld",
|
730
730
|
"nameLocation": "1504:10:106",
|
731
731
|
"parameters": {
|
732
|
-
"id":
|
732
|
+
"id": 49361,
|
733
733
|
"nodeType": "ParameterList",
|
734
734
|
"parameters": [
|
735
735
|
{
|
736
736
|
"constant": false,
|
737
|
-
"id":
|
737
|
+
"id": 49360,
|
738
738
|
"indexed": true,
|
739
739
|
"mutability": "mutable",
|
740
740
|
"name": "worldVersion",
|
741
741
|
"nameLocation": "1531:12:106",
|
742
742
|
"nodeType": "VariableDeclaration",
|
743
|
-
"scope":
|
743
|
+
"scope": 49362,
|
744
744
|
"src": "1515:28:106",
|
745
745
|
"stateVariable": false,
|
746
746
|
"storageLocation": "default",
|
@@ -749,7 +749,7 @@
|
|
749
749
|
"typeString": "bytes32"
|
750
750
|
},
|
751
751
|
"typeName": {
|
752
|
-
"id":
|
752
|
+
"id": 49359,
|
753
753
|
"name": "bytes32",
|
754
754
|
"nodeType": "ElementaryTypeName",
|
755
755
|
"src": "1515:7:106",
|
@@ -765,12 +765,12 @@
|
|
765
765
|
}
|
766
766
|
},
|
767
767
|
{
|
768
|
-
"id":
|
768
|
+
"id": 49368,
|
769
769
|
"nodeType": "FunctionDefinition",
|
770
770
|
"src": "1592:56:106",
|
771
771
|
"nodes": [],
|
772
772
|
"documentation": {
|
773
|
-
"id":
|
773
|
+
"id": 49363,
|
774
774
|
"nodeType": "StructuredDocumentation",
|
775
775
|
"src": "1549:40:106",
|
776
776
|
"text": " The version of the World."
|
@@ -782,23 +782,23 @@
|
|
782
782
|
"name": "worldVersion",
|
783
783
|
"nameLocation": "1601:12:106",
|
784
784
|
"parameters": {
|
785
|
-
"id":
|
785
|
+
"id": 49364,
|
786
786
|
"nodeType": "ParameterList",
|
787
787
|
"parameters": [],
|
788
788
|
"src": "1613:2:106"
|
789
789
|
},
|
790
790
|
"returnParameters": {
|
791
|
-
"id":
|
791
|
+
"id": 49367,
|
792
792
|
"nodeType": "ParameterList",
|
793
793
|
"parameters": [
|
794
794
|
{
|
795
795
|
"constant": false,
|
796
|
-
"id":
|
796
|
+
"id": 49366,
|
797
797
|
"mutability": "mutable",
|
798
798
|
"name": "",
|
799
799
|
"nameLocation": "-1:-1:-1",
|
800
800
|
"nodeType": "VariableDeclaration",
|
801
|
-
"scope":
|
801
|
+
"scope": 49368,
|
802
802
|
"src": "1639:7:106",
|
803
803
|
"stateVariable": false,
|
804
804
|
"storageLocation": "default",
|
@@ -807,7 +807,7 @@
|
|
807
807
|
"typeString": "bytes32"
|
808
808
|
},
|
809
809
|
"typeName": {
|
810
|
-
"id":
|
810
|
+
"id": 49365,
|
811
811
|
"name": "bytes32",
|
812
812
|
"nodeType": "ElementaryTypeName",
|
813
813
|
"src": "1639:7:106",
|
@@ -821,18 +821,18 @@
|
|
821
821
|
],
|
822
822
|
"src": "1638:9:106"
|
823
823
|
},
|
824
|
-
"scope":
|
824
|
+
"scope": 49382,
|
825
825
|
"stateMutability": "view",
|
826
826
|
"virtual": false,
|
827
827
|
"visibility": "external"
|
828
828
|
},
|
829
829
|
{
|
830
|
-
"id":
|
830
|
+
"id": 49374,
|
831
831
|
"nodeType": "FunctionDefinition",
|
832
832
|
"src": "1715:51:106",
|
833
833
|
"nodes": [],
|
834
834
|
"documentation": {
|
835
|
-
"id":
|
835
|
+
"id": 49369,
|
836
836
|
"nodeType": "StructuredDocumentation",
|
837
837
|
"src": "1652:60:106",
|
838
838
|
"text": " The immutable original deployer of the World."
|
@@ -844,23 +844,23 @@
|
|
844
844
|
"name": "creator",
|
845
845
|
"nameLocation": "1724:7:106",
|
846
846
|
"parameters": {
|
847
|
-
"id":
|
847
|
+
"id": 49370,
|
848
848
|
"nodeType": "ParameterList",
|
849
849
|
"parameters": [],
|
850
850
|
"src": "1731:2:106"
|
851
851
|
},
|
852
852
|
"returnParameters": {
|
853
|
-
"id":
|
853
|
+
"id": 49373,
|
854
854
|
"nodeType": "ParameterList",
|
855
855
|
"parameters": [
|
856
856
|
{
|
857
857
|
"constant": false,
|
858
|
-
"id":
|
858
|
+
"id": 49372,
|
859
859
|
"mutability": "mutable",
|
860
860
|
"name": "",
|
861
861
|
"nameLocation": "-1:-1:-1",
|
862
862
|
"nodeType": "VariableDeclaration",
|
863
|
-
"scope":
|
863
|
+
"scope": 49374,
|
864
864
|
"src": "1757:7:106",
|
865
865
|
"stateVariable": false,
|
866
866
|
"storageLocation": "default",
|
@@ -869,7 +869,7 @@
|
|
869
869
|
"typeString": "address"
|
870
870
|
},
|
871
871
|
"typeName": {
|
872
|
-
"id":
|
872
|
+
"id": 49371,
|
873
873
|
"name": "address",
|
874
874
|
"nodeType": "ElementaryTypeName",
|
875
875
|
"src": "1757:7:106",
|
@@ -884,18 +884,18 @@
|
|
884
884
|
],
|
885
885
|
"src": "1756:9:106"
|
886
886
|
},
|
887
|
-
"scope":
|
887
|
+
"scope": 49382,
|
888
888
|
"stateMutability": "view",
|
889
889
|
"virtual": false,
|
890
890
|
"visibility": "external"
|
891
891
|
},
|
892
892
|
{
|
893
|
-
"id":
|
893
|
+
"id": 49381,
|
894
894
|
"nodeType": "FunctionDefinition",
|
895
895
|
"src": "1849:49:106",
|
896
896
|
"nodes": [],
|
897
897
|
"documentation": {
|
898
|
-
"id":
|
898
|
+
"id": 49375,
|
899
899
|
"nodeType": "StructuredDocumentation",
|
900
900
|
"src": "1770:76:106",
|
901
901
|
"text": " Allows the creator of the World to initialize the World once."
|
@@ -907,41 +907,41 @@
|
|
907
907
|
"name": "initialize",
|
908
908
|
"nameLocation": "1858:10:106",
|
909
909
|
"parameters": {
|
910
|
-
"id":
|
910
|
+
"id": 49379,
|
911
911
|
"nodeType": "ParameterList",
|
912
912
|
"parameters": [
|
913
913
|
{
|
914
914
|
"constant": false,
|
915
|
-
"id":
|
915
|
+
"id": 49378,
|
916
916
|
"mutability": "mutable",
|
917
917
|
"name": "coreModule",
|
918
918
|
"nameLocation": "1877:10:106",
|
919
919
|
"nodeType": "VariableDeclaration",
|
920
|
-
"scope":
|
920
|
+
"scope": 49381,
|
921
921
|
"src": "1869:18:106",
|
922
922
|
"stateVariable": false,
|
923
923
|
"storageLocation": "default",
|
924
924
|
"typeDescriptions": {
|
925
|
-
"typeIdentifier": "t_contract$_IModule_$
|
925
|
+
"typeIdentifier": "t_contract$_IModule_$70943",
|
926
926
|
"typeString": "contract IModule"
|
927
927
|
},
|
928
928
|
"typeName": {
|
929
|
-
"id":
|
929
|
+
"id": 49377,
|
930
930
|
"nodeType": "UserDefinedTypeName",
|
931
931
|
"pathNode": {
|
932
|
-
"id":
|
932
|
+
"id": 49376,
|
933
933
|
"name": "IModule",
|
934
934
|
"nameLocations": [
|
935
935
|
"1869:7:106"
|
936
936
|
],
|
937
937
|
"nodeType": "IdentifierPath",
|
938
|
-
"referencedDeclaration":
|
938
|
+
"referencedDeclaration": 70943,
|
939
939
|
"src": "1869:7:106"
|
940
940
|
},
|
941
|
-
"referencedDeclaration":
|
941
|
+
"referencedDeclaration": 70943,
|
942
942
|
"src": "1869:7:106",
|
943
943
|
"typeDescriptions": {
|
944
|
-
"typeIdentifier": "t_contract$_IModule_$
|
944
|
+
"typeIdentifier": "t_contract$_IModule_$70943",
|
945
945
|
"typeString": "contract IModule"
|
946
946
|
}
|
947
947
|
},
|
@@ -951,12 +951,12 @@
|
|
951
951
|
"src": "1868:20:106"
|
952
952
|
},
|
953
953
|
"returnParameters": {
|
954
|
-
"id":
|
954
|
+
"id": 49380,
|
955
955
|
"nodeType": "ParameterList",
|
956
956
|
"parameters": [],
|
957
957
|
"src": "1897:0:106"
|
958
958
|
},
|
959
|
-
"scope":
|
959
|
+
"scope": 49382,
|
960
960
|
"stateMutability": "nonpayable",
|
961
961
|
"virtual": false,
|
962
962
|
"visibility": "external"
|
@@ -966,46 +966,46 @@
|
|
966
966
|
"baseContracts": [
|
967
967
|
{
|
968
968
|
"baseName": {
|
969
|
-
"id":
|
969
|
+
"id": 49353,
|
970
970
|
"name": "IWorldModuleInstallation",
|
971
971
|
"nameLocations": [
|
972
972
|
"1443:24:106"
|
973
973
|
],
|
974
974
|
"nodeType": "IdentifierPath",
|
975
|
-
"referencedDeclaration":
|
975
|
+
"referencedDeclaration": 49326,
|
976
976
|
"src": "1443:24:106"
|
977
977
|
},
|
978
|
-
"id":
|
978
|
+
"id": 49354,
|
979
979
|
"nodeType": "InheritanceSpecifier",
|
980
980
|
"src": "1443:24:106"
|
981
981
|
},
|
982
982
|
{
|
983
983
|
"baseName": {
|
984
|
-
"id":
|
984
|
+
"id": 49355,
|
985
985
|
"name": "IWorldCall",
|
986
986
|
"nameLocations": [
|
987
987
|
"1469:10:106"
|
988
988
|
],
|
989
989
|
"nodeType": "IdentifierPath",
|
990
|
-
"referencedDeclaration":
|
990
|
+
"referencedDeclaration": 49351,
|
991
991
|
"src": "1469:10:106"
|
992
992
|
},
|
993
|
-
"id":
|
993
|
+
"id": 49356,
|
994
994
|
"nodeType": "InheritanceSpecifier",
|
995
995
|
"src": "1469:10:106"
|
996
996
|
},
|
997
997
|
{
|
998
998
|
"baseName": {
|
999
|
-
"id":
|
999
|
+
"id": 49357,
|
1000
1000
|
"name": "IWorldErrors",
|
1001
1001
|
"nameLocations": [
|
1002
1002
|
"1481:12:106"
|
1003
1003
|
],
|
1004
1004
|
"nodeType": "IdentifierPath",
|
1005
|
-
"referencedDeclaration":
|
1005
|
+
"referencedDeclaration": 71208,
|
1006
1006
|
"src": "1481:12:106"
|
1007
1007
|
},
|
1008
|
-
"id":
|
1008
|
+
"id": 49358,
|
1009
1009
|
"nodeType": "InheritanceSpecifier",
|
1010
1010
|
"src": "1481:12:106"
|
1011
1011
|
}
|
@@ -1014,39 +1014,39 @@
|
|
1014
1014
|
"contractDependencies": [],
|
1015
1015
|
"contractKind": "interface",
|
1016
1016
|
"documentation": {
|
1017
|
-
"id":
|
1017
|
+
"id": 49352,
|
1018
1018
|
"nodeType": "StructuredDocumentation",
|
1019
1019
|
"src": "1151:265:106",
|
1020
1020
|
"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`."
|
1021
1021
|
},
|
1022
1022
|
"fullyImplemented": false,
|
1023
1023
|
"linearizedBaseContracts": [
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1024
|
+
49382,
|
1025
|
+
71208,
|
1026
|
+
49351,
|
1027
|
+
49326
|
1028
1028
|
],
|
1029
1029
|
"name": "IWorldKernel",
|
1030
1030
|
"nameLocation": "1427:12:106",
|
1031
|
-
"scope":
|
1031
|
+
"scope": 49383,
|
1032
1032
|
"usedErrors": [
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
71144,
|
1038
|
-
71148,
|
1039
|
-
71152,
|
1040
|
-
71156,
|
1033
|
+
71135,
|
1034
|
+
71142,
|
1035
|
+
71149,
|
1036
|
+
71155,
|
1041
1037
|
71162,
|
1042
|
-
|
1038
|
+
71166,
|
1043
1039
|
71170,
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1040
|
+
71174,
|
1041
|
+
71180,
|
1042
|
+
71182,
|
1043
|
+
71188,
|
1044
|
+
71194,
|
1045
|
+
71203,
|
1046
|
+
71207
|
1047
1047
|
],
|
1048
1048
|
"usedEvents": [
|
1049
|
-
|
1049
|
+
49362
|
1050
1050
|
]
|
1051
1051
|
}
|
1052
1052
|
],
|