@latticexyz/world-modules 2.0.0-next.10 → 2.0.0-next.11

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 (115) hide show
  1. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  2. package/out/AccessControl.sol/AccessControl.json +1651 -0
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Balances.sol/Balances.abi.json +1 -0
  5. package/out/Balances.sol/Balances.json +13002 -0
  6. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +354 -354
  7. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  8. package/out/DelegationControl.sol/DelegationControl.json +139 -139
  9. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  10. package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
  11. package/out/Hooks.sol/Hooks.json +45 -45
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  14. package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
  16. package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
  17. package/out/ISystemHook.sol/ISystemHook.json +16 -16
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
  19. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  20. package/out/IWorldKernel.sol/IWorldCall.json +14 -14
  21. package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
  22. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
  23. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
  24. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  25. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  26. package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
  27. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  28. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
  29. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
  30. package/out/Module.sol/Module.json +119 -119
  31. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  32. package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
  33. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  34. package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
  35. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  36. package/out/Schema.sol/SchemaInstance.json +30 -30
  37. package/out/Schema.sol/SchemaLib.json +30 -30
  38. package/out/SchemaType.sol/SchemaType.json +729 -729
  39. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +452 -452
  40. package/out/StoreHook.sol/StoreHook.json +639 -639
  41. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  42. package/out/System.sol/System.json +32 -32
  43. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  44. package/out/SystemHooks.sol/SystemHooks.json +32460 -0
  45. package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
  46. package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
  47. package/out/Systems.sol/Systems.abi.json +1 -0
  48. package/out/Systems.sol/Systems.json +18508 -0
  49. package/out/Tables.sol/Tables.json +73 -73
  50. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +187 -187
  51. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  52. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  53. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
  54. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
  55. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
  56. package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
  57. package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
  58. package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
  59. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +107 -107
  60. package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
  61. package/out/constants.sol/constants.json +477 -194
  62. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  63. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  64. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  65. package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
  66. package/out/hasKey.sol/hasKey.json +215 -215
  67. package/out/index.sol/index.json +73 -73
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +175 -175
  69. package/out/query.sol/query.json +1892 -1892
  70. package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
  71. package/out/src/Bytes.sol/Bytes.json +3766 -3766
  72. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
  73. package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
  74. package/out/src/Hook.sol/HookInstance.abi.json +1 -0
  75. package/out/src/Hook.sol/HookInstance.json +2823 -0
  76. package/out/src/Hook.sol/HookLib.abi.json +1 -0
  77. package/out/src/Hook.sol/HookLib.json +2823 -0
  78. package/out/src/IStore.sol/IStore.json +73 -73
  79. package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
  80. package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
  81. package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
  82. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
  83. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
  84. package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
  85. package/out/src/IWorldKernel.sol/IWorldCall.json +262 -262
  86. package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
  87. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
  88. package/out/src/Memory.sol/Memory.json +242 -242
  89. package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
  90. package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
  91. package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
  92. package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
  93. package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
  94. package/out/src/Schema.sol/SchemaLib.json +1351 -1351
  95. package/out/src/Slice.sol/SliceInstance.json +802 -802
  96. package/out/src/Slice.sol/SliceLib.json +802 -802
  97. package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
  98. package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
  99. package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
  100. package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
  101. package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
  102. package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
  103. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +813 -813
  104. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
  105. package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
  106. package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
  107. package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
  108. package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
  109. package/out/tables/Tables.sol/Tables.json +12189 -12189
  110. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
  111. package/out/types.sol/types.json +71 -71
  112. package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
  113. package/package.json +8 -8
  114. package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
  115. package/src/utils/SystemSwitch.sol +82 -0
@@ -329,7 +329,7 @@
329
329
  "installRootModule(address,bytes)": "af068c9e",
330
330
  "worldVersion()": "6951955d"
331
331
  },
332
- "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"resource\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"World_AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_CallbackNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"World_DelegationNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"World_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"World_InterfaceNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"system\",\"type\":\"address\"}],\"name\":\"World_SystemAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_UnlimitedDelegationNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"worldVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloWorld\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"coreModule\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"worldVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"params\":{\"caller\":\"The address of the user trying to access the resource.\",\"resource\":\"The resource's identifier.\"}}],\"World_CallbackNotAllowed(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector of the disallowed callback.\"}}],\"World_DelegationNotFound(address,address)\":[{\"params\":{\"delegatee\":\"The address of the delegatee.\",\"delegator\":\"The address of the delegator.\"}}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_InsufficientBalance(uint256,uint256)\":[{\"params\":{\"amount\":\"The amount needed.\",\"balance\":\"The current balance.\"}}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"params\":{\"contractAddress\":\"The address of the contract in question.\",\"interfaceId\":\"The ID of the interface.\"}}],\"World_InvalidResourceId(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"params\":{\"expected\":\"The expected resource type.\",\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceNotFound(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_SystemAlreadyExists(address)\":[{\"params\":{\"system\":\"The address of the system.\"}}]},\"events\":{\"HelloWorld(bytes32)\":{\"details\":\"Emitted upon successful World initialization.\",\"params\":{\"worldVersion\":\"The version of the World being initialized.\"}}},\"kind\":\"dev\",\"methods\":{\"call(bytes32,bytes)\":{\"details\":\"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"callFrom(address,bytes32,bytes)\":{\"details\":\"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"delegator\":\"The address on whose behalf the call is made.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"creator()\":{\"returns\":{\"_0\":\"The address of the World's creator.\"}},\"initialize(address)\":{\"details\":\"Can only be called once by the creator.\",\"params\":{\"coreModule\":\"The CoreModule to be installed during initialization.\"}},\"installRootModule(address,bytes)\":{\"details\":\"Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\",\"params\":{\"args\":\"The arguments provided for the module installation.\",\"module\":\"The module to be installed.\"}},\"worldVersion()\":{\"returns\":{\"_0\":\"The version identifier of the World.\"}}},\"title\":\"World Kernel Interface\",\"version\":1},\"userdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"notice\":\"Raised when a user tries to access a resource they don't have permission for.\"}],\"World_AlreadyInitialized()\":[{\"notice\":\"Raised when trying to initialize an already initialized World.\"}],\"World_CallbackNotAllowed(bytes4)\":[{\"notice\":\"Raised when the World is calling itself via an external call.\"}],\"World_DelegationNotFound(address,address)\":[{\"notice\":\"Raised when the specified delegation is not found.\"}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"notice\":\"Raised when trying to register a function selector that already exists.\"}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"notice\":\"Raised when the specified function selector is not found.\"}],\"World_InsufficientBalance(uint256,uint256)\":[{\"notice\":\"Raised when there's an insufficient balance for a particular operation.\"}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"notice\":\"Raised when the specified interface is not supported by the contract.\"}],\"World_InvalidResourceId(bytes32,string)\":[{\"notice\":\"Raised when an invalid resource ID is provided.\"}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"notice\":\"Raised when an invalid resource type is provided.\"}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"notice\":\"Raised when trying to register a resource that already exists.\"}],\"World_ResourceNotFound(bytes32,string)\":[{\"notice\":\"Raised when the specified resource is not found.\"}],\"World_SystemAlreadyExists(address)\":[{\"notice\":\"Raised when trying to register a system that already exists.\"}],\"World_UnlimitedDelegationNotAllowed()\":[{\"notice\":\"Raised when trying to create an unlimited delegation in a context where it is not allowed, e.g. when registering a namespace fallback delegation.\"}]},\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID.\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator.\"},\"creator()\":{\"notice\":\"Retrieve the immutable original deployer of the World.\"},\"initialize(address)\":{\"notice\":\"Initializes the World.\"},\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"},\"worldVersion()\":{\"notice\":\"Retrieve the version of the World.\"}},\"notice\":\"The IWorldKernel interface includes all methods that are part of the World contract's internal bytecode. Consumers should use the `IBaseWorld` interface instead, which includes dynamically registered functions selectors from the `CoreModule`.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":\"IWorldKernel\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3\",\"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]}},\"version\":1}",
332
+ "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"resource\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"World_AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_CallbackNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"World_DelegationNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"World_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"World_InterfaceNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"system\",\"type\":\"address\"}],\"name\":\"World_SystemAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_UnlimitedDelegationNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"worldVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloWorld\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"coreModule\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"worldVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"params\":{\"caller\":\"The address of the user trying to access the resource.\",\"resource\":\"The resource's identifier.\"}}],\"World_CallbackNotAllowed(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector of the disallowed callback.\"}}],\"World_DelegationNotFound(address,address)\":[{\"params\":{\"delegatee\":\"The address of the delegatee.\",\"delegator\":\"The address of the delegator.\"}}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_InsufficientBalance(uint256,uint256)\":[{\"params\":{\"amount\":\"The amount needed.\",\"balance\":\"The current balance.\"}}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"params\":{\"contractAddress\":\"The address of the contract in question.\",\"interfaceId\":\"The ID of the interface.\"}}],\"World_InvalidResourceId(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"params\":{\"expected\":\"The expected resource type.\",\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceNotFound(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_SystemAlreadyExists(address)\":[{\"params\":{\"system\":\"The address of the system.\"}}]},\"events\":{\"HelloWorld(bytes32)\":{\"details\":\"Emitted upon successful World initialization.\",\"params\":{\"worldVersion\":\"The version of the World being initialized.\"}}},\"kind\":\"dev\",\"methods\":{\"call(bytes32,bytes)\":{\"details\":\"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"callFrom(address,bytes32,bytes)\":{\"details\":\"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"delegator\":\"The address on whose behalf the call is made.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"creator()\":{\"returns\":{\"_0\":\"The address of the World's creator.\"}},\"initialize(address)\":{\"details\":\"Can only be called once by the creator.\",\"params\":{\"coreModule\":\"The CoreModule to be installed during initialization.\"}},\"installRootModule(address,bytes)\":{\"details\":\"Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\",\"params\":{\"args\":\"The arguments provided for the module installation.\",\"module\":\"The module to be installed.\"}},\"worldVersion()\":{\"returns\":{\"_0\":\"The version identifier of the World.\"}}},\"title\":\"World Kernel Interface\",\"version\":1},\"userdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"notice\":\"Raised when a user tries to access a resource they don't have permission for.\"}],\"World_AlreadyInitialized()\":[{\"notice\":\"Raised when trying to initialize an already initialized World.\"}],\"World_CallbackNotAllowed(bytes4)\":[{\"notice\":\"Raised when the World is calling itself via an external call.\"}],\"World_DelegationNotFound(address,address)\":[{\"notice\":\"Raised when the specified delegation is not found.\"}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"notice\":\"Raised when trying to register a function selector that already exists.\"}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"notice\":\"Raised when the specified function selector is not found.\"}],\"World_InsufficientBalance(uint256,uint256)\":[{\"notice\":\"Raised when there's an insufficient balance for a particular operation.\"}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"notice\":\"Raised when the specified interface is not supported by the contract.\"}],\"World_InvalidResourceId(bytes32,string)\":[{\"notice\":\"Raised when an invalid resource ID is provided.\"}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"notice\":\"Raised when an invalid resource type is provided.\"}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"notice\":\"Raised when trying to register a resource that already exists.\"}],\"World_ResourceNotFound(bytes32,string)\":[{\"notice\":\"Raised when the specified resource is not found.\"}],\"World_SystemAlreadyExists(address)\":[{\"notice\":\"Raised when trying to register a system that already exists.\"}],\"World_UnlimitedDelegationNotAllowed()\":[{\"notice\":\"Raised when trying to create an unlimited delegation in a context where it is not allowed, e.g. when registering a namespace fallback delegation.\"}]},\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID.\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator.\"},\"creator()\":{\"notice\":\"Retrieve the immutable original deployer of the World.\"},\"initialize(address)\":{\"notice\":\"Initializes the World.\"},\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"},\"worldVersion()\":{\"notice\":\"Retrieve the version of the World.\"}},\"notice\":\"The IWorldKernel interface includes all methods that are part of the World contract's internal bytecode. Consumers should use the `IBaseWorld` interface instead, which includes dynamically registered functions selectors from the `CoreModule`.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":\"IWorldKernel\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3\",\"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218\",\"dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]}},\"version\":1}",
333
333
  "metadata": {
334
334
  "compiler": {
335
335
  "version": "0.8.21+commit.d9974bed"
@@ -805,10 +805,10 @@
805
805
  "license": "MIT"
806
806
  },
807
807
  "node_modules/@latticexyz/world/src/constants.sol": {
808
- "keccak256": "0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77",
808
+ "keccak256": "0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588",
809
809
  "urls": [
810
- "bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac",
811
- "dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET"
810
+ "bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218",
811
+ "dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc"
812
812
  ],
813
813
  "license": "MIT"
814
814
  },
@@ -825,34 +825,34 @@
825
825
  },
826
826
  "ast": {
827
827
  "absolutePath": "node_modules/@latticexyz/world/src/IWorldKernel.sol",
828
- "id": 39148,
828
+ "id": 41919,
829
829
  "exportedSymbols": {
830
830
  "IModule": [
831
- 61591
831
+ 75724
832
832
  ],
833
833
  "IWorldCall": [
834
- 39115
834
+ 41886
835
835
  ],
836
836
  "IWorldErrors": [
837
- 61685
837
+ 41841
838
838
  ],
839
839
  "IWorldKernel": [
840
- 39147
840
+ 41918
841
841
  ],
842
842
  "IWorldModuleInstallation": [
843
- 39089
843
+ 41860
844
844
  ],
845
845
  "ResourceId": [
846
- 26605
846
+ 29139
847
847
  ]
848
848
  },
849
849
  "nodeType": "SourceUnit",
850
- "src": "32:3258:94",
850
+ "src": "32:3258:97",
851
851
  "nodes": [
852
852
  {
853
- "id": 39072,
853
+ "id": 41843,
854
854
  "nodeType": "PragmaDirective",
855
- "src": "32:25:94",
855
+ "src": "32:25:97",
856
856
  "nodes": [],
857
857
  "literals": [
858
858
  "solidity",
@@ -862,24 +862,24 @@
862
862
  ]
863
863
  },
864
864
  {
865
- "id": 39074,
865
+ "id": 41845,
866
866
  "nodeType": "ImportDirective",
867
- "src": "59:50:94",
867
+ "src": "59:50:97",
868
868
  "nodes": [],
869
869
  "absolutePath": "node_modules/@latticexyz/world/src/IWorldErrors.sol",
870
870
  "file": "./IWorldErrors.sol",
871
871
  "nameLocation": "-1:-1:-1",
872
- "scope": 39148,
873
- "sourceUnit": 61686,
872
+ "scope": 41919,
873
+ "sourceUnit": 41842,
874
874
  "symbolAliases": [
875
875
  {
876
876
  "foreign": {
877
- "id": 39073,
877
+ "id": 41844,
878
878
  "name": "IWorldErrors",
879
879
  "nodeType": "Identifier",
880
880
  "overloadedDeclarations": [],
881
- "referencedDeclaration": 61685,
882
- "src": "68:12:94",
881
+ "referencedDeclaration": 41841,
882
+ "src": "68:12:97",
883
883
  "typeDescriptions": {}
884
884
  },
885
885
  "nameLocation": "-1:-1:-1"
@@ -888,24 +888,24 @@
888
888
  "unitAlias": ""
889
889
  },
890
890
  {
891
- "id": 39076,
891
+ "id": 41847,
892
892
  "nodeType": "ImportDirective",
893
- "src": "110:40:94",
893
+ "src": "110:40:97",
894
894
  "nodes": [],
895
895
  "absolutePath": "node_modules/@latticexyz/world/src/IModule.sol",
896
896
  "file": "./IModule.sol",
897
897
  "nameLocation": "-1:-1:-1",
898
- "scope": 39148,
899
- "sourceUnit": 61592,
898
+ "scope": 41919,
899
+ "sourceUnit": 75725,
900
900
  "symbolAliases": [
901
901
  {
902
902
  "foreign": {
903
- "id": 39075,
903
+ "id": 41846,
904
904
  "name": "IModule",
905
905
  "nodeType": "Identifier",
906
906
  "overloadedDeclarations": [],
907
- "referencedDeclaration": 61591,
908
- "src": "119:7:94",
907
+ "referencedDeclaration": 75724,
908
+ "src": "119:7:97",
909
909
  "typeDescriptions": {}
910
910
  },
911
911
  "nameLocation": "-1:-1:-1"
@@ -914,24 +914,24 @@
914
914
  "unitAlias": ""
915
915
  },
916
916
  {
917
- "id": 39078,
917
+ "id": 41849,
918
918
  "nodeType": "ImportDirective",
919
- "src": "151:51:94",
919
+ "src": "151:51:97",
920
920
  "nodes": [],
921
921
  "absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
922
922
  "file": "./WorldResourceId.sol",
923
923
  "nameLocation": "-1:-1:-1",
924
- "scope": 39148,
925
- "sourceUnit": 39740,
924
+ "scope": 41919,
925
+ "sourceUnit": 42511,
926
926
  "symbolAliases": [
927
927
  {
928
928
  "foreign": {
929
- "id": 39077,
929
+ "id": 41848,
930
930
  "name": "ResourceId",
931
931
  "nodeType": "Identifier",
932
932
  "overloadedDeclarations": [],
933
- "referencedDeclaration": 26605,
934
- "src": "160:10:94",
933
+ "referencedDeclaration": 29139,
934
+ "src": "160:10:97",
935
935
  "typeDescriptions": {}
936
936
  },
937
937
  "nameLocation": "-1:-1:-1"
@@ -940,19 +940,19 @@
940
940
  "unitAlias": ""
941
941
  },
942
942
  {
943
- "id": 39089,
943
+ "id": 41860,
944
944
  "nodeType": "ContractDefinition",
945
- "src": "354:420:94",
945
+ "src": "354:420:97",
946
946
  "nodes": [
947
947
  {
948
- "id": 39088,
948
+ "id": 41859,
949
949
  "nodeType": "FunctionDefinition",
950
- "src": "701:71:94",
950
+ "src": "701:71:97",
951
951
  "nodes": [],
952
952
  "documentation": {
953
- "id": 39080,
953
+ "id": 41851,
954
954
  "nodeType": "StructuredDocumentation",
955
- "src": "393:305:94",
955
+ "src": "393:305:97",
956
956
  "text": " @notice Install the given root module in the World.\n @dev Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\n @param module The module to be installed.\n @param args The arguments provided for the module installation."
957
957
  },
958
958
  "functionSelector": "af068c9e",
@@ -960,43 +960,43 @@
960
960
  "kind": "function",
961
961
  "modifiers": [],
962
962
  "name": "installRootModule",
963
- "nameLocation": "710:17:94",
963
+ "nameLocation": "710:17:97",
964
964
  "parameters": {
965
- "id": 39086,
965
+ "id": 41857,
966
966
  "nodeType": "ParameterList",
967
967
  "parameters": [
968
968
  {
969
969
  "constant": false,
970
- "id": 39083,
970
+ "id": 41854,
971
971
  "mutability": "mutable",
972
972
  "name": "module",
973
- "nameLocation": "736:6:94",
973
+ "nameLocation": "736:6:97",
974
974
  "nodeType": "VariableDeclaration",
975
- "scope": 39088,
976
- "src": "728:14:94",
975
+ "scope": 41859,
976
+ "src": "728:14:97",
977
977
  "stateVariable": false,
978
978
  "storageLocation": "default",
979
979
  "typeDescriptions": {
980
- "typeIdentifier": "t_contract$_IModule_$61591",
980
+ "typeIdentifier": "t_contract$_IModule_$75724",
981
981
  "typeString": "contract IModule"
982
982
  },
983
983
  "typeName": {
984
- "id": 39082,
984
+ "id": 41853,
985
985
  "nodeType": "UserDefinedTypeName",
986
986
  "pathNode": {
987
- "id": 39081,
987
+ "id": 41852,
988
988
  "name": "IModule",
989
989
  "nameLocations": [
990
- "728:7:94"
990
+ "728:7:97"
991
991
  ],
992
992
  "nodeType": "IdentifierPath",
993
- "referencedDeclaration": 61591,
994
- "src": "728:7:94"
993
+ "referencedDeclaration": 75724,
994
+ "src": "728:7:97"
995
995
  },
996
- "referencedDeclaration": 61591,
997
- "src": "728:7:94",
996
+ "referencedDeclaration": 75724,
997
+ "src": "728:7:97",
998
998
  "typeDescriptions": {
999
- "typeIdentifier": "t_contract$_IModule_$61591",
999
+ "typeIdentifier": "t_contract$_IModule_$75724",
1000
1000
  "typeString": "contract IModule"
1001
1001
  }
1002
1002
  },
@@ -1004,13 +1004,13 @@
1004
1004
  },
1005
1005
  {
1006
1006
  "constant": false,
1007
- "id": 39085,
1007
+ "id": 41856,
1008
1008
  "mutability": "mutable",
1009
1009
  "name": "args",
1010
- "nameLocation": "757:4:94",
1010
+ "nameLocation": "757:4:97",
1011
1011
  "nodeType": "VariableDeclaration",
1012
- "scope": 39088,
1013
- "src": "744:17:94",
1012
+ "scope": 41859,
1013
+ "src": "744:17:97",
1014
1014
  "stateVariable": false,
1015
1015
  "storageLocation": "memory",
1016
1016
  "typeDescriptions": {
@@ -1018,10 +1018,10 @@
1018
1018
  "typeString": "bytes"
1019
1019
  },
1020
1020
  "typeName": {
1021
- "id": 39084,
1021
+ "id": 41855,
1022
1022
  "name": "bytes",
1023
1023
  "nodeType": "ElementaryTypeName",
1024
- "src": "744:5:94",
1024
+ "src": "744:5:97",
1025
1025
  "typeDescriptions": {
1026
1026
  "typeIdentifier": "t_bytes_storage_ptr",
1027
1027
  "typeString": "bytes"
@@ -1030,15 +1030,15 @@
1030
1030
  "visibility": "internal"
1031
1031
  }
1032
1032
  ],
1033
- "src": "727:35:94"
1033
+ "src": "727:35:97"
1034
1034
  },
1035
1035
  "returnParameters": {
1036
- "id": 39087,
1036
+ "id": 41858,
1037
1037
  "nodeType": "ParameterList",
1038
1038
  "parameters": [],
1039
- "src": "771:0:94"
1039
+ "src": "771:0:97"
1040
1040
  },
1041
- "scope": 39089,
1041
+ "scope": 41860,
1042
1042
  "stateMutability": "nonpayable",
1043
1043
  "virtual": false,
1044
1044
  "visibility": "external"
@@ -1050,35 +1050,35 @@
1050
1050
  "contractDependencies": [],
1051
1051
  "contractKind": "interface",
1052
1052
  "documentation": {
1053
- "id": 39079,
1053
+ "id": 41850,
1054
1054
  "nodeType": "StructuredDocumentation",
1055
- "src": "204:149:94",
1055
+ "src": "204:149:97",
1056
1056
  "text": " @title World Module Installation Interface\n @dev This interface defines the contract responsible for managing root modules installation."
1057
1057
  },
1058
1058
  "fullyImplemented": false,
1059
1059
  "linearizedBaseContracts": [
1060
- 39089
1060
+ 41860
1061
1061
  ],
1062
1062
  "name": "IWorldModuleInstallation",
1063
- "nameLocation": "364:24:94",
1064
- "scope": 39148,
1063
+ "nameLocation": "364:24:97",
1064
+ "scope": 41919,
1065
1065
  "usedErrors": [],
1066
1066
  "usedEvents": []
1067
1067
  },
1068
1068
  {
1069
- "id": 39115,
1069
+ "id": 41886,
1070
1070
  "nodeType": "ContractDefinition",
1071
- "src": "903:1234:94",
1071
+ "src": "903:1234:97",
1072
1072
  "nodes": [
1073
1073
  {
1074
- "id": 39101,
1074
+ "id": 41872,
1075
1075
  "nodeType": "FunctionDefinition",
1076
- "src": "1360:98:94",
1076
+ "src": "1360:98:97",
1077
1077
  "nodes": [],
1078
1078
  "documentation": {
1079
- "id": 39091,
1079
+ "id": 41862,
1080
1080
  "nodeType": "StructuredDocumentation",
1081
- "src": "928:429:94",
1081
+ "src": "928:429:97",
1082
1082
  "text": " @notice Call the system at the given system ID.\n @dev If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\n @param systemId The ID of the system to be called.\n @param callData The data to pass with the call,\n function selector (4 bytes) followed by the ABI encoded parameters.\n @return The abi encoded return data from the called system."
1083
1083
  },
1084
1084
  "functionSelector": "3ae7af08",
@@ -1086,43 +1086,43 @@
1086
1086
  "kind": "function",
1087
1087
  "modifiers": [],
1088
1088
  "name": "call",
1089
- "nameLocation": "1369:4:94",
1089
+ "nameLocation": "1369:4:97",
1090
1090
  "parameters": {
1091
- "id": 39097,
1091
+ "id": 41868,
1092
1092
  "nodeType": "ParameterList",
1093
1093
  "parameters": [
1094
1094
  {
1095
1095
  "constant": false,
1096
- "id": 39094,
1096
+ "id": 41865,
1097
1097
  "mutability": "mutable",
1098
1098
  "name": "systemId",
1099
- "nameLocation": "1385:8:94",
1099
+ "nameLocation": "1385:8:97",
1100
1100
  "nodeType": "VariableDeclaration",
1101
- "scope": 39101,
1102
- "src": "1374:19:94",
1101
+ "scope": 41872,
1102
+ "src": "1374:19:97",
1103
1103
  "stateVariable": false,
1104
1104
  "storageLocation": "default",
1105
1105
  "typeDescriptions": {
1106
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1106
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1107
1107
  "typeString": "ResourceId"
1108
1108
  },
1109
1109
  "typeName": {
1110
- "id": 39093,
1110
+ "id": 41864,
1111
1111
  "nodeType": "UserDefinedTypeName",
1112
1112
  "pathNode": {
1113
- "id": 39092,
1113
+ "id": 41863,
1114
1114
  "name": "ResourceId",
1115
1115
  "nameLocations": [
1116
- "1374:10:94"
1116
+ "1374:10:97"
1117
1117
  ],
1118
1118
  "nodeType": "IdentifierPath",
1119
- "referencedDeclaration": 26605,
1120
- "src": "1374:10:94"
1119
+ "referencedDeclaration": 29139,
1120
+ "src": "1374:10:97"
1121
1121
  },
1122
- "referencedDeclaration": 26605,
1123
- "src": "1374:10:94",
1122
+ "referencedDeclaration": 29139,
1123
+ "src": "1374:10:97",
1124
1124
  "typeDescriptions": {
1125
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1125
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1126
1126
  "typeString": "ResourceId"
1127
1127
  }
1128
1128
  },
@@ -1130,13 +1130,13 @@
1130
1130
  },
1131
1131
  {
1132
1132
  "constant": false,
1133
- "id": 39096,
1133
+ "id": 41867,
1134
1134
  "mutability": "mutable",
1135
1135
  "name": "callData",
1136
- "nameLocation": "1408:8:94",
1136
+ "nameLocation": "1408:8:97",
1137
1137
  "nodeType": "VariableDeclaration",
1138
- "scope": 39101,
1139
- "src": "1395:21:94",
1138
+ "scope": 41872,
1139
+ "src": "1395:21:97",
1140
1140
  "stateVariable": false,
1141
1141
  "storageLocation": "memory",
1142
1142
  "typeDescriptions": {
@@ -1144,10 +1144,10 @@
1144
1144
  "typeString": "bytes"
1145
1145
  },
1146
1146
  "typeName": {
1147
- "id": 39095,
1147
+ "id": 41866,
1148
1148
  "name": "bytes",
1149
1149
  "nodeType": "ElementaryTypeName",
1150
- "src": "1395:5:94",
1150
+ "src": "1395:5:97",
1151
1151
  "typeDescriptions": {
1152
1152
  "typeIdentifier": "t_bytes_storage_ptr",
1153
1153
  "typeString": "bytes"
@@ -1156,21 +1156,21 @@
1156
1156
  "visibility": "internal"
1157
1157
  }
1158
1158
  ],
1159
- "src": "1373:44:94"
1159
+ "src": "1373:44:97"
1160
1160
  },
1161
1161
  "returnParameters": {
1162
- "id": 39100,
1162
+ "id": 41871,
1163
1163
  "nodeType": "ParameterList",
1164
1164
  "parameters": [
1165
1165
  {
1166
1166
  "constant": false,
1167
- "id": 39099,
1167
+ "id": 41870,
1168
1168
  "mutability": "mutable",
1169
1169
  "name": "",
1170
1170
  "nameLocation": "-1:-1:-1",
1171
1171
  "nodeType": "VariableDeclaration",
1172
- "scope": 39101,
1173
- "src": "1444:12:94",
1172
+ "scope": 41872,
1173
+ "src": "1444:12:97",
1174
1174
  "stateVariable": false,
1175
1175
  "storageLocation": "memory",
1176
1176
  "typeDescriptions": {
@@ -1178,10 +1178,10 @@
1178
1178
  "typeString": "bytes"
1179
1179
  },
1180
1180
  "typeName": {
1181
- "id": 39098,
1181
+ "id": 41869,
1182
1182
  "name": "bytes",
1183
1183
  "nodeType": "ElementaryTypeName",
1184
- "src": "1444:5:94",
1184
+ "src": "1444:5:97",
1185
1185
  "typeDescriptions": {
1186
1186
  "typeIdentifier": "t_bytes_storage_ptr",
1187
1187
  "typeString": "bytes"
@@ -1190,22 +1190,22 @@
1190
1190
  "visibility": "internal"
1191
1191
  }
1192
1192
  ],
1193
- "src": "1443:14:94"
1193
+ "src": "1443:14:97"
1194
1194
  },
1195
- "scope": 39115,
1195
+ "scope": 41886,
1196
1196
  "stateMutability": "payable",
1197
1197
  "virtual": false,
1198
1198
  "visibility": "external"
1199
1199
  },
1200
1200
  {
1201
- "id": 39114,
1201
+ "id": 41885,
1202
1202
  "nodeType": "FunctionDefinition",
1203
- "src": "1998:137:94",
1203
+ "src": "1998:137:97",
1204
1204
  "nodes": [],
1205
1205
  "documentation": {
1206
- "id": 39102,
1206
+ "id": 41873,
1207
1207
  "nodeType": "StructuredDocumentation",
1208
- "src": "1462:533:94",
1208
+ "src": "1462:533:97",
1209
1209
  "text": " @notice Call the system at the given system ID on behalf of the given delegator.\n @dev If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\n @param delegator The address on whose behalf the call is made.\n @param systemId The ID of the system to be called.\n @param callData The data to pass with the call,\n function selector (4 bytes) followed by the ABI encoded parameters.\n @return The abi encoded return data from the called system."
1210
1210
  },
1211
1211
  "functionSelector": "894ecc58",
@@ -1213,20 +1213,20 @@
1213
1213
  "kind": "function",
1214
1214
  "modifiers": [],
1215
1215
  "name": "callFrom",
1216
- "nameLocation": "2007:8:94",
1216
+ "nameLocation": "2007:8:97",
1217
1217
  "parameters": {
1218
- "id": 39110,
1218
+ "id": 41881,
1219
1219
  "nodeType": "ParameterList",
1220
1220
  "parameters": [
1221
1221
  {
1222
1222
  "constant": false,
1223
- "id": 39104,
1223
+ "id": 41875,
1224
1224
  "mutability": "mutable",
1225
1225
  "name": "delegator",
1226
- "nameLocation": "2029:9:94",
1226
+ "nameLocation": "2029:9:97",
1227
1227
  "nodeType": "VariableDeclaration",
1228
- "scope": 39114,
1229
- "src": "2021:17:94",
1228
+ "scope": 41885,
1229
+ "src": "2021:17:97",
1230
1230
  "stateVariable": false,
1231
1231
  "storageLocation": "default",
1232
1232
  "typeDescriptions": {
@@ -1234,10 +1234,10 @@
1234
1234
  "typeString": "address"
1235
1235
  },
1236
1236
  "typeName": {
1237
- "id": 39103,
1237
+ "id": 41874,
1238
1238
  "name": "address",
1239
1239
  "nodeType": "ElementaryTypeName",
1240
- "src": "2021:7:94",
1240
+ "src": "2021:7:97",
1241
1241
  "stateMutability": "nonpayable",
1242
1242
  "typeDescriptions": {
1243
1243
  "typeIdentifier": "t_address",
@@ -1248,36 +1248,36 @@
1248
1248
  },
1249
1249
  {
1250
1250
  "constant": false,
1251
- "id": 39107,
1251
+ "id": 41878,
1252
1252
  "mutability": "mutable",
1253
1253
  "name": "systemId",
1254
- "nameLocation": "2055:8:94",
1254
+ "nameLocation": "2055:8:97",
1255
1255
  "nodeType": "VariableDeclaration",
1256
- "scope": 39114,
1257
- "src": "2044:19:94",
1256
+ "scope": 41885,
1257
+ "src": "2044:19:97",
1258
1258
  "stateVariable": false,
1259
1259
  "storageLocation": "default",
1260
1260
  "typeDescriptions": {
1261
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1261
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1262
1262
  "typeString": "ResourceId"
1263
1263
  },
1264
1264
  "typeName": {
1265
- "id": 39106,
1265
+ "id": 41877,
1266
1266
  "nodeType": "UserDefinedTypeName",
1267
1267
  "pathNode": {
1268
- "id": 39105,
1268
+ "id": 41876,
1269
1269
  "name": "ResourceId",
1270
1270
  "nameLocations": [
1271
- "2044:10:94"
1271
+ "2044:10:97"
1272
1272
  ],
1273
1273
  "nodeType": "IdentifierPath",
1274
- "referencedDeclaration": 26605,
1275
- "src": "2044:10:94"
1274
+ "referencedDeclaration": 29139,
1275
+ "src": "2044:10:97"
1276
1276
  },
1277
- "referencedDeclaration": 26605,
1278
- "src": "2044:10:94",
1277
+ "referencedDeclaration": 29139,
1278
+ "src": "2044:10:97",
1279
1279
  "typeDescriptions": {
1280
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1280
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1281
1281
  "typeString": "ResourceId"
1282
1282
  }
1283
1283
  },
@@ -1285,13 +1285,13 @@
1285
1285
  },
1286
1286
  {
1287
1287
  "constant": false,
1288
- "id": 39109,
1288
+ "id": 41880,
1289
1289
  "mutability": "mutable",
1290
1290
  "name": "callData",
1291
- "nameLocation": "2082:8:94",
1291
+ "nameLocation": "2082:8:97",
1292
1292
  "nodeType": "VariableDeclaration",
1293
- "scope": 39114,
1294
- "src": "2069:21:94",
1293
+ "scope": 41885,
1294
+ "src": "2069:21:97",
1295
1295
  "stateVariable": false,
1296
1296
  "storageLocation": "memory",
1297
1297
  "typeDescriptions": {
@@ -1299,10 +1299,10 @@
1299
1299
  "typeString": "bytes"
1300
1300
  },
1301
1301
  "typeName": {
1302
- "id": 39108,
1302
+ "id": 41879,
1303
1303
  "name": "bytes",
1304
1304
  "nodeType": "ElementaryTypeName",
1305
- "src": "2069:5:94",
1305
+ "src": "2069:5:97",
1306
1306
  "typeDescriptions": {
1307
1307
  "typeIdentifier": "t_bytes_storage_ptr",
1308
1308
  "typeString": "bytes"
@@ -1311,21 +1311,21 @@
1311
1311
  "visibility": "internal"
1312
1312
  }
1313
1313
  ],
1314
- "src": "2015:79:94"
1314
+ "src": "2015:79:97"
1315
1315
  },
1316
1316
  "returnParameters": {
1317
- "id": 39113,
1317
+ "id": 41884,
1318
1318
  "nodeType": "ParameterList",
1319
1319
  "parameters": [
1320
1320
  {
1321
1321
  "constant": false,
1322
- "id": 39112,
1322
+ "id": 41883,
1323
1323
  "mutability": "mutable",
1324
1324
  "name": "",
1325
1325
  "nameLocation": "-1:-1:-1",
1326
1326
  "nodeType": "VariableDeclaration",
1327
- "scope": 39114,
1328
- "src": "2121:12:94",
1327
+ "scope": 41885,
1328
+ "src": "2121:12:97",
1329
1329
  "stateVariable": false,
1330
1330
  "storageLocation": "memory",
1331
1331
  "typeDescriptions": {
@@ -1333,10 +1333,10 @@
1333
1333
  "typeString": "bytes"
1334
1334
  },
1335
1335
  "typeName": {
1336
- "id": 39111,
1336
+ "id": 41882,
1337
1337
  "name": "bytes",
1338
1338
  "nodeType": "ElementaryTypeName",
1339
- "src": "2121:5:94",
1339
+ "src": "2121:5:97",
1340
1340
  "typeDescriptions": {
1341
1341
  "typeIdentifier": "t_bytes_storage_ptr",
1342
1342
  "typeString": "bytes"
@@ -1345,9 +1345,9 @@
1345
1345
  "visibility": "internal"
1346
1346
  }
1347
1347
  ],
1348
- "src": "2120:14:94"
1348
+ "src": "2120:14:97"
1349
1349
  },
1350
- "scope": 39115,
1350
+ "scope": 41886,
1351
1351
  "stateMutability": "payable",
1352
1352
  "virtual": false,
1353
1353
  "visibility": "external"
@@ -1359,55 +1359,55 @@
1359
1359
  "contractDependencies": [],
1360
1360
  "contractKind": "interface",
1361
1361
  "documentation": {
1362
- "id": 39090,
1362
+ "id": 41861,
1363
1363
  "nodeType": "StructuredDocumentation",
1364
- "src": "776:126:94",
1364
+ "src": "776:126:97",
1365
1365
  "text": " @title World Call Interface\n @dev This interface defines the contract for executing calls on the World's systems."
1366
1366
  },
1367
1367
  "fullyImplemented": false,
1368
1368
  "linearizedBaseContracts": [
1369
- 39115
1369
+ 41886
1370
1370
  ],
1371
1371
  "name": "IWorldCall",
1372
- "nameLocation": "913:10:94",
1373
- "scope": 39148,
1372
+ "nameLocation": "913:10:97",
1373
+ "scope": 41919,
1374
1374
  "usedErrors": [],
1375
1375
  "usedEvents": []
1376
1376
  },
1377
1377
  {
1378
- "id": 39147,
1378
+ "id": 41918,
1379
1379
  "nodeType": "ContractDefinition",
1380
- "src": "2440:849:94",
1380
+ "src": "2440:849:97",
1381
1381
  "nodes": [
1382
1382
  {
1383
- "id": 39127,
1383
+ "id": 41898,
1384
1384
  "nodeType": "EventDefinition",
1385
- "src": "2658:47:94",
1385
+ "src": "2658:47:97",
1386
1386
  "nodes": [],
1387
1387
  "anonymous": false,
1388
1388
  "documentation": {
1389
- "id": 39123,
1389
+ "id": 41894,
1390
1390
  "nodeType": "StructuredDocumentation",
1391
- "src": "2521:134:94",
1391
+ "src": "2521:134:97",
1392
1392
  "text": " @dev Emitted upon successful World initialization.\n @param worldVersion The version of the World being initialized."
1393
1393
  },
1394
1394
  "eventSelector": "7f8f36afe3fb61c459c1a54a60b8a477eab02cc58e49f547561a40906239cb82",
1395
1395
  "name": "HelloWorld",
1396
- "nameLocation": "2664:10:94",
1396
+ "nameLocation": "2664:10:97",
1397
1397
  "parameters": {
1398
- "id": 39126,
1398
+ "id": 41897,
1399
1399
  "nodeType": "ParameterList",
1400
1400
  "parameters": [
1401
1401
  {
1402
1402
  "constant": false,
1403
- "id": 39125,
1403
+ "id": 41896,
1404
1404
  "indexed": true,
1405
1405
  "mutability": "mutable",
1406
1406
  "name": "worldVersion",
1407
- "nameLocation": "2691:12:94",
1407
+ "nameLocation": "2691:12:97",
1408
1408
  "nodeType": "VariableDeclaration",
1409
- "scope": 39127,
1410
- "src": "2675:28:94",
1409
+ "scope": 41898,
1410
+ "src": "2675:28:97",
1411
1411
  "stateVariable": false,
1412
1412
  "storageLocation": "default",
1413
1413
  "typeDescriptions": {
@@ -1415,10 +1415,10 @@
1415
1415
  "typeString": "bytes32"
1416
1416
  },
1417
1417
  "typeName": {
1418
- "id": 39124,
1418
+ "id": 41895,
1419
1419
  "name": "bytes32",
1420
1420
  "nodeType": "ElementaryTypeName",
1421
- "src": "2675:7:94",
1421
+ "src": "2675:7:97",
1422
1422
  "typeDescriptions": {
1423
1423
  "typeIdentifier": "t_bytes32",
1424
1424
  "typeString": "bytes32"
@@ -1427,18 +1427,18 @@
1427
1427
  "visibility": "internal"
1428
1428
  }
1429
1429
  ],
1430
- "src": "2674:30:94"
1430
+ "src": "2674:30:97"
1431
1431
  }
1432
1432
  },
1433
1433
  {
1434
- "id": 39133,
1434
+ "id": 41904,
1435
1435
  "nodeType": "FunctionDefinition",
1436
- "src": "2819:56:94",
1436
+ "src": "2819:56:97",
1437
1437
  "nodes": [],
1438
1438
  "documentation": {
1439
- "id": 39128,
1439
+ "id": 41899,
1440
1440
  "nodeType": "StructuredDocumentation",
1441
- "src": "2709:107:94",
1441
+ "src": "2709:107:97",
1442
1442
  "text": " @notice Retrieve the version of the World.\n @return The version identifier of the World."
1443
1443
  },
1444
1444
  "functionSelector": "6951955d",
@@ -1446,26 +1446,26 @@
1446
1446
  "kind": "function",
1447
1447
  "modifiers": [],
1448
1448
  "name": "worldVersion",
1449
- "nameLocation": "2828:12:94",
1449
+ "nameLocation": "2828:12:97",
1450
1450
  "parameters": {
1451
- "id": 39129,
1451
+ "id": 41900,
1452
1452
  "nodeType": "ParameterList",
1453
1453
  "parameters": [],
1454
- "src": "2840:2:94"
1454
+ "src": "2840:2:97"
1455
1455
  },
1456
1456
  "returnParameters": {
1457
- "id": 39132,
1457
+ "id": 41903,
1458
1458
  "nodeType": "ParameterList",
1459
1459
  "parameters": [
1460
1460
  {
1461
1461
  "constant": false,
1462
- "id": 39131,
1462
+ "id": 41902,
1463
1463
  "mutability": "mutable",
1464
1464
  "name": "",
1465
1465
  "nameLocation": "-1:-1:-1",
1466
1466
  "nodeType": "VariableDeclaration",
1467
- "scope": 39133,
1468
- "src": "2866:7:94",
1467
+ "scope": 41904,
1468
+ "src": "2866:7:97",
1469
1469
  "stateVariable": false,
1470
1470
  "storageLocation": "default",
1471
1471
  "typeDescriptions": {
@@ -1473,10 +1473,10 @@
1473
1473
  "typeString": "bytes32"
1474
1474
  },
1475
1475
  "typeName": {
1476
- "id": 39130,
1476
+ "id": 41901,
1477
1477
  "name": "bytes32",
1478
1478
  "nodeType": "ElementaryTypeName",
1479
- "src": "2866:7:94",
1479
+ "src": "2866:7:97",
1480
1480
  "typeDescriptions": {
1481
1481
  "typeIdentifier": "t_bytes32",
1482
1482
  "typeString": "bytes32"
@@ -1485,22 +1485,22 @@
1485
1485
  "visibility": "internal"
1486
1486
  }
1487
1487
  ],
1488
- "src": "2865:9:94"
1488
+ "src": "2865:9:97"
1489
1489
  },
1490
- "scope": 39147,
1490
+ "scope": 41918,
1491
1491
  "stateMutability": "view",
1492
1492
  "virtual": false,
1493
1493
  "visibility": "external"
1494
1494
  },
1495
1495
  {
1496
- "id": 39139,
1496
+ "id": 41910,
1497
1497
  "nodeType": "FunctionDefinition",
1498
- "src": "3008:51:94",
1498
+ "src": "3008:51:97",
1499
1499
  "nodes": [],
1500
1500
  "documentation": {
1501
- "id": 39134,
1501
+ "id": 41905,
1502
1502
  "nodeType": "StructuredDocumentation",
1503
- "src": "2879:126:94",
1503
+ "src": "2879:126:97",
1504
1504
  "text": " @notice Retrieve the immutable original deployer of the World.\n @return The address of the World's creator."
1505
1505
  },
1506
1506
  "functionSelector": "02d05d3f",
@@ -1508,26 +1508,26 @@
1508
1508
  "kind": "function",
1509
1509
  "modifiers": [],
1510
1510
  "name": "creator",
1511
- "nameLocation": "3017:7:94",
1511
+ "nameLocation": "3017:7:97",
1512
1512
  "parameters": {
1513
- "id": 39135,
1513
+ "id": 41906,
1514
1514
  "nodeType": "ParameterList",
1515
1515
  "parameters": [],
1516
- "src": "3024:2:94"
1516
+ "src": "3024:2:97"
1517
1517
  },
1518
1518
  "returnParameters": {
1519
- "id": 39138,
1519
+ "id": 41909,
1520
1520
  "nodeType": "ParameterList",
1521
1521
  "parameters": [
1522
1522
  {
1523
1523
  "constant": false,
1524
- "id": 39137,
1524
+ "id": 41908,
1525
1525
  "mutability": "mutable",
1526
1526
  "name": "",
1527
1527
  "nameLocation": "-1:-1:-1",
1528
1528
  "nodeType": "VariableDeclaration",
1529
- "scope": 39139,
1530
- "src": "3050:7:94",
1529
+ "scope": 41910,
1530
+ "src": "3050:7:97",
1531
1531
  "stateVariable": false,
1532
1532
  "storageLocation": "default",
1533
1533
  "typeDescriptions": {
@@ -1535,10 +1535,10 @@
1535
1535
  "typeString": "address"
1536
1536
  },
1537
1537
  "typeName": {
1538
- "id": 39136,
1538
+ "id": 41907,
1539
1539
  "name": "address",
1540
1540
  "nodeType": "ElementaryTypeName",
1541
- "src": "3050:7:94",
1541
+ "src": "3050:7:97",
1542
1542
  "stateMutability": "nonpayable",
1543
1543
  "typeDescriptions": {
1544
1544
  "typeIdentifier": "t_address",
@@ -1548,22 +1548,22 @@
1548
1548
  "visibility": "internal"
1549
1549
  }
1550
1550
  ],
1551
- "src": "3049:9:94"
1551
+ "src": "3049:9:97"
1552
1552
  },
1553
- "scope": 39147,
1553
+ "scope": 41918,
1554
1554
  "stateMutability": "view",
1555
1555
  "virtual": false,
1556
1556
  "visibility": "external"
1557
1557
  },
1558
1558
  {
1559
- "id": 39146,
1559
+ "id": 41917,
1560
1560
  "nodeType": "FunctionDefinition",
1561
- "src": "3238:49:94",
1561
+ "src": "3238:49:97",
1562
1562
  "nodes": [],
1563
1563
  "documentation": {
1564
- "id": 39140,
1564
+ "id": 41911,
1565
1565
  "nodeType": "StructuredDocumentation",
1566
- "src": "3063:172:94",
1566
+ "src": "3063:172:97",
1567
1567
  "text": " @notice Initializes the World.\n @dev Can only be called once by the creator.\n @param coreModule The CoreModule to be installed during initialization."
1568
1568
  },
1569
1569
  "functionSelector": "c4d66de8",
@@ -1571,58 +1571,58 @@
1571
1571
  "kind": "function",
1572
1572
  "modifiers": [],
1573
1573
  "name": "initialize",
1574
- "nameLocation": "3247:10:94",
1574
+ "nameLocation": "3247:10:97",
1575
1575
  "parameters": {
1576
- "id": 39144,
1576
+ "id": 41915,
1577
1577
  "nodeType": "ParameterList",
1578
1578
  "parameters": [
1579
1579
  {
1580
1580
  "constant": false,
1581
- "id": 39143,
1581
+ "id": 41914,
1582
1582
  "mutability": "mutable",
1583
1583
  "name": "coreModule",
1584
- "nameLocation": "3266:10:94",
1584
+ "nameLocation": "3266:10:97",
1585
1585
  "nodeType": "VariableDeclaration",
1586
- "scope": 39146,
1587
- "src": "3258:18:94",
1586
+ "scope": 41917,
1587
+ "src": "3258:18:97",
1588
1588
  "stateVariable": false,
1589
1589
  "storageLocation": "default",
1590
1590
  "typeDescriptions": {
1591
- "typeIdentifier": "t_contract$_IModule_$61591",
1591
+ "typeIdentifier": "t_contract$_IModule_$75724",
1592
1592
  "typeString": "contract IModule"
1593
1593
  },
1594
1594
  "typeName": {
1595
- "id": 39142,
1595
+ "id": 41913,
1596
1596
  "nodeType": "UserDefinedTypeName",
1597
1597
  "pathNode": {
1598
- "id": 39141,
1598
+ "id": 41912,
1599
1599
  "name": "IModule",
1600
1600
  "nameLocations": [
1601
- "3258:7:94"
1601
+ "3258:7:97"
1602
1602
  ],
1603
1603
  "nodeType": "IdentifierPath",
1604
- "referencedDeclaration": 61591,
1605
- "src": "3258:7:94"
1604
+ "referencedDeclaration": 75724,
1605
+ "src": "3258:7:97"
1606
1606
  },
1607
- "referencedDeclaration": 61591,
1608
- "src": "3258:7:94",
1607
+ "referencedDeclaration": 75724,
1608
+ "src": "3258:7:97",
1609
1609
  "typeDescriptions": {
1610
- "typeIdentifier": "t_contract$_IModule_$61591",
1610
+ "typeIdentifier": "t_contract$_IModule_$75724",
1611
1611
  "typeString": "contract IModule"
1612
1612
  }
1613
1613
  },
1614
1614
  "visibility": "internal"
1615
1615
  }
1616
1616
  ],
1617
- "src": "3257:20:94"
1617
+ "src": "3257:20:97"
1618
1618
  },
1619
1619
  "returnParameters": {
1620
- "id": 39145,
1620
+ "id": 41916,
1621
1621
  "nodeType": "ParameterList",
1622
1622
  "parameters": [],
1623
- "src": "3286:0:94"
1623
+ "src": "3286:0:97"
1624
1624
  },
1625
- "scope": 39147,
1625
+ "scope": 41918,
1626
1626
  "stateMutability": "nonpayable",
1627
1627
  "virtual": false,
1628
1628
  "visibility": "external"
@@ -1632,91 +1632,91 @@
1632
1632
  "baseContracts": [
1633
1633
  {
1634
1634
  "baseName": {
1635
- "id": 39117,
1635
+ "id": 41888,
1636
1636
  "name": "IWorldModuleInstallation",
1637
1637
  "nameLocations": [
1638
- "2466:24:94"
1638
+ "2466:24:97"
1639
1639
  ],
1640
1640
  "nodeType": "IdentifierPath",
1641
- "referencedDeclaration": 39089,
1642
- "src": "2466:24:94"
1641
+ "referencedDeclaration": 41860,
1642
+ "src": "2466:24:97"
1643
1643
  },
1644
- "id": 39118,
1644
+ "id": 41889,
1645
1645
  "nodeType": "InheritanceSpecifier",
1646
- "src": "2466:24:94"
1646
+ "src": "2466:24:97"
1647
1647
  },
1648
1648
  {
1649
1649
  "baseName": {
1650
- "id": 39119,
1650
+ "id": 41890,
1651
1651
  "name": "IWorldCall",
1652
1652
  "nameLocations": [
1653
- "2492:10:94"
1653
+ "2492:10:97"
1654
1654
  ],
1655
1655
  "nodeType": "IdentifierPath",
1656
- "referencedDeclaration": 39115,
1657
- "src": "2492:10:94"
1656
+ "referencedDeclaration": 41886,
1657
+ "src": "2492:10:97"
1658
1658
  },
1659
- "id": 39120,
1659
+ "id": 41891,
1660
1660
  "nodeType": "InheritanceSpecifier",
1661
- "src": "2492:10:94"
1661
+ "src": "2492:10:97"
1662
1662
  },
1663
1663
  {
1664
1664
  "baseName": {
1665
- "id": 39121,
1665
+ "id": 41892,
1666
1666
  "name": "IWorldErrors",
1667
1667
  "nameLocations": [
1668
- "2504:12:94"
1668
+ "2504:12:97"
1669
1669
  ],
1670
1670
  "nodeType": "IdentifierPath",
1671
- "referencedDeclaration": 61685,
1672
- "src": "2504:12:94"
1671
+ "referencedDeclaration": 41841,
1672
+ "src": "2504:12:97"
1673
1673
  },
1674
- "id": 39122,
1674
+ "id": 41893,
1675
1675
  "nodeType": "InheritanceSpecifier",
1676
- "src": "2504:12:94"
1676
+ "src": "2504:12:97"
1677
1677
  }
1678
1678
  ],
1679
1679
  "canonicalName": "IWorldKernel",
1680
1680
  "contractDependencies": [],
1681
1681
  "contractKind": "interface",
1682
1682
  "documentation": {
1683
- "id": 39116,
1683
+ "id": 41887,
1684
1684
  "nodeType": "StructuredDocumentation",
1685
- "src": "2139:300:94",
1685
+ "src": "2139:300:97",
1686
1686
  "text": " @title World Kernel Interface\n @notice The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode. Consumers should use the `IBaseWorld` interface instead, which includes dynamically\n registered functions selectors from the `CoreModule`."
1687
1687
  },
1688
1688
  "fullyImplemented": false,
1689
1689
  "linearizedBaseContracts": [
1690
- 39147,
1691
- 61685,
1692
- 39115,
1693
- 39089
1690
+ 41918,
1691
+ 41841,
1692
+ 41886,
1693
+ 41860
1694
1694
  ],
1695
1695
  "name": "IWorldKernel",
1696
- "nameLocation": "2450:12:94",
1697
- "scope": 39148,
1696
+ "nameLocation": "2450:12:97",
1697
+ "scope": 41919,
1698
1698
  "usedErrors": [
1699
- 61599,
1700
- 61607,
1701
- 61615,
1702
- 61622,
1703
- 61630,
1704
- 61635,
1705
- 61640,
1706
- 61645,
1707
- 61652,
1708
- 61655,
1709
- 61662,
1710
- 61669,
1711
- 61679,
1712
- 61684
1699
+ 41755,
1700
+ 41763,
1701
+ 41771,
1702
+ 41778,
1703
+ 41786,
1704
+ 41791,
1705
+ 41796,
1706
+ 41801,
1707
+ 41808,
1708
+ 41811,
1709
+ 41818,
1710
+ 41825,
1711
+ 41835,
1712
+ 41840
1713
1713
  ],
1714
1714
  "usedEvents": [
1715
- 39127
1715
+ 41898
1716
1716
  ]
1717
1717
  }
1718
1718
  ],
1719
1719
  "license": "MIT"
1720
1720
  },
1721
- "id": 94
1721
+ "id": 97
1722
1722
  }