@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-5741d53d

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 (121) hide show
  1. package/dist/mud.config.js +1 -1
  2. package/dist/mud.config.js.map +1 -1
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Callbacks.sol/Callbacks.json +45 -45
  5. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
  6. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  7. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
  11. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  12. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  13. package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
  14. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  16. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  17. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  18. package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
  19. package/out/IModule.sol/IModule.json +139 -139
  20. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  21. package/out/ISystemHook.sol/ISystemHook.json +141 -141
  22. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  23. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  24. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  25. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  26. package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
  27. package/out/IWorldKernel.sol/IWorldCall.json +251 -251
  28. package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
  29. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
  30. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
  31. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  32. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  33. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  34. package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
  35. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  36. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
  37. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
  38. package/out/Mixed.sol/Mixed.json +66 -66
  39. package/out/Module.sol/Module.json +73 -73
  40. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  41. package/out/Schema.sol/SchemaInstance.json +30 -30
  42. package/out/Schema.sol/SchemaLib.json +30 -30
  43. package/out/SchemaType.sol/SchemaType.json +276 -276
  44. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
  45. package/out/StoreHook.sol/StoreHook.json +358 -358
  46. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  47. package/out/System.sol/System.json +19 -19
  48. package/out/Tables.sol/Tables.json +73 -73
  49. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
  50. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  51. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  52. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
  53. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
  54. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
  55. package/out/Vector2.sol/Vector2.json +52 -52
  56. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  57. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  58. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  59. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  60. package/out/constants.sol/constants.json +142 -142
  61. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  62. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  63. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  64. package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
  65. package/out/hasKey.sol/hasKey.json +215 -215
  66. package/out/index.sol/index.json +73 -73
  67. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  69. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
  70. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  71. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
  72. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
  73. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  74. package/out/query.sol/query.json +1892 -1892
  75. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  76. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  77. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  78. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  79. package/out/src/IStore.sol/IStore.json +885 -885
  80. package/out/src/IStore.sol/IStoreData.json +885 -885
  81. package/out/src/IStore.sol/IStoreRead.json +885 -885
  82. package/out/src/IStore.sol/IStoreRegistration.json +885 -885
  83. package/out/src/IStore.sol/IStoreWrite.json +885 -885
  84. package/out/src/Memory.sol/Memory.json +89 -89
  85. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  86. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  87. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  88. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  89. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  90. package/out/src/Schema.sol/SchemaLib.json +787 -787
  91. package/out/src/Slice.sol/SliceInstance.json +429 -429
  92. package/out/src/Slice.sol/SliceLib.json +429 -429
  93. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  94. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  95. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  96. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  97. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  98. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  99. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  100. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  101. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  102. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  103. package/out/tables/Tables.sol/Tables.json +7288 -7288
  104. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  105. package/out/types.sol/types.json +131 -23
  106. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  107. package/package.json +8 -8
  108. package/src/interfaces/IBaseWorld.sol +1 -3
  109. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  110. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  111. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  112. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  113. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  114. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  115. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  116. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  117. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  118. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
  119. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  120. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  121. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -10,29 +10,29 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/modules/uniqueentity/getUniqueEntity.sol",
13
- "id": 66538,
13
+ "id": 66545,
14
14
  "exportedSymbols": {
15
15
  "IBaseWorld": [
16
- 49289
16
+ 49262
17
17
  ],
18
18
  "IUniqueEntitySystem": [
19
- 49297
19
+ 49463
20
20
  ],
21
21
  "StoreSwitch": [
22
- 41001
22
+ 41020
23
23
  ],
24
24
  "getUniqueEntity": [
25
- 66518,
26
- 66537
25
+ 66525,
26
+ 66544
27
27
  ]
28
28
  },
29
29
  "nodeType": "SourceUnit",
30
- "src": "32:905:137",
30
+ "src": "32:897:136",
31
31
  "nodes": [
32
32
  {
33
- "id": 66493,
33
+ "id": 66500,
34
34
  "nodeType": "PragmaDirective",
35
- "src": "32:25:137",
35
+ "src": "32:25:136",
36
36
  "nodes": [],
37
37
  "literals": [
38
38
  "solidity",
@@ -42,24 +42,24 @@
42
42
  ]
43
43
  },
44
44
  {
45
- "id": 66495,
45
+ "id": 66502,
46
46
  "nodeType": "ImportDirective",
47
- "src": "59:68:137",
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": 66538,
53
- "sourceUnit": 41002,
52
+ "scope": 66545,
53
+ "sourceUnit": 41021,
54
54
  "symbolAliases": [
55
55
  {
56
56
  "foreign": {
57
- "id": 66494,
57
+ "id": 66501,
58
58
  "name": "StoreSwitch",
59
59
  "nodeType": "Identifier",
60
60
  "overloadedDeclarations": [],
61
- "referencedDeclaration": 41001,
62
- "src": "68:11:137",
61
+ "referencedDeclaration": 41020,
62
+ "src": "68:11:136",
63
63
  "typeDescriptions": {}
64
64
  },
65
65
  "nameLocation": "-1:-1:-1"
@@ -68,24 +68,24 @@
68
68
  "unitAlias": ""
69
69
  },
70
70
  {
71
- "id": 66497,
71
+ "id": 66504,
72
72
  "nodeType": "ImportDirective",
73
- "src": "129:77:137",
73
+ "src": "128:85:136",
74
74
  "nodes": [],
75
- "absolutePath": "node_modules/@latticexyz/world/src/interfaces/IBaseWorld.sol",
76
- "file": "@latticexyz/world/src/interfaces/IBaseWorld.sol",
75
+ "absolutePath": "node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol",
76
+ "file": "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol",
77
77
  "nameLocation": "-1:-1:-1",
78
- "scope": 66538,
79
- "sourceUnit": 49290,
78
+ "scope": 66545,
79
+ "sourceUnit": 49263,
80
80
  "symbolAliases": [
81
81
  {
82
82
  "foreign": {
83
- "id": 66496,
83
+ "id": 66503,
84
84
  "name": "IBaseWorld",
85
85
  "nodeType": "Identifier",
86
86
  "overloadedDeclarations": [],
87
- "referencedDeclaration": 49289,
88
- "src": "138:10:137",
87
+ "referencedDeclaration": 49262,
88
+ "src": "137:10:136",
89
89
  "typeDescriptions": {}
90
90
  },
91
91
  "nameLocation": "-1:-1:-1"
@@ -94,24 +94,24 @@
94
94
  "unitAlias": ""
95
95
  },
96
96
  {
97
- "id": 66499,
97
+ "id": 66506,
98
98
  "nodeType": "ImportDirective",
99
- "src": "207:95:137",
99
+ "src": "215:79:136",
100
100
  "nodes": [],
101
- "absolutePath": "node_modules/@latticexyz/world/src/interfaces/IUniqueEntitySystem.sol",
102
- "file": "@latticexyz/world/src/interfaces/IUniqueEntitySystem.sol",
101
+ "absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
102
+ "file": "../../interfaces/IUniqueEntitySystem.sol",
103
103
  "nameLocation": "-1:-1:-1",
104
- "scope": 66538,
105
- "sourceUnit": 49298,
104
+ "scope": 66545,
105
+ "sourceUnit": 49464,
106
106
  "symbolAliases": [
107
107
  {
108
108
  "foreign": {
109
- "id": 66498,
109
+ "id": 66505,
110
110
  "name": "IUniqueEntitySystem",
111
111
  "nodeType": "Identifier",
112
112
  "overloadedDeclarations": [],
113
- "referencedDeclaration": 49297,
114
- "src": "216:19:137",
113
+ "referencedDeclaration": 49463,
114
+ "src": "224:19:136",
115
115
  "typeDescriptions": {}
116
116
  },
117
117
  "nameLocation": "-1:-1:-1"
@@ -120,30 +120,30 @@
120
120
  "unitAlias": ""
121
121
  },
122
122
  {
123
- "id": 66518,
123
+ "id": 66525,
124
124
  "nodeType": "FunctionDefinition",
125
- "src": "542:185:137",
125
+ "src": "534:185:136",
126
126
  "nodes": [],
127
127
  "body": {
128
- "id": 66517,
128
+ "id": 66524,
129
129
  "nodeType": "Block",
130
- "src": "600:127:137",
130
+ "src": "592:127:136",
131
131
  "nodes": [],
132
132
  "statements": [
133
133
  {
134
134
  "assignments": [
135
- 66506
135
+ 66513
136
136
  ],
137
137
  "declarations": [
138
138
  {
139
139
  "constant": false,
140
- "id": 66506,
140
+ "id": 66513,
141
141
  "mutability": "mutable",
142
142
  "name": "world",
143
- "nameLocation": "612:5:137",
143
+ "nameLocation": "604:5:136",
144
144
  "nodeType": "VariableDeclaration",
145
- "scope": 66517,
146
- "src": "604:13:137",
145
+ "scope": 66524,
146
+ "src": "596:13:136",
147
147
  "stateVariable": false,
148
148
  "storageLocation": "default",
149
149
  "typeDescriptions": {
@@ -151,10 +151,10 @@
151
151
  "typeString": "address"
152
152
  },
153
153
  "typeName": {
154
- "id": 66505,
154
+ "id": 66512,
155
155
  "name": "address",
156
156
  "nodeType": "ElementaryTypeName",
157
- "src": "604:7:137",
157
+ "src": "596:7:136",
158
158
  "stateMutability": "nonpayable",
159
159
  "typeDescriptions": {
160
160
  "typeIdentifier": "t_address",
@@ -164,39 +164,39 @@
164
164
  "visibility": "internal"
165
165
  }
166
166
  ],
167
- "id": 66510,
167
+ "id": 66517,
168
168
  "initialValue": {
169
169
  "arguments": [],
170
170
  "expression": {
171
171
  "argumentTypes": [],
172
172
  "expression": {
173
- "id": 66507,
173
+ "id": 66514,
174
174
  "name": "StoreSwitch",
175
175
  "nodeType": "Identifier",
176
176
  "overloadedDeclarations": [],
177
- "referencedDeclaration": 41001,
178
- "src": "620:11:137",
177
+ "referencedDeclaration": 41020,
178
+ "src": "612:11:136",
179
179
  "typeDescriptions": {
180
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$41001_$",
180
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$41020_$",
181
181
  "typeString": "type(library StoreSwitch)"
182
182
  }
183
183
  },
184
- "id": 66508,
184
+ "id": 66515,
185
185
  "isConstant": false,
186
186
  "isLValue": false,
187
187
  "isPure": false,
188
188
  "lValueRequested": false,
189
- "memberLocation": "632:15:137",
189
+ "memberLocation": "624:15:136",
190
190
  "memberName": "getStoreAddress",
191
191
  "nodeType": "MemberAccess",
192
- "referencedDeclaration": 39771,
193
- "src": "620:27:137",
192
+ "referencedDeclaration": 39790,
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": 66509,
199
+ "id": 66516,
200
200
  "isConstant": false,
201
201
  "isLValue": false,
202
202
  "isPure": false,
@@ -205,7 +205,7 @@
205
205
  "nameLocations": [],
206
206
  "names": [],
207
207
  "nodeType": "FunctionCall",
208
- "src": "620:29:137",
208
+ "src": "612:29:136",
209
209
  "tryCall": false,
210
210
  "typeDescriptions": {
211
211
  "typeIdentifier": "t_address",
@@ -213,7 +213,7 @@
213
213
  }
214
214
  },
215
215
  "nodeType": "VariableDeclarationStatement",
216
- "src": "604:45:137"
216
+ "src": "596:45:136"
217
217
  },
218
218
  {
219
219
  "expression": {
@@ -223,12 +223,12 @@
223
223
  "expression": {
224
224
  "arguments": [
225
225
  {
226
- "id": 66512,
226
+ "id": 66519,
227
227
  "name": "world",
228
228
  "nodeType": "Identifier",
229
229
  "overloadedDeclarations": [],
230
- "referencedDeclaration": 66506,
231
- "src": "680:5:137",
230
+ "referencedDeclaration": 66513,
231
+ "src": "672:5:136",
232
232
  "typeDescriptions": {
233
233
  "typeIdentifier": "t_address",
234
234
  "typeString": "address"
@@ -242,18 +242,18 @@
242
242
  "typeString": "address"
243
243
  }
244
244
  ],
245
- "id": 66511,
245
+ "id": 66518,
246
246
  "name": "IUniqueEntitySystem",
247
247
  "nodeType": "Identifier",
248
248
  "overloadedDeclarations": [],
249
- "referencedDeclaration": 49297,
250
- "src": "660:19:137",
249
+ "referencedDeclaration": 49463,
250
+ "src": "652:19:136",
251
251
  "typeDescriptions": {
252
- "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$49297_$",
252
+ "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$49463_$",
253
253
  "typeString": "type(contract IUniqueEntitySystem)"
254
254
  }
255
255
  },
256
- "id": 66513,
256
+ "id": 66520,
257
257
  "isConstant": false,
258
258
  "isLValue": false,
259
259
  "isPure": false,
@@ -262,29 +262,29 @@
262
262
  "nameLocations": [],
263
263
  "names": [],
264
264
  "nodeType": "FunctionCall",
265
- "src": "660:26:137",
265
+ "src": "652:26:136",
266
266
  "tryCall": false,
267
267
  "typeDescriptions": {
268
- "typeIdentifier": "t_contract$_IUniqueEntitySystem_$49297",
268
+ "typeIdentifier": "t_contract$_IUniqueEntitySystem_$49463",
269
269
  "typeString": "contract IUniqueEntitySystem"
270
270
  }
271
271
  },
272
- "id": 66514,
272
+ "id": 66521,
273
273
  "isConstant": false,
274
274
  "isLValue": false,
275
275
  "isPure": false,
276
276
  "lValueRequested": false,
277
- "memberLocation": "687:35:137",
277
+ "memberLocation": "679:35:136",
278
278
  "memberName": "uniqueEntity_system_getUniqueEntity",
279
279
  "nodeType": "MemberAccess",
280
- "referencedDeclaration": 49296,
281
- "src": "660:62:137",
280
+ "referencedDeclaration": 49462,
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": 66515,
287
+ "id": 66522,
288
288
  "isConstant": false,
289
289
  "isLValue": false,
290
290
  "isPure": false,
@@ -293,50 +293,50 @@
293
293
  "nameLocations": [],
294
294
  "names": [],
295
295
  "nodeType": "FunctionCall",
296
- "src": "660:64:137",
296
+ "src": "652:64:136",
297
297
  "tryCall": false,
298
298
  "typeDescriptions": {
299
299
  "typeIdentifier": "t_bytes32",
300
300
  "typeString": "bytes32"
301
301
  }
302
302
  },
303
- "functionReturnParameters": 66504,
304
- "id": 66516,
303
+ "functionReturnParameters": 66511,
304
+ "id": 66523,
305
305
  "nodeType": "Return",
306
- "src": "653:71:137"
306
+ "src": "645:71:136"
307
307
  }
308
308
  ]
309
309
  },
310
310
  "documentation": {
311
- "id": 66500,
311
+ "id": 66507,
312
312
  "nodeType": "StructuredDocumentation",
313
- "src": "304:237:137",
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."
315
315
  },
316
316
  "implemented": true,
317
317
  "kind": "freeFunction",
318
318
  "modifiers": [],
319
319
  "name": "getUniqueEntity",
320
- "nameLocation": "551:15:137",
320
+ "nameLocation": "543:15:136",
321
321
  "parameters": {
322
- "id": 66501,
322
+ "id": 66508,
323
323
  "nodeType": "ParameterList",
324
324
  "parameters": [],
325
- "src": "566:2:137"
325
+ "src": "558:2:136"
326
326
  },
327
327
  "returnParameters": {
328
- "id": 66504,
328
+ "id": 66511,
329
329
  "nodeType": "ParameterList",
330
330
  "parameters": [
331
331
  {
332
332
  "constant": false,
333
- "id": 66503,
333
+ "id": 66510,
334
334
  "mutability": "mutable",
335
335
  "name": "uniqueEntity",
336
- "nameLocation": "586:12:137",
336
+ "nameLocation": "578:12:136",
337
337
  "nodeType": "VariableDeclaration",
338
- "scope": 66518,
339
- "src": "578:20:137",
338
+ "scope": 66525,
339
+ "src": "570:20:136",
340
340
  "stateVariable": false,
341
341
  "storageLocation": "default",
342
342
  "typeDescriptions": {
@@ -344,10 +344,10 @@
344
344
  "typeString": "bytes32"
345
345
  },
346
346
  "typeName": {
347
- "id": 66502,
347
+ "id": 66509,
348
348
  "name": "bytes32",
349
349
  "nodeType": "ElementaryTypeName",
350
- "src": "578:7:137",
350
+ "src": "570:7:136",
351
351
  "typeDescriptions": {
352
352
  "typeIdentifier": "t_bytes32",
353
353
  "typeString": "bytes32"
@@ -356,22 +356,22 @@
356
356
  "visibility": "internal"
357
357
  }
358
358
  ],
359
- "src": "577:22:137"
359
+ "src": "569:22:136"
360
360
  },
361
- "scope": 66538,
361
+ "scope": 66545,
362
362
  "stateMutability": "nonpayable",
363
363
  "virtual": false,
364
364
  "visibility": "internal"
365
365
  },
366
366
  {
367
- "id": 66537,
367
+ "id": 66544,
368
368
  "nodeType": "FunctionDefinition",
369
- "src": "775:161:137",
369
+ "src": "767:161:136",
370
370
  "nodes": [],
371
371
  "body": {
372
- "id": 66536,
372
+ "id": 66543,
373
373
  "nodeType": "Block",
374
- "src": "849:87:137",
374
+ "src": "841:87:136",
375
375
  "nodes": [],
376
376
  "statements": [
377
377
  {
@@ -384,14 +384,14 @@
384
384
  {
385
385
  "arguments": [
386
386
  {
387
- "id": 66530,
387
+ "id": 66537,
388
388
  "name": "world",
389
389
  "nodeType": "Identifier",
390
390
  "overloadedDeclarations": [],
391
- "referencedDeclaration": 66522,
392
- "src": "888:5:137",
391
+ "referencedDeclaration": 66529,
392
+ "src": "880:5:136",
393
393
  "typeDescriptions": {
394
- "typeIdentifier": "t_contract$_IBaseWorld_$49289",
394
+ "typeIdentifier": "t_contract$_IBaseWorld_$49262",
395
395
  "typeString": "contract IBaseWorld"
396
396
  }
397
397
  }
@@ -399,30 +399,30 @@
399
399
  "expression": {
400
400
  "argumentTypes": [
401
401
  {
402
- "typeIdentifier": "t_contract$_IBaseWorld_$49289",
402
+ "typeIdentifier": "t_contract$_IBaseWorld_$49262",
403
403
  "typeString": "contract IBaseWorld"
404
404
  }
405
405
  ],
406
- "id": 66529,
406
+ "id": 66536,
407
407
  "isConstant": false,
408
408
  "isLValue": false,
409
409
  "isPure": true,
410
410
  "lValueRequested": false,
411
411
  "nodeType": "ElementaryTypeNameExpression",
412
- "src": "880:7:137",
412
+ "src": "872:7:136",
413
413
  "typeDescriptions": {
414
414
  "typeIdentifier": "t_type$_t_address_$",
415
415
  "typeString": "type(address)"
416
416
  },
417
417
  "typeName": {
418
- "id": 66528,
418
+ "id": 66535,
419
419
  "name": "address",
420
420
  "nodeType": "ElementaryTypeName",
421
- "src": "880:7:137",
421
+ "src": "872:7:136",
422
422
  "typeDescriptions": {}
423
423
  }
424
424
  },
425
- "id": 66531,
425
+ "id": 66538,
426
426
  "isConstant": false,
427
427
  "isLValue": false,
428
428
  "isPure": false,
@@ -431,7 +431,7 @@
431
431
  "nameLocations": [],
432
432
  "names": [],
433
433
  "nodeType": "FunctionCall",
434
- "src": "880:14:137",
434
+ "src": "872:14:136",
435
435
  "tryCall": false,
436
436
  "typeDescriptions": {
437
437
  "typeIdentifier": "t_address",
@@ -446,18 +446,18 @@
446
446
  "typeString": "address"
447
447
  }
448
448
  ],
449
- "id": 66527,
449
+ "id": 66534,
450
450
  "name": "IUniqueEntitySystem",
451
451
  "nodeType": "Identifier",
452
452
  "overloadedDeclarations": [],
453
- "referencedDeclaration": 49297,
454
- "src": "860:19:137",
453
+ "referencedDeclaration": 49463,
454
+ "src": "852:19:136",
455
455
  "typeDescriptions": {
456
- "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$49297_$",
456
+ "typeIdentifier": "t_type$_t_contract$_IUniqueEntitySystem_$49463_$",
457
457
  "typeString": "type(contract IUniqueEntitySystem)"
458
458
  }
459
459
  },
460
- "id": 66532,
460
+ "id": 66539,
461
461
  "isConstant": false,
462
462
  "isLValue": false,
463
463
  "isPure": false,
@@ -466,29 +466,29 @@
466
466
  "nameLocations": [],
467
467
  "names": [],
468
468
  "nodeType": "FunctionCall",
469
- "src": "860:35:137",
469
+ "src": "852:35:136",
470
470
  "tryCall": false,
471
471
  "typeDescriptions": {
472
- "typeIdentifier": "t_contract$_IUniqueEntitySystem_$49297",
472
+ "typeIdentifier": "t_contract$_IUniqueEntitySystem_$49463",
473
473
  "typeString": "contract IUniqueEntitySystem"
474
474
  }
475
475
  },
476
- "id": 66533,
476
+ "id": 66540,
477
477
  "isConstant": false,
478
478
  "isLValue": false,
479
479
  "isPure": false,
480
480
  "lValueRequested": false,
481
- "memberLocation": "896:35:137",
481
+ "memberLocation": "888:35:136",
482
482
  "memberName": "uniqueEntity_system_getUniqueEntity",
483
483
  "nodeType": "MemberAccess",
484
- "referencedDeclaration": 49296,
485
- "src": "860:71:137",
484
+ "referencedDeclaration": 49462,
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": 66534,
491
+ "id": 66541,
492
492
  "isConstant": false,
493
493
  "isLValue": false,
494
494
  "isPure": false,
@@ -497,88 +497,88 @@
497
497
  "nameLocations": [],
498
498
  "names": [],
499
499
  "nodeType": "FunctionCall",
500
- "src": "860:73:137",
500
+ "src": "852:73:136",
501
501
  "tryCall": false,
502
502
  "typeDescriptions": {
503
503
  "typeIdentifier": "t_bytes32",
504
504
  "typeString": "bytes32"
505
505
  }
506
506
  },
507
- "functionReturnParameters": 66526,
508
- "id": 66535,
507
+ "functionReturnParameters": 66533,
508
+ "id": 66542,
509
509
  "nodeType": "Return",
510
- "src": "853:80:137"
510
+ "src": "845:80:136"
511
511
  }
512
512
  ]
513
513
  },
514
514
  "documentation": {
515
- "id": 66519,
515
+ "id": 66526,
516
516
  "nodeType": "StructuredDocumentation",
517
- "src": "729:45:137",
517
+ "src": "721:45:136",
518
518
  "text": " Increment and get an entity nonce."
519
519
  },
520
520
  "implemented": true,
521
521
  "kind": "freeFunction",
522
522
  "modifiers": [],
523
523
  "name": "getUniqueEntity",
524
- "nameLocation": "784:15:137",
524
+ "nameLocation": "776:15:136",
525
525
  "parameters": {
526
- "id": 66523,
526
+ "id": 66530,
527
527
  "nodeType": "ParameterList",
528
528
  "parameters": [
529
529
  {
530
530
  "constant": false,
531
- "id": 66522,
531
+ "id": 66529,
532
532
  "mutability": "mutable",
533
533
  "name": "world",
534
- "nameLocation": "811:5:137",
534
+ "nameLocation": "803:5:136",
535
535
  "nodeType": "VariableDeclaration",
536
- "scope": 66537,
537
- "src": "800:16:137",
536
+ "scope": 66544,
537
+ "src": "792:16:136",
538
538
  "stateVariable": false,
539
539
  "storageLocation": "default",
540
540
  "typeDescriptions": {
541
- "typeIdentifier": "t_contract$_IBaseWorld_$49289",
541
+ "typeIdentifier": "t_contract$_IBaseWorld_$49262",
542
542
  "typeString": "contract IBaseWorld"
543
543
  },
544
544
  "typeName": {
545
- "id": 66521,
545
+ "id": 66528,
546
546
  "nodeType": "UserDefinedTypeName",
547
547
  "pathNode": {
548
- "id": 66520,
548
+ "id": 66527,
549
549
  "name": "IBaseWorld",
550
550
  "nameLocations": [
551
- "800:10:137"
551
+ "792:10:136"
552
552
  ],
553
553
  "nodeType": "IdentifierPath",
554
- "referencedDeclaration": 49289,
555
- "src": "800:10:137"
554
+ "referencedDeclaration": 49262,
555
+ "src": "792:10:136"
556
556
  },
557
- "referencedDeclaration": 49289,
558
- "src": "800:10:137",
557
+ "referencedDeclaration": 49262,
558
+ "src": "792:10:136",
559
559
  "typeDescriptions": {
560
- "typeIdentifier": "t_contract$_IBaseWorld_$49289",
560
+ "typeIdentifier": "t_contract$_IBaseWorld_$49262",
561
561
  "typeString": "contract IBaseWorld"
562
562
  }
563
563
  },
564
564
  "visibility": "internal"
565
565
  }
566
566
  ],
567
- "src": "799:18:137"
567
+ "src": "791:18:136"
568
568
  },
569
569
  "returnParameters": {
570
- "id": 66526,
570
+ "id": 66533,
571
571
  "nodeType": "ParameterList",
572
572
  "parameters": [
573
573
  {
574
574
  "constant": false,
575
- "id": 66525,
575
+ "id": 66532,
576
576
  "mutability": "mutable",
577
577
  "name": "uniqueEntity",
578
- "nameLocation": "835:12:137",
578
+ "nameLocation": "827:12:136",
579
579
  "nodeType": "VariableDeclaration",
580
- "scope": 66537,
581
- "src": "827:20:137",
580
+ "scope": 66544,
581
+ "src": "819:20:136",
582
582
  "stateVariable": false,
583
583
  "storageLocation": "default",
584
584
  "typeDescriptions": {
@@ -586,10 +586,10 @@
586
586
  "typeString": "bytes32"
587
587
  },
588
588
  "typeName": {
589
- "id": 66524,
589
+ "id": 66531,
590
590
  "name": "bytes32",
591
591
  "nodeType": "ElementaryTypeName",
592
- "src": "827:7:137",
592
+ "src": "819:7:136",
593
593
  "typeDescriptions": {
594
594
  "typeIdentifier": "t_bytes32",
595
595
  "typeString": "bytes32"
@@ -598,9 +598,9 @@
598
598
  "visibility": "internal"
599
599
  }
600
600
  ],
601
- "src": "826:22:137"
601
+ "src": "818:22:136"
602
602
  },
603
- "scope": 66538,
603
+ "scope": 66545,
604
604
  "stateMutability": "nonpayable",
605
605
  "virtual": false,
606
606
  "visibility": "internal"
@@ -608,5 +608,5 @@
608
608
  ],
609
609
  "license": "MIT"
610
610
  },
611
- "id": 137
611
+ "id": 136
612
612
  }