@latticexyz/world-modules 2.0.0-main-85218618 → 2.0.0-main-3086581a

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 (112) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +223 -223
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
  5. package/out/DelegationControl.sol/DelegationControl.json +104 -104
  6. package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
  9. package/out/Hook.sol/HookInstance.json +16 -16
  10. package/out/Hook.sol/HookLib.json +16 -16
  11. package/out/Hooks.sol/Hooks.json +96 -96
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  14. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  16. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  17. package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  20. package/out/IStore.sol/IStore.json +4 -4
  21. package/out/IStoreData.sol/IStoreData.json +4 -4
  22. package/out/IStoreHook.sol/IStoreHook.json +4 -4
  23. package/out/IStoreRead.sol/IStoreRead.json +4 -4
  24. package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
  25. package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
  26. package/out/ISystemHook.sol/ISystemHook.json +90 -90
  27. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  28. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  29. package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
  30. package/out/IWorldKernel.sol/IWorldCall.json +156 -156
  31. package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
  32. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  33. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  34. package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
  35. package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
  36. package/out/KeysInTableModule.sol/KeysInTableModule.json +542 -542
  37. package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
  38. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1005 -1005
  39. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +431 -431
  40. package/out/Memory.sol/Memory.json +8 -8
  41. package/out/Module.sol/Module.json +93 -93
  42. package/out/ResourceIds.sol/ResourceIds.json +70 -70
  43. package/out/Schema.sol/SchemaInstance.json +76 -76
  44. package/out/Schema.sol/SchemaLib.json +76 -76
  45. package/out/SchemaType.sol/SchemaType.json +276 -276
  46. package/out/Slice.sol/SliceInstance.json +8 -8
  47. package/out/Slice.sol/SliceLib.json +8 -8
  48. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +308 -308
  49. package/out/Storage.sol/Storage.json +11 -11
  50. package/out/StoreCore.sol/StoreCore.json +59 -59
  51. package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
  52. package/out/StoreHook.sol/StoreHook.json +362 -362
  53. package/out/StoreHooks.sol/StoreHooks.json +97 -97
  54. package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
  55. package/out/System.sol/System.json +38 -38
  56. package/out/Tables.sol/Tables.json +98 -98
  57. package/out/TightCoder.sol/TightCoder.json +128 -128
  58. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +127 -127
  59. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
  60. package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
  61. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +332 -332
  62. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +101 -101
  63. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
  64. package/out/WorldContext.sol/WorldContextConsumer.json +382 -382
  65. package/out/WorldContext.sol/WorldContextProvider.json +382 -382
  66. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  67. package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  68. package/out/constants.sol/LayoutOffsets.json +164 -140
  69. package/out/constants.sol/constants.json +115 -115
  70. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  71. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  72. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  73. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  74. package/out/hasKey.sol/hasKey.json +130 -130
  75. package/out/index.sol/index.json +53 -53
  76. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +142 -142
  77. package/out/leftMask.sol/leftMask.json +61 -61
  78. package/out/query.sol/query.json +1154 -1154
  79. package/out/revertWithBytes.sol/revertWithBytes.json +51 -51
  80. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  81. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
  82. package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
  83. package/out/src/IStore.sol/IStore.json +57 -57
  84. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  85. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  86. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  87. package/out/src/Memory.sol/Memory.json +93 -93
  88. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  89. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  90. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  91. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  92. package/out/src/Schema.sol/SchemaInstance.json +791 -791
  93. package/out/src/Schema.sol/SchemaLib.json +791 -791
  94. package/out/src/Slice.sol/SliceInstance.json +433 -433
  95. package/out/src/Slice.sol/SliceLib.json +433 -433
  96. package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
  97. package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
  98. package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
  99. package/out/src/WorldContext.sol/WorldContextConsumer.json +382 -382
  100. package/out/src/WorldContext.sol/WorldContextProvider.json +382 -382
  101. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  102. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  103. package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
  104. package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
  105. package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
  106. package/out/tables/Tables.sol/Tables.json +7304 -7304
  107. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
  108. package/out/types.sol/types.json +39 -39
  109. package/out/version.sol/version.json +12 -12
  110. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  111. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  112. package/package.json +8 -8
@@ -81,7 +81,7 @@
81
81
  "onBeforeCallSystem(address,bytes32,bytes)": "c3323031",
82
82
  "supportsInterface(bytes4)": "01ffc9a7"
83
83
  },
84
- "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onAfterCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onBeforeCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface defining system hooks for external functionality. Provides pre and post hooks that can be triggered before and after a system call respectively. This interface adheres to the ERC-165 standard for determining interface support.\",\"kind\":\"dev\",\"methods\":{\"onAfterCallSystem(address,bytes32,bytes)\":{\"details\":\"Provides the ability to add custom logic or checks after a system call completes.\",\"params\":{\"callData\":\"Data that was sent as part of the system call.\",\"msgSender\":\"The original sender of the system call.\",\"systemId\":\"The identifier for the system that was called.\"}},\"onBeforeCallSystem(address,bytes32,bytes)\":{\"details\":\"Provides the ability to add custom logic or checks before a system is invoked.\",\"params\":{\"callData\":\"Data being sent as part of the system call.\",\"msgSender\":\"The original sender of the system call.\",\"systemId\":\"The identifier for the system being called.\"}},\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceID\":\"The interface identifier, as specified in ERC-165.\"},\"returns\":{\"_0\":\"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise.\"}}},\"title\":\"ISystemHook\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"onAfterCallSystem(address,bytes32,bytes)\":{\"notice\":\"Executes after a system call.\"},\"onBeforeCallSystem(address,bytes32,bytes)\":{\"notice\":\"Executes before a system call.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol\":\"ISystemHook\"},\"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\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol\":{\"keccak256\":\"0xb2114b6b66c0e7d8304d9e1d06aa1d0731f089daa6a0584e6cf744d9c48cf4db\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ebbb172970b106dd4ae5a6d5e417ac75cad7529d2b94c1601e10b886d0edf510\",\"dweb:/ipfs/QmPGn4F92hjkFch6Jh2NB37EYLLfstw6JxJKUZjXBFqGCw\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xb2c27c7b8f974f1e3c70dd82c92f35f5bbd2887e16afe454e6dbc38300a51feb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6cbdbcc95835f67030eebdebeaf0bfd6faa612381179e7f7be8b9d3c00b20878\",\"dweb:/ipfs/QmNeZU5MmRQqhcLxN6BA2BQvgEst8yg67F4VQoPJEEK6kg\"]}},\"version\":1}",
84
+ "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onAfterCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"msgSender\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"onBeforeCallSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceID\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface defining system hooks for external functionality. Provides pre and post hooks that can be triggered before and after a system call respectively. This interface adheres to the ERC-165 standard for determining interface support.\",\"kind\":\"dev\",\"methods\":{\"onAfterCallSystem(address,bytes32,bytes)\":{\"details\":\"Provides the ability to add custom logic or checks after a system call completes.\",\"params\":{\"callData\":\"Data that was sent as part of the system call.\",\"msgSender\":\"The original sender of the system call.\",\"systemId\":\"The identifier for the system that was called.\"}},\"onBeforeCallSystem(address,bytes32,bytes)\":{\"details\":\"Provides the ability to add custom logic or checks before a system is invoked.\",\"params\":{\"callData\":\"Data being sent as part of the system call.\",\"msgSender\":\"The original sender of the system call.\",\"systemId\":\"The identifier for the system being called.\"}},\"supportsInterface(bytes4)\":{\"details\":\"Interface identification is specified in ERC-165. This function uses less than 30,000 gas.\",\"params\":{\"interfaceID\":\"The interface identifier, as specified in ERC-165.\"},\"returns\":{\"_0\":\"True if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, false otherwise.\"}}},\"title\":\"ISystemHook\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"onAfterCallSystem(address,bytes32,bytes)\":{\"notice\":\"Executes after a system call.\"},\"onBeforeCallSystem(address,bytes32,bytes)\":{\"notice\":\"Executes before a system call.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Query if a contract implements an interface.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol\":\"ISystemHook\"},\"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\":{\"/home/runner/work/mud/mud/packages/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol\":{\"keccak256\":\"0xb2114b6b66c0e7d8304d9e1d06aa1d0731f089daa6a0584e6cf744d9c48cf4db\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ebbb172970b106dd4ae5a6d5e417ac75cad7529d2b94c1601e10b886d0edf510\",\"dweb:/ipfs/QmPGn4F92hjkFch6Jh2NB37EYLLfstw6JxJKUZjXBFqGCw\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]}},\"version\":1}",
85
85
  "metadata": {
86
86
  "compiler": {
87
87
  "version": "0.8.21+commit.d9974bed"
@@ -276,10 +276,10 @@
276
276
  "license": "MIT"
277
277
  },
278
278
  "node_modules/@latticexyz/store/src/storeResourceTypes.sol": {
279
- "keccak256": "0xb2c27c7b8f974f1e3c70dd82c92f35f5bbd2887e16afe454e6dbc38300a51feb",
279
+ "keccak256": "0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2",
280
280
  "urls": [
281
- "bzz-raw://6cbdbcc95835f67030eebdebeaf0bfd6faa612381179e7f7be8b9d3c00b20878",
282
- "dweb:/ipfs/QmNeZU5MmRQqhcLxN6BA2BQvgEst8yg67F4VQoPJEEK6kg"
281
+ "bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84",
282
+ "dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t"
283
283
  ],
284
284
  "license": "MIT"
285
285
  }
@@ -288,29 +288,29 @@
288
288
  },
289
289
  "ast": {
290
290
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol",
291
- "id": 23031,
291
+ "id": 23055,
292
292
  "exportedSymbols": {
293
293
  "ERC165_INTERFACE_ID": [
294
- 22927
294
+ 22951
295
295
  ],
296
296
  "IERC165": [
297
- 22937
297
+ 22961
298
298
  ],
299
299
  "ISystemHook": [
300
- 23030
300
+ 23054
301
301
  ],
302
302
  "ResourceId": [
303
- 26238
303
+ 26262
304
304
  ],
305
305
  "SYSTEM_HOOK_INTERFACE_ID": [
306
- 23004
306
+ 23028
307
307
  ]
308
308
  },
309
309
  "nodeType": "SourceUnit",
310
310
  "src": "32:1704:36",
311
311
  "nodes": [
312
312
  {
313
- "id": 22987,
313
+ "id": 23011,
314
314
  "nodeType": "PragmaDirective",
315
315
  "src": "32:25:36",
316
316
  "nodes": [],
@@ -322,23 +322,23 @@
322
322
  ]
323
323
  },
324
324
  {
325
- "id": 22990,
325
+ "id": 23014,
326
326
  "nodeType": "ImportDirective",
327
327
  "src": "59:61:36",
328
328
  "nodes": [],
329
329
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
330
330
  "file": "./IERC165.sol",
331
331
  "nameLocation": "-1:-1:-1",
332
- "scope": 23031,
333
- "sourceUnit": 22938,
332
+ "scope": 23055,
333
+ "sourceUnit": 22962,
334
334
  "symbolAliases": [
335
335
  {
336
336
  "foreign": {
337
- "id": 22988,
337
+ "id": 23012,
338
338
  "name": "IERC165",
339
339
  "nodeType": "Identifier",
340
340
  "overloadedDeclarations": [],
341
- "referencedDeclaration": 22937,
341
+ "referencedDeclaration": 22961,
342
342
  "src": "68:7:36",
343
343
  "typeDescriptions": {}
344
344
  },
@@ -346,11 +346,11 @@
346
346
  },
347
347
  {
348
348
  "foreign": {
349
- "id": 22989,
349
+ "id": 23013,
350
350
  "name": "ERC165_INTERFACE_ID",
351
351
  "nodeType": "Identifier",
352
352
  "overloadedDeclarations": [],
353
- "referencedDeclaration": 22927,
353
+ "referencedDeclaration": 22951,
354
354
  "src": "77:19:36",
355
355
  "typeDescriptions": {}
356
356
  },
@@ -360,23 +360,23 @@
360
360
  "unitAlias": ""
361
361
  },
362
362
  {
363
- "id": 22992,
363
+ "id": 23016,
364
364
  "nodeType": "ImportDirective",
365
365
  "src": "121:51:36",
366
366
  "nodes": [],
367
367
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
368
368
  "file": "./WorldResourceId.sol",
369
369
  "nameLocation": "-1:-1:-1",
370
- "scope": 23031,
371
- "sourceUnit": 23759,
370
+ "scope": 23055,
371
+ "sourceUnit": 23783,
372
372
  "symbolAliases": [
373
373
  {
374
374
  "foreign": {
375
- "id": 22991,
375
+ "id": 23015,
376
376
  "name": "ResourceId",
377
377
  "nodeType": "Identifier",
378
378
  "overloadedDeclarations": [],
379
- "referencedDeclaration": 26238,
379
+ "referencedDeclaration": 26262,
380
380
  "src": "130:10:36",
381
381
  "typeDescriptions": {}
382
382
  },
@@ -386,7 +386,7 @@
386
386
  "unitAlias": ""
387
387
  },
388
388
  {
389
- "id": 23004,
389
+ "id": 23028,
390
390
  "nodeType": "VariableDeclaration",
391
391
  "src": "378:149:36",
392
392
  "nodes": [],
@@ -394,7 +394,7 @@
394
394
  "mutability": "constant",
395
395
  "name": "SYSTEM_HOOK_INTERFACE_ID",
396
396
  "nameLocation": "394:24:36",
397
- "scope": 23031,
397
+ "scope": 23055,
398
398
  "stateVariable": false,
399
399
  "storageLocation": "default",
400
400
  "typeDescriptions": {
@@ -402,7 +402,7 @@
402
402
  "typeString": "bytes4"
403
403
  },
404
404
  "typeName": {
405
- "id": 22994,
405
+ "id": 23018,
406
406
  "name": "bytes4",
407
407
  "nodeType": "ElementaryTypeName",
408
408
  "src": "378:6:36",
@@ -416,7 +416,7 @@
416
416
  "typeIdentifier": "t_bytes4",
417
417
  "typeString": "bytes4"
418
418
  },
419
- "id": 23003,
419
+ "id": 23027,
420
420
  "isConstant": false,
421
421
  "isLValue": false,
422
422
  "isPure": true,
@@ -426,7 +426,7 @@
426
426
  "typeIdentifier": "t_bytes4",
427
427
  "typeString": "bytes4"
428
428
  },
429
- "id": 23001,
429
+ "id": 23025,
430
430
  "isConstant": false,
431
431
  "isLValue": false,
432
432
  "isPure": true,
@@ -434,18 +434,18 @@
434
434
  "leftExpression": {
435
435
  "expression": {
436
436
  "expression": {
437
- "id": 22995,
437
+ "id": 23019,
438
438
  "name": "ISystemHook",
439
439
  "nodeType": "Identifier",
440
440
  "overloadedDeclarations": [],
441
- "referencedDeclaration": 23030,
441
+ "referencedDeclaration": 23054,
442
442
  "src": "421:11:36",
443
443
  "typeDescriptions": {
444
- "typeIdentifier": "t_type$_t_contract$_ISystemHook_$23030_$",
444
+ "typeIdentifier": "t_type$_t_contract$_ISystemHook_$23054_$",
445
445
  "typeString": "type(contract ISystemHook)"
446
446
  }
447
447
  },
448
- "id": 22996,
448
+ "id": 23020,
449
449
  "isConstant": false,
450
450
  "isLValue": false,
451
451
  "isPure": true,
@@ -453,14 +453,14 @@
453
453
  "memberLocation": "433:18:36",
454
454
  "memberName": "onBeforeCallSystem",
455
455
  "nodeType": "MemberAccess",
456
- "referencedDeclaration": 23018,
456
+ "referencedDeclaration": 23042,
457
457
  "src": "421:30:36",
458
458
  "typeDescriptions": {
459
- "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26238_$_t_bytes_memory_ptr_$returns$__$",
459
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26262_$_t_bytes_memory_ptr_$returns$__$",
460
460
  "typeString": "function ISystemHook.onBeforeCallSystem(address,ResourceId,bytes memory)"
461
461
  }
462
462
  },
463
- "id": 22997,
463
+ "id": 23021,
464
464
  "isConstant": false,
465
465
  "isLValue": false,
466
466
  "isPure": true,
@@ -479,18 +479,18 @@
479
479
  "rightExpression": {
480
480
  "expression": {
481
481
  "expression": {
482
- "id": 22998,
482
+ "id": 23022,
483
483
  "name": "ISystemHook",
484
484
  "nodeType": "Identifier",
485
485
  "overloadedDeclarations": [],
486
- "referencedDeclaration": 23030,
486
+ "referencedDeclaration": 23054,
487
487
  "src": "465:11:36",
488
488
  "typeDescriptions": {
489
- "typeIdentifier": "t_type$_t_contract$_ISystemHook_$23030_$",
489
+ "typeIdentifier": "t_type$_t_contract$_ISystemHook_$23054_$",
490
490
  "typeString": "type(contract ISystemHook)"
491
491
  }
492
492
  },
493
- "id": 22999,
493
+ "id": 23023,
494
494
  "isConstant": false,
495
495
  "isLValue": false,
496
496
  "isPure": true,
@@ -498,14 +498,14 @@
498
498
  "memberLocation": "477:17:36",
499
499
  "memberName": "onAfterCallSystem",
500
500
  "nodeType": "MemberAccess",
501
- "referencedDeclaration": 23029,
501
+ "referencedDeclaration": 23053,
502
502
  "src": "465:29:36",
503
503
  "typeDescriptions": {
504
- "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26238_$_t_bytes_memory_ptr_$returns$__$",
504
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26262_$_t_bytes_memory_ptr_$returns$__$",
505
505
  "typeString": "function ISystemHook.onAfterCallSystem(address,ResourceId,bytes memory)"
506
506
  }
507
507
  },
508
- "id": 23000,
508
+ "id": 23024,
509
509
  "isConstant": false,
510
510
  "isLValue": false,
511
511
  "isPure": true,
@@ -528,11 +528,11 @@
528
528
  "nodeType": "BinaryOperation",
529
529
  "operator": "^",
530
530
  "rightExpression": {
531
- "id": 23002,
531
+ "id": 23026,
532
532
  "name": "ERC165_INTERFACE_ID",
533
533
  "nodeType": "Identifier",
534
534
  "overloadedDeclarations": [],
535
- "referencedDeclaration": 22927,
535
+ "referencedDeclaration": 22951,
536
536
  "src": "508:19:36",
537
537
  "typeDescriptions": {
538
538
  "typeIdentifier": "t_bytes4",
@@ -548,17 +548,17 @@
548
548
  "visibility": "internal"
549
549
  },
550
550
  {
551
- "id": 23030,
551
+ "id": 23054,
552
552
  "nodeType": "ContractDefinition",
553
553
  "src": "811:924:36",
554
554
  "nodes": [
555
555
  {
556
- "id": 23018,
556
+ "id": 23042,
557
557
  "nodeType": "FunctionDefinition",
558
558
  "src": "1185:100:36",
559
559
  "nodes": [],
560
560
  "documentation": {
561
- "id": 23008,
561
+ "id": 23032,
562
562
  "nodeType": "StructuredDocumentation",
563
563
  "src": "848:334:36",
564
564
  "text": " @notice Executes before a system call.\n @dev Provides the ability to add custom logic or checks before a system is invoked.\n @param msgSender The original sender of the system call.\n @param systemId The identifier for the system being called.\n @param callData Data being sent as part of the system call."
@@ -570,17 +570,17 @@
570
570
  "name": "onBeforeCallSystem",
571
571
  "nameLocation": "1194:18:36",
572
572
  "parameters": {
573
- "id": 23016,
573
+ "id": 23040,
574
574
  "nodeType": "ParameterList",
575
575
  "parameters": [
576
576
  {
577
577
  "constant": false,
578
- "id": 23010,
578
+ "id": 23034,
579
579
  "mutability": "mutable",
580
580
  "name": "msgSender",
581
581
  "nameLocation": "1221:9:36",
582
582
  "nodeType": "VariableDeclaration",
583
- "scope": 23018,
583
+ "scope": 23042,
584
584
  "src": "1213:17:36",
585
585
  "stateVariable": false,
586
586
  "storageLocation": "default",
@@ -589,7 +589,7 @@
589
589
  "typeString": "address"
590
590
  },
591
591
  "typeName": {
592
- "id": 23009,
592
+ "id": 23033,
593
593
  "name": "address",
594
594
  "nodeType": "ElementaryTypeName",
595
595
  "src": "1213:7:36",
@@ -603,36 +603,36 @@
603
603
  },
604
604
  {
605
605
  "constant": false,
606
- "id": 23013,
606
+ "id": 23037,
607
607
  "mutability": "mutable",
608
608
  "name": "systemId",
609
609
  "nameLocation": "1243:8:36",
610
610
  "nodeType": "VariableDeclaration",
611
- "scope": 23018,
611
+ "scope": 23042,
612
612
  "src": "1232:19:36",
613
613
  "stateVariable": false,
614
614
  "storageLocation": "default",
615
615
  "typeDescriptions": {
616
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
616
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
617
617
  "typeString": "ResourceId"
618
618
  },
619
619
  "typeName": {
620
- "id": 23012,
620
+ "id": 23036,
621
621
  "nodeType": "UserDefinedTypeName",
622
622
  "pathNode": {
623
- "id": 23011,
623
+ "id": 23035,
624
624
  "name": "ResourceId",
625
625
  "nameLocations": [
626
626
  "1232:10:36"
627
627
  ],
628
628
  "nodeType": "IdentifierPath",
629
- "referencedDeclaration": 26238,
629
+ "referencedDeclaration": 26262,
630
630
  "src": "1232:10:36"
631
631
  },
632
- "referencedDeclaration": 26238,
632
+ "referencedDeclaration": 26262,
633
633
  "src": "1232:10:36",
634
634
  "typeDescriptions": {
635
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
635
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
636
636
  "typeString": "ResourceId"
637
637
  }
638
638
  },
@@ -640,12 +640,12 @@
640
640
  },
641
641
  {
642
642
  "constant": false,
643
- "id": 23015,
643
+ "id": 23039,
644
644
  "mutability": "mutable",
645
645
  "name": "callData",
646
646
  "nameLocation": "1266:8:36",
647
647
  "nodeType": "VariableDeclaration",
648
- "scope": 23018,
648
+ "scope": 23042,
649
649
  "src": "1253:21:36",
650
650
  "stateVariable": false,
651
651
  "storageLocation": "memory",
@@ -654,7 +654,7 @@
654
654
  "typeString": "bytes"
655
655
  },
656
656
  "typeName": {
657
- "id": 23014,
657
+ "id": 23038,
658
658
  "name": "bytes",
659
659
  "nodeType": "ElementaryTypeName",
660
660
  "src": "1253:5:36",
@@ -669,23 +669,23 @@
669
669
  "src": "1212:63:36"
670
670
  },
671
671
  "returnParameters": {
672
- "id": 23017,
672
+ "id": 23041,
673
673
  "nodeType": "ParameterList",
674
674
  "parameters": [],
675
675
  "src": "1284:0:36"
676
676
  },
677
- "scope": 23030,
677
+ "scope": 23054,
678
678
  "stateMutability": "nonpayable",
679
679
  "virtual": false,
680
680
  "visibility": "external"
681
681
  },
682
682
  {
683
- "id": 23029,
683
+ "id": 23053,
684
684
  "nodeType": "FunctionDefinition",
685
685
  "src": "1634:99:36",
686
686
  "nodes": [],
687
687
  "documentation": {
688
- "id": 23019,
688
+ "id": 23043,
689
689
  "nodeType": "StructuredDocumentation",
690
690
  "src": "1289:342:36",
691
691
  "text": " @notice Executes after a system call.\n @dev Provides the ability to add custom logic or checks after a system call completes.\n @param msgSender The original sender of the system call.\n @param systemId The identifier for the system that was called.\n @param callData Data that was sent as part of the system call."
@@ -697,17 +697,17 @@
697
697
  "name": "onAfterCallSystem",
698
698
  "nameLocation": "1643:17:36",
699
699
  "parameters": {
700
- "id": 23027,
700
+ "id": 23051,
701
701
  "nodeType": "ParameterList",
702
702
  "parameters": [
703
703
  {
704
704
  "constant": false,
705
- "id": 23021,
705
+ "id": 23045,
706
706
  "mutability": "mutable",
707
707
  "name": "msgSender",
708
708
  "nameLocation": "1669:9:36",
709
709
  "nodeType": "VariableDeclaration",
710
- "scope": 23029,
710
+ "scope": 23053,
711
711
  "src": "1661:17:36",
712
712
  "stateVariable": false,
713
713
  "storageLocation": "default",
@@ -716,7 +716,7 @@
716
716
  "typeString": "address"
717
717
  },
718
718
  "typeName": {
719
- "id": 23020,
719
+ "id": 23044,
720
720
  "name": "address",
721
721
  "nodeType": "ElementaryTypeName",
722
722
  "src": "1661:7:36",
@@ -730,36 +730,36 @@
730
730
  },
731
731
  {
732
732
  "constant": false,
733
- "id": 23024,
733
+ "id": 23048,
734
734
  "mutability": "mutable",
735
735
  "name": "systemId",
736
736
  "nameLocation": "1691:8:36",
737
737
  "nodeType": "VariableDeclaration",
738
- "scope": 23029,
738
+ "scope": 23053,
739
739
  "src": "1680:19:36",
740
740
  "stateVariable": false,
741
741
  "storageLocation": "default",
742
742
  "typeDescriptions": {
743
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
743
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
744
744
  "typeString": "ResourceId"
745
745
  },
746
746
  "typeName": {
747
- "id": 23023,
747
+ "id": 23047,
748
748
  "nodeType": "UserDefinedTypeName",
749
749
  "pathNode": {
750
- "id": 23022,
750
+ "id": 23046,
751
751
  "name": "ResourceId",
752
752
  "nameLocations": [
753
753
  "1680:10:36"
754
754
  ],
755
755
  "nodeType": "IdentifierPath",
756
- "referencedDeclaration": 26238,
756
+ "referencedDeclaration": 26262,
757
757
  "src": "1680:10:36"
758
758
  },
759
- "referencedDeclaration": 26238,
759
+ "referencedDeclaration": 26262,
760
760
  "src": "1680:10:36",
761
761
  "typeDescriptions": {
762
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
762
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
763
763
  "typeString": "ResourceId"
764
764
  }
765
765
  },
@@ -767,12 +767,12 @@
767
767
  },
768
768
  {
769
769
  "constant": false,
770
- "id": 23026,
770
+ "id": 23050,
771
771
  "mutability": "mutable",
772
772
  "name": "callData",
773
773
  "nameLocation": "1714:8:36",
774
774
  "nodeType": "VariableDeclaration",
775
- "scope": 23029,
775
+ "scope": 23053,
776
776
  "src": "1701:21:36",
777
777
  "stateVariable": false,
778
778
  "storageLocation": "memory",
@@ -781,7 +781,7 @@
781
781
  "typeString": "bytes"
782
782
  },
783
783
  "typeName": {
784
- "id": 23025,
784
+ "id": 23049,
785
785
  "name": "bytes",
786
786
  "nodeType": "ElementaryTypeName",
787
787
  "src": "1701:5:36",
@@ -796,12 +796,12 @@
796
796
  "src": "1660:63:36"
797
797
  },
798
798
  "returnParameters": {
799
- "id": 23028,
799
+ "id": 23052,
800
800
  "nodeType": "ParameterList",
801
801
  "parameters": [],
802
802
  "src": "1732:0:36"
803
803
  },
804
- "scope": 23030,
804
+ "scope": 23054,
805
805
  "stateMutability": "nonpayable",
806
806
  "virtual": false,
807
807
  "visibility": "external"
@@ -811,16 +811,16 @@
811
811
  "baseContracts": [
812
812
  {
813
813
  "baseName": {
814
- "id": 23006,
814
+ "id": 23030,
815
815
  "name": "IERC165",
816
816
  "nameLocations": [
817
817
  "836:7:36"
818
818
  ],
819
819
  "nodeType": "IdentifierPath",
820
- "referencedDeclaration": 22937,
820
+ "referencedDeclaration": 22961,
821
821
  "src": "836:7:36"
822
822
  },
823
- "id": 23007,
823
+ "id": 23031,
824
824
  "nodeType": "InheritanceSpecifier",
825
825
  "src": "836:7:36"
826
826
  }
@@ -829,19 +829,19 @@
829
829
  "contractDependencies": [],
830
830
  "contractKind": "interface",
831
831
  "documentation": {
832
- "id": 23005,
832
+ "id": 23029,
833
833
  "nodeType": "StructuredDocumentation",
834
834
  "src": "530:280:36",
835
835
  "text": " @title ISystemHook\n @dev Interface defining system hooks for external functionality.\n Provides pre and post hooks that can be triggered before and after a system call respectively.\n This interface adheres to the ERC-165 standard for determining interface support."
836
836
  },
837
837
  "fullyImplemented": false,
838
838
  "linearizedBaseContracts": [
839
- 23030,
840
- 22937
839
+ 23054,
840
+ 22961
841
841
  ],
842
842
  "name": "ISystemHook",
843
843
  "nameLocation": "821:11:36",
844
- "scope": 23031,
844
+ "scope": 23055,
845
845
  "usedErrors": [],
846
846
  "usedEvents": []
847
847
  }