@latticexyz/world-modules 2.0.0-main-cf2104eb → 2.0.0-main-fe005ee0
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 +220 -220
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4203 -4203
- package/out/DelegationControl.sol/DelegationControl.json +98 -98
- package/out/Hook.sol/HookInstance.json +13 -13
- package/out/Hook.sol/HookLib.json +13 -13
- package/out/Hooks.sol/Hooks.json +2917 -2917
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +75 -75
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +19 -19
- package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
- package/out/ISystemHook.sol/ISystemHook.json +12 -12
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +10 -10
- package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +52 -52
- package/out/KeysInTable.sol/KeysInTable.json +17953 -17953
- package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
- package/out/KeysInTableModule.sol/KeysInTableModule.json +549 -549
- package/out/KeysWithValue.sol/KeysWithValue.json +6427 -6427
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1008 -1008
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +434 -434
- package/out/Module.sol/Module.json +88 -88
- package/out/ResourceIds.sol/ResourceIds.json +964 -964
- 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 +315 -315
- package/out/StoreCore.sol/StoreCore.json +13 -13
- package/out/StoreCore.sol/StoreCoreInternal.json +13 -13
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +2692 -2692
- package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
- package/out/System.sol/System.json +32 -32
- package/out/Tables.sol/Tables.json +4684 -4684
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3210 -3210
- package/out/UniqueEntity.sol/UniqueEntity.json +2125 -2125
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +336 -336
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4308 -4308
- package/out/WorldContext.sol/WorldContextConsumer.json +24 -24
- package/out/WorldContext.sol/WorldContextProvider.json +24 -24
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +96 -96
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +96 -96
- package/out/constants.sol/constants.json +35 -35
- 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 +168 -168
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +52 -52
- package/out/src/IWorldKernel.sol/IWorldCall.json +150 -150
- package/out/src/IWorldKernel.sol/IWorldKernel.json +150 -150
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +150 -150
- 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 +4468 -4468
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4468 -4468
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2496 -2496
- package/out/src/WorldContext.sol/WorldContextConsumer.json +376 -376
- package/out/src/WorldContext.sol/WorldContextProvider.json +376 -376
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +2665 -2665
- package/out/tables/Tables.sol/Tables.json +11899 -11899
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +60 -72
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +3 -2
- package/src/modules/keysintable/tables/KeysInTable.sol +285 -135
- package/src/modules/keysintable/tables/UsedKeysIndex.sol +36 -12
- package/src/modules/keyswithvalue/tables/KeysWithValue.sol +114 -54
- package/src/modules/std-delegations/tables/CallboundDelegations.sol +36 -12
- package/src/modules/std-delegations/tables/TimeboundDelegations.sol +36 -12
- package/src/modules/uniqueentity/tables/UniqueEntity.sol +36 -12
@@ -82,7 +82,7 @@
|
|
82
82
|
"batchCall((bytes32,bytes)[])": "ce5e8dd9",
|
83
83
|
"batchCallFrom((address,bytes32,bytes)[])": "8fc8cf7e"
|
84
84
|
},
|
85
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallFromData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCallFrom\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol\":\"IBatchCallSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol\":{\"keccak256\":\"0x7a787646278283d1a8dd7d264aea3a33824fc2064d57a6dc10621b9bb5399570\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87d83c3e1c9aecc0b61b359c6a6df3b0ce1e75a16127b054b14a8d044fa5d922\",\"dweb:/ipfs/QmcoRu2V1VRTYKyMnuqqeRvDRrqXQsTmK2ehKsqKUK99ui\"]},\"/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol\":{\"keccak256\":\"
|
85
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallFromData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCallFrom\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol\":\"IBatchCallSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol\":{\"keccak256\":\"0x7a787646278283d1a8dd7d264aea3a33824fc2064d57a6dc10621b9bb5399570\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87d83c3e1c9aecc0b61b359c6a6df3b0ce1e75a16127b054b14a8d044fa5d922\",\"dweb:/ipfs/QmcoRu2V1VRTYKyMnuqqeRvDRrqXQsTmK2ehKsqKUK99ui\"]},\"/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol\":{\"keccak256\":\"0x8a1cdd3e028281fb61da725f2f6502df776f473fea963bd46e8101725d55d54c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://86e064413bb3f3be43fdba31be40e819283a07af3d914b27e1ec3e39b6a6440e\",\"dweb:/ipfs/QmPcUKj747S5dkV6EBNp66ojMBAW64XoGxpgsdVwPUiapm\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]}},\"version\":1}",
|
86
86
|
"metadata": {
|
87
87
|
"compiler": {
|
88
88
|
"version": "0.8.21+commit.d9974bed"
|
@@ -197,10 +197,10 @@
|
|
197
197
|
"license": "MIT"
|
198
198
|
},
|
199
199
|
"/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol": {
|
200
|
-
"keccak256": "
|
200
|
+
"keccak256": "0x8a1cdd3e028281fb61da725f2f6502df776f473fea963bd46e8101725d55d54c",
|
201
201
|
"urls": [
|
202
|
-
"bzz-raw://
|
203
|
-
"dweb:/ipfs/
|
202
|
+
"bzz-raw://86e064413bb3f3be43fdba31be40e819283a07af3d914b27e1ec3e39b6a6440e",
|
203
|
+
"dweb:/ipfs/QmPcUKj747S5dkV6EBNp66ojMBAW64XoGxpgsdVwPUiapm"
|
204
204
|
],
|
205
205
|
"license": "MIT"
|
206
206
|
},
|
@@ -223,10 +223,10 @@
|
|
223
223
|
24114
|
224
224
|
],
|
225
225
|
"SystemCallData": [
|
226
|
-
|
226
|
+
24293
|
227
227
|
],
|
228
228
|
"SystemCallFromData": [
|
229
|
-
|
229
|
+
24301
|
230
230
|
]
|
231
231
|
},
|
232
232
|
"nodeType": "SourceUnit",
|
@@ -253,7 +253,7 @@
|
|
253
253
|
"file": "./../../modules/core/types.sol",
|
254
254
|
"nameLocation": "-1:-1:-1",
|
255
255
|
"scope": 24115,
|
256
|
-
"sourceUnit":
|
256
|
+
"sourceUnit": 24302,
|
257
257
|
"symbolAliases": [
|
258
258
|
{
|
259
259
|
"foreign": {
|
@@ -261,7 +261,7 @@
|
|
261
261
|
"name": "SystemCallData",
|
262
262
|
"nodeType": "Identifier",
|
263
263
|
"overloadedDeclarations": [],
|
264
|
-
"referencedDeclaration":
|
264
|
+
"referencedDeclaration": 24293,
|
265
265
|
"src": "117:14:44",
|
266
266
|
"typeDescriptions": {}
|
267
267
|
},
|
@@ -273,7 +273,7 @@
|
|
273
273
|
"name": "SystemCallFromData",
|
274
274
|
"nodeType": "Identifier",
|
275
275
|
"overloadedDeclarations": [],
|
276
|
-
"referencedDeclaration":
|
276
|
+
"referencedDeclaration": 24301,
|
277
277
|
"src": "133:18:44",
|
278
278
|
"typeDescriptions": {}
|
279
279
|
},
|
@@ -314,7 +314,7 @@
|
|
314
314
|
"stateVariable": false,
|
315
315
|
"storageLocation": "calldata",
|
316
316
|
"typeDescriptions": {
|
317
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$
|
317
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$24293_calldata_ptr_$dyn_calldata_ptr",
|
318
318
|
"typeString": "struct SystemCallData[]"
|
319
319
|
},
|
320
320
|
"typeName": {
|
@@ -328,13 +328,13 @@
|
|
328
328
|
"244:14:44"
|
329
329
|
],
|
330
330
|
"nodeType": "IdentifierPath",
|
331
|
-
"referencedDeclaration":
|
331
|
+
"referencedDeclaration": 24293,
|
332
332
|
"src": "244:14:44"
|
333
333
|
},
|
334
|
-
"referencedDeclaration":
|
334
|
+
"referencedDeclaration": 24293,
|
335
335
|
"src": "244:14:44",
|
336
336
|
"typeDescriptions": {
|
337
|
-
"typeIdentifier": "t_struct$_SystemCallData_$
|
337
|
+
"typeIdentifier": "t_struct$_SystemCallData_$24293_storage_ptr",
|
338
338
|
"typeString": "struct SystemCallData"
|
339
339
|
}
|
340
340
|
},
|
@@ -342,7 +342,7 @@
|
|
342
342
|
"nodeType": "ArrayTypeName",
|
343
343
|
"src": "244:16:44",
|
344
344
|
"typeDescriptions": {
|
345
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$
|
345
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$24293_storage_$dyn_storage_ptr",
|
346
346
|
"typeString": "struct SystemCallData[]"
|
347
347
|
}
|
348
348
|
},
|
@@ -426,7 +426,7 @@
|
|
426
426
|
"stateVariable": false,
|
427
427
|
"storageLocation": "calldata",
|
428
428
|
"typeDescriptions": {
|
429
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$
|
429
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24301_calldata_ptr_$dyn_calldata_ptr",
|
430
430
|
"typeString": "struct SystemCallFromData[]"
|
431
431
|
},
|
432
432
|
"typeName": {
|
@@ -440,13 +440,13 @@
|
|
440
440
|
"356:18:44"
|
441
441
|
],
|
442
442
|
"nodeType": "IdentifierPath",
|
443
|
-
"referencedDeclaration":
|
443
|
+
"referencedDeclaration": 24301,
|
444
444
|
"src": "356:18:44"
|
445
445
|
},
|
446
|
-
"referencedDeclaration":
|
446
|
+
"referencedDeclaration": 24301,
|
447
447
|
"src": "356:18:44",
|
448
448
|
"typeDescriptions": {
|
449
|
-
"typeIdentifier": "t_struct$_SystemCallFromData_$
|
449
|
+
"typeIdentifier": "t_struct$_SystemCallFromData_$24301_storage_ptr",
|
450
450
|
"typeString": "struct SystemCallFromData"
|
451
451
|
}
|
452
452
|
},
|
@@ -454,7 +454,7 @@
|
|
454
454
|
"nodeType": "ArrayTypeName",
|
455
455
|
"src": "356:20:44",
|
456
456
|
"typeDescriptions": {
|
457
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$
|
457
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24301_storage_$dyn_storage_ptr",
|
458
458
|
"typeString": "struct SystemCallFromData[]"
|
459
459
|
}
|
460
460
|
},
|
@@ -358,7 +358,7 @@
|
|
358
358
|
23348
|
359
359
|
],
|
360
360
|
"ResourceId": [
|
361
|
-
|
361
|
+
26521
|
362
362
|
],
|
363
363
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
364
364
|
23326
|
@@ -434,7 +434,7 @@
|
|
434
434
|
"name": "ResourceId",
|
435
435
|
"nodeType": "Identifier",
|
436
436
|
"overloadedDeclarations": [],
|
437
|
-
"referencedDeclaration":
|
437
|
+
"referencedDeclaration": 26521,
|
438
438
|
"src": "174:10:33",
|
439
439
|
"typeDescriptions": {}
|
440
440
|
},
|
@@ -504,7 +504,7 @@
|
|
504
504
|
"referencedDeclaration": 23193,
|
505
505
|
"src": "457:25:33",
|
506
506
|
"typeDescriptions": {
|
507
|
-
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$
|
507
|
+
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26521_$_t_bytes_memory_ptr_$returns$_t_bool_$",
|
508
508
|
"typeString": "function IDelegationControl.verify(address,ResourceId,bytes memory) returns (bool)"
|
509
509
|
}
|
510
510
|
},
|
@@ -604,7 +604,7 @@
|
|
604
604
|
"stateVariable": false,
|
605
605
|
"storageLocation": "default",
|
606
606
|
"typeDescriptions": {
|
607
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
607
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
608
608
|
"typeString": "ResourceId"
|
609
609
|
},
|
610
610
|
"typeName": {
|
@@ -617,13 +617,13 @@
|
|
617
617
|
"808:10:33"
|
618
618
|
],
|
619
619
|
"nodeType": "IdentifierPath",
|
620
|
-
"referencedDeclaration":
|
620
|
+
"referencedDeclaration": 26521,
|
621
621
|
"src": "808:10:33"
|
622
622
|
},
|
623
|
-
"referencedDeclaration":
|
623
|
+
"referencedDeclaration": 26521,
|
624
624
|
"src": "808:10:33",
|
625
625
|
"typeDescriptions": {
|
626
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
626
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
627
627
|
"typeString": "ResourceId"
|
628
628
|
}
|
629
629
|
},
|
@@ -300,7 +300,7 @@
|
|
300
300
|
23305
|
301
301
|
],
|
302
302
|
"ResourceId": [
|
303
|
-
|
303
|
+
26521
|
304
304
|
],
|
305
305
|
"SYSTEM_HOOK_INTERFACE_ID": [
|
306
306
|
23279
|
@@ -376,7 +376,7 @@
|
|
376
376
|
"name": "ResourceId",
|
377
377
|
"nodeType": "Identifier",
|
378
378
|
"overloadedDeclarations": [],
|
379
|
-
"referencedDeclaration":
|
379
|
+
"referencedDeclaration": 26521,
|
380
380
|
"src": "130:10:36",
|
381
381
|
"typeDescriptions": {}
|
382
382
|
},
|
@@ -456,7 +456,7 @@
|
|
456
456
|
"referencedDeclaration": 23293,
|
457
457
|
"src": "421:30:36",
|
458
458
|
"typeDescriptions": {
|
459
|
-
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$
|
459
|
+
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26521_$_t_bytes_memory_ptr_$returns$__$",
|
460
460
|
"typeString": "function ISystemHook.onBeforeCallSystem(address,ResourceId,bytes memory)"
|
461
461
|
}
|
462
462
|
},
|
@@ -501,7 +501,7 @@
|
|
501
501
|
"referencedDeclaration": 23304,
|
502
502
|
"src": "465:29:36",
|
503
503
|
"typeDescriptions": {
|
504
|
-
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$
|
504
|
+
"typeIdentifier": "t_function_declaration_nonpayable$_t_address_$_t_userDefinedValueType$_ResourceId_$26521_$_t_bytes_memory_ptr_$returns$__$",
|
505
505
|
"typeString": "function ISystemHook.onAfterCallSystem(address,ResourceId,bytes memory)"
|
506
506
|
}
|
507
507
|
},
|
@@ -613,7 +613,7 @@
|
|
613
613
|
"stateVariable": false,
|
614
614
|
"storageLocation": "default",
|
615
615
|
"typeDescriptions": {
|
616
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
616
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
617
617
|
"typeString": "ResourceId"
|
618
618
|
},
|
619
619
|
"typeName": {
|
@@ -626,13 +626,13 @@
|
|
626
626
|
"1232:10:36"
|
627
627
|
],
|
628
628
|
"nodeType": "IdentifierPath",
|
629
|
-
"referencedDeclaration":
|
629
|
+
"referencedDeclaration": 26521,
|
630
630
|
"src": "1232:10:36"
|
631
631
|
},
|
632
|
-
"referencedDeclaration":
|
632
|
+
"referencedDeclaration": 26521,
|
633
633
|
"src": "1232:10:36",
|
634
634
|
"typeDescriptions": {
|
635
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
635
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
636
636
|
"typeString": "ResourceId"
|
637
637
|
}
|
638
638
|
},
|
@@ -740,7 +740,7 @@
|
|
740
740
|
"stateVariable": false,
|
741
741
|
"storageLocation": "default",
|
742
742
|
"typeDescriptions": {
|
743
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
743
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
744
744
|
"typeString": "ResourceId"
|
745
745
|
},
|
746
746
|
"typeName": {
|
@@ -753,13 +753,13 @@
|
|
753
753
|
"1680:10:36"
|
754
754
|
],
|
755
755
|
"nodeType": "IdentifierPath",
|
756
|
-
"referencedDeclaration":
|
756
|
+
"referencedDeclaration": 26521,
|
757
757
|
"src": "1680:10:36"
|
758
758
|
},
|
759
|
-
"referencedDeclaration":
|
759
|
+
"referencedDeclaration": 26521,
|
760
760
|
"src": "1680:10:36",
|
761
761
|
"typeDescriptions": {
|
762
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
762
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
763
763
|
"typeString": "ResourceId"
|
764
764
|
}
|
765
765
|
},
|
@@ -92,17 +92,17 @@
|
|
92
92
|
},
|
93
93
|
"ast": {
|
94
94
|
"absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
|
95
|
-
"id":
|
95
|
+
"id": 39798,
|
96
96
|
"exportedSymbols": {
|
97
97
|
"IUniqueEntitySystem": [
|
98
|
-
|
98
|
+
39797
|
99
99
|
]
|
100
100
|
},
|
101
101
|
"nodeType": "SourceUnit",
|
102
102
|
"src": "32:233:112",
|
103
103
|
"nodes": [
|
104
104
|
{
|
105
|
-
"id":
|
105
|
+
"id": 39791,
|
106
106
|
"nodeType": "PragmaDirective",
|
107
107
|
"src": "32:25:112",
|
108
108
|
"nodes": [],
|
@@ -114,12 +114,12 @@
|
|
114
114
|
]
|
115
115
|
},
|
116
116
|
{
|
117
|
-
"id":
|
117
|
+
"id": 39797,
|
118
118
|
"nodeType": "ContractDefinition",
|
119
119
|
"src": "141:123:112",
|
120
120
|
"nodes": [
|
121
121
|
{
|
122
|
-
"id":
|
122
|
+
"id": 39796,
|
123
123
|
"nodeType": "FunctionDefinition",
|
124
124
|
"src": "175:87:112",
|
125
125
|
"nodes": [],
|
@@ -130,23 +130,23 @@
|
|
130
130
|
"name": "uniqueEntity_system_getUniqueEntity",
|
131
131
|
"nameLocation": "184:35:112",
|
132
132
|
"parameters": {
|
133
|
-
"id":
|
133
|
+
"id": 39792,
|
134
134
|
"nodeType": "ParameterList",
|
135
135
|
"parameters": [],
|
136
136
|
"src": "219:2:112"
|
137
137
|
},
|
138
138
|
"returnParameters": {
|
139
|
-
"id":
|
139
|
+
"id": 39795,
|
140
140
|
"nodeType": "ParameterList",
|
141
141
|
"parameters": [
|
142
142
|
{
|
143
143
|
"constant": false,
|
144
|
-
"id":
|
144
|
+
"id": 39794,
|
145
145
|
"mutability": "mutable",
|
146
146
|
"name": "uniqueEntity",
|
147
147
|
"nameLocation": "248:12:112",
|
148
148
|
"nodeType": "VariableDeclaration",
|
149
|
-
"scope":
|
149
|
+
"scope": 39796,
|
150
150
|
"src": "240:20:112",
|
151
151
|
"stateVariable": false,
|
152
152
|
"storageLocation": "default",
|
@@ -155,7 +155,7 @@
|
|
155
155
|
"typeString": "bytes32"
|
156
156
|
},
|
157
157
|
"typeName": {
|
158
|
-
"id":
|
158
|
+
"id": 39793,
|
159
159
|
"name": "bytes32",
|
160
160
|
"nodeType": "ElementaryTypeName",
|
161
161
|
"src": "240:7:112",
|
@@ -169,7 +169,7 @@
|
|
169
169
|
],
|
170
170
|
"src": "239:22:112"
|
171
171
|
},
|
172
|
-
"scope":
|
172
|
+
"scope": 39797,
|
173
173
|
"stateMutability": "nonpayable",
|
174
174
|
"virtual": false,
|
175
175
|
"visibility": "external"
|
@@ -182,11 +182,11 @@
|
|
182
182
|
"contractKind": "interface",
|
183
183
|
"fullyImplemented": false,
|
184
184
|
"linearizedBaseContracts": [
|
185
|
-
|
185
|
+
39797
|
186
186
|
],
|
187
187
|
"name": "IUniqueEntitySystem",
|
188
188
|
"nameLocation": "151:19:112",
|
189
|
-
"scope":
|
189
|
+
"scope": 39798,
|
190
190
|
"usedErrors": [],
|
191
191
|
"usedEvents": []
|
192
192
|
}
|
@@ -452,7 +452,7 @@
|
|
452
452
|
23442
|
453
453
|
],
|
454
454
|
"ResourceId": [
|
455
|
-
|
455
|
+
26521
|
456
456
|
]
|
457
457
|
},
|
458
458
|
"nodeType": "SourceUnit",
|
@@ -479,7 +479,7 @@
|
|
479
479
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
480
480
|
"nameLocation": "-1:-1:-1",
|
481
481
|
"scope": 23443,
|
482
|
-
"sourceUnit":
|
482
|
+
"sourceUnit": 26593,
|
483
483
|
"symbolAliases": [
|
484
484
|
{
|
485
485
|
"foreign": {
|
@@ -487,7 +487,7 @@
|
|
487
487
|
"name": "ResourceId",
|
488
488
|
"nodeType": "Identifier",
|
489
489
|
"overloadedDeclarations": [],
|
490
|
-
"referencedDeclaration":
|
490
|
+
"referencedDeclaration": 26521,
|
491
491
|
"src": "68:10:38",
|
492
492
|
"typeDescriptions": {}
|
493
493
|
},
|
@@ -552,7 +552,7 @@
|
|
552
552
|
"stateVariable": false,
|
553
553
|
"storageLocation": "default",
|
554
554
|
"typeDescriptions": {
|
555
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
555
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
556
556
|
"typeString": "ResourceId"
|
557
557
|
},
|
558
558
|
"typeName": {
|
@@ -565,13 +565,13 @@
|
|
565
565
|
"739:10:38"
|
566
566
|
],
|
567
567
|
"nodeType": "IdentifierPath",
|
568
|
-
"referencedDeclaration":
|
568
|
+
"referencedDeclaration": 26521,
|
569
569
|
"src": "739:10:38"
|
570
570
|
},
|
571
|
-
"referencedDeclaration":
|
571
|
+
"referencedDeclaration": 26521,
|
572
572
|
"src": "739:10:38",
|
573
573
|
"typeDescriptions": {
|
574
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
574
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
575
575
|
"typeString": "ResourceId"
|
576
576
|
}
|
577
577
|
},
|
@@ -638,7 +638,7 @@
|
|
638
638
|
"stateVariable": false,
|
639
639
|
"storageLocation": "default",
|
640
640
|
"typeDescriptions": {
|
641
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
641
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
642
642
|
"typeString": "ResourceId"
|
643
643
|
},
|
644
644
|
"typeName": {
|
@@ -651,13 +651,13 @@
|
|
651
651
|
"1016:10:38"
|
652
652
|
],
|
653
653
|
"nodeType": "IdentifierPath",
|
654
|
-
"referencedDeclaration":
|
654
|
+
"referencedDeclaration": 26521,
|
655
655
|
"src": "1016:10:38"
|
656
656
|
},
|
657
|
-
"referencedDeclaration":
|
657
|
+
"referencedDeclaration": 26521,
|
658
658
|
"src": "1016:10:38",
|
659
659
|
"typeDescriptions": {
|
660
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
660
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
661
661
|
"typeString": "ResourceId"
|
662
662
|
}
|
663
663
|
},
|
@@ -801,7 +801,7 @@
|
|
801
801
|
"stateVariable": false,
|
802
802
|
"storageLocation": "default",
|
803
803
|
"typeDescriptions": {
|
804
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
804
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
805
805
|
"typeString": "ResourceId"
|
806
806
|
},
|
807
807
|
"typeName": {
|
@@ -814,13 +814,13 @@
|
|
814
814
|
"1580:10:38"
|
815
815
|
],
|
816
816
|
"nodeType": "IdentifierPath",
|
817
|
-
"referencedDeclaration":
|
817
|
+
"referencedDeclaration": 26521,
|
818
818
|
"src": "1580:10:38"
|
819
819
|
},
|
820
|
-
"referencedDeclaration":
|
820
|
+
"referencedDeclaration": 26521,
|
821
821
|
"src": "1580:10:38",
|
822
822
|
"typeDescriptions": {
|
823
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
823
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
824
824
|
"typeString": "ResourceId"
|
825
825
|
}
|
826
826
|
},
|
@@ -1314,7 +1314,7 @@
|
|
1314
1314
|
"stateVariable": false,
|
1315
1315
|
"storageLocation": "default",
|
1316
1316
|
"typeDescriptions": {
|
1317
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1317
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
1318
1318
|
"typeString": "ResourceId"
|
1319
1319
|
},
|
1320
1320
|
"typeName": {
|
@@ -1327,13 +1327,13 @@
|
|
1327
1327
|
"3574:10:38"
|
1328
1328
|
],
|
1329
1329
|
"nodeType": "IdentifierPath",
|
1330
|
-
"referencedDeclaration":
|
1330
|
+
"referencedDeclaration": 26521,
|
1331
1331
|
"src": "3574:10:38"
|
1332
1332
|
},
|
1333
|
-
"referencedDeclaration":
|
1333
|
+
"referencedDeclaration": 26521,
|
1334
1334
|
"src": "3574:10:38",
|
1335
1335
|
"typeDescriptions": {
|
1336
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1336
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
1337
1337
|
"typeString": "ResourceId"
|
1338
1338
|
}
|
1339
1339
|
},
|
@@ -292,7 +292,7 @@
|
|
292
292
|
23461
|
293
293
|
],
|
294
294
|
"ResourceId": [
|
295
|
-
|
295
|
+
26521
|
296
296
|
]
|
297
297
|
},
|
298
298
|
"nodeType": "SourceUnit",
|
@@ -379,7 +379,7 @@
|
|
379
379
|
"name": "ResourceId",
|
380
380
|
"nodeType": "Identifier",
|
381
381
|
"overloadedDeclarations": [],
|
382
|
-
"referencedDeclaration":
|
382
|
+
"referencedDeclaration": 26521,
|
383
383
|
"src": "160:10:39",
|
384
384
|
"typeDescriptions": {}
|
385
385
|
},
|
@@ -552,7 +552,7 @@
|
|
552
552
|
"stateVariable": false,
|
553
553
|
"storageLocation": "default",
|
554
554
|
"typeDescriptions": {
|
555
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
555
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
556
556
|
"typeString": "ResourceId"
|
557
557
|
},
|
558
558
|
"typeName": {
|
@@ -565,13 +565,13 @@
|
|
565
565
|
"1374:10:39"
|
566
566
|
],
|
567
567
|
"nodeType": "IdentifierPath",
|
568
|
-
"referencedDeclaration":
|
568
|
+
"referencedDeclaration": 26521,
|
569
569
|
"src": "1374:10:39"
|
570
570
|
},
|
571
|
-
"referencedDeclaration":
|
571
|
+
"referencedDeclaration": 26521,
|
572
572
|
"src": "1374:10:39",
|
573
573
|
"typeDescriptions": {
|
574
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
574
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
575
575
|
"typeString": "ResourceId"
|
576
576
|
}
|
577
577
|
},
|
@@ -707,7 +707,7 @@
|
|
707
707
|
"stateVariable": false,
|
708
708
|
"storageLocation": "default",
|
709
709
|
"typeDescriptions": {
|
710
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
710
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
711
711
|
"typeString": "ResourceId"
|
712
712
|
},
|
713
713
|
"typeName": {
|
@@ -720,13 +720,13 @@
|
|
720
720
|
"2044:10:39"
|
721
721
|
],
|
722
722
|
"nodeType": "IdentifierPath",
|
723
|
-
"referencedDeclaration":
|
723
|
+
"referencedDeclaration": 26521,
|
724
724
|
"src": "2044:10:39"
|
725
725
|
},
|
726
|
-
"referencedDeclaration":
|
726
|
+
"referencedDeclaration": 26521,
|
727
727
|
"src": "2044:10:39",
|
728
728
|
"typeDescriptions": {
|
729
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
729
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
730
730
|
"typeString": "ResourceId"
|
731
731
|
}
|
732
732
|
},
|
@@ -843,7 +843,7 @@
|
|
843
843
|
23461
|
844
844
|
],
|
845
845
|
"ResourceId": [
|
846
|
-
|
846
|
+
26521
|
847
847
|
]
|
848
848
|
},
|
849
849
|
"nodeType": "SourceUnit",
|
@@ -930,7 +930,7 @@
|
|
930
930
|
"name": "ResourceId",
|
931
931
|
"nodeType": "Identifier",
|
932
932
|
"overloadedDeclarations": [],
|
933
|
-
"referencedDeclaration":
|
933
|
+
"referencedDeclaration": 26521,
|
934
934
|
"src": "160:10:39",
|
935
935
|
"typeDescriptions": {}
|
936
936
|
},
|
@@ -1103,7 +1103,7 @@
|
|
1103
1103
|
"stateVariable": false,
|
1104
1104
|
"storageLocation": "default",
|
1105
1105
|
"typeDescriptions": {
|
1106
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1106
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
1107
1107
|
"typeString": "ResourceId"
|
1108
1108
|
},
|
1109
1109
|
"typeName": {
|
@@ -1116,13 +1116,13 @@
|
|
1116
1116
|
"1374:10:39"
|
1117
1117
|
],
|
1118
1118
|
"nodeType": "IdentifierPath",
|
1119
|
-
"referencedDeclaration":
|
1119
|
+
"referencedDeclaration": 26521,
|
1120
1120
|
"src": "1374:10:39"
|
1121
1121
|
},
|
1122
|
-
"referencedDeclaration":
|
1122
|
+
"referencedDeclaration": 26521,
|
1123
1123
|
"src": "1374:10:39",
|
1124
1124
|
"typeDescriptions": {
|
1125
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1125
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
1126
1126
|
"typeString": "ResourceId"
|
1127
1127
|
}
|
1128
1128
|
},
|
@@ -1258,7 +1258,7 @@
|
|
1258
1258
|
"stateVariable": false,
|
1259
1259
|
"storageLocation": "default",
|
1260
1260
|
"typeDescriptions": {
|
1261
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1261
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
1262
1262
|
"typeString": "ResourceId"
|
1263
1263
|
},
|
1264
1264
|
"typeName": {
|
@@ -1271,13 +1271,13 @@
|
|
1271
1271
|
"2044:10:39"
|
1272
1272
|
],
|
1273
1273
|
"nodeType": "IdentifierPath",
|
1274
|
-
"referencedDeclaration":
|
1274
|
+
"referencedDeclaration": 26521,
|
1275
1275
|
"src": "2044:10:39"
|
1276
1276
|
},
|
1277
|
-
"referencedDeclaration":
|
1277
|
+
"referencedDeclaration": 26521,
|
1278
1278
|
"src": "2044:10:39",
|
1279
1279
|
"typeDescriptions": {
|
1280
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1280
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
|
1281
1281
|
"typeString": "ResourceId"
|
1282
1282
|
}
|
1283
1283
|
},
|