@latticexyz/world-modules 2.0.0-main-e20633d4 → 2.0.0-main-071aadb9

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 (113) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +4463 -4463
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
  5. package/out/DelegationControl.sol/DelegationControl.json +98 -98
  6. package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
  9. package/out/Hook.sol/HookInstance.json +13 -13
  10. package/out/Hook.sol/HookLib.json +13 -13
  11. package/out/Hooks.sol/Hooks.json +3186 -3186
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +106 -100
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +98 -92
  14. package/out/IBaseWorld.sol/IBaseWorld.json +79 -79
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +92 -86
  16. package/out/ICoreSystem.sol/ICoreSystem.json +19 -13
  17. package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +52 -46
  20. package/out/ISystemHook.sol/ISystemHook.json +86 -86
  21. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  22. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  23. package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
  24. package/out/IWorldKernel.sol/IWorldCall.json +154 -154
  25. package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
  26. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  27. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +329 -323
  28. package/out/KeysInTable.sol/KeysInTable.json +18239 -18239
  29. package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
  30. package/out/KeysInTableModule.sol/KeysInTableModule.json +564 -564
  31. package/out/KeysWithValue.sol/KeysWithValue.json +6661 -6661
  32. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1023 -1023
  33. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +450 -450
  34. package/out/Memory.sol/Memory.json +4 -4
  35. package/out/Module.sol/Module.json +88 -88
  36. package/out/ResourceIds.sol/ResourceIds.json +1237 -1231
  37. package/out/Schema.sol/SchemaInstance.json +72 -72
  38. package/out/Schema.sol/SchemaLib.json +72 -72
  39. package/out/SchemaType.sol/SchemaType.json +276 -276
  40. package/out/Slice.sol/SliceInstance.json +4 -4
  41. package/out/Slice.sol/SliceLib.json +4 -4
  42. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +330 -330
  43. package/out/Storage.sol/Storage.json +7 -7
  44. package/out/StoreCore.sol/StoreCore.json +101 -101
  45. package/out/StoreCore.sol/StoreCoreInternal.json +101 -101
  46. package/out/StoreHook.sol/StoreHook.json +368 -368
  47. package/out/StoreHooks.sol/StoreHooks.json +6042 -6042
  48. package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
  49. package/out/System.sol/System.json +32 -32
  50. package/out/Tables.sol/Tables.json +10401 -10401
  51. package/out/TightCoder.sol/TightCoder.json +124 -124
  52. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
  53. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3442 -3442
  54. package/out/UniqueEntity.sol/UniqueEntity.json +2344 -2344
  55. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +351 -351
  56. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
  57. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4568 -4562
  58. package/out/WorldContext.sol/WorldContextConsumer.json +376 -376
  59. package/out/WorldContext.sol/WorldContextProvider.json +376 -376
  60. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  61. package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  62. package/out/constants.sol/LayoutOffsets.json +79 -79
  63. package/out/constants.sol/constants.json +115 -115
  64. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  65. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  66. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  67. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  68. package/out/hasKey.sol/hasKey.json +130 -130
  69. package/out/index.sol/index.json +53 -53
  70. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +186 -186
  71. package/out/leftMask.sol/leftMask.json +31 -31
  72. package/out/query.sol/query.json +1154 -1154
  73. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  74. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  75. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  76. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  77. package/out/src/IStore.sol/IStore.json +52 -52
  78. package/out/src/IWorldKernel.sol/IWorldCall.json +154 -154
  79. package/out/src/IWorldKernel.sol/IWorldKernel.json +154 -154
  80. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  81. package/out/src/Memory.sol/Memory.json +91 -91
  82. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  83. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  84. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  85. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  86. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  87. package/out/src/Schema.sol/SchemaLib.json +790 -790
  88. package/out/src/Slice.sol/SliceInstance.json +430 -430
  89. package/out/src/Slice.sol/SliceLib.json +430 -430
  90. package/out/src/StoreCore.sol/StoreCore.json +4473 -4473
  91. package/out/src/StoreCore.sol/StoreCoreInternal.json +4473 -4473
  92. package/out/src/StoreSwitch.sol/StoreSwitch.json +2496 -2496
  93. package/out/src/WorldContext.sol/WorldContextConsumer.json +376 -376
  94. package/out/src/WorldContext.sol/WorldContextProvider.json +376 -376
  95. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  96. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  97. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  98. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  99. package/out/tables/ResourceIds.sol/ResourceIds.json +2889 -2883
  100. package/out/tables/Tables.sol/Tables.json +12187 -12187
  101. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  102. package/out/types.sol/types.json +41 -41
  103. package/out/version.sol/version.json +7 -7
  104. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  105. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  106. package/package.json +8 -8
  107. package/src/interfaces/IBaseWorld.sol +4 -2
  108. package/src/modules/keysintable/tables/KeysInTable.sol +357 -163
  109. package/src/modules/keysintable/tables/UsedKeysIndex.sol +116 -36
  110. package/src/modules/keyswithvalue/tables/KeysWithValue.sol +163 -69
  111. package/src/modules/std-delegations/tables/CallboundDelegations.sol +87 -26
  112. package/src/modules/std-delegations/tables/TimeboundDelegations.sol +87 -26
  113. package/src/modules/uniqueentity/tables/UniqueEntity.sol +87 -26
@@ -10,27 +10,27 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/modules/uniqueentity/getUniqueEntity.sol",
13
- "id": 56931,
13
+ "id": 56940,
14
14
  "exportedSymbols": {
15
15
  "IBaseWorld": [
16
- 39703
16
+ 39711
17
17
  ],
18
18
  "IUniqueEntitySystem": [
19
- 39849
19
+ 39857
20
20
  ],
21
21
  "StoreSwitch": [
22
- 31255
22
+ 31262
23
23
  ],
24
24
  "getUniqueEntity": [
25
- 56911,
26
- 56930
25
+ 56920,
26
+ 56939
27
27
  ]
28
28
  },
29
29
  "nodeType": "SourceUnit",
30
30
  "src": "32:897:136",
31
31
  "nodes": [
32
32
  {
33
- "id": 56886,
33
+ "id": 56895,
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": 56888,
45
+ "id": 56897,
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": 56931,
53
- "sourceUnit": 31256,
52
+ "scope": 56940,
53
+ "sourceUnit": 31263,
54
54
  "symbolAliases": [
55
55
  {
56
56
  "foreign": {
57
- "id": 56887,
57
+ "id": 56896,
58
58
  "name": "StoreSwitch",
59
59
  "nodeType": "Identifier",
60
60
  "overloadedDeclarations": [],
61
- "referencedDeclaration": 31255,
61
+ "referencedDeclaration": 31262,
62
62
  "src": "68:11:136",
63
63
  "typeDescriptions": {}
64
64
  },
@@ -68,23 +68,23 @@
68
68
  "unitAlias": ""
69
69
  },
70
70
  {
71
- "id": 56890,
71
+ "id": 56899,
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": 56931,
79
- "sourceUnit": 39704,
78
+ "scope": 56940,
79
+ "sourceUnit": 39712,
80
80
  "symbolAliases": [
81
81
  {
82
82
  "foreign": {
83
- "id": 56889,
83
+ "id": 56898,
84
84
  "name": "IBaseWorld",
85
85
  "nodeType": "Identifier",
86
86
  "overloadedDeclarations": [],
87
- "referencedDeclaration": 39703,
87
+ "referencedDeclaration": 39711,
88
88
  "src": "137:10:136",
89
89
  "typeDescriptions": {}
90
90
  },
@@ -94,23 +94,23 @@
94
94
  "unitAlias": ""
95
95
  },
96
96
  {
97
- "id": 56892,
97
+ "id": 56901,
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": 56931,
105
- "sourceUnit": 39850,
104
+ "scope": 56940,
105
+ "sourceUnit": 39858,
106
106
  "symbolAliases": [
107
107
  {
108
108
  "foreign": {
109
- "id": 56891,
109
+ "id": 56900,
110
110
  "name": "IUniqueEntitySystem",
111
111
  "nodeType": "Identifier",
112
112
  "overloadedDeclarations": [],
113
- "referencedDeclaration": 39849,
113
+ "referencedDeclaration": 39857,
114
114
  "src": "224:19:136",
115
115
  "typeDescriptions": {}
116
116
  },
@@ -120,29 +120,29 @@
120
120
  "unitAlias": ""
121
121
  },
122
122
  {
123
- "id": 56911,
123
+ "id": 56920,
124
124
  "nodeType": "FunctionDefinition",
125
125
  "src": "534:185:136",
126
126
  "nodes": [],
127
127
  "body": {
128
- "id": 56910,
128
+ "id": 56919,
129
129
  "nodeType": "Block",
130
130
  "src": "592:127:136",
131
131
  "nodes": [],
132
132
  "statements": [
133
133
  {
134
134
  "assignments": [
135
- 56899
135
+ 56908
136
136
  ],
137
137
  "declarations": [
138
138
  {
139
139
  "constant": false,
140
- "id": 56899,
140
+ "id": 56908,
141
141
  "mutability": "mutable",
142
142
  "name": "world",
143
143
  "nameLocation": "604:5:136",
144
144
  "nodeType": "VariableDeclaration",
145
- "scope": 56910,
145
+ "scope": 56919,
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": 56898,
154
+ "id": 56907,
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": 56903,
167
+ "id": 56912,
168
168
  "initialValue": {
169
169
  "arguments": [],
170
170
  "expression": {
171
171
  "argumentTypes": [],
172
172
  "expression": {
173
- "id": 56900,
173
+ "id": 56909,
174
174
  "name": "StoreSwitch",
175
175
  "nodeType": "Identifier",
176
176
  "overloadedDeclarations": [],
177
- "referencedDeclaration": 31255,
177
+ "referencedDeclaration": 31262,
178
178
  "src": "612:11:136",
179
179
  "typeDescriptions": {
180
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$31255_$",
180
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$31262_$",
181
181
  "typeString": "type(library StoreSwitch)"
182
182
  }
183
183
  },
184
- "id": 56901,
184
+ "id": 56910,
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": 29999,
192
+ "referencedDeclaration": 30006,
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": 56902,
199
+ "id": 56911,
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": 56905,
226
+ "id": 56914,
227
227
  "name": "world",
228
228
  "nodeType": "Identifier",
229
229
  "overloadedDeclarations": [],
230
- "referencedDeclaration": 56899,
230
+ "referencedDeclaration": 56908,
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": 56904,
245
+ "id": 56913,
246
246
  "name": "IUniqueEntitySystem",
247
247
  "nodeType": "Identifier",
248
248
  "overloadedDeclarations": [],
249
- "referencedDeclaration": 39849,
249
+ "referencedDeclaration": 39857,
250
250
  "src": "652:19:136",
251
251
  "typeDescriptions": {
252
- "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$39849_$",
252
+ "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$39857_$",
253
253
  "typeString": "type(contract IUniqueEntitySystem)"
254
254
  }
255
255
  },
256
- "id": 56906,
256
+ "id": 56915,
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_$39849",
268
+ "typeIdentifier": "t_contract$_IUniqueEntitySystem_$39857",
269
269
  "typeString": "contract IUniqueEntitySystem"
270
270
  }
271
271
  },
272
- "id": 56907,
272
+ "id": 56916,
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": 39848,
280
+ "referencedDeclaration": 39856,
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": 56908,
287
+ "id": 56917,
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": 56897,
304
- "id": 56909,
303
+ "functionReturnParameters": 56906,
304
+ "id": 56918,
305
305
  "nodeType": "Return",
306
306
  "src": "645:71:136"
307
307
  }
308
308
  ]
309
309
  },
310
310
  "documentation": {
311
- "id": 56893,
311
+ "id": 56902,
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": 56894,
322
+ "id": 56903,
323
323
  "nodeType": "ParameterList",
324
324
  "parameters": [],
325
325
  "src": "558:2:136"
326
326
  },
327
327
  "returnParameters": {
328
- "id": 56897,
328
+ "id": 56906,
329
329
  "nodeType": "ParameterList",
330
330
  "parameters": [
331
331
  {
332
332
  "constant": false,
333
- "id": 56896,
333
+ "id": 56905,
334
334
  "mutability": "mutable",
335
335
  "name": "uniqueEntity",
336
336
  "nameLocation": "578:12:136",
337
337
  "nodeType": "VariableDeclaration",
338
- "scope": 56911,
338
+ "scope": 56920,
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": 56895,
347
+ "id": 56904,
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": 56931,
361
+ "scope": 56940,
362
362
  "stateMutability": "nonpayable",
363
363
  "virtual": false,
364
364
  "visibility": "internal"
365
365
  },
366
366
  {
367
- "id": 56930,
367
+ "id": 56939,
368
368
  "nodeType": "FunctionDefinition",
369
369
  "src": "767:161:136",
370
370
  "nodes": [],
371
371
  "body": {
372
- "id": 56929,
372
+ "id": 56938,
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": 56923,
387
+ "id": 56932,
388
388
  "name": "world",
389
389
  "nodeType": "Identifier",
390
390
  "overloadedDeclarations": [],
391
- "referencedDeclaration": 56915,
391
+ "referencedDeclaration": 56924,
392
392
  "src": "880:5:136",
393
393
  "typeDescriptions": {
394
- "typeIdentifier": "t_contract$_IBaseWorld_$39703",
394
+ "typeIdentifier": "t_contract$_IBaseWorld_$39711",
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_$39703",
402
+ "typeIdentifier": "t_contract$_IBaseWorld_$39711",
403
403
  "typeString": "contract IBaseWorld"
404
404
  }
405
405
  ],
406
- "id": 56922,
406
+ "id": 56931,
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": 56921,
418
+ "id": 56930,
419
419
  "name": "address",
420
420
  "nodeType": "ElementaryTypeName",
421
421
  "src": "872:7:136",
422
422
  "typeDescriptions": {}
423
423
  }
424
424
  },
425
- "id": 56924,
425
+ "id": 56933,
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": 56920,
449
+ "id": 56929,
450
450
  "name": "IUniqueEntitySystem",
451
451
  "nodeType": "Identifier",
452
452
  "overloadedDeclarations": [],
453
- "referencedDeclaration": 39849,
453
+ "referencedDeclaration": 39857,
454
454
  "src": "852:19:136",
455
455
  "typeDescriptions": {
456
- "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$39849_$",
456
+ "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$39857_$",
457
457
  "typeString": "type(contract IUniqueEntitySystem)"
458
458
  }
459
459
  },
460
- "id": 56925,
460
+ "id": 56934,
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_$39849",
472
+ "typeIdentifier": "t_contract$_IUniqueEntitySystem_$39857",
473
473
  "typeString": "contract IUniqueEntitySystem"
474
474
  }
475
475
  },
476
- "id": 56926,
476
+ "id": 56935,
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": 39848,
484
+ "referencedDeclaration": 39856,
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": 56927,
491
+ "id": 56936,
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": 56919,
508
- "id": 56928,
507
+ "functionReturnParameters": 56928,
508
+ "id": 56937,
509
509
  "nodeType": "Return",
510
510
  "src": "845:80:136"
511
511
  }
512
512
  ]
513
513
  },
514
514
  "documentation": {
515
- "id": 56912,
515
+ "id": 56921,
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": 56916,
526
+ "id": 56925,
527
527
  "nodeType": "ParameterList",
528
528
  "parameters": [
529
529
  {
530
530
  "constant": false,
531
- "id": 56915,
531
+ "id": 56924,
532
532
  "mutability": "mutable",
533
533
  "name": "world",
534
534
  "nameLocation": "803:5:136",
535
535
  "nodeType": "VariableDeclaration",
536
- "scope": 56930,
536
+ "scope": 56939,
537
537
  "src": "792:16:136",
538
538
  "stateVariable": false,
539
539
  "storageLocation": "default",
540
540
  "typeDescriptions": {
541
- "typeIdentifier": "t_contract$_IBaseWorld_$39703",
541
+ "typeIdentifier": "t_contract$_IBaseWorld_$39711",
542
542
  "typeString": "contract IBaseWorld"
543
543
  },
544
544
  "typeName": {
545
- "id": 56914,
545
+ "id": 56923,
546
546
  "nodeType": "UserDefinedTypeName",
547
547
  "pathNode": {
548
- "id": 56913,
548
+ "id": 56922,
549
549
  "name": "IBaseWorld",
550
550
  "nameLocations": [
551
551
  "792:10:136"
552
552
  ],
553
553
  "nodeType": "IdentifierPath",
554
- "referencedDeclaration": 39703,
554
+ "referencedDeclaration": 39711,
555
555
  "src": "792:10:136"
556
556
  },
557
- "referencedDeclaration": 39703,
557
+ "referencedDeclaration": 39711,
558
558
  "src": "792:10:136",
559
559
  "typeDescriptions": {
560
- "typeIdentifier": "t_contract$_IBaseWorld_$39703",
560
+ "typeIdentifier": "t_contract$_IBaseWorld_$39711",
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": 56919,
570
+ "id": 56928,
571
571
  "nodeType": "ParameterList",
572
572
  "parameters": [
573
573
  {
574
574
  "constant": false,
575
- "id": 56918,
575
+ "id": 56927,
576
576
  "mutability": "mutable",
577
577
  "name": "uniqueEntity",
578
578
  "nameLocation": "827:12:136",
579
579
  "nodeType": "VariableDeclaration",
580
- "scope": 56930,
580
+ "scope": 56939,
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": 56917,
589
+ "id": 56926,
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": 56931,
603
+ "scope": 56940,
604
604
  "stateMutability": "nonpayable",
605
605
  "virtual": false,
606
606
  "visibility": "internal"