@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-5741d53d

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 (121) hide show
  1. package/dist/mud.config.js +1 -1
  2. package/dist/mud.config.js.map +1 -1
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Callbacks.sol/Callbacks.json +45 -45
  5. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
  6. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  7. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
  11. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  12. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  13. package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
  14. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  16. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  17. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  18. package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
  19. package/out/IModule.sol/IModule.json +139 -139
  20. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  21. package/out/ISystemHook.sol/ISystemHook.json +141 -141
  22. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  23. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  24. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  25. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  26. package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
  27. package/out/IWorldKernel.sol/IWorldCall.json +251 -251
  28. package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
  29. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
  30. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
  31. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  32. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  33. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  34. package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
  35. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  36. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
  37. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
  38. package/out/Mixed.sol/Mixed.json +66 -66
  39. package/out/Module.sol/Module.json +73 -73
  40. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  41. package/out/Schema.sol/SchemaInstance.json +30 -30
  42. package/out/Schema.sol/SchemaLib.json +30 -30
  43. package/out/SchemaType.sol/SchemaType.json +276 -276
  44. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
  45. package/out/StoreHook.sol/StoreHook.json +358 -358
  46. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  47. package/out/System.sol/System.json +19 -19
  48. package/out/Tables.sol/Tables.json +73 -73
  49. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
  50. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  51. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  52. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
  53. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
  54. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
  55. package/out/Vector2.sol/Vector2.json +52 -52
  56. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  57. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  58. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  59. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  60. package/out/constants.sol/constants.json +142 -142
  61. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  62. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  63. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  64. package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
  65. package/out/hasKey.sol/hasKey.json +215 -215
  66. package/out/index.sol/index.json +73 -73
  67. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  69. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
  70. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  71. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
  72. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
  73. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  74. package/out/query.sol/query.json +1892 -1892
  75. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  76. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  77. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  78. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  79. package/out/src/IStore.sol/IStore.json +885 -885
  80. package/out/src/IStore.sol/IStoreData.json +885 -885
  81. package/out/src/IStore.sol/IStoreRead.json +885 -885
  82. package/out/src/IStore.sol/IStoreRegistration.json +885 -885
  83. package/out/src/IStore.sol/IStoreWrite.json +885 -885
  84. package/out/src/Memory.sol/Memory.json +89 -89
  85. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  86. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  87. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  88. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  89. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  90. package/out/src/Schema.sol/SchemaLib.json +787 -787
  91. package/out/src/Slice.sol/SliceInstance.json +429 -429
  92. package/out/src/Slice.sol/SliceLib.json +429 -429
  93. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  94. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  95. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  96. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  97. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  98. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  99. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  100. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  101. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  102. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  103. package/out/tables/Tables.sol/Tables.json +7288 -7288
  104. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  105. package/out/types.sol/types.json +131 -23
  106. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  107. package/package.json +8 -8
  108. package/src/interfaces/IBaseWorld.sol +1 -3
  109. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  110. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  111. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  112. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  113. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  114. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  115. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  116. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  117. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  118. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
  119. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  120. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  121. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -70,7 +70,7 @@
70
70
  "revokeAccess(bytes32,address)": "8d53b208",
71
71
  "transferOwnership(bytes32,address)": "ef5d6bbb"
72
72
  },
73
- "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol\":\"IAccessManagementSystem\"},\"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/WorldResourceId.sol\":{\"keccak256\":\"0x979e418af3d0d3a1866240bed58d2792f0718cc1803a1476ec8c93af5577cae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c68cfe48ce67fe83f4b000c954891821d1fae31bfdd36de37a12637c8a1864f7\",\"dweb:/ipfs/QmUX9tHSMTeScbiacKX2T16gLV6aPKDU1Q3eDiNxqmVNa1\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x6ba6106af53f968def4e958c37e1da3d4a055174a75bb34378becdb0bec44a63\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b6634717bf77ea7bcc54b625665db61f48d39be47161090467d2264dee0361dc\",\"dweb:/ipfs/QmWM5kNhwmDii9zZMwf3q9y8mM1PKeRLQxXHHGpLNXq1DG\"]},\"/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol\":{\"keccak256\":\"0xea58aca4ea181e90fa4a621380fb1cf928d28b3d30acf09e4d321043c216ac3e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e8267b8fd0bdddbc1fad0b9443590b75bd43054199ee4ae80b0e73055f04466\",\"dweb:/ipfs/QmccpYVAdg4fwm6PVS6yuKSK1RDSv8X6hhko7oc7qtHCnz\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0x88f844f2c43757c819c8f140b30254f07c3484e12cce573879d43b2ee6a23f8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://55a9095094c2b7b1043020681696380cfc3cffd1f264a70bacb44fccd0fc0a8a\",\"dweb:/ipfs/QmfPdLPr9hfV8X8yfHhEf2HmEWAnA4d1c6EHEjHMdeM7ML\"]},\"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}",
73
+ "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":\"IAccessManagementSystem\"},\"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/WorldResourceId.sol\":{\"keccak256\":\"0x979e418af3d0d3a1866240bed58d2792f0718cc1803a1476ec8c93af5577cae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c68cfe48ce67fe83f4b000c954891821d1fae31bfdd36de37a12637c8a1864f7\",\"dweb:/ipfs/QmUX9tHSMTeScbiacKX2T16gLV6aPKDU1Q3eDiNxqmVNa1\"]},\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":{\"keccak256\":\"0x19c5c91d4abc5d9a121224954855d648cc9c0267ab0ba26313ab21cdddd7e13c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ea88e4d1ec0bc4ba9e9342f83a2aa7e7787d27a35da5cc92621697b544527fc\",\"dweb:/ipfs/QmVjFupMVs6jRmS98Rxz8XBjd2kxvmXJGokFkKKxPn7FA9\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x6ba6106af53f968def4e958c37e1da3d4a055174a75bb34378becdb0bec44a63\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b6634717bf77ea7bcc54b625665db61f48d39be47161090467d2264dee0361dc\",\"dweb:/ipfs/QmWM5kNhwmDii9zZMwf3q9y8mM1PKeRLQxXHHGpLNXq1DG\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0x88f844f2c43757c819c8f140b30254f07c3484e12cce573879d43b2ee6a23f8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://55a9095094c2b7b1043020681696380cfc3cffd1f264a70bacb44fccd0fc0a8a\",\"dweb:/ipfs/QmfPdLPr9hfV8X8yfHhEf2HmEWAnA4d1c6EHEjHMdeM7ML\"]},\"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}",
74
74
  "metadata": {
75
75
  "compiler": {
76
76
  "version": "0.8.21+commit.d9974bed"
@@ -155,7 +155,7 @@
155
155
  "bytecodeHash": "none"
156
156
  },
157
157
  "compilationTarget": {
158
- "/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol": "IAccessManagementSystem"
158
+ "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol": "IAccessManagementSystem"
159
159
  },
160
160
  "libraries": {}
161
161
  },
@@ -168,19 +168,19 @@
168
168
  ],
169
169
  "license": "MIT"
170
170
  },
171
- "/home/runner/work/mud/mud/packages/world/src/constants.sol": {
172
- "keccak256": "0x6ba6106af53f968def4e958c37e1da3d4a055174a75bb34378becdb0bec44a63",
171
+ "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol": {
172
+ "keccak256": "0x19c5c91d4abc5d9a121224954855d648cc9c0267ab0ba26313ab21cdddd7e13c",
173
173
  "urls": [
174
- "bzz-raw://b6634717bf77ea7bcc54b625665db61f48d39be47161090467d2264dee0361dc",
175
- "dweb:/ipfs/QmWM5kNhwmDii9zZMwf3q9y8mM1PKeRLQxXHHGpLNXq1DG"
174
+ "bzz-raw://7ea88e4d1ec0bc4ba9e9342f83a2aa7e7787d27a35da5cc92621697b544527fc",
175
+ "dweb:/ipfs/QmVjFupMVs6jRmS98Rxz8XBjd2kxvmXJGokFkKKxPn7FA9"
176
176
  ],
177
177
  "license": "MIT"
178
178
  },
179
- "/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol": {
180
- "keccak256": "0xea58aca4ea181e90fa4a621380fb1cf928d28b3d30acf09e4d321043c216ac3e",
179
+ "/home/runner/work/mud/mud/packages/world/src/constants.sol": {
180
+ "keccak256": "0x6ba6106af53f968def4e958c37e1da3d4a055174a75bb34378becdb0bec44a63",
181
181
  "urls": [
182
- "bzz-raw://8e8267b8fd0bdddbc1fad0b9443590b75bd43054199ee4ae80b0e73055f04466",
183
- "dweb:/ipfs/QmccpYVAdg4fwm6PVS6yuKSK1RDSv8X6hhko7oc7qtHCnz"
182
+ "bzz-raw://b6634717bf77ea7bcc54b625665db61f48d39be47161090467d2264dee0361dc",
183
+ "dweb:/ipfs/QmWM5kNhwmDii9zZMwf3q9y8mM1PKeRLQxXHHGpLNXq1DG"
184
184
  ],
185
185
  "license": "MIT"
186
186
  },
@@ -220,23 +220,23 @@
220
220
  "version": 1
221
221
  },
222
222
  "ast": {
223
- "absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol",
224
- "id": 33231,
223
+ "absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol",
224
+ "id": 33185,
225
225
  "exportedSymbols": {
226
226
  "IAccessManagementSystem": [
227
- 33230
227
+ 33184
228
228
  ],
229
229
  "ResourceId": [
230
- 36365
230
+ 36384
231
231
  ]
232
232
  },
233
233
  "nodeType": "SourceUnit",
234
- "src": "32:400:36",
234
+ "src": "32:403:35",
235
235
  "nodes": [
236
236
  {
237
- "id": 33203,
237
+ "id": 33157,
238
238
  "nodeType": "PragmaDirective",
239
- "src": "32:25:36",
239
+ "src": "32:25:35",
240
240
  "nodes": [],
241
241
  "literals": [
242
242
  "solidity",
@@ -246,24 +246,24 @@
246
246
  ]
247
247
  },
248
248
  {
249
- "id": 33205,
249
+ "id": 33159,
250
250
  "nodeType": "ImportDirective",
251
- "src": "108:54:36",
251
+ "src": "108:57:35",
252
252
  "nodes": [],
253
253
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
254
- "file": "./../WorldResourceId.sol",
254
+ "file": "./../../WorldResourceId.sol",
255
255
  "nameLocation": "-1:-1:-1",
256
- "scope": 33231,
256
+ "scope": 33185,
257
257
  "sourceUnit": 33156,
258
258
  "symbolAliases": [
259
259
  {
260
260
  "foreign": {
261
- "id": 33204,
261
+ "id": 33158,
262
262
  "name": "ResourceId",
263
263
  "nodeType": "Identifier",
264
264
  "overloadedDeclarations": [],
265
- "referencedDeclaration": 36365,
266
- "src": "117:10:36",
265
+ "referencedDeclaration": 36384,
266
+ "src": "117:10:35",
267
267
  "typeDescriptions": {}
268
268
  },
269
269
  "nameLocation": "-1:-1:-1"
@@ -272,57 +272,57 @@
272
272
  "unitAlias": ""
273
273
  },
274
274
  {
275
- "id": 33230,
275
+ "id": 33184,
276
276
  "nodeType": "ContractDefinition",
277
- "src": "164:267:36",
277
+ "src": "167:267:35",
278
278
  "nodes": [
279
279
  {
280
- "id": 33213,
280
+ "id": 33167,
281
281
  "nodeType": "FunctionDefinition",
282
- "src": "202:70:36",
282
+ "src": "205:70:35",
283
283
  "nodes": [],
284
284
  "functionSelector": "40554c3a",
285
285
  "implemented": false,
286
286
  "kind": "function",
287
287
  "modifiers": [],
288
288
  "name": "grantAccess",
289
- "nameLocation": "211:11:36",
289
+ "nameLocation": "214:11:35",
290
290
  "parameters": {
291
- "id": 33211,
291
+ "id": 33165,
292
292
  "nodeType": "ParameterList",
293
293
  "parameters": [
294
294
  {
295
295
  "constant": false,
296
- "id": 33208,
296
+ "id": 33162,
297
297
  "mutability": "mutable",
298
298
  "name": "resourceId",
299
- "nameLocation": "234:10:36",
299
+ "nameLocation": "237:10:35",
300
300
  "nodeType": "VariableDeclaration",
301
- "scope": 33213,
302
- "src": "223:21:36",
301
+ "scope": 33167,
302
+ "src": "226:21:35",
303
303
  "stateVariable": false,
304
304
  "storageLocation": "default",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
307
307
  "typeString": "ResourceId"
308
308
  },
309
309
  "typeName": {
310
- "id": 33207,
310
+ "id": 33161,
311
311
  "nodeType": "UserDefinedTypeName",
312
312
  "pathNode": {
313
- "id": 33206,
313
+ "id": 33160,
314
314
  "name": "ResourceId",
315
315
  "nameLocations": [
316
- "223:10:36"
316
+ "226:10:35"
317
317
  ],
318
318
  "nodeType": "IdentifierPath",
319
- "referencedDeclaration": 36365,
320
- "src": "223:10:36"
319
+ "referencedDeclaration": 36384,
320
+ "src": "226:10:35"
321
321
  },
322
- "referencedDeclaration": 36365,
323
- "src": "223:10:36",
322
+ "referencedDeclaration": 36384,
323
+ "src": "226:10:35",
324
324
  "typeDescriptions": {
325
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
325
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
326
326
  "typeString": "ResourceId"
327
327
  }
328
328
  },
@@ -330,13 +330,13 @@
330
330
  },
331
331
  {
332
332
  "constant": false,
333
- "id": 33210,
333
+ "id": 33164,
334
334
  "mutability": "mutable",
335
335
  "name": "grantee",
336
- "nameLocation": "254:7:36",
336
+ "nameLocation": "257:7:35",
337
337
  "nodeType": "VariableDeclaration",
338
- "scope": 33213,
339
- "src": "246:15:36",
338
+ "scope": 33167,
339
+ "src": "249:15:35",
340
340
  "stateVariable": false,
341
341
  "storageLocation": "default",
342
342
  "typeDescriptions": {
@@ -344,10 +344,10 @@
344
344
  "typeString": "address"
345
345
  },
346
346
  "typeName": {
347
- "id": 33209,
347
+ "id": 33163,
348
348
  "name": "address",
349
349
  "nodeType": "ElementaryTypeName",
350
- "src": "246:7:36",
350
+ "src": "249:7:35",
351
351
  "stateMutability": "nonpayable",
352
352
  "typeDescriptions": {
353
353
  "typeIdentifier": "t_address",
@@ -357,66 +357,66 @@
357
357
  "visibility": "internal"
358
358
  }
359
359
  ],
360
- "src": "222:40:36"
360
+ "src": "225:40:35"
361
361
  },
362
362
  "returnParameters": {
363
- "id": 33212,
363
+ "id": 33166,
364
364
  "nodeType": "ParameterList",
365
365
  "parameters": [],
366
- "src": "271:0:36"
366
+ "src": "274:0:35"
367
367
  },
368
- "scope": 33230,
368
+ "scope": 33184,
369
369
  "stateMutability": "nonpayable",
370
370
  "virtual": false,
371
371
  "visibility": "external"
372
372
  },
373
373
  {
374
- "id": 33221,
374
+ "id": 33175,
375
375
  "nodeType": "FunctionDefinition",
376
- "src": "276:71:36",
376
+ "src": "279:71:35",
377
377
  "nodes": [],
378
378
  "functionSelector": "8d53b208",
379
379
  "implemented": false,
380
380
  "kind": "function",
381
381
  "modifiers": [],
382
382
  "name": "revokeAccess",
383
- "nameLocation": "285:12:36",
383
+ "nameLocation": "288:12:35",
384
384
  "parameters": {
385
- "id": 33219,
385
+ "id": 33173,
386
386
  "nodeType": "ParameterList",
387
387
  "parameters": [
388
388
  {
389
389
  "constant": false,
390
- "id": 33216,
390
+ "id": 33170,
391
391
  "mutability": "mutable",
392
392
  "name": "resourceId",
393
- "nameLocation": "309:10:36",
393
+ "nameLocation": "312:10:35",
394
394
  "nodeType": "VariableDeclaration",
395
- "scope": 33221,
396
- "src": "298:21:36",
395
+ "scope": 33175,
396
+ "src": "301:21:35",
397
397
  "stateVariable": false,
398
398
  "storageLocation": "default",
399
399
  "typeDescriptions": {
400
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
400
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
401
401
  "typeString": "ResourceId"
402
402
  },
403
403
  "typeName": {
404
- "id": 33215,
404
+ "id": 33169,
405
405
  "nodeType": "UserDefinedTypeName",
406
406
  "pathNode": {
407
- "id": 33214,
407
+ "id": 33168,
408
408
  "name": "ResourceId",
409
409
  "nameLocations": [
410
- "298:10:36"
410
+ "301:10:35"
411
411
  ],
412
412
  "nodeType": "IdentifierPath",
413
- "referencedDeclaration": 36365,
414
- "src": "298:10:36"
413
+ "referencedDeclaration": 36384,
414
+ "src": "301:10:35"
415
415
  },
416
- "referencedDeclaration": 36365,
417
- "src": "298:10:36",
416
+ "referencedDeclaration": 36384,
417
+ "src": "301:10:35",
418
418
  "typeDescriptions": {
419
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
419
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
420
420
  "typeString": "ResourceId"
421
421
  }
422
422
  },
@@ -424,13 +424,13 @@
424
424
  },
425
425
  {
426
426
  "constant": false,
427
- "id": 33218,
427
+ "id": 33172,
428
428
  "mutability": "mutable",
429
429
  "name": "grantee",
430
- "nameLocation": "329:7:36",
430
+ "nameLocation": "332:7:35",
431
431
  "nodeType": "VariableDeclaration",
432
- "scope": 33221,
433
- "src": "321:15:36",
432
+ "scope": 33175,
433
+ "src": "324:15:35",
434
434
  "stateVariable": false,
435
435
  "storageLocation": "default",
436
436
  "typeDescriptions": {
@@ -438,10 +438,10 @@
438
438
  "typeString": "address"
439
439
  },
440
440
  "typeName": {
441
- "id": 33217,
441
+ "id": 33171,
442
442
  "name": "address",
443
443
  "nodeType": "ElementaryTypeName",
444
- "src": "321:7:36",
444
+ "src": "324:7:35",
445
445
  "stateMutability": "nonpayable",
446
446
  "typeDescriptions": {
447
447
  "typeIdentifier": "t_address",
@@ -451,66 +451,66 @@
451
451
  "visibility": "internal"
452
452
  }
453
453
  ],
454
- "src": "297:40:36"
454
+ "src": "300:40:35"
455
455
  },
456
456
  "returnParameters": {
457
- "id": 33220,
457
+ "id": 33174,
458
458
  "nodeType": "ParameterList",
459
459
  "parameters": [],
460
- "src": "346:0:36"
460
+ "src": "349:0:35"
461
461
  },
462
- "scope": 33230,
462
+ "scope": 33184,
463
463
  "stateMutability": "nonpayable",
464
464
  "virtual": false,
465
465
  "visibility": "external"
466
466
  },
467
467
  {
468
- "id": 33229,
468
+ "id": 33183,
469
469
  "nodeType": "FunctionDefinition",
470
- "src": "351:78:36",
470
+ "src": "354:78:35",
471
471
  "nodes": [],
472
472
  "functionSelector": "ef5d6bbb",
473
473
  "implemented": false,
474
474
  "kind": "function",
475
475
  "modifiers": [],
476
476
  "name": "transferOwnership",
477
- "nameLocation": "360:17:36",
477
+ "nameLocation": "363:17:35",
478
478
  "parameters": {
479
- "id": 33227,
479
+ "id": 33181,
480
480
  "nodeType": "ParameterList",
481
481
  "parameters": [
482
482
  {
483
483
  "constant": false,
484
- "id": 33224,
484
+ "id": 33178,
485
485
  "mutability": "mutable",
486
486
  "name": "namespaceId",
487
- "nameLocation": "389:11:36",
487
+ "nameLocation": "392:11:35",
488
488
  "nodeType": "VariableDeclaration",
489
- "scope": 33229,
490
- "src": "378:22:36",
489
+ "scope": 33183,
490
+ "src": "381:22:35",
491
491
  "stateVariable": false,
492
492
  "storageLocation": "default",
493
493
  "typeDescriptions": {
494
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
494
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
495
495
  "typeString": "ResourceId"
496
496
  },
497
497
  "typeName": {
498
- "id": 33223,
498
+ "id": 33177,
499
499
  "nodeType": "UserDefinedTypeName",
500
500
  "pathNode": {
501
- "id": 33222,
501
+ "id": 33176,
502
502
  "name": "ResourceId",
503
503
  "nameLocations": [
504
- "378:10:36"
504
+ "381:10:35"
505
505
  ],
506
506
  "nodeType": "IdentifierPath",
507
- "referencedDeclaration": 36365,
508
- "src": "378:10:36"
507
+ "referencedDeclaration": 36384,
508
+ "src": "381:10:35"
509
509
  },
510
- "referencedDeclaration": 36365,
511
- "src": "378:10:36",
510
+ "referencedDeclaration": 36384,
511
+ "src": "381:10:35",
512
512
  "typeDescriptions": {
513
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
513
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
514
514
  "typeString": "ResourceId"
515
515
  }
516
516
  },
@@ -518,13 +518,13 @@
518
518
  },
519
519
  {
520
520
  "constant": false,
521
- "id": 33226,
521
+ "id": 33180,
522
522
  "mutability": "mutable",
523
523
  "name": "newOwner",
524
- "nameLocation": "410:8:36",
524
+ "nameLocation": "413:8:35",
525
525
  "nodeType": "VariableDeclaration",
526
- "scope": 33229,
527
- "src": "402:16:36",
526
+ "scope": 33183,
527
+ "src": "405:16:35",
528
528
  "stateVariable": false,
529
529
  "storageLocation": "default",
530
530
  "typeDescriptions": {
@@ -532,10 +532,10 @@
532
532
  "typeString": "address"
533
533
  },
534
534
  "typeName": {
535
- "id": 33225,
535
+ "id": 33179,
536
536
  "name": "address",
537
537
  "nodeType": "ElementaryTypeName",
538
- "src": "402:7:36",
538
+ "src": "405:7:35",
539
539
  "stateMutability": "nonpayable",
540
540
  "typeDescriptions": {
541
541
  "typeIdentifier": "t_address",
@@ -545,15 +545,15 @@
545
545
  "visibility": "internal"
546
546
  }
547
547
  ],
548
- "src": "377:42:36"
548
+ "src": "380:42:35"
549
549
  },
550
550
  "returnParameters": {
551
- "id": 33228,
551
+ "id": 33182,
552
552
  "nodeType": "ParameterList",
553
553
  "parameters": [],
554
- "src": "428:0:36"
554
+ "src": "431:0:35"
555
555
  },
556
- "scope": 33230,
556
+ "scope": 33184,
557
557
  "stateMutability": "nonpayable",
558
558
  "virtual": false,
559
559
  "visibility": "external"
@@ -566,16 +566,16 @@
566
566
  "contractKind": "interface",
567
567
  "fullyImplemented": false,
568
568
  "linearizedBaseContracts": [
569
- 33230
569
+ 33184
570
570
  ],
571
571
  "name": "IAccessManagementSystem",
572
- "nameLocation": "174:23:36",
573
- "scope": 33231,
572
+ "nameLocation": "177:23:35",
573
+ "scope": 33185,
574
574
  "usedErrors": [],
575
575
  "usedEvents": []
576
576
  }
577
577
  ],
578
578
  "license": "MIT"
579
579
  },
580
- "id": 36
580
+ "id": 35
581
581
  }