@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-7987c94d
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 +215 -215
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2599 -2599
- package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
- package/out/DelegationControl.sol/DelegationControl.json +94 -94
- package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
- package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
- package/out/Hook.sol/HookInstance.json +13 -13
- package/out/Hook.sol/HookLib.json +13 -13
- package/out/Hooks.sol/Hooks.json +3393 -3393
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +58 -58
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +54 -54
- package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +52 -52
- package/out/ICoreSystem.sol/ICoreSystem.json +7 -7
- package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +28 -28
- package/out/ISystemHook.sol/ISystemHook.json +86 -86
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
- package/out/IWorldKernel.sol/IWorldCall.json +154 -154
- package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +190 -190
- package/out/KeysInTable.sol/KeysInTable.json +10672 -10672
- package/out/KeysInTableHook.sol/KeysInTableHook.json +867 -867
- package/out/KeysInTableModule.sol/KeysInTableModule.json +538 -538
- package/out/KeysWithValue.sol/KeysWithValue.json +3832 -3832
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +993 -993
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +426 -426
- package/out/Memory.sol/Memory.json +4 -4
- package/out/Module.sol/Module.json +84 -84
- package/out/ResourceIds.sol/ResourceIds.json +1363 -1363
- package/out/Schema.sol/SchemaInstance.json +72 -72
- package/out/Schema.sol/SchemaLib.json +72 -72
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +4 -4
- package/out/Slice.sol/SliceLib.json +4 -4
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +303 -303
- package/out/Storage.sol/Storage.json +7 -7
- package/out/StoreCore.sol/StoreCore.json +708 -737
- package/out/StoreCore.sol/StoreCoreInternal.json +710 -739
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +3232 -3232
- package/out/StoreSwitch.sol/StoreSwitch.json +1885 -1885
- package/out/System.sol/System.json +31 -31
- package/out/Tables.sol/Tables.json +5585 -5585
- package/out/TightCoder.sol/TightCoder.json +124 -124
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +119 -119
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1990 -1990
- package/out/UniqueEntity.sol/UniqueEntity.json +1406 -1406
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +327 -327
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +93 -93
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2727 -2727
- package/out/WorldContext.sol/WorldContextConsumer.json +1380 -988
- package/out/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1381 -989
- package/out/WorldContext.sol/WorldContextProviderLib.json +3910 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/constants.sol/LayoutOffsets.json +79 -79
- 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 +131 -131
- package/out/leftMask.sol/leftMask.json +31 -31
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1338 -1338
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +153 -153
- package/out/src/IWorldKernel.sol/IWorldKernel.json +153 -153
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +153 -153
- 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 +4695 -4724
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4697 -4726
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2487 -2487
- package/out/src/WorldContext.sol/WorldContextConsumer.json +1291 -899
- package/out/src/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
- package/out/src/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1292 -900
- package/out/src/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +3910 -0
- 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 +1751 -1751
- package/out/tables/Tables.sol/Tables.json +7292 -7292
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +41 -41
- package/out/version.sol/version.json +7 -7
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- /package/out/WorldContext.sol/{WorldContextProvider.abi.json → WorldContextConsumerLib.abi.json} +0 -0
- /package/out/{src/WorldContext.sol/WorldContextProvider.abi.json → WorldContext.sol/WorldContextProviderLib.abi.json} +0 -0
@@ -288,29 +288,29 @@
|
|
288
288
|
},
|
289
289
|
"ast": {
|
290
290
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/ISystemHook.sol",
|
291
|
-
"id":
|
291
|
+
"id": 23336,
|
292
292
|
"exportedSymbols": {
|
293
293
|
"ERC165_INTERFACE_ID": [
|
294
|
-
|
294
|
+
23232
|
295
295
|
],
|
296
296
|
"IERC165": [
|
297
|
-
|
297
|
+
23242
|
298
298
|
],
|
299
299
|
"ISystemHook": [
|
300
|
-
|
300
|
+
23335
|
301
301
|
],
|
302
302
|
"ResourceId": [
|
303
|
-
|
303
|
+
26605
|
304
304
|
],
|
305
305
|
"SYSTEM_HOOK_INTERFACE_ID": [
|
306
|
-
|
306
|
+
23309
|
307
307
|
]
|
308
308
|
},
|
309
309
|
"nodeType": "SourceUnit",
|
310
310
|
"src": "32:1704:36",
|
311
311
|
"nodes": [
|
312
312
|
{
|
313
|
-
"id":
|
313
|
+
"id": 23292,
|
314
314
|
"nodeType": "PragmaDirective",
|
315
315
|
"src": "32:25:36",
|
316
316
|
"nodes": [],
|
@@ -322,23 +322,23 @@
|
|
322
322
|
]
|
323
323
|
},
|
324
324
|
{
|
325
|
-
"id":
|
325
|
+
"id": 23295,
|
326
326
|
"nodeType": "ImportDirective",
|
327
327
|
"src": "59:61:36",
|
328
328
|
"nodes": [],
|
329
329
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
|
330
330
|
"file": "./IERC165.sol",
|
331
331
|
"nameLocation": "-1:-1:-1",
|
332
|
-
"scope":
|
333
|
-
"sourceUnit":
|
332
|
+
"scope": 23336,
|
333
|
+
"sourceUnit": 23243,
|
334
334
|
"symbolAliases": [
|
335
335
|
{
|
336
336
|
"foreign": {
|
337
|
-
"id":
|
337
|
+
"id": 23293,
|
338
338
|
"name": "IERC165",
|
339
339
|
"nodeType": "Identifier",
|
340
340
|
"overloadedDeclarations": [],
|
341
|
-
"referencedDeclaration":
|
341
|
+
"referencedDeclaration": 23242,
|
342
342
|
"src": "68:7:36",
|
343
343
|
"typeDescriptions": {}
|
344
344
|
},
|
@@ -346,11 +346,11 @@
|
|
346
346
|
},
|
347
347
|
{
|
348
348
|
"foreign": {
|
349
|
-
"id":
|
349
|
+
"id": 23294,
|
350
350
|
"name": "ERC165_INTERFACE_ID",
|
351
351
|
"nodeType": "Identifier",
|
352
352
|
"overloadedDeclarations": [],
|
353
|
-
"referencedDeclaration":
|
353
|
+
"referencedDeclaration": 23232,
|
354
354
|
"src": "77:19:36",
|
355
355
|
"typeDescriptions": {}
|
356
356
|
},
|
@@ -360,23 +360,23 @@
|
|
360
360
|
"unitAlias": ""
|
361
361
|
},
|
362
362
|
{
|
363
|
-
"id":
|
363
|
+
"id": 23297,
|
364
364
|
"nodeType": "ImportDirective",
|
365
365
|
"src": "121:51:36",
|
366
366
|
"nodes": [],
|
367
367
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
|
368
368
|
"file": "./WorldResourceId.sol",
|
369
369
|
"nameLocation": "-1:-1:-1",
|
370
|
-
"scope":
|
371
|
-
"sourceUnit":
|
370
|
+
"scope": 23336,
|
371
|
+
"sourceUnit": 24098,
|
372
372
|
"symbolAliases": [
|
373
373
|
{
|
374
374
|
"foreign": {
|
375
|
-
"id":
|
375
|
+
"id": 23296,
|
376
376
|
"name": "ResourceId",
|
377
377
|
"nodeType": "Identifier",
|
378
378
|
"overloadedDeclarations": [],
|
379
|
-
"referencedDeclaration":
|
379
|
+
"referencedDeclaration": 26605,
|
380
380
|
"src": "130:10:36",
|
381
381
|
"typeDescriptions": {}
|
382
382
|
},
|
@@ -386,7 +386,7 @@
|
|
386
386
|
"unitAlias": ""
|
387
387
|
},
|
388
388
|
{
|
389
|
-
"id":
|
389
|
+
"id": 23309,
|
390
390
|
"nodeType": "VariableDeclaration",
|
391
391
|
"src": "378:149:36",
|
392
392
|
"nodes": [],
|
@@ -394,7 +394,7 @@
|
|
394
394
|
"mutability": "constant",
|
395
395
|
"name": "SYSTEM_HOOK_INTERFACE_ID",
|
396
396
|
"nameLocation": "394:24:36",
|
397
|
-
"scope":
|
397
|
+
"scope": 23336,
|
398
398
|
"stateVariable": false,
|
399
399
|
"storageLocation": "default",
|
400
400
|
"typeDescriptions": {
|
@@ -402,7 +402,7 @@
|
|
402
402
|
"typeString": "bytes4"
|
403
403
|
},
|
404
404
|
"typeName": {
|
405
|
-
"id":
|
405
|
+
"id": 23299,
|
406
406
|
"name": "bytes4",
|
407
407
|
"nodeType": "ElementaryTypeName",
|
408
408
|
"src": "378:6:36",
|
@@ -416,7 +416,7 @@
|
|
416
416
|
"typeIdentifier": "t_bytes4",
|
417
417
|
"typeString": "bytes4"
|
418
418
|
},
|
419
|
-
"id":
|
419
|
+
"id": 23308,
|
420
420
|
"isConstant": false,
|
421
421
|
"isLValue": false,
|
422
422
|
"isPure": true,
|
@@ -426,7 +426,7 @@
|
|
426
426
|
"typeIdentifier": "t_bytes4",
|
427
427
|
"typeString": "bytes4"
|
428
428
|
},
|
429
|
-
"id":
|
429
|
+
"id": 23306,
|
430
430
|
"isConstant": false,
|
431
431
|
"isLValue": false,
|
432
432
|
"isPure": true,
|
@@ -434,18 +434,18 @@
|
|
434
434
|
"leftExpression": {
|
435
435
|
"expression": {
|
436
436
|
"expression": {
|
437
|
-
"id":
|
437
|
+
"id": 23300,
|
438
438
|
"name": "ISystemHook",
|
439
439
|
"nodeType": "Identifier",
|
440
440
|
"overloadedDeclarations": [],
|
441
|
-
"referencedDeclaration":
|
441
|
+
"referencedDeclaration": 23335,
|
442
442
|
"src": "421:11:36",
|
443
443
|
"typeDescriptions": {
|
444
|
-
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$
|
444
|
+
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$23335_$",
|
445
445
|
"typeString": "type(contract ISystemHook)"
|
446
446
|
}
|
447
447
|
},
|
448
|
-
"id":
|
448
|
+
"id": 23301,
|
449
449
|
"isConstant": false,
|
450
450
|
"isLValue": false,
|
451
451
|
"isPure": true,
|
@@ -453,14 +453,14 @@
|
|
453
453
|
"memberLocation": "433:18:36",
|
454
454
|
"memberName": "onBeforeCallSystem",
|
455
455
|
"nodeType": "MemberAccess",
|
456
|
-
"referencedDeclaration":
|
456
|
+
"referencedDeclaration": 23323,
|
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_$26605_$_t_bytes_memory_ptr_$returns$__$",
|
460
460
|
"typeString": "function ISystemHook.onBeforeCallSystem(address,ResourceId,bytes memory)"
|
461
461
|
}
|
462
462
|
},
|
463
|
-
"id":
|
463
|
+
"id": 23302,
|
464
464
|
"isConstant": false,
|
465
465
|
"isLValue": false,
|
466
466
|
"isPure": true,
|
@@ -479,18 +479,18 @@
|
|
479
479
|
"rightExpression": {
|
480
480
|
"expression": {
|
481
481
|
"expression": {
|
482
|
-
"id":
|
482
|
+
"id": 23303,
|
483
483
|
"name": "ISystemHook",
|
484
484
|
"nodeType": "Identifier",
|
485
485
|
"overloadedDeclarations": [],
|
486
|
-
"referencedDeclaration":
|
486
|
+
"referencedDeclaration": 23335,
|
487
487
|
"src": "465:11:36",
|
488
488
|
"typeDescriptions": {
|
489
|
-
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$
|
489
|
+
"typeIdentifier": "t_type$_t_contract$_ISystemHook_$23335_$",
|
490
490
|
"typeString": "type(contract ISystemHook)"
|
491
491
|
}
|
492
492
|
},
|
493
|
-
"id":
|
493
|
+
"id": 23304,
|
494
494
|
"isConstant": false,
|
495
495
|
"isLValue": false,
|
496
496
|
"isPure": true,
|
@@ -498,14 +498,14 @@
|
|
498
498
|
"memberLocation": "477:17:36",
|
499
499
|
"memberName": "onAfterCallSystem",
|
500
500
|
"nodeType": "MemberAccess",
|
501
|
-
"referencedDeclaration":
|
501
|
+
"referencedDeclaration": 23334,
|
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_$26605_$_t_bytes_memory_ptr_$returns$__$",
|
505
505
|
"typeString": "function ISystemHook.onAfterCallSystem(address,ResourceId,bytes memory)"
|
506
506
|
}
|
507
507
|
},
|
508
|
-
"id":
|
508
|
+
"id": 23305,
|
509
509
|
"isConstant": false,
|
510
510
|
"isLValue": false,
|
511
511
|
"isPure": true,
|
@@ -528,11 +528,11 @@
|
|
528
528
|
"nodeType": "BinaryOperation",
|
529
529
|
"operator": "^",
|
530
530
|
"rightExpression": {
|
531
|
-
"id":
|
531
|
+
"id": 23307,
|
532
532
|
"name": "ERC165_INTERFACE_ID",
|
533
533
|
"nodeType": "Identifier",
|
534
534
|
"overloadedDeclarations": [],
|
535
|
-
"referencedDeclaration":
|
535
|
+
"referencedDeclaration": 23232,
|
536
536
|
"src": "508:19:36",
|
537
537
|
"typeDescriptions": {
|
538
538
|
"typeIdentifier": "t_bytes4",
|
@@ -548,17 +548,17 @@
|
|
548
548
|
"visibility": "internal"
|
549
549
|
},
|
550
550
|
{
|
551
|
-
"id":
|
551
|
+
"id": 23335,
|
552
552
|
"nodeType": "ContractDefinition",
|
553
553
|
"src": "811:924:36",
|
554
554
|
"nodes": [
|
555
555
|
{
|
556
|
-
"id":
|
556
|
+
"id": 23323,
|
557
557
|
"nodeType": "FunctionDefinition",
|
558
558
|
"src": "1185:100:36",
|
559
559
|
"nodes": [],
|
560
560
|
"documentation": {
|
561
|
-
"id":
|
561
|
+
"id": 23313,
|
562
562
|
"nodeType": "StructuredDocumentation",
|
563
563
|
"src": "848:334:36",
|
564
564
|
"text": " @notice Executes before a system call.\n @dev Provides the ability to add custom logic or checks before a system is invoked.\n @param msgSender The original sender of the system call.\n @param systemId The identifier for the system being called.\n @param callData Data being sent as part of the system call."
|
@@ -570,17 +570,17 @@
|
|
570
570
|
"name": "onBeforeCallSystem",
|
571
571
|
"nameLocation": "1194:18:36",
|
572
572
|
"parameters": {
|
573
|
-
"id":
|
573
|
+
"id": 23321,
|
574
574
|
"nodeType": "ParameterList",
|
575
575
|
"parameters": [
|
576
576
|
{
|
577
577
|
"constant": false,
|
578
|
-
"id":
|
578
|
+
"id": 23315,
|
579
579
|
"mutability": "mutable",
|
580
580
|
"name": "msgSender",
|
581
581
|
"nameLocation": "1221:9:36",
|
582
582
|
"nodeType": "VariableDeclaration",
|
583
|
-
"scope":
|
583
|
+
"scope": 23323,
|
584
584
|
"src": "1213:17:36",
|
585
585
|
"stateVariable": false,
|
586
586
|
"storageLocation": "default",
|
@@ -589,7 +589,7 @@
|
|
589
589
|
"typeString": "address"
|
590
590
|
},
|
591
591
|
"typeName": {
|
592
|
-
"id":
|
592
|
+
"id": 23314,
|
593
593
|
"name": "address",
|
594
594
|
"nodeType": "ElementaryTypeName",
|
595
595
|
"src": "1213:7:36",
|
@@ -603,36 +603,36 @@
|
|
603
603
|
},
|
604
604
|
{
|
605
605
|
"constant": false,
|
606
|
-
"id":
|
606
|
+
"id": 23318,
|
607
607
|
"mutability": "mutable",
|
608
608
|
"name": "systemId",
|
609
609
|
"nameLocation": "1243:8:36",
|
610
610
|
"nodeType": "VariableDeclaration",
|
611
|
-
"scope":
|
611
|
+
"scope": 23323,
|
612
612
|
"src": "1232:19:36",
|
613
613
|
"stateVariable": false,
|
614
614
|
"storageLocation": "default",
|
615
615
|
"typeDescriptions": {
|
616
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
616
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
617
617
|
"typeString": "ResourceId"
|
618
618
|
},
|
619
619
|
"typeName": {
|
620
|
-
"id":
|
620
|
+
"id": 23317,
|
621
621
|
"nodeType": "UserDefinedTypeName",
|
622
622
|
"pathNode": {
|
623
|
-
"id":
|
623
|
+
"id": 23316,
|
624
624
|
"name": "ResourceId",
|
625
625
|
"nameLocations": [
|
626
626
|
"1232:10:36"
|
627
627
|
],
|
628
628
|
"nodeType": "IdentifierPath",
|
629
|
-
"referencedDeclaration":
|
629
|
+
"referencedDeclaration": 26605,
|
630
630
|
"src": "1232:10:36"
|
631
631
|
},
|
632
|
-
"referencedDeclaration":
|
632
|
+
"referencedDeclaration": 26605,
|
633
633
|
"src": "1232:10:36",
|
634
634
|
"typeDescriptions": {
|
635
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
635
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
636
636
|
"typeString": "ResourceId"
|
637
637
|
}
|
638
638
|
},
|
@@ -640,12 +640,12 @@
|
|
640
640
|
},
|
641
641
|
{
|
642
642
|
"constant": false,
|
643
|
-
"id":
|
643
|
+
"id": 23320,
|
644
644
|
"mutability": "mutable",
|
645
645
|
"name": "callData",
|
646
646
|
"nameLocation": "1266:8:36",
|
647
647
|
"nodeType": "VariableDeclaration",
|
648
|
-
"scope":
|
648
|
+
"scope": 23323,
|
649
649
|
"src": "1253:21:36",
|
650
650
|
"stateVariable": false,
|
651
651
|
"storageLocation": "memory",
|
@@ -654,7 +654,7 @@
|
|
654
654
|
"typeString": "bytes"
|
655
655
|
},
|
656
656
|
"typeName": {
|
657
|
-
"id":
|
657
|
+
"id": 23319,
|
658
658
|
"name": "bytes",
|
659
659
|
"nodeType": "ElementaryTypeName",
|
660
660
|
"src": "1253:5:36",
|
@@ -669,23 +669,23 @@
|
|
669
669
|
"src": "1212:63:36"
|
670
670
|
},
|
671
671
|
"returnParameters": {
|
672
|
-
"id":
|
672
|
+
"id": 23322,
|
673
673
|
"nodeType": "ParameterList",
|
674
674
|
"parameters": [],
|
675
675
|
"src": "1284:0:36"
|
676
676
|
},
|
677
|
-
"scope":
|
677
|
+
"scope": 23335,
|
678
678
|
"stateMutability": "nonpayable",
|
679
679
|
"virtual": false,
|
680
680
|
"visibility": "external"
|
681
681
|
},
|
682
682
|
{
|
683
|
-
"id":
|
683
|
+
"id": 23334,
|
684
684
|
"nodeType": "FunctionDefinition",
|
685
685
|
"src": "1634:99:36",
|
686
686
|
"nodes": [],
|
687
687
|
"documentation": {
|
688
|
-
"id":
|
688
|
+
"id": 23324,
|
689
689
|
"nodeType": "StructuredDocumentation",
|
690
690
|
"src": "1289:342:36",
|
691
691
|
"text": " @notice Executes after a system call.\n @dev Provides the ability to add custom logic or checks after a system call completes.\n @param msgSender The original sender of the system call.\n @param systemId The identifier for the system that was called.\n @param callData Data that was sent as part of the system call."
|
@@ -697,17 +697,17 @@
|
|
697
697
|
"name": "onAfterCallSystem",
|
698
698
|
"nameLocation": "1643:17:36",
|
699
699
|
"parameters": {
|
700
|
-
"id":
|
700
|
+
"id": 23332,
|
701
701
|
"nodeType": "ParameterList",
|
702
702
|
"parameters": [
|
703
703
|
{
|
704
704
|
"constant": false,
|
705
|
-
"id":
|
705
|
+
"id": 23326,
|
706
706
|
"mutability": "mutable",
|
707
707
|
"name": "msgSender",
|
708
708
|
"nameLocation": "1669:9:36",
|
709
709
|
"nodeType": "VariableDeclaration",
|
710
|
-
"scope":
|
710
|
+
"scope": 23334,
|
711
711
|
"src": "1661:17:36",
|
712
712
|
"stateVariable": false,
|
713
713
|
"storageLocation": "default",
|
@@ -716,7 +716,7 @@
|
|
716
716
|
"typeString": "address"
|
717
717
|
},
|
718
718
|
"typeName": {
|
719
|
-
"id":
|
719
|
+
"id": 23325,
|
720
720
|
"name": "address",
|
721
721
|
"nodeType": "ElementaryTypeName",
|
722
722
|
"src": "1661:7:36",
|
@@ -730,36 +730,36 @@
|
|
730
730
|
},
|
731
731
|
{
|
732
732
|
"constant": false,
|
733
|
-
"id":
|
733
|
+
"id": 23329,
|
734
734
|
"mutability": "mutable",
|
735
735
|
"name": "systemId",
|
736
736
|
"nameLocation": "1691:8:36",
|
737
737
|
"nodeType": "VariableDeclaration",
|
738
|
-
"scope":
|
738
|
+
"scope": 23334,
|
739
739
|
"src": "1680:19:36",
|
740
740
|
"stateVariable": false,
|
741
741
|
"storageLocation": "default",
|
742
742
|
"typeDescriptions": {
|
743
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
743
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
744
744
|
"typeString": "ResourceId"
|
745
745
|
},
|
746
746
|
"typeName": {
|
747
|
-
"id":
|
747
|
+
"id": 23328,
|
748
748
|
"nodeType": "UserDefinedTypeName",
|
749
749
|
"pathNode": {
|
750
|
-
"id":
|
750
|
+
"id": 23327,
|
751
751
|
"name": "ResourceId",
|
752
752
|
"nameLocations": [
|
753
753
|
"1680:10:36"
|
754
754
|
],
|
755
755
|
"nodeType": "IdentifierPath",
|
756
|
-
"referencedDeclaration":
|
756
|
+
"referencedDeclaration": 26605,
|
757
757
|
"src": "1680:10:36"
|
758
758
|
},
|
759
|
-
"referencedDeclaration":
|
759
|
+
"referencedDeclaration": 26605,
|
760
760
|
"src": "1680:10:36",
|
761
761
|
"typeDescriptions": {
|
762
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
762
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
763
763
|
"typeString": "ResourceId"
|
764
764
|
}
|
765
765
|
},
|
@@ -767,12 +767,12 @@
|
|
767
767
|
},
|
768
768
|
{
|
769
769
|
"constant": false,
|
770
|
-
"id":
|
770
|
+
"id": 23331,
|
771
771
|
"mutability": "mutable",
|
772
772
|
"name": "callData",
|
773
773
|
"nameLocation": "1714:8:36",
|
774
774
|
"nodeType": "VariableDeclaration",
|
775
|
-
"scope":
|
775
|
+
"scope": 23334,
|
776
776
|
"src": "1701:21:36",
|
777
777
|
"stateVariable": false,
|
778
778
|
"storageLocation": "memory",
|
@@ -781,7 +781,7 @@
|
|
781
781
|
"typeString": "bytes"
|
782
782
|
},
|
783
783
|
"typeName": {
|
784
|
-
"id":
|
784
|
+
"id": 23330,
|
785
785
|
"name": "bytes",
|
786
786
|
"nodeType": "ElementaryTypeName",
|
787
787
|
"src": "1701:5:36",
|
@@ -796,12 +796,12 @@
|
|
796
796
|
"src": "1660:63:36"
|
797
797
|
},
|
798
798
|
"returnParameters": {
|
799
|
-
"id":
|
799
|
+
"id": 23333,
|
800
800
|
"nodeType": "ParameterList",
|
801
801
|
"parameters": [],
|
802
802
|
"src": "1732:0:36"
|
803
803
|
},
|
804
|
-
"scope":
|
804
|
+
"scope": 23335,
|
805
805
|
"stateMutability": "nonpayable",
|
806
806
|
"virtual": false,
|
807
807
|
"visibility": "external"
|
@@ -811,16 +811,16 @@
|
|
811
811
|
"baseContracts": [
|
812
812
|
{
|
813
813
|
"baseName": {
|
814
|
-
"id":
|
814
|
+
"id": 23311,
|
815
815
|
"name": "IERC165",
|
816
816
|
"nameLocations": [
|
817
817
|
"836:7:36"
|
818
818
|
],
|
819
819
|
"nodeType": "IdentifierPath",
|
820
|
-
"referencedDeclaration":
|
820
|
+
"referencedDeclaration": 23242,
|
821
821
|
"src": "836:7:36"
|
822
822
|
},
|
823
|
-
"id":
|
823
|
+
"id": 23312,
|
824
824
|
"nodeType": "InheritanceSpecifier",
|
825
825
|
"src": "836:7:36"
|
826
826
|
}
|
@@ -829,19 +829,19 @@
|
|
829
829
|
"contractDependencies": [],
|
830
830
|
"contractKind": "interface",
|
831
831
|
"documentation": {
|
832
|
-
"id":
|
832
|
+
"id": 23310,
|
833
833
|
"nodeType": "StructuredDocumentation",
|
834
834
|
"src": "530:280:36",
|
835
835
|
"text": " @title ISystemHook\n @dev Interface defining system hooks for external functionality.\n Provides pre and post hooks that can be triggered before and after a system call respectively.\n This interface adheres to the ERC-165 standard for determining interface support."
|
836
836
|
},
|
837
837
|
"fullyImplemented": false,
|
838
838
|
"linearizedBaseContracts": [
|
839
|
-
|
840
|
-
|
839
|
+
23335,
|
840
|
+
23242
|
841
841
|
],
|
842
842
|
"name": "ISystemHook",
|
843
843
|
"nameLocation": "821:11:36",
|
844
|
-
"scope":
|
844
|
+
"scope": 23336,
|
845
845
|
"usedErrors": [],
|
846
846
|
"usedEvents": []
|
847
847
|
}
|
@@ -92,17 +92,17 @@
|
|
92
92
|
},
|
93
93
|
"ast": {
|
94
94
|
"absolutePath": "src/interfaces/IUniqueEntitySystem.sol",
|
95
|
-
"id":
|
95
|
+
"id": 39922,
|
96
96
|
"exportedSymbols": {
|
97
97
|
"IUniqueEntitySystem": [
|
98
|
-
|
98
|
+
39921
|
99
99
|
]
|
100
100
|
},
|
101
101
|
"nodeType": "SourceUnit",
|
102
102
|
"src": "32:233:112",
|
103
103
|
"nodes": [
|
104
104
|
{
|
105
|
-
"id":
|
105
|
+
"id": 39915,
|
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": 39921,
|
118
118
|
"nodeType": "ContractDefinition",
|
119
119
|
"src": "141:123:112",
|
120
120
|
"nodes": [
|
121
121
|
{
|
122
|
-
"id":
|
122
|
+
"id": 39920,
|
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": 39916,
|
134
134
|
"nodeType": "ParameterList",
|
135
135
|
"parameters": [],
|
136
136
|
"src": "219:2:112"
|
137
137
|
},
|
138
138
|
"returnParameters": {
|
139
|
-
"id":
|
139
|
+
"id": 39919,
|
140
140
|
"nodeType": "ParameterList",
|
141
141
|
"parameters": [
|
142
142
|
{
|
143
143
|
"constant": false,
|
144
|
-
"id":
|
144
|
+
"id": 39918,
|
145
145
|
"mutability": "mutable",
|
146
146
|
"name": "uniqueEntity",
|
147
147
|
"nameLocation": "248:12:112",
|
148
148
|
"nodeType": "VariableDeclaration",
|
149
|
-
"scope":
|
149
|
+
"scope": 39920,
|
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": 39917,
|
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": 39921,
|
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
|
+
39921
|
186
186
|
],
|
187
187
|
"name": "IUniqueEntitySystem",
|
188
188
|
"nameLocation": "151:19:112",
|
189
|
-
"scope":
|
189
|
+
"scope": 39922,
|
190
190
|
"usedErrors": [],
|
191
191
|
"usedEvents": []
|
192
192
|
}
|