@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.
Files changed (121) hide show
  1. package/dist/mud.config.js +1 -1
  2. package/dist/mud.config.js.map +1 -1
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Callbacks.sol/Callbacks.json +45 -45
  5. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
  6. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  7. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
  11. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  12. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  13. package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
  14. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  16. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  17. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  18. package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
  19. package/out/IModule.sol/IModule.json +139 -139
  20. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  21. package/out/ISystemHook.sol/ISystemHook.json +141 -141
  22. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  23. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  24. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  25. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  26. package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
  27. package/out/IWorldKernel.sol/IWorldCall.json +251 -251
  28. package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
  29. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
  30. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
  31. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  32. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  33. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  34. package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
  35. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  36. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
  37. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
  38. package/out/Mixed.sol/Mixed.json +66 -66
  39. package/out/Module.sol/Module.json +73 -73
  40. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  41. package/out/Schema.sol/SchemaInstance.json +30 -30
  42. package/out/Schema.sol/SchemaLib.json +30 -30
  43. package/out/SchemaType.sol/SchemaType.json +276 -276
  44. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
  45. package/out/StoreHook.sol/StoreHook.json +358 -358
  46. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  47. package/out/System.sol/System.json +19 -19
  48. package/out/Tables.sol/Tables.json +73 -73
  49. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
  50. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  51. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  52. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
  53. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
  54. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
  55. package/out/Vector2.sol/Vector2.json +52 -52
  56. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  57. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  58. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  59. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  60. package/out/constants.sol/constants.json +142 -142
  61. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  62. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  63. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  64. package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
  65. package/out/hasKey.sol/hasKey.json +215 -215
  66. package/out/index.sol/index.json +73 -73
  67. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  69. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
  70. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  71. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
  72. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
  73. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  74. package/out/query.sol/query.json +1892 -1892
  75. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  76. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  77. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  78. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  79. package/out/src/IStore.sol/IStore.json +885 -885
  80. package/out/src/IStore.sol/IStoreData.json +885 -885
  81. package/out/src/IStore.sol/IStoreRead.json +885 -885
  82. package/out/src/IStore.sol/IStoreRegistration.json +885 -885
  83. package/out/src/IStore.sol/IStoreWrite.json +885 -885
  84. package/out/src/Memory.sol/Memory.json +89 -89
  85. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  86. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  87. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  88. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  89. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  90. package/out/src/Schema.sol/SchemaLib.json +787 -787
  91. package/out/src/Slice.sol/SliceInstance.json +429 -429
  92. package/out/src/Slice.sol/SliceLib.json +429 -429
  93. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  94. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  95. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  96. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  97. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  98. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  99. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  100. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  101. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  102. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  103. package/out/tables/Tables.sol/Tables.json +7288 -7288
  104. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  105. package/out/types.sol/types.json +131 -23
  106. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  107. package/package.json +8 -8
  108. package/src/interfaces/IBaseWorld.sol +1 -3
  109. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  110. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  111. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  112. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  113. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  114. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  115. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  116. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  117. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  118. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
  119. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  120. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  121. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -252,34 +252,34 @@
252
252
  },
253
253
  "ast": {
254
254
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IWorldKernel.sol",
255
- "id": 33610,
255
+ "id": 33710,
256
256
  "exportedSymbols": {
257
257
  "IModule": [
258
- 33364
258
+ 33477
259
259
  ],
260
260
  "IWorldCall": [
261
- 33578
261
+ 33678
262
262
  ],
263
263
  "IWorldErrors": [
264
- 33535
264
+ 33635
265
265
  ],
266
266
  "IWorldKernel": [
267
- 33609
267
+ 33709
268
268
  ],
269
269
  "IWorldModuleInstallation": [
270
- 33553
270
+ 33653
271
271
  ],
272
272
  "ResourceId": [
273
- 36365
273
+ 36384
274
274
  ]
275
275
  },
276
276
  "nodeType": "SourceUnit",
277
- "src": "32:1869:47",
277
+ "src": "32:1869:48",
278
278
  "nodes": [
279
279
  {
280
- "id": 33537,
280
+ "id": 33637,
281
281
  "nodeType": "PragmaDirective",
282
- "src": "32:25:47",
282
+ "src": "32:25:48",
283
283
  "nodes": [],
284
284
  "literals": [
285
285
  "solidity",
@@ -289,24 +289,24 @@
289
289
  ]
290
290
  },
291
291
  {
292
- "id": 33539,
292
+ "id": 33639,
293
293
  "nodeType": "ImportDirective",
294
- "src": "59:50:47",
294
+ "src": "59:50:48",
295
295
  "nodes": [],
296
296
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IWorldErrors.sol",
297
297
  "file": "./IWorldErrors.sol",
298
298
  "nameLocation": "-1:-1:-1",
299
- "scope": 33610,
300
- "sourceUnit": 33536,
299
+ "scope": 33710,
300
+ "sourceUnit": 33636,
301
301
  "symbolAliases": [
302
302
  {
303
303
  "foreign": {
304
- "id": 33538,
304
+ "id": 33638,
305
305
  "name": "IWorldErrors",
306
306
  "nodeType": "Identifier",
307
307
  "overloadedDeclarations": [],
308
- "referencedDeclaration": 33535,
309
- "src": "68:12:47",
308
+ "referencedDeclaration": 33635,
309
+ "src": "68:12:48",
310
310
  "typeDescriptions": {}
311
311
  },
312
312
  "nameLocation": "-1:-1:-1"
@@ -315,24 +315,24 @@
315
315
  "unitAlias": ""
316
316
  },
317
317
  {
318
- "id": 33541,
318
+ "id": 33641,
319
319
  "nodeType": "ImportDirective",
320
- "src": "110:40:47",
320
+ "src": "110:40:48",
321
321
  "nodes": [],
322
322
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IModule.sol",
323
323
  "file": "./IModule.sol",
324
324
  "nameLocation": "-1:-1:-1",
325
- "scope": 33610,
326
- "sourceUnit": 33365,
325
+ "scope": 33710,
326
+ "sourceUnit": 33478,
327
327
  "symbolAliases": [
328
328
  {
329
329
  "foreign": {
330
- "id": 33540,
330
+ "id": 33640,
331
331
  "name": "IModule",
332
332
  "nodeType": "Identifier",
333
333
  "overloadedDeclarations": [],
334
- "referencedDeclaration": 33364,
335
- "src": "119:7:47",
334
+ "referencedDeclaration": 33477,
335
+ "src": "119:7:48",
336
336
  "typeDescriptions": {}
337
337
  },
338
338
  "nameLocation": "-1:-1:-1"
@@ -341,24 +341,24 @@
341
341
  "unitAlias": ""
342
342
  },
343
343
  {
344
- "id": 33543,
344
+ "id": 33643,
345
345
  "nodeType": "ImportDirective",
346
- "src": "151:52:47",
346
+ "src": "151:52:48",
347
347
  "nodes": [],
348
348
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
349
349
  "file": "../WorldResourceId.sol",
350
350
  "nameLocation": "-1:-1:-1",
351
- "scope": 33610,
351
+ "scope": 33710,
352
352
  "sourceUnit": 33156,
353
353
  "symbolAliases": [
354
354
  {
355
355
  "foreign": {
356
- "id": 33542,
356
+ "id": 33642,
357
357
  "name": "ResourceId",
358
358
  "nodeType": "Identifier",
359
359
  "overloadedDeclarations": [],
360
- "referencedDeclaration": 36365,
361
- "src": "160:10:47",
360
+ "referencedDeclaration": 36384,
361
+ "src": "160:10:48",
362
362
  "typeDescriptions": {}
363
363
  },
364
364
  "nameLocation": "-1:-1:-1"
@@ -367,19 +367,19 @@
367
367
  "unitAlias": ""
368
368
  },
369
369
  {
370
- "id": 33553,
370
+ "id": 33653,
371
371
  "nodeType": "ContractDefinition",
372
- "src": "205:296:47",
372
+ "src": "205:296:48",
373
373
  "nodes": [
374
374
  {
375
- "id": 33552,
375
+ "id": 33652,
376
376
  "nodeType": "FunctionDefinition",
377
- "src": "428:71:47",
377
+ "src": "428:71:48",
378
378
  "nodes": [],
379
379
  "documentation": {
380
- "id": 33544,
380
+ "id": 33644,
381
381
  "nodeType": "StructuredDocumentation",
382
- "src": "244:181:47",
382
+ "src": "244:181:48",
383
383
  "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."
384
384
  },
385
385
  "functionSelector": "af068c9e",
@@ -387,43 +387,43 @@
387
387
  "kind": "function",
388
388
  "modifiers": [],
389
389
  "name": "installRootModule",
390
- "nameLocation": "437:17:47",
390
+ "nameLocation": "437:17:48",
391
391
  "parameters": {
392
- "id": 33550,
392
+ "id": 33650,
393
393
  "nodeType": "ParameterList",
394
394
  "parameters": [
395
395
  {
396
396
  "constant": false,
397
- "id": 33547,
397
+ "id": 33647,
398
398
  "mutability": "mutable",
399
399
  "name": "module",
400
- "nameLocation": "463:6:47",
400
+ "nameLocation": "463:6:48",
401
401
  "nodeType": "VariableDeclaration",
402
- "scope": 33552,
403
- "src": "455:14:47",
402
+ "scope": 33652,
403
+ "src": "455:14:48",
404
404
  "stateVariable": false,
405
405
  "storageLocation": "default",
406
406
  "typeDescriptions": {
407
- "typeIdentifier": "t_contract$_IModule_$33364",
407
+ "typeIdentifier": "t_contract$_IModule_$33477",
408
408
  "typeString": "contract IModule"
409
409
  },
410
410
  "typeName": {
411
- "id": 33546,
411
+ "id": 33646,
412
412
  "nodeType": "UserDefinedTypeName",
413
413
  "pathNode": {
414
- "id": 33545,
414
+ "id": 33645,
415
415
  "name": "IModule",
416
416
  "nameLocations": [
417
- "455:7:47"
417
+ "455:7:48"
418
418
  ],
419
419
  "nodeType": "IdentifierPath",
420
- "referencedDeclaration": 33364,
421
- "src": "455:7:47"
420
+ "referencedDeclaration": 33477,
421
+ "src": "455:7:48"
422
422
  },
423
- "referencedDeclaration": 33364,
424
- "src": "455:7:47",
423
+ "referencedDeclaration": 33477,
424
+ "src": "455:7:48",
425
425
  "typeDescriptions": {
426
- "typeIdentifier": "t_contract$_IModule_$33364",
426
+ "typeIdentifier": "t_contract$_IModule_$33477",
427
427
  "typeString": "contract IModule"
428
428
  }
429
429
  },
@@ -431,13 +431,13 @@
431
431
  },
432
432
  {
433
433
  "constant": false,
434
- "id": 33549,
434
+ "id": 33649,
435
435
  "mutability": "mutable",
436
436
  "name": "args",
437
- "nameLocation": "484:4:47",
437
+ "nameLocation": "484:4:48",
438
438
  "nodeType": "VariableDeclaration",
439
- "scope": 33552,
440
- "src": "471:17:47",
439
+ "scope": 33652,
440
+ "src": "471:17:48",
441
441
  "stateVariable": false,
442
442
  "storageLocation": "memory",
443
443
  "typeDescriptions": {
@@ -445,10 +445,10 @@
445
445
  "typeString": "bytes"
446
446
  },
447
447
  "typeName": {
448
- "id": 33548,
448
+ "id": 33648,
449
449
  "name": "bytes",
450
450
  "nodeType": "ElementaryTypeName",
451
- "src": "471:5:47",
451
+ "src": "471:5:48",
452
452
  "typeDescriptions": {
453
453
  "typeIdentifier": "t_bytes_storage_ptr",
454
454
  "typeString": "bytes"
@@ -457,15 +457,15 @@
457
457
  "visibility": "internal"
458
458
  }
459
459
  ],
460
- "src": "454:35:47"
460
+ "src": "454:35:48"
461
461
  },
462
462
  "returnParameters": {
463
- "id": 33551,
463
+ "id": 33651,
464
464
  "nodeType": "ParameterList",
465
465
  "parameters": [],
466
- "src": "498:0:47"
466
+ "src": "498:0:48"
467
467
  },
468
- "scope": 33553,
468
+ "scope": 33653,
469
469
  "stateMutability": "nonpayable",
470
470
  "virtual": false,
471
471
  "visibility": "external"
@@ -478,28 +478,28 @@
478
478
  "contractKind": "interface",
479
479
  "fullyImplemented": false,
480
480
  "linearizedBaseContracts": [
481
- 33553
481
+ 33653
482
482
  ],
483
483
  "name": "IWorldModuleInstallation",
484
- "nameLocation": "215:24:47",
485
- "scope": 33610,
484
+ "nameLocation": "215:24:48",
485
+ "scope": 33710,
486
486
  "usedErrors": [],
487
487
  "usedEvents": []
488
488
  },
489
489
  {
490
- "id": 33578,
490
+ "id": 33678,
491
491
  "nodeType": "ContractDefinition",
492
- "src": "503:646:47",
492
+ "src": "503:646:48",
493
493
  "nodes": [
494
494
  {
495
- "id": 33564,
495
+ "id": 33664,
496
496
  "nodeType": "FunctionDefinition",
497
- "src": "700:98:47",
497
+ "src": "700:98:48",
498
498
  "nodes": [],
499
499
  "documentation": {
500
- "id": 33554,
500
+ "id": 33654,
501
501
  "nodeType": "StructuredDocumentation",
502
- "src": "528:169:47",
502
+ "src": "528:169:48",
503
503
  "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)."
504
504
  },
505
505
  "functionSelector": "3ae7af08",
@@ -507,43 +507,43 @@
507
507
  "kind": "function",
508
508
  "modifiers": [],
509
509
  "name": "call",
510
- "nameLocation": "709:4:47",
510
+ "nameLocation": "709:4:48",
511
511
  "parameters": {
512
- "id": 33560,
512
+ "id": 33660,
513
513
  "nodeType": "ParameterList",
514
514
  "parameters": [
515
515
  {
516
516
  "constant": false,
517
- "id": 33557,
517
+ "id": 33657,
518
518
  "mutability": "mutable",
519
519
  "name": "systemId",
520
- "nameLocation": "725:8:47",
520
+ "nameLocation": "725:8:48",
521
521
  "nodeType": "VariableDeclaration",
522
- "scope": 33564,
523
- "src": "714:19:47",
522
+ "scope": 33664,
523
+ "src": "714:19:48",
524
524
  "stateVariable": false,
525
525
  "storageLocation": "default",
526
526
  "typeDescriptions": {
527
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
527
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
528
528
  "typeString": "ResourceId"
529
529
  },
530
530
  "typeName": {
531
- "id": 33556,
531
+ "id": 33656,
532
532
  "nodeType": "UserDefinedTypeName",
533
533
  "pathNode": {
534
- "id": 33555,
534
+ "id": 33655,
535
535
  "name": "ResourceId",
536
536
  "nameLocations": [
537
- "714:10:47"
537
+ "714:10:48"
538
538
  ],
539
539
  "nodeType": "IdentifierPath",
540
- "referencedDeclaration": 36365,
541
- "src": "714:10:47"
540
+ "referencedDeclaration": 36384,
541
+ "src": "714:10:48"
542
542
  },
543
- "referencedDeclaration": 36365,
544
- "src": "714:10:47",
543
+ "referencedDeclaration": 36384,
544
+ "src": "714:10:48",
545
545
  "typeDescriptions": {
546
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
546
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
547
547
  "typeString": "ResourceId"
548
548
  }
549
549
  },
@@ -551,13 +551,13 @@
551
551
  },
552
552
  {
553
553
  "constant": false,
554
- "id": 33559,
554
+ "id": 33659,
555
555
  "mutability": "mutable",
556
556
  "name": "callData",
557
- "nameLocation": "748:8:47",
557
+ "nameLocation": "748:8:48",
558
558
  "nodeType": "VariableDeclaration",
559
- "scope": 33564,
560
- "src": "735:21:47",
559
+ "scope": 33664,
560
+ "src": "735:21:48",
561
561
  "stateVariable": false,
562
562
  "storageLocation": "memory",
563
563
  "typeDescriptions": {
@@ -565,10 +565,10 @@
565
565
  "typeString": "bytes"
566
566
  },
567
567
  "typeName": {
568
- "id": 33558,
568
+ "id": 33658,
569
569
  "name": "bytes",
570
570
  "nodeType": "ElementaryTypeName",
571
- "src": "735:5:47",
571
+ "src": "735:5:48",
572
572
  "typeDescriptions": {
573
573
  "typeIdentifier": "t_bytes_storage_ptr",
574
574
  "typeString": "bytes"
@@ -577,21 +577,21 @@
577
577
  "visibility": "internal"
578
578
  }
579
579
  ],
580
- "src": "713:44:47"
580
+ "src": "713:44:48"
581
581
  },
582
582
  "returnParameters": {
583
- "id": 33563,
583
+ "id": 33663,
584
584
  "nodeType": "ParameterList",
585
585
  "parameters": [
586
586
  {
587
587
  "constant": false,
588
- "id": 33562,
588
+ "id": 33662,
589
589
  "mutability": "mutable",
590
590
  "name": "",
591
591
  "nameLocation": "-1:-1:-1",
592
592
  "nodeType": "VariableDeclaration",
593
- "scope": 33564,
594
- "src": "784:12:47",
593
+ "scope": 33664,
594
+ "src": "784:12:48",
595
595
  "stateVariable": false,
596
596
  "storageLocation": "memory",
597
597
  "typeDescriptions": {
@@ -599,10 +599,10 @@
599
599
  "typeString": "bytes"
600
600
  },
601
601
  "typeName": {
602
- "id": 33561,
602
+ "id": 33661,
603
603
  "name": "bytes",
604
604
  "nodeType": "ElementaryTypeName",
605
- "src": "784:5:47",
605
+ "src": "784:5:48",
606
606
  "typeDescriptions": {
607
607
  "typeIdentifier": "t_bytes_storage_ptr",
608
608
  "typeString": "bytes"
@@ -611,22 +611,22 @@
611
611
  "visibility": "internal"
612
612
  }
613
613
  ],
614
- "src": "783:14:47"
614
+ "src": "783:14:48"
615
615
  },
616
- "scope": 33578,
616
+ "scope": 33678,
617
617
  "stateMutability": "payable",
618
618
  "virtual": false,
619
619
  "visibility": "external"
620
620
  },
621
621
  {
622
- "id": 33577,
622
+ "id": 33677,
623
623
  "nodeType": "FunctionDefinition",
624
- "src": "1010:137:47",
624
+ "src": "1010:137:48",
625
625
  "nodes": [],
626
626
  "documentation": {
627
- "id": 33565,
627
+ "id": 33665,
628
628
  "nodeType": "StructuredDocumentation",
629
- "src": "802:205:47",
629
+ "src": "802:205:48",
630
630
  "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)."
631
631
  },
632
632
  "functionSelector": "894ecc58",
@@ -634,20 +634,20 @@
634
634
  "kind": "function",
635
635
  "modifiers": [],
636
636
  "name": "callFrom",
637
- "nameLocation": "1019:8:47",
637
+ "nameLocation": "1019:8:48",
638
638
  "parameters": {
639
- "id": 33573,
639
+ "id": 33673,
640
640
  "nodeType": "ParameterList",
641
641
  "parameters": [
642
642
  {
643
643
  "constant": false,
644
- "id": 33567,
644
+ "id": 33667,
645
645
  "mutability": "mutable",
646
646
  "name": "delegator",
647
- "nameLocation": "1041:9:47",
647
+ "nameLocation": "1041:9:48",
648
648
  "nodeType": "VariableDeclaration",
649
- "scope": 33577,
650
- "src": "1033:17:47",
649
+ "scope": 33677,
650
+ "src": "1033:17:48",
651
651
  "stateVariable": false,
652
652
  "storageLocation": "default",
653
653
  "typeDescriptions": {
@@ -655,10 +655,10 @@
655
655
  "typeString": "address"
656
656
  },
657
657
  "typeName": {
658
- "id": 33566,
658
+ "id": 33666,
659
659
  "name": "address",
660
660
  "nodeType": "ElementaryTypeName",
661
- "src": "1033:7:47",
661
+ "src": "1033:7:48",
662
662
  "stateMutability": "nonpayable",
663
663
  "typeDescriptions": {
664
664
  "typeIdentifier": "t_address",
@@ -669,36 +669,36 @@
669
669
  },
670
670
  {
671
671
  "constant": false,
672
- "id": 33570,
672
+ "id": 33670,
673
673
  "mutability": "mutable",
674
674
  "name": "systemId",
675
- "nameLocation": "1067:8:47",
675
+ "nameLocation": "1067:8:48",
676
676
  "nodeType": "VariableDeclaration",
677
- "scope": 33577,
678
- "src": "1056:19:47",
677
+ "scope": 33677,
678
+ "src": "1056:19:48",
679
679
  "stateVariable": false,
680
680
  "storageLocation": "default",
681
681
  "typeDescriptions": {
682
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
682
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
683
683
  "typeString": "ResourceId"
684
684
  },
685
685
  "typeName": {
686
- "id": 33569,
686
+ "id": 33669,
687
687
  "nodeType": "UserDefinedTypeName",
688
688
  "pathNode": {
689
- "id": 33568,
689
+ "id": 33668,
690
690
  "name": "ResourceId",
691
691
  "nameLocations": [
692
- "1056:10:47"
692
+ "1056:10:48"
693
693
  ],
694
694
  "nodeType": "IdentifierPath",
695
- "referencedDeclaration": 36365,
696
- "src": "1056:10:47"
695
+ "referencedDeclaration": 36384,
696
+ "src": "1056:10:48"
697
697
  },
698
- "referencedDeclaration": 36365,
699
- "src": "1056:10:47",
698
+ "referencedDeclaration": 36384,
699
+ "src": "1056:10:48",
700
700
  "typeDescriptions": {
701
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
701
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
702
702
  "typeString": "ResourceId"
703
703
  }
704
704
  },
@@ -706,13 +706,13 @@
706
706
  },
707
707
  {
708
708
  "constant": false,
709
- "id": 33572,
709
+ "id": 33672,
710
710
  "mutability": "mutable",
711
711
  "name": "callData",
712
- "nameLocation": "1094:8:47",
712
+ "nameLocation": "1094:8:48",
713
713
  "nodeType": "VariableDeclaration",
714
- "scope": 33577,
715
- "src": "1081:21:47",
714
+ "scope": 33677,
715
+ "src": "1081:21:48",
716
716
  "stateVariable": false,
717
717
  "storageLocation": "memory",
718
718
  "typeDescriptions": {
@@ -720,10 +720,10 @@
720
720
  "typeString": "bytes"
721
721
  },
722
722
  "typeName": {
723
- "id": 33571,
723
+ "id": 33671,
724
724
  "name": "bytes",
725
725
  "nodeType": "ElementaryTypeName",
726
- "src": "1081:5:47",
726
+ "src": "1081:5:48",
727
727
  "typeDescriptions": {
728
728
  "typeIdentifier": "t_bytes_storage_ptr",
729
729
  "typeString": "bytes"
@@ -732,21 +732,21 @@
732
732
  "visibility": "internal"
733
733
  }
734
734
  ],
735
- "src": "1027:79:47"
735
+ "src": "1027:79:48"
736
736
  },
737
737
  "returnParameters": {
738
- "id": 33576,
738
+ "id": 33676,
739
739
  "nodeType": "ParameterList",
740
740
  "parameters": [
741
741
  {
742
742
  "constant": false,
743
- "id": 33575,
743
+ "id": 33675,
744
744
  "mutability": "mutable",
745
745
  "name": "",
746
746
  "nameLocation": "-1:-1:-1",
747
747
  "nodeType": "VariableDeclaration",
748
- "scope": 33577,
749
- "src": "1133:12:47",
748
+ "scope": 33677,
749
+ "src": "1133:12:48",
750
750
  "stateVariable": false,
751
751
  "storageLocation": "memory",
752
752
  "typeDescriptions": {
@@ -754,10 +754,10 @@
754
754
  "typeString": "bytes"
755
755
  },
756
756
  "typeName": {
757
- "id": 33574,
757
+ "id": 33674,
758
758
  "name": "bytes",
759
759
  "nodeType": "ElementaryTypeName",
760
- "src": "1133:5:47",
760
+ "src": "1133:5:48",
761
761
  "typeDescriptions": {
762
762
  "typeIdentifier": "t_bytes_storage_ptr",
763
763
  "typeString": "bytes"
@@ -766,9 +766,9 @@
766
766
  "visibility": "internal"
767
767
  }
768
768
  ],
769
- "src": "1132:14:47"
769
+ "src": "1132:14:48"
770
770
  },
771
- "scope": 33578,
771
+ "scope": 33678,
772
772
  "stateMutability": "payable",
773
773
  "virtual": false,
774
774
  "visibility": "external"
@@ -781,42 +781,42 @@
781
781
  "contractKind": "interface",
782
782
  "fullyImplemented": false,
783
783
  "linearizedBaseContracts": [
784
- 33578
784
+ 33678
785
785
  ],
786
786
  "name": "IWorldCall",
787
- "nameLocation": "513:10:47",
788
- "scope": 33610,
787
+ "nameLocation": "513:10:48",
788
+ "scope": 33710,
789
789
  "usedErrors": [],
790
790
  "usedEvents": []
791
791
  },
792
792
  {
793
- "id": 33609,
793
+ "id": 33709,
794
794
  "nodeType": "ContractDefinition",
795
- "src": "1417:483:47",
795
+ "src": "1417:483:48",
796
796
  "nodes": [
797
797
  {
798
- "id": 33589,
798
+ "id": 33689,
799
799
  "nodeType": "EventDefinition",
800
- "src": "1498:47:47",
800
+ "src": "1498:47:48",
801
801
  "nodes": [],
802
802
  "anonymous": false,
803
803
  "eventSelector": "7f8f36afe3fb61c459c1a54a60b8a477eab02cc58e49f547561a40906239cb82",
804
804
  "name": "HelloWorld",
805
- "nameLocation": "1504:10:47",
805
+ "nameLocation": "1504:10:48",
806
806
  "parameters": {
807
- "id": 33588,
807
+ "id": 33688,
808
808
  "nodeType": "ParameterList",
809
809
  "parameters": [
810
810
  {
811
811
  "constant": false,
812
- "id": 33587,
812
+ "id": 33687,
813
813
  "indexed": true,
814
814
  "mutability": "mutable",
815
815
  "name": "worldVersion",
816
- "nameLocation": "1531:12:47",
816
+ "nameLocation": "1531:12:48",
817
817
  "nodeType": "VariableDeclaration",
818
- "scope": 33589,
819
- "src": "1515:28:47",
818
+ "scope": 33689,
819
+ "src": "1515:28:48",
820
820
  "stateVariable": false,
821
821
  "storageLocation": "default",
822
822
  "typeDescriptions": {
@@ -824,10 +824,10 @@
824
824
  "typeString": "bytes32"
825
825
  },
826
826
  "typeName": {
827
- "id": 33586,
827
+ "id": 33686,
828
828
  "name": "bytes32",
829
829
  "nodeType": "ElementaryTypeName",
830
- "src": "1515:7:47",
830
+ "src": "1515:7:48",
831
831
  "typeDescriptions": {
832
832
  "typeIdentifier": "t_bytes32",
833
833
  "typeString": "bytes32"
@@ -836,18 +836,18 @@
836
836
  "visibility": "internal"
837
837
  }
838
838
  ],
839
- "src": "1514:30:47"
839
+ "src": "1514:30:48"
840
840
  }
841
841
  },
842
842
  {
843
- "id": 33595,
843
+ "id": 33695,
844
844
  "nodeType": "FunctionDefinition",
845
- "src": "1592:56:47",
845
+ "src": "1592:56:48",
846
846
  "nodes": [],
847
847
  "documentation": {
848
- "id": 33590,
848
+ "id": 33690,
849
849
  "nodeType": "StructuredDocumentation",
850
- "src": "1549:40:47",
850
+ "src": "1549:40:48",
851
851
  "text": " The version of the World."
852
852
  },
853
853
  "functionSelector": "6951955d",
@@ -855,26 +855,26 @@
855
855
  "kind": "function",
856
856
  "modifiers": [],
857
857
  "name": "worldVersion",
858
- "nameLocation": "1601:12:47",
858
+ "nameLocation": "1601:12:48",
859
859
  "parameters": {
860
- "id": 33591,
860
+ "id": 33691,
861
861
  "nodeType": "ParameterList",
862
862
  "parameters": [],
863
- "src": "1613:2:47"
863
+ "src": "1613:2:48"
864
864
  },
865
865
  "returnParameters": {
866
- "id": 33594,
866
+ "id": 33694,
867
867
  "nodeType": "ParameterList",
868
868
  "parameters": [
869
869
  {
870
870
  "constant": false,
871
- "id": 33593,
871
+ "id": 33693,
872
872
  "mutability": "mutable",
873
873
  "name": "",
874
874
  "nameLocation": "-1:-1:-1",
875
875
  "nodeType": "VariableDeclaration",
876
- "scope": 33595,
877
- "src": "1639:7:47",
876
+ "scope": 33695,
877
+ "src": "1639:7:48",
878
878
  "stateVariable": false,
879
879
  "storageLocation": "default",
880
880
  "typeDescriptions": {
@@ -882,10 +882,10 @@
882
882
  "typeString": "bytes32"
883
883
  },
884
884
  "typeName": {
885
- "id": 33592,
885
+ "id": 33692,
886
886
  "name": "bytes32",
887
887
  "nodeType": "ElementaryTypeName",
888
- "src": "1639:7:47",
888
+ "src": "1639:7:48",
889
889
  "typeDescriptions": {
890
890
  "typeIdentifier": "t_bytes32",
891
891
  "typeString": "bytes32"
@@ -894,22 +894,22 @@
894
894
  "visibility": "internal"
895
895
  }
896
896
  ],
897
- "src": "1638:9:47"
897
+ "src": "1638:9:48"
898
898
  },
899
- "scope": 33609,
899
+ "scope": 33709,
900
900
  "stateMutability": "view",
901
901
  "virtual": false,
902
902
  "visibility": "external"
903
903
  },
904
904
  {
905
- "id": 33601,
905
+ "id": 33701,
906
906
  "nodeType": "FunctionDefinition",
907
- "src": "1715:51:47",
907
+ "src": "1715:51:48",
908
908
  "nodes": [],
909
909
  "documentation": {
910
- "id": 33596,
910
+ "id": 33696,
911
911
  "nodeType": "StructuredDocumentation",
912
- "src": "1652:60:47",
912
+ "src": "1652:60:48",
913
913
  "text": " The immutable original deployer of the World."
914
914
  },
915
915
  "functionSelector": "02d05d3f",
@@ -917,26 +917,26 @@
917
917
  "kind": "function",
918
918
  "modifiers": [],
919
919
  "name": "creator",
920
- "nameLocation": "1724:7:47",
920
+ "nameLocation": "1724:7:48",
921
921
  "parameters": {
922
- "id": 33597,
922
+ "id": 33697,
923
923
  "nodeType": "ParameterList",
924
924
  "parameters": [],
925
- "src": "1731:2:47"
925
+ "src": "1731:2:48"
926
926
  },
927
927
  "returnParameters": {
928
- "id": 33600,
928
+ "id": 33700,
929
929
  "nodeType": "ParameterList",
930
930
  "parameters": [
931
931
  {
932
932
  "constant": false,
933
- "id": 33599,
933
+ "id": 33699,
934
934
  "mutability": "mutable",
935
935
  "name": "",
936
936
  "nameLocation": "-1:-1:-1",
937
937
  "nodeType": "VariableDeclaration",
938
- "scope": 33601,
939
- "src": "1757:7:47",
938
+ "scope": 33701,
939
+ "src": "1757:7:48",
940
940
  "stateVariable": false,
941
941
  "storageLocation": "default",
942
942
  "typeDescriptions": {
@@ -944,10 +944,10 @@
944
944
  "typeString": "address"
945
945
  },
946
946
  "typeName": {
947
- "id": 33598,
947
+ "id": 33698,
948
948
  "name": "address",
949
949
  "nodeType": "ElementaryTypeName",
950
- "src": "1757:7:47",
950
+ "src": "1757:7:48",
951
951
  "stateMutability": "nonpayable",
952
952
  "typeDescriptions": {
953
953
  "typeIdentifier": "t_address",
@@ -957,22 +957,22 @@
957
957
  "visibility": "internal"
958
958
  }
959
959
  ],
960
- "src": "1756:9:47"
960
+ "src": "1756:9:48"
961
961
  },
962
- "scope": 33609,
962
+ "scope": 33709,
963
963
  "stateMutability": "view",
964
964
  "virtual": false,
965
965
  "visibility": "external"
966
966
  },
967
967
  {
968
- "id": 33608,
968
+ "id": 33708,
969
969
  "nodeType": "FunctionDefinition",
970
- "src": "1849:49:47",
970
+ "src": "1849:49:48",
971
971
  "nodes": [],
972
972
  "documentation": {
973
- "id": 33602,
973
+ "id": 33702,
974
974
  "nodeType": "StructuredDocumentation",
975
- "src": "1770:76:47",
975
+ "src": "1770:76:48",
976
976
  "text": " Allows the creator of the World to initialize the World once."
977
977
  },
978
978
  "functionSelector": "c4d66de8",
@@ -980,58 +980,58 @@
980
980
  "kind": "function",
981
981
  "modifiers": [],
982
982
  "name": "initialize",
983
- "nameLocation": "1858:10:47",
983
+ "nameLocation": "1858:10:48",
984
984
  "parameters": {
985
- "id": 33606,
985
+ "id": 33706,
986
986
  "nodeType": "ParameterList",
987
987
  "parameters": [
988
988
  {
989
989
  "constant": false,
990
- "id": 33605,
990
+ "id": 33705,
991
991
  "mutability": "mutable",
992
992
  "name": "coreModule",
993
- "nameLocation": "1877:10:47",
993
+ "nameLocation": "1877:10:48",
994
994
  "nodeType": "VariableDeclaration",
995
- "scope": 33608,
996
- "src": "1869:18:47",
995
+ "scope": 33708,
996
+ "src": "1869:18:48",
997
997
  "stateVariable": false,
998
998
  "storageLocation": "default",
999
999
  "typeDescriptions": {
1000
- "typeIdentifier": "t_contract$_IModule_$33364",
1000
+ "typeIdentifier": "t_contract$_IModule_$33477",
1001
1001
  "typeString": "contract IModule"
1002
1002
  },
1003
1003
  "typeName": {
1004
- "id": 33604,
1004
+ "id": 33704,
1005
1005
  "nodeType": "UserDefinedTypeName",
1006
1006
  "pathNode": {
1007
- "id": 33603,
1007
+ "id": 33703,
1008
1008
  "name": "IModule",
1009
1009
  "nameLocations": [
1010
- "1869:7:47"
1010
+ "1869:7:48"
1011
1011
  ],
1012
1012
  "nodeType": "IdentifierPath",
1013
- "referencedDeclaration": 33364,
1014
- "src": "1869:7:47"
1013
+ "referencedDeclaration": 33477,
1014
+ "src": "1869:7:48"
1015
1015
  },
1016
- "referencedDeclaration": 33364,
1017
- "src": "1869:7:47",
1016
+ "referencedDeclaration": 33477,
1017
+ "src": "1869:7:48",
1018
1018
  "typeDescriptions": {
1019
- "typeIdentifier": "t_contract$_IModule_$33364",
1019
+ "typeIdentifier": "t_contract$_IModule_$33477",
1020
1020
  "typeString": "contract IModule"
1021
1021
  }
1022
1022
  },
1023
1023
  "visibility": "internal"
1024
1024
  }
1025
1025
  ],
1026
- "src": "1868:20:47"
1026
+ "src": "1868:20:48"
1027
1027
  },
1028
1028
  "returnParameters": {
1029
- "id": 33607,
1029
+ "id": 33707,
1030
1030
  "nodeType": "ParameterList",
1031
1031
  "parameters": [],
1032
- "src": "1897:0:47"
1032
+ "src": "1897:0:48"
1033
1033
  },
1034
- "scope": 33609,
1034
+ "scope": 33709,
1035
1035
  "stateMutability": "nonpayable",
1036
1036
  "virtual": false,
1037
1037
  "visibility": "external"
@@ -1041,91 +1041,91 @@
1041
1041
  "baseContracts": [
1042
1042
  {
1043
1043
  "baseName": {
1044
- "id": 33580,
1044
+ "id": 33680,
1045
1045
  "name": "IWorldModuleInstallation",
1046
1046
  "nameLocations": [
1047
- "1443:24:47"
1047
+ "1443:24:48"
1048
1048
  ],
1049
1049
  "nodeType": "IdentifierPath",
1050
- "referencedDeclaration": 33553,
1051
- "src": "1443:24:47"
1050
+ "referencedDeclaration": 33653,
1051
+ "src": "1443:24:48"
1052
1052
  },
1053
- "id": 33581,
1053
+ "id": 33681,
1054
1054
  "nodeType": "InheritanceSpecifier",
1055
- "src": "1443:24:47"
1055
+ "src": "1443:24:48"
1056
1056
  },
1057
1057
  {
1058
1058
  "baseName": {
1059
- "id": 33582,
1059
+ "id": 33682,
1060
1060
  "name": "IWorldCall",
1061
1061
  "nameLocations": [
1062
- "1469:10:47"
1062
+ "1469:10:48"
1063
1063
  ],
1064
1064
  "nodeType": "IdentifierPath",
1065
- "referencedDeclaration": 33578,
1066
- "src": "1469:10:47"
1065
+ "referencedDeclaration": 33678,
1066
+ "src": "1469:10:48"
1067
1067
  },
1068
- "id": 33583,
1068
+ "id": 33683,
1069
1069
  "nodeType": "InheritanceSpecifier",
1070
- "src": "1469:10:47"
1070
+ "src": "1469:10:48"
1071
1071
  },
1072
1072
  {
1073
1073
  "baseName": {
1074
- "id": 33584,
1074
+ "id": 33684,
1075
1075
  "name": "IWorldErrors",
1076
1076
  "nameLocations": [
1077
- "1481:12:47"
1077
+ "1481:12:48"
1078
1078
  ],
1079
1079
  "nodeType": "IdentifierPath",
1080
- "referencedDeclaration": 33535,
1081
- "src": "1481:12:47"
1080
+ "referencedDeclaration": 33635,
1081
+ "src": "1481:12:48"
1082
1082
  },
1083
- "id": 33585,
1083
+ "id": 33685,
1084
1084
  "nodeType": "InheritanceSpecifier",
1085
- "src": "1481:12:47"
1085
+ "src": "1481:12:48"
1086
1086
  }
1087
1087
  ],
1088
1088
  "canonicalName": "IWorldKernel",
1089
1089
  "contractDependencies": [],
1090
1090
  "contractKind": "interface",
1091
1091
  "documentation": {
1092
- "id": 33579,
1092
+ "id": 33679,
1093
1093
  "nodeType": "StructuredDocumentation",
1094
- "src": "1151:265:47",
1094
+ "src": "1151:265:48",
1095
1095
  "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`."
1096
1096
  },
1097
1097
  "fullyImplemented": false,
1098
1098
  "linearizedBaseContracts": [
1099
- 33609,
1100
- 33535,
1101
- 33578,
1102
- 33553
1099
+ 33709,
1100
+ 33635,
1101
+ 33678,
1102
+ 33653
1103
1103
  ],
1104
1104
  "name": "IWorldKernel",
1105
- "nameLocation": "1427:12:47",
1106
- "scope": 33610,
1105
+ "nameLocation": "1427:12:48",
1106
+ "scope": 33710,
1107
1107
  "usedErrors": [
1108
- 33462,
1109
- 33469,
1110
- 33476,
1111
- 33482,
1112
- 33489,
1113
- 33493,
1114
- 33497,
1115
- 33501,
1116
- 33507,
1117
- 33509,
1118
- 33515,
1119
- 33521,
1120
- 33530,
1121
- 33534
1108
+ 33562,
1109
+ 33569,
1110
+ 33576,
1111
+ 33582,
1112
+ 33589,
1113
+ 33593,
1114
+ 33597,
1115
+ 33601,
1116
+ 33607,
1117
+ 33609,
1118
+ 33615,
1119
+ 33621,
1120
+ 33630,
1121
+ 33634
1122
1122
  ],
1123
1123
  "usedEvents": [
1124
- 33589
1124
+ 33689
1125
1125
  ]
1126
1126
  }
1127
1127
  ],
1128
1128
  "license": "MIT"
1129
1129
  },
1130
- "id": 47
1130
+ "id": 48
1131
1131
  }