@latticexyz/world-modules 2.0.0-main-08d7c471 → 2.0.0-main-9ff4f451
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/AccessControl.sol/AccessControl.json +200 -200
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/Balances.sol/Balances.json +1713 -1713
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +207 -207
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +89 -89
- package/out/FunctionSelectors.sol/FunctionSelectors.json +2335 -2335
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +68 -68
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
- package/out/ISystemHook.sol/ISystemHook.json +16 -16
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +14 -14
- package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +861 -861
- package/out/KeysInTableModule.sol/KeysInTableModule.json +527 -527
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +989 -989
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +416 -416
- package/out/Module.sol/Module.json +75 -75
- package/out/NamespaceOwner.sol/NamespaceOwner.json +464 -464
- package/out/ResourceAccess.sol/ResourceAccess.json +471 -471
- 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 +293 -293
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +19 -19
- package/out/SystemHooks.sol/SystemHooks.json +4091 -4091
- package/out/SystemSwitch.sol/SystemSwitch.json +356 -356
- package/out/Systems.sol/Systems.json +2459 -2459
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +111 -111
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +317 -317
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +85 -85
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2723 -2723
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +101 -101
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +101 -101
- package/out/constants.sol/constants.json +403 -120
- 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 +105 -105
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +128 -128
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1338 -1338
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
- package/out/src/Hook.sol/HookInstance.json +331 -331
- package/out/src/Hook.sol/HookLib.json +331 -331
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/ISystemHook.sol/ISystemHook.json +90 -90
- package/out/src/IWorldErrors.sol/IWorldErrors.json +151 -151
- package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
- package/out/src/Memory.sol/Memory.json +91 -91
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
- package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
- package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
- package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
- package/out/src/Schema.sol/SchemaInstance.json +790 -790
- package/out/src/Schema.sol/SchemaLib.json +790 -790
- package/out/src/Slice.sol/SliceInstance.json +430 -430
- package/out/src/Slice.sol/SliceLib.json +430 -430
- 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 +2483 -2483
- package/out/src/WorldContext.sol/WorldContextConsumer.json +418 -418
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +418 -418
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +418 -418
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/systemHookTypes.sol/systemHookTypes.json +25 -25
- package/out/tables/ResourceIds.sol/ResourceIds.json +1747 -1747
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +41 -41
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -10,33 +10,33 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "src/modules/uniqueentity/getUniqueEntity.sol",
|
13
|
-
"id":
|
13
|
+
"id": 66191,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"IBaseWorld": [
|
16
|
-
|
16
|
+
42546
|
17
17
|
],
|
18
18
|
"IUniqueEntitySystem": [
|
19
|
-
|
19
|
+
49099
|
20
20
|
],
|
21
21
|
"SYSTEM_ID": [
|
22
|
-
|
22
|
+
66135
|
23
23
|
],
|
24
24
|
"SystemSwitch": [
|
25
|
-
|
25
|
+
67373
|
26
26
|
],
|
27
27
|
"UniqueEntitySystem": [
|
28
|
-
|
28
|
+
66073
|
29
29
|
],
|
30
30
|
"getUniqueEntity": [
|
31
|
-
|
32
|
-
|
31
|
+
66171,
|
32
|
+
66190
|
33
33
|
]
|
34
34
|
},
|
35
35
|
"nodeType": "SourceUnit",
|
36
36
|
"src": "32:992:146",
|
37
37
|
"nodes": [
|
38
38
|
{
|
39
|
-
"id":
|
39
|
+
"id": 66137,
|
40
40
|
"nodeType": "PragmaDirective",
|
41
41
|
"src": "32:25:146",
|
42
42
|
"nodes": [],
|
@@ -48,23 +48,23 @@
|
|
48
48
|
]
|
49
49
|
},
|
50
50
|
{
|
51
|
-
"id":
|
51
|
+
"id": 66139,
|
52
52
|
"nodeType": "ImportDirective",
|
53
53
|
"src": "59:85:146",
|
54
54
|
"nodes": [],
|
55
55
|
"absolutePath": "node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol",
|
56
56
|
"file": "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol",
|
57
57
|
"nameLocation": "-1:-1:-1",
|
58
|
-
"scope":
|
59
|
-
"sourceUnit":
|
58
|
+
"scope": 66191,
|
59
|
+
"sourceUnit": 42547,
|
60
60
|
"symbolAliases": [
|
61
61
|
{
|
62
62
|
"foreign": {
|
63
|
-
"id":
|
63
|
+
"id": 66138,
|
64
64
|
"name": "IBaseWorld",
|
65
65
|
"nodeType": "Identifier",
|
66
66
|
"overloadedDeclarations": [],
|
67
|
-
"referencedDeclaration":
|
67
|
+
"referencedDeclaration": 42546,
|
68
68
|
"src": "68:10:146",
|
69
69
|
"typeDescriptions": {}
|
70
70
|
},
|
@@ -74,23 +74,23 @@
|
|
74
74
|
"unitAlias": ""
|
75
75
|
},
|
76
76
|
{
|
77
|
-
"id":
|
77
|
+
"id": 66141,
|
78
78
|
"nodeType": "ImportDirective",
|
79
79
|
"src": "146:79:146",
|
80
80
|
"nodes": [],
|
81
81
|
"absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
|
82
82
|
"file": "../../interfaces/IUniqueEntitySystem.sol",
|
83
83
|
"nameLocation": "-1:-1:-1",
|
84
|
-
"scope":
|
85
|
-
"sourceUnit":
|
84
|
+
"scope": 66191,
|
85
|
+
"sourceUnit": 49100,
|
86
86
|
"symbolAliases": [
|
87
87
|
{
|
88
88
|
"foreign": {
|
89
|
-
"id":
|
89
|
+
"id": 66140,
|
90
90
|
"name": "IUniqueEntitySystem",
|
91
91
|
"nodeType": "Identifier",
|
92
92
|
"overloadedDeclarations": [],
|
93
|
-
"referencedDeclaration":
|
93
|
+
"referencedDeclaration": 49099,
|
94
94
|
"src": "155:19:146",
|
95
95
|
"typeDescriptions": {}
|
96
96
|
},
|
@@ -100,23 +100,23 @@
|
|
100
100
|
"unitAlias": ""
|
101
101
|
},
|
102
102
|
{
|
103
|
-
"id":
|
103
|
+
"id": 66143,
|
104
104
|
"nodeType": "ImportDirective",
|
105
105
|
"src": "226:62:146",
|
106
106
|
"nodes": [],
|
107
107
|
"absolutePath": "src/modules/uniqueentity/UniqueEntitySystem.sol",
|
108
108
|
"file": "./UniqueEntitySystem.sol",
|
109
109
|
"nameLocation": "-1:-1:-1",
|
110
|
-
"scope":
|
111
|
-
"sourceUnit":
|
110
|
+
"scope": 66191,
|
111
|
+
"sourceUnit": 66074,
|
112
112
|
"symbolAliases": [
|
113
113
|
{
|
114
114
|
"foreign": {
|
115
|
-
"id":
|
115
|
+
"id": 66142,
|
116
116
|
"name": "UniqueEntitySystem",
|
117
117
|
"nodeType": "Identifier",
|
118
118
|
"overloadedDeclarations": [],
|
119
|
-
"referencedDeclaration":
|
119
|
+
"referencedDeclaration": 66073,
|
120
120
|
"src": "235:18:146",
|
121
121
|
"typeDescriptions": {}
|
122
122
|
},
|
@@ -126,23 +126,23 @@
|
|
126
126
|
"unitAlias": ""
|
127
127
|
},
|
128
128
|
{
|
129
|
-
"id":
|
129
|
+
"id": 66145,
|
130
130
|
"nodeType": "ImportDirective",
|
131
131
|
"src": "290:60:146",
|
132
132
|
"nodes": [],
|
133
133
|
"absolutePath": "src/utils/SystemSwitch.sol",
|
134
134
|
"file": "../../utils/SystemSwitch.sol",
|
135
135
|
"nameLocation": "-1:-1:-1",
|
136
|
-
"scope":
|
137
|
-
"sourceUnit":
|
136
|
+
"scope": 66191,
|
137
|
+
"sourceUnit": 67374,
|
138
138
|
"symbolAliases": [
|
139
139
|
{
|
140
140
|
"foreign": {
|
141
|
-
"id":
|
141
|
+
"id": 66144,
|
142
142
|
"name": "SystemSwitch",
|
143
143
|
"nodeType": "Identifier",
|
144
144
|
"overloadedDeclarations": [],
|
145
|
-
"referencedDeclaration":
|
145
|
+
"referencedDeclaration": 67373,
|
146
146
|
"src": "299:12:146",
|
147
147
|
"typeDescriptions": {}
|
148
148
|
},
|
@@ -152,23 +152,23 @@
|
|
152
152
|
"unitAlias": ""
|
153
153
|
},
|
154
154
|
{
|
155
|
-
"id":
|
155
|
+
"id": 66147,
|
156
156
|
"nodeType": "ImportDirective",
|
157
157
|
"src": "351:44:146",
|
158
158
|
"nodes": [],
|
159
159
|
"absolutePath": "src/modules/uniqueentity/constants.sol",
|
160
160
|
"file": "./constants.sol",
|
161
161
|
"nameLocation": "-1:-1:-1",
|
162
|
-
"scope":
|
163
|
-
"sourceUnit":
|
162
|
+
"scope": 66191,
|
163
|
+
"sourceUnit": 66136,
|
164
164
|
"symbolAliases": [
|
165
165
|
{
|
166
166
|
"foreign": {
|
167
|
-
"id":
|
167
|
+
"id": 66146,
|
168
168
|
"name": "SYSTEM_ID",
|
169
169
|
"nodeType": "Identifier",
|
170
170
|
"overloadedDeclarations": [],
|
171
|
-
"referencedDeclaration":
|
171
|
+
"referencedDeclaration": 66135,
|
172
172
|
"src": "360:9:146",
|
173
173
|
"typeDescriptions": {}
|
174
174
|
},
|
@@ -178,12 +178,12 @@
|
|
178
178
|
"unitAlias": ""
|
179
179
|
},
|
180
180
|
{
|
181
|
-
"id":
|
181
|
+
"id": 66171,
|
182
182
|
"nodeType": "FunctionDefinition",
|
183
183
|
"src": "635:179:146",
|
184
184
|
"nodes": [],
|
185
185
|
"body": {
|
186
|
-
"id":
|
186
|
+
"id": 66170,
|
187
187
|
"nodeType": "Block",
|
188
188
|
"src": "693:121:146",
|
189
189
|
"nodes": [],
|
@@ -194,14 +194,14 @@
|
|
194
194
|
{
|
195
195
|
"arguments": [
|
196
196
|
{
|
197
|
-
"id":
|
197
|
+
"id": 66157,
|
198
198
|
"name": "SYSTEM_ID",
|
199
199
|
"nodeType": "Identifier",
|
200
200
|
"overloadedDeclarations": [],
|
201
|
-
"referencedDeclaration":
|
201
|
+
"referencedDeclaration": 66135,
|
202
202
|
"src": "733:9:146",
|
203
203
|
"typeDescriptions": {
|
204
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
204
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
205
205
|
"typeString": "ResourceId"
|
206
206
|
}
|
207
207
|
},
|
@@ -209,18 +209,18 @@
|
|
209
209
|
"arguments": [
|
210
210
|
{
|
211
211
|
"expression": {
|
212
|
-
"id":
|
212
|
+
"id": 66160,
|
213
213
|
"name": "UniqueEntitySystem",
|
214
214
|
"nodeType": "Identifier",
|
215
215
|
"overloadedDeclarations": [],
|
216
|
-
"referencedDeclaration":
|
216
|
+
"referencedDeclaration": 66073,
|
217
217
|
"src": "759:18:146",
|
218
218
|
"typeDescriptions": {
|
219
|
-
"typeIdentifier": "t_type$_t_contract$_UniqueEntitySystem_$
|
219
|
+
"typeIdentifier": "t_type$_t_contract$_UniqueEntitySystem_$66073_$",
|
220
220
|
"typeString": "type(contract UniqueEntitySystem)"
|
221
221
|
}
|
222
222
|
},
|
223
|
-
"id":
|
223
|
+
"id": 66161,
|
224
224
|
"isConstant": false,
|
225
225
|
"isLValue": false,
|
226
226
|
"isPure": true,
|
@@ -228,7 +228,7 @@
|
|
228
228
|
"memberLocation": "778:15:146",
|
229
229
|
"memberName": "getUniqueEntity",
|
230
230
|
"nodeType": "MemberAccess",
|
231
|
-
"referencedDeclaration":
|
231
|
+
"referencedDeclaration": 66072,
|
232
232
|
"src": "759:34:146",
|
233
233
|
"typeDescriptions": {
|
234
234
|
"typeIdentifier": "t_function_declaration_nonpayable$__$returns$_t_bytes32_$",
|
@@ -237,7 +237,7 @@
|
|
237
237
|
},
|
238
238
|
{
|
239
239
|
"components": [],
|
240
|
-
"id":
|
240
|
+
"id": 66162,
|
241
241
|
"isConstant": false,
|
242
242
|
"isInlineArray": false,
|
243
243
|
"isLValue": false,
|
@@ -263,7 +263,7 @@
|
|
263
263
|
}
|
264
264
|
],
|
265
265
|
"expression": {
|
266
|
-
"id":
|
266
|
+
"id": 66158,
|
267
267
|
"name": "abi",
|
268
268
|
"nodeType": "Identifier",
|
269
269
|
"overloadedDeclarations": [],
|
@@ -274,7 +274,7 @@
|
|
274
274
|
"typeString": "abi"
|
275
275
|
}
|
276
276
|
},
|
277
|
-
"id":
|
277
|
+
"id": 66159,
|
278
278
|
"isConstant": false,
|
279
279
|
"isLValue": false,
|
280
280
|
"isPure": true,
|
@@ -288,7 +288,7 @@
|
|
288
288
|
"typeString": "function () pure returns (bytes memory)"
|
289
289
|
}
|
290
290
|
},
|
291
|
-
"id":
|
291
|
+
"id": 66163,
|
292
292
|
"isConstant": false,
|
293
293
|
"isLValue": false,
|
294
294
|
"isPure": true,
|
@@ -308,7 +308,7 @@
|
|
308
308
|
"expression": {
|
309
309
|
"argumentTypes": [
|
310
310
|
{
|
311
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
311
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
|
312
312
|
"typeString": "ResourceId"
|
313
313
|
},
|
314
314
|
{
|
@@ -317,18 +317,18 @@
|
|
317
317
|
}
|
318
318
|
],
|
319
319
|
"expression": {
|
320
|
-
"id":
|
320
|
+
"id": 66155,
|
321
321
|
"name": "SystemSwitch",
|
322
322
|
"nodeType": "Identifier",
|
323
323
|
"overloadedDeclarations": [],
|
324
|
-
"referencedDeclaration":
|
324
|
+
"referencedDeclaration": 67373,
|
325
325
|
"src": "715:12:146",
|
326
326
|
"typeDescriptions": {
|
327
|
-
"typeIdentifier": "t_type$_t_contract$_SystemSwitch_$
|
327
|
+
"typeIdentifier": "t_type$_t_contract$_SystemSwitch_$67373_$",
|
328
328
|
"typeString": "type(library SystemSwitch)"
|
329
329
|
}
|
330
330
|
},
|
331
|
-
"id":
|
331
|
+
"id": 66156,
|
332
332
|
"isConstant": false,
|
333
333
|
"isLValue": false,
|
334
334
|
"isPure": false,
|
@@ -336,14 +336,14 @@
|
|
336
336
|
"memberLocation": "728:4:146",
|
337
337
|
"memberName": "call",
|
338
338
|
"nodeType": "MemberAccess",
|
339
|
-
"referencedDeclaration":
|
339
|
+
"referencedDeclaration": 67326,
|
340
340
|
"src": "715:17:146",
|
341
341
|
"typeDescriptions": {
|
342
|
-
"typeIdentifier": "t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$
|
342
|
+
"typeIdentifier": "t_function_internal_nonpayable$_t_userDefinedValueType$_ResourceId_$29139_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
343
343
|
"typeString": "function (ResourceId,bytes memory) returns (bytes memory)"
|
344
344
|
}
|
345
345
|
},
|
346
|
-
"id":
|
346
|
+
"id": 66164,
|
347
347
|
"isConstant": false,
|
348
348
|
"isLValue": false,
|
349
349
|
"isPure": false,
|
@@ -362,7 +362,7 @@
|
|
362
362
|
{
|
363
363
|
"components": [
|
364
364
|
{
|
365
|
-
"id":
|
365
|
+
"id": 66166,
|
366
366
|
"isConstant": false,
|
367
367
|
"isLValue": false,
|
368
368
|
"isPure": true,
|
@@ -374,7 +374,7 @@
|
|
374
374
|
"typeString": "type(bytes32)"
|
375
375
|
},
|
376
376
|
"typeName": {
|
377
|
-
"id":
|
377
|
+
"id": 66165,
|
378
378
|
"name": "bytes32",
|
379
379
|
"nodeType": "ElementaryTypeName",
|
380
380
|
"src": "802:7:146",
|
@@ -382,7 +382,7 @@
|
|
382
382
|
}
|
383
383
|
}
|
384
384
|
],
|
385
|
-
"id":
|
385
|
+
"id": 66167,
|
386
386
|
"isConstant": false,
|
387
387
|
"isInlineArray": false,
|
388
388
|
"isLValue": false,
|
@@ -408,7 +408,7 @@
|
|
408
408
|
}
|
409
409
|
],
|
410
410
|
"expression": {
|
411
|
-
"id":
|
411
|
+
"id": 66153,
|
412
412
|
"name": "abi",
|
413
413
|
"nodeType": "Identifier",
|
414
414
|
"overloadedDeclarations": [],
|
@@ -419,7 +419,7 @@
|
|
419
419
|
"typeString": "abi"
|
420
420
|
}
|
421
421
|
},
|
422
|
-
"id":
|
422
|
+
"id": 66154,
|
423
423
|
"isConstant": false,
|
424
424
|
"isLValue": false,
|
425
425
|
"isPure": true,
|
@@ -433,7 +433,7 @@
|
|
433
433
|
"typeString": "function () pure"
|
434
434
|
}
|
435
435
|
},
|
436
|
-
"id":
|
436
|
+
"id": 66168,
|
437
437
|
"isConstant": false,
|
438
438
|
"isLValue": false,
|
439
439
|
"isPure": false,
|
@@ -449,15 +449,15 @@
|
|
449
449
|
"typeString": "bytes32"
|
450
450
|
}
|
451
451
|
},
|
452
|
-
"functionReturnParameters":
|
453
|
-
"id":
|
452
|
+
"functionReturnParameters": 66152,
|
453
|
+
"id": 66169,
|
454
454
|
"nodeType": "Return",
|
455
455
|
"src": "697:114:146"
|
456
456
|
}
|
457
457
|
]
|
458
458
|
},
|
459
459
|
"documentation": {
|
460
|
-
"id":
|
460
|
+
"id": 66148,
|
461
461
|
"nodeType": "StructuredDocumentation",
|
462
462
|
"src": "397:237:146",
|
463
463
|
"text": " Increment and get an entity nonce.\n Note: this util can only be called within the context of a World (e.g. from a System or Module).\n For usage outside of a World, use the overload that takes an explicit store argument."
|
@@ -468,23 +468,23 @@
|
|
468
468
|
"name": "getUniqueEntity",
|
469
469
|
"nameLocation": "644:15:146",
|
470
470
|
"parameters": {
|
471
|
-
"id":
|
471
|
+
"id": 66149,
|
472
472
|
"nodeType": "ParameterList",
|
473
473
|
"parameters": [],
|
474
474
|
"src": "659:2:146"
|
475
475
|
},
|
476
476
|
"returnParameters": {
|
477
|
-
"id":
|
477
|
+
"id": 66152,
|
478
478
|
"nodeType": "ParameterList",
|
479
479
|
"parameters": [
|
480
480
|
{
|
481
481
|
"constant": false,
|
482
|
-
"id":
|
482
|
+
"id": 66151,
|
483
483
|
"mutability": "mutable",
|
484
484
|
"name": "uniqueEntity",
|
485
485
|
"nameLocation": "679:12:146",
|
486
486
|
"nodeType": "VariableDeclaration",
|
487
|
-
"scope":
|
487
|
+
"scope": 66171,
|
488
488
|
"src": "671:20:146",
|
489
489
|
"stateVariable": false,
|
490
490
|
"storageLocation": "default",
|
@@ -493,7 +493,7 @@
|
|
493
493
|
"typeString": "bytes32"
|
494
494
|
},
|
495
495
|
"typeName": {
|
496
|
-
"id":
|
496
|
+
"id": 66150,
|
497
497
|
"name": "bytes32",
|
498
498
|
"nodeType": "ElementaryTypeName",
|
499
499
|
"src": "671:7:146",
|
@@ -507,18 +507,18 @@
|
|
507
507
|
],
|
508
508
|
"src": "670:22:146"
|
509
509
|
},
|
510
|
-
"scope":
|
510
|
+
"scope": 66191,
|
511
511
|
"stateMutability": "nonpayable",
|
512
512
|
"virtual": false,
|
513
513
|
"visibility": "internal"
|
514
514
|
},
|
515
515
|
{
|
516
|
-
"id":
|
516
|
+
"id": 66190,
|
517
517
|
"nodeType": "FunctionDefinition",
|
518
518
|
"src": "862:161:146",
|
519
519
|
"nodes": [],
|
520
520
|
"body": {
|
521
|
-
"id":
|
521
|
+
"id": 66189,
|
522
522
|
"nodeType": "Block",
|
523
523
|
"src": "936:87:146",
|
524
524
|
"nodes": [],
|
@@ -533,14 +533,14 @@
|
|
533
533
|
{
|
534
534
|
"arguments": [
|
535
535
|
{
|
536
|
-
"id":
|
536
|
+
"id": 66183,
|
537
537
|
"name": "world",
|
538
538
|
"nodeType": "Identifier",
|
539
539
|
"overloadedDeclarations": [],
|
540
|
-
"referencedDeclaration":
|
540
|
+
"referencedDeclaration": 66175,
|
541
541
|
"src": "975:5:146",
|
542
542
|
"typeDescriptions": {
|
543
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
543
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$42546",
|
544
544
|
"typeString": "contract IBaseWorld"
|
545
545
|
}
|
546
546
|
}
|
@@ -548,11 +548,11 @@
|
|
548
548
|
"expression": {
|
549
549
|
"argumentTypes": [
|
550
550
|
{
|
551
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
551
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$42546",
|
552
552
|
"typeString": "contract IBaseWorld"
|
553
553
|
}
|
554
554
|
],
|
555
|
-
"id":
|
555
|
+
"id": 66182,
|
556
556
|
"isConstant": false,
|
557
557
|
"isLValue": false,
|
558
558
|
"isPure": true,
|
@@ -564,14 +564,14 @@
|
|
564
564
|
"typeString": "type(address)"
|
565
565
|
},
|
566
566
|
"typeName": {
|
567
|
-
"id":
|
567
|
+
"id": 66181,
|
568
568
|
"name": "address",
|
569
569
|
"nodeType": "ElementaryTypeName",
|
570
570
|
"src": "967:7:146",
|
571
571
|
"typeDescriptions": {}
|
572
572
|
}
|
573
573
|
},
|
574
|
-
"id":
|
574
|
+
"id": 66184,
|
575
575
|
"isConstant": false,
|
576
576
|
"isLValue": false,
|
577
577
|
"isPure": false,
|
@@ -595,18 +595,18 @@
|
|
595
595
|
"typeString": "address"
|
596
596
|
}
|
597
597
|
],
|
598
|
-
"id":
|
598
|
+
"id": 66180,
|
599
599
|
"name": "IUniqueEntitySystem",
|
600
600
|
"nodeType": "Identifier",
|
601
601
|
"overloadedDeclarations": [],
|
602
|
-
"referencedDeclaration":
|
602
|
+
"referencedDeclaration": 49099,
|
603
603
|
"src": "947:19:146",
|
604
604
|
"typeDescriptions": {
|
605
|
-
"typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$
|
605
|
+
"typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$49099_$",
|
606
606
|
"typeString": "type(contract IUniqueEntitySystem)"
|
607
607
|
}
|
608
608
|
},
|
609
|
-
"id":
|
609
|
+
"id": 66185,
|
610
610
|
"isConstant": false,
|
611
611
|
"isLValue": false,
|
612
612
|
"isPure": false,
|
@@ -618,11 +618,11 @@
|
|
618
618
|
"src": "947:35:146",
|
619
619
|
"tryCall": false,
|
620
620
|
"typeDescriptions": {
|
621
|
-
"typeIdentifier": "t_contract$_IUniqueEntitySystem_$
|
621
|
+
"typeIdentifier": "t_contract$_IUniqueEntitySystem_$49099",
|
622
622
|
"typeString": "contract IUniqueEntitySystem"
|
623
623
|
}
|
624
624
|
},
|
625
|
-
"id":
|
625
|
+
"id": 66186,
|
626
626
|
"isConstant": false,
|
627
627
|
"isLValue": false,
|
628
628
|
"isPure": false,
|
@@ -630,14 +630,14 @@
|
|
630
630
|
"memberLocation": "983:35:146",
|
631
631
|
"memberName": "uniqueEntity_system_getUniqueEntity",
|
632
632
|
"nodeType": "MemberAccess",
|
633
|
-
"referencedDeclaration":
|
633
|
+
"referencedDeclaration": 49098,
|
634
634
|
"src": "947:71:146",
|
635
635
|
"typeDescriptions": {
|
636
636
|
"typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes32_$",
|
637
637
|
"typeString": "function () external returns (bytes32)"
|
638
638
|
}
|
639
639
|
},
|
640
|
-
"id":
|
640
|
+
"id": 66187,
|
641
641
|
"isConstant": false,
|
642
642
|
"isLValue": false,
|
643
643
|
"isPure": false,
|
@@ -653,15 +653,15 @@
|
|
653
653
|
"typeString": "bytes32"
|
654
654
|
}
|
655
655
|
},
|
656
|
-
"functionReturnParameters":
|
657
|
-
"id":
|
656
|
+
"functionReturnParameters": 66179,
|
657
|
+
"id": 66188,
|
658
658
|
"nodeType": "Return",
|
659
659
|
"src": "940:80:146"
|
660
660
|
}
|
661
661
|
]
|
662
662
|
},
|
663
663
|
"documentation": {
|
664
|
-
"id":
|
664
|
+
"id": 66172,
|
665
665
|
"nodeType": "StructuredDocumentation",
|
666
666
|
"src": "816:45:146",
|
667
667
|
"text": " Increment and get an entity nonce."
|
@@ -672,41 +672,41 @@
|
|
672
672
|
"name": "getUniqueEntity",
|
673
673
|
"nameLocation": "871:15:146",
|
674
674
|
"parameters": {
|
675
|
-
"id":
|
675
|
+
"id": 66176,
|
676
676
|
"nodeType": "ParameterList",
|
677
677
|
"parameters": [
|
678
678
|
{
|
679
679
|
"constant": false,
|
680
|
-
"id":
|
680
|
+
"id": 66175,
|
681
681
|
"mutability": "mutable",
|
682
682
|
"name": "world",
|
683
683
|
"nameLocation": "898:5:146",
|
684
684
|
"nodeType": "VariableDeclaration",
|
685
|
-
"scope":
|
685
|
+
"scope": 66190,
|
686
686
|
"src": "887:16:146",
|
687
687
|
"stateVariable": false,
|
688
688
|
"storageLocation": "default",
|
689
689
|
"typeDescriptions": {
|
690
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
690
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$42546",
|
691
691
|
"typeString": "contract IBaseWorld"
|
692
692
|
},
|
693
693
|
"typeName": {
|
694
|
-
"id":
|
694
|
+
"id": 66174,
|
695
695
|
"nodeType": "UserDefinedTypeName",
|
696
696
|
"pathNode": {
|
697
|
-
"id":
|
697
|
+
"id": 66173,
|
698
698
|
"name": "IBaseWorld",
|
699
699
|
"nameLocations": [
|
700
700
|
"887:10:146"
|
701
701
|
],
|
702
702
|
"nodeType": "IdentifierPath",
|
703
|
-
"referencedDeclaration":
|
703
|
+
"referencedDeclaration": 42546,
|
704
704
|
"src": "887:10:146"
|
705
705
|
},
|
706
|
-
"referencedDeclaration":
|
706
|
+
"referencedDeclaration": 42546,
|
707
707
|
"src": "887:10:146",
|
708
708
|
"typeDescriptions": {
|
709
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
709
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$42546",
|
710
710
|
"typeString": "contract IBaseWorld"
|
711
711
|
}
|
712
712
|
},
|
@@ -716,17 +716,17 @@
|
|
716
716
|
"src": "886:18:146"
|
717
717
|
},
|
718
718
|
"returnParameters": {
|
719
|
-
"id":
|
719
|
+
"id": 66179,
|
720
720
|
"nodeType": "ParameterList",
|
721
721
|
"parameters": [
|
722
722
|
{
|
723
723
|
"constant": false,
|
724
|
-
"id":
|
724
|
+
"id": 66178,
|
725
725
|
"mutability": "mutable",
|
726
726
|
"name": "uniqueEntity",
|
727
727
|
"nameLocation": "922:12:146",
|
728
728
|
"nodeType": "VariableDeclaration",
|
729
|
-
"scope":
|
729
|
+
"scope": 66190,
|
730
730
|
"src": "914:20:146",
|
731
731
|
"stateVariable": false,
|
732
732
|
"storageLocation": "default",
|
@@ -735,7 +735,7 @@
|
|
735
735
|
"typeString": "bytes32"
|
736
736
|
},
|
737
737
|
"typeName": {
|
738
|
-
"id":
|
738
|
+
"id": 66177,
|
739
739
|
"name": "bytes32",
|
740
740
|
"nodeType": "ElementaryTypeName",
|
741
741
|
"src": "914:7:146",
|
@@ -749,7 +749,7 @@
|
|
749
749
|
],
|
750
750
|
"src": "913:22:146"
|
751
751
|
},
|
752
|
-
"scope":
|
752
|
+
"scope": 66191,
|
753
753
|
"stateMutability": "nonpayable",
|
754
754
|
"virtual": false,
|
755
755
|
"visibility": "internal"
|