@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
@@ -10,20 +10,23 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol",
13
- "id": 33709,
13
+ "id": 33728,
14
14
  "exportedSymbols": {
15
15
  "ResourceId": [
16
- 36365
16
+ 36384
17
17
  ],
18
18
  "SystemCallData": [
19
- 33708
19
+ 33719
20
+ ],
21
+ "SystemCallFromData": [
22
+ 33727
20
23
  ]
21
24
  },
22
25
  "nodeType": "SourceUnit",
23
- "src": "32:162:49",
26
+ "src": "32:250:49",
24
27
  "nodes": [
25
28
  {
26
- "id": 33700,
29
+ "id": 33711,
27
30
  "nodeType": "PragmaDirective",
28
31
  "src": "32:25:49",
29
32
  "nodes": [],
@@ -35,23 +38,23 @@
35
38
  ]
36
39
  },
37
40
  {
38
- "id": 33702,
41
+ "id": 33713,
39
42
  "nodeType": "ImportDirective",
40
43
  "src": "59:66:49",
41
44
  "nodes": [],
42
45
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
43
46
  "file": "@latticexyz/store/src/ResourceId.sol",
44
47
  "nameLocation": "-1:-1:-1",
45
- "scope": 33709,
46
- "sourceUnit": 36430,
48
+ "scope": 33728,
49
+ "sourceUnit": 36449,
47
50
  "symbolAliases": [
48
51
  {
49
52
  "foreign": {
50
- "id": 33701,
53
+ "id": 33712,
51
54
  "name": "ResourceId",
52
55
  "nodeType": "Identifier",
53
56
  "overloadedDeclarations": [],
54
- "referencedDeclaration": 36365,
57
+ "referencedDeclaration": 36384,
55
58
  "src": "68:10:49",
56
59
  "typeDescriptions": {}
57
60
  },
@@ -61,7 +64,7 @@
61
64
  "unitAlias": ""
62
65
  },
63
66
  {
64
- "id": 33708,
67
+ "id": 33719,
65
68
  "nodeType": "StructDefinition",
66
69
  "src": "127:66:49",
67
70
  "nodes": [],
@@ -69,36 +72,36 @@
69
72
  "members": [
70
73
  {
71
74
  "constant": false,
72
- "id": 33705,
75
+ "id": 33716,
73
76
  "mutability": "mutable",
74
77
  "name": "systemId",
75
78
  "nameLocation": "164:8:49",
76
79
  "nodeType": "VariableDeclaration",
77
- "scope": 33708,
80
+ "scope": 33719,
78
81
  "src": "153:19:49",
79
82
  "stateVariable": false,
80
83
  "storageLocation": "default",
81
84
  "typeDescriptions": {
82
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
85
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
83
86
  "typeString": "ResourceId"
84
87
  },
85
88
  "typeName": {
86
- "id": 33704,
89
+ "id": 33715,
87
90
  "nodeType": "UserDefinedTypeName",
88
91
  "pathNode": {
89
- "id": 33703,
92
+ "id": 33714,
90
93
  "name": "ResourceId",
91
94
  "nameLocations": [
92
95
  "153:10:49"
93
96
  ],
94
97
  "nodeType": "IdentifierPath",
95
- "referencedDeclaration": 36365,
98
+ "referencedDeclaration": 36384,
96
99
  "src": "153:10:49"
97
100
  },
98
- "referencedDeclaration": 36365,
101
+ "referencedDeclaration": 36384,
99
102
  "src": "153:10:49",
100
103
  "typeDescriptions": {
101
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
104
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
102
105
  "typeString": "ResourceId"
103
106
  }
104
107
  },
@@ -106,12 +109,12 @@
106
109
  },
107
110
  {
108
111
  "constant": false,
109
- "id": 33707,
112
+ "id": 33718,
110
113
  "mutability": "mutable",
111
114
  "name": "callData",
112
115
  "nameLocation": "182:8:49",
113
116
  "nodeType": "VariableDeclaration",
114
- "scope": 33708,
117
+ "scope": 33719,
115
118
  "src": "176:14:49",
116
119
  "stateVariable": false,
117
120
  "storageLocation": "default",
@@ -120,7 +123,7 @@
120
123
  "typeString": "bytes"
121
124
  },
122
125
  "typeName": {
123
- "id": 33706,
126
+ "id": 33717,
124
127
  "name": "bytes",
125
128
  "nodeType": "ElementaryTypeName",
126
129
  "src": "176:5:49",
@@ -134,7 +137,112 @@
134
137
  ],
135
138
  "name": "SystemCallData",
136
139
  "nameLocation": "134:14:49",
137
- "scope": 33709,
140
+ "scope": 33728,
141
+ "visibility": "public"
142
+ },
143
+ {
144
+ "id": 33727,
145
+ "nodeType": "StructDefinition",
146
+ "src": "195:86:49",
147
+ "nodes": [],
148
+ "canonicalName": "SystemCallFromData",
149
+ "members": [
150
+ {
151
+ "constant": false,
152
+ "id": 33721,
153
+ "mutability": "mutable",
154
+ "name": "from",
155
+ "nameLocation": "233:4:49",
156
+ "nodeType": "VariableDeclaration",
157
+ "scope": 33727,
158
+ "src": "225:12:49",
159
+ "stateVariable": false,
160
+ "storageLocation": "default",
161
+ "typeDescriptions": {
162
+ "typeIdentifier": "t_address",
163
+ "typeString": "address"
164
+ },
165
+ "typeName": {
166
+ "id": 33720,
167
+ "name": "address",
168
+ "nodeType": "ElementaryTypeName",
169
+ "src": "225:7:49",
170
+ "stateMutability": "nonpayable",
171
+ "typeDescriptions": {
172
+ "typeIdentifier": "t_address",
173
+ "typeString": "address"
174
+ }
175
+ },
176
+ "visibility": "internal"
177
+ },
178
+ {
179
+ "constant": false,
180
+ "id": 33724,
181
+ "mutability": "mutable",
182
+ "name": "systemId",
183
+ "nameLocation": "252:8:49",
184
+ "nodeType": "VariableDeclaration",
185
+ "scope": 33727,
186
+ "src": "241:19:49",
187
+ "stateVariable": false,
188
+ "storageLocation": "default",
189
+ "typeDescriptions": {
190
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
191
+ "typeString": "ResourceId"
192
+ },
193
+ "typeName": {
194
+ "id": 33723,
195
+ "nodeType": "UserDefinedTypeName",
196
+ "pathNode": {
197
+ "id": 33722,
198
+ "name": "ResourceId",
199
+ "nameLocations": [
200
+ "241:10:49"
201
+ ],
202
+ "nodeType": "IdentifierPath",
203
+ "referencedDeclaration": 36384,
204
+ "src": "241:10:49"
205
+ },
206
+ "referencedDeclaration": 36384,
207
+ "src": "241:10:49",
208
+ "typeDescriptions": {
209
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
210
+ "typeString": "ResourceId"
211
+ }
212
+ },
213
+ "visibility": "internal"
214
+ },
215
+ {
216
+ "constant": false,
217
+ "id": 33726,
218
+ "mutability": "mutable",
219
+ "name": "callData",
220
+ "nameLocation": "270:8:49",
221
+ "nodeType": "VariableDeclaration",
222
+ "scope": 33727,
223
+ "src": "264:14:49",
224
+ "stateVariable": false,
225
+ "storageLocation": "default",
226
+ "typeDescriptions": {
227
+ "typeIdentifier": "t_bytes_storage_ptr",
228
+ "typeString": "bytes"
229
+ },
230
+ "typeName": {
231
+ "id": 33725,
232
+ "name": "bytes",
233
+ "nodeType": "ElementaryTypeName",
234
+ "src": "264:5:49",
235
+ "typeDescriptions": {
236
+ "typeIdentifier": "t_bytes_storage_ptr",
237
+ "typeString": "bytes"
238
+ }
239
+ },
240
+ "visibility": "internal"
241
+ }
242
+ ],
243
+ "name": "SystemCallFromData",
244
+ "nameLocation": "202:18:49",
245
+ "scope": 33728,
138
246
  "visibility": "public"
139
247
  }
140
248
  ],
@@ -10,38 +10,38 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol",
13
- "id": 33751,
13
+ "id": 33770,
14
14
  "exportedSymbols": {
15
15
  "MASK_RESOURCE_MODULE": [
16
- 33744
16
+ 33763
17
17
  ],
18
18
  "MASK_RESOURCE_NAMESPACE": [
19
- 33738
19
+ 33757
20
20
  ],
21
21
  "MASK_RESOURCE_SYSTEM": [
22
- 33750
22
+ 33769
23
23
  ],
24
24
  "RESOURCE_MODULE": [
25
- 33729
25
+ 33748
26
26
  ],
27
27
  "RESOURCE_NAMESPACE": [
28
- 33726
28
+ 33745
29
29
  ],
30
30
  "RESOURCE_OFFCHAIN_TABLE": [
31
- 46365
31
+ 46384
32
32
  ],
33
33
  "RESOURCE_SYSTEM": [
34
- 33732
34
+ 33751
35
35
  ],
36
36
  "RESOURCE_TABLE": [
37
- 46362
37
+ 46381
38
38
  ]
39
39
  },
40
40
  "nodeType": "SourceUnit",
41
41
  "src": "32:460:51",
42
42
  "nodes": [
43
43
  {
44
- "id": 33720,
44
+ "id": 33739,
45
45
  "nodeType": "PragmaDirective",
46
46
  "src": "32:25:51",
47
47
  "nodes": [],
@@ -53,23 +53,23 @@
53
53
  ]
54
54
  },
55
55
  {
56
- "id": 33723,
56
+ "id": 33742,
57
57
  "nodeType": "ImportDirective",
58
58
  "src": "59:103:51",
59
59
  "nodes": [],
60
60
  "absolutePath": "node_modules/@latticexyz/store/src/storeResourceTypes.sol",
61
61
  "file": "@latticexyz/store/src/storeResourceTypes.sol",
62
62
  "nameLocation": "-1:-1:-1",
63
- "scope": 33751,
64
- "sourceUnit": 46366,
63
+ "scope": 33770,
64
+ "sourceUnit": 46385,
65
65
  "symbolAliases": [
66
66
  {
67
67
  "foreign": {
68
- "id": 33721,
68
+ "id": 33740,
69
69
  "name": "RESOURCE_TABLE",
70
70
  "nodeType": "Identifier",
71
71
  "overloadedDeclarations": [],
72
- "referencedDeclaration": 46362,
72
+ "referencedDeclaration": 46381,
73
73
  "src": "68:14:51",
74
74
  "typeDescriptions": {}
75
75
  },
@@ -77,11 +77,11 @@
77
77
  },
78
78
  {
79
79
  "foreign": {
80
- "id": 33722,
80
+ "id": 33741,
81
81
  "name": "RESOURCE_OFFCHAIN_TABLE",
82
82
  "nodeType": "Identifier",
83
83
  "overloadedDeclarations": [],
84
- "referencedDeclaration": 46365,
84
+ "referencedDeclaration": 46384,
85
85
  "src": "84:23:51",
86
86
  "typeDescriptions": {}
87
87
  },
@@ -91,7 +91,7 @@
91
91
  "unitAlias": ""
92
92
  },
93
93
  {
94
- "id": 33726,
94
+ "id": 33745,
95
95
  "nodeType": "VariableDeclaration",
96
96
  "src": "164:41:51",
97
97
  "nodes": [],
@@ -99,7 +99,7 @@
99
99
  "mutability": "constant",
100
100
  "name": "RESOURCE_NAMESPACE",
101
101
  "nameLocation": "180:18:51",
102
- "scope": 33751,
102
+ "scope": 33770,
103
103
  "stateVariable": false,
104
104
  "storageLocation": "default",
105
105
  "typeDescriptions": {
@@ -107,7 +107,7 @@
107
107
  "typeString": "bytes2"
108
108
  },
109
109
  "typeName": {
110
- "id": 33724,
110
+ "id": 33743,
111
111
  "name": "bytes2",
112
112
  "nodeType": "ElementaryTypeName",
113
113
  "src": "164:6:51",
@@ -118,7 +118,7 @@
118
118
  },
119
119
  "value": {
120
120
  "hexValue": "6e73",
121
- "id": 33725,
121
+ "id": 33744,
122
122
  "isConstant": false,
123
123
  "isLValue": false,
124
124
  "isPure": true,
@@ -135,7 +135,7 @@
135
135
  "visibility": "internal"
136
136
  },
137
137
  {
138
- "id": 33729,
138
+ "id": 33748,
139
139
  "nodeType": "VariableDeclaration",
140
140
  "src": "207:38:51",
141
141
  "nodes": [],
@@ -143,7 +143,7 @@
143
143
  "mutability": "constant",
144
144
  "name": "RESOURCE_MODULE",
145
145
  "nameLocation": "223:15:51",
146
- "scope": 33751,
146
+ "scope": 33770,
147
147
  "stateVariable": false,
148
148
  "storageLocation": "default",
149
149
  "typeDescriptions": {
@@ -151,7 +151,7 @@
151
151
  "typeString": "bytes2"
152
152
  },
153
153
  "typeName": {
154
- "id": 33727,
154
+ "id": 33746,
155
155
  "name": "bytes2",
156
156
  "nodeType": "ElementaryTypeName",
157
157
  "src": "207:6:51",
@@ -162,7 +162,7 @@
162
162
  },
163
163
  "value": {
164
164
  "hexValue": "6d64",
165
- "id": 33728,
165
+ "id": 33747,
166
166
  "isConstant": false,
167
167
  "isLValue": false,
168
168
  "isPure": true,
@@ -179,7 +179,7 @@
179
179
  "visibility": "internal"
180
180
  },
181
181
  {
182
- "id": 33732,
182
+ "id": 33751,
183
183
  "nodeType": "VariableDeclaration",
184
184
  "src": "247:38:51",
185
185
  "nodes": [],
@@ -187,7 +187,7 @@
187
187
  "mutability": "constant",
188
188
  "name": "RESOURCE_SYSTEM",
189
189
  "nameLocation": "263:15:51",
190
- "scope": 33751,
190
+ "scope": 33770,
191
191
  "stateVariable": false,
192
192
  "storageLocation": "default",
193
193
  "typeDescriptions": {
@@ -195,7 +195,7 @@
195
195
  "typeString": "bytes2"
196
196
  },
197
197
  "typeName": {
198
- "id": 33730,
198
+ "id": 33749,
199
199
  "name": "bytes2",
200
200
  "nodeType": "ElementaryTypeName",
201
201
  "src": "247:6:51",
@@ -206,7 +206,7 @@
206
206
  },
207
207
  "value": {
208
208
  "hexValue": "7379",
209
- "id": 33731,
209
+ "id": 33750,
210
210
  "isConstant": false,
211
211
  "isLValue": false,
212
212
  "isPure": true,
@@ -223,7 +223,7 @@
223
223
  "visibility": "internal"
224
224
  },
225
225
  {
226
- "id": 33738,
226
+ "id": 33757,
227
227
  "nodeType": "VariableDeclaration",
228
228
  "src": "288:70:51",
229
229
  "nodes": [],
@@ -231,7 +231,7 @@
231
231
  "mutability": "constant",
232
232
  "name": "MASK_RESOURCE_NAMESPACE",
233
233
  "nameLocation": "305:23:51",
234
- "scope": 33751,
234
+ "scope": 33770,
235
235
  "stateVariable": false,
236
236
  "storageLocation": "default",
237
237
  "typeDescriptions": {
@@ -239,7 +239,7 @@
239
239
  "typeString": "bytes32"
240
240
  },
241
241
  "typeName": {
242
- "id": 33733,
242
+ "id": 33752,
243
243
  "name": "bytes32",
244
244
  "nodeType": "ElementaryTypeName",
245
245
  "src": "288:7:51",
@@ -251,11 +251,11 @@
251
251
  "value": {
252
252
  "arguments": [
253
253
  {
254
- "id": 33736,
254
+ "id": 33755,
255
255
  "name": "RESOURCE_NAMESPACE",
256
256
  "nodeType": "Identifier",
257
257
  "overloadedDeclarations": [],
258
- "referencedDeclaration": 33726,
258
+ "referencedDeclaration": 33745,
259
259
  "src": "339:18:51",
260
260
  "typeDescriptions": {
261
261
  "typeIdentifier": "t_bytes2",
@@ -270,7 +270,7 @@
270
270
  "typeString": "bytes2"
271
271
  }
272
272
  ],
273
- "id": 33735,
273
+ "id": 33754,
274
274
  "isConstant": false,
275
275
  "isLValue": false,
276
276
  "isPure": true,
@@ -282,14 +282,14 @@
282
282
  "typeString": "type(bytes32)"
283
283
  },
284
284
  "typeName": {
285
- "id": 33734,
285
+ "id": 33753,
286
286
  "name": "bytes32",
287
287
  "nodeType": "ElementaryTypeName",
288
288
  "src": "331:7:51",
289
289
  "typeDescriptions": {}
290
290
  }
291
291
  },
292
- "id": 33737,
292
+ "id": 33756,
293
293
  "isConstant": false,
294
294
  "isLValue": false,
295
295
  "isPure": true,
@@ -308,7 +308,7 @@
308
308
  "visibility": "internal"
309
309
  },
310
310
  {
311
- "id": 33744,
311
+ "id": 33763,
312
312
  "nodeType": "VariableDeclaration",
313
313
  "src": "360:64:51",
314
314
  "nodes": [],
@@ -316,7 +316,7 @@
316
316
  "mutability": "constant",
317
317
  "name": "MASK_RESOURCE_MODULE",
318
318
  "nameLocation": "377:20:51",
319
- "scope": 33751,
319
+ "scope": 33770,
320
320
  "stateVariable": false,
321
321
  "storageLocation": "default",
322
322
  "typeDescriptions": {
@@ -324,7 +324,7 @@
324
324
  "typeString": "bytes32"
325
325
  },
326
326
  "typeName": {
327
- "id": 33739,
327
+ "id": 33758,
328
328
  "name": "bytes32",
329
329
  "nodeType": "ElementaryTypeName",
330
330
  "src": "360:7:51",
@@ -336,11 +336,11 @@
336
336
  "value": {
337
337
  "arguments": [
338
338
  {
339
- "id": 33742,
339
+ "id": 33761,
340
340
  "name": "RESOURCE_MODULE",
341
341
  "nodeType": "Identifier",
342
342
  "overloadedDeclarations": [],
343
- "referencedDeclaration": 33729,
343
+ "referencedDeclaration": 33748,
344
344
  "src": "408:15:51",
345
345
  "typeDescriptions": {
346
346
  "typeIdentifier": "t_bytes2",
@@ -355,7 +355,7 @@
355
355
  "typeString": "bytes2"
356
356
  }
357
357
  ],
358
- "id": 33741,
358
+ "id": 33760,
359
359
  "isConstant": false,
360
360
  "isLValue": false,
361
361
  "isPure": true,
@@ -367,14 +367,14 @@
367
367
  "typeString": "type(bytes32)"
368
368
  },
369
369
  "typeName": {
370
- "id": 33740,
370
+ "id": 33759,
371
371
  "name": "bytes32",
372
372
  "nodeType": "ElementaryTypeName",
373
373
  "src": "400:7:51",
374
374
  "typeDescriptions": {}
375
375
  }
376
376
  },
377
- "id": 33743,
377
+ "id": 33762,
378
378
  "isConstant": false,
379
379
  "isLValue": false,
380
380
  "isPure": true,
@@ -393,7 +393,7 @@
393
393
  "visibility": "internal"
394
394
  },
395
395
  {
396
- "id": 33750,
396
+ "id": 33769,
397
397
  "nodeType": "VariableDeclaration",
398
398
  "src": "426:64:51",
399
399
  "nodes": [],
@@ -401,7 +401,7 @@
401
401
  "mutability": "constant",
402
402
  "name": "MASK_RESOURCE_SYSTEM",
403
403
  "nameLocation": "443:20:51",
404
- "scope": 33751,
404
+ "scope": 33770,
405
405
  "stateVariable": false,
406
406
  "storageLocation": "default",
407
407
  "typeDescriptions": {
@@ -409,7 +409,7 @@
409
409
  "typeString": "bytes32"
410
410
  },
411
411
  "typeName": {
412
- "id": 33745,
412
+ "id": 33764,
413
413
  "name": "bytes32",
414
414
  "nodeType": "ElementaryTypeName",
415
415
  "src": "426:7:51",
@@ -421,11 +421,11 @@
421
421
  "value": {
422
422
  "arguments": [
423
423
  {
424
- "id": 33748,
424
+ "id": 33767,
425
425
  "name": "RESOURCE_SYSTEM",
426
426
  "nodeType": "Identifier",
427
427
  "overloadedDeclarations": [],
428
- "referencedDeclaration": 33732,
428
+ "referencedDeclaration": 33751,
429
429
  "src": "474:15:51",
430
430
  "typeDescriptions": {
431
431
  "typeIdentifier": "t_bytes2",
@@ -440,7 +440,7 @@
440
440
  "typeString": "bytes2"
441
441
  }
442
442
  ],
443
- "id": 33747,
443
+ "id": 33766,
444
444
  "isConstant": false,
445
445
  "isLValue": false,
446
446
  "isPure": true,
@@ -452,14 +452,14 @@
452
452
  "typeString": "type(bytes32)"
453
453
  },
454
454
  "typeName": {
455
- "id": 33746,
455
+ "id": 33765,
456
456
  "name": "bytes32",
457
457
  "nodeType": "ElementaryTypeName",
458
458
  "src": "466:7:51",
459
459
  "typeDescriptions": {}
460
460
  }
461
461
  },
462
- "id": 33749,
462
+ "id": 33768,
463
463
  "isConstant": false,
464
464
  "isLValue": false,
465
465
  "isPure": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/world-modules",
3
- "version": "2.0.0-main-251170e1",
3
+ "version": "2.0.0-main-5741d53d",
4
4
  "description": "World modules",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,11 +15,11 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "zod": "^3.21.4",
18
- "@latticexyz/common": "2.0.0-main-251170e1",
19
- "@latticexyz/config": "2.0.0-main-251170e1",
20
- "@latticexyz/schema-type": "2.0.0-main-251170e1",
21
- "@latticexyz/store": "2.0.0-main-251170e1",
22
- "@latticexyz/world": "2.0.0-main-251170e1"
18
+ "@latticexyz/common": "2.0.0-main-5741d53d",
19
+ "@latticexyz/config": "2.0.0-main-5741d53d",
20
+ "@latticexyz/schema-type": "2.0.0-main-5741d53d",
21
+ "@latticexyz/store": "2.0.0-main-5741d53d",
22
+ "@latticexyz/world": "2.0.0-main-5741d53d"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/ejs": "^3.1.1",
@@ -34,8 +34,8 @@
34
34
  "tsup": "^6.7.0",
35
35
  "tsx": "^3.12.6",
36
36
  "vitest": "0.31.4",
37
- "@latticexyz/abi-ts": "2.0.0-main-251170e1",
38
- "@latticexyz/gas-report": "2.0.0-main-251170e1"
37
+ "@latticexyz/abi-ts": "2.0.0-main-5741d53d",
38
+ "@latticexyz/gas-report": "2.0.0-main-5741d53d"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
@@ -6,12 +6,10 @@ pragma solidity >=0.8.21;
6
6
  import { IStore } from "@latticexyz/store/src/IStore.sol";
7
7
  import { IWorldKernel } from "@latticexyz/world/src/interfaces/IWorldKernel.sol";
8
8
 
9
- import { IUniqueEntitySystem } from "./IUniqueEntitySystem.sol";
10
-
11
9
  /**
12
10
  * The IBaseWorld interface includes all systems dynamically added to the World
13
11
  * during the deploy process.
14
12
  */
15
- interface IBaseWorld is IStore, IWorldKernel, IUniqueEntitySystem {
13
+ interface IBaseWorld is IStore, IWorldKernel {
16
14
 
17
15
  }