@latticexyz/world-modules 2.0.0-main-fd10cff6 → 2.0.0-main-85218618
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.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +241 -217
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +122 -98
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +130 -85
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +50 -26
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +20 -20
- package/out/ISystemHook.sol/ISystemHook.json +171 -131
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +157 -109
- package/out/IWorldErrors.sol/IWorldErrors.json +345 -255
- package/out/IWorldKernel.sol/IWorldCall.json +294 -254
- package/out/IWorldKernel.sol/IWorldKernel.json +321 -258
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +279 -253
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +570 -546
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1008 -1008
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +459 -435
- package/out/Module.sol/Module.json +106 -82
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +336 -312
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +81 -38
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +145 -121
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +363 -339
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +135 -99
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +771 -674
- package/out/WorldContext.sol/WorldContextProvider.json +734 -674
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +199 -154
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +307 -267
- package/out/src/IWorldKernel.sol/IWorldKernel.json +334 -271
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +292 -266
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +777 -680
- package/out/src/WorldContext.sol/WorldContextProvider.json +740 -680
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +39 -39
- package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
- package/package.json +8 -8
package/out/types.sol/types.json
CHANGED
@@ -10,23 +10,23 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol",
|
13
|
-
"id":
|
13
|
+
"id": 24027,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"ResourceId": [
|
16
|
-
|
16
|
+
26238
|
17
17
|
],
|
18
18
|
"SystemCallData": [
|
19
|
-
|
19
|
+
24018
|
20
20
|
],
|
21
21
|
"SystemCallFromData": [
|
22
|
-
|
22
|
+
24026
|
23
23
|
]
|
24
24
|
},
|
25
25
|
"nodeType": "SourceUnit",
|
26
26
|
"src": "32:250:49",
|
27
27
|
"nodes": [
|
28
28
|
{
|
29
|
-
"id":
|
29
|
+
"id": 24010,
|
30
30
|
"nodeType": "PragmaDirective",
|
31
31
|
"src": "32:25:49",
|
32
32
|
"nodes": [],
|
@@ -38,23 +38,23 @@
|
|
38
38
|
]
|
39
39
|
},
|
40
40
|
{
|
41
|
-
"id":
|
41
|
+
"id": 24012,
|
42
42
|
"nodeType": "ImportDirective",
|
43
43
|
"src": "59:66:49",
|
44
44
|
"nodes": [],
|
45
45
|
"absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
|
46
46
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
47
47
|
"nameLocation": "-1:-1:-1",
|
48
|
-
"scope":
|
49
|
-
"sourceUnit":
|
48
|
+
"scope": 24027,
|
49
|
+
"sourceUnit": 26303,
|
50
50
|
"symbolAliases": [
|
51
51
|
{
|
52
52
|
"foreign": {
|
53
|
-
"id":
|
53
|
+
"id": 24011,
|
54
54
|
"name": "ResourceId",
|
55
55
|
"nodeType": "Identifier",
|
56
56
|
"overloadedDeclarations": [],
|
57
|
-
"referencedDeclaration":
|
57
|
+
"referencedDeclaration": 26238,
|
58
58
|
"src": "68:10:49",
|
59
59
|
"typeDescriptions": {}
|
60
60
|
},
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"unitAlias": ""
|
65
65
|
},
|
66
66
|
{
|
67
|
-
"id":
|
67
|
+
"id": 24018,
|
68
68
|
"nodeType": "StructDefinition",
|
69
69
|
"src": "127:66:49",
|
70
70
|
"nodes": [],
|
@@ -72,36 +72,36 @@
|
|
72
72
|
"members": [
|
73
73
|
{
|
74
74
|
"constant": false,
|
75
|
-
"id":
|
75
|
+
"id": 24015,
|
76
76
|
"mutability": "mutable",
|
77
77
|
"name": "systemId",
|
78
78
|
"nameLocation": "164:8:49",
|
79
79
|
"nodeType": "VariableDeclaration",
|
80
|
-
"scope":
|
80
|
+
"scope": 24018,
|
81
81
|
"src": "153:19:49",
|
82
82
|
"stateVariable": false,
|
83
83
|
"storageLocation": "default",
|
84
84
|
"typeDescriptions": {
|
85
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
85
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
86
86
|
"typeString": "ResourceId"
|
87
87
|
},
|
88
88
|
"typeName": {
|
89
|
-
"id":
|
89
|
+
"id": 24014,
|
90
90
|
"nodeType": "UserDefinedTypeName",
|
91
91
|
"pathNode": {
|
92
|
-
"id":
|
92
|
+
"id": 24013,
|
93
93
|
"name": "ResourceId",
|
94
94
|
"nameLocations": [
|
95
95
|
"153:10:49"
|
96
96
|
],
|
97
97
|
"nodeType": "IdentifierPath",
|
98
|
-
"referencedDeclaration":
|
98
|
+
"referencedDeclaration": 26238,
|
99
99
|
"src": "153:10:49"
|
100
100
|
},
|
101
|
-
"referencedDeclaration":
|
101
|
+
"referencedDeclaration": 26238,
|
102
102
|
"src": "153:10:49",
|
103
103
|
"typeDescriptions": {
|
104
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
104
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
105
105
|
"typeString": "ResourceId"
|
106
106
|
}
|
107
107
|
},
|
@@ -109,12 +109,12 @@
|
|
109
109
|
},
|
110
110
|
{
|
111
111
|
"constant": false,
|
112
|
-
"id":
|
112
|
+
"id": 24017,
|
113
113
|
"mutability": "mutable",
|
114
114
|
"name": "callData",
|
115
115
|
"nameLocation": "182:8:49",
|
116
116
|
"nodeType": "VariableDeclaration",
|
117
|
-
"scope":
|
117
|
+
"scope": 24018,
|
118
118
|
"src": "176:14:49",
|
119
119
|
"stateVariable": false,
|
120
120
|
"storageLocation": "default",
|
@@ -123,7 +123,7 @@
|
|
123
123
|
"typeString": "bytes"
|
124
124
|
},
|
125
125
|
"typeName": {
|
126
|
-
"id":
|
126
|
+
"id": 24016,
|
127
127
|
"name": "bytes",
|
128
128
|
"nodeType": "ElementaryTypeName",
|
129
129
|
"src": "176:5:49",
|
@@ -137,11 +137,11 @@
|
|
137
137
|
],
|
138
138
|
"name": "SystemCallData",
|
139
139
|
"nameLocation": "134:14:49",
|
140
|
-
"scope":
|
140
|
+
"scope": 24027,
|
141
141
|
"visibility": "public"
|
142
142
|
},
|
143
143
|
{
|
144
|
-
"id":
|
144
|
+
"id": 24026,
|
145
145
|
"nodeType": "StructDefinition",
|
146
146
|
"src": "195:86:49",
|
147
147
|
"nodes": [],
|
@@ -149,12 +149,12 @@
|
|
149
149
|
"members": [
|
150
150
|
{
|
151
151
|
"constant": false,
|
152
|
-
"id":
|
152
|
+
"id": 24020,
|
153
153
|
"mutability": "mutable",
|
154
154
|
"name": "from",
|
155
155
|
"nameLocation": "233:4:49",
|
156
156
|
"nodeType": "VariableDeclaration",
|
157
|
-
"scope":
|
157
|
+
"scope": 24026,
|
158
158
|
"src": "225:12:49",
|
159
159
|
"stateVariable": false,
|
160
160
|
"storageLocation": "default",
|
@@ -163,7 +163,7 @@
|
|
163
163
|
"typeString": "address"
|
164
164
|
},
|
165
165
|
"typeName": {
|
166
|
-
"id":
|
166
|
+
"id": 24019,
|
167
167
|
"name": "address",
|
168
168
|
"nodeType": "ElementaryTypeName",
|
169
169
|
"src": "225:7:49",
|
@@ -177,36 +177,36 @@
|
|
177
177
|
},
|
178
178
|
{
|
179
179
|
"constant": false,
|
180
|
-
"id":
|
180
|
+
"id": 24023,
|
181
181
|
"mutability": "mutable",
|
182
182
|
"name": "systemId",
|
183
183
|
"nameLocation": "252:8:49",
|
184
184
|
"nodeType": "VariableDeclaration",
|
185
|
-
"scope":
|
185
|
+
"scope": 24026,
|
186
186
|
"src": "241:19:49",
|
187
187
|
"stateVariable": false,
|
188
188
|
"storageLocation": "default",
|
189
189
|
"typeDescriptions": {
|
190
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
190
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
191
191
|
"typeString": "ResourceId"
|
192
192
|
},
|
193
193
|
"typeName": {
|
194
|
-
"id":
|
194
|
+
"id": 24022,
|
195
195
|
"nodeType": "UserDefinedTypeName",
|
196
196
|
"pathNode": {
|
197
|
-
"id":
|
197
|
+
"id": 24021,
|
198
198
|
"name": "ResourceId",
|
199
199
|
"nameLocations": [
|
200
200
|
"241:10:49"
|
201
201
|
],
|
202
202
|
"nodeType": "IdentifierPath",
|
203
|
-
"referencedDeclaration":
|
203
|
+
"referencedDeclaration": 26238,
|
204
204
|
"src": "241:10:49"
|
205
205
|
},
|
206
|
-
"referencedDeclaration":
|
206
|
+
"referencedDeclaration": 26238,
|
207
207
|
"src": "241:10:49",
|
208
208
|
"typeDescriptions": {
|
209
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
209
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
210
210
|
"typeString": "ResourceId"
|
211
211
|
}
|
212
212
|
},
|
@@ -214,12 +214,12 @@
|
|
214
214
|
},
|
215
215
|
{
|
216
216
|
"constant": false,
|
217
|
-
"id":
|
217
|
+
"id": 24025,
|
218
218
|
"mutability": "mutable",
|
219
219
|
"name": "callData",
|
220
220
|
"nameLocation": "270:8:49",
|
221
221
|
"nodeType": "VariableDeclaration",
|
222
|
-
"scope":
|
222
|
+
"scope": 24026,
|
223
223
|
"src": "264:14:49",
|
224
224
|
"stateVariable": false,
|
225
225
|
"storageLocation": "default",
|
@@ -228,7 +228,7 @@
|
|
228
228
|
"typeString": "bytes"
|
229
229
|
},
|
230
230
|
"typeName": {
|
231
|
-
"id":
|
231
|
+
"id": 24024,
|
232
232
|
"name": "bytes",
|
233
233
|
"nodeType": "ElementaryTypeName",
|
234
234
|
"src": "264:5:49",
|
@@ -242,7 +242,7 @@
|
|
242
242
|
],
|
243
243
|
"name": "SystemCallFromData",
|
244
244
|
"nameLocation": "202:18:49",
|
245
|
-
"scope":
|
245
|
+
"scope": 24027,
|
246
246
|
"visibility": "public"
|
247
247
|
}
|
248
248
|
],
|