@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-c4f49240

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 (104) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/Callbacks.sol/Callbacks.json +45 -45
  3. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  4. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  5. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  6. package/out/Hooks.sol/Hooks.json +45 -45
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  9. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  10. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  13. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  14. package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
  15. package/out/IModule.sol/IModule.json +76 -76
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  17. package/out/ISystemHook.sol/ISystemHook.json +82 -82
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  19. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
  20. package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
  21. package/out/IWorldKernel.sol/IWorldCall.json +149 -149
  22. package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
  23. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  24. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
  25. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  26. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  27. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  28. package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
  29. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  30. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
  31. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
  32. package/out/Mixed.sol/Mixed.json +66 -66
  33. package/out/Module.sol/Module.json +73 -73
  34. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  35. package/out/Schema.sol/SchemaInstance.json +30 -30
  36. package/out/Schema.sol/SchemaLib.json +30 -30
  37. package/out/SchemaType.sol/SchemaType.json +276 -276
  38. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
  39. package/out/StoreHook.sol/StoreHook.json +358 -358
  40. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  41. package/out/System.sol/System.json +18 -18
  42. package/out/Tables.sol/Tables.json +73 -73
  43. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  44. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  45. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  46. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
  47. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  48. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  49. package/out/Vector2.sol/Vector2.json +52 -52
  50. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  51. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  52. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  53. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  54. package/out/constants.sol/constants.json +85 -85
  55. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  56. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  57. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  58. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  59. package/out/hasKey.sol/hasKey.json +130 -130
  60. package/out/index.sol/index.json +53 -53
  61. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  62. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  63. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
  64. package/out/interfaces/IERC165.sol/IERC165.json +27 -27
  65. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
  66. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
  67. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
  68. package/out/query.sol/query.json +1154 -1154
  69. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  70. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  71. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  72. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  73. package/out/src/IStore.sol/IStore.json +886 -886
  74. package/out/src/IStore.sol/IStoreData.json +886 -886
  75. package/out/src/IStore.sol/IStoreRead.json +886 -886
  76. package/out/src/IStore.sol/IStoreRegistration.json +886 -886
  77. package/out/src/IStore.sol/IStoreWrite.json +886 -886
  78. package/out/src/Memory.sol/Memory.json +89 -89
  79. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  80. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  81. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  82. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  83. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  84. package/out/src/Schema.sol/SchemaLib.json +787 -787
  85. package/out/src/Slice.sol/SliceInstance.json +429 -429
  86. package/out/src/Slice.sol/SliceLib.json +429 -429
  87. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  88. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  89. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  90. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  91. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  92. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  93. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  94. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  95. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  96. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  97. package/out/tables/Tables.sol/Tables.json +7288 -7288
  98. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  99. package/out/types.sol/types.json +131 -23
  100. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  101. package/package.json +8 -8
  102. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  103. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  104. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -252,32 +252,32 @@
252
252
  },
253
253
  "ast": {
254
254
  "absolutePath": "node_modules/@latticexyz/world/src/interfaces/IWorldKernel.sol",
255
- "id": 49364,
255
+ "id": 49383,
256
256
  "exportedSymbols": {
257
257
  "IModule": [
258
- 70924
258
+ 70943
259
259
  ],
260
260
  "IWorldCall": [
261
- 49332
261
+ 49351
262
262
  ],
263
263
  "IWorldErrors": [
264
- 71178
264
+ 71208
265
265
  ],
266
266
  "IWorldKernel": [
267
- 49363
267
+ 49382
268
268
  ],
269
269
  "IWorldModuleInstallation": [
270
- 49307
270
+ 49326
271
271
  ],
272
272
  "ResourceId": [
273
- 36365
273
+ 36384
274
274
  ]
275
275
  },
276
276
  "nodeType": "SourceUnit",
277
277
  "src": "32:1869:106",
278
278
  "nodes": [
279
279
  {
280
- "id": 49291,
280
+ "id": 49310,
281
281
  "nodeType": "PragmaDirective",
282
282
  "src": "32:25:106",
283
283
  "nodes": [],
@@ -289,23 +289,23 @@
289
289
  ]
290
290
  },
291
291
  {
292
- "id": 49293,
292
+ "id": 49312,
293
293
  "nodeType": "ImportDirective",
294
294
  "src": "59:50:106",
295
295
  "nodes": [],
296
296
  "absolutePath": "node_modules/@latticexyz/world/src/interfaces/IWorldErrors.sol",
297
297
  "file": "./IWorldErrors.sol",
298
298
  "nameLocation": "-1:-1:-1",
299
- "scope": 49364,
300
- "sourceUnit": 71179,
299
+ "scope": 49383,
300
+ "sourceUnit": 71209,
301
301
  "symbolAliases": [
302
302
  {
303
303
  "foreign": {
304
- "id": 49292,
304
+ "id": 49311,
305
305
  "name": "IWorldErrors",
306
306
  "nodeType": "Identifier",
307
307
  "overloadedDeclarations": [],
308
- "referencedDeclaration": 71178,
308
+ "referencedDeclaration": 71208,
309
309
  "src": "68:12:106",
310
310
  "typeDescriptions": {}
311
311
  },
@@ -315,23 +315,23 @@
315
315
  "unitAlias": ""
316
316
  },
317
317
  {
318
- "id": 49295,
318
+ "id": 49314,
319
319
  "nodeType": "ImportDirective",
320
320
  "src": "110:40:106",
321
321
  "nodes": [],
322
322
  "absolutePath": "node_modules/@latticexyz/world/src/interfaces/IModule.sol",
323
323
  "file": "./IModule.sol",
324
324
  "nameLocation": "-1:-1:-1",
325
- "scope": 49364,
326
- "sourceUnit": 70925,
325
+ "scope": 49383,
326
+ "sourceUnit": 70944,
327
327
  "symbolAliases": [
328
328
  {
329
329
  "foreign": {
330
- "id": 49294,
330
+ "id": 49313,
331
331
  "name": "IModule",
332
332
  "nodeType": "Identifier",
333
333
  "overloadedDeclarations": [],
334
- "referencedDeclaration": 70924,
334
+ "referencedDeclaration": 70943,
335
335
  "src": "119:7:106",
336
336
  "typeDescriptions": {}
337
337
  },
@@ -341,23 +341,23 @@
341
341
  "unitAlias": ""
342
342
  },
343
343
  {
344
- "id": 49297,
344
+ "id": 49316,
345
345
  "nodeType": "ImportDirective",
346
346
  "src": "151:52:106",
347
347
  "nodes": [],
348
348
  "absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
349
349
  "file": "../WorldResourceId.sol",
350
350
  "nameLocation": "-1:-1:-1",
351
- "scope": 49364,
352
- "sourceUnit": 49208,
351
+ "scope": 49383,
352
+ "sourceUnit": 49227,
353
353
  "symbolAliases": [
354
354
  {
355
355
  "foreign": {
356
- "id": 49296,
356
+ "id": 49315,
357
357
  "name": "ResourceId",
358
358
  "nodeType": "Identifier",
359
359
  "overloadedDeclarations": [],
360
- "referencedDeclaration": 36365,
360
+ "referencedDeclaration": 36384,
361
361
  "src": "160:10:106",
362
362
  "typeDescriptions": {}
363
363
  },
@@ -367,17 +367,17 @@
367
367
  "unitAlias": ""
368
368
  },
369
369
  {
370
- "id": 49307,
370
+ "id": 49326,
371
371
  "nodeType": "ContractDefinition",
372
372
  "src": "205:296:106",
373
373
  "nodes": [
374
374
  {
375
- "id": 49306,
375
+ "id": 49325,
376
376
  "nodeType": "FunctionDefinition",
377
377
  "src": "428:71:106",
378
378
  "nodes": [],
379
379
  "documentation": {
380
- "id": 49298,
380
+ "id": 49317,
381
381
  "nodeType": "StructuredDocumentation",
382
382
  "src": "244:181:106",
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."
@@ -389,41 +389,41 @@
389
389
  "name": "installRootModule",
390
390
  "nameLocation": "437:17:106",
391
391
  "parameters": {
392
- "id": 49304,
392
+ "id": 49323,
393
393
  "nodeType": "ParameterList",
394
394
  "parameters": [
395
395
  {
396
396
  "constant": false,
397
- "id": 49301,
397
+ "id": 49320,
398
398
  "mutability": "mutable",
399
399
  "name": "module",
400
400
  "nameLocation": "463:6:106",
401
401
  "nodeType": "VariableDeclaration",
402
- "scope": 49306,
402
+ "scope": 49325,
403
403
  "src": "455:14:106",
404
404
  "stateVariable": false,
405
405
  "storageLocation": "default",
406
406
  "typeDescriptions": {
407
- "typeIdentifier": "t_contract$_IModule_$70924",
407
+ "typeIdentifier": "t_contract$_IModule_$70943",
408
408
  "typeString": "contract IModule"
409
409
  },
410
410
  "typeName": {
411
- "id": 49300,
411
+ "id": 49319,
412
412
  "nodeType": "UserDefinedTypeName",
413
413
  "pathNode": {
414
- "id": 49299,
414
+ "id": 49318,
415
415
  "name": "IModule",
416
416
  "nameLocations": [
417
417
  "455:7:106"
418
418
  ],
419
419
  "nodeType": "IdentifierPath",
420
- "referencedDeclaration": 70924,
420
+ "referencedDeclaration": 70943,
421
421
  "src": "455:7:106"
422
422
  },
423
- "referencedDeclaration": 70924,
423
+ "referencedDeclaration": 70943,
424
424
  "src": "455:7:106",
425
425
  "typeDescriptions": {
426
- "typeIdentifier": "t_contract$_IModule_$70924",
426
+ "typeIdentifier": "t_contract$_IModule_$70943",
427
427
  "typeString": "contract IModule"
428
428
  }
429
429
  },
@@ -431,12 +431,12 @@
431
431
  },
432
432
  {
433
433
  "constant": false,
434
- "id": 49303,
434
+ "id": 49322,
435
435
  "mutability": "mutable",
436
436
  "name": "args",
437
437
  "nameLocation": "484:4:106",
438
438
  "nodeType": "VariableDeclaration",
439
- "scope": 49306,
439
+ "scope": 49325,
440
440
  "src": "471:17:106",
441
441
  "stateVariable": false,
442
442
  "storageLocation": "memory",
@@ -445,7 +445,7 @@
445
445
  "typeString": "bytes"
446
446
  },
447
447
  "typeName": {
448
- "id": 49302,
448
+ "id": 49321,
449
449
  "name": "bytes",
450
450
  "nodeType": "ElementaryTypeName",
451
451
  "src": "471:5:106",
@@ -460,12 +460,12 @@
460
460
  "src": "454:35:106"
461
461
  },
462
462
  "returnParameters": {
463
- "id": 49305,
463
+ "id": 49324,
464
464
  "nodeType": "ParameterList",
465
465
  "parameters": [],
466
466
  "src": "498:0:106"
467
467
  },
468
- "scope": 49307,
468
+ "scope": 49326,
469
469
  "stateMutability": "nonpayable",
470
470
  "virtual": false,
471
471
  "visibility": "external"
@@ -478,26 +478,26 @@
478
478
  "contractKind": "interface",
479
479
  "fullyImplemented": false,
480
480
  "linearizedBaseContracts": [
481
- 49307
481
+ 49326
482
482
  ],
483
483
  "name": "IWorldModuleInstallation",
484
484
  "nameLocation": "215:24:106",
485
- "scope": 49364,
485
+ "scope": 49383,
486
486
  "usedErrors": [],
487
487
  "usedEvents": []
488
488
  },
489
489
  {
490
- "id": 49332,
490
+ "id": 49351,
491
491
  "nodeType": "ContractDefinition",
492
492
  "src": "503:646:106",
493
493
  "nodes": [
494
494
  {
495
- "id": 49318,
495
+ "id": 49337,
496
496
  "nodeType": "FunctionDefinition",
497
497
  "src": "700:98:106",
498
498
  "nodes": [],
499
499
  "documentation": {
500
- "id": 49308,
500
+ "id": 49327,
501
501
  "nodeType": "StructuredDocumentation",
502
502
  "src": "528:169:106",
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)."
@@ -509,41 +509,41 @@
509
509
  "name": "call",
510
510
  "nameLocation": "709:4:106",
511
511
  "parameters": {
512
- "id": 49314,
512
+ "id": 49333,
513
513
  "nodeType": "ParameterList",
514
514
  "parameters": [
515
515
  {
516
516
  "constant": false,
517
- "id": 49311,
517
+ "id": 49330,
518
518
  "mutability": "mutable",
519
519
  "name": "systemId",
520
520
  "nameLocation": "725:8:106",
521
521
  "nodeType": "VariableDeclaration",
522
- "scope": 49318,
522
+ "scope": 49337,
523
523
  "src": "714:19:106",
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": 49310,
531
+ "id": 49329,
532
532
  "nodeType": "UserDefinedTypeName",
533
533
  "pathNode": {
534
- "id": 49309,
534
+ "id": 49328,
535
535
  "name": "ResourceId",
536
536
  "nameLocations": [
537
537
  "714:10:106"
538
538
  ],
539
539
  "nodeType": "IdentifierPath",
540
- "referencedDeclaration": 36365,
540
+ "referencedDeclaration": 36384,
541
541
  "src": "714:10:106"
542
542
  },
543
- "referencedDeclaration": 36365,
543
+ "referencedDeclaration": 36384,
544
544
  "src": "714:10:106",
545
545
  "typeDescriptions": {
546
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
546
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
547
547
  "typeString": "ResourceId"
548
548
  }
549
549
  },
@@ -551,12 +551,12 @@
551
551
  },
552
552
  {
553
553
  "constant": false,
554
- "id": 49313,
554
+ "id": 49332,
555
555
  "mutability": "mutable",
556
556
  "name": "callData",
557
557
  "nameLocation": "748:8:106",
558
558
  "nodeType": "VariableDeclaration",
559
- "scope": 49318,
559
+ "scope": 49337,
560
560
  "src": "735:21:106",
561
561
  "stateVariable": false,
562
562
  "storageLocation": "memory",
@@ -565,7 +565,7 @@
565
565
  "typeString": "bytes"
566
566
  },
567
567
  "typeName": {
568
- "id": 49312,
568
+ "id": 49331,
569
569
  "name": "bytes",
570
570
  "nodeType": "ElementaryTypeName",
571
571
  "src": "735:5:106",
@@ -580,17 +580,17 @@
580
580
  "src": "713:44:106"
581
581
  },
582
582
  "returnParameters": {
583
- "id": 49317,
583
+ "id": 49336,
584
584
  "nodeType": "ParameterList",
585
585
  "parameters": [
586
586
  {
587
587
  "constant": false,
588
- "id": 49316,
588
+ "id": 49335,
589
589
  "mutability": "mutable",
590
590
  "name": "",
591
591
  "nameLocation": "-1:-1:-1",
592
592
  "nodeType": "VariableDeclaration",
593
- "scope": 49318,
593
+ "scope": 49337,
594
594
  "src": "784:12:106",
595
595
  "stateVariable": false,
596
596
  "storageLocation": "memory",
@@ -599,7 +599,7 @@
599
599
  "typeString": "bytes"
600
600
  },
601
601
  "typeName": {
602
- "id": 49315,
602
+ "id": 49334,
603
603
  "name": "bytes",
604
604
  "nodeType": "ElementaryTypeName",
605
605
  "src": "784:5:106",
@@ -613,18 +613,18 @@
613
613
  ],
614
614
  "src": "783:14:106"
615
615
  },
616
- "scope": 49332,
616
+ "scope": 49351,
617
617
  "stateMutability": "payable",
618
618
  "virtual": false,
619
619
  "visibility": "external"
620
620
  },
621
621
  {
622
- "id": 49331,
622
+ "id": 49350,
623
623
  "nodeType": "FunctionDefinition",
624
624
  "src": "1010:137:106",
625
625
  "nodes": [],
626
626
  "documentation": {
627
- "id": 49319,
627
+ "id": 49338,
628
628
  "nodeType": "StructuredDocumentation",
629
629
  "src": "802:205:106",
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)."
@@ -636,17 +636,17 @@
636
636
  "name": "callFrom",
637
637
  "nameLocation": "1019:8:106",
638
638
  "parameters": {
639
- "id": 49327,
639
+ "id": 49346,
640
640
  "nodeType": "ParameterList",
641
641
  "parameters": [
642
642
  {
643
643
  "constant": false,
644
- "id": 49321,
644
+ "id": 49340,
645
645
  "mutability": "mutable",
646
646
  "name": "delegator",
647
647
  "nameLocation": "1041:9:106",
648
648
  "nodeType": "VariableDeclaration",
649
- "scope": 49331,
649
+ "scope": 49350,
650
650
  "src": "1033:17:106",
651
651
  "stateVariable": false,
652
652
  "storageLocation": "default",
@@ -655,7 +655,7 @@
655
655
  "typeString": "address"
656
656
  },
657
657
  "typeName": {
658
- "id": 49320,
658
+ "id": 49339,
659
659
  "name": "address",
660
660
  "nodeType": "ElementaryTypeName",
661
661
  "src": "1033:7:106",
@@ -669,36 +669,36 @@
669
669
  },
670
670
  {
671
671
  "constant": false,
672
- "id": 49324,
672
+ "id": 49343,
673
673
  "mutability": "mutable",
674
674
  "name": "systemId",
675
675
  "nameLocation": "1067:8:106",
676
676
  "nodeType": "VariableDeclaration",
677
- "scope": 49331,
677
+ "scope": 49350,
678
678
  "src": "1056:19:106",
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": 49323,
686
+ "id": 49342,
687
687
  "nodeType": "UserDefinedTypeName",
688
688
  "pathNode": {
689
- "id": 49322,
689
+ "id": 49341,
690
690
  "name": "ResourceId",
691
691
  "nameLocations": [
692
692
  "1056:10:106"
693
693
  ],
694
694
  "nodeType": "IdentifierPath",
695
- "referencedDeclaration": 36365,
695
+ "referencedDeclaration": 36384,
696
696
  "src": "1056:10:106"
697
697
  },
698
- "referencedDeclaration": 36365,
698
+ "referencedDeclaration": 36384,
699
699
  "src": "1056:10:106",
700
700
  "typeDescriptions": {
701
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
701
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
702
702
  "typeString": "ResourceId"
703
703
  }
704
704
  },
@@ -706,12 +706,12 @@
706
706
  },
707
707
  {
708
708
  "constant": false,
709
- "id": 49326,
709
+ "id": 49345,
710
710
  "mutability": "mutable",
711
711
  "name": "callData",
712
712
  "nameLocation": "1094:8:106",
713
713
  "nodeType": "VariableDeclaration",
714
- "scope": 49331,
714
+ "scope": 49350,
715
715
  "src": "1081:21:106",
716
716
  "stateVariable": false,
717
717
  "storageLocation": "memory",
@@ -720,7 +720,7 @@
720
720
  "typeString": "bytes"
721
721
  },
722
722
  "typeName": {
723
- "id": 49325,
723
+ "id": 49344,
724
724
  "name": "bytes",
725
725
  "nodeType": "ElementaryTypeName",
726
726
  "src": "1081:5:106",
@@ -735,17 +735,17 @@
735
735
  "src": "1027:79:106"
736
736
  },
737
737
  "returnParameters": {
738
- "id": 49330,
738
+ "id": 49349,
739
739
  "nodeType": "ParameterList",
740
740
  "parameters": [
741
741
  {
742
742
  "constant": false,
743
- "id": 49329,
743
+ "id": 49348,
744
744
  "mutability": "mutable",
745
745
  "name": "",
746
746
  "nameLocation": "-1:-1:-1",
747
747
  "nodeType": "VariableDeclaration",
748
- "scope": 49331,
748
+ "scope": 49350,
749
749
  "src": "1133:12:106",
750
750
  "stateVariable": false,
751
751
  "storageLocation": "memory",
@@ -754,7 +754,7 @@
754
754
  "typeString": "bytes"
755
755
  },
756
756
  "typeName": {
757
- "id": 49328,
757
+ "id": 49347,
758
758
  "name": "bytes",
759
759
  "nodeType": "ElementaryTypeName",
760
760
  "src": "1133:5:106",
@@ -768,7 +768,7 @@
768
768
  ],
769
769
  "src": "1132:14:106"
770
770
  },
771
- "scope": 49332,
771
+ "scope": 49351,
772
772
  "stateMutability": "payable",
773
773
  "virtual": false,
774
774
  "visibility": "external"
@@ -781,21 +781,21 @@
781
781
  "contractKind": "interface",
782
782
  "fullyImplemented": false,
783
783
  "linearizedBaseContracts": [
784
- 49332
784
+ 49351
785
785
  ],
786
786
  "name": "IWorldCall",
787
787
  "nameLocation": "513:10:106",
788
- "scope": 49364,
788
+ "scope": 49383,
789
789
  "usedErrors": [],
790
790
  "usedEvents": []
791
791
  },
792
792
  {
793
- "id": 49363,
793
+ "id": 49382,
794
794
  "nodeType": "ContractDefinition",
795
795
  "src": "1417:483:106",
796
796
  "nodes": [
797
797
  {
798
- "id": 49343,
798
+ "id": 49362,
799
799
  "nodeType": "EventDefinition",
800
800
  "src": "1498:47:106",
801
801
  "nodes": [],
@@ -804,18 +804,18 @@
804
804
  "name": "HelloWorld",
805
805
  "nameLocation": "1504:10:106",
806
806
  "parameters": {
807
- "id": 49342,
807
+ "id": 49361,
808
808
  "nodeType": "ParameterList",
809
809
  "parameters": [
810
810
  {
811
811
  "constant": false,
812
- "id": 49341,
812
+ "id": 49360,
813
813
  "indexed": true,
814
814
  "mutability": "mutable",
815
815
  "name": "worldVersion",
816
816
  "nameLocation": "1531:12:106",
817
817
  "nodeType": "VariableDeclaration",
818
- "scope": 49343,
818
+ "scope": 49362,
819
819
  "src": "1515:28:106",
820
820
  "stateVariable": false,
821
821
  "storageLocation": "default",
@@ -824,7 +824,7 @@
824
824
  "typeString": "bytes32"
825
825
  },
826
826
  "typeName": {
827
- "id": 49340,
827
+ "id": 49359,
828
828
  "name": "bytes32",
829
829
  "nodeType": "ElementaryTypeName",
830
830
  "src": "1515:7:106",
@@ -840,12 +840,12 @@
840
840
  }
841
841
  },
842
842
  {
843
- "id": 49349,
843
+ "id": 49368,
844
844
  "nodeType": "FunctionDefinition",
845
845
  "src": "1592:56:106",
846
846
  "nodes": [],
847
847
  "documentation": {
848
- "id": 49344,
848
+ "id": 49363,
849
849
  "nodeType": "StructuredDocumentation",
850
850
  "src": "1549:40:106",
851
851
  "text": " The version of the World."
@@ -857,23 +857,23 @@
857
857
  "name": "worldVersion",
858
858
  "nameLocation": "1601:12:106",
859
859
  "parameters": {
860
- "id": 49345,
860
+ "id": 49364,
861
861
  "nodeType": "ParameterList",
862
862
  "parameters": [],
863
863
  "src": "1613:2:106"
864
864
  },
865
865
  "returnParameters": {
866
- "id": 49348,
866
+ "id": 49367,
867
867
  "nodeType": "ParameterList",
868
868
  "parameters": [
869
869
  {
870
870
  "constant": false,
871
- "id": 49347,
871
+ "id": 49366,
872
872
  "mutability": "mutable",
873
873
  "name": "",
874
874
  "nameLocation": "-1:-1:-1",
875
875
  "nodeType": "VariableDeclaration",
876
- "scope": 49349,
876
+ "scope": 49368,
877
877
  "src": "1639:7:106",
878
878
  "stateVariable": false,
879
879
  "storageLocation": "default",
@@ -882,7 +882,7 @@
882
882
  "typeString": "bytes32"
883
883
  },
884
884
  "typeName": {
885
- "id": 49346,
885
+ "id": 49365,
886
886
  "name": "bytes32",
887
887
  "nodeType": "ElementaryTypeName",
888
888
  "src": "1639:7:106",
@@ -896,18 +896,18 @@
896
896
  ],
897
897
  "src": "1638:9:106"
898
898
  },
899
- "scope": 49363,
899
+ "scope": 49382,
900
900
  "stateMutability": "view",
901
901
  "virtual": false,
902
902
  "visibility": "external"
903
903
  },
904
904
  {
905
- "id": 49355,
905
+ "id": 49374,
906
906
  "nodeType": "FunctionDefinition",
907
907
  "src": "1715:51:106",
908
908
  "nodes": [],
909
909
  "documentation": {
910
- "id": 49350,
910
+ "id": 49369,
911
911
  "nodeType": "StructuredDocumentation",
912
912
  "src": "1652:60:106",
913
913
  "text": " The immutable original deployer of the World."
@@ -919,23 +919,23 @@
919
919
  "name": "creator",
920
920
  "nameLocation": "1724:7:106",
921
921
  "parameters": {
922
- "id": 49351,
922
+ "id": 49370,
923
923
  "nodeType": "ParameterList",
924
924
  "parameters": [],
925
925
  "src": "1731:2:106"
926
926
  },
927
927
  "returnParameters": {
928
- "id": 49354,
928
+ "id": 49373,
929
929
  "nodeType": "ParameterList",
930
930
  "parameters": [
931
931
  {
932
932
  "constant": false,
933
- "id": 49353,
933
+ "id": 49372,
934
934
  "mutability": "mutable",
935
935
  "name": "",
936
936
  "nameLocation": "-1:-1:-1",
937
937
  "nodeType": "VariableDeclaration",
938
- "scope": 49355,
938
+ "scope": 49374,
939
939
  "src": "1757:7:106",
940
940
  "stateVariable": false,
941
941
  "storageLocation": "default",
@@ -944,7 +944,7 @@
944
944
  "typeString": "address"
945
945
  },
946
946
  "typeName": {
947
- "id": 49352,
947
+ "id": 49371,
948
948
  "name": "address",
949
949
  "nodeType": "ElementaryTypeName",
950
950
  "src": "1757:7:106",
@@ -959,18 +959,18 @@
959
959
  ],
960
960
  "src": "1756:9:106"
961
961
  },
962
- "scope": 49363,
962
+ "scope": 49382,
963
963
  "stateMutability": "view",
964
964
  "virtual": false,
965
965
  "visibility": "external"
966
966
  },
967
967
  {
968
- "id": 49362,
968
+ "id": 49381,
969
969
  "nodeType": "FunctionDefinition",
970
970
  "src": "1849:49:106",
971
971
  "nodes": [],
972
972
  "documentation": {
973
- "id": 49356,
973
+ "id": 49375,
974
974
  "nodeType": "StructuredDocumentation",
975
975
  "src": "1770:76:106",
976
976
  "text": " Allows the creator of the World to initialize the World once."
@@ -982,41 +982,41 @@
982
982
  "name": "initialize",
983
983
  "nameLocation": "1858:10:106",
984
984
  "parameters": {
985
- "id": 49360,
985
+ "id": 49379,
986
986
  "nodeType": "ParameterList",
987
987
  "parameters": [
988
988
  {
989
989
  "constant": false,
990
- "id": 49359,
990
+ "id": 49378,
991
991
  "mutability": "mutable",
992
992
  "name": "coreModule",
993
993
  "nameLocation": "1877:10:106",
994
994
  "nodeType": "VariableDeclaration",
995
- "scope": 49362,
995
+ "scope": 49381,
996
996
  "src": "1869:18:106",
997
997
  "stateVariable": false,
998
998
  "storageLocation": "default",
999
999
  "typeDescriptions": {
1000
- "typeIdentifier": "t_contract$_IModule_$70924",
1000
+ "typeIdentifier": "t_contract$_IModule_$70943",
1001
1001
  "typeString": "contract IModule"
1002
1002
  },
1003
1003
  "typeName": {
1004
- "id": 49358,
1004
+ "id": 49377,
1005
1005
  "nodeType": "UserDefinedTypeName",
1006
1006
  "pathNode": {
1007
- "id": 49357,
1007
+ "id": 49376,
1008
1008
  "name": "IModule",
1009
1009
  "nameLocations": [
1010
1010
  "1869:7:106"
1011
1011
  ],
1012
1012
  "nodeType": "IdentifierPath",
1013
- "referencedDeclaration": 70924,
1013
+ "referencedDeclaration": 70943,
1014
1014
  "src": "1869:7:106"
1015
1015
  },
1016
- "referencedDeclaration": 70924,
1016
+ "referencedDeclaration": 70943,
1017
1017
  "src": "1869:7:106",
1018
1018
  "typeDescriptions": {
1019
- "typeIdentifier": "t_contract$_IModule_$70924",
1019
+ "typeIdentifier": "t_contract$_IModule_$70943",
1020
1020
  "typeString": "contract IModule"
1021
1021
  }
1022
1022
  },
@@ -1026,12 +1026,12 @@
1026
1026
  "src": "1868:20:106"
1027
1027
  },
1028
1028
  "returnParameters": {
1029
- "id": 49361,
1029
+ "id": 49380,
1030
1030
  "nodeType": "ParameterList",
1031
1031
  "parameters": [],
1032
1032
  "src": "1897:0:106"
1033
1033
  },
1034
- "scope": 49363,
1034
+ "scope": 49382,
1035
1035
  "stateMutability": "nonpayable",
1036
1036
  "virtual": false,
1037
1037
  "visibility": "external"
@@ -1041,46 +1041,46 @@
1041
1041
  "baseContracts": [
1042
1042
  {
1043
1043
  "baseName": {
1044
- "id": 49334,
1044
+ "id": 49353,
1045
1045
  "name": "IWorldModuleInstallation",
1046
1046
  "nameLocations": [
1047
1047
  "1443:24:106"
1048
1048
  ],
1049
1049
  "nodeType": "IdentifierPath",
1050
- "referencedDeclaration": 49307,
1050
+ "referencedDeclaration": 49326,
1051
1051
  "src": "1443:24:106"
1052
1052
  },
1053
- "id": 49335,
1053
+ "id": 49354,
1054
1054
  "nodeType": "InheritanceSpecifier",
1055
1055
  "src": "1443:24:106"
1056
1056
  },
1057
1057
  {
1058
1058
  "baseName": {
1059
- "id": 49336,
1059
+ "id": 49355,
1060
1060
  "name": "IWorldCall",
1061
1061
  "nameLocations": [
1062
1062
  "1469:10:106"
1063
1063
  ],
1064
1064
  "nodeType": "IdentifierPath",
1065
- "referencedDeclaration": 49332,
1065
+ "referencedDeclaration": 49351,
1066
1066
  "src": "1469:10:106"
1067
1067
  },
1068
- "id": 49337,
1068
+ "id": 49356,
1069
1069
  "nodeType": "InheritanceSpecifier",
1070
1070
  "src": "1469:10:106"
1071
1071
  },
1072
1072
  {
1073
1073
  "baseName": {
1074
- "id": 49338,
1074
+ "id": 49357,
1075
1075
  "name": "IWorldErrors",
1076
1076
  "nameLocations": [
1077
1077
  "1481:12:106"
1078
1078
  ],
1079
1079
  "nodeType": "IdentifierPath",
1080
- "referencedDeclaration": 71178,
1080
+ "referencedDeclaration": 71208,
1081
1081
  "src": "1481:12:106"
1082
1082
  },
1083
- "id": 49339,
1083
+ "id": 49358,
1084
1084
  "nodeType": "InheritanceSpecifier",
1085
1085
  "src": "1481:12:106"
1086
1086
  }
@@ -1089,39 +1089,39 @@
1089
1089
  "contractDependencies": [],
1090
1090
  "contractKind": "interface",
1091
1091
  "documentation": {
1092
- "id": 49333,
1092
+ "id": 49352,
1093
1093
  "nodeType": "StructuredDocumentation",
1094
1094
  "src": "1151:265:106",
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
- 49363,
1100
- 71178,
1101
- 49332,
1102
- 49307
1099
+ 49382,
1100
+ 71208,
1101
+ 49351,
1102
+ 49326
1103
1103
  ],
1104
1104
  "name": "IWorldKernel",
1105
1105
  "nameLocation": "1427:12:106",
1106
- "scope": 49364,
1106
+ "scope": 49383,
1107
1107
  "usedErrors": [
1108
- 71105,
1109
- 71112,
1110
- 71119,
1111
- 71125,
1112
- 71132,
1113
- 71136,
1114
- 71140,
1115
- 71144,
1116
- 71150,
1117
- 71152,
1118
- 71158,
1119
- 71164,
1120
- 71173,
1121
- 71177
1108
+ 71135,
1109
+ 71142,
1110
+ 71149,
1111
+ 71155,
1112
+ 71162,
1113
+ 71166,
1114
+ 71170,
1115
+ 71174,
1116
+ 71180,
1117
+ 71182,
1118
+ 71188,
1119
+ 71194,
1120
+ 71203,
1121
+ 71207
1122
1122
  ],
1123
1123
  "usedEvents": [
1124
- 49343
1124
+ 49362
1125
1125
  ]
1126
1126
  }
1127
1127
  ],