@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-88b1a5a1
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
@@ -252,26 +252,26 @@
|
|
252
252
|
},
|
253
253
|
"ast": {
|
254
254
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IModule.sol",
|
255
|
-
"id":
|
255
|
+
"id": 23291,
|
256
256
|
"exportedSymbols": {
|
257
257
|
"ERC165_INTERFACE_ID": [
|
258
|
-
|
258
|
+
23232
|
259
259
|
],
|
260
260
|
"IERC165": [
|
261
|
-
|
261
|
+
23242
|
262
262
|
],
|
263
263
|
"IModule": [
|
264
|
-
|
264
|
+
23290
|
265
265
|
],
|
266
266
|
"MODULE_INTERFACE_ID": [
|
267
|
-
|
267
|
+
23263
|
268
268
|
]
|
269
269
|
},
|
270
270
|
"nodeType": "SourceUnit",
|
271
271
|
"src": "32:1982:35",
|
272
272
|
"nodes": [
|
273
273
|
{
|
274
|
-
"id":
|
274
|
+
"id": 23244,
|
275
275
|
"nodeType": "PragmaDirective",
|
276
276
|
"src": "32:25:35",
|
277
277
|
"nodes": [],
|
@@ -283,23 +283,23 @@
|
|
283
283
|
]
|
284
284
|
},
|
285
285
|
{
|
286
|
-
"id":
|
286
|
+
"id": 23247,
|
287
287
|
"nodeType": "ImportDirective",
|
288
288
|
"src": "59:61:35",
|
289
289
|
"nodes": [],
|
290
290
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
|
291
291
|
"file": "./IERC165.sol",
|
292
292
|
"nameLocation": "-1:-1:-1",
|
293
|
-
"scope":
|
294
|
-
"sourceUnit":
|
293
|
+
"scope": 23291,
|
294
|
+
"sourceUnit": 23243,
|
295
295
|
"symbolAliases": [
|
296
296
|
{
|
297
297
|
"foreign": {
|
298
|
-
"id":
|
298
|
+
"id": 23245,
|
299
299
|
"name": "IERC165",
|
300
300
|
"nodeType": "Identifier",
|
301
301
|
"overloadedDeclarations": [],
|
302
|
-
"referencedDeclaration":
|
302
|
+
"referencedDeclaration": 23242,
|
303
303
|
"src": "68:7:35",
|
304
304
|
"typeDescriptions": {}
|
305
305
|
},
|
@@ -307,11 +307,11 @@
|
|
307
307
|
},
|
308
308
|
{
|
309
309
|
"foreign": {
|
310
|
-
"id":
|
310
|
+
"id": 23246,
|
311
311
|
"name": "ERC165_INTERFACE_ID",
|
312
312
|
"nodeType": "Identifier",
|
313
313
|
"overloadedDeclarations": [],
|
314
|
-
"referencedDeclaration":
|
314
|
+
"referencedDeclaration": 23232,
|
315
315
|
"src": "77:19:35",
|
316
316
|
"typeDescriptions": {}
|
317
317
|
},
|
@@ -321,7 +321,7 @@
|
|
321
321
|
"unitAlias": ""
|
322
322
|
},
|
323
323
|
{
|
324
|
-
"id":
|
324
|
+
"id": 23263,
|
325
325
|
"nodeType": "VariableDeclaration",
|
326
326
|
"src": "322:148:35",
|
327
327
|
"nodes": [],
|
@@ -329,7 +329,7 @@
|
|
329
329
|
"mutability": "constant",
|
330
330
|
"name": "MODULE_INTERFACE_ID",
|
331
331
|
"nameLocation": "338:19:35",
|
332
|
-
"scope":
|
332
|
+
"scope": 23291,
|
333
333
|
"stateVariable": false,
|
334
334
|
"storageLocation": "default",
|
335
335
|
"typeDescriptions": {
|
@@ -337,7 +337,7 @@
|
|
337
337
|
"typeString": "bytes4"
|
338
338
|
},
|
339
339
|
"typeName": {
|
340
|
-
"id":
|
340
|
+
"id": 23249,
|
341
341
|
"name": "bytes4",
|
342
342
|
"nodeType": "ElementaryTypeName",
|
343
343
|
"src": "322:6:35",
|
@@ -351,7 +351,7 @@
|
|
351
351
|
"typeIdentifier": "t_bytes4",
|
352
352
|
"typeString": "bytes4"
|
353
353
|
},
|
354
|
-
"id":
|
354
|
+
"id": 23262,
|
355
355
|
"isConstant": false,
|
356
356
|
"isLValue": false,
|
357
357
|
"isPure": true,
|
@@ -361,7 +361,7 @@
|
|
361
361
|
"typeIdentifier": "t_bytes4",
|
362
362
|
"typeString": "bytes4"
|
363
363
|
},
|
364
|
-
"id":
|
364
|
+
"id": 23260,
|
365
365
|
"isConstant": false,
|
366
366
|
"isLValue": false,
|
367
367
|
"isPure": true,
|
@@ -371,7 +371,7 @@
|
|
371
371
|
"typeIdentifier": "t_bytes4",
|
372
372
|
"typeString": "bytes4"
|
373
373
|
},
|
374
|
-
"id":
|
374
|
+
"id": 23256,
|
375
375
|
"isConstant": false,
|
376
376
|
"isLValue": false,
|
377
377
|
"isPure": true,
|
@@ -379,18 +379,18 @@
|
|
379
379
|
"leftExpression": {
|
380
380
|
"expression": {
|
381
381
|
"expression": {
|
382
|
-
"id":
|
382
|
+
"id": 23250,
|
383
383
|
"name": "IModule",
|
384
384
|
"nodeType": "Identifier",
|
385
385
|
"overloadedDeclarations": [],
|
386
|
-
"referencedDeclaration":
|
386
|
+
"referencedDeclaration": 23290,
|
387
387
|
"src": "360:7:35",
|
388
388
|
"typeDescriptions": {
|
389
|
-
"typeIdentifier": "t_type$_t_contract$_IModule_$
|
389
|
+
"typeIdentifier": "t_type$_t_contract$_IModule_$23290_$",
|
390
390
|
"typeString": "type(contract IModule)"
|
391
391
|
}
|
392
392
|
},
|
393
|
-
"id":
|
393
|
+
"id": 23251,
|
394
394
|
"isConstant": false,
|
395
395
|
"isLValue": false,
|
396
396
|
"isPure": true,
|
@@ -398,14 +398,14 @@
|
|
398
398
|
"memberLocation": "368:7:35",
|
399
399
|
"memberName": "getName",
|
400
400
|
"nodeType": "MemberAccess",
|
401
|
-
"referencedDeclaration":
|
401
|
+
"referencedDeclaration": 23277,
|
402
402
|
"src": "360:15:35",
|
403
403
|
"typeDescriptions": {
|
404
404
|
"typeIdentifier": "t_function_declaration_view$__$returns$_t_bytes16_$",
|
405
405
|
"typeString": "function IModule.getName() view returns (bytes16)"
|
406
406
|
}
|
407
407
|
},
|
408
|
-
"id":
|
408
|
+
"id": 23252,
|
409
409
|
"isConstant": false,
|
410
410
|
"isLValue": false,
|
411
411
|
"isPure": true,
|
@@ -424,18 +424,18 @@
|
|
424
424
|
"rightExpression": {
|
425
425
|
"expression": {
|
426
426
|
"expression": {
|
427
|
-
"id":
|
427
|
+
"id": 23253,
|
428
428
|
"name": "IModule",
|
429
429
|
"nodeType": "Identifier",
|
430
430
|
"overloadedDeclarations": [],
|
431
|
-
"referencedDeclaration":
|
431
|
+
"referencedDeclaration": 23290,
|
432
432
|
"src": "389:7:35",
|
433
433
|
"typeDescriptions": {
|
434
|
-
"typeIdentifier": "t_type$_t_contract$_IModule_$
|
434
|
+
"typeIdentifier": "t_type$_t_contract$_IModule_$23290_$",
|
435
435
|
"typeString": "type(contract IModule)"
|
436
436
|
}
|
437
437
|
},
|
438
|
-
"id":
|
438
|
+
"id": 23254,
|
439
439
|
"isConstant": false,
|
440
440
|
"isLValue": false,
|
441
441
|
"isPure": true,
|
@@ -443,14 +443,14 @@
|
|
443
443
|
"memberLocation": "397:11:35",
|
444
444
|
"memberName": "installRoot",
|
445
445
|
"nodeType": "MemberAccess",
|
446
|
-
"referencedDeclaration":
|
446
|
+
"referencedDeclaration": 23283,
|
447
447
|
"src": "389:19:35",
|
448
448
|
"typeDescriptions": {
|
449
449
|
"typeIdentifier": "t_function_declaration_nonpayable$_t_bytes_memory_ptr_$returns$__$",
|
450
450
|
"typeString": "function IModule.installRoot(bytes memory)"
|
451
451
|
}
|
452
452
|
},
|
453
|
-
"id":
|
453
|
+
"id": 23255,
|
454
454
|
"isConstant": false,
|
455
455
|
"isLValue": false,
|
456
456
|
"isPure": true,
|
@@ -475,18 +475,18 @@
|
|
475
475
|
"rightExpression": {
|
476
476
|
"expression": {
|
477
477
|
"expression": {
|
478
|
-
"id":
|
478
|
+
"id": 23257,
|
479
479
|
"name": "IModule",
|
480
480
|
"nodeType": "Identifier",
|
481
481
|
"overloadedDeclarations": [],
|
482
|
-
"referencedDeclaration":
|
482
|
+
"referencedDeclaration": 23290,
|
483
483
|
"src": "422:7:35",
|
484
484
|
"typeDescriptions": {
|
485
|
-
"typeIdentifier": "t_type$_t_contract$_IModule_$
|
485
|
+
"typeIdentifier": "t_type$_t_contract$_IModule_$23290_$",
|
486
486
|
"typeString": "type(contract IModule)"
|
487
487
|
}
|
488
488
|
},
|
489
|
-
"id":
|
489
|
+
"id": 23258,
|
490
490
|
"isConstant": false,
|
491
491
|
"isLValue": false,
|
492
492
|
"isPure": true,
|
@@ -494,14 +494,14 @@
|
|
494
494
|
"memberLocation": "430:7:35",
|
495
495
|
"memberName": "install",
|
496
496
|
"nodeType": "MemberAccess",
|
497
|
-
"referencedDeclaration":
|
497
|
+
"referencedDeclaration": 23289,
|
498
498
|
"src": "422:15:35",
|
499
499
|
"typeDescriptions": {
|
500
500
|
"typeIdentifier": "t_function_declaration_nonpayable$_t_bytes_memory_ptr_$returns$__$",
|
501
501
|
"typeString": "function IModule.install(bytes memory)"
|
502
502
|
}
|
503
503
|
},
|
504
|
-
"id":
|
504
|
+
"id": 23259,
|
505
505
|
"isConstant": false,
|
506
506
|
"isLValue": false,
|
507
507
|
"isPure": true,
|
@@ -524,11 +524,11 @@
|
|
524
524
|
"nodeType": "BinaryOperation",
|
525
525
|
"operator": "^",
|
526
526
|
"rightExpression": {
|
527
|
-
"id":
|
527
|
+
"id": 23261,
|
528
528
|
"name": "ERC165_INTERFACE_ID",
|
529
529
|
"nodeType": "Identifier",
|
530
530
|
"overloadedDeclarations": [],
|
531
|
-
"referencedDeclaration":
|
531
|
+
"referencedDeclaration": 23232,
|
532
532
|
"src": "451:19:35",
|
533
533
|
"typeDescriptions": {
|
534
534
|
"typeIdentifier": "t_bytes4",
|
@@ -544,17 +544,17 @@
|
|
544
544
|
"visibility": "internal"
|
545
545
|
},
|
546
546
|
{
|
547
|
-
"id":
|
547
|
+
"id": 23290,
|
548
548
|
"nodeType": "ContractDefinition",
|
549
549
|
"src": "722:1291:35",
|
550
550
|
"nodes": [
|
551
551
|
{
|
552
|
-
"id":
|
552
|
+
"id": 23269,
|
553
553
|
"nodeType": "ErrorDefinition",
|
554
554
|
"src": "830:39:35",
|
555
555
|
"nodes": [],
|
556
556
|
"documentation": {
|
557
|
-
"id":
|
557
|
+
"id": 23267,
|
558
558
|
"nodeType": "StructuredDocumentation",
|
559
559
|
"src": "755:72:35",
|
560
560
|
"text": "@dev Errors to represent non-support of specific installation types."
|
@@ -563,14 +563,14 @@
|
|
563
563
|
"name": "Module_RootInstallNotSupported",
|
564
564
|
"nameLocation": "836:30:35",
|
565
565
|
"parameters": {
|
566
|
-
"id":
|
566
|
+
"id": 23268,
|
567
567
|
"nodeType": "ParameterList",
|
568
568
|
"parameters": [],
|
569
569
|
"src": "866:2:35"
|
570
570
|
}
|
571
571
|
},
|
572
572
|
{
|
573
|
-
"id":
|
573
|
+
"id": 23271,
|
574
574
|
"nodeType": "ErrorDefinition",
|
575
575
|
"src": "872:42:35",
|
576
576
|
"nodes": [],
|
@@ -578,19 +578,19 @@
|
|
578
578
|
"name": "Module_NonRootInstallNotSupported",
|
579
579
|
"nameLocation": "878:33:35",
|
580
580
|
"parameters": {
|
581
|
-
"id":
|
581
|
+
"id": 23270,
|
582
582
|
"nodeType": "ParameterList",
|
583
583
|
"parameters": [],
|
584
584
|
"src": "911:2:35"
|
585
585
|
}
|
586
586
|
},
|
587
587
|
{
|
588
|
-
"id":
|
588
|
+
"id": 23277,
|
589
589
|
"nodeType": "FunctionDefinition",
|
590
590
|
"src": "1095:56:35",
|
591
591
|
"nodes": [],
|
592
592
|
"documentation": {
|
593
|
-
"id":
|
593
|
+
"id": 23272,
|
594
594
|
"nodeType": "StructuredDocumentation",
|
595
595
|
"src": "918:174:35",
|
596
596
|
"text": " @notice Return the name of the module.\n @dev Provides a way to identify the module by a unique name.\n @return name The name of the module as a bytes16."
|
@@ -602,23 +602,23 @@
|
|
602
602
|
"name": "getName",
|
603
603
|
"nameLocation": "1104:7:35",
|
604
604
|
"parameters": {
|
605
|
-
"id":
|
605
|
+
"id": 23273,
|
606
606
|
"nodeType": "ParameterList",
|
607
607
|
"parameters": [],
|
608
608
|
"src": "1111:2:35"
|
609
609
|
},
|
610
610
|
"returnParameters": {
|
611
|
-
"id":
|
611
|
+
"id": 23276,
|
612
612
|
"nodeType": "ParameterList",
|
613
613
|
"parameters": [
|
614
614
|
{
|
615
615
|
"constant": false,
|
616
|
-
"id":
|
616
|
+
"id": 23275,
|
617
617
|
"mutability": "mutable",
|
618
618
|
"name": "name",
|
619
619
|
"nameLocation": "1145:4:35",
|
620
620
|
"nodeType": "VariableDeclaration",
|
621
|
-
"scope":
|
621
|
+
"scope": 23277,
|
622
622
|
"src": "1137:12:35",
|
623
623
|
"stateVariable": false,
|
624
624
|
"storageLocation": "default",
|
@@ -627,7 +627,7 @@
|
|
627
627
|
"typeString": "bytes16"
|
628
628
|
},
|
629
629
|
"typeName": {
|
630
|
-
"id":
|
630
|
+
"id": 23274,
|
631
631
|
"name": "bytes16",
|
632
632
|
"nodeType": "ElementaryTypeName",
|
633
633
|
"src": "1137:7:35",
|
@@ -641,18 +641,18 @@
|
|
641
641
|
],
|
642
642
|
"src": "1136:14:35"
|
643
643
|
},
|
644
|
-
"scope":
|
644
|
+
"scope": 23290,
|
645
645
|
"stateMutability": "view",
|
646
646
|
"virtual": false,
|
647
647
|
"visibility": "external"
|
648
648
|
},
|
649
649
|
{
|
650
|
-
"id":
|
650
|
+
"id": 23283,
|
651
651
|
"nodeType": "FunctionDefinition",
|
652
652
|
"src": "1496:49:35",
|
653
653
|
"nodes": [],
|
654
654
|
"documentation": {
|
655
|
-
"id":
|
655
|
+
"id": 23278,
|
656
656
|
"nodeType": "StructuredDocumentation",
|
657
657
|
"src": "1155:338:35",
|
658
658
|
"text": " @notice Installs the module as a root module.\n @dev This function is invoked by the World contract during `installRootModule` process.\n The module expects to be called via the World contract and thus installs itself on the `msg.sender`.\n @param args Arguments that may be needed during the installation process."
|
@@ -664,17 +664,17 @@
|
|
664
664
|
"name": "installRoot",
|
665
665
|
"nameLocation": "1505:11:35",
|
666
666
|
"parameters": {
|
667
|
-
"id":
|
667
|
+
"id": 23281,
|
668
668
|
"nodeType": "ParameterList",
|
669
669
|
"parameters": [
|
670
670
|
{
|
671
671
|
"constant": false,
|
672
|
-
"id":
|
672
|
+
"id": 23280,
|
673
673
|
"mutability": "mutable",
|
674
674
|
"name": "args",
|
675
675
|
"nameLocation": "1530:4:35",
|
676
676
|
"nodeType": "VariableDeclaration",
|
677
|
-
"scope":
|
677
|
+
"scope": 23283,
|
678
678
|
"src": "1517:17:35",
|
679
679
|
"stateVariable": false,
|
680
680
|
"storageLocation": "memory",
|
@@ -683,7 +683,7 @@
|
|
683
683
|
"typeString": "bytes"
|
684
684
|
},
|
685
685
|
"typeName": {
|
686
|
-
"id":
|
686
|
+
"id": 23279,
|
687
687
|
"name": "bytes",
|
688
688
|
"nodeType": "ElementaryTypeName",
|
689
689
|
"src": "1517:5:35",
|
@@ -698,23 +698,23 @@
|
|
698
698
|
"src": "1516:19:35"
|
699
699
|
},
|
700
700
|
"returnParameters": {
|
701
|
-
"id":
|
701
|
+
"id": 23282,
|
702
702
|
"nodeType": "ParameterList",
|
703
703
|
"parameters": [],
|
704
704
|
"src": "1544:0:35"
|
705
705
|
},
|
706
|
-
"scope":
|
706
|
+
"scope": 23290,
|
707
707
|
"stateMutability": "nonpayable",
|
708
708
|
"virtual": false,
|
709
709
|
"visibility": "external"
|
710
710
|
},
|
711
711
|
{
|
712
|
-
"id":
|
712
|
+
"id": 23289,
|
713
713
|
"nodeType": "FunctionDefinition",
|
714
714
|
"src": "1966:45:35",
|
715
715
|
"nodes": [],
|
716
716
|
"documentation": {
|
717
|
-
"id":
|
717
|
+
"id": 23284,
|
718
718
|
"nodeType": "StructuredDocumentation",
|
719
719
|
"src": "1549:414:35",
|
720
720
|
"text": " @notice Installs the module.\n @dev This function is invoked by the World contract during `installModule` process.\n The module expects to be called via the World contract and thus installs itself on the `msg.sender`.\n Logic might differ from `installRoot`, for example, this might accept namespace parameters.\n @param args Arguments that may be needed during the installation process."
|
@@ -726,17 +726,17 @@
|
|
726
726
|
"name": "install",
|
727
727
|
"nameLocation": "1975:7:35",
|
728
728
|
"parameters": {
|
729
|
-
"id":
|
729
|
+
"id": 23287,
|
730
730
|
"nodeType": "ParameterList",
|
731
731
|
"parameters": [
|
732
732
|
{
|
733
733
|
"constant": false,
|
734
|
-
"id":
|
734
|
+
"id": 23286,
|
735
735
|
"mutability": "mutable",
|
736
736
|
"name": "args",
|
737
737
|
"nameLocation": "1996:4:35",
|
738
738
|
"nodeType": "VariableDeclaration",
|
739
|
-
"scope":
|
739
|
+
"scope": 23289,
|
740
740
|
"src": "1983:17:35",
|
741
741
|
"stateVariable": false,
|
742
742
|
"storageLocation": "memory",
|
@@ -745,7 +745,7 @@
|
|
745
745
|
"typeString": "bytes"
|
746
746
|
},
|
747
747
|
"typeName": {
|
748
|
-
"id":
|
748
|
+
"id": 23285,
|
749
749
|
"name": "bytes",
|
750
750
|
"nodeType": "ElementaryTypeName",
|
751
751
|
"src": "1983:5:35",
|
@@ -760,12 +760,12 @@
|
|
760
760
|
"src": "1982:19:35"
|
761
761
|
},
|
762
762
|
"returnParameters": {
|
763
|
-
"id":
|
763
|
+
"id": 23288,
|
764
764
|
"nodeType": "ParameterList",
|
765
765
|
"parameters": [],
|
766
766
|
"src": "2010:0:35"
|
767
767
|
},
|
768
|
-
"scope":
|
768
|
+
"scope": 23290,
|
769
769
|
"stateMutability": "nonpayable",
|
770
770
|
"virtual": false,
|
771
771
|
"visibility": "external"
|
@@ -775,16 +775,16 @@
|
|
775
775
|
"baseContracts": [
|
776
776
|
{
|
777
777
|
"baseName": {
|
778
|
-
"id":
|
778
|
+
"id": 23265,
|
779
779
|
"name": "IERC165",
|
780
780
|
"nameLocations": [
|
781
781
|
"743:7:35"
|
782
782
|
],
|
783
783
|
"nodeType": "IdentifierPath",
|
784
|
-
"referencedDeclaration":
|
784
|
+
"referencedDeclaration": 23242,
|
785
785
|
"src": "743:7:35"
|
786
786
|
},
|
787
|
-
"id":
|
787
|
+
"id": 23266,
|
788
788
|
"nodeType": "InheritanceSpecifier",
|
789
789
|
"src": "743:7:35"
|
790
790
|
}
|
@@ -793,22 +793,22 @@
|
|
793
793
|
"contractDependencies": [],
|
794
794
|
"contractKind": "interface",
|
795
795
|
"documentation": {
|
796
|
-
"id":
|
796
|
+
"id": 23264,
|
797
797
|
"nodeType": "StructuredDocumentation",
|
798
798
|
"src": "473:248:35",
|
799
799
|
"text": " @title IModule\n @dev Interface for the Module system.\n A module can be installed within the context of a world, either as a root or non-root module.\n This interface adheres to the ERC-165 standard for determining interface support."
|
800
800
|
},
|
801
801
|
"fullyImplemented": false,
|
802
802
|
"linearizedBaseContracts": [
|
803
|
-
|
804
|
-
|
803
|
+
23290,
|
804
|
+
23242
|
805
805
|
],
|
806
806
|
"name": "IModule",
|
807
807
|
"nameLocation": "732:7:35",
|
808
|
-
"scope":
|
808
|
+
"scope": 23291,
|
809
809
|
"usedErrors": [
|
810
|
-
|
811
|
-
|
810
|
+
23269,
|
811
|
+
23271
|
812
812
|
],
|
813
813
|
"usedEvents": []
|
814
814
|
}
|