@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
@@ -32,7 +32,7 @@
32
32
  "methodIdentifiers": {
33
33
  "installRootModule(address,bytes)": "af068c9e"
34
34
  },
35
- "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This interface defines the contract responsible for managing root modules installation.\",\"kind\":\"dev\",\"methods\":{\"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.\"}}},\"title\":\"World Module Installation Interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":\"IWorldModuleInstallation\"},\"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}",
35
+ "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This interface defines the contract responsible for managing root modules installation.\",\"kind\":\"dev\",\"methods\":{\"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.\"}}},\"title\":\"World Module Installation Interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":\"IWorldModuleInstallation\"},\"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}",
36
36
  "metadata": {
37
37
  "compiler": {
38
38
  "version": "0.8.21+commit.d9974bed"
@@ -165,10 +165,10 @@
165
165
  "license": "MIT"
166
166
  },
167
167
  "node_modules/@latticexyz/world/src/constants.sol": {
168
- "keccak256": "0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77",
168
+ "keccak256": "0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588",
169
169
  "urls": [
170
- "bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac",
171
- "dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET"
170
+ "bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218",
171
+ "dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc"
172
172
  ],
173
173
  "license": "MIT"
174
174
  },
@@ -185,34 +185,34 @@
185
185
  },
186
186
  "ast": {
187
187
  "absolutePath": "node_modules/@latticexyz/world/src/IWorldKernel.sol",
188
- "id": 39148,
188
+ "id": 41919,
189
189
  "exportedSymbols": {
190
190
  "IModule": [
191
- 61591
191
+ 75724
192
192
  ],
193
193
  "IWorldCall": [
194
- 39115
194
+ 41886
195
195
  ],
196
196
  "IWorldErrors": [
197
- 61685
197
+ 41841
198
198
  ],
199
199
  "IWorldKernel": [
200
- 39147
200
+ 41918
201
201
  ],
202
202
  "IWorldModuleInstallation": [
203
- 39089
203
+ 41860
204
204
  ],
205
205
  "ResourceId": [
206
- 26605
206
+ 29139
207
207
  ]
208
208
  },
209
209
  "nodeType": "SourceUnit",
210
- "src": "32:3258:94",
210
+ "src": "32:3258:97",
211
211
  "nodes": [
212
212
  {
213
- "id": 39072,
213
+ "id": 41843,
214
214
  "nodeType": "PragmaDirective",
215
- "src": "32:25:94",
215
+ "src": "32:25:97",
216
216
  "nodes": [],
217
217
  "literals": [
218
218
  "solidity",
@@ -222,24 +222,24 @@
222
222
  ]
223
223
  },
224
224
  {
225
- "id": 39074,
225
+ "id": 41845,
226
226
  "nodeType": "ImportDirective",
227
- "src": "59:50:94",
227
+ "src": "59:50:97",
228
228
  "nodes": [],
229
229
  "absolutePath": "node_modules/@latticexyz/world/src/IWorldErrors.sol",
230
230
  "file": "./IWorldErrors.sol",
231
231
  "nameLocation": "-1:-1:-1",
232
- "scope": 39148,
233
- "sourceUnit": 61686,
232
+ "scope": 41919,
233
+ "sourceUnit": 41842,
234
234
  "symbolAliases": [
235
235
  {
236
236
  "foreign": {
237
- "id": 39073,
237
+ "id": 41844,
238
238
  "name": "IWorldErrors",
239
239
  "nodeType": "Identifier",
240
240
  "overloadedDeclarations": [],
241
- "referencedDeclaration": 61685,
242
- "src": "68:12:94",
241
+ "referencedDeclaration": 41841,
242
+ "src": "68:12:97",
243
243
  "typeDescriptions": {}
244
244
  },
245
245
  "nameLocation": "-1:-1:-1"
@@ -248,24 +248,24 @@
248
248
  "unitAlias": ""
249
249
  },
250
250
  {
251
- "id": 39076,
251
+ "id": 41847,
252
252
  "nodeType": "ImportDirective",
253
- "src": "110:40:94",
253
+ "src": "110:40:97",
254
254
  "nodes": [],
255
255
  "absolutePath": "node_modules/@latticexyz/world/src/IModule.sol",
256
256
  "file": "./IModule.sol",
257
257
  "nameLocation": "-1:-1:-1",
258
- "scope": 39148,
259
- "sourceUnit": 61592,
258
+ "scope": 41919,
259
+ "sourceUnit": 75725,
260
260
  "symbolAliases": [
261
261
  {
262
262
  "foreign": {
263
- "id": 39075,
263
+ "id": 41846,
264
264
  "name": "IModule",
265
265
  "nodeType": "Identifier",
266
266
  "overloadedDeclarations": [],
267
- "referencedDeclaration": 61591,
268
- "src": "119:7:94",
267
+ "referencedDeclaration": 75724,
268
+ "src": "119:7:97",
269
269
  "typeDescriptions": {}
270
270
  },
271
271
  "nameLocation": "-1:-1:-1"
@@ -274,24 +274,24 @@
274
274
  "unitAlias": ""
275
275
  },
276
276
  {
277
- "id": 39078,
277
+ "id": 41849,
278
278
  "nodeType": "ImportDirective",
279
- "src": "151:51:94",
279
+ "src": "151:51:97",
280
280
  "nodes": [],
281
281
  "absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
282
282
  "file": "./WorldResourceId.sol",
283
283
  "nameLocation": "-1:-1:-1",
284
- "scope": 39148,
285
- "sourceUnit": 39740,
284
+ "scope": 41919,
285
+ "sourceUnit": 42511,
286
286
  "symbolAliases": [
287
287
  {
288
288
  "foreign": {
289
- "id": 39077,
289
+ "id": 41848,
290
290
  "name": "ResourceId",
291
291
  "nodeType": "Identifier",
292
292
  "overloadedDeclarations": [],
293
- "referencedDeclaration": 26605,
294
- "src": "160:10:94",
293
+ "referencedDeclaration": 29139,
294
+ "src": "160:10:97",
295
295
  "typeDescriptions": {}
296
296
  },
297
297
  "nameLocation": "-1:-1:-1"
@@ -300,19 +300,19 @@
300
300
  "unitAlias": ""
301
301
  },
302
302
  {
303
- "id": 39089,
303
+ "id": 41860,
304
304
  "nodeType": "ContractDefinition",
305
- "src": "354:420:94",
305
+ "src": "354:420:97",
306
306
  "nodes": [
307
307
  {
308
- "id": 39088,
308
+ "id": 41859,
309
309
  "nodeType": "FunctionDefinition",
310
- "src": "701:71:94",
310
+ "src": "701:71:97",
311
311
  "nodes": [],
312
312
  "documentation": {
313
- "id": 39080,
313
+ "id": 41851,
314
314
  "nodeType": "StructuredDocumentation",
315
- "src": "393:305:94",
315
+ "src": "393:305:97",
316
316
  "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."
317
317
  },
318
318
  "functionSelector": "af068c9e",
@@ -320,43 +320,43 @@
320
320
  "kind": "function",
321
321
  "modifiers": [],
322
322
  "name": "installRootModule",
323
- "nameLocation": "710:17:94",
323
+ "nameLocation": "710:17:97",
324
324
  "parameters": {
325
- "id": 39086,
325
+ "id": 41857,
326
326
  "nodeType": "ParameterList",
327
327
  "parameters": [
328
328
  {
329
329
  "constant": false,
330
- "id": 39083,
330
+ "id": 41854,
331
331
  "mutability": "mutable",
332
332
  "name": "module",
333
- "nameLocation": "736:6:94",
333
+ "nameLocation": "736:6:97",
334
334
  "nodeType": "VariableDeclaration",
335
- "scope": 39088,
336
- "src": "728:14:94",
335
+ "scope": 41859,
336
+ "src": "728:14:97",
337
337
  "stateVariable": false,
338
338
  "storageLocation": "default",
339
339
  "typeDescriptions": {
340
- "typeIdentifier": "t_contract$_IModule_$61591",
340
+ "typeIdentifier": "t_contract$_IModule_$75724",
341
341
  "typeString": "contract IModule"
342
342
  },
343
343
  "typeName": {
344
- "id": 39082,
344
+ "id": 41853,
345
345
  "nodeType": "UserDefinedTypeName",
346
346
  "pathNode": {
347
- "id": 39081,
347
+ "id": 41852,
348
348
  "name": "IModule",
349
349
  "nameLocations": [
350
- "728:7:94"
350
+ "728:7:97"
351
351
  ],
352
352
  "nodeType": "IdentifierPath",
353
- "referencedDeclaration": 61591,
354
- "src": "728:7:94"
353
+ "referencedDeclaration": 75724,
354
+ "src": "728:7:97"
355
355
  },
356
- "referencedDeclaration": 61591,
357
- "src": "728:7:94",
356
+ "referencedDeclaration": 75724,
357
+ "src": "728:7:97",
358
358
  "typeDescriptions": {
359
- "typeIdentifier": "t_contract$_IModule_$61591",
359
+ "typeIdentifier": "t_contract$_IModule_$75724",
360
360
  "typeString": "contract IModule"
361
361
  }
362
362
  },
@@ -364,13 +364,13 @@
364
364
  },
365
365
  {
366
366
  "constant": false,
367
- "id": 39085,
367
+ "id": 41856,
368
368
  "mutability": "mutable",
369
369
  "name": "args",
370
- "nameLocation": "757:4:94",
370
+ "nameLocation": "757:4:97",
371
371
  "nodeType": "VariableDeclaration",
372
- "scope": 39088,
373
- "src": "744:17:94",
372
+ "scope": 41859,
373
+ "src": "744:17:97",
374
374
  "stateVariable": false,
375
375
  "storageLocation": "memory",
376
376
  "typeDescriptions": {
@@ -378,10 +378,10 @@
378
378
  "typeString": "bytes"
379
379
  },
380
380
  "typeName": {
381
- "id": 39084,
381
+ "id": 41855,
382
382
  "name": "bytes",
383
383
  "nodeType": "ElementaryTypeName",
384
- "src": "744:5:94",
384
+ "src": "744:5:97",
385
385
  "typeDescriptions": {
386
386
  "typeIdentifier": "t_bytes_storage_ptr",
387
387
  "typeString": "bytes"
@@ -390,15 +390,15 @@
390
390
  "visibility": "internal"
391
391
  }
392
392
  ],
393
- "src": "727:35:94"
393
+ "src": "727:35:97"
394
394
  },
395
395
  "returnParameters": {
396
- "id": 39087,
396
+ "id": 41858,
397
397
  "nodeType": "ParameterList",
398
398
  "parameters": [],
399
- "src": "771:0:94"
399
+ "src": "771:0:97"
400
400
  },
401
- "scope": 39089,
401
+ "scope": 41860,
402
402
  "stateMutability": "nonpayable",
403
403
  "virtual": false,
404
404
  "visibility": "external"
@@ -410,35 +410,35 @@
410
410
  "contractDependencies": [],
411
411
  "contractKind": "interface",
412
412
  "documentation": {
413
- "id": 39079,
413
+ "id": 41850,
414
414
  "nodeType": "StructuredDocumentation",
415
- "src": "204:149:94",
415
+ "src": "204:149:97",
416
416
  "text": " @title World Module Installation Interface\n @dev This interface defines the contract responsible for managing root modules installation."
417
417
  },
418
418
  "fullyImplemented": false,
419
419
  "linearizedBaseContracts": [
420
- 39089
420
+ 41860
421
421
  ],
422
422
  "name": "IWorldModuleInstallation",
423
- "nameLocation": "364:24:94",
424
- "scope": 39148,
423
+ "nameLocation": "364:24:97",
424
+ "scope": 41919,
425
425
  "usedErrors": [],
426
426
  "usedEvents": []
427
427
  },
428
428
  {
429
- "id": 39115,
429
+ "id": 41886,
430
430
  "nodeType": "ContractDefinition",
431
- "src": "903:1234:94",
431
+ "src": "903:1234:97",
432
432
  "nodes": [
433
433
  {
434
- "id": 39101,
434
+ "id": 41872,
435
435
  "nodeType": "FunctionDefinition",
436
- "src": "1360:98:94",
436
+ "src": "1360:98:97",
437
437
  "nodes": [],
438
438
  "documentation": {
439
- "id": 39091,
439
+ "id": 41862,
440
440
  "nodeType": "StructuredDocumentation",
441
- "src": "928:429:94",
441
+ "src": "928:429:97",
442
442
  "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."
443
443
  },
444
444
  "functionSelector": "3ae7af08",
@@ -446,43 +446,43 @@
446
446
  "kind": "function",
447
447
  "modifiers": [],
448
448
  "name": "call",
449
- "nameLocation": "1369:4:94",
449
+ "nameLocation": "1369:4:97",
450
450
  "parameters": {
451
- "id": 39097,
451
+ "id": 41868,
452
452
  "nodeType": "ParameterList",
453
453
  "parameters": [
454
454
  {
455
455
  "constant": false,
456
- "id": 39094,
456
+ "id": 41865,
457
457
  "mutability": "mutable",
458
458
  "name": "systemId",
459
- "nameLocation": "1385:8:94",
459
+ "nameLocation": "1385:8:97",
460
460
  "nodeType": "VariableDeclaration",
461
- "scope": 39101,
462
- "src": "1374:19:94",
461
+ "scope": 41872,
462
+ "src": "1374:19:97",
463
463
  "stateVariable": false,
464
464
  "storageLocation": "default",
465
465
  "typeDescriptions": {
466
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
466
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
467
467
  "typeString": "ResourceId"
468
468
  },
469
469
  "typeName": {
470
- "id": 39093,
470
+ "id": 41864,
471
471
  "nodeType": "UserDefinedTypeName",
472
472
  "pathNode": {
473
- "id": 39092,
473
+ "id": 41863,
474
474
  "name": "ResourceId",
475
475
  "nameLocations": [
476
- "1374:10:94"
476
+ "1374:10:97"
477
477
  ],
478
478
  "nodeType": "IdentifierPath",
479
- "referencedDeclaration": 26605,
480
- "src": "1374:10:94"
479
+ "referencedDeclaration": 29139,
480
+ "src": "1374:10:97"
481
481
  },
482
- "referencedDeclaration": 26605,
483
- "src": "1374:10:94",
482
+ "referencedDeclaration": 29139,
483
+ "src": "1374:10:97",
484
484
  "typeDescriptions": {
485
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
485
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
486
486
  "typeString": "ResourceId"
487
487
  }
488
488
  },
@@ -490,13 +490,13 @@
490
490
  },
491
491
  {
492
492
  "constant": false,
493
- "id": 39096,
493
+ "id": 41867,
494
494
  "mutability": "mutable",
495
495
  "name": "callData",
496
- "nameLocation": "1408:8:94",
496
+ "nameLocation": "1408:8:97",
497
497
  "nodeType": "VariableDeclaration",
498
- "scope": 39101,
499
- "src": "1395:21:94",
498
+ "scope": 41872,
499
+ "src": "1395:21:97",
500
500
  "stateVariable": false,
501
501
  "storageLocation": "memory",
502
502
  "typeDescriptions": {
@@ -504,10 +504,10 @@
504
504
  "typeString": "bytes"
505
505
  },
506
506
  "typeName": {
507
- "id": 39095,
507
+ "id": 41866,
508
508
  "name": "bytes",
509
509
  "nodeType": "ElementaryTypeName",
510
- "src": "1395:5:94",
510
+ "src": "1395:5:97",
511
511
  "typeDescriptions": {
512
512
  "typeIdentifier": "t_bytes_storage_ptr",
513
513
  "typeString": "bytes"
@@ -516,21 +516,21 @@
516
516
  "visibility": "internal"
517
517
  }
518
518
  ],
519
- "src": "1373:44:94"
519
+ "src": "1373:44:97"
520
520
  },
521
521
  "returnParameters": {
522
- "id": 39100,
522
+ "id": 41871,
523
523
  "nodeType": "ParameterList",
524
524
  "parameters": [
525
525
  {
526
526
  "constant": false,
527
- "id": 39099,
527
+ "id": 41870,
528
528
  "mutability": "mutable",
529
529
  "name": "",
530
530
  "nameLocation": "-1:-1:-1",
531
531
  "nodeType": "VariableDeclaration",
532
- "scope": 39101,
533
- "src": "1444:12:94",
532
+ "scope": 41872,
533
+ "src": "1444:12:97",
534
534
  "stateVariable": false,
535
535
  "storageLocation": "memory",
536
536
  "typeDescriptions": {
@@ -538,10 +538,10 @@
538
538
  "typeString": "bytes"
539
539
  },
540
540
  "typeName": {
541
- "id": 39098,
541
+ "id": 41869,
542
542
  "name": "bytes",
543
543
  "nodeType": "ElementaryTypeName",
544
- "src": "1444:5:94",
544
+ "src": "1444:5:97",
545
545
  "typeDescriptions": {
546
546
  "typeIdentifier": "t_bytes_storage_ptr",
547
547
  "typeString": "bytes"
@@ -550,22 +550,22 @@
550
550
  "visibility": "internal"
551
551
  }
552
552
  ],
553
- "src": "1443:14:94"
553
+ "src": "1443:14:97"
554
554
  },
555
- "scope": 39115,
555
+ "scope": 41886,
556
556
  "stateMutability": "payable",
557
557
  "virtual": false,
558
558
  "visibility": "external"
559
559
  },
560
560
  {
561
- "id": 39114,
561
+ "id": 41885,
562
562
  "nodeType": "FunctionDefinition",
563
- "src": "1998:137:94",
563
+ "src": "1998:137:97",
564
564
  "nodes": [],
565
565
  "documentation": {
566
- "id": 39102,
566
+ "id": 41873,
567
567
  "nodeType": "StructuredDocumentation",
568
- "src": "1462:533:94",
568
+ "src": "1462:533:97",
569
569
  "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."
570
570
  },
571
571
  "functionSelector": "894ecc58",
@@ -573,20 +573,20 @@
573
573
  "kind": "function",
574
574
  "modifiers": [],
575
575
  "name": "callFrom",
576
- "nameLocation": "2007:8:94",
576
+ "nameLocation": "2007:8:97",
577
577
  "parameters": {
578
- "id": 39110,
578
+ "id": 41881,
579
579
  "nodeType": "ParameterList",
580
580
  "parameters": [
581
581
  {
582
582
  "constant": false,
583
- "id": 39104,
583
+ "id": 41875,
584
584
  "mutability": "mutable",
585
585
  "name": "delegator",
586
- "nameLocation": "2029:9:94",
586
+ "nameLocation": "2029:9:97",
587
587
  "nodeType": "VariableDeclaration",
588
- "scope": 39114,
589
- "src": "2021:17:94",
588
+ "scope": 41885,
589
+ "src": "2021:17:97",
590
590
  "stateVariable": false,
591
591
  "storageLocation": "default",
592
592
  "typeDescriptions": {
@@ -594,10 +594,10 @@
594
594
  "typeString": "address"
595
595
  },
596
596
  "typeName": {
597
- "id": 39103,
597
+ "id": 41874,
598
598
  "name": "address",
599
599
  "nodeType": "ElementaryTypeName",
600
- "src": "2021:7:94",
600
+ "src": "2021:7:97",
601
601
  "stateMutability": "nonpayable",
602
602
  "typeDescriptions": {
603
603
  "typeIdentifier": "t_address",
@@ -608,36 +608,36 @@
608
608
  },
609
609
  {
610
610
  "constant": false,
611
- "id": 39107,
611
+ "id": 41878,
612
612
  "mutability": "mutable",
613
613
  "name": "systemId",
614
- "nameLocation": "2055:8:94",
614
+ "nameLocation": "2055:8:97",
615
615
  "nodeType": "VariableDeclaration",
616
- "scope": 39114,
617
- "src": "2044:19:94",
616
+ "scope": 41885,
617
+ "src": "2044:19:97",
618
618
  "stateVariable": false,
619
619
  "storageLocation": "default",
620
620
  "typeDescriptions": {
621
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
621
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
622
622
  "typeString": "ResourceId"
623
623
  },
624
624
  "typeName": {
625
- "id": 39106,
625
+ "id": 41877,
626
626
  "nodeType": "UserDefinedTypeName",
627
627
  "pathNode": {
628
- "id": 39105,
628
+ "id": 41876,
629
629
  "name": "ResourceId",
630
630
  "nameLocations": [
631
- "2044:10:94"
631
+ "2044:10:97"
632
632
  ],
633
633
  "nodeType": "IdentifierPath",
634
- "referencedDeclaration": 26605,
635
- "src": "2044:10:94"
634
+ "referencedDeclaration": 29139,
635
+ "src": "2044:10:97"
636
636
  },
637
- "referencedDeclaration": 26605,
638
- "src": "2044:10:94",
637
+ "referencedDeclaration": 29139,
638
+ "src": "2044:10:97",
639
639
  "typeDescriptions": {
640
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
640
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
641
641
  "typeString": "ResourceId"
642
642
  }
643
643
  },
@@ -645,13 +645,13 @@
645
645
  },
646
646
  {
647
647
  "constant": false,
648
- "id": 39109,
648
+ "id": 41880,
649
649
  "mutability": "mutable",
650
650
  "name": "callData",
651
- "nameLocation": "2082:8:94",
651
+ "nameLocation": "2082:8:97",
652
652
  "nodeType": "VariableDeclaration",
653
- "scope": 39114,
654
- "src": "2069:21:94",
653
+ "scope": 41885,
654
+ "src": "2069:21:97",
655
655
  "stateVariable": false,
656
656
  "storageLocation": "memory",
657
657
  "typeDescriptions": {
@@ -659,10 +659,10 @@
659
659
  "typeString": "bytes"
660
660
  },
661
661
  "typeName": {
662
- "id": 39108,
662
+ "id": 41879,
663
663
  "name": "bytes",
664
664
  "nodeType": "ElementaryTypeName",
665
- "src": "2069:5:94",
665
+ "src": "2069:5:97",
666
666
  "typeDescriptions": {
667
667
  "typeIdentifier": "t_bytes_storage_ptr",
668
668
  "typeString": "bytes"
@@ -671,21 +671,21 @@
671
671
  "visibility": "internal"
672
672
  }
673
673
  ],
674
- "src": "2015:79:94"
674
+ "src": "2015:79:97"
675
675
  },
676
676
  "returnParameters": {
677
- "id": 39113,
677
+ "id": 41884,
678
678
  "nodeType": "ParameterList",
679
679
  "parameters": [
680
680
  {
681
681
  "constant": false,
682
- "id": 39112,
682
+ "id": 41883,
683
683
  "mutability": "mutable",
684
684
  "name": "",
685
685
  "nameLocation": "-1:-1:-1",
686
686
  "nodeType": "VariableDeclaration",
687
- "scope": 39114,
688
- "src": "2121:12:94",
687
+ "scope": 41885,
688
+ "src": "2121:12:97",
689
689
  "stateVariable": false,
690
690
  "storageLocation": "memory",
691
691
  "typeDescriptions": {
@@ -693,10 +693,10 @@
693
693
  "typeString": "bytes"
694
694
  },
695
695
  "typeName": {
696
- "id": 39111,
696
+ "id": 41882,
697
697
  "name": "bytes",
698
698
  "nodeType": "ElementaryTypeName",
699
- "src": "2121:5:94",
699
+ "src": "2121:5:97",
700
700
  "typeDescriptions": {
701
701
  "typeIdentifier": "t_bytes_storage_ptr",
702
702
  "typeString": "bytes"
@@ -705,9 +705,9 @@
705
705
  "visibility": "internal"
706
706
  }
707
707
  ],
708
- "src": "2120:14:94"
708
+ "src": "2120:14:97"
709
709
  },
710
- "scope": 39115,
710
+ "scope": 41886,
711
711
  "stateMutability": "payable",
712
712
  "virtual": false,
713
713
  "visibility": "external"
@@ -719,55 +719,55 @@
719
719
  "contractDependencies": [],
720
720
  "contractKind": "interface",
721
721
  "documentation": {
722
- "id": 39090,
722
+ "id": 41861,
723
723
  "nodeType": "StructuredDocumentation",
724
- "src": "776:126:94",
724
+ "src": "776:126:97",
725
725
  "text": " @title World Call Interface\n @dev This interface defines the contract for executing calls on the World's systems."
726
726
  },
727
727
  "fullyImplemented": false,
728
728
  "linearizedBaseContracts": [
729
- 39115
729
+ 41886
730
730
  ],
731
731
  "name": "IWorldCall",
732
- "nameLocation": "913:10:94",
733
- "scope": 39148,
732
+ "nameLocation": "913:10:97",
733
+ "scope": 41919,
734
734
  "usedErrors": [],
735
735
  "usedEvents": []
736
736
  },
737
737
  {
738
- "id": 39147,
738
+ "id": 41918,
739
739
  "nodeType": "ContractDefinition",
740
- "src": "2440:849:94",
740
+ "src": "2440:849:97",
741
741
  "nodes": [
742
742
  {
743
- "id": 39127,
743
+ "id": 41898,
744
744
  "nodeType": "EventDefinition",
745
- "src": "2658:47:94",
745
+ "src": "2658:47:97",
746
746
  "nodes": [],
747
747
  "anonymous": false,
748
748
  "documentation": {
749
- "id": 39123,
749
+ "id": 41894,
750
750
  "nodeType": "StructuredDocumentation",
751
- "src": "2521:134:94",
751
+ "src": "2521:134:97",
752
752
  "text": " @dev Emitted upon successful World initialization.\n @param worldVersion The version of the World being initialized."
753
753
  },
754
754
  "eventSelector": "7f8f36afe3fb61c459c1a54a60b8a477eab02cc58e49f547561a40906239cb82",
755
755
  "name": "HelloWorld",
756
- "nameLocation": "2664:10:94",
756
+ "nameLocation": "2664:10:97",
757
757
  "parameters": {
758
- "id": 39126,
758
+ "id": 41897,
759
759
  "nodeType": "ParameterList",
760
760
  "parameters": [
761
761
  {
762
762
  "constant": false,
763
- "id": 39125,
763
+ "id": 41896,
764
764
  "indexed": true,
765
765
  "mutability": "mutable",
766
766
  "name": "worldVersion",
767
- "nameLocation": "2691:12:94",
767
+ "nameLocation": "2691:12:97",
768
768
  "nodeType": "VariableDeclaration",
769
- "scope": 39127,
770
- "src": "2675:28:94",
769
+ "scope": 41898,
770
+ "src": "2675:28:97",
771
771
  "stateVariable": false,
772
772
  "storageLocation": "default",
773
773
  "typeDescriptions": {
@@ -775,10 +775,10 @@
775
775
  "typeString": "bytes32"
776
776
  },
777
777
  "typeName": {
778
- "id": 39124,
778
+ "id": 41895,
779
779
  "name": "bytes32",
780
780
  "nodeType": "ElementaryTypeName",
781
- "src": "2675:7:94",
781
+ "src": "2675:7:97",
782
782
  "typeDescriptions": {
783
783
  "typeIdentifier": "t_bytes32",
784
784
  "typeString": "bytes32"
@@ -787,18 +787,18 @@
787
787
  "visibility": "internal"
788
788
  }
789
789
  ],
790
- "src": "2674:30:94"
790
+ "src": "2674:30:97"
791
791
  }
792
792
  },
793
793
  {
794
- "id": 39133,
794
+ "id": 41904,
795
795
  "nodeType": "FunctionDefinition",
796
- "src": "2819:56:94",
796
+ "src": "2819:56:97",
797
797
  "nodes": [],
798
798
  "documentation": {
799
- "id": 39128,
799
+ "id": 41899,
800
800
  "nodeType": "StructuredDocumentation",
801
- "src": "2709:107:94",
801
+ "src": "2709:107:97",
802
802
  "text": " @notice Retrieve the version of the World.\n @return The version identifier of the World."
803
803
  },
804
804
  "functionSelector": "6951955d",
@@ -806,26 +806,26 @@
806
806
  "kind": "function",
807
807
  "modifiers": [],
808
808
  "name": "worldVersion",
809
- "nameLocation": "2828:12:94",
809
+ "nameLocation": "2828:12:97",
810
810
  "parameters": {
811
- "id": 39129,
811
+ "id": 41900,
812
812
  "nodeType": "ParameterList",
813
813
  "parameters": [],
814
- "src": "2840:2:94"
814
+ "src": "2840:2:97"
815
815
  },
816
816
  "returnParameters": {
817
- "id": 39132,
817
+ "id": 41903,
818
818
  "nodeType": "ParameterList",
819
819
  "parameters": [
820
820
  {
821
821
  "constant": false,
822
- "id": 39131,
822
+ "id": 41902,
823
823
  "mutability": "mutable",
824
824
  "name": "",
825
825
  "nameLocation": "-1:-1:-1",
826
826
  "nodeType": "VariableDeclaration",
827
- "scope": 39133,
828
- "src": "2866:7:94",
827
+ "scope": 41904,
828
+ "src": "2866:7:97",
829
829
  "stateVariable": false,
830
830
  "storageLocation": "default",
831
831
  "typeDescriptions": {
@@ -833,10 +833,10 @@
833
833
  "typeString": "bytes32"
834
834
  },
835
835
  "typeName": {
836
- "id": 39130,
836
+ "id": 41901,
837
837
  "name": "bytes32",
838
838
  "nodeType": "ElementaryTypeName",
839
- "src": "2866:7:94",
839
+ "src": "2866:7:97",
840
840
  "typeDescriptions": {
841
841
  "typeIdentifier": "t_bytes32",
842
842
  "typeString": "bytes32"
@@ -845,22 +845,22 @@
845
845
  "visibility": "internal"
846
846
  }
847
847
  ],
848
- "src": "2865:9:94"
848
+ "src": "2865:9:97"
849
849
  },
850
- "scope": 39147,
850
+ "scope": 41918,
851
851
  "stateMutability": "view",
852
852
  "virtual": false,
853
853
  "visibility": "external"
854
854
  },
855
855
  {
856
- "id": 39139,
856
+ "id": 41910,
857
857
  "nodeType": "FunctionDefinition",
858
- "src": "3008:51:94",
858
+ "src": "3008:51:97",
859
859
  "nodes": [],
860
860
  "documentation": {
861
- "id": 39134,
861
+ "id": 41905,
862
862
  "nodeType": "StructuredDocumentation",
863
- "src": "2879:126:94",
863
+ "src": "2879:126:97",
864
864
  "text": " @notice Retrieve the immutable original deployer of the World.\n @return The address of the World's creator."
865
865
  },
866
866
  "functionSelector": "02d05d3f",
@@ -868,26 +868,26 @@
868
868
  "kind": "function",
869
869
  "modifiers": [],
870
870
  "name": "creator",
871
- "nameLocation": "3017:7:94",
871
+ "nameLocation": "3017:7:97",
872
872
  "parameters": {
873
- "id": 39135,
873
+ "id": 41906,
874
874
  "nodeType": "ParameterList",
875
875
  "parameters": [],
876
- "src": "3024:2:94"
876
+ "src": "3024:2:97"
877
877
  },
878
878
  "returnParameters": {
879
- "id": 39138,
879
+ "id": 41909,
880
880
  "nodeType": "ParameterList",
881
881
  "parameters": [
882
882
  {
883
883
  "constant": false,
884
- "id": 39137,
884
+ "id": 41908,
885
885
  "mutability": "mutable",
886
886
  "name": "",
887
887
  "nameLocation": "-1:-1:-1",
888
888
  "nodeType": "VariableDeclaration",
889
- "scope": 39139,
890
- "src": "3050:7:94",
889
+ "scope": 41910,
890
+ "src": "3050:7:97",
891
891
  "stateVariable": false,
892
892
  "storageLocation": "default",
893
893
  "typeDescriptions": {
@@ -895,10 +895,10 @@
895
895
  "typeString": "address"
896
896
  },
897
897
  "typeName": {
898
- "id": 39136,
898
+ "id": 41907,
899
899
  "name": "address",
900
900
  "nodeType": "ElementaryTypeName",
901
- "src": "3050:7:94",
901
+ "src": "3050:7:97",
902
902
  "stateMutability": "nonpayable",
903
903
  "typeDescriptions": {
904
904
  "typeIdentifier": "t_address",
@@ -908,22 +908,22 @@
908
908
  "visibility": "internal"
909
909
  }
910
910
  ],
911
- "src": "3049:9:94"
911
+ "src": "3049:9:97"
912
912
  },
913
- "scope": 39147,
913
+ "scope": 41918,
914
914
  "stateMutability": "view",
915
915
  "virtual": false,
916
916
  "visibility": "external"
917
917
  },
918
918
  {
919
- "id": 39146,
919
+ "id": 41917,
920
920
  "nodeType": "FunctionDefinition",
921
- "src": "3238:49:94",
921
+ "src": "3238:49:97",
922
922
  "nodes": [],
923
923
  "documentation": {
924
- "id": 39140,
924
+ "id": 41911,
925
925
  "nodeType": "StructuredDocumentation",
926
- "src": "3063:172:94",
926
+ "src": "3063:172:97",
927
927
  "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."
928
928
  },
929
929
  "functionSelector": "c4d66de8",
@@ -931,58 +931,58 @@
931
931
  "kind": "function",
932
932
  "modifiers": [],
933
933
  "name": "initialize",
934
- "nameLocation": "3247:10:94",
934
+ "nameLocation": "3247:10:97",
935
935
  "parameters": {
936
- "id": 39144,
936
+ "id": 41915,
937
937
  "nodeType": "ParameterList",
938
938
  "parameters": [
939
939
  {
940
940
  "constant": false,
941
- "id": 39143,
941
+ "id": 41914,
942
942
  "mutability": "mutable",
943
943
  "name": "coreModule",
944
- "nameLocation": "3266:10:94",
944
+ "nameLocation": "3266:10:97",
945
945
  "nodeType": "VariableDeclaration",
946
- "scope": 39146,
947
- "src": "3258:18:94",
946
+ "scope": 41917,
947
+ "src": "3258:18:97",
948
948
  "stateVariable": false,
949
949
  "storageLocation": "default",
950
950
  "typeDescriptions": {
951
- "typeIdentifier": "t_contract$_IModule_$61591",
951
+ "typeIdentifier": "t_contract$_IModule_$75724",
952
952
  "typeString": "contract IModule"
953
953
  },
954
954
  "typeName": {
955
- "id": 39142,
955
+ "id": 41913,
956
956
  "nodeType": "UserDefinedTypeName",
957
957
  "pathNode": {
958
- "id": 39141,
958
+ "id": 41912,
959
959
  "name": "IModule",
960
960
  "nameLocations": [
961
- "3258:7:94"
961
+ "3258:7:97"
962
962
  ],
963
963
  "nodeType": "IdentifierPath",
964
- "referencedDeclaration": 61591,
965
- "src": "3258:7:94"
964
+ "referencedDeclaration": 75724,
965
+ "src": "3258:7:97"
966
966
  },
967
- "referencedDeclaration": 61591,
968
- "src": "3258:7:94",
967
+ "referencedDeclaration": 75724,
968
+ "src": "3258:7:97",
969
969
  "typeDescriptions": {
970
- "typeIdentifier": "t_contract$_IModule_$61591",
970
+ "typeIdentifier": "t_contract$_IModule_$75724",
971
971
  "typeString": "contract IModule"
972
972
  }
973
973
  },
974
974
  "visibility": "internal"
975
975
  }
976
976
  ],
977
- "src": "3257:20:94"
977
+ "src": "3257:20:97"
978
978
  },
979
979
  "returnParameters": {
980
- "id": 39145,
980
+ "id": 41916,
981
981
  "nodeType": "ParameterList",
982
982
  "parameters": [],
983
- "src": "3286:0:94"
983
+ "src": "3286:0:97"
984
984
  },
985
- "scope": 39147,
985
+ "scope": 41918,
986
986
  "stateMutability": "nonpayable",
987
987
  "virtual": false,
988
988
  "visibility": "external"
@@ -992,91 +992,91 @@
992
992
  "baseContracts": [
993
993
  {
994
994
  "baseName": {
995
- "id": 39117,
995
+ "id": 41888,
996
996
  "name": "IWorldModuleInstallation",
997
997
  "nameLocations": [
998
- "2466:24:94"
998
+ "2466:24:97"
999
999
  ],
1000
1000
  "nodeType": "IdentifierPath",
1001
- "referencedDeclaration": 39089,
1002
- "src": "2466:24:94"
1001
+ "referencedDeclaration": 41860,
1002
+ "src": "2466:24:97"
1003
1003
  },
1004
- "id": 39118,
1004
+ "id": 41889,
1005
1005
  "nodeType": "InheritanceSpecifier",
1006
- "src": "2466:24:94"
1006
+ "src": "2466:24:97"
1007
1007
  },
1008
1008
  {
1009
1009
  "baseName": {
1010
- "id": 39119,
1010
+ "id": 41890,
1011
1011
  "name": "IWorldCall",
1012
1012
  "nameLocations": [
1013
- "2492:10:94"
1013
+ "2492:10:97"
1014
1014
  ],
1015
1015
  "nodeType": "IdentifierPath",
1016
- "referencedDeclaration": 39115,
1017
- "src": "2492:10:94"
1016
+ "referencedDeclaration": 41886,
1017
+ "src": "2492:10:97"
1018
1018
  },
1019
- "id": 39120,
1019
+ "id": 41891,
1020
1020
  "nodeType": "InheritanceSpecifier",
1021
- "src": "2492:10:94"
1021
+ "src": "2492:10:97"
1022
1022
  },
1023
1023
  {
1024
1024
  "baseName": {
1025
- "id": 39121,
1025
+ "id": 41892,
1026
1026
  "name": "IWorldErrors",
1027
1027
  "nameLocations": [
1028
- "2504:12:94"
1028
+ "2504:12:97"
1029
1029
  ],
1030
1030
  "nodeType": "IdentifierPath",
1031
- "referencedDeclaration": 61685,
1032
- "src": "2504:12:94"
1031
+ "referencedDeclaration": 41841,
1032
+ "src": "2504:12:97"
1033
1033
  },
1034
- "id": 39122,
1034
+ "id": 41893,
1035
1035
  "nodeType": "InheritanceSpecifier",
1036
- "src": "2504:12:94"
1036
+ "src": "2504:12:97"
1037
1037
  }
1038
1038
  ],
1039
1039
  "canonicalName": "IWorldKernel",
1040
1040
  "contractDependencies": [],
1041
1041
  "contractKind": "interface",
1042
1042
  "documentation": {
1043
- "id": 39116,
1043
+ "id": 41887,
1044
1044
  "nodeType": "StructuredDocumentation",
1045
- "src": "2139:300:94",
1045
+ "src": "2139:300:97",
1046
1046
  "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`."
1047
1047
  },
1048
1048
  "fullyImplemented": false,
1049
1049
  "linearizedBaseContracts": [
1050
- 39147,
1051
- 61685,
1052
- 39115,
1053
- 39089
1050
+ 41918,
1051
+ 41841,
1052
+ 41886,
1053
+ 41860
1054
1054
  ],
1055
1055
  "name": "IWorldKernel",
1056
- "nameLocation": "2450:12:94",
1057
- "scope": 39148,
1056
+ "nameLocation": "2450:12:97",
1057
+ "scope": 41919,
1058
1058
  "usedErrors": [
1059
- 61599,
1060
- 61607,
1061
- 61615,
1062
- 61622,
1063
- 61630,
1064
- 61635,
1065
- 61640,
1066
- 61645,
1067
- 61652,
1068
- 61655,
1069
- 61662,
1070
- 61669,
1071
- 61679,
1072
- 61684
1059
+ 41755,
1060
+ 41763,
1061
+ 41771,
1062
+ 41778,
1063
+ 41786,
1064
+ 41791,
1065
+ 41796,
1066
+ 41801,
1067
+ 41808,
1068
+ 41811,
1069
+ 41818,
1070
+ 41825,
1071
+ 41835,
1072
+ 41840
1073
1073
  ],
1074
1074
  "usedEvents": [
1075
- 39127
1075
+ 41898
1076
1076
  ]
1077
1077
  }
1078
1078
  ],
1079
1079
  "license": "MIT"
1080
1080
  },
1081
- "id": 94
1081
+ "id": 97
1082
1082
  }