@latticexyz/world-modules 2.0.0-main-e20633d4 → 2.0.0-main-071aadb9

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 (113) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +4463 -4463
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
  5. package/out/DelegationControl.sol/DelegationControl.json +98 -98
  6. package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
  9. package/out/Hook.sol/HookInstance.json +13 -13
  10. package/out/Hook.sol/HookLib.json +13 -13
  11. package/out/Hooks.sol/Hooks.json +3186 -3186
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +106 -100
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +98 -92
  14. package/out/IBaseWorld.sol/IBaseWorld.json +79 -79
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +92 -86
  16. package/out/ICoreSystem.sol/ICoreSystem.json +19 -13
  17. package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +52 -46
  20. package/out/ISystemHook.sol/ISystemHook.json +86 -86
  21. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  22. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  23. package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
  24. package/out/IWorldKernel.sol/IWorldCall.json +154 -154
  25. package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
  26. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  27. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +329 -323
  28. package/out/KeysInTable.sol/KeysInTable.json +18239 -18239
  29. package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
  30. package/out/KeysInTableModule.sol/KeysInTableModule.json +564 -564
  31. package/out/KeysWithValue.sol/KeysWithValue.json +6661 -6661
  32. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1023 -1023
  33. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +450 -450
  34. package/out/Memory.sol/Memory.json +4 -4
  35. package/out/Module.sol/Module.json +88 -88
  36. package/out/ResourceIds.sol/ResourceIds.json +1237 -1231
  37. package/out/Schema.sol/SchemaInstance.json +72 -72
  38. package/out/Schema.sol/SchemaLib.json +72 -72
  39. package/out/SchemaType.sol/SchemaType.json +276 -276
  40. package/out/Slice.sol/SliceInstance.json +4 -4
  41. package/out/Slice.sol/SliceLib.json +4 -4
  42. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +330 -330
  43. package/out/Storage.sol/Storage.json +7 -7
  44. package/out/StoreCore.sol/StoreCore.json +101 -101
  45. package/out/StoreCore.sol/StoreCoreInternal.json +101 -101
  46. package/out/StoreHook.sol/StoreHook.json +368 -368
  47. package/out/StoreHooks.sol/StoreHooks.json +6042 -6042
  48. package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
  49. package/out/System.sol/System.json +32 -32
  50. package/out/Tables.sol/Tables.json +10401 -10401
  51. package/out/TightCoder.sol/TightCoder.json +124 -124
  52. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
  53. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3442 -3442
  54. package/out/UniqueEntity.sol/UniqueEntity.json +2344 -2344
  55. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +351 -351
  56. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
  57. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4568 -4562
  58. package/out/WorldContext.sol/WorldContextConsumer.json +376 -376
  59. package/out/WorldContext.sol/WorldContextProvider.json +376 -376
  60. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  61. package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  62. package/out/constants.sol/LayoutOffsets.json +79 -79
  63. package/out/constants.sol/constants.json +115 -115
  64. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  65. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  66. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  67. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  68. package/out/hasKey.sol/hasKey.json +130 -130
  69. package/out/index.sol/index.json +53 -53
  70. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +186 -186
  71. package/out/leftMask.sol/leftMask.json +31 -31
  72. package/out/query.sol/query.json +1154 -1154
  73. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  74. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  75. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  76. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  77. package/out/src/IStore.sol/IStore.json +52 -52
  78. package/out/src/IWorldKernel.sol/IWorldCall.json +154 -154
  79. package/out/src/IWorldKernel.sol/IWorldKernel.json +154 -154
  80. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  81. package/out/src/Memory.sol/Memory.json +91 -91
  82. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  83. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  84. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  85. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  86. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  87. package/out/src/Schema.sol/SchemaLib.json +790 -790
  88. package/out/src/Slice.sol/SliceInstance.json +430 -430
  89. package/out/src/Slice.sol/SliceLib.json +430 -430
  90. package/out/src/StoreCore.sol/StoreCore.json +4473 -4473
  91. package/out/src/StoreCore.sol/StoreCoreInternal.json +4473 -4473
  92. package/out/src/StoreSwitch.sol/StoreSwitch.json +2496 -2496
  93. package/out/src/WorldContext.sol/WorldContextConsumer.json +376 -376
  94. package/out/src/WorldContext.sol/WorldContextProvider.json +376 -376
  95. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  96. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  97. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  98. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  99. package/out/tables/ResourceIds.sol/ResourceIds.json +2889 -2883
  100. package/out/tables/Tables.sol/Tables.json +12187 -12187
  101. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  102. package/out/types.sol/types.json +41 -41
  103. package/out/version.sol/version.json +7 -7
  104. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  105. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  106. package/package.json +8 -8
  107. package/src/interfaces/IBaseWorld.sol +4 -2
  108. package/src/modules/keysintable/tables/KeysInTable.sol +357 -163
  109. package/src/modules/keysintable/tables/UsedKeysIndex.sol +116 -36
  110. package/src/modules/keyswithvalue/tables/KeysWithValue.sol +163 -69
  111. package/src/modules/std-delegations/tables/CallboundDelegations.sol +87 -26
  112. package/src/modules/std-delegations/tables/TimeboundDelegations.sol +87 -26
  113. package/src/modules/uniqueentity/tables/UniqueEntity.sol +87 -26
@@ -446,20 +446,20 @@
446
446
  },
447
447
  "ast": {
448
448
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol",
449
- "id": 23474,
449
+ "id": 23475,
450
450
  "exportedSymbols": {
451
451
  "IWorldErrors": [
452
- 23473
452
+ 23474
453
453
  ],
454
454
  "ResourceId": [
455
- 26566
455
+ 26573
456
456
  ]
457
457
  },
458
458
  "nodeType": "SourceUnit",
459
459
  "src": "32:3819:38",
460
460
  "nodes": [
461
461
  {
462
- "id": 23381,
462
+ "id": 23382,
463
463
  "nodeType": "PragmaDirective",
464
464
  "src": "32:25:38",
465
465
  "nodes": [],
@@ -471,23 +471,23 @@
471
471
  ]
472
472
  },
473
473
  {
474
- "id": 23383,
474
+ "id": 23384,
475
475
  "nodeType": "ImportDirective",
476
476
  "src": "59:66:38",
477
477
  "nodes": [],
478
478
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
479
479
  "file": "@latticexyz/store/src/ResourceId.sol",
480
480
  "nameLocation": "-1:-1:-1",
481
- "scope": 23474,
482
- "sourceUnit": 26638,
481
+ "scope": 23475,
482
+ "sourceUnit": 26645,
483
483
  "symbolAliases": [
484
484
  {
485
485
  "foreign": {
486
- "id": 23382,
486
+ "id": 23383,
487
487
  "name": "ResourceId",
488
488
  "nodeType": "Identifier",
489
489
  "overloadedDeclarations": [],
490
- "referencedDeclaration": 26566,
490
+ "referencedDeclaration": 26573,
491
491
  "src": "68:10:38",
492
492
  "typeDescriptions": {}
493
493
  },
@@ -497,17 +497,17 @@
497
497
  "unitAlias": ""
498
498
  },
499
499
  {
500
- "id": 23473,
500
+ "id": 23474,
501
501
  "nodeType": "ContractDefinition",
502
502
  "src": "343:3507:38",
503
503
  "nodes": [
504
504
  {
505
- "id": 23387,
505
+ "id": 23388,
506
506
  "nodeType": "ErrorDefinition",
507
507
  "src": "458:33:38",
508
508
  "nodes": [],
509
509
  "documentation": {
510
- "id": 23385,
510
+ "id": 23386,
511
511
  "nodeType": "StructuredDocumentation",
512
512
  "src": "370:85:38",
513
513
  "text": " @notice Raised when trying to initialize an already initialized World."
@@ -516,19 +516,19 @@
516
516
  "name": "World_AlreadyInitialized",
517
517
  "nameLocation": "464:24:38",
518
518
  "parameters": {
519
- "id": 23386,
519
+ "id": 23387,
520
520
  "nodeType": "ParameterList",
521
521
  "parameters": [],
522
522
  "src": "488:2:38"
523
523
  }
524
524
  },
525
525
  {
526
- "id": 23395,
526
+ "id": 23396,
527
527
  "nodeType": "ErrorDefinition",
528
528
  "src": "705:82:38",
529
529
  "nodes": [],
530
530
  "documentation": {
531
- "id": 23388,
531
+ "id": 23389,
532
532
  "nodeType": "StructuredDocumentation",
533
533
  "src": "495:207:38",
534
534
  "text": " @notice Raised when trying to register a resource that already exists.\n @param resourceId The ID of the resource.\n @param resourceIdString The string representation of the resource ID."
@@ -537,41 +537,41 @@
537
537
  "name": "World_ResourceAlreadyExists",
538
538
  "nameLocation": "711:27:38",
539
539
  "parameters": {
540
- "id": 23394,
540
+ "id": 23395,
541
541
  "nodeType": "ParameterList",
542
542
  "parameters": [
543
543
  {
544
544
  "constant": false,
545
- "id": 23391,
545
+ "id": 23392,
546
546
  "mutability": "mutable",
547
547
  "name": "resourceId",
548
548
  "nameLocation": "750:10:38",
549
549
  "nodeType": "VariableDeclaration",
550
- "scope": 23395,
550
+ "scope": 23396,
551
551
  "src": "739:21:38",
552
552
  "stateVariable": false,
553
553
  "storageLocation": "default",
554
554
  "typeDescriptions": {
555
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
555
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
556
556
  "typeString": "ResourceId"
557
557
  },
558
558
  "typeName": {
559
- "id": 23390,
559
+ "id": 23391,
560
560
  "nodeType": "UserDefinedTypeName",
561
561
  "pathNode": {
562
- "id": 23389,
562
+ "id": 23390,
563
563
  "name": "ResourceId",
564
564
  "nameLocations": [
565
565
  "739:10:38"
566
566
  ],
567
567
  "nodeType": "IdentifierPath",
568
- "referencedDeclaration": 26566,
568
+ "referencedDeclaration": 26573,
569
569
  "src": "739:10:38"
570
570
  },
571
- "referencedDeclaration": 26566,
571
+ "referencedDeclaration": 26573,
572
572
  "src": "739:10:38",
573
573
  "typeDescriptions": {
574
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
574
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
575
575
  "typeString": "ResourceId"
576
576
  }
577
577
  },
@@ -579,12 +579,12 @@
579
579
  },
580
580
  {
581
581
  "constant": false,
582
- "id": 23393,
582
+ "id": 23394,
583
583
  "mutability": "mutable",
584
584
  "name": "resourceIdString",
585
585
  "nameLocation": "769:16:38",
586
586
  "nodeType": "VariableDeclaration",
587
- "scope": 23395,
587
+ "scope": 23396,
588
588
  "src": "762:23:38",
589
589
  "stateVariable": false,
590
590
  "storageLocation": "default",
@@ -593,7 +593,7 @@
593
593
  "typeString": "string"
594
594
  },
595
595
  "typeName": {
596
- "id": 23392,
596
+ "id": 23393,
597
597
  "name": "string",
598
598
  "nodeType": "ElementaryTypeName",
599
599
  "src": "762:6:38",
@@ -609,12 +609,12 @@
609
609
  }
610
610
  },
611
611
  {
612
- "id": 23403,
612
+ "id": 23404,
613
613
  "nodeType": "ErrorDefinition",
614
614
  "src": "987:77:38",
615
615
  "nodes": [],
616
616
  "documentation": {
617
- "id": 23396,
617
+ "id": 23397,
618
618
  "nodeType": "StructuredDocumentation",
619
619
  "src": "791:193:38",
620
620
  "text": " @notice Raised when the specified resource is not found.\n @param resourceId The ID of the resource.\n @param resourceIdString The string representation of the resource ID."
@@ -623,41 +623,41 @@
623
623
  "name": "World_ResourceNotFound",
624
624
  "nameLocation": "993:22:38",
625
625
  "parameters": {
626
- "id": 23402,
626
+ "id": 23403,
627
627
  "nodeType": "ParameterList",
628
628
  "parameters": [
629
629
  {
630
630
  "constant": false,
631
- "id": 23399,
631
+ "id": 23400,
632
632
  "mutability": "mutable",
633
633
  "name": "resourceId",
634
634
  "nameLocation": "1027:10:38",
635
635
  "nodeType": "VariableDeclaration",
636
- "scope": 23403,
636
+ "scope": 23404,
637
637
  "src": "1016:21:38",
638
638
  "stateVariable": false,
639
639
  "storageLocation": "default",
640
640
  "typeDescriptions": {
641
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
641
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
642
642
  "typeString": "ResourceId"
643
643
  },
644
644
  "typeName": {
645
- "id": 23398,
645
+ "id": 23399,
646
646
  "nodeType": "UserDefinedTypeName",
647
647
  "pathNode": {
648
- "id": 23397,
648
+ "id": 23398,
649
649
  "name": "ResourceId",
650
650
  "nameLocations": [
651
651
  "1016:10:38"
652
652
  ],
653
653
  "nodeType": "IdentifierPath",
654
- "referencedDeclaration": 26566,
654
+ "referencedDeclaration": 26573,
655
655
  "src": "1016:10:38"
656
656
  },
657
- "referencedDeclaration": 26566,
657
+ "referencedDeclaration": 26573,
658
658
  "src": "1016:10:38",
659
659
  "typeDescriptions": {
660
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
660
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
661
661
  "typeString": "ResourceId"
662
662
  }
663
663
  },
@@ -665,12 +665,12 @@
665
665
  },
666
666
  {
667
667
  "constant": false,
668
- "id": 23401,
668
+ "id": 23402,
669
669
  "mutability": "mutable",
670
670
  "name": "resourceIdString",
671
671
  "nameLocation": "1046:16:38",
672
672
  "nodeType": "VariableDeclaration",
673
- "scope": 23403,
673
+ "scope": 23404,
674
674
  "src": "1039:23:38",
675
675
  "stateVariable": false,
676
676
  "storageLocation": "default",
@@ -679,7 +679,7 @@
679
679
  "typeString": "string"
680
680
  },
681
681
  "typeName": {
682
- "id": 23400,
682
+ "id": 23401,
683
683
  "name": "string",
684
684
  "nodeType": "ElementaryTypeName",
685
685
  "src": "1039:6:38",
@@ -695,12 +695,12 @@
695
695
  }
696
696
  },
697
697
  {
698
- "id": 23410,
698
+ "id": 23411,
699
699
  "nodeType": "ErrorDefinition",
700
700
  "src": "1293:58:38",
701
701
  "nodes": [],
702
702
  "documentation": {
703
- "id": 23404,
703
+ "id": 23405,
704
704
  "nodeType": "StructuredDocumentation",
705
705
  "src": "1068:222:38",
706
706
  "text": " @notice Raised when a user tries to access a resource they don't have permission for.\n @param resource The resource's identifier.\n @param caller The address of the user trying to access the resource."
@@ -709,17 +709,17 @@
709
709
  "name": "World_AccessDenied",
710
710
  "nameLocation": "1299:18:38",
711
711
  "parameters": {
712
- "id": 23409,
712
+ "id": 23410,
713
713
  "nodeType": "ParameterList",
714
714
  "parameters": [
715
715
  {
716
716
  "constant": false,
717
- "id": 23406,
717
+ "id": 23407,
718
718
  "mutability": "mutable",
719
719
  "name": "resource",
720
720
  "nameLocation": "1325:8:38",
721
721
  "nodeType": "VariableDeclaration",
722
- "scope": 23410,
722
+ "scope": 23411,
723
723
  "src": "1318:15:38",
724
724
  "stateVariable": false,
725
725
  "storageLocation": "default",
@@ -728,7 +728,7 @@
728
728
  "typeString": "string"
729
729
  },
730
730
  "typeName": {
731
- "id": 23405,
731
+ "id": 23406,
732
732
  "name": "string",
733
733
  "nodeType": "ElementaryTypeName",
734
734
  "src": "1318:6:38",
@@ -741,12 +741,12 @@
741
741
  },
742
742
  {
743
743
  "constant": false,
744
- "id": 23408,
744
+ "id": 23409,
745
745
  "mutability": "mutable",
746
746
  "name": "caller",
747
747
  "nameLocation": "1343:6:38",
748
748
  "nodeType": "VariableDeclaration",
749
- "scope": 23410,
749
+ "scope": 23411,
750
750
  "src": "1335:14:38",
751
751
  "stateVariable": false,
752
752
  "storageLocation": "default",
@@ -755,7 +755,7 @@
755
755
  "typeString": "address"
756
756
  },
757
757
  "typeName": {
758
- "id": 23407,
758
+ "id": 23408,
759
759
  "name": "address",
760
760
  "nodeType": "ElementaryTypeName",
761
761
  "src": "1335:7:38",
@@ -772,12 +772,12 @@
772
772
  }
773
773
  },
774
774
  {
775
- "id": 23418,
775
+ "id": 23419,
776
776
  "nodeType": "ErrorDefinition",
777
777
  "src": "1550:78:38",
778
778
  "nodes": [],
779
779
  "documentation": {
780
- "id": 23411,
780
+ "id": 23412,
781
781
  "nodeType": "StructuredDocumentation",
782
782
  "src": "1355:192:38",
783
783
  "text": " @notice Raised when an invalid resource ID is provided.\n @param resourceId The ID of the resource.\n @param resourceIdString The string representation of the resource ID."
@@ -786,41 +786,41 @@
786
786
  "name": "World_InvalidResourceId",
787
787
  "nameLocation": "1556:23:38",
788
788
  "parameters": {
789
- "id": 23417,
789
+ "id": 23418,
790
790
  "nodeType": "ParameterList",
791
791
  "parameters": [
792
792
  {
793
793
  "constant": false,
794
- "id": 23414,
794
+ "id": 23415,
795
795
  "mutability": "mutable",
796
796
  "name": "resourceId",
797
797
  "nameLocation": "1591:10:38",
798
798
  "nodeType": "VariableDeclaration",
799
- "scope": 23418,
799
+ "scope": 23419,
800
800
  "src": "1580:21:38",
801
801
  "stateVariable": false,
802
802
  "storageLocation": "default",
803
803
  "typeDescriptions": {
804
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
804
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
805
805
  "typeString": "ResourceId"
806
806
  },
807
807
  "typeName": {
808
- "id": 23413,
808
+ "id": 23414,
809
809
  "nodeType": "UserDefinedTypeName",
810
810
  "pathNode": {
811
- "id": 23412,
811
+ "id": 23413,
812
812
  "name": "ResourceId",
813
813
  "nameLocations": [
814
814
  "1580:10:38"
815
815
  ],
816
816
  "nodeType": "IdentifierPath",
817
- "referencedDeclaration": 26566,
817
+ "referencedDeclaration": 26573,
818
818
  "src": "1580:10:38"
819
819
  },
820
- "referencedDeclaration": 26566,
820
+ "referencedDeclaration": 26573,
821
821
  "src": "1580:10:38",
822
822
  "typeDescriptions": {
823
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
823
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
824
824
  "typeString": "ResourceId"
825
825
  }
826
826
  },
@@ -828,12 +828,12 @@
828
828
  },
829
829
  {
830
830
  "constant": false,
831
- "id": 23416,
831
+ "id": 23417,
832
832
  "mutability": "mutable",
833
833
  "name": "resourceIdString",
834
834
  "nameLocation": "1610:16:38",
835
835
  "nodeType": "VariableDeclaration",
836
- "scope": 23418,
836
+ "scope": 23419,
837
837
  "src": "1603:23:38",
838
838
  "stateVariable": false,
839
839
  "storageLocation": "default",
@@ -842,7 +842,7 @@
842
842
  "typeString": "string"
843
843
  },
844
844
  "typeName": {
845
- "id": 23415,
845
+ "id": 23416,
846
846
  "name": "string",
847
847
  "nodeType": "ElementaryTypeName",
848
848
  "src": "1603:6:38",
@@ -858,12 +858,12 @@
858
858
  }
859
859
  },
860
860
  {
861
- "id": 23423,
861
+ "id": 23424,
862
862
  "nodeType": "ErrorDefinition",
863
863
  "src": "1764:48:38",
864
864
  "nodes": [],
865
865
  "documentation": {
866
- "id": 23419,
866
+ "id": 23420,
867
867
  "nodeType": "StructuredDocumentation",
868
868
  "src": "1632:129:38",
869
869
  "text": " @notice Raised when trying to register a system that already exists.\n @param system The address of the system."
@@ -872,17 +872,17 @@
872
872
  "name": "World_SystemAlreadyExists",
873
873
  "nameLocation": "1770:25:38",
874
874
  "parameters": {
875
- "id": 23422,
875
+ "id": 23423,
876
876
  "nodeType": "ParameterList",
877
877
  "parameters": [
878
878
  {
879
879
  "constant": false,
880
- "id": 23421,
880
+ "id": 23422,
881
881
  "mutability": "mutable",
882
882
  "name": "system",
883
883
  "nameLocation": "1804:6:38",
884
884
  "nodeType": "VariableDeclaration",
885
- "scope": 23423,
885
+ "scope": 23424,
886
886
  "src": "1796:14:38",
887
887
  "stateVariable": false,
888
888
  "storageLocation": "default",
@@ -891,7 +891,7 @@
891
891
  "typeString": "address"
892
892
  },
893
893
  "typeName": {
894
- "id": 23420,
894
+ "id": 23421,
895
895
  "name": "address",
896
896
  "nodeType": "ElementaryTypeName",
897
897
  "src": "1796:7:38",
@@ -908,12 +908,12 @@
908
908
  }
909
909
  },
910
910
  {
911
- "id": 23428,
911
+ "id": 23429,
912
912
  "nodeType": "ErrorDefinition",
913
913
  "src": "1977:67:38",
914
914
  "nodes": [],
915
915
  "documentation": {
916
- "id": 23424,
916
+ "id": 23425,
917
917
  "nodeType": "StructuredDocumentation",
918
918
  "src": "1816:158:38",
919
919
  "text": " @notice Raised when trying to register a function selector that already exists.\n @param functionSelector The function selector in question."
@@ -922,17 +922,17 @@
922
922
  "name": "World_FunctionSelectorAlreadyExists",
923
923
  "nameLocation": "1983:35:38",
924
924
  "parameters": {
925
- "id": 23427,
925
+ "id": 23428,
926
926
  "nodeType": "ParameterList",
927
927
  "parameters": [
928
928
  {
929
929
  "constant": false,
930
- "id": 23426,
930
+ "id": 23427,
931
931
  "mutability": "mutable",
932
932
  "name": "functionSelector",
933
933
  "nameLocation": "2026:16:38",
934
934
  "nodeType": "VariableDeclaration",
935
- "scope": 23428,
935
+ "scope": 23429,
936
936
  "src": "2019:23:38",
937
937
  "stateVariable": false,
938
938
  "storageLocation": "default",
@@ -941,7 +941,7 @@
941
941
  "typeString": "bytes4"
942
942
  },
943
943
  "typeName": {
944
- "id": 23425,
944
+ "id": 23426,
945
945
  "name": "bytes4",
946
946
  "nodeType": "ElementaryTypeName",
947
947
  "src": "2019:6:38",
@@ -957,12 +957,12 @@
957
957
  }
958
958
  },
959
959
  {
960
- "id": 23433,
960
+ "id": 23434,
961
961
  "nodeType": "ErrorDefinition",
962
962
  "src": "2195:62:38",
963
963
  "nodes": [],
964
964
  "documentation": {
965
- "id": 23429,
965
+ "id": 23430,
966
966
  "nodeType": "StructuredDocumentation",
967
967
  "src": "2048:144:38",
968
968
  "text": " @notice Raised when the specified function selector is not found.\n @param functionSelector The function selector in question."
@@ -971,17 +971,17 @@
971
971
  "name": "World_FunctionSelectorNotFound",
972
972
  "nameLocation": "2201:30:38",
973
973
  "parameters": {
974
- "id": 23432,
974
+ "id": 23433,
975
975
  "nodeType": "ParameterList",
976
976
  "parameters": [
977
977
  {
978
978
  "constant": false,
979
- "id": 23431,
979
+ "id": 23432,
980
980
  "mutability": "mutable",
981
981
  "name": "functionSelector",
982
982
  "nameLocation": "2239:16:38",
983
983
  "nodeType": "VariableDeclaration",
984
- "scope": 23433,
984
+ "scope": 23434,
985
985
  "src": "2232:23:38",
986
986
  "stateVariable": false,
987
987
  "storageLocation": "default",
@@ -990,7 +990,7 @@
990
990
  "typeString": "bytes4"
991
991
  },
992
992
  "typeName": {
993
- "id": 23430,
993
+ "id": 23431,
994
994
  "name": "bytes4",
995
995
  "nodeType": "ElementaryTypeName",
996
996
  "src": "2232:6:38",
@@ -1006,12 +1006,12 @@
1006
1006
  }
1007
1007
  },
1008
1008
  {
1009
- "id": 23440,
1009
+ "id": 23441,
1010
1010
  "nodeType": "ErrorDefinition",
1011
1011
  "src": "2441:69:38",
1012
1012
  "nodes": [],
1013
1013
  "documentation": {
1014
- "id": 23434,
1014
+ "id": 23435,
1015
1015
  "nodeType": "StructuredDocumentation",
1016
1016
  "src": "2261:177:38",
1017
1017
  "text": " @notice Raised when the specified delegation is not found.\n @param delegator The address of the delegator.\n @param delegatee The address of the delegatee."
@@ -1020,17 +1020,17 @@
1020
1020
  "name": "World_DelegationNotFound",
1021
1021
  "nameLocation": "2447:24:38",
1022
1022
  "parameters": {
1023
- "id": 23439,
1023
+ "id": 23440,
1024
1024
  "nodeType": "ParameterList",
1025
1025
  "parameters": [
1026
1026
  {
1027
1027
  "constant": false,
1028
- "id": 23436,
1028
+ "id": 23437,
1029
1029
  "mutability": "mutable",
1030
1030
  "name": "delegator",
1031
1031
  "nameLocation": "2480:9:38",
1032
1032
  "nodeType": "VariableDeclaration",
1033
- "scope": 23440,
1033
+ "scope": 23441,
1034
1034
  "src": "2472:17:38",
1035
1035
  "stateVariable": false,
1036
1036
  "storageLocation": "default",
@@ -1039,7 +1039,7 @@
1039
1039
  "typeString": "address"
1040
1040
  },
1041
1041
  "typeName": {
1042
- "id": 23435,
1042
+ "id": 23436,
1043
1043
  "name": "address",
1044
1044
  "nodeType": "ElementaryTypeName",
1045
1045
  "src": "2472:7:38",
@@ -1053,12 +1053,12 @@
1053
1053
  },
1054
1054
  {
1055
1055
  "constant": false,
1056
- "id": 23438,
1056
+ "id": 23439,
1057
1057
  "mutability": "mutable",
1058
1058
  "name": "delegatee",
1059
1059
  "nameLocation": "2499:9:38",
1060
1060
  "nodeType": "VariableDeclaration",
1061
- "scope": 23440,
1061
+ "scope": 23441,
1062
1062
  "src": "2491:17:38",
1063
1063
  "stateVariable": false,
1064
1064
  "storageLocation": "default",
@@ -1067,7 +1067,7 @@
1067
1067
  "typeString": "address"
1068
1068
  },
1069
1069
  "typeName": {
1070
- "id": 23437,
1070
+ "id": 23438,
1071
1071
  "name": "address",
1072
1072
  "nodeType": "ElementaryTypeName",
1073
1073
  "src": "2491:7:38",
@@ -1084,12 +1084,12 @@
1084
1084
  }
1085
1085
  },
1086
1086
  {
1087
- "id": 23443,
1087
+ "id": 23444,
1088
1088
  "nodeType": "ErrorDefinition",
1089
1089
  "src": "2690:44:38",
1090
1090
  "nodes": [],
1091
1091
  "documentation": {
1092
- "id": 23441,
1092
+ "id": 23442,
1093
1093
  "nodeType": "StructuredDocumentation",
1094
1094
  "src": "2514:173:38",
1095
1095
  "text": " @notice Raised when trying to create an unlimited delegation in a context where it is not allowed,\n e.g. when registering a namespace fallback delegation."
@@ -1098,19 +1098,19 @@
1098
1098
  "name": "World_UnlimitedDelegationNotAllowed",
1099
1099
  "nameLocation": "2696:35:38",
1100
1100
  "parameters": {
1101
- "id": 23442,
1101
+ "id": 23443,
1102
1102
  "nodeType": "ParameterList",
1103
1103
  "parameters": [],
1104
1104
  "src": "2731:2:38"
1105
1105
  }
1106
1106
  },
1107
1107
  {
1108
- "id": 23450,
1108
+ "id": 23451,
1109
1109
  "nodeType": "ErrorDefinition",
1110
1110
  "src": "2914:65:38",
1111
1111
  "nodes": [],
1112
1112
  "documentation": {
1113
- "id": 23444,
1113
+ "id": 23445,
1114
1114
  "nodeType": "StructuredDocumentation",
1115
1115
  "src": "2738:173:38",
1116
1116
  "text": " @notice Raised when there's an insufficient balance for a particular operation.\n @param balance The current balance.\n @param amount The amount needed."
@@ -1119,17 +1119,17 @@
1119
1119
  "name": "World_InsufficientBalance",
1120
1120
  "nameLocation": "2920:25:38",
1121
1121
  "parameters": {
1122
- "id": 23449,
1122
+ "id": 23450,
1123
1123
  "nodeType": "ParameterList",
1124
1124
  "parameters": [
1125
1125
  {
1126
1126
  "constant": false,
1127
- "id": 23446,
1127
+ "id": 23447,
1128
1128
  "mutability": "mutable",
1129
1129
  "name": "balance",
1130
1130
  "nameLocation": "2954:7:38",
1131
1131
  "nodeType": "VariableDeclaration",
1132
- "scope": 23450,
1132
+ "scope": 23451,
1133
1133
  "src": "2946:15:38",
1134
1134
  "stateVariable": false,
1135
1135
  "storageLocation": "default",
@@ -1138,7 +1138,7 @@
1138
1138
  "typeString": "uint256"
1139
1139
  },
1140
1140
  "typeName": {
1141
- "id": 23445,
1141
+ "id": 23446,
1142
1142
  "name": "uint256",
1143
1143
  "nodeType": "ElementaryTypeName",
1144
1144
  "src": "2946:7:38",
@@ -1151,12 +1151,12 @@
1151
1151
  },
1152
1152
  {
1153
1153
  "constant": false,
1154
- "id": 23448,
1154
+ "id": 23449,
1155
1155
  "mutability": "mutable",
1156
1156
  "name": "amount",
1157
1157
  "nameLocation": "2971:6:38",
1158
1158
  "nodeType": "VariableDeclaration",
1159
- "scope": 23450,
1159
+ "scope": 23451,
1160
1160
  "src": "2963:14:38",
1161
1161
  "stateVariable": false,
1162
1162
  "storageLocation": "default",
@@ -1165,7 +1165,7 @@
1165
1165
  "typeString": "uint256"
1166
1166
  },
1167
1167
  "typeName": {
1168
- "id": 23447,
1168
+ "id": 23448,
1169
1169
  "name": "uint256",
1170
1170
  "nodeType": "ElementaryTypeName",
1171
1171
  "src": "2963:7:38",
@@ -1181,12 +1181,12 @@
1181
1181
  }
1182
1182
  },
1183
1183
  {
1184
- "id": 23457,
1184
+ "id": 23458,
1185
1185
  "nodeType": "ErrorDefinition",
1186
1186
  "src": "3196:79:38",
1187
1187
  "nodes": [],
1188
1188
  "documentation": {
1189
- "id": 23451,
1189
+ "id": 23452,
1190
1190
  "nodeType": "StructuredDocumentation",
1191
1191
  "src": "2983:210:38",
1192
1192
  "text": " @notice Raised when the specified interface is not supported by the contract.\n @param contractAddress The address of the contract in question.\n @param interfaceId The ID of the interface."
@@ -1195,17 +1195,17 @@
1195
1195
  "name": "World_InterfaceNotSupported",
1196
1196
  "nameLocation": "3202:27:38",
1197
1197
  "parameters": {
1198
- "id": 23456,
1198
+ "id": 23457,
1199
1199
  "nodeType": "ParameterList",
1200
1200
  "parameters": [
1201
1201
  {
1202
1202
  "constant": false,
1203
- "id": 23453,
1203
+ "id": 23454,
1204
1204
  "mutability": "mutable",
1205
1205
  "name": "contractAddress",
1206
1206
  "nameLocation": "3238:15:38",
1207
1207
  "nodeType": "VariableDeclaration",
1208
- "scope": 23457,
1208
+ "scope": 23458,
1209
1209
  "src": "3230:23:38",
1210
1210
  "stateVariable": false,
1211
1211
  "storageLocation": "default",
@@ -1214,7 +1214,7 @@
1214
1214
  "typeString": "address"
1215
1215
  },
1216
1216
  "typeName": {
1217
- "id": 23452,
1217
+ "id": 23453,
1218
1218
  "name": "address",
1219
1219
  "nodeType": "ElementaryTypeName",
1220
1220
  "src": "3230:7:38",
@@ -1228,12 +1228,12 @@
1228
1228
  },
1229
1229
  {
1230
1230
  "constant": false,
1231
- "id": 23455,
1231
+ "id": 23456,
1232
1232
  "mutability": "mutable",
1233
1233
  "name": "interfaceId",
1234
1234
  "nameLocation": "3262:11:38",
1235
1235
  "nodeType": "VariableDeclaration",
1236
- "scope": 23457,
1236
+ "scope": 23458,
1237
1237
  "src": "3255:18:38",
1238
1238
  "stateVariable": false,
1239
1239
  "storageLocation": "default",
@@ -1242,7 +1242,7 @@
1242
1242
  "typeString": "bytes4"
1243
1243
  },
1244
1244
  "typeName": {
1245
- "id": 23454,
1245
+ "id": 23455,
1246
1246
  "name": "bytes4",
1247
1247
  "nodeType": "ElementaryTypeName",
1248
1248
  "src": "3255:6:38",
@@ -1258,12 +1258,12 @@
1258
1258
  }
1259
1259
  },
1260
1260
  {
1261
- "id": 23467,
1261
+ "id": 23468,
1262
1262
  "nodeType": "ErrorDefinition",
1263
1263
  "src": "3525:97:38",
1264
1264
  "nodes": [],
1265
1265
  "documentation": {
1266
- "id": 23458,
1266
+ "id": 23459,
1267
1267
  "nodeType": "StructuredDocumentation",
1268
1268
  "src": "3279:243:38",
1269
1269
  "text": " @notice Raised when an invalid resource type is provided.\n @param expected The expected resource type.\n @param resourceId The ID of the resource.\n @param resourceIdString The string representation of the resource ID."
@@ -1272,17 +1272,17 @@
1272
1272
  "name": "World_InvalidResourceType",
1273
1273
  "nameLocation": "3531:25:38",
1274
1274
  "parameters": {
1275
- "id": 23466,
1275
+ "id": 23467,
1276
1276
  "nodeType": "ParameterList",
1277
1277
  "parameters": [
1278
1278
  {
1279
1279
  "constant": false,
1280
- "id": 23460,
1280
+ "id": 23461,
1281
1281
  "mutability": "mutable",
1282
1282
  "name": "expected",
1283
1283
  "nameLocation": "3564:8:38",
1284
1284
  "nodeType": "VariableDeclaration",
1285
- "scope": 23467,
1285
+ "scope": 23468,
1286
1286
  "src": "3557:15:38",
1287
1287
  "stateVariable": false,
1288
1288
  "storageLocation": "default",
@@ -1291,7 +1291,7 @@
1291
1291
  "typeString": "bytes2"
1292
1292
  },
1293
1293
  "typeName": {
1294
- "id": 23459,
1294
+ "id": 23460,
1295
1295
  "name": "bytes2",
1296
1296
  "nodeType": "ElementaryTypeName",
1297
1297
  "src": "3557:6:38",
@@ -1304,36 +1304,36 @@
1304
1304
  },
1305
1305
  {
1306
1306
  "constant": false,
1307
- "id": 23463,
1307
+ "id": 23464,
1308
1308
  "mutability": "mutable",
1309
1309
  "name": "resourceId",
1310
1310
  "nameLocation": "3585:10:38",
1311
1311
  "nodeType": "VariableDeclaration",
1312
- "scope": 23467,
1312
+ "scope": 23468,
1313
1313
  "src": "3574:21:38",
1314
1314
  "stateVariable": false,
1315
1315
  "storageLocation": "default",
1316
1316
  "typeDescriptions": {
1317
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
1317
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
1318
1318
  "typeString": "ResourceId"
1319
1319
  },
1320
1320
  "typeName": {
1321
- "id": 23462,
1321
+ "id": 23463,
1322
1322
  "nodeType": "UserDefinedTypeName",
1323
1323
  "pathNode": {
1324
- "id": 23461,
1324
+ "id": 23462,
1325
1325
  "name": "ResourceId",
1326
1326
  "nameLocations": [
1327
1327
  "3574:10:38"
1328
1328
  ],
1329
1329
  "nodeType": "IdentifierPath",
1330
- "referencedDeclaration": 26566,
1330
+ "referencedDeclaration": 26573,
1331
1331
  "src": "3574:10:38"
1332
1332
  },
1333
- "referencedDeclaration": 26566,
1333
+ "referencedDeclaration": 26573,
1334
1334
  "src": "3574:10:38",
1335
1335
  "typeDescriptions": {
1336
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26566",
1336
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
1337
1337
  "typeString": "ResourceId"
1338
1338
  }
1339
1339
  },
@@ -1341,12 +1341,12 @@
1341
1341
  },
1342
1342
  {
1343
1343
  "constant": false,
1344
- "id": 23465,
1344
+ "id": 23466,
1345
1345
  "mutability": "mutable",
1346
1346
  "name": "resourceIdString",
1347
1347
  "nameLocation": "3604:16:38",
1348
1348
  "nodeType": "VariableDeclaration",
1349
- "scope": 23467,
1349
+ "scope": 23468,
1350
1350
  "src": "3597:23:38",
1351
1351
  "stateVariable": false,
1352
1352
  "storageLocation": "default",
@@ -1355,7 +1355,7 @@
1355
1355
  "typeString": "string"
1356
1356
  },
1357
1357
  "typeName": {
1358
- "id": 23464,
1358
+ "id": 23465,
1359
1359
  "name": "string",
1360
1360
  "nodeType": "ElementaryTypeName",
1361
1361
  "src": "3597:6:38",
@@ -1371,12 +1371,12 @@
1371
1371
  }
1372
1372
  },
1373
1373
  {
1374
- "id": 23472,
1374
+ "id": 23473,
1375
1375
  "nodeType": "ErrorDefinition",
1376
1376
  "src": "3792:56:38",
1377
1377
  "nodes": [],
1378
1378
  "documentation": {
1379
- "id": 23468,
1379
+ "id": 23469,
1380
1380
  "nodeType": "StructuredDocumentation",
1381
1381
  "src": "3626:163:38",
1382
1382
  "text": " @notice Raised when the World is calling itself via an external call.\n @param functionSelector The function selector of the disallowed callback."
@@ -1385,17 +1385,17 @@
1385
1385
  "name": "World_CallbackNotAllowed",
1386
1386
  "nameLocation": "3798:24:38",
1387
1387
  "parameters": {
1388
- "id": 23471,
1388
+ "id": 23472,
1389
1389
  "nodeType": "ParameterList",
1390
1390
  "parameters": [
1391
1391
  {
1392
1392
  "constant": false,
1393
- "id": 23470,
1393
+ "id": 23471,
1394
1394
  "mutability": "mutable",
1395
1395
  "name": "functionSelector",
1396
1396
  "nameLocation": "3830:16:38",
1397
1397
  "nodeType": "VariableDeclaration",
1398
- "scope": 23472,
1398
+ "scope": 23473,
1399
1399
  "src": "3823:23:38",
1400
1400
  "stateVariable": false,
1401
1401
  "storageLocation": "default",
@@ -1404,7 +1404,7 @@
1404
1404
  "typeString": "bytes4"
1405
1405
  },
1406
1406
  "typeName": {
1407
- "id": 23469,
1407
+ "id": 23470,
1408
1408
  "name": "bytes4",
1409
1409
  "nodeType": "ElementaryTypeName",
1410
1410
  "src": "3823:6:38",
@@ -1426,33 +1426,33 @@
1426
1426
  "contractDependencies": [],
1427
1427
  "contractKind": "interface",
1428
1428
  "documentation": {
1429
- "id": 23384,
1429
+ "id": 23385,
1430
1430
  "nodeType": "StructuredDocumentation",
1431
1431
  "src": "127:215:38",
1432
1432
  "text": " @title World Errors Interface\n @dev This interface contains custom error types for the World contract. These errors provide\n more informative messages for certain operations within the World contract."
1433
1433
  },
1434
1434
  "fullyImplemented": true,
1435
1435
  "linearizedBaseContracts": [
1436
- 23473
1436
+ 23474
1437
1437
  ],
1438
1438
  "name": "IWorldErrors",
1439
1439
  "nameLocation": "353:12:38",
1440
- "scope": 23474,
1440
+ "scope": 23475,
1441
1441
  "usedErrors": [
1442
- 23387,
1443
- 23395,
1444
- 23403,
1445
- 23410,
1446
- 23418,
1447
- 23423,
1448
- 23428,
1449
- 23433,
1450
- 23440,
1451
- 23443,
1452
- 23450,
1453
- 23457,
1454
- 23467,
1455
- 23472
1442
+ 23388,
1443
+ 23396,
1444
+ 23404,
1445
+ 23411,
1446
+ 23419,
1447
+ 23424,
1448
+ 23429,
1449
+ 23434,
1450
+ 23441,
1451
+ 23444,
1452
+ 23451,
1453
+ 23458,
1454
+ 23468,
1455
+ 23473
1456
1456
  ],
1457
1457
  "usedEvents": []
1458
1458
  }