@latticexyz/world-modules 2.0.0-main-e20633d4 → 2.0.0-main-071aadb9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4463 -4463
- package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
- package/out/DelegationControl.sol/DelegationControl.json +98 -98
- 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 +3186 -3186
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +106 -100
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +98 -92
- package/out/IBaseWorld.sol/IBaseWorld.json +79 -79
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +92 -86
- package/out/ICoreSystem.sol/ICoreSystem.json +19 -13
- package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +52 -46
- 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 +329 -323
- package/out/KeysInTable.sol/KeysInTable.json +18239 -18239
- package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
- package/out/KeysInTableModule.sol/KeysInTableModule.json +564 -564
- package/out/KeysWithValue.sol/KeysWithValue.json +6661 -6661
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1023 -1023
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +450 -450
- package/out/Memory.sol/Memory.json +4 -4
- package/out/Module.sol/Module.json +88 -88
- package/out/ResourceIds.sol/ResourceIds.json +1237 -1231
- 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 +330 -330
- package/out/Storage.sol/Storage.json +7 -7
- package/out/StoreCore.sol/StoreCore.json +101 -101
- package/out/StoreCore.sol/StoreCoreInternal.json +101 -101
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +6042 -6042
- package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
- package/out/System.sol/System.json +32 -32
- package/out/Tables.sol/Tables.json +10401 -10401
- package/out/TightCoder.sol/TightCoder.json +124 -124
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3442 -3442
- package/out/UniqueEntity.sol/UniqueEntity.json +2344 -2344
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +351 -351
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4568 -4562
- package/out/WorldContext.sol/WorldContextConsumer.json +376 -376
- package/out/WorldContext.sol/WorldContextProvider.json +376 -376
- 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 +186 -186
- 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 +52 -52
- package/out/src/IWorldKernel.sol/IWorldCall.json +154 -154
- package/out/src/IWorldKernel.sol/IWorldKernel.json +154 -154
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
- 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 +4473 -4473
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4473 -4473
- 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 +2889 -2883
- package/out/tables/Tables.sol/Tables.json +12187 -12187
- 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/src/interfaces/IBaseWorld.sol +4 -2
- package/src/modules/keysintable/tables/KeysInTable.sol +357 -163
- package/src/modules/keysintable/tables/UsedKeysIndex.sol +116 -36
- package/src/modules/keyswithvalue/tables/KeysWithValue.sol +163 -69
- package/src/modules/std-delegations/tables/CallboundDelegations.sol +87 -26
- package/src/modules/std-delegations/tables/TimeboundDelegations.sol +87 -26
- package/src/modules/uniqueentity/tables/UniqueEntity.sol +87 -26
@@ -231,26 +231,26 @@
|
|
231
231
|
},
|
232
232
|
"ast": {
|
233
233
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldContextConsumer.sol",
|
234
|
-
"id":
|
234
|
+
"id": 23381,
|
235
235
|
"exportedSymbols": {
|
236
236
|
"ERC165_INTERFACE_ID": [
|
237
|
-
|
237
|
+
23234
|
238
238
|
],
|
239
239
|
"IERC165": [
|
240
|
-
|
240
|
+
23244
|
241
241
|
],
|
242
242
|
"IWorldContextConsumer": [
|
243
|
-
|
243
|
+
23380
|
244
244
|
],
|
245
245
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
246
|
-
|
246
|
+
23358
|
247
247
|
]
|
248
248
|
},
|
249
249
|
"nodeType": "SourceUnit",
|
250
250
|
"src": "32:1985:37",
|
251
251
|
"nodes": [
|
252
252
|
{
|
253
|
-
"id":
|
253
|
+
"id": 23339,
|
254
254
|
"nodeType": "PragmaDirective",
|
255
255
|
"src": "32:25:37",
|
256
256
|
"nodes": [],
|
@@ -262,23 +262,23 @@
|
|
262
262
|
]
|
263
263
|
},
|
264
264
|
{
|
265
|
-
"id":
|
265
|
+
"id": 23342,
|
266
266
|
"nodeType": "ImportDirective",
|
267
267
|
"src": "59:61:37",
|
268
268
|
"nodes": [],
|
269
269
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IERC165.sol",
|
270
270
|
"file": "./IERC165.sol",
|
271
271
|
"nameLocation": "-1:-1:-1",
|
272
|
-
"scope":
|
273
|
-
"sourceUnit":
|
272
|
+
"scope": 23381,
|
273
|
+
"sourceUnit": 23245,
|
274
274
|
"symbolAliases": [
|
275
275
|
{
|
276
276
|
"foreign": {
|
277
|
-
"id":
|
277
|
+
"id": 23340,
|
278
278
|
"name": "IERC165",
|
279
279
|
"nodeType": "Identifier",
|
280
280
|
"overloadedDeclarations": [],
|
281
|
-
"referencedDeclaration":
|
281
|
+
"referencedDeclaration": 23244,
|
282
282
|
"src": "68:7:37",
|
283
283
|
"typeDescriptions": {}
|
284
284
|
},
|
@@ -286,11 +286,11 @@
|
|
286
286
|
},
|
287
287
|
{
|
288
288
|
"foreign": {
|
289
|
-
"id":
|
289
|
+
"id": 23341,
|
290
290
|
"name": "ERC165_INTERFACE_ID",
|
291
291
|
"nodeType": "Identifier",
|
292
292
|
"overloadedDeclarations": [],
|
293
|
-
"referencedDeclaration":
|
293
|
+
"referencedDeclaration": 23234,
|
294
294
|
"src": "77:19:37",
|
295
295
|
"typeDescriptions": {}
|
296
296
|
},
|
@@ -300,7 +300,7 @@
|
|
300
300
|
"unitAlias": ""
|
301
301
|
},
|
302
302
|
{
|
303
|
-
"id":
|
303
|
+
"id": 23358,
|
304
304
|
"nodeType": "VariableDeclaration",
|
305
305
|
"src": "431:206:37",
|
306
306
|
"nodes": [],
|
@@ -308,7 +308,7 @@
|
|
308
308
|
"mutability": "constant",
|
309
309
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
310
310
|
"nameLocation": "447:35:37",
|
311
|
-
"scope":
|
311
|
+
"scope": 23381,
|
312
312
|
"stateVariable": false,
|
313
313
|
"storageLocation": "default",
|
314
314
|
"typeDescriptions": {
|
@@ -316,7 +316,7 @@
|
|
316
316
|
"typeString": "bytes4"
|
317
317
|
},
|
318
318
|
"typeName": {
|
319
|
-
"id":
|
319
|
+
"id": 23344,
|
320
320
|
"name": "bytes4",
|
321
321
|
"nodeType": "ElementaryTypeName",
|
322
322
|
"src": "431:6:37",
|
@@ -330,7 +330,7 @@
|
|
330
330
|
"typeIdentifier": "t_bytes4",
|
331
331
|
"typeString": "bytes4"
|
332
332
|
},
|
333
|
-
"id":
|
333
|
+
"id": 23357,
|
334
334
|
"isConstant": false,
|
335
335
|
"isLValue": false,
|
336
336
|
"isPure": true,
|
@@ -340,7 +340,7 @@
|
|
340
340
|
"typeIdentifier": "t_bytes4",
|
341
341
|
"typeString": "bytes4"
|
342
342
|
},
|
343
|
-
"id":
|
343
|
+
"id": 23355,
|
344
344
|
"isConstant": false,
|
345
345
|
"isLValue": false,
|
346
346
|
"isPure": true,
|
@@ -350,7 +350,7 @@
|
|
350
350
|
"typeIdentifier": "t_bytes4",
|
351
351
|
"typeString": "bytes4"
|
352
352
|
},
|
353
|
-
"id":
|
353
|
+
"id": 23351,
|
354
354
|
"isConstant": false,
|
355
355
|
"isLValue": false,
|
356
356
|
"isPure": true,
|
@@ -358,18 +358,18 @@
|
|
358
358
|
"leftExpression": {
|
359
359
|
"expression": {
|
360
360
|
"expression": {
|
361
|
-
"id":
|
361
|
+
"id": 23345,
|
362
362
|
"name": "IWorldContextConsumer",
|
363
363
|
"nodeType": "Identifier",
|
364
364
|
"overloadedDeclarations": [],
|
365
|
-
"referencedDeclaration":
|
365
|
+
"referencedDeclaration": 23380,
|
366
366
|
"src": "485:21:37",
|
367
367
|
"typeDescriptions": {
|
368
|
-
"typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$
|
368
|
+
"typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23380_$",
|
369
369
|
"typeString": "type(contract IWorldContextConsumer)"
|
370
370
|
}
|
371
371
|
},
|
372
|
-
"id":
|
372
|
+
"id": 23346,
|
373
373
|
"isConstant": false,
|
374
374
|
"isLValue": false,
|
375
375
|
"isPure": true,
|
@@ -377,14 +377,14 @@
|
|
377
377
|
"memberLocation": "507:10:37",
|
378
378
|
"memberName": "_msgSender",
|
379
379
|
"nodeType": "MemberAccess",
|
380
|
-
"referencedDeclaration":
|
380
|
+
"referencedDeclaration": 23367,
|
381
381
|
"src": "485:32:37",
|
382
382
|
"typeDescriptions": {
|
383
383
|
"typeIdentifier": "t_function_declaration_view$__$returns$_t_address_$",
|
384
384
|
"typeString": "function IWorldContextConsumer._msgSender() view returns (address)"
|
385
385
|
}
|
386
386
|
},
|
387
|
-
"id":
|
387
|
+
"id": 23347,
|
388
388
|
"isConstant": false,
|
389
389
|
"isLValue": false,
|
390
390
|
"isPure": true,
|
@@ -403,18 +403,18 @@
|
|
403
403
|
"rightExpression": {
|
404
404
|
"expression": {
|
405
405
|
"expression": {
|
406
|
-
"id":
|
406
|
+
"id": 23348,
|
407
407
|
"name": "IWorldContextConsumer",
|
408
408
|
"nodeType": "Identifier",
|
409
409
|
"overloadedDeclarations": [],
|
410
|
-
"referencedDeclaration":
|
410
|
+
"referencedDeclaration": 23380,
|
411
411
|
"src": "531:21:37",
|
412
412
|
"typeDescriptions": {
|
413
|
-
"typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$
|
413
|
+
"typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23380_$",
|
414
414
|
"typeString": "type(contract IWorldContextConsumer)"
|
415
415
|
}
|
416
416
|
},
|
417
|
-
"id":
|
417
|
+
"id": 23349,
|
418
418
|
"isConstant": false,
|
419
419
|
"isLValue": false,
|
420
420
|
"isPure": true,
|
@@ -422,14 +422,14 @@
|
|
422
422
|
"memberLocation": "553:9:37",
|
423
423
|
"memberName": "_msgValue",
|
424
424
|
"nodeType": "MemberAccess",
|
425
|
-
"referencedDeclaration":
|
425
|
+
"referencedDeclaration": 23373,
|
426
426
|
"src": "531:31:37",
|
427
427
|
"typeDescriptions": {
|
428
428
|
"typeIdentifier": "t_function_declaration_view$__$returns$_t_uint256_$",
|
429
429
|
"typeString": "function IWorldContextConsumer._msgValue() view returns (uint256)"
|
430
430
|
}
|
431
431
|
},
|
432
|
-
"id":
|
432
|
+
"id": 23350,
|
433
433
|
"isConstant": false,
|
434
434
|
"isLValue": false,
|
435
435
|
"isPure": true,
|
@@ -454,18 +454,18 @@
|
|
454
454
|
"rightExpression": {
|
455
455
|
"expression": {
|
456
456
|
"expression": {
|
457
|
-
"id":
|
457
|
+
"id": 23352,
|
458
458
|
"name": "IWorldContextConsumer",
|
459
459
|
"nodeType": "Identifier",
|
460
460
|
"overloadedDeclarations": [],
|
461
|
-
"referencedDeclaration":
|
461
|
+
"referencedDeclaration": 23380,
|
462
462
|
"src": "576:21:37",
|
463
463
|
"typeDescriptions": {
|
464
|
-
"typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$
|
464
|
+
"typeIdentifier": "t_type$_t_contract$_IWorldContextConsumer_$23380_$",
|
465
465
|
"typeString": "type(contract IWorldContextConsumer)"
|
466
466
|
}
|
467
467
|
},
|
468
|
-
"id":
|
468
|
+
"id": 23353,
|
469
469
|
"isConstant": false,
|
470
470
|
"isLValue": false,
|
471
471
|
"isPure": true,
|
@@ -473,14 +473,14 @@
|
|
473
473
|
"memberLocation": "598:6:37",
|
474
474
|
"memberName": "_world",
|
475
475
|
"nodeType": "MemberAccess",
|
476
|
-
"referencedDeclaration":
|
476
|
+
"referencedDeclaration": 23379,
|
477
477
|
"src": "576:28:37",
|
478
478
|
"typeDescriptions": {
|
479
479
|
"typeIdentifier": "t_function_declaration_view$__$returns$_t_address_$",
|
480
480
|
"typeString": "function IWorldContextConsumer._world() view returns (address)"
|
481
481
|
}
|
482
482
|
},
|
483
|
-
"id":
|
483
|
+
"id": 23354,
|
484
484
|
"isConstant": false,
|
485
485
|
"isLValue": false,
|
486
486
|
"isPure": true,
|
@@ -503,11 +503,11 @@
|
|
503
503
|
"nodeType": "BinaryOperation",
|
504
504
|
"operator": "^",
|
505
505
|
"rightExpression": {
|
506
|
-
"id":
|
506
|
+
"id": 23356,
|
507
507
|
"name": "ERC165_INTERFACE_ID",
|
508
508
|
"nodeType": "Identifier",
|
509
509
|
"overloadedDeclarations": [],
|
510
|
-
"referencedDeclaration":
|
510
|
+
"referencedDeclaration": 23234,
|
511
511
|
"src": "618:19:37",
|
512
512
|
"typeDescriptions": {
|
513
513
|
"typeIdentifier": "t_bytes4",
|
@@ -523,17 +523,17 @@
|
|
523
523
|
"visibility": "internal"
|
524
524
|
},
|
525
525
|
{
|
526
|
-
"id":
|
526
|
+
"id": 23380,
|
527
527
|
"nodeType": "ContractDefinition",
|
528
528
|
"src": "1114:902:37",
|
529
529
|
"nodes": [
|
530
530
|
{
|
531
|
-
"id":
|
531
|
+
"id": 23367,
|
532
532
|
"nodeType": "FunctionDefinition",
|
533
533
|
"src": "1406:54:37",
|
534
534
|
"nodes": [],
|
535
535
|
"documentation": {
|
536
|
-
"id":
|
536
|
+
"id": 23362,
|
537
537
|
"nodeType": "StructuredDocumentation",
|
538
538
|
"src": "1161:242:37",
|
539
539
|
"text": " @notice Extract the `msg.sender` from the context appended to the calldata.\n @return The address of the `msg.sender` that called the World contract\n before the World routed the call to the WorldContextConsumer contract."
|
@@ -545,23 +545,23 @@
|
|
545
545
|
"name": "_msgSender",
|
546
546
|
"nameLocation": "1415:10:37",
|
547
547
|
"parameters": {
|
548
|
-
"id":
|
548
|
+
"id": 23363,
|
549
549
|
"nodeType": "ParameterList",
|
550
550
|
"parameters": [],
|
551
551
|
"src": "1425:2:37"
|
552
552
|
},
|
553
553
|
"returnParameters": {
|
554
|
-
"id":
|
554
|
+
"id": 23366,
|
555
555
|
"nodeType": "ParameterList",
|
556
556
|
"parameters": [
|
557
557
|
{
|
558
558
|
"constant": false,
|
559
|
-
"id":
|
559
|
+
"id": 23365,
|
560
560
|
"mutability": "mutable",
|
561
561
|
"name": "",
|
562
562
|
"nameLocation": "-1:-1:-1",
|
563
563
|
"nodeType": "VariableDeclaration",
|
564
|
-
"scope":
|
564
|
+
"scope": 23367,
|
565
565
|
"src": "1451:7:37",
|
566
566
|
"stateVariable": false,
|
567
567
|
"storageLocation": "default",
|
@@ -570,7 +570,7 @@
|
|
570
570
|
"typeString": "address"
|
571
571
|
},
|
572
572
|
"typeName": {
|
573
|
-
"id":
|
573
|
+
"id": 23364,
|
574
574
|
"name": "address",
|
575
575
|
"nodeType": "ElementaryTypeName",
|
576
576
|
"src": "1451:7:37",
|
@@ -585,18 +585,18 @@
|
|
585
585
|
],
|
586
586
|
"src": "1450:9:37"
|
587
587
|
},
|
588
|
-
"scope":
|
588
|
+
"scope": 23380,
|
589
589
|
"stateMutability": "view",
|
590
590
|
"virtual": false,
|
591
591
|
"visibility": "external"
|
592
592
|
},
|
593
593
|
{
|
594
|
-
"id":
|
594
|
+
"id": 23373,
|
595
595
|
"nodeType": "FunctionDefinition",
|
596
596
|
"src": "1695:53:37",
|
597
597
|
"nodes": [],
|
598
598
|
"documentation": {
|
599
|
-
"id":
|
599
|
+
"id": 23368,
|
600
600
|
"nodeType": "StructuredDocumentation",
|
601
601
|
"src": "1464:228:37",
|
602
602
|
"text": " @notice Extract the `msg.value` from the context appended to the calldata.\n @return The `msg.value` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
@@ -608,23 +608,23 @@
|
|
608
608
|
"name": "_msgValue",
|
609
609
|
"nameLocation": "1704:9:37",
|
610
610
|
"parameters": {
|
611
|
-
"id":
|
611
|
+
"id": 23369,
|
612
612
|
"nodeType": "ParameterList",
|
613
613
|
"parameters": [],
|
614
614
|
"src": "1713:2:37"
|
615
615
|
},
|
616
616
|
"returnParameters": {
|
617
|
-
"id":
|
617
|
+
"id": 23372,
|
618
618
|
"nodeType": "ParameterList",
|
619
619
|
"parameters": [
|
620
620
|
{
|
621
621
|
"constant": false,
|
622
|
-
"id":
|
622
|
+
"id": 23371,
|
623
623
|
"mutability": "mutable",
|
624
624
|
"name": "",
|
625
625
|
"nameLocation": "-1:-1:-1",
|
626
626
|
"nodeType": "VariableDeclaration",
|
627
|
-
"scope":
|
627
|
+
"scope": 23373,
|
628
628
|
"src": "1739:7:37",
|
629
629
|
"stateVariable": false,
|
630
630
|
"storageLocation": "default",
|
@@ -633,7 +633,7 @@
|
|
633
633
|
"typeString": "uint256"
|
634
634
|
},
|
635
635
|
"typeName": {
|
636
|
-
"id":
|
636
|
+
"id": 23370,
|
637
637
|
"name": "uint256",
|
638
638
|
"nodeType": "ElementaryTypeName",
|
639
639
|
"src": "1739:7:37",
|
@@ -647,18 +647,18 @@
|
|
647
647
|
],
|
648
648
|
"src": "1738:9:37"
|
649
649
|
},
|
650
|
-
"scope":
|
650
|
+
"scope": 23380,
|
651
651
|
"stateMutability": "view",
|
652
652
|
"virtual": false,
|
653
653
|
"visibility": "external"
|
654
654
|
},
|
655
655
|
{
|
656
|
-
"id":
|
656
|
+
"id": 23379,
|
657
657
|
"nodeType": "FunctionDefinition",
|
658
658
|
"src": "1964:50:37",
|
659
659
|
"nodes": [],
|
660
660
|
"documentation": {
|
661
|
-
"id":
|
661
|
+
"id": 23374,
|
662
662
|
"nodeType": "StructuredDocumentation",
|
663
663
|
"src": "1752:209:37",
|
664
664
|
"text": " @notice Get the address of the World contract that routed the call to this WorldContextConsumer.\n @return The address of the World contract that routed the call to this WorldContextConsumer."
|
@@ -670,23 +670,23 @@
|
|
670
670
|
"name": "_world",
|
671
671
|
"nameLocation": "1973:6:37",
|
672
672
|
"parameters": {
|
673
|
-
"id":
|
673
|
+
"id": 23375,
|
674
674
|
"nodeType": "ParameterList",
|
675
675
|
"parameters": [],
|
676
676
|
"src": "1979:2:37"
|
677
677
|
},
|
678
678
|
"returnParameters": {
|
679
|
-
"id":
|
679
|
+
"id": 23378,
|
680
680
|
"nodeType": "ParameterList",
|
681
681
|
"parameters": [
|
682
682
|
{
|
683
683
|
"constant": false,
|
684
|
-
"id":
|
684
|
+
"id": 23377,
|
685
685
|
"mutability": "mutable",
|
686
686
|
"name": "",
|
687
687
|
"nameLocation": "-1:-1:-1",
|
688
688
|
"nodeType": "VariableDeclaration",
|
689
|
-
"scope":
|
689
|
+
"scope": 23379,
|
690
690
|
"src": "2005:7:37",
|
691
691
|
"stateVariable": false,
|
692
692
|
"storageLocation": "default",
|
@@ -695,7 +695,7 @@
|
|
695
695
|
"typeString": "address"
|
696
696
|
},
|
697
697
|
"typeName": {
|
698
|
-
"id":
|
698
|
+
"id": 23376,
|
699
699
|
"name": "address",
|
700
700
|
"nodeType": "ElementaryTypeName",
|
701
701
|
"src": "2005:7:37",
|
@@ -710,7 +710,7 @@
|
|
710
710
|
],
|
711
711
|
"src": "2004:9:37"
|
712
712
|
},
|
713
|
-
"scope":
|
713
|
+
"scope": 23380,
|
714
714
|
"stateMutability": "view",
|
715
715
|
"virtual": false,
|
716
716
|
"visibility": "external"
|
@@ -720,16 +720,16 @@
|
|
720
720
|
"baseContracts": [
|
721
721
|
{
|
722
722
|
"baseName": {
|
723
|
-
"id":
|
723
|
+
"id": 23360,
|
724
724
|
"name": "IERC165",
|
725
725
|
"nameLocations": [
|
726
726
|
"1149:7:37"
|
727
727
|
],
|
728
728
|
"nodeType": "IdentifierPath",
|
729
|
-
"referencedDeclaration":
|
729
|
+
"referencedDeclaration": 23244,
|
730
730
|
"src": "1149:7:37"
|
731
731
|
},
|
732
|
-
"id":
|
732
|
+
"id": 23361,
|
733
733
|
"nodeType": "InheritanceSpecifier",
|
734
734
|
"src": "1149:7:37"
|
735
735
|
}
|
@@ -738,19 +738,19 @@
|
|
738
738
|
"contractDependencies": [],
|
739
739
|
"contractKind": "interface",
|
740
740
|
"documentation": {
|
741
|
-
"id":
|
741
|
+
"id": 23359,
|
742
742
|
"nodeType": "StructuredDocumentation",
|
743
743
|
"src": "640:473:37",
|
744
744
|
"text": " @title WorldContextConsumer - Extracting trusted context values from appended calldata.\n @notice This contract is designed to extract trusted context values (like msg.sender and msg.value)\n from the appended calldata. It provides mechanisms similar to EIP-2771 (https://eips.ethereum.org/EIPS/eip-2771),\n but allowing any contract to be the trusted forwarder.\n @dev This contract should only be used for contracts without their own storage, like Systems."
|
745
745
|
},
|
746
746
|
"fullyImplemented": false,
|
747
747
|
"linearizedBaseContracts": [
|
748
|
-
|
749
|
-
|
748
|
+
23380,
|
749
|
+
23244
|
750
750
|
],
|
751
751
|
"name": "IWorldContextConsumer",
|
752
752
|
"nameLocation": "1124:21:37",
|
753
|
-
"scope":
|
753
|
+
"scope": 23381,
|
754
754
|
"usedErrors": [],
|
755
755
|
"usedEvents": []
|
756
756
|
}
|