@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-c4f49240

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 (104) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/Callbacks.sol/Callbacks.json +45 -45
  3. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  4. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  5. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  6. package/out/Hooks.sol/Hooks.json +45 -45
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  9. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  10. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  13. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  14. package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
  15. package/out/IModule.sol/IModule.json +76 -76
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  17. package/out/ISystemHook.sol/ISystemHook.json +82 -82
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  19. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
  20. package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
  21. package/out/IWorldKernel.sol/IWorldCall.json +149 -149
  22. package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
  23. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  24. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
  25. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  26. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  27. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  28. package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
  29. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  30. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
  31. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
  32. package/out/Mixed.sol/Mixed.json +66 -66
  33. package/out/Module.sol/Module.json +73 -73
  34. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  35. package/out/Schema.sol/SchemaInstance.json +30 -30
  36. package/out/Schema.sol/SchemaLib.json +30 -30
  37. package/out/SchemaType.sol/SchemaType.json +276 -276
  38. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
  39. package/out/StoreHook.sol/StoreHook.json +358 -358
  40. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  41. package/out/System.sol/System.json +18 -18
  42. package/out/Tables.sol/Tables.json +73 -73
  43. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  44. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  45. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  46. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
  47. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  48. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  49. package/out/Vector2.sol/Vector2.json +52 -52
  50. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  51. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  52. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  53. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  54. package/out/constants.sol/constants.json +85 -85
  55. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  56. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  57. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  58. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  59. package/out/hasKey.sol/hasKey.json +130 -130
  60. package/out/index.sol/index.json +53 -53
  61. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  62. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  63. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
  64. package/out/interfaces/IERC165.sol/IERC165.json +27 -27
  65. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
  66. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
  67. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
  68. package/out/query.sol/query.json +1154 -1154
  69. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  70. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  71. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  72. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  73. package/out/src/IStore.sol/IStore.json +886 -886
  74. package/out/src/IStore.sol/IStoreData.json +886 -886
  75. package/out/src/IStore.sol/IStoreRead.json +886 -886
  76. package/out/src/IStore.sol/IStoreRegistration.json +886 -886
  77. package/out/src/IStore.sol/IStoreWrite.json +886 -886
  78. package/out/src/Memory.sol/Memory.json +89 -89
  79. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  80. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  81. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  82. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  83. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  84. package/out/src/Schema.sol/SchemaLib.json +787 -787
  85. package/out/src/Slice.sol/SliceInstance.json +429 -429
  86. package/out/src/Slice.sol/SliceLib.json +429 -429
  87. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  88. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  89. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  90. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  91. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  92. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  93. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  94. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  95. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  96. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  97. package/out/tables/Tables.sol/Tables.json +7288 -7288
  98. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  99. package/out/types.sol/types.json +131 -23
  100. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  101. package/package.json +8 -8
  102. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  103. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  104. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -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-c07fa021",
3
+ "version": "2.0.0-main-c4f49240",
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-c07fa021",
19
- "@latticexyz/config": "2.0.0-main-c07fa021",
20
- "@latticexyz/schema-type": "2.0.0-main-c07fa021",
21
- "@latticexyz/store": "2.0.0-main-c07fa021",
22
- "@latticexyz/world": "2.0.0-main-c07fa021"
18
+ "@latticexyz/common": "2.0.0-main-c4f49240",
19
+ "@latticexyz/config": "2.0.0-main-c4f49240",
20
+ "@latticexyz/schema-type": "2.0.0-main-c4f49240",
21
+ "@latticexyz/store": "2.0.0-main-c4f49240",
22
+ "@latticexyz/world": "2.0.0-main-c4f49240"
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-c07fa021",
38
- "@latticexyz/gas-report": "2.0.0-main-c07fa021"
37
+ "@latticexyz/abi-ts": "2.0.0-main-c4f49240",
38
+ "@latticexyz/gas-report": "2.0.0-main-c4f49240"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"