@latticexyz/world-modules 2.0.0-main-fa74f25e → 2.0.0-main-be5266dc
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 +223 -223
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2614 -2614
- package/out/DecodeSlice.sol/DecodeSlice.json +3158 -3158
- package/out/DelegationControl.sol/DelegationControl.json +104 -104
- package/out/EncodeArray.sol/EncodeArray.json +3253 -3253
- package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
- package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
- package/out/Hook.sol/HookInstance.json +19 -19
- package/out/Hook.sol/HookLib.json +19 -19
- package/out/Hooks.sol/Hooks.json +99 -99
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/IStore.sol/IStore.json +4 -4
- package/out/IStoreData.sol/IStoreData.json +4 -4
- package/out/IStoreHook.sol/IStoreHook.json +4 -4
- package/out/IStoreRead.sol/IStoreRead.json +4 -4
- package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
- package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
- package/out/ISystemHook.sol/ISystemHook.json +90 -90
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
- package/out/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
- package/out/KeysInTable.sol/KeysInTable.json +10687 -10687
- package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
- package/out/KeysInTableModule.sol/KeysInTableModule.json +542 -542
- package/out/KeysWithValue.sol/KeysWithValue.json +3847 -3847
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1005 -1005
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +431 -431
- package/out/Memory.sol/Memory.json +8 -8
- package/out/Module.sol/Module.json +93 -93
- package/out/ResourceIds.sol/ResourceIds.json +73 -73
- package/out/Schema.sol/SchemaInstance.json +76 -76
- package/out/Schema.sol/SchemaLib.json +76 -76
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +11 -11
- package/out/Slice.sol/SliceLib.json +11 -11
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +308 -308
- package/out/Storage.sol/Storage.json +11 -11
- package/out/StoreCore.sol/StoreCore.json +62 -62
- package/out/StoreCore.sol/StoreCoreInternal.json +62 -62
- package/out/StoreHook.sol/StoreHook.json +362 -362
- package/out/StoreHooks.sol/StoreHooks.json +100 -100
- package/out/StoreSwitch.sol/StoreSwitch.json +19 -19
- package/out/System.sol/System.json +38 -38
- package/out/Tables.sol/Tables.json +101 -101
- package/out/TightCoder.sol/TightCoder.json +553 -553
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +127 -127
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2005 -2005
- package/out/UniqueEntity.sol/UniqueEntity.json +1421 -1421
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +332 -332
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +101 -101
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2741 -2741
- package/out/WorldContext.sol/WorldContextConsumer.json +382 -382
- package/out/WorldContext.sol/WorldContextProvider.json +382 -382
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/constants.sol/LayoutOffsets.json +164 -140
- 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 +142 -142
- package/out/leftMask.sol/leftMask.json +61 -61
- 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 +701 -701
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
- package/out/src/IStore.sol/IStore.json +57 -57
- 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 +93 -93
- 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 +791 -791
- package/out/src/Schema.sol/SchemaLib.json +791 -791
- package/out/src/Slice.sol/SliceInstance.json +436 -436
- package/out/src/Slice.sol/SliceLib.json +436 -436
- package/out/src/StoreCore.sol/StoreCore.json +4474 -4474
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4474 -4474
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2473 -2473
- package/out/src/WorldContext.sol/WorldContextConsumer.json +382 -382
- package/out/src/WorldContext.sol/WorldContextProvider.json +382 -382
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
- package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
- package/out/tables/ResourceIds.sol/ResourceIds.json +1765 -1765
- package/out/tables/Tables.sol/Tables.json +7307 -7307
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3253 -3253
- package/out/types.sol/types.json +39 -39
- package/out/version.sol/version.json +12 -12
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -10,27 +10,27 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "src/modules/uniqueentity/getUniqueEntity.sol",
|
13
|
-
"id":
|
13
|
+
"id": 56471,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"IBaseWorld": [
|
16
|
-
|
16
|
+
39243
|
17
17
|
],
|
18
18
|
"IUniqueEntitySystem": [
|
19
|
-
|
19
|
+
39389
|
20
20
|
],
|
21
21
|
"StoreSwitch": [
|
22
|
-
|
22
|
+
30894
|
23
23
|
],
|
24
24
|
"getUniqueEntity": [
|
25
|
-
|
26
|
-
|
25
|
+
56451,
|
26
|
+
56470
|
27
27
|
]
|
28
28
|
},
|
29
29
|
"nodeType": "SourceUnit",
|
30
30
|
"src": "32:897:136",
|
31
31
|
"nodes": [
|
32
32
|
{
|
33
|
-
"id":
|
33
|
+
"id": 56426,
|
34
34
|
"nodeType": "PragmaDirective",
|
35
35
|
"src": "32:25:136",
|
36
36
|
"nodes": [],
|
@@ -42,23 +42,23 @@
|
|
42
42
|
]
|
43
43
|
},
|
44
44
|
{
|
45
|
-
"id":
|
45
|
+
"id": 56428,
|
46
46
|
"nodeType": "ImportDirective",
|
47
47
|
"src": "59:68:136",
|
48
48
|
"nodes": [],
|
49
49
|
"absolutePath": "node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
50
50
|
"file": "@latticexyz/store/src/StoreSwitch.sol",
|
51
51
|
"nameLocation": "-1:-1:-1",
|
52
|
-
"scope":
|
53
|
-
"sourceUnit":
|
52
|
+
"scope": 56471,
|
53
|
+
"sourceUnit": 30895,
|
54
54
|
"symbolAliases": [
|
55
55
|
{
|
56
56
|
"foreign": {
|
57
|
-
"id":
|
57
|
+
"id": 56427,
|
58
58
|
"name": "StoreSwitch",
|
59
59
|
"nodeType": "Identifier",
|
60
60
|
"overloadedDeclarations": [],
|
61
|
-
"referencedDeclaration":
|
61
|
+
"referencedDeclaration": 30894,
|
62
62
|
"src": "68:11:136",
|
63
63
|
"typeDescriptions": {}
|
64
64
|
},
|
@@ -68,23 +68,23 @@
|
|
68
68
|
"unitAlias": ""
|
69
69
|
},
|
70
70
|
{
|
71
|
-
"id":
|
71
|
+
"id": 56430,
|
72
72
|
"nodeType": "ImportDirective",
|
73
73
|
"src": "128:85:136",
|
74
74
|
"nodes": [],
|
75
75
|
"absolutePath": "node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol",
|
76
76
|
"file": "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol",
|
77
77
|
"nameLocation": "-1:-1:-1",
|
78
|
-
"scope":
|
79
|
-
"sourceUnit":
|
78
|
+
"scope": 56471,
|
79
|
+
"sourceUnit": 39244,
|
80
80
|
"symbolAliases": [
|
81
81
|
{
|
82
82
|
"foreign": {
|
83
|
-
"id":
|
83
|
+
"id": 56429,
|
84
84
|
"name": "IBaseWorld",
|
85
85
|
"nodeType": "Identifier",
|
86
86
|
"overloadedDeclarations": [],
|
87
|
-
"referencedDeclaration":
|
87
|
+
"referencedDeclaration": 39243,
|
88
88
|
"src": "137:10:136",
|
89
89
|
"typeDescriptions": {}
|
90
90
|
},
|
@@ -94,23 +94,23 @@
|
|
94
94
|
"unitAlias": ""
|
95
95
|
},
|
96
96
|
{
|
97
|
-
"id":
|
97
|
+
"id": 56432,
|
98
98
|
"nodeType": "ImportDirective",
|
99
99
|
"src": "215:79:136",
|
100
100
|
"nodes": [],
|
101
101
|
"absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
|
102
102
|
"file": "../../interfaces/IUniqueEntitySystem.sol",
|
103
103
|
"nameLocation": "-1:-1:-1",
|
104
|
-
"scope":
|
105
|
-
"sourceUnit":
|
104
|
+
"scope": 56471,
|
105
|
+
"sourceUnit": 39390,
|
106
106
|
"symbolAliases": [
|
107
107
|
{
|
108
108
|
"foreign": {
|
109
|
-
"id":
|
109
|
+
"id": 56431,
|
110
110
|
"name": "IUniqueEntitySystem",
|
111
111
|
"nodeType": "Identifier",
|
112
112
|
"overloadedDeclarations": [],
|
113
|
-
"referencedDeclaration":
|
113
|
+
"referencedDeclaration": 39389,
|
114
114
|
"src": "224:19:136",
|
115
115
|
"typeDescriptions": {}
|
116
116
|
},
|
@@ -120,29 +120,29 @@
|
|
120
120
|
"unitAlias": ""
|
121
121
|
},
|
122
122
|
{
|
123
|
-
"id":
|
123
|
+
"id": 56451,
|
124
124
|
"nodeType": "FunctionDefinition",
|
125
125
|
"src": "534:185:136",
|
126
126
|
"nodes": [],
|
127
127
|
"body": {
|
128
|
-
"id":
|
128
|
+
"id": 56450,
|
129
129
|
"nodeType": "Block",
|
130
130
|
"src": "592:127:136",
|
131
131
|
"nodes": [],
|
132
132
|
"statements": [
|
133
133
|
{
|
134
134
|
"assignments": [
|
135
|
-
|
135
|
+
56439
|
136
136
|
],
|
137
137
|
"declarations": [
|
138
138
|
{
|
139
139
|
"constant": false,
|
140
|
-
"id":
|
140
|
+
"id": 56439,
|
141
141
|
"mutability": "mutable",
|
142
142
|
"name": "world",
|
143
143
|
"nameLocation": "604:5:136",
|
144
144
|
"nodeType": "VariableDeclaration",
|
145
|
-
"scope":
|
145
|
+
"scope": 56450,
|
146
146
|
"src": "596:13:136",
|
147
147
|
"stateVariable": false,
|
148
148
|
"storageLocation": "default",
|
@@ -151,7 +151,7 @@
|
|
151
151
|
"typeString": "address"
|
152
152
|
},
|
153
153
|
"typeName": {
|
154
|
-
"id":
|
154
|
+
"id": 56438,
|
155
155
|
"name": "address",
|
156
156
|
"nodeType": "ElementaryTypeName",
|
157
157
|
"src": "596:7:136",
|
@@ -164,24 +164,24 @@
|
|
164
164
|
"visibility": "internal"
|
165
165
|
}
|
166
166
|
],
|
167
|
-
"id":
|
167
|
+
"id": 56443,
|
168
168
|
"initialValue": {
|
169
169
|
"arguments": [],
|
170
170
|
"expression": {
|
171
171
|
"argumentTypes": [],
|
172
172
|
"expression": {
|
173
|
-
"id":
|
173
|
+
"id": 56440,
|
174
174
|
"name": "StoreSwitch",
|
175
175
|
"nodeType": "Identifier",
|
176
176
|
"overloadedDeclarations": [],
|
177
|
-
"referencedDeclaration":
|
177
|
+
"referencedDeclaration": 30894,
|
178
178
|
"src": "612:11:136",
|
179
179
|
"typeDescriptions": {
|
180
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
180
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$30894_$",
|
181
181
|
"typeString": "type(library StoreSwitch)"
|
182
182
|
}
|
183
183
|
},
|
184
|
-
"id":
|
184
|
+
"id": 56441,
|
185
185
|
"isConstant": false,
|
186
186
|
"isLValue": false,
|
187
187
|
"isPure": false,
|
@@ -189,14 +189,14 @@
|
|
189
189
|
"memberLocation": "624:15:136",
|
190
190
|
"memberName": "getStoreAddress",
|
191
191
|
"nodeType": "MemberAccess",
|
192
|
-
"referencedDeclaration":
|
192
|
+
"referencedDeclaration": 29664,
|
193
193
|
"src": "612:27:136",
|
194
194
|
"typeDescriptions": {
|
195
195
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
196
196
|
"typeString": "function () view returns (address)"
|
197
197
|
}
|
198
198
|
},
|
199
|
-
"id":
|
199
|
+
"id": 56442,
|
200
200
|
"isConstant": false,
|
201
201
|
"isLValue": false,
|
202
202
|
"isPure": false,
|
@@ -223,11 +223,11 @@
|
|
223
223
|
"expression": {
|
224
224
|
"arguments": [
|
225
225
|
{
|
226
|
-
"id":
|
226
|
+
"id": 56445,
|
227
227
|
"name": "world",
|
228
228
|
"nodeType": "Identifier",
|
229
229
|
"overloadedDeclarations": [],
|
230
|
-
"referencedDeclaration":
|
230
|
+
"referencedDeclaration": 56439,
|
231
231
|
"src": "672:5:136",
|
232
232
|
"typeDescriptions": {
|
233
233
|
"typeIdentifier": "t_address",
|
@@ -242,18 +242,18 @@
|
|
242
242
|
"typeString": "address"
|
243
243
|
}
|
244
244
|
],
|
245
|
-
"id":
|
245
|
+
"id": 56444,
|
246
246
|
"name": "IUniqueEntitySystem",
|
247
247
|
"nodeType": "Identifier",
|
248
248
|
"overloadedDeclarations": [],
|
249
|
-
"referencedDeclaration":
|
249
|
+
"referencedDeclaration": 39389,
|
250
250
|
"src": "652:19:136",
|
251
251
|
"typeDescriptions": {
|
252
|
-
"typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$
|
252
|
+
"typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$39389_$",
|
253
253
|
"typeString": "type(contract IUniqueEntitySystem)"
|
254
254
|
}
|
255
255
|
},
|
256
|
-
"id":
|
256
|
+
"id": 56446,
|
257
257
|
"isConstant": false,
|
258
258
|
"isLValue": false,
|
259
259
|
"isPure": false,
|
@@ -265,11 +265,11 @@
|
|
265
265
|
"src": "652:26:136",
|
266
266
|
"tryCall": false,
|
267
267
|
"typeDescriptions": {
|
268
|
-
"typeIdentifier": "t_contract$_IUniqueEntitySystem_$
|
268
|
+
"typeIdentifier": "t_contract$_IUniqueEntitySystem_$39389",
|
269
269
|
"typeString": "contract IUniqueEntitySystem"
|
270
270
|
}
|
271
271
|
},
|
272
|
-
"id":
|
272
|
+
"id": 56447,
|
273
273
|
"isConstant": false,
|
274
274
|
"isLValue": false,
|
275
275
|
"isPure": false,
|
@@ -277,14 +277,14 @@
|
|
277
277
|
"memberLocation": "679:35:136",
|
278
278
|
"memberName": "uniqueEntity_system_getUniqueEntity",
|
279
279
|
"nodeType": "MemberAccess",
|
280
|
-
"referencedDeclaration":
|
280
|
+
"referencedDeclaration": 39388,
|
281
281
|
"src": "652:62:136",
|
282
282
|
"typeDescriptions": {
|
283
283
|
"typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes32_$",
|
284
284
|
"typeString": "function () external returns (bytes32)"
|
285
285
|
}
|
286
286
|
},
|
287
|
-
"id":
|
287
|
+
"id": 56448,
|
288
288
|
"isConstant": false,
|
289
289
|
"isLValue": false,
|
290
290
|
"isPure": false,
|
@@ -300,15 +300,15 @@
|
|
300
300
|
"typeString": "bytes32"
|
301
301
|
}
|
302
302
|
},
|
303
|
-
"functionReturnParameters":
|
304
|
-
"id":
|
303
|
+
"functionReturnParameters": 56437,
|
304
|
+
"id": 56449,
|
305
305
|
"nodeType": "Return",
|
306
306
|
"src": "645:71:136"
|
307
307
|
}
|
308
308
|
]
|
309
309
|
},
|
310
310
|
"documentation": {
|
311
|
-
"id":
|
311
|
+
"id": 56433,
|
312
312
|
"nodeType": "StructuredDocumentation",
|
313
313
|
"src": "296:237:136",
|
314
314
|
"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."
|
@@ -319,23 +319,23 @@
|
|
319
319
|
"name": "getUniqueEntity",
|
320
320
|
"nameLocation": "543:15:136",
|
321
321
|
"parameters": {
|
322
|
-
"id":
|
322
|
+
"id": 56434,
|
323
323
|
"nodeType": "ParameterList",
|
324
324
|
"parameters": [],
|
325
325
|
"src": "558:2:136"
|
326
326
|
},
|
327
327
|
"returnParameters": {
|
328
|
-
"id":
|
328
|
+
"id": 56437,
|
329
329
|
"nodeType": "ParameterList",
|
330
330
|
"parameters": [
|
331
331
|
{
|
332
332
|
"constant": false,
|
333
|
-
"id":
|
333
|
+
"id": 56436,
|
334
334
|
"mutability": "mutable",
|
335
335
|
"name": "uniqueEntity",
|
336
336
|
"nameLocation": "578:12:136",
|
337
337
|
"nodeType": "VariableDeclaration",
|
338
|
-
"scope":
|
338
|
+
"scope": 56451,
|
339
339
|
"src": "570:20:136",
|
340
340
|
"stateVariable": false,
|
341
341
|
"storageLocation": "default",
|
@@ -344,7 +344,7 @@
|
|
344
344
|
"typeString": "bytes32"
|
345
345
|
},
|
346
346
|
"typeName": {
|
347
|
-
"id":
|
347
|
+
"id": 56435,
|
348
348
|
"name": "bytes32",
|
349
349
|
"nodeType": "ElementaryTypeName",
|
350
350
|
"src": "570:7:136",
|
@@ -358,18 +358,18 @@
|
|
358
358
|
],
|
359
359
|
"src": "569:22:136"
|
360
360
|
},
|
361
|
-
"scope":
|
361
|
+
"scope": 56471,
|
362
362
|
"stateMutability": "nonpayable",
|
363
363
|
"virtual": false,
|
364
364
|
"visibility": "internal"
|
365
365
|
},
|
366
366
|
{
|
367
|
-
"id":
|
367
|
+
"id": 56470,
|
368
368
|
"nodeType": "FunctionDefinition",
|
369
369
|
"src": "767:161:136",
|
370
370
|
"nodes": [],
|
371
371
|
"body": {
|
372
|
-
"id":
|
372
|
+
"id": 56469,
|
373
373
|
"nodeType": "Block",
|
374
374
|
"src": "841:87:136",
|
375
375
|
"nodes": [],
|
@@ -384,14 +384,14 @@
|
|
384
384
|
{
|
385
385
|
"arguments": [
|
386
386
|
{
|
387
|
-
"id":
|
387
|
+
"id": 56463,
|
388
388
|
"name": "world",
|
389
389
|
"nodeType": "Identifier",
|
390
390
|
"overloadedDeclarations": [],
|
391
|
-
"referencedDeclaration":
|
391
|
+
"referencedDeclaration": 56455,
|
392
392
|
"src": "880:5:136",
|
393
393
|
"typeDescriptions": {
|
394
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
394
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$39243",
|
395
395
|
"typeString": "contract IBaseWorld"
|
396
396
|
}
|
397
397
|
}
|
@@ -399,11 +399,11 @@
|
|
399
399
|
"expression": {
|
400
400
|
"argumentTypes": [
|
401
401
|
{
|
402
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
402
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$39243",
|
403
403
|
"typeString": "contract IBaseWorld"
|
404
404
|
}
|
405
405
|
],
|
406
|
-
"id":
|
406
|
+
"id": 56462,
|
407
407
|
"isConstant": false,
|
408
408
|
"isLValue": false,
|
409
409
|
"isPure": true,
|
@@ -415,14 +415,14 @@
|
|
415
415
|
"typeString": "type(address)"
|
416
416
|
},
|
417
417
|
"typeName": {
|
418
|
-
"id":
|
418
|
+
"id": 56461,
|
419
419
|
"name": "address",
|
420
420
|
"nodeType": "ElementaryTypeName",
|
421
421
|
"src": "872:7:136",
|
422
422
|
"typeDescriptions": {}
|
423
423
|
}
|
424
424
|
},
|
425
|
-
"id":
|
425
|
+
"id": 56464,
|
426
426
|
"isConstant": false,
|
427
427
|
"isLValue": false,
|
428
428
|
"isPure": false,
|
@@ -446,18 +446,18 @@
|
|
446
446
|
"typeString": "address"
|
447
447
|
}
|
448
448
|
],
|
449
|
-
"id":
|
449
|
+
"id": 56460,
|
450
450
|
"name": "IUniqueEntitySystem",
|
451
451
|
"nodeType": "Identifier",
|
452
452
|
"overloadedDeclarations": [],
|
453
|
-
"referencedDeclaration":
|
453
|
+
"referencedDeclaration": 39389,
|
454
454
|
"src": "852:19:136",
|
455
455
|
"typeDescriptions": {
|
456
|
-
"typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$
|
456
|
+
"typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$39389_$",
|
457
457
|
"typeString": "type(contract IUniqueEntitySystem)"
|
458
458
|
}
|
459
459
|
},
|
460
|
-
"id":
|
460
|
+
"id": 56465,
|
461
461
|
"isConstant": false,
|
462
462
|
"isLValue": false,
|
463
463
|
"isPure": false,
|
@@ -469,11 +469,11 @@
|
|
469
469
|
"src": "852:35:136",
|
470
470
|
"tryCall": false,
|
471
471
|
"typeDescriptions": {
|
472
|
-
"typeIdentifier": "t_contract$_IUniqueEntitySystem_$
|
472
|
+
"typeIdentifier": "t_contract$_IUniqueEntitySystem_$39389",
|
473
473
|
"typeString": "contract IUniqueEntitySystem"
|
474
474
|
}
|
475
475
|
},
|
476
|
-
"id":
|
476
|
+
"id": 56466,
|
477
477
|
"isConstant": false,
|
478
478
|
"isLValue": false,
|
479
479
|
"isPure": false,
|
@@ -481,14 +481,14 @@
|
|
481
481
|
"memberLocation": "888:35:136",
|
482
482
|
"memberName": "uniqueEntity_system_getUniqueEntity",
|
483
483
|
"nodeType": "MemberAccess",
|
484
|
-
"referencedDeclaration":
|
484
|
+
"referencedDeclaration": 39388,
|
485
485
|
"src": "852:71:136",
|
486
486
|
"typeDescriptions": {
|
487
487
|
"typeIdentifier": "t_function_external_nonpayable$__$returns$_t_bytes32_$",
|
488
488
|
"typeString": "function () external returns (bytes32)"
|
489
489
|
}
|
490
490
|
},
|
491
|
-
"id":
|
491
|
+
"id": 56467,
|
492
492
|
"isConstant": false,
|
493
493
|
"isLValue": false,
|
494
494
|
"isPure": false,
|
@@ -504,15 +504,15 @@
|
|
504
504
|
"typeString": "bytes32"
|
505
505
|
}
|
506
506
|
},
|
507
|
-
"functionReturnParameters":
|
508
|
-
"id":
|
507
|
+
"functionReturnParameters": 56459,
|
508
|
+
"id": 56468,
|
509
509
|
"nodeType": "Return",
|
510
510
|
"src": "845:80:136"
|
511
511
|
}
|
512
512
|
]
|
513
513
|
},
|
514
514
|
"documentation": {
|
515
|
-
"id":
|
515
|
+
"id": 56452,
|
516
516
|
"nodeType": "StructuredDocumentation",
|
517
517
|
"src": "721:45:136",
|
518
518
|
"text": " Increment and get an entity nonce."
|
@@ -523,41 +523,41 @@
|
|
523
523
|
"name": "getUniqueEntity",
|
524
524
|
"nameLocation": "776:15:136",
|
525
525
|
"parameters": {
|
526
|
-
"id":
|
526
|
+
"id": 56456,
|
527
527
|
"nodeType": "ParameterList",
|
528
528
|
"parameters": [
|
529
529
|
{
|
530
530
|
"constant": false,
|
531
|
-
"id":
|
531
|
+
"id": 56455,
|
532
532
|
"mutability": "mutable",
|
533
533
|
"name": "world",
|
534
534
|
"nameLocation": "803:5:136",
|
535
535
|
"nodeType": "VariableDeclaration",
|
536
|
-
"scope":
|
536
|
+
"scope": 56470,
|
537
537
|
"src": "792:16:136",
|
538
538
|
"stateVariable": false,
|
539
539
|
"storageLocation": "default",
|
540
540
|
"typeDescriptions": {
|
541
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
541
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$39243",
|
542
542
|
"typeString": "contract IBaseWorld"
|
543
543
|
},
|
544
544
|
"typeName": {
|
545
|
-
"id":
|
545
|
+
"id": 56454,
|
546
546
|
"nodeType": "UserDefinedTypeName",
|
547
547
|
"pathNode": {
|
548
|
-
"id":
|
548
|
+
"id": 56453,
|
549
549
|
"name": "IBaseWorld",
|
550
550
|
"nameLocations": [
|
551
551
|
"792:10:136"
|
552
552
|
],
|
553
553
|
"nodeType": "IdentifierPath",
|
554
|
-
"referencedDeclaration":
|
554
|
+
"referencedDeclaration": 39243,
|
555
555
|
"src": "792:10:136"
|
556
556
|
},
|
557
|
-
"referencedDeclaration":
|
557
|
+
"referencedDeclaration": 39243,
|
558
558
|
"src": "792:10:136",
|
559
559
|
"typeDescriptions": {
|
560
|
-
"typeIdentifier": "t_contract$_IBaseWorld_$
|
560
|
+
"typeIdentifier": "t_contract$_IBaseWorld_$39243",
|
561
561
|
"typeString": "contract IBaseWorld"
|
562
562
|
}
|
563
563
|
},
|
@@ -567,17 +567,17 @@
|
|
567
567
|
"src": "791:18:136"
|
568
568
|
},
|
569
569
|
"returnParameters": {
|
570
|
-
"id":
|
570
|
+
"id": 56459,
|
571
571
|
"nodeType": "ParameterList",
|
572
572
|
"parameters": [
|
573
573
|
{
|
574
574
|
"constant": false,
|
575
|
-
"id":
|
575
|
+
"id": 56458,
|
576
576
|
"mutability": "mutable",
|
577
577
|
"name": "uniqueEntity",
|
578
578
|
"nameLocation": "827:12:136",
|
579
579
|
"nodeType": "VariableDeclaration",
|
580
|
-
"scope":
|
580
|
+
"scope": 56470,
|
581
581
|
"src": "819:20:136",
|
582
582
|
"stateVariable": false,
|
583
583
|
"storageLocation": "default",
|
@@ -586,7 +586,7 @@
|
|
586
586
|
"typeString": "bytes32"
|
587
587
|
},
|
588
588
|
"typeName": {
|
589
|
-
"id":
|
589
|
+
"id": 56457,
|
590
590
|
"name": "bytes32",
|
591
591
|
"nodeType": "ElementaryTypeName",
|
592
592
|
"src": "819:7:136",
|
@@ -600,7 +600,7 @@
|
|
600
600
|
],
|
601
601
|
"src": "818:22:136"
|
602
602
|
},
|
603
|
-
"scope":
|
603
|
+
"scope": 56471,
|
604
604
|
"stateMutability": "nonpayable",
|
605
605
|
"virtual": false,
|
606
606
|
"visibility": "internal"
|