@latticexyz/world-modules 2.0.0-next.10 → 2.0.0-next.11
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/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1651 -0
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +13002 -0
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +354 -354
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +139 -139
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
- package/out/ISystemHook.sol/ISystemHook.json +16 -16
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +14 -14
- package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
- package/out/Module.sol/Module.json +119 -119
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +729 -729
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +452 -452
- package/out/StoreHook.sol/StoreHook.json +639 -639
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +32 -32
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +32460 -0
- package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
- package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +18508 -0
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +187 -187
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +107 -107
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
- package/out/constants.sol/constants.json +477 -194
- package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
- package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
- package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
- package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +175 -175
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
- package/out/src/Bytes.sol/Bytes.json +3766 -3766
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
- package/out/src/Hook.sol/HookInstance.abi.json +1 -0
- package/out/src/Hook.sol/HookInstance.json +2823 -0
- package/out/src/Hook.sol/HookLib.abi.json +1 -0
- package/out/src/Hook.sol/HookLib.json +2823 -0
- package/out/src/IStore.sol/IStore.json +73 -73
- package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
- package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
- package/out/src/IWorldKernel.sol/IWorldCall.json +262 -262
- package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
- package/out/src/Memory.sol/Memory.json +242 -242
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
- package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
- package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
- package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
- package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
- package/out/src/Schema.sol/SchemaLib.json +1351 -1351
- package/out/src/Slice.sol/SliceInstance.json +802 -802
- package/out/src/Slice.sol/SliceLib.json +802 -802
- package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
- package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
- package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
- package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +813 -813
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
- package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
- package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
- package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
- package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
- package/out/tables/Tables.sol/Tables.json +12189 -12189
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
- package/out/types.sol/types.json +71 -71
- package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
- package/package.json +8 -8
- package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
- package/src/utils/SystemSwitch.sol +82 -0
@@ -2,12 +2,12 @@
|
|
2
2
|
"abi": [],
|
3
3
|
"bytecode": {
|
4
4
|
"object": "0x602d6037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
5
|
-
"sourceMap": "2503:1427:
|
5
|
+
"sourceMap": "2503:1427:100:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;2503:1427:100;;;;;;;;;;;;;;;;;",
|
6
6
|
"linkReferences": {}
|
7
7
|
},
|
8
8
|
"deployedBytecode": {
|
9
9
|
"object": "0x73000000000000000000000000000000000000000030146080604052600080fdfea164736f6c6343000815000a",
|
10
|
-
"sourceMap": "2503:1427:
|
10
|
+
"sourceMap": "2503:1427:100:-:0;;;;;;;;",
|
11
11
|
"linkReferences": {}
|
12
12
|
},
|
13
13
|
"methodIdentifiers": {},
|
@@ -358,43 +358,43 @@
|
|
358
358
|
},
|
359
359
|
"ast": {
|
360
360
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldContext.sol",
|
361
|
-
"id":
|
361
|
+
"id": 42227,
|
362
362
|
"exportedSymbols": {
|
363
363
|
"CONTEXT_BYTES": [
|
364
|
-
|
364
|
+
41978
|
365
365
|
],
|
366
366
|
"ERC165_INTERFACE_ID": [
|
367
|
-
|
367
|
+
75623
|
368
368
|
],
|
369
369
|
"IWorldContextConsumer": [
|
370
|
-
|
370
|
+
75676
|
371
371
|
],
|
372
372
|
"StoreSwitch": [
|
373
|
-
|
373
|
+
33826
|
374
374
|
],
|
375
375
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
376
|
-
|
376
|
+
75654
|
377
377
|
],
|
378
378
|
"WorldContextConsumer": [
|
379
|
-
|
379
|
+
42032
|
380
380
|
],
|
381
381
|
"WorldContextConsumerLib": [
|
382
|
-
|
382
|
+
42072
|
383
383
|
],
|
384
384
|
"WorldContextProviderLib": [
|
385
|
-
|
385
|
+
42226
|
386
386
|
],
|
387
387
|
"revertWithBytes": [
|
388
|
-
|
388
|
+
49007
|
389
389
|
]
|
390
390
|
},
|
391
391
|
"nodeType": "SourceUnit",
|
392
|
-
"src": "32:8156:
|
392
|
+
"src": "32:8156:100",
|
393
393
|
"nodes": [
|
394
394
|
{
|
395
|
-
"id":
|
395
|
+
"id": 41964,
|
396
396
|
"nodeType": "PragmaDirective",
|
397
|
-
"src": "32:25:
|
397
|
+
"src": "32:25:100",
|
398
398
|
"nodes": [],
|
399
399
|
"literals": [
|
400
400
|
"solidity",
|
@@ -404,24 +404,24 @@
|
|
404
404
|
]
|
405
405
|
},
|
406
406
|
{
|
407
|
-
"id":
|
407
|
+
"id": 41966,
|
408
408
|
"nodeType": "ImportDirective",
|
409
|
-
"src": "59:68:
|
409
|
+
"src": "59:68:100",
|
410
410
|
"nodes": [],
|
411
411
|
"absolutePath": "node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
412
412
|
"file": "@latticexyz/store/src/StoreSwitch.sol",
|
413
413
|
"nameLocation": "-1:-1:-1",
|
414
|
-
"scope":
|
415
|
-
"sourceUnit":
|
414
|
+
"scope": 42227,
|
415
|
+
"sourceUnit": 33827,
|
416
416
|
"symbolAliases": [
|
417
417
|
{
|
418
418
|
"foreign": {
|
419
|
-
"id":
|
419
|
+
"id": 41965,
|
420
420
|
"name": "StoreSwitch",
|
421
421
|
"nodeType": "Identifier",
|
422
422
|
"overloadedDeclarations": [],
|
423
|
-
"referencedDeclaration":
|
424
|
-
"src": "68:11:
|
423
|
+
"referencedDeclaration": 33826,
|
424
|
+
"src": "68:11:100",
|
425
425
|
"typeDescriptions": {}
|
426
426
|
},
|
427
427
|
"nameLocation": "-1:-1:-1"
|
@@ -430,24 +430,24 @@
|
|
430
430
|
"unitAlias": ""
|
431
431
|
},
|
432
432
|
{
|
433
|
-
"id":
|
433
|
+
"id": 41968,
|
434
434
|
"nodeType": "ImportDirective",
|
435
|
-
"src": "128:56:
|
435
|
+
"src": "128:56:100",
|
436
436
|
"nodes": [],
|
437
437
|
"absolutePath": "node_modules/@latticexyz/world/src/revertWithBytes.sol",
|
438
438
|
"file": "./revertWithBytes.sol",
|
439
439
|
"nameLocation": "-1:-1:-1",
|
440
|
-
"scope":
|
441
|
-
"sourceUnit":
|
440
|
+
"scope": 42227,
|
441
|
+
"sourceUnit": 49008,
|
442
442
|
"symbolAliases": [
|
443
443
|
{
|
444
444
|
"foreign": {
|
445
|
-
"id":
|
445
|
+
"id": 41967,
|
446
446
|
"name": "revertWithBytes",
|
447
447
|
"nodeType": "Identifier",
|
448
448
|
"overloadedDeclarations": [],
|
449
|
-
"referencedDeclaration":
|
450
|
-
"src": "137:15:
|
449
|
+
"referencedDeclaration": 49007,
|
450
|
+
"src": "137:15:100",
|
451
451
|
"typeDescriptions": {}
|
452
452
|
},
|
453
453
|
"nameLocation": "-1:-1:-1"
|
@@ -456,24 +456,24 @@
|
|
456
456
|
"unitAlias": ""
|
457
457
|
},
|
458
458
|
{
|
459
|
-
"id":
|
459
|
+
"id": 41970,
|
460
460
|
"nodeType": "ImportDirective",
|
461
|
-
"src": "185:52:
|
461
|
+
"src": "185:52:100",
|
462
462
|
"nodes": [],
|
463
463
|
"absolutePath": "node_modules/@latticexyz/world/src/IERC165.sol",
|
464
464
|
"file": "./IERC165.sol",
|
465
465
|
"nameLocation": "-1:-1:-1",
|
466
|
-
"scope":
|
467
|
-
"sourceUnit":
|
466
|
+
"scope": 42227,
|
467
|
+
"sourceUnit": 75634,
|
468
468
|
"symbolAliases": [
|
469
469
|
{
|
470
470
|
"foreign": {
|
471
|
-
"id":
|
471
|
+
"id": 41969,
|
472
472
|
"name": "ERC165_INTERFACE_ID",
|
473
473
|
"nodeType": "Identifier",
|
474
474
|
"overloadedDeclarations": [],
|
475
|
-
"referencedDeclaration":
|
476
|
-
"src": "194:19:
|
475
|
+
"referencedDeclaration": 75623,
|
476
|
+
"src": "194:19:100",
|
477
477
|
"typeDescriptions": {}
|
478
478
|
},
|
479
479
|
"nameLocation": "-1:-1:-1"
|
@@ -482,36 +482,36 @@
|
|
482
482
|
"unitAlias": ""
|
483
483
|
},
|
484
484
|
{
|
485
|
-
"id":
|
485
|
+
"id": 41973,
|
486
486
|
"nodeType": "ImportDirective",
|
487
|
-
"src": "238:105:
|
487
|
+
"src": "238:105:100",
|
488
488
|
"nodes": [],
|
489
489
|
"absolutePath": "node_modules/@latticexyz/world/src/IWorldContextConsumer.sol",
|
490
490
|
"file": "./IWorldContextConsumer.sol",
|
491
491
|
"nameLocation": "-1:-1:-1",
|
492
|
-
"scope":
|
493
|
-
"sourceUnit":
|
492
|
+
"scope": 42227,
|
493
|
+
"sourceUnit": 75677,
|
494
494
|
"symbolAliases": [
|
495
495
|
{
|
496
496
|
"foreign": {
|
497
|
-
"id":
|
497
|
+
"id": 41971,
|
498
498
|
"name": "IWorldContextConsumer",
|
499
499
|
"nodeType": "Identifier",
|
500
500
|
"overloadedDeclarations": [],
|
501
|
-
"referencedDeclaration":
|
502
|
-
"src": "247:21:
|
501
|
+
"referencedDeclaration": 75676,
|
502
|
+
"src": "247:21:100",
|
503
503
|
"typeDescriptions": {}
|
504
504
|
},
|
505
505
|
"nameLocation": "-1:-1:-1"
|
506
506
|
},
|
507
507
|
{
|
508
508
|
"foreign": {
|
509
|
-
"id":
|
509
|
+
"id": 41972,
|
510
510
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
511
511
|
"nodeType": "Identifier",
|
512
512
|
"overloadedDeclarations": [],
|
513
|
-
"referencedDeclaration":
|
514
|
-
"src": "270:35:
|
513
|
+
"referencedDeclaration": 75654,
|
514
|
+
"src": "270:35:100",
|
515
515
|
"typeDescriptions": {}
|
516
516
|
},
|
517
517
|
"nameLocation": "-1:-1:-1"
|
@@ -520,15 +520,15 @@
|
|
520
520
|
"unitAlias": ""
|
521
521
|
},
|
522
522
|
{
|
523
|
-
"id":
|
523
|
+
"id": 41978,
|
524
524
|
"nodeType": "VariableDeclaration",
|
525
|
-
"src": "420:40:
|
525
|
+
"src": "420:40:100",
|
526
526
|
"nodes": [],
|
527
527
|
"constant": true,
|
528
528
|
"mutability": "constant",
|
529
529
|
"name": "CONTEXT_BYTES",
|
530
|
-
"nameLocation": "437:13:
|
531
|
-
"scope":
|
530
|
+
"nameLocation": "437:13:100",
|
531
|
+
"scope": 42227,
|
532
532
|
"stateVariable": false,
|
533
533
|
"storageLocation": "default",
|
534
534
|
"typeDescriptions": {
|
@@ -536,10 +536,10 @@
|
|
536
536
|
"typeString": "uint256"
|
537
537
|
},
|
538
538
|
"typeName": {
|
539
|
-
"id":
|
539
|
+
"id": 41974,
|
540
540
|
"name": "uint256",
|
541
541
|
"nodeType": "ElementaryTypeName",
|
542
|
-
"src": "420:7:
|
542
|
+
"src": "420:7:100",
|
543
543
|
"typeDescriptions": {
|
544
544
|
"typeIdentifier": "t_uint256",
|
545
545
|
"typeString": "uint256"
|
@@ -550,21 +550,21 @@
|
|
550
550
|
"typeIdentifier": "t_rational_52_by_1",
|
551
551
|
"typeString": "int_const 52"
|
552
552
|
},
|
553
|
-
"id":
|
553
|
+
"id": 41977,
|
554
554
|
"isConstant": false,
|
555
555
|
"isLValue": false,
|
556
556
|
"isPure": true,
|
557
557
|
"lValueRequested": false,
|
558
558
|
"leftExpression": {
|
559
559
|
"hexValue": "3230",
|
560
|
-
"id":
|
560
|
+
"id": 41975,
|
561
561
|
"isConstant": false,
|
562
562
|
"isLValue": false,
|
563
563
|
"isPure": true,
|
564
564
|
"kind": "number",
|
565
565
|
"lValueRequested": false,
|
566
566
|
"nodeType": "Literal",
|
567
|
-
"src": "453:2:
|
567
|
+
"src": "453:2:100",
|
568
568
|
"typeDescriptions": {
|
569
569
|
"typeIdentifier": "t_rational_20_by_1",
|
570
570
|
"typeString": "int_const 20"
|
@@ -575,21 +575,21 @@
|
|
575
575
|
"operator": "+",
|
576
576
|
"rightExpression": {
|
577
577
|
"hexValue": "3332",
|
578
|
-
"id":
|
578
|
+
"id": 41976,
|
579
579
|
"isConstant": false,
|
580
580
|
"isLValue": false,
|
581
581
|
"isPure": true,
|
582
582
|
"kind": "number",
|
583
583
|
"lValueRequested": false,
|
584
584
|
"nodeType": "Literal",
|
585
|
-
"src": "458:2:
|
585
|
+
"src": "458:2:100",
|
586
586
|
"typeDescriptions": {
|
587
587
|
"typeIdentifier": "t_rational_32_by_1",
|
588
588
|
"typeString": "int_const 32"
|
589
589
|
},
|
590
590
|
"value": "32"
|
591
591
|
},
|
592
|
-
"src": "453:7:
|
592
|
+
"src": "453:7:100",
|
593
593
|
"typeDescriptions": {
|
594
594
|
"typeIdentifier": "t_rational_52_by_1",
|
595
595
|
"typeString": "int_const 52"
|
@@ -598,19 +598,19 @@
|
|
598
598
|
"visibility": "internal"
|
599
599
|
},
|
600
600
|
{
|
601
|
-
"id":
|
601
|
+
"id": 42032,
|
602
602
|
"nodeType": "ContractDefinition",
|
603
|
-
"src": "937:1564:
|
603
|
+
"src": "937:1564:100",
|
604
604
|
"nodes": [
|
605
605
|
{
|
606
|
-
"id":
|
606
|
+
"id": 41992,
|
607
607
|
"nodeType": "FunctionDefinition",
|
608
|
-
"src": "1245:113:
|
608
|
+
"src": "1245:113:100",
|
609
609
|
"nodes": [],
|
610
610
|
"body": {
|
611
|
-
"id":
|
611
|
+
"id": 41991,
|
612
612
|
"nodeType": "Block",
|
613
|
-
"src": "1304:54:
|
613
|
+
"src": "1304:54:100",
|
614
614
|
"nodes": [],
|
615
615
|
"statements": [
|
616
616
|
{
|
@@ -619,33 +619,33 @@
|
|
619
619
|
"expression": {
|
620
620
|
"argumentTypes": [],
|
621
621
|
"expression": {
|
622
|
-
"id":
|
622
|
+
"id": 41987,
|
623
623
|
"name": "WorldContextConsumerLib",
|
624
624
|
"nodeType": "Identifier",
|
625
625
|
"overloadedDeclarations": [],
|
626
|
-
"referencedDeclaration":
|
627
|
-
"src": "1317:23:
|
626
|
+
"referencedDeclaration": 42072,
|
627
|
+
"src": "1317:23:100",
|
628
628
|
"typeDescriptions": {
|
629
|
-
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$
|
629
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$42072_$",
|
630
630
|
"typeString": "type(library WorldContextConsumerLib)"
|
631
631
|
}
|
632
632
|
},
|
633
|
-
"id":
|
633
|
+
"id": 41988,
|
634
634
|
"isConstant": false,
|
635
635
|
"isLValue": false,
|
636
636
|
"isPure": false,
|
637
637
|
"lValueRequested": false,
|
638
|
-
"memberLocation": "1341:10:
|
638
|
+
"memberLocation": "1341:10:100",
|
639
639
|
"memberName": "_msgSender",
|
640
640
|
"nodeType": "MemberAccess",
|
641
|
-
"referencedDeclaration":
|
642
|
-
"src": "1317:34:
|
641
|
+
"referencedDeclaration": 42052,
|
642
|
+
"src": "1317:34:100",
|
643
643
|
"typeDescriptions": {
|
644
644
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
645
645
|
"typeString": "function () view returns (address)"
|
646
646
|
}
|
647
647
|
},
|
648
|
-
"id":
|
648
|
+
"id": 41989,
|
649
649
|
"isConstant": false,
|
650
650
|
"isLValue": false,
|
651
651
|
"isPure": false,
|
@@ -654,27 +654,27 @@
|
|
654
654
|
"nameLocations": [],
|
655
655
|
"names": [],
|
656
656
|
"nodeType": "FunctionCall",
|
657
|
-
"src": "1317:36:
|
657
|
+
"src": "1317:36:100",
|
658
658
|
"tryCall": false,
|
659
659
|
"typeDescriptions": {
|
660
660
|
"typeIdentifier": "t_address",
|
661
661
|
"typeString": "address"
|
662
662
|
}
|
663
663
|
},
|
664
|
-
"functionReturnParameters":
|
665
|
-
"id":
|
664
|
+
"functionReturnParameters": 41986,
|
665
|
+
"id": 41990,
|
666
666
|
"nodeType": "Return",
|
667
|
-
"src": "1310:43:
|
667
|
+
"src": "1310:43:100"
|
668
668
|
}
|
669
669
|
]
|
670
670
|
},
|
671
671
|
"baseFunctions": [
|
672
|
-
|
672
|
+
75663
|
673
673
|
],
|
674
674
|
"documentation": {
|
675
|
-
"id":
|
675
|
+
"id": 41982,
|
676
676
|
"nodeType": "StructuredDocumentation",
|
677
|
-
"src": "1005:237:
|
677
|
+
"src": "1005:237:100",
|
678
678
|
"text": " @notice Extract the `msg.sender` from the context appended to the calldata.\n @return sender The `msg.sender` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
679
679
|
},
|
680
680
|
"functionSelector": "119df25f",
|
@@ -682,26 +682,26 @@
|
|
682
682
|
"kind": "function",
|
683
683
|
"modifiers": [],
|
684
684
|
"name": "_msgSender",
|
685
|
-
"nameLocation": "1254:10:
|
685
|
+
"nameLocation": "1254:10:100",
|
686
686
|
"parameters": {
|
687
|
-
"id":
|
687
|
+
"id": 41983,
|
688
688
|
"nodeType": "ParameterList",
|
689
689
|
"parameters": [],
|
690
|
-
"src": "1264:2:
|
690
|
+
"src": "1264:2:100"
|
691
691
|
},
|
692
692
|
"returnParameters": {
|
693
|
-
"id":
|
693
|
+
"id": 41986,
|
694
694
|
"nodeType": "ParameterList",
|
695
695
|
"parameters": [
|
696
696
|
{
|
697
697
|
"constant": false,
|
698
|
-
"id":
|
698
|
+
"id": 41985,
|
699
699
|
"mutability": "mutable",
|
700
700
|
"name": "sender",
|
701
|
-
"nameLocation": "1296:6:
|
701
|
+
"nameLocation": "1296:6:100",
|
702
702
|
"nodeType": "VariableDeclaration",
|
703
|
-
"scope":
|
704
|
-
"src": "1288:14:
|
703
|
+
"scope": 41992,
|
704
|
+
"src": "1288:14:100",
|
705
705
|
"stateVariable": false,
|
706
706
|
"storageLocation": "default",
|
707
707
|
"typeDescriptions": {
|
@@ -709,10 +709,10 @@
|
|
709
709
|
"typeString": "address"
|
710
710
|
},
|
711
711
|
"typeName": {
|
712
|
-
"id":
|
712
|
+
"id": 41984,
|
713
713
|
"name": "address",
|
714
714
|
"nodeType": "ElementaryTypeName",
|
715
|
-
"src": "1288:7:
|
715
|
+
"src": "1288:7:100",
|
716
716
|
"stateMutability": "nonpayable",
|
717
717
|
"typeDescriptions": {
|
718
718
|
"typeIdentifier": "t_address",
|
@@ -722,22 +722,22 @@
|
|
722
722
|
"visibility": "internal"
|
723
723
|
}
|
724
724
|
],
|
725
|
-
"src": "1287:16:
|
725
|
+
"src": "1287:16:100"
|
726
726
|
},
|
727
|
-
"scope":
|
727
|
+
"scope": 42032,
|
728
728
|
"stateMutability": "view",
|
729
729
|
"virtual": false,
|
730
730
|
"visibility": "public"
|
731
731
|
},
|
732
732
|
{
|
733
|
-
"id":
|
733
|
+
"id": 42003,
|
734
734
|
"nodeType": "FunctionDefinition",
|
735
|
-
"src": "1599:110:
|
735
|
+
"src": "1599:110:100",
|
736
736
|
"nodes": [],
|
737
737
|
"body": {
|
738
|
-
"id":
|
738
|
+
"id": 42002,
|
739
739
|
"nodeType": "Block",
|
740
|
-
"src": "1656:53:
|
740
|
+
"src": "1656:53:100",
|
741
741
|
"nodes": [],
|
742
742
|
"statements": [
|
743
743
|
{
|
@@ -746,33 +746,33 @@
|
|
746
746
|
"expression": {
|
747
747
|
"argumentTypes": [],
|
748
748
|
"expression": {
|
749
|
-
"id":
|
749
|
+
"id": 41998,
|
750
750
|
"name": "WorldContextConsumerLib",
|
751
751
|
"nodeType": "Identifier",
|
752
752
|
"overloadedDeclarations": [],
|
753
|
-
"referencedDeclaration":
|
754
|
-
"src": "1669:23:
|
753
|
+
"referencedDeclaration": 42072,
|
754
|
+
"src": "1669:23:100",
|
755
755
|
"typeDescriptions": {
|
756
|
-
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$
|
756
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$42072_$",
|
757
757
|
"typeString": "type(library WorldContextConsumerLib)"
|
758
758
|
}
|
759
759
|
},
|
760
|
-
"id":
|
760
|
+
"id": 41999,
|
761
761
|
"isConstant": false,
|
762
762
|
"isLValue": false,
|
763
763
|
"isPure": false,
|
764
764
|
"lValueRequested": false,
|
765
|
-
"memberLocation": "1693:9:
|
765
|
+
"memberLocation": "1693:9:100",
|
766
766
|
"memberName": "_msgValue",
|
767
767
|
"nodeType": "MemberAccess",
|
768
|
-
"referencedDeclaration":
|
769
|
-
"src": "1669:33:
|
768
|
+
"referencedDeclaration": 42060,
|
769
|
+
"src": "1669:33:100",
|
770
770
|
"typeDescriptions": {
|
771
771
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_uint256_$",
|
772
772
|
"typeString": "function () pure returns (uint256)"
|
773
773
|
}
|
774
774
|
},
|
775
|
-
"id":
|
775
|
+
"id": 42000,
|
776
776
|
"isConstant": false,
|
777
777
|
"isLValue": false,
|
778
778
|
"isPure": false,
|
@@ -781,27 +781,27 @@
|
|
781
781
|
"nameLocations": [],
|
782
782
|
"names": [],
|
783
783
|
"nodeType": "FunctionCall",
|
784
|
-
"src": "1669:35:
|
784
|
+
"src": "1669:35:100",
|
785
785
|
"tryCall": false,
|
786
786
|
"typeDescriptions": {
|
787
787
|
"typeIdentifier": "t_uint256",
|
788
788
|
"typeString": "uint256"
|
789
789
|
}
|
790
790
|
},
|
791
|
-
"functionReturnParameters":
|
792
|
-
"id":
|
791
|
+
"functionReturnParameters": 41997,
|
792
|
+
"id": 42001,
|
793
793
|
"nodeType": "Return",
|
794
|
-
"src": "1662:42:
|
794
|
+
"src": "1662:42:100"
|
795
795
|
}
|
796
796
|
]
|
797
797
|
},
|
798
798
|
"baseFunctions": [
|
799
|
-
|
799
|
+
75669
|
800
800
|
],
|
801
801
|
"documentation": {
|
802
|
-
"id":
|
802
|
+
"id": 41993,
|
803
803
|
"nodeType": "StructuredDocumentation",
|
804
|
-
"src": "1362:234:
|
804
|
+
"src": "1362:234:100",
|
805
805
|
"text": " @notice Extract the `msg.value` from the context appended to the calldata.\n @return value The `msg.value` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
806
806
|
},
|
807
807
|
"functionSelector": "45ec9354",
|
@@ -809,26 +809,26 @@
|
|
809
809
|
"kind": "function",
|
810
810
|
"modifiers": [],
|
811
811
|
"name": "_msgValue",
|
812
|
-
"nameLocation": "1608:9:
|
812
|
+
"nameLocation": "1608:9:100",
|
813
813
|
"parameters": {
|
814
|
-
"id":
|
814
|
+
"id": 41994,
|
815
815
|
"nodeType": "ParameterList",
|
816
816
|
"parameters": [],
|
817
|
-
"src": "1617:2:
|
817
|
+
"src": "1617:2:100"
|
818
818
|
},
|
819
819
|
"returnParameters": {
|
820
|
-
"id":
|
820
|
+
"id": 41997,
|
821
821
|
"nodeType": "ParameterList",
|
822
822
|
"parameters": [
|
823
823
|
{
|
824
824
|
"constant": false,
|
825
|
-
"id":
|
825
|
+
"id": 41996,
|
826
826
|
"mutability": "mutable",
|
827
827
|
"name": "value",
|
828
|
-
"nameLocation": "1649:5:
|
828
|
+
"nameLocation": "1649:5:100",
|
829
829
|
"nodeType": "VariableDeclaration",
|
830
|
-
"scope":
|
831
|
-
"src": "1641:13:
|
830
|
+
"scope": 42003,
|
831
|
+
"src": "1641:13:100",
|
832
832
|
"stateVariable": false,
|
833
833
|
"storageLocation": "default",
|
834
834
|
"typeDescriptions": {
|
@@ -836,10 +836,10 @@
|
|
836
836
|
"typeString": "uint256"
|
837
837
|
},
|
838
838
|
"typeName": {
|
839
|
-
"id":
|
839
|
+
"id": 41995,
|
840
840
|
"name": "uint256",
|
841
841
|
"nodeType": "ElementaryTypeName",
|
842
|
-
"src": "1641:7:
|
842
|
+
"src": "1641:7:100",
|
843
843
|
"typeDescriptions": {
|
844
844
|
"typeIdentifier": "t_uint256",
|
845
845
|
"typeString": "uint256"
|
@@ -848,22 +848,22 @@
|
|
848
848
|
"visibility": "internal"
|
849
849
|
}
|
850
850
|
],
|
851
|
-
"src": "1640:15:
|
851
|
+
"src": "1640:15:100"
|
852
852
|
},
|
853
|
-
"scope":
|
853
|
+
"scope": 42032,
|
854
854
|
"stateMutability": "pure",
|
855
855
|
"virtual": false,
|
856
856
|
"visibility": "public"
|
857
857
|
},
|
858
858
|
{
|
859
|
-
"id":
|
859
|
+
"id": 42014,
|
860
860
|
"nodeType": "FunctionDefinition",
|
861
|
-
"src": "1925:95:
|
861
|
+
"src": "1925:95:100",
|
862
862
|
"nodes": [],
|
863
863
|
"body": {
|
864
|
-
"id":
|
864
|
+
"id": 42013,
|
865
865
|
"nodeType": "Block",
|
866
|
-
"src": "1973:47:
|
866
|
+
"src": "1973:47:100",
|
867
867
|
"nodes": [],
|
868
868
|
"statements": [
|
869
869
|
{
|
@@ -872,33 +872,33 @@
|
|
872
872
|
"expression": {
|
873
873
|
"argumentTypes": [],
|
874
874
|
"expression": {
|
875
|
-
"id":
|
875
|
+
"id": 42009,
|
876
876
|
"name": "StoreSwitch",
|
877
877
|
"nodeType": "Identifier",
|
878
878
|
"overloadedDeclarations": [],
|
879
|
-
"referencedDeclaration":
|
880
|
-
"src": "1986:11:
|
879
|
+
"referencedDeclaration": 33826,
|
880
|
+
"src": "1986:11:100",
|
881
881
|
"typeDescriptions": {
|
882
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
882
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
|
883
883
|
"typeString": "type(library StoreSwitch)"
|
884
884
|
}
|
885
885
|
},
|
886
|
-
"id":
|
886
|
+
"id": 42010,
|
887
887
|
"isConstant": false,
|
888
888
|
"isLValue": false,
|
889
889
|
"isPure": false,
|
890
890
|
"lValueRequested": false,
|
891
|
-
"memberLocation": "1998:15:
|
891
|
+
"memberLocation": "1998:15:100",
|
892
892
|
"memberName": "getStoreAddress",
|
893
893
|
"nodeType": "MemberAccess",
|
894
|
-
"referencedDeclaration":
|
895
|
-
"src": "1986:27:
|
894
|
+
"referencedDeclaration": 32570,
|
895
|
+
"src": "1986:27:100",
|
896
896
|
"typeDescriptions": {
|
897
897
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
898
898
|
"typeString": "function () view returns (address)"
|
899
899
|
}
|
900
900
|
},
|
901
|
-
"id":
|
901
|
+
"id": 42011,
|
902
902
|
"isConstant": false,
|
903
903
|
"isLValue": false,
|
904
904
|
"isPure": false,
|
@@ -907,27 +907,27 @@
|
|
907
907
|
"nameLocations": [],
|
908
908
|
"names": [],
|
909
909
|
"nodeType": "FunctionCall",
|
910
|
-
"src": "1986:29:
|
910
|
+
"src": "1986:29:100",
|
911
911
|
"tryCall": false,
|
912
912
|
"typeDescriptions": {
|
913
913
|
"typeIdentifier": "t_address",
|
914
914
|
"typeString": "address"
|
915
915
|
}
|
916
916
|
},
|
917
|
-
"functionReturnParameters":
|
918
|
-
"id":
|
917
|
+
"functionReturnParameters": 42008,
|
918
|
+
"id": 42012,
|
919
919
|
"nodeType": "Return",
|
920
|
-
"src": "1979:36:
|
920
|
+
"src": "1979:36:100"
|
921
921
|
}
|
922
922
|
]
|
923
923
|
},
|
924
924
|
"baseFunctions": [
|
925
|
-
|
925
|
+
75675
|
926
926
|
],
|
927
927
|
"documentation": {
|
928
|
-
"id":
|
928
|
+
"id": 42004,
|
929
929
|
"nodeType": "StructuredDocumentation",
|
930
|
-
"src": "1713:209:
|
930
|
+
"src": "1713:209:100",
|
931
931
|
"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."
|
932
932
|
},
|
933
933
|
"functionSelector": "e1af802c",
|
@@ -935,26 +935,26 @@
|
|
935
935
|
"kind": "function",
|
936
936
|
"modifiers": [],
|
937
937
|
"name": "_world",
|
938
|
-
"nameLocation": "1934:6:
|
938
|
+
"nameLocation": "1934:6:100",
|
939
939
|
"parameters": {
|
940
|
-
"id":
|
940
|
+
"id": 42005,
|
941
941
|
"nodeType": "ParameterList",
|
942
942
|
"parameters": [],
|
943
|
-
"src": "1940:2:
|
943
|
+
"src": "1940:2:100"
|
944
944
|
},
|
945
945
|
"returnParameters": {
|
946
|
-
"id":
|
946
|
+
"id": 42008,
|
947
947
|
"nodeType": "ParameterList",
|
948
948
|
"parameters": [
|
949
949
|
{
|
950
950
|
"constant": false,
|
951
|
-
"id":
|
951
|
+
"id": 42007,
|
952
952
|
"mutability": "mutable",
|
953
953
|
"name": "",
|
954
954
|
"nameLocation": "-1:-1:-1",
|
955
955
|
"nodeType": "VariableDeclaration",
|
956
|
-
"scope":
|
957
|
-
"src": "1964:7:
|
956
|
+
"scope": 42014,
|
957
|
+
"src": "1964:7:100",
|
958
958
|
"stateVariable": false,
|
959
959
|
"storageLocation": "default",
|
960
960
|
"typeDescriptions": {
|
@@ -962,10 +962,10 @@
|
|
962
962
|
"typeString": "address"
|
963
963
|
},
|
964
964
|
"typeName": {
|
965
|
-
"id":
|
965
|
+
"id": 42006,
|
966
966
|
"name": "address",
|
967
967
|
"nodeType": "ElementaryTypeName",
|
968
|
-
"src": "1964:7:
|
968
|
+
"src": "1964:7:100",
|
969
969
|
"stateMutability": "nonpayable",
|
970
970
|
"typeDescriptions": {
|
971
971
|
"typeIdentifier": "t_address",
|
@@ -975,22 +975,22 @@
|
|
975
975
|
"visibility": "internal"
|
976
976
|
}
|
977
977
|
],
|
978
|
-
"src": "1963:9:
|
978
|
+
"src": "1963:9:100"
|
979
979
|
},
|
980
|
-
"scope":
|
980
|
+
"scope": 42032,
|
981
981
|
"stateMutability": "view",
|
982
982
|
"virtual": false,
|
983
983
|
"visibility": "public"
|
984
984
|
},
|
985
985
|
{
|
986
|
-
"id":
|
986
|
+
"id": 42031,
|
987
987
|
"nodeType": "FunctionDefinition",
|
988
|
-
"src": "2311:188:
|
988
|
+
"src": "2311:188:100",
|
989
989
|
"nodes": [],
|
990
990
|
"body": {
|
991
|
-
"id":
|
991
|
+
"id": 42030,
|
992
992
|
"nodeType": "Block",
|
993
|
-
"src": "2393:106:
|
993
|
+
"src": "2393:106:100",
|
994
994
|
"nodes": [],
|
995
995
|
"statements": [
|
996
996
|
{
|
@@ -999,7 +999,7 @@
|
|
999
999
|
"typeIdentifier": "t_bool",
|
1000
1000
|
"typeString": "bool"
|
1001
1001
|
},
|
1002
|
-
"id":
|
1002
|
+
"id": 42028,
|
1003
1003
|
"isConstant": false,
|
1004
1004
|
"isLValue": false,
|
1005
1005
|
"isPure": false,
|
@@ -1009,18 +1009,18 @@
|
|
1009
1009
|
"typeIdentifier": "t_bytes4",
|
1010
1010
|
"typeString": "bytes4"
|
1011
1011
|
},
|
1012
|
-
"id":
|
1012
|
+
"id": 42024,
|
1013
1013
|
"isConstant": false,
|
1014
1014
|
"isLValue": false,
|
1015
1015
|
"isPure": false,
|
1016
1016
|
"lValueRequested": false,
|
1017
1017
|
"leftExpression": {
|
1018
|
-
"id":
|
1018
|
+
"id": 42022,
|
1019
1019
|
"name": "interfaceId",
|
1020
1020
|
"nodeType": "Identifier",
|
1021
1021
|
"overloadedDeclarations": [],
|
1022
|
-
"referencedDeclaration":
|
1023
|
-
"src": "2406:11:
|
1022
|
+
"referencedDeclaration": 42017,
|
1023
|
+
"src": "2406:11:100",
|
1024
1024
|
"typeDescriptions": {
|
1025
1025
|
"typeIdentifier": "t_bytes4",
|
1026
1026
|
"typeString": "bytes4"
|
@@ -1029,18 +1029,18 @@
|
|
1029
1029
|
"nodeType": "BinaryOperation",
|
1030
1030
|
"operator": "==",
|
1031
1031
|
"rightExpression": {
|
1032
|
-
"id":
|
1032
|
+
"id": 42023,
|
1033
1033
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
1034
1034
|
"nodeType": "Identifier",
|
1035
1035
|
"overloadedDeclarations": [],
|
1036
|
-
"referencedDeclaration":
|
1037
|
-
"src": "2421:35:
|
1036
|
+
"referencedDeclaration": 75654,
|
1037
|
+
"src": "2421:35:100",
|
1038
1038
|
"typeDescriptions": {
|
1039
1039
|
"typeIdentifier": "t_bytes4",
|
1040
1040
|
"typeString": "bytes4"
|
1041
1041
|
}
|
1042
1042
|
},
|
1043
|
-
"src": "2406:50:
|
1043
|
+
"src": "2406:50:100",
|
1044
1044
|
"typeDescriptions": {
|
1045
1045
|
"typeIdentifier": "t_bool",
|
1046
1046
|
"typeString": "bool"
|
@@ -1053,18 +1053,18 @@
|
|
1053
1053
|
"typeIdentifier": "t_bytes4",
|
1054
1054
|
"typeString": "bytes4"
|
1055
1055
|
},
|
1056
|
-
"id":
|
1056
|
+
"id": 42027,
|
1057
1057
|
"isConstant": false,
|
1058
1058
|
"isLValue": false,
|
1059
1059
|
"isPure": false,
|
1060
1060
|
"lValueRequested": false,
|
1061
1061
|
"leftExpression": {
|
1062
|
-
"id":
|
1062
|
+
"id": 42025,
|
1063
1063
|
"name": "interfaceId",
|
1064
1064
|
"nodeType": "Identifier",
|
1065
1065
|
"overloadedDeclarations": [],
|
1066
|
-
"referencedDeclaration":
|
1067
|
-
"src": "2460:11:
|
1066
|
+
"referencedDeclaration": 42017,
|
1067
|
+
"src": "2460:11:100",
|
1068
1068
|
"typeDescriptions": {
|
1069
1069
|
"typeIdentifier": "t_bytes4",
|
1070
1070
|
"typeString": "bytes4"
|
@@ -1073,43 +1073,43 @@
|
|
1073
1073
|
"nodeType": "BinaryOperation",
|
1074
1074
|
"operator": "==",
|
1075
1075
|
"rightExpression": {
|
1076
|
-
"id":
|
1076
|
+
"id": 42026,
|
1077
1077
|
"name": "ERC165_INTERFACE_ID",
|
1078
1078
|
"nodeType": "Identifier",
|
1079
1079
|
"overloadedDeclarations": [],
|
1080
|
-
"referencedDeclaration":
|
1081
|
-
"src": "2475:19:
|
1080
|
+
"referencedDeclaration": 75623,
|
1081
|
+
"src": "2475:19:100",
|
1082
1082
|
"typeDescriptions": {
|
1083
1083
|
"typeIdentifier": "t_bytes4",
|
1084
1084
|
"typeString": "bytes4"
|
1085
1085
|
}
|
1086
1086
|
},
|
1087
|
-
"src": "2460:34:
|
1087
|
+
"src": "2460:34:100",
|
1088
1088
|
"typeDescriptions": {
|
1089
1089
|
"typeIdentifier": "t_bool",
|
1090
1090
|
"typeString": "bool"
|
1091
1091
|
}
|
1092
1092
|
},
|
1093
|
-
"src": "2406:88:
|
1093
|
+
"src": "2406:88:100",
|
1094
1094
|
"typeDescriptions": {
|
1095
1095
|
"typeIdentifier": "t_bool",
|
1096
1096
|
"typeString": "bool"
|
1097
1097
|
}
|
1098
1098
|
},
|
1099
|
-
"functionReturnParameters":
|
1100
|
-
"id":
|
1099
|
+
"functionReturnParameters": 42021,
|
1100
|
+
"id": 42029,
|
1101
1101
|
"nodeType": "Return",
|
1102
|
-
"src": "2399:95:
|
1102
|
+
"src": "2399:95:100"
|
1103
1103
|
}
|
1104
1104
|
]
|
1105
1105
|
},
|
1106
1106
|
"baseFunctions": [
|
1107
|
-
|
1107
|
+
75632
|
1108
1108
|
],
|
1109
1109
|
"documentation": {
|
1110
|
-
"id":
|
1110
|
+
"id": 42015,
|
1111
1111
|
"nodeType": "StructuredDocumentation",
|
1112
|
-
"src": "2024:284:
|
1112
|
+
"src": "2024:284:100",
|
1113
1113
|
"text": " @notice Checks if an interface is supported by the contract.\n using ERC-165 supportsInterface (see https://eips.ethereum.org/EIPS/eip-165)\n @param interfaceId The ID of the interface in question.\n @return True if the interface is supported, false otherwise."
|
1114
1114
|
},
|
1115
1115
|
"functionSelector": "01ffc9a7",
|
@@ -1117,20 +1117,20 @@
|
|
1117
1117
|
"kind": "function",
|
1118
1118
|
"modifiers": [],
|
1119
1119
|
"name": "supportsInterface",
|
1120
|
-
"nameLocation": "2320:17:
|
1120
|
+
"nameLocation": "2320:17:100",
|
1121
1121
|
"parameters": {
|
1122
|
-
"id":
|
1122
|
+
"id": 42018,
|
1123
1123
|
"nodeType": "ParameterList",
|
1124
1124
|
"parameters": [
|
1125
1125
|
{
|
1126
1126
|
"constant": false,
|
1127
|
-
"id":
|
1127
|
+
"id": 42017,
|
1128
1128
|
"mutability": "mutable",
|
1129
1129
|
"name": "interfaceId",
|
1130
|
-
"nameLocation": "2345:11:
|
1130
|
+
"nameLocation": "2345:11:100",
|
1131
1131
|
"nodeType": "VariableDeclaration",
|
1132
|
-
"scope":
|
1133
|
-
"src": "2338:18:
|
1132
|
+
"scope": 42031,
|
1133
|
+
"src": "2338:18:100",
|
1134
1134
|
"stateVariable": false,
|
1135
1135
|
"storageLocation": "default",
|
1136
1136
|
"typeDescriptions": {
|
@@ -1138,10 +1138,10 @@
|
|
1138
1138
|
"typeString": "bytes4"
|
1139
1139
|
},
|
1140
1140
|
"typeName": {
|
1141
|
-
"id":
|
1141
|
+
"id": 42016,
|
1142
1142
|
"name": "bytes4",
|
1143
1143
|
"nodeType": "ElementaryTypeName",
|
1144
|
-
"src": "2338:6:
|
1144
|
+
"src": "2338:6:100",
|
1145
1145
|
"typeDescriptions": {
|
1146
1146
|
"typeIdentifier": "t_bytes4",
|
1147
1147
|
"typeString": "bytes4"
|
@@ -1150,21 +1150,21 @@
|
|
1150
1150
|
"visibility": "internal"
|
1151
1151
|
}
|
1152
1152
|
],
|
1153
|
-
"src": "2337:20:
|
1153
|
+
"src": "2337:20:100"
|
1154
1154
|
},
|
1155
1155
|
"returnParameters": {
|
1156
|
-
"id":
|
1156
|
+
"id": 42021,
|
1157
1157
|
"nodeType": "ParameterList",
|
1158
1158
|
"parameters": [
|
1159
1159
|
{
|
1160
1160
|
"constant": false,
|
1161
|
-
"id":
|
1161
|
+
"id": 42020,
|
1162
1162
|
"mutability": "mutable",
|
1163
1163
|
"name": "",
|
1164
1164
|
"nameLocation": "-1:-1:-1",
|
1165
1165
|
"nodeType": "VariableDeclaration",
|
1166
|
-
"scope":
|
1167
|
-
"src": "2387:4:
|
1166
|
+
"scope": 42031,
|
1167
|
+
"src": "2387:4:100",
|
1168
1168
|
"stateVariable": false,
|
1169
1169
|
"storageLocation": "default",
|
1170
1170
|
"typeDescriptions": {
|
@@ -1172,10 +1172,10 @@
|
|
1172
1172
|
"typeString": "bool"
|
1173
1173
|
},
|
1174
1174
|
"typeName": {
|
1175
|
-
"id":
|
1175
|
+
"id": 42019,
|
1176
1176
|
"name": "bool",
|
1177
1177
|
"nodeType": "ElementaryTypeName",
|
1178
|
-
"src": "2387:4:
|
1178
|
+
"src": "2387:4:100",
|
1179
1179
|
"typeDescriptions": {
|
1180
1180
|
"typeIdentifier": "t_bool",
|
1181
1181
|
"typeString": "bool"
|
@@ -1184,9 +1184,9 @@
|
|
1184
1184
|
"visibility": "internal"
|
1185
1185
|
}
|
1186
1186
|
],
|
1187
|
-
"src": "2386:6:
|
1187
|
+
"src": "2386:6:100"
|
1188
1188
|
},
|
1189
|
-
"scope":
|
1189
|
+
"scope": 42032,
|
1190
1190
|
"stateMutability": "pure",
|
1191
1191
|
"virtual": true,
|
1192
1192
|
"visibility": "public"
|
@@ -1196,74 +1196,74 @@
|
|
1196
1196
|
"baseContracts": [
|
1197
1197
|
{
|
1198
1198
|
"baseName": {
|
1199
|
-
"id":
|
1199
|
+
"id": 41980,
|
1200
1200
|
"name": "IWorldContextConsumer",
|
1201
1201
|
"nameLocations": [
|
1202
|
-
"979:21:
|
1202
|
+
"979:21:100"
|
1203
1203
|
],
|
1204
1204
|
"nodeType": "IdentifierPath",
|
1205
|
-
"referencedDeclaration":
|
1206
|
-
"src": "979:21:
|
1205
|
+
"referencedDeclaration": 75676,
|
1206
|
+
"src": "979:21:100"
|
1207
1207
|
},
|
1208
|
-
"id":
|
1208
|
+
"id": 41981,
|
1209
1209
|
"nodeType": "InheritanceSpecifier",
|
1210
|
-
"src": "979:21:
|
1210
|
+
"src": "979:21:100"
|
1211
1211
|
}
|
1212
1212
|
],
|
1213
1213
|
"canonicalName": "WorldContextConsumer",
|
1214
1214
|
"contractDependencies": [],
|
1215
1215
|
"contractKind": "contract",
|
1216
1216
|
"documentation": {
|
1217
|
-
"id":
|
1217
|
+
"id": 41979,
|
1218
1218
|
"nodeType": "StructuredDocumentation",
|
1219
|
-
"src": "463:473:
|
1219
|
+
"src": "463:473:100",
|
1220
1220
|
"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."
|
1221
1221
|
},
|
1222
1222
|
"fullyImplemented": true,
|
1223
1223
|
"linearizedBaseContracts": [
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1224
|
+
42032,
|
1225
|
+
75676,
|
1226
|
+
75633
|
1227
1227
|
],
|
1228
1228
|
"name": "WorldContextConsumer",
|
1229
|
-
"nameLocation": "955:20:
|
1230
|
-
"scope":
|
1229
|
+
"nameLocation": "955:20:100",
|
1230
|
+
"scope": 42227,
|
1231
1231
|
"usedErrors": [],
|
1232
1232
|
"usedEvents": []
|
1233
1233
|
},
|
1234
1234
|
{
|
1235
|
-
"id":
|
1235
|
+
"id": 42072,
|
1236
1236
|
"nodeType": "ContractDefinition",
|
1237
|
-
"src": "2503:1427:
|
1237
|
+
"src": "2503:1427:100",
|
1238
1238
|
"nodes": [
|
1239
1239
|
{
|
1240
|
-
"id":
|
1240
|
+
"id": 42052,
|
1241
1241
|
"nodeType": "FunctionDefinition",
|
1242
|
-
"src": "2779:381:
|
1242
|
+
"src": "2779:381:100",
|
1243
1243
|
"nodes": [],
|
1244
1244
|
"body": {
|
1245
|
-
"id":
|
1245
|
+
"id": 42051,
|
1246
1246
|
"nodeType": "Block",
|
1247
|
-
"src": "2840:320:
|
1247
|
+
"src": "2840:320:100",
|
1248
1248
|
"nodes": [],
|
1249
1249
|
"statements": [
|
1250
1250
|
{
|
1251
1251
|
"AST": {
|
1252
|
-
"nativeSrc": "2855:250:
|
1252
|
+
"nativeSrc": "2855:250:100",
|
1253
1253
|
"nodeType": "YulBlock",
|
1254
|
-
"src": "2855:250:
|
1254
|
+
"src": "2855:250:100",
|
1255
1255
|
"statements": [
|
1256
1256
|
{
|
1257
|
-
"nativeSrc": "3032:67:
|
1257
|
+
"nativeSrc": "3032:67:100",
|
1258
1258
|
"nodeType": "YulAssignment",
|
1259
|
-
"src": "3032:67:
|
1259
|
+
"src": "3032:67:100",
|
1260
1260
|
"value": {
|
1261
1261
|
"arguments": [
|
1262
1262
|
{
|
1263
1263
|
"kind": "number",
|
1264
|
-
"nativeSrc": "3046:2:
|
1264
|
+
"nativeSrc": "3046:2:100",
|
1265
1265
|
"nodeType": "YulLiteral",
|
1266
|
-
"src": "3046:2:
|
1266
|
+
"src": "3046:2:100",
|
1267
1267
|
"type": "",
|
1268
1268
|
"value": "96"
|
1269
1269
|
},
|
@@ -1275,59 +1275,59 @@
|
|
1275
1275
|
"arguments": [],
|
1276
1276
|
"functionName": {
|
1277
1277
|
"name": "calldatasize",
|
1278
|
-
"nativeSrc": "3067:12:
|
1278
|
+
"nativeSrc": "3067:12:100",
|
1279
1279
|
"nodeType": "YulIdentifier",
|
1280
|
-
"src": "3067:12:
|
1280
|
+
"src": "3067:12:100"
|
1281
1281
|
},
|
1282
|
-
"nativeSrc": "3067:14:
|
1282
|
+
"nativeSrc": "3067:14:100",
|
1283
1283
|
"nodeType": "YulFunctionCall",
|
1284
|
-
"src": "3067:14:
|
1284
|
+
"src": "3067:14:100"
|
1285
1285
|
},
|
1286
1286
|
{
|
1287
1287
|
"name": "CONTEXT_BYTES",
|
1288
|
-
"nativeSrc": "3083:13:
|
1288
|
+
"nativeSrc": "3083:13:100",
|
1289
1289
|
"nodeType": "YulIdentifier",
|
1290
|
-
"src": "3083:13:
|
1290
|
+
"src": "3083:13:100"
|
1291
1291
|
}
|
1292
1292
|
],
|
1293
1293
|
"functionName": {
|
1294
1294
|
"name": "sub",
|
1295
|
-
"nativeSrc": "3063:3:
|
1295
|
+
"nativeSrc": "3063:3:100",
|
1296
1296
|
"nodeType": "YulIdentifier",
|
1297
|
-
"src": "3063:3:
|
1297
|
+
"src": "3063:3:100"
|
1298
1298
|
},
|
1299
|
-
"nativeSrc": "3063:34:
|
1299
|
+
"nativeSrc": "3063:34:100",
|
1300
1300
|
"nodeType": "YulFunctionCall",
|
1301
|
-
"src": "3063:34:
|
1301
|
+
"src": "3063:34:100"
|
1302
1302
|
}
|
1303
1303
|
],
|
1304
1304
|
"functionName": {
|
1305
1305
|
"name": "calldataload",
|
1306
|
-
"nativeSrc": "3050:12:
|
1306
|
+
"nativeSrc": "3050:12:100",
|
1307
1307
|
"nodeType": "YulIdentifier",
|
1308
|
-
"src": "3050:12:
|
1308
|
+
"src": "3050:12:100"
|
1309
1309
|
},
|
1310
|
-
"nativeSrc": "3050:48:
|
1310
|
+
"nativeSrc": "3050:48:100",
|
1311
1311
|
"nodeType": "YulFunctionCall",
|
1312
|
-
"src": "3050:48:
|
1312
|
+
"src": "3050:48:100"
|
1313
1313
|
}
|
1314
1314
|
],
|
1315
1315
|
"functionName": {
|
1316
1316
|
"name": "shr",
|
1317
|
-
"nativeSrc": "3042:3:
|
1317
|
+
"nativeSrc": "3042:3:100",
|
1318
1318
|
"nodeType": "YulIdentifier",
|
1319
|
-
"src": "3042:3:
|
1319
|
+
"src": "3042:3:100"
|
1320
1320
|
},
|
1321
|
-
"nativeSrc": "3042:57:
|
1321
|
+
"nativeSrc": "3042:57:100",
|
1322
1322
|
"nodeType": "YulFunctionCall",
|
1323
|
-
"src": "3042:57:
|
1323
|
+
"src": "3042:57:100"
|
1324
1324
|
},
|
1325
1325
|
"variableNames": [
|
1326
1326
|
{
|
1327
1327
|
"name": "sender",
|
1328
|
-
"nativeSrc": "3032:6:
|
1328
|
+
"nativeSrc": "3032:6:100",
|
1329
1329
|
"nodeType": "YulIdentifier",
|
1330
|
-
"src": "3032:6:
|
1330
|
+
"src": "3032:6:100"
|
1331
1331
|
}
|
1332
1332
|
]
|
1333
1333
|
}
|
@@ -1336,23 +1336,23 @@
|
|
1336
1336
|
"evmVersion": "paris",
|
1337
1337
|
"externalReferences": [
|
1338
1338
|
{
|
1339
|
-
"declaration":
|
1339
|
+
"declaration": 41978,
|
1340
1340
|
"isOffset": false,
|
1341
1341
|
"isSlot": false,
|
1342
|
-
"src": "3083:13:
|
1342
|
+
"src": "3083:13:100",
|
1343
1343
|
"valueSize": 1
|
1344
1344
|
},
|
1345
1345
|
{
|
1346
|
-
"declaration":
|
1346
|
+
"declaration": 42036,
|
1347
1347
|
"isOffset": false,
|
1348
1348
|
"isSlot": false,
|
1349
|
-
"src": "3032:6:
|
1349
|
+
"src": "3032:6:100",
|
1350
1350
|
"valueSize": 1
|
1351
1351
|
}
|
1352
1352
|
],
|
1353
|
-
"id":
|
1353
|
+
"id": 42038,
|
1354
1354
|
"nodeType": "InlineAssembly",
|
1355
|
-
"src": "2846:259:
|
1355
|
+
"src": "2846:259:100"
|
1356
1356
|
},
|
1357
1357
|
{
|
1358
1358
|
"condition": {
|
@@ -1360,18 +1360,18 @@
|
|
1360
1360
|
"typeIdentifier": "t_address",
|
1361
1361
|
"typeString": "address"
|
1362
1362
|
},
|
1363
|
-
"id":
|
1363
|
+
"id": 42044,
|
1364
1364
|
"isConstant": false,
|
1365
1365
|
"isLValue": false,
|
1366
1366
|
"isPure": false,
|
1367
1367
|
"lValueRequested": false,
|
1368
1368
|
"leftExpression": {
|
1369
|
-
"id":
|
1369
|
+
"id": 42039,
|
1370
1370
|
"name": "sender",
|
1371
1371
|
"nodeType": "Identifier",
|
1372
1372
|
"overloadedDeclarations": [],
|
1373
|
-
"referencedDeclaration":
|
1374
|
-
"src": "3114:6:
|
1373
|
+
"referencedDeclaration": 42036,
|
1374
|
+
"src": "3114:6:100",
|
1375
1375
|
"typeDescriptions": {
|
1376
1376
|
"typeIdentifier": "t_address",
|
1377
1377
|
"typeString": "address"
|
@@ -1383,14 +1383,14 @@
|
|
1383
1383
|
"arguments": [
|
1384
1384
|
{
|
1385
1385
|
"hexValue": "30",
|
1386
|
-
"id":
|
1386
|
+
"id": 42042,
|
1387
1387
|
"isConstant": false,
|
1388
1388
|
"isLValue": false,
|
1389
1389
|
"isPure": true,
|
1390
1390
|
"kind": "number",
|
1391
1391
|
"lValueRequested": false,
|
1392
1392
|
"nodeType": "Literal",
|
1393
|
-
"src": "3132:1:
|
1393
|
+
"src": "3132:1:100",
|
1394
1394
|
"typeDescriptions": {
|
1395
1395
|
"typeIdentifier": "t_rational_0_by_1",
|
1396
1396
|
"typeString": "int_const 0"
|
@@ -1405,26 +1405,26 @@
|
|
1405
1405
|
"typeString": "int_const 0"
|
1406
1406
|
}
|
1407
1407
|
],
|
1408
|
-
"id":
|
1408
|
+
"id": 42041,
|
1409
1409
|
"isConstant": false,
|
1410
1410
|
"isLValue": false,
|
1411
1411
|
"isPure": true,
|
1412
1412
|
"lValueRequested": false,
|
1413
1413
|
"nodeType": "ElementaryTypeNameExpression",
|
1414
|
-
"src": "3124:7:
|
1414
|
+
"src": "3124:7:100",
|
1415
1415
|
"typeDescriptions": {
|
1416
1416
|
"typeIdentifier": "t_type$_t_address_$",
|
1417
1417
|
"typeString": "type(address)"
|
1418
1418
|
},
|
1419
1419
|
"typeName": {
|
1420
|
-
"id":
|
1420
|
+
"id": 42040,
|
1421
1421
|
"name": "address",
|
1422
1422
|
"nodeType": "ElementaryTypeName",
|
1423
|
-
"src": "3124:7:
|
1423
|
+
"src": "3124:7:100",
|
1424
1424
|
"typeDescriptions": {}
|
1425
1425
|
}
|
1426
1426
|
},
|
1427
|
-
"id":
|
1427
|
+
"id": 42043,
|
1428
1428
|
"isConstant": false,
|
1429
1429
|
"isLValue": false,
|
1430
1430
|
"isPure": true,
|
@@ -1433,36 +1433,36 @@
|
|
1433
1433
|
"nameLocations": [],
|
1434
1434
|
"names": [],
|
1435
1435
|
"nodeType": "FunctionCall",
|
1436
|
-
"src": "3124:10:
|
1436
|
+
"src": "3124:10:100",
|
1437
1437
|
"tryCall": false,
|
1438
1438
|
"typeDescriptions": {
|
1439
1439
|
"typeIdentifier": "t_address",
|
1440
1440
|
"typeString": "address"
|
1441
1441
|
}
|
1442
1442
|
},
|
1443
|
-
"src": "3114:20:
|
1443
|
+
"src": "3114:20:100",
|
1444
1444
|
"typeDescriptions": {
|
1445
1445
|
"typeIdentifier": "t_bool",
|
1446
1446
|
"typeString": "bool"
|
1447
1447
|
}
|
1448
1448
|
},
|
1449
|
-
"id":
|
1449
|
+
"id": 42050,
|
1450
1450
|
"nodeType": "IfStatement",
|
1451
|
-
"src": "3110:45:
|
1451
|
+
"src": "3110:45:100",
|
1452
1452
|
"trueBody": {
|
1453
1453
|
"expression": {
|
1454
|
-
"id":
|
1454
|
+
"id": 42048,
|
1455
1455
|
"isConstant": false,
|
1456
1456
|
"isLValue": false,
|
1457
1457
|
"isPure": false,
|
1458
1458
|
"lValueRequested": false,
|
1459
1459
|
"leftHandSide": {
|
1460
|
-
"id":
|
1460
|
+
"id": 42045,
|
1461
1461
|
"name": "sender",
|
1462
1462
|
"nodeType": "Identifier",
|
1463
1463
|
"overloadedDeclarations": [],
|
1464
|
-
"referencedDeclaration":
|
1465
|
-
"src": "3136:6:
|
1464
|
+
"referencedDeclaration": 42036,
|
1465
|
+
"src": "3136:6:100",
|
1466
1466
|
"typeDescriptions": {
|
1467
1467
|
"typeIdentifier": "t_address",
|
1468
1468
|
"typeString": "address"
|
@@ -1472,74 +1472,74 @@
|
|
1472
1472
|
"operator": "=",
|
1473
1473
|
"rightHandSide": {
|
1474
1474
|
"expression": {
|
1475
|
-
"id":
|
1475
|
+
"id": 42046,
|
1476
1476
|
"name": "msg",
|
1477
1477
|
"nodeType": "Identifier",
|
1478
1478
|
"overloadedDeclarations": [],
|
1479
1479
|
"referencedDeclaration": -15,
|
1480
|
-
"src": "3145:3:
|
1480
|
+
"src": "3145:3:100",
|
1481
1481
|
"typeDescriptions": {
|
1482
1482
|
"typeIdentifier": "t_magic_message",
|
1483
1483
|
"typeString": "msg"
|
1484
1484
|
}
|
1485
1485
|
},
|
1486
|
-
"id":
|
1486
|
+
"id": 42047,
|
1487
1487
|
"isConstant": false,
|
1488
1488
|
"isLValue": false,
|
1489
1489
|
"isPure": false,
|
1490
1490
|
"lValueRequested": false,
|
1491
|
-
"memberLocation": "3149:6:
|
1491
|
+
"memberLocation": "3149:6:100",
|
1492
1492
|
"memberName": "sender",
|
1493
1493
|
"nodeType": "MemberAccess",
|
1494
|
-
"src": "3145:10:
|
1494
|
+
"src": "3145:10:100",
|
1495
1495
|
"typeDescriptions": {
|
1496
1496
|
"typeIdentifier": "t_address",
|
1497
1497
|
"typeString": "address"
|
1498
1498
|
}
|
1499
1499
|
},
|
1500
|
-
"src": "3136:19:
|
1500
|
+
"src": "3136:19:100",
|
1501
1501
|
"typeDescriptions": {
|
1502
1502
|
"typeIdentifier": "t_address",
|
1503
1503
|
"typeString": "address"
|
1504
1504
|
}
|
1505
1505
|
},
|
1506
|
-
"id":
|
1506
|
+
"id": 42049,
|
1507
1507
|
"nodeType": "ExpressionStatement",
|
1508
|
-
"src": "3136:19:
|
1508
|
+
"src": "3136:19:100"
|
1509
1509
|
}
|
1510
1510
|
}
|
1511
1511
|
]
|
1512
1512
|
},
|
1513
1513
|
"documentation": {
|
1514
|
-
"id":
|
1514
|
+
"id": 42033,
|
1515
1515
|
"nodeType": "StructuredDocumentation",
|
1516
|
-
"src": "2539:237:
|
1516
|
+
"src": "2539:237:100",
|
1517
1517
|
"text": " @notice Extract the `msg.sender` from the context appended to the calldata.\n @return sender The `msg.sender` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
1518
1518
|
},
|
1519
1519
|
"implemented": true,
|
1520
1520
|
"kind": "function",
|
1521
1521
|
"modifiers": [],
|
1522
1522
|
"name": "_msgSender",
|
1523
|
-
"nameLocation": "2788:10:
|
1523
|
+
"nameLocation": "2788:10:100",
|
1524
1524
|
"parameters": {
|
1525
|
-
"id":
|
1525
|
+
"id": 42034,
|
1526
1526
|
"nodeType": "ParameterList",
|
1527
1527
|
"parameters": [],
|
1528
|
-
"src": "2798:2:
|
1528
|
+
"src": "2798:2:100"
|
1529
1529
|
},
|
1530
1530
|
"returnParameters": {
|
1531
|
-
"id":
|
1531
|
+
"id": 42037,
|
1532
1532
|
"nodeType": "ParameterList",
|
1533
1533
|
"parameters": [
|
1534
1534
|
{
|
1535
1535
|
"constant": false,
|
1536
|
-
"id":
|
1536
|
+
"id": 42036,
|
1537
1537
|
"mutability": "mutable",
|
1538
1538
|
"name": "sender",
|
1539
|
-
"nameLocation": "2832:6:
|
1539
|
+
"nameLocation": "2832:6:100",
|
1540
1540
|
"nodeType": "VariableDeclaration",
|
1541
|
-
"scope":
|
1542
|
-
"src": "2824:14:
|
1541
|
+
"scope": 42052,
|
1542
|
+
"src": "2824:14:100",
|
1543
1543
|
"stateVariable": false,
|
1544
1544
|
"storageLocation": "default",
|
1545
1545
|
"typeDescriptions": {
|
@@ -1547,10 +1547,10 @@
|
|
1547
1547
|
"typeString": "address"
|
1548
1548
|
},
|
1549
1549
|
"typeName": {
|
1550
|
-
"id":
|
1550
|
+
"id": 42035,
|
1551
1551
|
"name": "address",
|
1552
1552
|
"nodeType": "ElementaryTypeName",
|
1553
|
-
"src": "2824:7:
|
1553
|
+
"src": "2824:7:100",
|
1554
1554
|
"stateMutability": "nonpayable",
|
1555
1555
|
"typeDescriptions": {
|
1556
1556
|
"typeIdentifier": "t_address",
|
@@ -1560,34 +1560,34 @@
|
|
1560
1560
|
"visibility": "internal"
|
1561
1561
|
}
|
1562
1562
|
],
|
1563
|
-
"src": "2823:16:
|
1563
|
+
"src": "2823:16:100"
|
1564
1564
|
},
|
1565
|
-
"scope":
|
1565
|
+
"scope": 42072,
|
1566
1566
|
"stateMutability": "view",
|
1567
1567
|
"virtual": false,
|
1568
1568
|
"visibility": "internal"
|
1569
1569
|
},
|
1570
1570
|
{
|
1571
|
-
"id":
|
1571
|
+
"id": 42060,
|
1572
1572
|
"nodeType": "FunctionDefinition",
|
1573
|
-
"src": "3401:214:
|
1573
|
+
"src": "3401:214:100",
|
1574
1574
|
"nodes": [],
|
1575
1575
|
"body": {
|
1576
|
-
"id":
|
1576
|
+
"id": 42059,
|
1577
1577
|
"nodeType": "Block",
|
1578
|
-
"src": "3460:155:
|
1578
|
+
"src": "3460:155:100",
|
1579
1579
|
"nodes": [],
|
1580
1580
|
"statements": [
|
1581
1581
|
{
|
1582
1582
|
"AST": {
|
1583
|
-
"nativeSrc": "3475:136:
|
1583
|
+
"nativeSrc": "3475:136:100",
|
1584
1584
|
"nodeType": "YulBlock",
|
1585
|
-
"src": "3475:136:
|
1585
|
+
"src": "3475:136:100",
|
1586
1586
|
"statements": [
|
1587
1587
|
{
|
1588
|
-
"nativeSrc": "3559:46:
|
1588
|
+
"nativeSrc": "3559:46:100",
|
1589
1589
|
"nodeType": "YulAssignment",
|
1590
|
-
"src": "3559:46:
|
1590
|
+
"src": "3559:46:100",
|
1591
1591
|
"value": {
|
1592
1592
|
"arguments": [
|
1593
1593
|
{
|
@@ -1596,50 +1596,50 @@
|
|
1596
1596
|
"arguments": [],
|
1597
1597
|
"functionName": {
|
1598
1598
|
"name": "calldatasize",
|
1599
|
-
"nativeSrc": "3585:12:
|
1599
|
+
"nativeSrc": "3585:12:100",
|
1600
1600
|
"nodeType": "YulIdentifier",
|
1601
|
-
"src": "3585:12:
|
1601
|
+
"src": "3585:12:100"
|
1602
1602
|
},
|
1603
|
-
"nativeSrc": "3585:14:
|
1603
|
+
"nativeSrc": "3585:14:100",
|
1604
1604
|
"nodeType": "YulFunctionCall",
|
1605
|
-
"src": "3585:14:
|
1605
|
+
"src": "3585:14:100"
|
1606
1606
|
},
|
1607
1607
|
{
|
1608
1608
|
"kind": "number",
|
1609
|
-
"nativeSrc": "3601:2:
|
1609
|
+
"nativeSrc": "3601:2:100",
|
1610
1610
|
"nodeType": "YulLiteral",
|
1611
|
-
"src": "3601:2:
|
1611
|
+
"src": "3601:2:100",
|
1612
1612
|
"type": "",
|
1613
1613
|
"value": "32"
|
1614
1614
|
}
|
1615
1615
|
],
|
1616
1616
|
"functionName": {
|
1617
1617
|
"name": "sub",
|
1618
|
-
"nativeSrc": "3581:3:
|
1618
|
+
"nativeSrc": "3581:3:100",
|
1619
1619
|
"nodeType": "YulIdentifier",
|
1620
|
-
"src": "3581:3:
|
1620
|
+
"src": "3581:3:100"
|
1621
1621
|
},
|
1622
|
-
"nativeSrc": "3581:23:
|
1622
|
+
"nativeSrc": "3581:23:100",
|
1623
1623
|
"nodeType": "YulFunctionCall",
|
1624
|
-
"src": "3581:23:
|
1624
|
+
"src": "3581:23:100"
|
1625
1625
|
}
|
1626
1626
|
],
|
1627
1627
|
"functionName": {
|
1628
1628
|
"name": "calldataload",
|
1629
|
-
"nativeSrc": "3568:12:
|
1629
|
+
"nativeSrc": "3568:12:100",
|
1630
1630
|
"nodeType": "YulIdentifier",
|
1631
|
-
"src": "3568:12:
|
1631
|
+
"src": "3568:12:100"
|
1632
1632
|
},
|
1633
|
-
"nativeSrc": "3568:37:
|
1633
|
+
"nativeSrc": "3568:37:100",
|
1634
1634
|
"nodeType": "YulFunctionCall",
|
1635
|
-
"src": "3568:37:
|
1635
|
+
"src": "3568:37:100"
|
1636
1636
|
},
|
1637
1637
|
"variableNames": [
|
1638
1638
|
{
|
1639
1639
|
"name": "value",
|
1640
|
-
"nativeSrc": "3559:5:
|
1640
|
+
"nativeSrc": "3559:5:100",
|
1641
1641
|
"nodeType": "YulIdentifier",
|
1642
|
-
"src": "3559:5:
|
1642
|
+
"src": "3559:5:100"
|
1643
1643
|
}
|
1644
1644
|
]
|
1645
1645
|
}
|
@@ -1648,49 +1648,49 @@
|
|
1648
1648
|
"evmVersion": "paris",
|
1649
1649
|
"externalReferences": [
|
1650
1650
|
{
|
1651
|
-
"declaration":
|
1651
|
+
"declaration": 42056,
|
1652
1652
|
"isOffset": false,
|
1653
1653
|
"isSlot": false,
|
1654
|
-
"src": "3559:5:
|
1654
|
+
"src": "3559:5:100",
|
1655
1655
|
"valueSize": 1
|
1656
1656
|
}
|
1657
1657
|
],
|
1658
|
-
"id":
|
1658
|
+
"id": 42058,
|
1659
1659
|
"nodeType": "InlineAssembly",
|
1660
|
-
"src": "3466:145:
|
1660
|
+
"src": "3466:145:100"
|
1661
1661
|
}
|
1662
1662
|
]
|
1663
1663
|
},
|
1664
1664
|
"documentation": {
|
1665
|
-
"id":
|
1665
|
+
"id": 42053,
|
1666
1666
|
"nodeType": "StructuredDocumentation",
|
1667
|
-
"src": "3164:234:
|
1667
|
+
"src": "3164:234:100",
|
1668
1668
|
"text": " @notice Extract the `msg.value` from the context appended to the calldata.\n @return value The `msg.value` in the call to the World contract before the World routed the\n call to the WorldContextConsumer contract."
|
1669
1669
|
},
|
1670
1670
|
"implemented": true,
|
1671
1671
|
"kind": "function",
|
1672
1672
|
"modifiers": [],
|
1673
1673
|
"name": "_msgValue",
|
1674
|
-
"nameLocation": "3410:9:
|
1674
|
+
"nameLocation": "3410:9:100",
|
1675
1675
|
"parameters": {
|
1676
|
-
"id":
|
1676
|
+
"id": 42054,
|
1677
1677
|
"nodeType": "ParameterList",
|
1678
1678
|
"parameters": [],
|
1679
|
-
"src": "3419:2:
|
1679
|
+
"src": "3419:2:100"
|
1680
1680
|
},
|
1681
1681
|
"returnParameters": {
|
1682
|
-
"id":
|
1682
|
+
"id": 42057,
|
1683
1683
|
"nodeType": "ParameterList",
|
1684
1684
|
"parameters": [
|
1685
1685
|
{
|
1686
1686
|
"constant": false,
|
1687
|
-
"id":
|
1687
|
+
"id": 42056,
|
1688
1688
|
"mutability": "mutable",
|
1689
1689
|
"name": "value",
|
1690
|
-
"nameLocation": "3453:5:
|
1690
|
+
"nameLocation": "3453:5:100",
|
1691
1691
|
"nodeType": "VariableDeclaration",
|
1692
|
-
"scope":
|
1693
|
-
"src": "3445:13:
|
1692
|
+
"scope": 42060,
|
1693
|
+
"src": "3445:13:100",
|
1694
1694
|
"stateVariable": false,
|
1695
1695
|
"storageLocation": "default",
|
1696
1696
|
"typeDescriptions": {
|
@@ -1698,10 +1698,10 @@
|
|
1698
1698
|
"typeString": "uint256"
|
1699
1699
|
},
|
1700
1700
|
"typeName": {
|
1701
|
-
"id":
|
1701
|
+
"id": 42055,
|
1702
1702
|
"name": "uint256",
|
1703
1703
|
"nodeType": "ElementaryTypeName",
|
1704
|
-
"src": "3445:7:
|
1704
|
+
"src": "3445:7:100",
|
1705
1705
|
"typeDescriptions": {
|
1706
1706
|
"typeIdentifier": "t_uint256",
|
1707
1707
|
"typeString": "uint256"
|
@@ -1710,22 +1710,22 @@
|
|
1710
1710
|
"visibility": "internal"
|
1711
1711
|
}
|
1712
1712
|
],
|
1713
|
-
"src": "3444:15:
|
1713
|
+
"src": "3444:15:100"
|
1714
1714
|
},
|
1715
|
-
"scope":
|
1715
|
+
"scope": 42072,
|
1716
1716
|
"stateMutability": "pure",
|
1717
1717
|
"virtual": false,
|
1718
1718
|
"visibility": "internal"
|
1719
1719
|
},
|
1720
1720
|
{
|
1721
|
-
"id":
|
1721
|
+
"id": 42071,
|
1722
1722
|
"nodeType": "FunctionDefinition",
|
1723
|
-
"src": "3831:97:
|
1723
|
+
"src": "3831:97:100",
|
1724
1724
|
"nodes": [],
|
1725
1725
|
"body": {
|
1726
|
-
"id":
|
1726
|
+
"id": 42070,
|
1727
1727
|
"nodeType": "Block",
|
1728
|
-
"src": "3881:47:
|
1728
|
+
"src": "3881:47:100",
|
1729
1729
|
"nodes": [],
|
1730
1730
|
"statements": [
|
1731
1731
|
{
|
@@ -1734,33 +1734,33 @@
|
|
1734
1734
|
"expression": {
|
1735
1735
|
"argumentTypes": [],
|
1736
1736
|
"expression": {
|
1737
|
-
"id":
|
1737
|
+
"id": 42066,
|
1738
1738
|
"name": "StoreSwitch",
|
1739
1739
|
"nodeType": "Identifier",
|
1740
1740
|
"overloadedDeclarations": [],
|
1741
|
-
"referencedDeclaration":
|
1742
|
-
"src": "3894:11:
|
1741
|
+
"referencedDeclaration": 33826,
|
1742
|
+
"src": "3894:11:100",
|
1743
1743
|
"typeDescriptions": {
|
1744
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
1744
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
|
1745
1745
|
"typeString": "type(library StoreSwitch)"
|
1746
1746
|
}
|
1747
1747
|
},
|
1748
|
-
"id":
|
1748
|
+
"id": 42067,
|
1749
1749
|
"isConstant": false,
|
1750
1750
|
"isLValue": false,
|
1751
1751
|
"isPure": false,
|
1752
1752
|
"lValueRequested": false,
|
1753
|
-
"memberLocation": "3906:15:
|
1753
|
+
"memberLocation": "3906:15:100",
|
1754
1754
|
"memberName": "getStoreAddress",
|
1755
1755
|
"nodeType": "MemberAccess",
|
1756
|
-
"referencedDeclaration":
|
1757
|
-
"src": "3894:27:
|
1756
|
+
"referencedDeclaration": 32570,
|
1757
|
+
"src": "3894:27:100",
|
1758
1758
|
"typeDescriptions": {
|
1759
1759
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
1760
1760
|
"typeString": "function () view returns (address)"
|
1761
1761
|
}
|
1762
1762
|
},
|
1763
|
-
"id":
|
1763
|
+
"id": 42068,
|
1764
1764
|
"isConstant": false,
|
1765
1765
|
"isLValue": false,
|
1766
1766
|
"isPure": false,
|
@@ -1769,50 +1769,50 @@
|
|
1769
1769
|
"nameLocations": [],
|
1770
1770
|
"names": [],
|
1771
1771
|
"nodeType": "FunctionCall",
|
1772
|
-
"src": "3894:29:
|
1772
|
+
"src": "3894:29:100",
|
1773
1773
|
"tryCall": false,
|
1774
1774
|
"typeDescriptions": {
|
1775
1775
|
"typeIdentifier": "t_address",
|
1776
1776
|
"typeString": "address"
|
1777
1777
|
}
|
1778
1778
|
},
|
1779
|
-
"functionReturnParameters":
|
1780
|
-
"id":
|
1779
|
+
"functionReturnParameters": 42065,
|
1780
|
+
"id": 42069,
|
1781
1781
|
"nodeType": "Return",
|
1782
|
-
"src": "3887:36:
|
1782
|
+
"src": "3887:36:100"
|
1783
1783
|
}
|
1784
1784
|
]
|
1785
1785
|
},
|
1786
1786
|
"documentation": {
|
1787
|
-
"id":
|
1787
|
+
"id": 42061,
|
1788
1788
|
"nodeType": "StructuredDocumentation",
|
1789
|
-
"src": "3619:209:
|
1789
|
+
"src": "3619:209:100",
|
1790
1790
|
"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."
|
1791
1791
|
},
|
1792
1792
|
"implemented": true,
|
1793
1793
|
"kind": "function",
|
1794
1794
|
"modifiers": [],
|
1795
1795
|
"name": "_world",
|
1796
|
-
"nameLocation": "3840:6:
|
1796
|
+
"nameLocation": "3840:6:100",
|
1797
1797
|
"parameters": {
|
1798
|
-
"id":
|
1798
|
+
"id": 42062,
|
1799
1799
|
"nodeType": "ParameterList",
|
1800
1800
|
"parameters": [],
|
1801
|
-
"src": "3846:2:
|
1801
|
+
"src": "3846:2:100"
|
1802
1802
|
},
|
1803
1803
|
"returnParameters": {
|
1804
|
-
"id":
|
1804
|
+
"id": 42065,
|
1805
1805
|
"nodeType": "ParameterList",
|
1806
1806
|
"parameters": [
|
1807
1807
|
{
|
1808
1808
|
"constant": false,
|
1809
|
-
"id":
|
1809
|
+
"id": 42064,
|
1810
1810
|
"mutability": "mutable",
|
1811
1811
|
"name": "",
|
1812
1812
|
"nameLocation": "-1:-1:-1",
|
1813
1813
|
"nodeType": "VariableDeclaration",
|
1814
|
-
"scope":
|
1815
|
-
"src": "3872:7:
|
1814
|
+
"scope": 42071,
|
1815
|
+
"src": "3872:7:100",
|
1816
1816
|
"stateVariable": false,
|
1817
1817
|
"storageLocation": "default",
|
1818
1818
|
"typeDescriptions": {
|
@@ -1820,10 +1820,10 @@
|
|
1820
1820
|
"typeString": "address"
|
1821
1821
|
},
|
1822
1822
|
"typeName": {
|
1823
|
-
"id":
|
1823
|
+
"id": 42063,
|
1824
1824
|
"name": "address",
|
1825
1825
|
"nodeType": "ElementaryTypeName",
|
1826
|
-
"src": "3872:7:
|
1826
|
+
"src": "3872:7:100",
|
1827
1827
|
"stateMutability": "nonpayable",
|
1828
1828
|
"typeDescriptions": {
|
1829
1829
|
"typeIdentifier": "t_address",
|
@@ -1833,9 +1833,9 @@
|
|
1833
1833
|
"visibility": "internal"
|
1834
1834
|
}
|
1835
1835
|
],
|
1836
|
-
"src": "3871:9:
|
1836
|
+
"src": "3871:9:100"
|
1837
1837
|
},
|
1838
|
-
"scope":
|
1838
|
+
"scope": 42072,
|
1839
1839
|
"stateMutability": "view",
|
1840
1840
|
"virtual": false,
|
1841
1841
|
"visibility": "internal"
|
@@ -1848,64 +1848,64 @@
|
|
1848
1848
|
"contractKind": "library",
|
1849
1849
|
"fullyImplemented": true,
|
1850
1850
|
"linearizedBaseContracts": [
|
1851
|
-
|
1851
|
+
42072
|
1852
1852
|
],
|
1853
1853
|
"name": "WorldContextConsumerLib",
|
1854
|
-
"nameLocation": "2511:23:
|
1855
|
-
"scope":
|
1854
|
+
"nameLocation": "2511:23:100",
|
1855
|
+
"scope": 42227,
|
1856
1856
|
"usedErrors": [],
|
1857
1857
|
"usedEvents": []
|
1858
1858
|
},
|
1859
1859
|
{
|
1860
|
-
"id":
|
1860
|
+
"id": 42226,
|
1861
1861
|
"nodeType": "ContractDefinition",
|
1862
|
-
"src": "4265:3922:
|
1862
|
+
"src": "4265:3922:100",
|
1863
1863
|
"nodes": [
|
1864
1864
|
{
|
1865
|
-
"id":
|
1865
|
+
"id": 42093,
|
1866
1866
|
"nodeType": "FunctionDefinition",
|
1867
|
-
"src": "4614:201:
|
1867
|
+
"src": "4614:201:100",
|
1868
1868
|
"nodes": [],
|
1869
1869
|
"body": {
|
1870
|
-
"id":
|
1870
|
+
"id": 42092,
|
1871
1871
|
"nodeType": "Block",
|
1872
|
-
"src": "4750:65:
|
1872
|
+
"src": "4750:65:100",
|
1873
1873
|
"nodes": [],
|
1874
1874
|
"statements": [
|
1875
1875
|
{
|
1876
1876
|
"expression": {
|
1877
1877
|
"arguments": [
|
1878
1878
|
{
|
1879
|
-
"id":
|
1879
|
+
"id": 42087,
|
1880
1880
|
"name": "callData",
|
1881
1881
|
"nodeType": "Identifier",
|
1882
1882
|
"overloadedDeclarations": [],
|
1883
|
-
"referencedDeclaration":
|
1884
|
-
"src": "4780:8:
|
1883
|
+
"referencedDeclaration": 42076,
|
1884
|
+
"src": "4780:8:100",
|
1885
1885
|
"typeDescriptions": {
|
1886
1886
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1887
1887
|
"typeString": "bytes memory"
|
1888
1888
|
}
|
1889
1889
|
},
|
1890
1890
|
{
|
1891
|
-
"id":
|
1891
|
+
"id": 42088,
|
1892
1892
|
"name": "msgSender",
|
1893
1893
|
"nodeType": "Identifier",
|
1894
1894
|
"overloadedDeclarations": [],
|
1895
|
-
"referencedDeclaration":
|
1896
|
-
"src": "4790:9:
|
1895
|
+
"referencedDeclaration": 42078,
|
1896
|
+
"src": "4790:9:100",
|
1897
1897
|
"typeDescriptions": {
|
1898
1898
|
"typeIdentifier": "t_address",
|
1899
1899
|
"typeString": "address"
|
1900
1900
|
}
|
1901
1901
|
},
|
1902
1902
|
{
|
1903
|
-
"id":
|
1903
|
+
"id": 42089,
|
1904
1904
|
"name": "msgValue",
|
1905
1905
|
"nodeType": "Identifier",
|
1906
1906
|
"overloadedDeclarations": [],
|
1907
|
-
"referencedDeclaration":
|
1908
|
-
"src": "4801:8:
|
1907
|
+
"referencedDeclaration": 42080,
|
1908
|
+
"src": "4801:8:100",
|
1909
1909
|
"typeDescriptions": {
|
1910
1910
|
"typeIdentifier": "t_uint256",
|
1911
1911
|
"typeString": "uint256"
|
@@ -1928,32 +1928,32 @@
|
|
1928
1928
|
}
|
1929
1929
|
],
|
1930
1930
|
"expression": {
|
1931
|
-
"id":
|
1931
|
+
"id": 42085,
|
1932
1932
|
"name": "abi",
|
1933
1933
|
"nodeType": "Identifier",
|
1934
1934
|
"overloadedDeclarations": [],
|
1935
1935
|
"referencedDeclaration": -1,
|
1936
|
-
"src": "4763:3:
|
1936
|
+
"src": "4763:3:100",
|
1937
1937
|
"typeDescriptions": {
|
1938
1938
|
"typeIdentifier": "t_magic_abi",
|
1939
1939
|
"typeString": "abi"
|
1940
1940
|
}
|
1941
1941
|
},
|
1942
|
-
"id":
|
1942
|
+
"id": 42086,
|
1943
1943
|
"isConstant": false,
|
1944
1944
|
"isLValue": false,
|
1945
1945
|
"isPure": true,
|
1946
1946
|
"lValueRequested": false,
|
1947
|
-
"memberLocation": "4767:12:
|
1947
|
+
"memberLocation": "4767:12:100",
|
1948
1948
|
"memberName": "encodePacked",
|
1949
1949
|
"nodeType": "MemberAccess",
|
1950
|
-
"src": "4763:16:
|
1950
|
+
"src": "4763:16:100",
|
1951
1951
|
"typeDescriptions": {
|
1952
1952
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
1953
1953
|
"typeString": "function () pure returns (bytes memory)"
|
1954
1954
|
}
|
1955
1955
|
},
|
1956
|
-
"id":
|
1956
|
+
"id": 42090,
|
1957
1957
|
"isConstant": false,
|
1958
1958
|
"isLValue": false,
|
1959
1959
|
"isPure": false,
|
@@ -1962,44 +1962,44 @@
|
|
1962
1962
|
"nameLocations": [],
|
1963
1963
|
"names": [],
|
1964
1964
|
"nodeType": "FunctionCall",
|
1965
|
-
"src": "4763:47:
|
1965
|
+
"src": "4763:47:100",
|
1966
1966
|
"tryCall": false,
|
1967
1967
|
"typeDescriptions": {
|
1968
1968
|
"typeIdentifier": "t_bytes_memory_ptr",
|
1969
1969
|
"typeString": "bytes memory"
|
1970
1970
|
}
|
1971
1971
|
},
|
1972
|
-
"functionReturnParameters":
|
1973
|
-
"id":
|
1972
|
+
"functionReturnParameters": 42084,
|
1973
|
+
"id": 42091,
|
1974
1974
|
"nodeType": "Return",
|
1975
|
-
"src": "4756:54:
|
1975
|
+
"src": "4756:54:100"
|
1976
1976
|
}
|
1977
1977
|
]
|
1978
1978
|
},
|
1979
1979
|
"documentation": {
|
1980
|
-
"id":
|
1980
|
+
"id": 42074,
|
1981
1981
|
"nodeType": "StructuredDocumentation",
|
1982
|
-
"src": "4301:310:
|
1982
|
+
"src": "4301:310:100",
|
1983
1983
|
"text": " @notice Appends context values to the given calldata.\n @param callData The original calldata.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @return The new calldata with context values appended."
|
1984
1984
|
},
|
1985
1985
|
"implemented": true,
|
1986
1986
|
"kind": "function",
|
1987
1987
|
"modifiers": [],
|
1988
1988
|
"name": "appendContext",
|
1989
|
-
"nameLocation": "4623:13:
|
1989
|
+
"nameLocation": "4623:13:100",
|
1990
1990
|
"parameters": {
|
1991
|
-
"id":
|
1991
|
+
"id": 42081,
|
1992
1992
|
"nodeType": "ParameterList",
|
1993
1993
|
"parameters": [
|
1994
1994
|
{
|
1995
1995
|
"constant": false,
|
1996
|
-
"id":
|
1996
|
+
"id": 42076,
|
1997
1997
|
"mutability": "mutable",
|
1998
1998
|
"name": "callData",
|
1999
|
-
"nameLocation": "4655:8:
|
1999
|
+
"nameLocation": "4655:8:100",
|
2000
2000
|
"nodeType": "VariableDeclaration",
|
2001
|
-
"scope":
|
2002
|
-
"src": "4642:21:
|
2001
|
+
"scope": 42093,
|
2002
|
+
"src": "4642:21:100",
|
2003
2003
|
"stateVariable": false,
|
2004
2004
|
"storageLocation": "memory",
|
2005
2005
|
"typeDescriptions": {
|
@@ -2007,10 +2007,10 @@
|
|
2007
2007
|
"typeString": "bytes"
|
2008
2008
|
},
|
2009
2009
|
"typeName": {
|
2010
|
-
"id":
|
2010
|
+
"id": 42075,
|
2011
2011
|
"name": "bytes",
|
2012
2012
|
"nodeType": "ElementaryTypeName",
|
2013
|
-
"src": "4642:5:
|
2013
|
+
"src": "4642:5:100",
|
2014
2014
|
"typeDescriptions": {
|
2015
2015
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2016
2016
|
"typeString": "bytes"
|
@@ -2020,13 +2020,13 @@
|
|
2020
2020
|
},
|
2021
2021
|
{
|
2022
2022
|
"constant": false,
|
2023
|
-
"id":
|
2023
|
+
"id": 42078,
|
2024
2024
|
"mutability": "mutable",
|
2025
2025
|
"name": "msgSender",
|
2026
|
-
"nameLocation": "4677:9:
|
2026
|
+
"nameLocation": "4677:9:100",
|
2027
2027
|
"nodeType": "VariableDeclaration",
|
2028
|
-
"scope":
|
2029
|
-
"src": "4669:17:
|
2028
|
+
"scope": 42093,
|
2029
|
+
"src": "4669:17:100",
|
2030
2030
|
"stateVariable": false,
|
2031
2031
|
"storageLocation": "default",
|
2032
2032
|
"typeDescriptions": {
|
@@ -2034,10 +2034,10 @@
|
|
2034
2034
|
"typeString": "address"
|
2035
2035
|
},
|
2036
2036
|
"typeName": {
|
2037
|
-
"id":
|
2037
|
+
"id": 42077,
|
2038
2038
|
"name": "address",
|
2039
2039
|
"nodeType": "ElementaryTypeName",
|
2040
|
-
"src": "4669:7:
|
2040
|
+
"src": "4669:7:100",
|
2041
2041
|
"stateMutability": "nonpayable",
|
2042
2042
|
"typeDescriptions": {
|
2043
2043
|
"typeIdentifier": "t_address",
|
@@ -2048,13 +2048,13 @@
|
|
2048
2048
|
},
|
2049
2049
|
{
|
2050
2050
|
"constant": false,
|
2051
|
-
"id":
|
2051
|
+
"id": 42080,
|
2052
2052
|
"mutability": "mutable",
|
2053
2053
|
"name": "msgValue",
|
2054
|
-
"nameLocation": "4700:8:
|
2054
|
+
"nameLocation": "4700:8:100",
|
2055
2055
|
"nodeType": "VariableDeclaration",
|
2056
|
-
"scope":
|
2057
|
-
"src": "4692:16:
|
2056
|
+
"scope": 42093,
|
2057
|
+
"src": "4692:16:100",
|
2058
2058
|
"stateVariable": false,
|
2059
2059
|
"storageLocation": "default",
|
2060
2060
|
"typeDescriptions": {
|
@@ -2062,10 +2062,10 @@
|
|
2062
2062
|
"typeString": "uint256"
|
2063
2063
|
},
|
2064
2064
|
"typeName": {
|
2065
|
-
"id":
|
2065
|
+
"id": 42079,
|
2066
2066
|
"name": "uint256",
|
2067
2067
|
"nodeType": "ElementaryTypeName",
|
2068
|
-
"src": "4692:7:
|
2068
|
+
"src": "4692:7:100",
|
2069
2069
|
"typeDescriptions": {
|
2070
2070
|
"typeIdentifier": "t_uint256",
|
2071
2071
|
"typeString": "uint256"
|
@@ -2074,21 +2074,21 @@
|
|
2074
2074
|
"visibility": "internal"
|
2075
2075
|
}
|
2076
2076
|
],
|
2077
|
-
"src": "4636:76:
|
2077
|
+
"src": "4636:76:100"
|
2078
2078
|
},
|
2079
2079
|
"returnParameters": {
|
2080
|
-
"id":
|
2080
|
+
"id": 42084,
|
2081
2081
|
"nodeType": "ParameterList",
|
2082
2082
|
"parameters": [
|
2083
2083
|
{
|
2084
2084
|
"constant": false,
|
2085
|
-
"id":
|
2085
|
+
"id": 42083,
|
2086
2086
|
"mutability": "mutable",
|
2087
2087
|
"name": "",
|
2088
2088
|
"nameLocation": "-1:-1:-1",
|
2089
2089
|
"nodeType": "VariableDeclaration",
|
2090
|
-
"scope":
|
2091
|
-
"src": "4736:12:
|
2090
|
+
"scope": 42093,
|
2091
|
+
"src": "4736:12:100",
|
2092
2092
|
"stateVariable": false,
|
2093
2093
|
"storageLocation": "memory",
|
2094
2094
|
"typeDescriptions": {
|
@@ -2096,10 +2096,10 @@
|
|
2096
2096
|
"typeString": "bytes"
|
2097
2097
|
},
|
2098
2098
|
"typeName": {
|
2099
|
-
"id":
|
2099
|
+
"id": 42082,
|
2100
2100
|
"name": "bytes",
|
2101
2101
|
"nodeType": "ElementaryTypeName",
|
2102
|
-
"src": "4736:5:
|
2102
|
+
"src": "4736:5:100",
|
2103
2103
|
"typeDescriptions": {
|
2104
2104
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2105
2105
|
"typeString": "bytes"
|
@@ -2108,27 +2108,27 @@
|
|
2108
2108
|
"visibility": "internal"
|
2109
2109
|
}
|
2110
2110
|
],
|
2111
|
-
"src": "4735:14:
|
2111
|
+
"src": "4735:14:100"
|
2112
2112
|
},
|
2113
|
-
"scope":
|
2113
|
+
"scope": 42226,
|
2114
2114
|
"stateMutability": "pure",
|
2115
2115
|
"virtual": false,
|
2116
2116
|
"visibility": "internal"
|
2117
2117
|
},
|
2118
2118
|
{
|
2119
|
-
"id":
|
2119
|
+
"id": 42125,
|
2120
2120
|
"nodeType": "FunctionDefinition",
|
2121
|
-
"src": "5311:317:
|
2121
|
+
"src": "5311:317:100",
|
2122
2122
|
"nodes": [],
|
2123
2123
|
"body": {
|
2124
|
-
"id":
|
2124
|
+
"id": 42124,
|
2125
2125
|
"nodeType": "Block",
|
2126
|
-
"src": "5483:145:
|
2126
|
+
"src": "5483:145:100",
|
2127
2127
|
"nodes": [],
|
2128
2128
|
"statements": [
|
2129
2129
|
{
|
2130
2130
|
"expression": {
|
2131
|
-
"id":
|
2131
|
+
"id": 42122,
|
2132
2132
|
"isConstant": false,
|
2133
2133
|
"isLValue": false,
|
2134
2134
|
"isPure": false,
|
@@ -2136,38 +2136,38 @@
|
|
2136
2136
|
"leftHandSide": {
|
2137
2137
|
"components": [
|
2138
2138
|
{
|
2139
|
-
"id":
|
2139
|
+
"id": 42109,
|
2140
2140
|
"name": "success",
|
2141
2141
|
"nodeType": "Identifier",
|
2142
2142
|
"overloadedDeclarations": [],
|
2143
|
-
"referencedDeclaration":
|
2144
|
-
"src": "5490:7:
|
2143
|
+
"referencedDeclaration": 42105,
|
2144
|
+
"src": "5490:7:100",
|
2145
2145
|
"typeDescriptions": {
|
2146
2146
|
"typeIdentifier": "t_bool",
|
2147
2147
|
"typeString": "bool"
|
2148
2148
|
}
|
2149
2149
|
},
|
2150
2150
|
{
|
2151
|
-
"id":
|
2151
|
+
"id": 42110,
|
2152
2152
|
"name": "data",
|
2153
2153
|
"nodeType": "Identifier",
|
2154
2154
|
"overloadedDeclarations": [],
|
2155
|
-
"referencedDeclaration":
|
2156
|
-
"src": "5499:4:
|
2155
|
+
"referencedDeclaration": 42107,
|
2156
|
+
"src": "5499:4:100",
|
2157
2157
|
"typeDescriptions": {
|
2158
2158
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2159
2159
|
"typeString": "bytes memory"
|
2160
2160
|
}
|
2161
2161
|
}
|
2162
2162
|
],
|
2163
|
-
"id":
|
2163
|
+
"id": 42111,
|
2164
2164
|
"isConstant": false,
|
2165
2165
|
"isInlineArray": false,
|
2166
2166
|
"isLValue": true,
|
2167
2167
|
"isPure": false,
|
2168
2168
|
"lValueRequested": true,
|
2169
2169
|
"nodeType": "TupleExpression",
|
2170
|
-
"src": "5489:15:
|
2170
|
+
"src": "5489:15:100",
|
2171
2171
|
"typeDescriptions": {
|
2172
2172
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2173
2173
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -2180,36 +2180,36 @@
|
|
2180
2180
|
{
|
2181
2181
|
"arguments": [
|
2182
2182
|
{
|
2183
|
-
"id":
|
2183
|
+
"id": 42117,
|
2184
2184
|
"name": "callData",
|
2185
2185
|
"nodeType": "Identifier",
|
2186
2186
|
"overloadedDeclarations": [],
|
2187
|
-
"referencedDeclaration":
|
2188
|
-
"src": "5564:8:
|
2187
|
+
"referencedDeclaration": 42102,
|
2188
|
+
"src": "5564:8:100",
|
2189
2189
|
"typeDescriptions": {
|
2190
2190
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2191
2191
|
"typeString": "bytes memory"
|
2192
2192
|
}
|
2193
2193
|
},
|
2194
2194
|
{
|
2195
|
-
"id":
|
2195
|
+
"id": 42118,
|
2196
2196
|
"name": "msgSender",
|
2197
2197
|
"nodeType": "Identifier",
|
2198
2198
|
"overloadedDeclarations": [],
|
2199
|
-
"referencedDeclaration":
|
2200
|
-
"src": "5585:9:
|
2199
|
+
"referencedDeclaration": 42096,
|
2200
|
+
"src": "5585:9:100",
|
2201
2201
|
"typeDescriptions": {
|
2202
2202
|
"typeIdentifier": "t_address",
|
2203
2203
|
"typeString": "address"
|
2204
2204
|
}
|
2205
2205
|
},
|
2206
2206
|
{
|
2207
|
-
"id":
|
2207
|
+
"id": 42119,
|
2208
2208
|
"name": "msgValue",
|
2209
2209
|
"nodeType": "Identifier",
|
2210
2210
|
"overloadedDeclarations": [],
|
2211
|
-
"referencedDeclaration":
|
2212
|
-
"src": "5606:8:
|
2211
|
+
"referencedDeclaration": 42098,
|
2212
|
+
"src": "5606:8:100",
|
2213
2213
|
"typeDescriptions": {
|
2214
2214
|
"typeIdentifier": "t_uint256",
|
2215
2215
|
"typeString": "uint256"
|
@@ -2231,27 +2231,27 @@
|
|
2231
2231
|
"typeString": "uint256"
|
2232
2232
|
}
|
2233
2233
|
],
|
2234
|
-
"id":
|
2234
|
+
"id": 42116,
|
2235
2235
|
"name": "appendContext",
|
2236
2236
|
"nodeType": "Identifier",
|
2237
2237
|
"overloadedDeclarations": [],
|
2238
|
-
"referencedDeclaration":
|
2239
|
-
"src": "5538:13:
|
2238
|
+
"referencedDeclaration": 42093,
|
2239
|
+
"src": "5538:13:100",
|
2240
2240
|
"typeDescriptions": {
|
2241
2241
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
2242
2242
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
2243
2243
|
}
|
2244
2244
|
},
|
2245
|
-
"id":
|
2245
|
+
"id": 42120,
|
2246
2246
|
"isConstant": false,
|
2247
2247
|
"isLValue": false,
|
2248
2248
|
"isPure": false,
|
2249
2249
|
"kind": "functionCall",
|
2250
2250
|
"lValueRequested": false,
|
2251
2251
|
"nameLocations": [
|
2252
|
-
"5554:8:
|
2253
|
-
"5574:9:
|
2254
|
-
"5596:8:
|
2252
|
+
"5554:8:100",
|
2253
|
+
"5574:9:100",
|
2254
|
+
"5596:8:100"
|
2255
2255
|
],
|
2256
2256
|
"names": [
|
2257
2257
|
"callData",
|
@@ -2259,7 +2259,7 @@
|
|
2259
2259
|
"msgValue"
|
2260
2260
|
],
|
2261
2261
|
"nodeType": "FunctionCall",
|
2262
|
-
"src": "5538:79:
|
2262
|
+
"src": "5538:79:100",
|
2263
2263
|
"tryCall": false,
|
2264
2264
|
"typeDescriptions": {
|
2265
2265
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2282,32 +2282,32 @@
|
|
2282
2282
|
}
|
2283
2283
|
],
|
2284
2284
|
"expression": {
|
2285
|
-
"id":
|
2285
|
+
"id": 42112,
|
2286
2286
|
"name": "target",
|
2287
2287
|
"nodeType": "Identifier",
|
2288
2288
|
"overloadedDeclarations": [],
|
2289
|
-
"referencedDeclaration":
|
2290
|
-
"src": "5507:6:
|
2289
|
+
"referencedDeclaration": 42100,
|
2290
|
+
"src": "5507:6:100",
|
2291
2291
|
"typeDescriptions": {
|
2292
2292
|
"typeIdentifier": "t_address",
|
2293
2293
|
"typeString": "address"
|
2294
2294
|
}
|
2295
2295
|
},
|
2296
|
-
"id":
|
2296
|
+
"id": 42113,
|
2297
2297
|
"isConstant": false,
|
2298
2298
|
"isLValue": false,
|
2299
2299
|
"isPure": false,
|
2300
2300
|
"lValueRequested": false,
|
2301
|
-
"memberLocation": "5514:4:
|
2301
|
+
"memberLocation": "5514:4:100",
|
2302
2302
|
"memberName": "call",
|
2303
2303
|
"nodeType": "MemberAccess",
|
2304
|
-
"src": "5507:11:
|
2304
|
+
"src": "5507:11:100",
|
2305
2305
|
"typeDescriptions": {
|
2306
2306
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2307
2307
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
2308
2308
|
}
|
2309
2309
|
},
|
2310
|
-
"id":
|
2310
|
+
"id": 42115,
|
2311
2311
|
"isConstant": false,
|
2312
2312
|
"isLValue": false,
|
2313
2313
|
"isPure": false,
|
@@ -2319,14 +2319,14 @@
|
|
2319
2319
|
"options": [
|
2320
2320
|
{
|
2321
2321
|
"hexValue": "30",
|
2322
|
-
"id":
|
2322
|
+
"id": 42114,
|
2323
2323
|
"isConstant": false,
|
2324
2324
|
"isLValue": false,
|
2325
2325
|
"isPure": true,
|
2326
2326
|
"kind": "number",
|
2327
2327
|
"lValueRequested": false,
|
2328
2328
|
"nodeType": "Literal",
|
2329
|
-
"src": "5527:1:
|
2329
|
+
"src": "5527:1:100",
|
2330
2330
|
"typeDescriptions": {
|
2331
2331
|
"typeIdentifier": "t_rational_0_by_1",
|
2332
2332
|
"typeString": "int_const 0"
|
@@ -2334,13 +2334,13 @@
|
|
2334
2334
|
"value": "0"
|
2335
2335
|
}
|
2336
2336
|
],
|
2337
|
-
"src": "5507:23:
|
2337
|
+
"src": "5507:23:100",
|
2338
2338
|
"typeDescriptions": {
|
2339
2339
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
|
2340
2340
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
2341
2341
|
}
|
2342
2342
|
},
|
2343
|
-
"id":
|
2343
|
+
"id": 42121,
|
2344
2344
|
"isConstant": false,
|
2345
2345
|
"isLValue": false,
|
2346
2346
|
"isPure": false,
|
@@ -2349,49 +2349,49 @@
|
|
2349
2349
|
"nameLocations": [],
|
2350
2350
|
"names": [],
|
2351
2351
|
"nodeType": "FunctionCall",
|
2352
|
-
"src": "5507:116:
|
2352
|
+
"src": "5507:116:100",
|
2353
2353
|
"tryCall": false,
|
2354
2354
|
"typeDescriptions": {
|
2355
2355
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2356
2356
|
"typeString": "tuple(bool,bytes memory)"
|
2357
2357
|
}
|
2358
2358
|
},
|
2359
|
-
"src": "5489:134:
|
2359
|
+
"src": "5489:134:100",
|
2360
2360
|
"typeDescriptions": {
|
2361
2361
|
"typeIdentifier": "t_tuple$__$",
|
2362
2362
|
"typeString": "tuple()"
|
2363
2363
|
}
|
2364
2364
|
},
|
2365
|
-
"id":
|
2365
|
+
"id": 42123,
|
2366
2366
|
"nodeType": "ExpressionStatement",
|
2367
|
-
"src": "5489:134:
|
2367
|
+
"src": "5489:134:100"
|
2368
2368
|
}
|
2369
2369
|
]
|
2370
2370
|
},
|
2371
2371
|
"documentation": {
|
2372
|
-
"id":
|
2372
|
+
"id": 42094,
|
2373
2373
|
"nodeType": "StructuredDocumentation",
|
2374
|
-
"src": "4819:489:
|
2374
|
+
"src": "4819:489:100",
|
2375
2375
|
"text": " @notice Makes a call to the target contract with context values appended to the calldata.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return success A boolean indicating whether the call was successful or not.\n @return data The abi encoded return data from the call."
|
2376
2376
|
},
|
2377
2377
|
"implemented": true,
|
2378
2378
|
"kind": "function",
|
2379
2379
|
"modifiers": [],
|
2380
2380
|
"name": "callWithContext",
|
2381
|
-
"nameLocation": "5320:15:
|
2381
|
+
"nameLocation": "5320:15:100",
|
2382
2382
|
"parameters": {
|
2383
|
-
"id":
|
2383
|
+
"id": 42103,
|
2384
2384
|
"nodeType": "ParameterList",
|
2385
2385
|
"parameters": [
|
2386
2386
|
{
|
2387
2387
|
"constant": false,
|
2388
|
-
"id":
|
2388
|
+
"id": 42096,
|
2389
2389
|
"mutability": "mutable",
|
2390
2390
|
"name": "msgSender",
|
2391
|
-
"nameLocation": "5349:9:
|
2391
|
+
"nameLocation": "5349:9:100",
|
2392
2392
|
"nodeType": "VariableDeclaration",
|
2393
|
-
"scope":
|
2394
|
-
"src": "5341:17:
|
2393
|
+
"scope": 42125,
|
2394
|
+
"src": "5341:17:100",
|
2395
2395
|
"stateVariable": false,
|
2396
2396
|
"storageLocation": "default",
|
2397
2397
|
"typeDescriptions": {
|
@@ -2399,10 +2399,10 @@
|
|
2399
2399
|
"typeString": "address"
|
2400
2400
|
},
|
2401
2401
|
"typeName": {
|
2402
|
-
"id":
|
2402
|
+
"id": 42095,
|
2403
2403
|
"name": "address",
|
2404
2404
|
"nodeType": "ElementaryTypeName",
|
2405
|
-
"src": "5341:7:
|
2405
|
+
"src": "5341:7:100",
|
2406
2406
|
"stateMutability": "nonpayable",
|
2407
2407
|
"typeDescriptions": {
|
2408
2408
|
"typeIdentifier": "t_address",
|
@@ -2413,13 +2413,13 @@
|
|
2413
2413
|
},
|
2414
2414
|
{
|
2415
2415
|
"constant": false,
|
2416
|
-
"id":
|
2416
|
+
"id": 42098,
|
2417
2417
|
"mutability": "mutable",
|
2418
2418
|
"name": "msgValue",
|
2419
|
-
"nameLocation": "5372:8:
|
2419
|
+
"nameLocation": "5372:8:100",
|
2420
2420
|
"nodeType": "VariableDeclaration",
|
2421
|
-
"scope":
|
2422
|
-
"src": "5364:16:
|
2421
|
+
"scope": 42125,
|
2422
|
+
"src": "5364:16:100",
|
2423
2423
|
"stateVariable": false,
|
2424
2424
|
"storageLocation": "default",
|
2425
2425
|
"typeDescriptions": {
|
@@ -2427,10 +2427,10 @@
|
|
2427
2427
|
"typeString": "uint256"
|
2428
2428
|
},
|
2429
2429
|
"typeName": {
|
2430
|
-
"id":
|
2430
|
+
"id": 42097,
|
2431
2431
|
"name": "uint256",
|
2432
2432
|
"nodeType": "ElementaryTypeName",
|
2433
|
-
"src": "5364:7:
|
2433
|
+
"src": "5364:7:100",
|
2434
2434
|
"typeDescriptions": {
|
2435
2435
|
"typeIdentifier": "t_uint256",
|
2436
2436
|
"typeString": "uint256"
|
@@ -2440,13 +2440,13 @@
|
|
2440
2440
|
},
|
2441
2441
|
{
|
2442
2442
|
"constant": false,
|
2443
|
-
"id":
|
2443
|
+
"id": 42100,
|
2444
2444
|
"mutability": "mutable",
|
2445
2445
|
"name": "target",
|
2446
|
-
"nameLocation": "5394:6:
|
2446
|
+
"nameLocation": "5394:6:100",
|
2447
2447
|
"nodeType": "VariableDeclaration",
|
2448
|
-
"scope":
|
2449
|
-
"src": "5386:14:
|
2448
|
+
"scope": 42125,
|
2449
|
+
"src": "5386:14:100",
|
2450
2450
|
"stateVariable": false,
|
2451
2451
|
"storageLocation": "default",
|
2452
2452
|
"typeDescriptions": {
|
@@ -2454,10 +2454,10 @@
|
|
2454
2454
|
"typeString": "address"
|
2455
2455
|
},
|
2456
2456
|
"typeName": {
|
2457
|
-
"id":
|
2457
|
+
"id": 42099,
|
2458
2458
|
"name": "address",
|
2459
2459
|
"nodeType": "ElementaryTypeName",
|
2460
|
-
"src": "5386:7:
|
2460
|
+
"src": "5386:7:100",
|
2461
2461
|
"stateMutability": "nonpayable",
|
2462
2462
|
"typeDescriptions": {
|
2463
2463
|
"typeIdentifier": "t_address",
|
@@ -2468,13 +2468,13 @@
|
|
2468
2468
|
},
|
2469
2469
|
{
|
2470
2470
|
"constant": false,
|
2471
|
-
"id":
|
2471
|
+
"id": 42102,
|
2472
2472
|
"mutability": "mutable",
|
2473
2473
|
"name": "callData",
|
2474
|
-
"nameLocation": "5419:8:
|
2474
|
+
"nameLocation": "5419:8:100",
|
2475
2475
|
"nodeType": "VariableDeclaration",
|
2476
|
-
"scope":
|
2477
|
-
"src": "5406:21:
|
2476
|
+
"scope": 42125,
|
2477
|
+
"src": "5406:21:100",
|
2478
2478
|
"stateVariable": false,
|
2479
2479
|
"storageLocation": "memory",
|
2480
2480
|
"typeDescriptions": {
|
@@ -2482,10 +2482,10 @@
|
|
2482
2482
|
"typeString": "bytes"
|
2483
2483
|
},
|
2484
2484
|
"typeName": {
|
2485
|
-
"id":
|
2485
|
+
"id": 42101,
|
2486
2486
|
"name": "bytes",
|
2487
2487
|
"nodeType": "ElementaryTypeName",
|
2488
|
-
"src": "5406:5:
|
2488
|
+
"src": "5406:5:100",
|
2489
2489
|
"typeDescriptions": {
|
2490
2490
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2491
2491
|
"typeString": "bytes"
|
@@ -2494,21 +2494,21 @@
|
|
2494
2494
|
"visibility": "internal"
|
2495
2495
|
}
|
2496
2496
|
],
|
2497
|
-
"src": "5335:96:
|
2497
|
+
"src": "5335:96:100"
|
2498
2498
|
},
|
2499
2499
|
"returnParameters": {
|
2500
|
-
"id":
|
2500
|
+
"id": 42108,
|
2501
2501
|
"nodeType": "ParameterList",
|
2502
2502
|
"parameters": [
|
2503
2503
|
{
|
2504
2504
|
"constant": false,
|
2505
|
-
"id":
|
2505
|
+
"id": 42105,
|
2506
2506
|
"mutability": "mutable",
|
2507
2507
|
"name": "success",
|
2508
|
-
"nameLocation": "5455:7:
|
2508
|
+
"nameLocation": "5455:7:100",
|
2509
2509
|
"nodeType": "VariableDeclaration",
|
2510
|
-
"scope":
|
2511
|
-
"src": "5450:12:
|
2510
|
+
"scope": 42125,
|
2511
|
+
"src": "5450:12:100",
|
2512
2512
|
"stateVariable": false,
|
2513
2513
|
"storageLocation": "default",
|
2514
2514
|
"typeDescriptions": {
|
@@ -2516,10 +2516,10 @@
|
|
2516
2516
|
"typeString": "bool"
|
2517
2517
|
},
|
2518
2518
|
"typeName": {
|
2519
|
-
"id":
|
2519
|
+
"id": 42104,
|
2520
2520
|
"name": "bool",
|
2521
2521
|
"nodeType": "ElementaryTypeName",
|
2522
|
-
"src": "5450:4:
|
2522
|
+
"src": "5450:4:100",
|
2523
2523
|
"typeDescriptions": {
|
2524
2524
|
"typeIdentifier": "t_bool",
|
2525
2525
|
"typeString": "bool"
|
@@ -2529,13 +2529,13 @@
|
|
2529
2529
|
},
|
2530
2530
|
{
|
2531
2531
|
"constant": false,
|
2532
|
-
"id":
|
2532
|
+
"id": 42107,
|
2533
2533
|
"mutability": "mutable",
|
2534
2534
|
"name": "data",
|
2535
|
-
"nameLocation": "5477:4:
|
2535
|
+
"nameLocation": "5477:4:100",
|
2536
2536
|
"nodeType": "VariableDeclaration",
|
2537
|
-
"scope":
|
2538
|
-
"src": "5464:17:
|
2537
|
+
"scope": 42125,
|
2538
|
+
"src": "5464:17:100",
|
2539
2539
|
"stateVariable": false,
|
2540
2540
|
"storageLocation": "memory",
|
2541
2541
|
"typeDescriptions": {
|
@@ -2543,10 +2543,10 @@
|
|
2543
2543
|
"typeString": "bytes"
|
2544
2544
|
},
|
2545
2545
|
"typeName": {
|
2546
|
-
"id":
|
2546
|
+
"id": 42106,
|
2547
2547
|
"name": "bytes",
|
2548
2548
|
"nodeType": "ElementaryTypeName",
|
2549
|
-
"src": "5464:5:
|
2549
|
+
"src": "5464:5:100",
|
2550
2550
|
"typeDescriptions": {
|
2551
2551
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2552
2552
|
"typeString": "bytes"
|
@@ -2555,27 +2555,27 @@
|
|
2555
2555
|
"visibility": "internal"
|
2556
2556
|
}
|
2557
2557
|
],
|
2558
|
-
"src": "5449:33:
|
2558
|
+
"src": "5449:33:100"
|
2559
2559
|
},
|
2560
|
-
"scope":
|
2560
|
+
"scope": 42226,
|
2561
2561
|
"stateMutability": "nonpayable",
|
2562
2562
|
"virtual": false,
|
2563
2563
|
"visibility": "internal"
|
2564
2564
|
},
|
2565
2565
|
{
|
2566
|
-
"id":
|
2566
|
+
"id": 42155,
|
2567
2567
|
"nodeType": "FunctionDefinition",
|
2568
|
-
"src": "6132:321:
|
2568
|
+
"src": "6132:321:100",
|
2569
2569
|
"nodes": [],
|
2570
2570
|
"body": {
|
2571
|
-
"id":
|
2571
|
+
"id": 42154,
|
2572
2572
|
"nodeType": "Block",
|
2573
|
-
"src": "6312:141:
|
2573
|
+
"src": "6312:141:100",
|
2574
2574
|
"nodes": [],
|
2575
2575
|
"statements": [
|
2576
2576
|
{
|
2577
2577
|
"expression": {
|
2578
|
-
"id":
|
2578
|
+
"id": 42152,
|
2579
2579
|
"isConstant": false,
|
2580
2580
|
"isLValue": false,
|
2581
2581
|
"isPure": false,
|
@@ -2583,38 +2583,38 @@
|
|
2583
2583
|
"leftHandSide": {
|
2584
2584
|
"components": [
|
2585
2585
|
{
|
2586
|
-
"id":
|
2586
|
+
"id": 42141,
|
2587
2587
|
"name": "success",
|
2588
2588
|
"nodeType": "Identifier",
|
2589
2589
|
"overloadedDeclarations": [],
|
2590
|
-
"referencedDeclaration":
|
2591
|
-
"src": "6319:7:
|
2590
|
+
"referencedDeclaration": 42137,
|
2591
|
+
"src": "6319:7:100",
|
2592
2592
|
"typeDescriptions": {
|
2593
2593
|
"typeIdentifier": "t_bool",
|
2594
2594
|
"typeString": "bool"
|
2595
2595
|
}
|
2596
2596
|
},
|
2597
2597
|
{
|
2598
|
-
"id":
|
2598
|
+
"id": 42142,
|
2599
2599
|
"name": "data",
|
2600
2600
|
"nodeType": "Identifier",
|
2601
2601
|
"overloadedDeclarations": [],
|
2602
|
-
"referencedDeclaration":
|
2603
|
-
"src": "6328:4:
|
2602
|
+
"referencedDeclaration": 42139,
|
2603
|
+
"src": "6328:4:100",
|
2604
2604
|
"typeDescriptions": {
|
2605
2605
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2606
2606
|
"typeString": "bytes memory"
|
2607
2607
|
}
|
2608
2608
|
}
|
2609
2609
|
],
|
2610
|
-
"id":
|
2610
|
+
"id": 42143,
|
2611
2611
|
"isConstant": false,
|
2612
2612
|
"isInlineArray": false,
|
2613
2613
|
"isLValue": true,
|
2614
2614
|
"isPure": false,
|
2615
2615
|
"lValueRequested": true,
|
2616
2616
|
"nodeType": "TupleExpression",
|
2617
|
-
"src": "6318:15:
|
2617
|
+
"src": "6318:15:100",
|
2618
2618
|
"typeDescriptions": {
|
2619
2619
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2620
2620
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -2627,36 +2627,36 @@
|
|
2627
2627
|
{
|
2628
2628
|
"arguments": [
|
2629
2629
|
{
|
2630
|
-
"id":
|
2630
|
+
"id": 42147,
|
2631
2631
|
"name": "callData",
|
2632
2632
|
"nodeType": "Identifier",
|
2633
2633
|
"overloadedDeclarations": [],
|
2634
|
-
"referencedDeclaration":
|
2635
|
-
"src": "6389:8:
|
2634
|
+
"referencedDeclaration": 42134,
|
2635
|
+
"src": "6389:8:100",
|
2636
2636
|
"typeDescriptions": {
|
2637
2637
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2638
2638
|
"typeString": "bytes memory"
|
2639
2639
|
}
|
2640
2640
|
},
|
2641
2641
|
{
|
2642
|
-
"id":
|
2642
|
+
"id": 42148,
|
2643
2643
|
"name": "msgSender",
|
2644
2644
|
"nodeType": "Identifier",
|
2645
2645
|
"overloadedDeclarations": [],
|
2646
|
-
"referencedDeclaration":
|
2647
|
-
"src": "6410:9:
|
2646
|
+
"referencedDeclaration": 42128,
|
2647
|
+
"src": "6410:9:100",
|
2648
2648
|
"typeDescriptions": {
|
2649
2649
|
"typeIdentifier": "t_address",
|
2650
2650
|
"typeString": "address"
|
2651
2651
|
}
|
2652
2652
|
},
|
2653
2653
|
{
|
2654
|
-
"id":
|
2654
|
+
"id": 42149,
|
2655
2655
|
"name": "msgValue",
|
2656
2656
|
"nodeType": "Identifier",
|
2657
2657
|
"overloadedDeclarations": [],
|
2658
|
-
"referencedDeclaration":
|
2659
|
-
"src": "6431:8:
|
2658
|
+
"referencedDeclaration": 42130,
|
2659
|
+
"src": "6431:8:100",
|
2660
2660
|
"typeDescriptions": {
|
2661
2661
|
"typeIdentifier": "t_uint256",
|
2662
2662
|
"typeString": "uint256"
|
@@ -2678,27 +2678,27 @@
|
|
2678
2678
|
"typeString": "uint256"
|
2679
2679
|
}
|
2680
2680
|
],
|
2681
|
-
"id":
|
2681
|
+
"id": 42146,
|
2682
2682
|
"name": "appendContext",
|
2683
2683
|
"nodeType": "Identifier",
|
2684
2684
|
"overloadedDeclarations": [],
|
2685
|
-
"referencedDeclaration":
|
2686
|
-
"src": "6363:13:
|
2685
|
+
"referencedDeclaration": 42093,
|
2686
|
+
"src": "6363:13:100",
|
2687
2687
|
"typeDescriptions": {
|
2688
2688
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
2689
2689
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
2690
2690
|
}
|
2691
2691
|
},
|
2692
|
-
"id":
|
2692
|
+
"id": 42150,
|
2693
2693
|
"isConstant": false,
|
2694
2694
|
"isLValue": false,
|
2695
2695
|
"isPure": false,
|
2696
2696
|
"kind": "functionCall",
|
2697
2697
|
"lValueRequested": false,
|
2698
2698
|
"nameLocations": [
|
2699
|
-
"6379:8:
|
2700
|
-
"6399:9:
|
2701
|
-
"6421:8:
|
2699
|
+
"6379:8:100",
|
2700
|
+
"6399:9:100",
|
2701
|
+
"6421:8:100"
|
2702
2702
|
],
|
2703
2703
|
"names": [
|
2704
2704
|
"callData",
|
@@ -2706,7 +2706,7 @@
|
|
2706
2706
|
"msgValue"
|
2707
2707
|
],
|
2708
2708
|
"nodeType": "FunctionCall",
|
2709
|
-
"src": "6363:79:
|
2709
|
+
"src": "6363:79:100",
|
2710
2710
|
"tryCall": false,
|
2711
2711
|
"typeDescriptions": {
|
2712
2712
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2722,32 +2722,32 @@
|
|
2722
2722
|
}
|
2723
2723
|
],
|
2724
2724
|
"expression": {
|
2725
|
-
"id":
|
2725
|
+
"id": 42144,
|
2726
2726
|
"name": "target",
|
2727
2727
|
"nodeType": "Identifier",
|
2728
2728
|
"overloadedDeclarations": [],
|
2729
|
-
"referencedDeclaration":
|
2730
|
-
"src": "6336:6:
|
2729
|
+
"referencedDeclaration": 42132,
|
2730
|
+
"src": "6336:6:100",
|
2731
2731
|
"typeDescriptions": {
|
2732
2732
|
"typeIdentifier": "t_address",
|
2733
2733
|
"typeString": "address"
|
2734
2734
|
}
|
2735
2735
|
},
|
2736
|
-
"id":
|
2736
|
+
"id": 42145,
|
2737
2737
|
"isConstant": false,
|
2738
2738
|
"isLValue": false,
|
2739
2739
|
"isPure": false,
|
2740
2740
|
"lValueRequested": false,
|
2741
|
-
"memberLocation": "6343:12:
|
2741
|
+
"memberLocation": "6343:12:100",
|
2742
2742
|
"memberName": "delegatecall",
|
2743
2743
|
"nodeType": "MemberAccess",
|
2744
|
-
"src": "6336:19:
|
2744
|
+
"src": "6336:19:100",
|
2745
2745
|
"typeDescriptions": {
|
2746
2746
|
"typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2747
2747
|
"typeString": "function (bytes memory) returns (bool,bytes memory)"
|
2748
2748
|
}
|
2749
2749
|
},
|
2750
|
-
"id":
|
2750
|
+
"id": 42151,
|
2751
2751
|
"isConstant": false,
|
2752
2752
|
"isLValue": false,
|
2753
2753
|
"isPure": false,
|
@@ -2756,49 +2756,49 @@
|
|
2756
2756
|
"nameLocations": [],
|
2757
2757
|
"names": [],
|
2758
2758
|
"nodeType": "FunctionCall",
|
2759
|
-
"src": "6336:112:
|
2759
|
+
"src": "6336:112:100",
|
2760
2760
|
"tryCall": false,
|
2761
2761
|
"typeDescriptions": {
|
2762
2762
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2763
2763
|
"typeString": "tuple(bool,bytes memory)"
|
2764
2764
|
}
|
2765
2765
|
},
|
2766
|
-
"src": "6318:130:
|
2766
|
+
"src": "6318:130:100",
|
2767
2767
|
"typeDescriptions": {
|
2768
2768
|
"typeIdentifier": "t_tuple$__$",
|
2769
2769
|
"typeString": "tuple()"
|
2770
2770
|
}
|
2771
2771
|
},
|
2772
|
-
"id":
|
2772
|
+
"id": 42153,
|
2773
2773
|
"nodeType": "ExpressionStatement",
|
2774
|
-
"src": "6318:130:
|
2774
|
+
"src": "6318:130:100"
|
2775
2775
|
}
|
2776
2776
|
]
|
2777
2777
|
},
|
2778
2778
|
"documentation": {
|
2779
|
-
"id":
|
2779
|
+
"id": 42126,
|
2780
2780
|
"nodeType": "StructuredDocumentation",
|
2781
|
-
"src": "5632:497:
|
2781
|
+
"src": "5632:497:100",
|
2782
2782
|
"text": " @notice Makes a delegatecall to the target contract with context values appended to the calldata.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return success A boolean indicating whether the call was successful or not.\n @return data The abi encoded return data from the call."
|
2783
2783
|
},
|
2784
2784
|
"implemented": true,
|
2785
2785
|
"kind": "function",
|
2786
2786
|
"modifiers": [],
|
2787
2787
|
"name": "delegatecallWithContext",
|
2788
|
-
"nameLocation": "6141:23:
|
2788
|
+
"nameLocation": "6141:23:100",
|
2789
2789
|
"parameters": {
|
2790
|
-
"id":
|
2790
|
+
"id": 42135,
|
2791
2791
|
"nodeType": "ParameterList",
|
2792
2792
|
"parameters": [
|
2793
2793
|
{
|
2794
2794
|
"constant": false,
|
2795
|
-
"id":
|
2795
|
+
"id": 42128,
|
2796
2796
|
"mutability": "mutable",
|
2797
2797
|
"name": "msgSender",
|
2798
|
-
"nameLocation": "6178:9:
|
2798
|
+
"nameLocation": "6178:9:100",
|
2799
2799
|
"nodeType": "VariableDeclaration",
|
2800
|
-
"scope":
|
2801
|
-
"src": "6170:17:
|
2800
|
+
"scope": 42155,
|
2801
|
+
"src": "6170:17:100",
|
2802
2802
|
"stateVariable": false,
|
2803
2803
|
"storageLocation": "default",
|
2804
2804
|
"typeDescriptions": {
|
@@ -2806,10 +2806,10 @@
|
|
2806
2806
|
"typeString": "address"
|
2807
2807
|
},
|
2808
2808
|
"typeName": {
|
2809
|
-
"id":
|
2809
|
+
"id": 42127,
|
2810
2810
|
"name": "address",
|
2811
2811
|
"nodeType": "ElementaryTypeName",
|
2812
|
-
"src": "6170:7:
|
2812
|
+
"src": "6170:7:100",
|
2813
2813
|
"stateMutability": "nonpayable",
|
2814
2814
|
"typeDescriptions": {
|
2815
2815
|
"typeIdentifier": "t_address",
|
@@ -2820,13 +2820,13 @@
|
|
2820
2820
|
},
|
2821
2821
|
{
|
2822
2822
|
"constant": false,
|
2823
|
-
"id":
|
2823
|
+
"id": 42130,
|
2824
2824
|
"mutability": "mutable",
|
2825
2825
|
"name": "msgValue",
|
2826
|
-
"nameLocation": "6201:8:
|
2826
|
+
"nameLocation": "6201:8:100",
|
2827
2827
|
"nodeType": "VariableDeclaration",
|
2828
|
-
"scope":
|
2829
|
-
"src": "6193:16:
|
2828
|
+
"scope": 42155,
|
2829
|
+
"src": "6193:16:100",
|
2830
2830
|
"stateVariable": false,
|
2831
2831
|
"storageLocation": "default",
|
2832
2832
|
"typeDescriptions": {
|
@@ -2834,10 +2834,10 @@
|
|
2834
2834
|
"typeString": "uint256"
|
2835
2835
|
},
|
2836
2836
|
"typeName": {
|
2837
|
-
"id":
|
2837
|
+
"id": 42129,
|
2838
2838
|
"name": "uint256",
|
2839
2839
|
"nodeType": "ElementaryTypeName",
|
2840
|
-
"src": "6193:7:
|
2840
|
+
"src": "6193:7:100",
|
2841
2841
|
"typeDescriptions": {
|
2842
2842
|
"typeIdentifier": "t_uint256",
|
2843
2843
|
"typeString": "uint256"
|
@@ -2847,13 +2847,13 @@
|
|
2847
2847
|
},
|
2848
2848
|
{
|
2849
2849
|
"constant": false,
|
2850
|
-
"id":
|
2850
|
+
"id": 42132,
|
2851
2851
|
"mutability": "mutable",
|
2852
2852
|
"name": "target",
|
2853
|
-
"nameLocation": "6223:6:
|
2853
|
+
"nameLocation": "6223:6:100",
|
2854
2854
|
"nodeType": "VariableDeclaration",
|
2855
|
-
"scope":
|
2856
|
-
"src": "6215:14:
|
2855
|
+
"scope": 42155,
|
2856
|
+
"src": "6215:14:100",
|
2857
2857
|
"stateVariable": false,
|
2858
2858
|
"storageLocation": "default",
|
2859
2859
|
"typeDescriptions": {
|
@@ -2861,10 +2861,10 @@
|
|
2861
2861
|
"typeString": "address"
|
2862
2862
|
},
|
2863
2863
|
"typeName": {
|
2864
|
-
"id":
|
2864
|
+
"id": 42131,
|
2865
2865
|
"name": "address",
|
2866
2866
|
"nodeType": "ElementaryTypeName",
|
2867
|
-
"src": "6215:7:
|
2867
|
+
"src": "6215:7:100",
|
2868
2868
|
"stateMutability": "nonpayable",
|
2869
2869
|
"typeDescriptions": {
|
2870
2870
|
"typeIdentifier": "t_address",
|
@@ -2875,13 +2875,13 @@
|
|
2875
2875
|
},
|
2876
2876
|
{
|
2877
2877
|
"constant": false,
|
2878
|
-
"id":
|
2878
|
+
"id": 42134,
|
2879
2879
|
"mutability": "mutable",
|
2880
2880
|
"name": "callData",
|
2881
|
-
"nameLocation": "6248:8:
|
2881
|
+
"nameLocation": "6248:8:100",
|
2882
2882
|
"nodeType": "VariableDeclaration",
|
2883
|
-
"scope":
|
2884
|
-
"src": "6235:21:
|
2883
|
+
"scope": 42155,
|
2884
|
+
"src": "6235:21:100",
|
2885
2885
|
"stateVariable": false,
|
2886
2886
|
"storageLocation": "memory",
|
2887
2887
|
"typeDescriptions": {
|
@@ -2889,10 +2889,10 @@
|
|
2889
2889
|
"typeString": "bytes"
|
2890
2890
|
},
|
2891
2891
|
"typeName": {
|
2892
|
-
"id":
|
2892
|
+
"id": 42133,
|
2893
2893
|
"name": "bytes",
|
2894
2894
|
"nodeType": "ElementaryTypeName",
|
2895
|
-
"src": "6235:5:
|
2895
|
+
"src": "6235:5:100",
|
2896
2896
|
"typeDescriptions": {
|
2897
2897
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2898
2898
|
"typeString": "bytes"
|
@@ -2901,21 +2901,21 @@
|
|
2901
2901
|
"visibility": "internal"
|
2902
2902
|
}
|
2903
2903
|
],
|
2904
|
-
"src": "6164:96:
|
2904
|
+
"src": "6164:96:100"
|
2905
2905
|
},
|
2906
2906
|
"returnParameters": {
|
2907
|
-
"id":
|
2907
|
+
"id": 42140,
|
2908
2908
|
"nodeType": "ParameterList",
|
2909
2909
|
"parameters": [
|
2910
2910
|
{
|
2911
2911
|
"constant": false,
|
2912
|
-
"id":
|
2912
|
+
"id": 42137,
|
2913
2913
|
"mutability": "mutable",
|
2914
2914
|
"name": "success",
|
2915
|
-
"nameLocation": "6284:7:
|
2915
|
+
"nameLocation": "6284:7:100",
|
2916
2916
|
"nodeType": "VariableDeclaration",
|
2917
|
-
"scope":
|
2918
|
-
"src": "6279:12:
|
2917
|
+
"scope": 42155,
|
2918
|
+
"src": "6279:12:100",
|
2919
2919
|
"stateVariable": false,
|
2920
2920
|
"storageLocation": "default",
|
2921
2921
|
"typeDescriptions": {
|
@@ -2923,10 +2923,10 @@
|
|
2923
2923
|
"typeString": "bool"
|
2924
2924
|
},
|
2925
2925
|
"typeName": {
|
2926
|
-
"id":
|
2926
|
+
"id": 42136,
|
2927
2927
|
"name": "bool",
|
2928
2928
|
"nodeType": "ElementaryTypeName",
|
2929
|
-
"src": "6279:4:
|
2929
|
+
"src": "6279:4:100",
|
2930
2930
|
"typeDescriptions": {
|
2931
2931
|
"typeIdentifier": "t_bool",
|
2932
2932
|
"typeString": "bool"
|
@@ -2936,13 +2936,13 @@
|
|
2936
2936
|
},
|
2937
2937
|
{
|
2938
2938
|
"constant": false,
|
2939
|
-
"id":
|
2939
|
+
"id": 42139,
|
2940
2940
|
"mutability": "mutable",
|
2941
2941
|
"name": "data",
|
2942
|
-
"nameLocation": "6306:4:
|
2942
|
+
"nameLocation": "6306:4:100",
|
2943
2943
|
"nodeType": "VariableDeclaration",
|
2944
|
-
"scope":
|
2945
|
-
"src": "6293:17:
|
2944
|
+
"scope": 42155,
|
2945
|
+
"src": "6293:17:100",
|
2946
2946
|
"stateVariable": false,
|
2947
2947
|
"storageLocation": "memory",
|
2948
2948
|
"typeDescriptions": {
|
@@ -2950,10 +2950,10 @@
|
|
2950
2950
|
"typeString": "bytes"
|
2951
2951
|
},
|
2952
2952
|
"typeName": {
|
2953
|
-
"id":
|
2953
|
+
"id": 42138,
|
2954
2954
|
"name": "bytes",
|
2955
2955
|
"nodeType": "ElementaryTypeName",
|
2956
|
-
"src": "6293:5:
|
2956
|
+
"src": "6293:5:100",
|
2957
2957
|
"typeDescriptions": {
|
2958
2958
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2959
2959
|
"typeString": "bytes"
|
@@ -2962,39 +2962,39 @@
|
|
2962
2962
|
"visibility": "internal"
|
2963
2963
|
}
|
2964
2964
|
],
|
2965
|
-
"src": "6278:33:
|
2965
|
+
"src": "6278:33:100"
|
2966
2966
|
},
|
2967
|
-
"scope":
|
2967
|
+
"scope": 42226,
|
2968
2968
|
"stateMutability": "nonpayable",
|
2969
2969
|
"virtual": false,
|
2970
2970
|
"visibility": "internal"
|
2971
2971
|
},
|
2972
2972
|
{
|
2973
|
-
"id":
|
2973
|
+
"id": 42190,
|
2974
2974
|
"nodeType": "FunctionDefinition",
|
2975
|
-
"src": "6908:399:
|
2975
|
+
"src": "6908:399:100",
|
2976
2976
|
"nodes": [],
|
2977
2977
|
"body": {
|
2978
|
-
"id":
|
2978
|
+
"id": 42189,
|
2979
2979
|
"nodeType": "Block",
|
2980
|
-
"src": "7074:233:
|
2980
|
+
"src": "7074:233:100",
|
2981
2981
|
"nodes": [],
|
2982
2982
|
"statements": [
|
2983
2983
|
{
|
2984
2984
|
"assignments": [
|
2985
|
-
|
2986
|
-
|
2985
|
+
42170,
|
2986
|
+
42172
|
2987
2987
|
],
|
2988
2988
|
"declarations": [
|
2989
2989
|
{
|
2990
2990
|
"constant": false,
|
2991
|
-
"id":
|
2991
|
+
"id": 42170,
|
2992
2992
|
"mutability": "mutable",
|
2993
2993
|
"name": "success",
|
2994
|
-
"nameLocation": "7086:7:
|
2994
|
+
"nameLocation": "7086:7:100",
|
2995
2995
|
"nodeType": "VariableDeclaration",
|
2996
|
-
"scope":
|
2997
|
-
"src": "7081:12:
|
2996
|
+
"scope": 42189,
|
2997
|
+
"src": "7081:12:100",
|
2998
2998
|
"stateVariable": false,
|
2999
2999
|
"storageLocation": "default",
|
3000
3000
|
"typeDescriptions": {
|
@@ -3002,10 +3002,10 @@
|
|
3002
3002
|
"typeString": "bool"
|
3003
3003
|
},
|
3004
3004
|
"typeName": {
|
3005
|
-
"id":
|
3005
|
+
"id": 42169,
|
3006
3006
|
"name": "bool",
|
3007
3007
|
"nodeType": "ElementaryTypeName",
|
3008
|
-
"src": "7081:4:
|
3008
|
+
"src": "7081:4:100",
|
3009
3009
|
"typeDescriptions": {
|
3010
3010
|
"typeIdentifier": "t_bool",
|
3011
3011
|
"typeString": "bool"
|
@@ -3015,13 +3015,13 @@
|
|
3015
3015
|
},
|
3016
3016
|
{
|
3017
3017
|
"constant": false,
|
3018
|
-
"id":
|
3018
|
+
"id": 42172,
|
3019
3019
|
"mutability": "mutable",
|
3020
3020
|
"name": "_data",
|
3021
|
-
"nameLocation": "7108:5:
|
3021
|
+
"nameLocation": "7108:5:100",
|
3022
3022
|
"nodeType": "VariableDeclaration",
|
3023
|
-
"scope":
|
3024
|
-
"src": "7095:18:
|
3023
|
+
"scope": 42189,
|
3024
|
+
"src": "7095:18:100",
|
3025
3025
|
"stateVariable": false,
|
3026
3026
|
"storageLocation": "memory",
|
3027
3027
|
"typeDescriptions": {
|
@@ -3029,10 +3029,10 @@
|
|
3029
3029
|
"typeString": "bytes"
|
3030
3030
|
},
|
3031
3031
|
"typeName": {
|
3032
|
-
"id":
|
3032
|
+
"id": 42171,
|
3033
3033
|
"name": "bytes",
|
3034
3034
|
"nodeType": "ElementaryTypeName",
|
3035
|
-
"src": "7095:5:
|
3035
|
+
"src": "7095:5:100",
|
3036
3036
|
"typeDescriptions": {
|
3037
3037
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3038
3038
|
"typeString": "bytes"
|
@@ -3041,52 +3041,52 @@
|
|
3041
3041
|
"visibility": "internal"
|
3042
3042
|
}
|
3043
3043
|
],
|
3044
|
-
"id":
|
3044
|
+
"id": 42179,
|
3045
3045
|
"initialValue": {
|
3046
3046
|
"arguments": [
|
3047
3047
|
{
|
3048
|
-
"id":
|
3048
|
+
"id": 42174,
|
3049
3049
|
"name": "msgSender",
|
3050
3050
|
"nodeType": "Identifier",
|
3051
3051
|
"overloadedDeclarations": [],
|
3052
|
-
"referencedDeclaration":
|
3053
|
-
"src": "7152:9:
|
3052
|
+
"referencedDeclaration": 42158,
|
3053
|
+
"src": "7152:9:100",
|
3054
3054
|
"typeDescriptions": {
|
3055
3055
|
"typeIdentifier": "t_address",
|
3056
3056
|
"typeString": "address"
|
3057
3057
|
}
|
3058
3058
|
},
|
3059
3059
|
{
|
3060
|
-
"id":
|
3060
|
+
"id": 42175,
|
3061
3061
|
"name": "msgValue",
|
3062
3062
|
"nodeType": "Identifier",
|
3063
3063
|
"overloadedDeclarations": [],
|
3064
|
-
"referencedDeclaration":
|
3065
|
-
"src": "7179:8:
|
3064
|
+
"referencedDeclaration": 42160,
|
3065
|
+
"src": "7179:8:100",
|
3066
3066
|
"typeDescriptions": {
|
3067
3067
|
"typeIdentifier": "t_uint256",
|
3068
3068
|
"typeString": "uint256"
|
3069
3069
|
}
|
3070
3070
|
},
|
3071
3071
|
{
|
3072
|
-
"id":
|
3072
|
+
"id": 42176,
|
3073
3073
|
"name": "target",
|
3074
3074
|
"nodeType": "Identifier",
|
3075
3075
|
"overloadedDeclarations": [],
|
3076
|
-
"referencedDeclaration":
|
3077
|
-
"src": "7203:6:
|
3076
|
+
"referencedDeclaration": 42162,
|
3077
|
+
"src": "7203:6:100",
|
3078
3078
|
"typeDescriptions": {
|
3079
3079
|
"typeIdentifier": "t_address",
|
3080
3080
|
"typeString": "address"
|
3081
3081
|
}
|
3082
3082
|
},
|
3083
3083
|
{
|
3084
|
-
"id":
|
3084
|
+
"id": 42177,
|
3085
3085
|
"name": "callData",
|
3086
3086
|
"nodeType": "Identifier",
|
3087
3087
|
"overloadedDeclarations": [],
|
3088
|
-
"referencedDeclaration":
|
3089
|
-
"src": "7227:8:
|
3088
|
+
"referencedDeclaration": 42164,
|
3089
|
+
"src": "7227:8:100",
|
3090
3090
|
"typeDescriptions": {
|
3091
3091
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3092
3092
|
"typeString": "bytes memory"
|
@@ -3112,28 +3112,28 @@
|
|
3112
3112
|
"typeString": "bytes memory"
|
3113
3113
|
}
|
3114
3114
|
],
|
3115
|
-
"id":
|
3115
|
+
"id": 42173,
|
3116
3116
|
"name": "callWithContext",
|
3117
3117
|
"nodeType": "Identifier",
|
3118
3118
|
"overloadedDeclarations": [],
|
3119
|
-
"referencedDeclaration":
|
3120
|
-
"src": "7117:15:
|
3119
|
+
"referencedDeclaration": 42125,
|
3120
|
+
"src": "7117:15:100",
|
3121
3121
|
"typeDescriptions": {
|
3122
3122
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
3123
3123
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
3124
3124
|
}
|
3125
3125
|
},
|
3126
|
-
"id":
|
3126
|
+
"id": 42178,
|
3127
3127
|
"isConstant": false,
|
3128
3128
|
"isLValue": false,
|
3129
3129
|
"isPure": false,
|
3130
3130
|
"kind": "functionCall",
|
3131
3131
|
"lValueRequested": false,
|
3132
3132
|
"nameLocations": [
|
3133
|
-
"7141:9:
|
3134
|
-
"7169:8:
|
3135
|
-
"7195:6:
|
3136
|
-
"7217:8:
|
3133
|
+
"7141:9:100",
|
3134
|
+
"7169:8:100",
|
3135
|
+
"7195:6:100",
|
3136
|
+
"7217:8:100"
|
3137
3137
|
],
|
3138
3138
|
"names": [
|
3139
3139
|
"msgSender",
|
@@ -3142,7 +3142,7 @@
|
|
3142
3142
|
"callData"
|
3143
3143
|
],
|
3144
3144
|
"nodeType": "FunctionCall",
|
3145
|
-
"src": "7117:125:
|
3145
|
+
"src": "7117:125:100",
|
3146
3146
|
"tryCall": false,
|
3147
3147
|
"typeDescriptions": {
|
3148
3148
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -3150,11 +3150,11 @@
|
|
3150
3150
|
}
|
3151
3151
|
},
|
3152
3152
|
"nodeType": "VariableDeclarationStatement",
|
3153
|
-
"src": "7080:162:
|
3153
|
+
"src": "7080:162:100"
|
3154
3154
|
},
|
3155
3155
|
{
|
3156
3156
|
"condition": {
|
3157
|
-
"id":
|
3157
|
+
"id": 42181,
|
3158
3158
|
"isConstant": false,
|
3159
3159
|
"isLValue": false,
|
3160
3160
|
"isPure": false,
|
@@ -3162,14 +3162,14 @@
|
|
3162
3162
|
"nodeType": "UnaryOperation",
|
3163
3163
|
"operator": "!",
|
3164
3164
|
"prefix": true,
|
3165
|
-
"src": "7252:8:
|
3165
|
+
"src": "7252:8:100",
|
3166
3166
|
"subExpression": {
|
3167
|
-
"id":
|
3167
|
+
"id": 42180,
|
3168
3168
|
"name": "success",
|
3169
3169
|
"nodeType": "Identifier",
|
3170
3170
|
"overloadedDeclarations": [],
|
3171
|
-
"referencedDeclaration":
|
3172
|
-
"src": "7253:7:
|
3171
|
+
"referencedDeclaration": 42170,
|
3172
|
+
"src": "7253:7:100",
|
3173
3173
|
"typeDescriptions": {
|
3174
3174
|
"typeIdentifier": "t_bool",
|
3175
3175
|
"typeString": "bool"
|
@@ -3180,19 +3180,19 @@
|
|
3180
3180
|
"typeString": "bool"
|
3181
3181
|
}
|
3182
3182
|
},
|
3183
|
-
"id":
|
3183
|
+
"id": 42186,
|
3184
3184
|
"nodeType": "IfStatement",
|
3185
|
-
"src": "7248:36:
|
3185
|
+
"src": "7248:36:100",
|
3186
3186
|
"trueBody": {
|
3187
3187
|
"expression": {
|
3188
3188
|
"arguments": [
|
3189
3189
|
{
|
3190
|
-
"id":
|
3190
|
+
"id": 42183,
|
3191
3191
|
"name": "_data",
|
3192
3192
|
"nodeType": "Identifier",
|
3193
3193
|
"overloadedDeclarations": [],
|
3194
|
-
"referencedDeclaration":
|
3195
|
-
"src": "7278:5:
|
3194
|
+
"referencedDeclaration": 42172,
|
3195
|
+
"src": "7278:5:100",
|
3196
3196
|
"typeDescriptions": {
|
3197
3197
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3198
3198
|
"typeString": "bytes memory"
|
@@ -3206,18 +3206,18 @@
|
|
3206
3206
|
"typeString": "bytes memory"
|
3207
3207
|
}
|
3208
3208
|
],
|
3209
|
-
"id":
|
3209
|
+
"id": 42182,
|
3210
3210
|
"name": "revertWithBytes",
|
3211
3211
|
"nodeType": "Identifier",
|
3212
3212
|
"overloadedDeclarations": [],
|
3213
|
-
"referencedDeclaration":
|
3214
|
-
"src": "7262:15:
|
3213
|
+
"referencedDeclaration": 49007,
|
3214
|
+
"src": "7262:15:100",
|
3215
3215
|
"typeDescriptions": {
|
3216
3216
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
3217
3217
|
"typeString": "function (bytes memory) pure"
|
3218
3218
|
}
|
3219
3219
|
},
|
3220
|
-
"id":
|
3220
|
+
"id": 42184,
|
3221
3221
|
"isConstant": false,
|
3222
3222
|
"isLValue": false,
|
3223
3223
|
"isPure": false,
|
@@ -3226,62 +3226,62 @@
|
|
3226
3226
|
"nameLocations": [],
|
3227
3227
|
"names": [],
|
3228
3228
|
"nodeType": "FunctionCall",
|
3229
|
-
"src": "7262:22:
|
3229
|
+
"src": "7262:22:100",
|
3230
3230
|
"tryCall": false,
|
3231
3231
|
"typeDescriptions": {
|
3232
3232
|
"typeIdentifier": "t_tuple$__$",
|
3233
3233
|
"typeString": "tuple()"
|
3234
3234
|
}
|
3235
3235
|
},
|
3236
|
-
"id":
|
3236
|
+
"id": 42185,
|
3237
3237
|
"nodeType": "ExpressionStatement",
|
3238
|
-
"src": "7262:22:
|
3238
|
+
"src": "7262:22:100"
|
3239
3239
|
}
|
3240
3240
|
},
|
3241
3241
|
{
|
3242
3242
|
"expression": {
|
3243
|
-
"id":
|
3243
|
+
"id": 42187,
|
3244
3244
|
"name": "_data",
|
3245
3245
|
"nodeType": "Identifier",
|
3246
3246
|
"overloadedDeclarations": [],
|
3247
|
-
"referencedDeclaration":
|
3248
|
-
"src": "7297:5:
|
3247
|
+
"referencedDeclaration": 42172,
|
3248
|
+
"src": "7297:5:100",
|
3249
3249
|
"typeDescriptions": {
|
3250
3250
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3251
3251
|
"typeString": "bytes memory"
|
3252
3252
|
}
|
3253
3253
|
},
|
3254
|
-
"functionReturnParameters":
|
3255
|
-
"id":
|
3254
|
+
"functionReturnParameters": 42168,
|
3255
|
+
"id": 42188,
|
3256
3256
|
"nodeType": "Return",
|
3257
|
-
"src": "7290:12:
|
3257
|
+
"src": "7290:12:100"
|
3258
3258
|
}
|
3259
3259
|
]
|
3260
3260
|
},
|
3261
3261
|
"documentation": {
|
3262
|
-
"id":
|
3262
|
+
"id": 42156,
|
3263
3263
|
"nodeType": "StructuredDocumentation",
|
3264
|
-
"src": "6457:448:
|
3264
|
+
"src": "6457:448:100",
|
3265
3265
|
"text": " @notice Makes a call to the target contract with context values appended to the calldata.\n @dev Revert in the case of failure.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return data The abi encoded return data from the call."
|
3266
3266
|
},
|
3267
3267
|
"implemented": true,
|
3268
3268
|
"kind": "function",
|
3269
3269
|
"modifiers": [],
|
3270
3270
|
"name": "callWithContextOrRevert",
|
3271
|
-
"nameLocation": "6917:23:
|
3271
|
+
"nameLocation": "6917:23:100",
|
3272
3272
|
"parameters": {
|
3273
|
-
"id":
|
3273
|
+
"id": 42165,
|
3274
3274
|
"nodeType": "ParameterList",
|
3275
3275
|
"parameters": [
|
3276
3276
|
{
|
3277
3277
|
"constant": false,
|
3278
|
-
"id":
|
3278
|
+
"id": 42158,
|
3279
3279
|
"mutability": "mutable",
|
3280
3280
|
"name": "msgSender",
|
3281
|
-
"nameLocation": "6954:9:
|
3281
|
+
"nameLocation": "6954:9:100",
|
3282
3282
|
"nodeType": "VariableDeclaration",
|
3283
|
-
"scope":
|
3284
|
-
"src": "6946:17:
|
3283
|
+
"scope": 42190,
|
3284
|
+
"src": "6946:17:100",
|
3285
3285
|
"stateVariable": false,
|
3286
3286
|
"storageLocation": "default",
|
3287
3287
|
"typeDescriptions": {
|
@@ -3289,10 +3289,10 @@
|
|
3289
3289
|
"typeString": "address"
|
3290
3290
|
},
|
3291
3291
|
"typeName": {
|
3292
|
-
"id":
|
3292
|
+
"id": 42157,
|
3293
3293
|
"name": "address",
|
3294
3294
|
"nodeType": "ElementaryTypeName",
|
3295
|
-
"src": "6946:7:
|
3295
|
+
"src": "6946:7:100",
|
3296
3296
|
"stateMutability": "nonpayable",
|
3297
3297
|
"typeDescriptions": {
|
3298
3298
|
"typeIdentifier": "t_address",
|
@@ -3303,13 +3303,13 @@
|
|
3303
3303
|
},
|
3304
3304
|
{
|
3305
3305
|
"constant": false,
|
3306
|
-
"id":
|
3306
|
+
"id": 42160,
|
3307
3307
|
"mutability": "mutable",
|
3308
3308
|
"name": "msgValue",
|
3309
|
-
"nameLocation": "6977:8:
|
3309
|
+
"nameLocation": "6977:8:100",
|
3310
3310
|
"nodeType": "VariableDeclaration",
|
3311
|
-
"scope":
|
3312
|
-
"src": "6969:16:
|
3311
|
+
"scope": 42190,
|
3312
|
+
"src": "6969:16:100",
|
3313
3313
|
"stateVariable": false,
|
3314
3314
|
"storageLocation": "default",
|
3315
3315
|
"typeDescriptions": {
|
@@ -3317,10 +3317,10 @@
|
|
3317
3317
|
"typeString": "uint256"
|
3318
3318
|
},
|
3319
3319
|
"typeName": {
|
3320
|
-
"id":
|
3320
|
+
"id": 42159,
|
3321
3321
|
"name": "uint256",
|
3322
3322
|
"nodeType": "ElementaryTypeName",
|
3323
|
-
"src": "6969:7:
|
3323
|
+
"src": "6969:7:100",
|
3324
3324
|
"typeDescriptions": {
|
3325
3325
|
"typeIdentifier": "t_uint256",
|
3326
3326
|
"typeString": "uint256"
|
@@ -3330,13 +3330,13 @@
|
|
3330
3330
|
},
|
3331
3331
|
{
|
3332
3332
|
"constant": false,
|
3333
|
-
"id":
|
3333
|
+
"id": 42162,
|
3334
3334
|
"mutability": "mutable",
|
3335
3335
|
"name": "target",
|
3336
|
-
"nameLocation": "6999:6:
|
3336
|
+
"nameLocation": "6999:6:100",
|
3337
3337
|
"nodeType": "VariableDeclaration",
|
3338
|
-
"scope":
|
3339
|
-
"src": "6991:14:
|
3338
|
+
"scope": 42190,
|
3339
|
+
"src": "6991:14:100",
|
3340
3340
|
"stateVariable": false,
|
3341
3341
|
"storageLocation": "default",
|
3342
3342
|
"typeDescriptions": {
|
@@ -3344,10 +3344,10 @@
|
|
3344
3344
|
"typeString": "address"
|
3345
3345
|
},
|
3346
3346
|
"typeName": {
|
3347
|
-
"id":
|
3347
|
+
"id": 42161,
|
3348
3348
|
"name": "address",
|
3349
3349
|
"nodeType": "ElementaryTypeName",
|
3350
|
-
"src": "6991:7:
|
3350
|
+
"src": "6991:7:100",
|
3351
3351
|
"stateMutability": "nonpayable",
|
3352
3352
|
"typeDescriptions": {
|
3353
3353
|
"typeIdentifier": "t_address",
|
@@ -3358,13 +3358,13 @@
|
|
3358
3358
|
},
|
3359
3359
|
{
|
3360
3360
|
"constant": false,
|
3361
|
-
"id":
|
3361
|
+
"id": 42164,
|
3362
3362
|
"mutability": "mutable",
|
3363
3363
|
"name": "callData",
|
3364
|
-
"nameLocation": "7024:8:
|
3364
|
+
"nameLocation": "7024:8:100",
|
3365
3365
|
"nodeType": "VariableDeclaration",
|
3366
|
-
"scope":
|
3367
|
-
"src": "7011:21:
|
3366
|
+
"scope": 42190,
|
3367
|
+
"src": "7011:21:100",
|
3368
3368
|
"stateVariable": false,
|
3369
3369
|
"storageLocation": "memory",
|
3370
3370
|
"typeDescriptions": {
|
@@ -3372,10 +3372,10 @@
|
|
3372
3372
|
"typeString": "bytes"
|
3373
3373
|
},
|
3374
3374
|
"typeName": {
|
3375
|
-
"id":
|
3375
|
+
"id": 42163,
|
3376
3376
|
"name": "bytes",
|
3377
3377
|
"nodeType": "ElementaryTypeName",
|
3378
|
-
"src": "7011:5:
|
3378
|
+
"src": "7011:5:100",
|
3379
3379
|
"typeDescriptions": {
|
3380
3380
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3381
3381
|
"typeString": "bytes"
|
@@ -3384,21 +3384,21 @@
|
|
3384
3384
|
"visibility": "internal"
|
3385
3385
|
}
|
3386
3386
|
],
|
3387
|
-
"src": "6940:96:
|
3387
|
+
"src": "6940:96:100"
|
3388
3388
|
},
|
3389
3389
|
"returnParameters": {
|
3390
|
-
"id":
|
3390
|
+
"id": 42168,
|
3391
3391
|
"nodeType": "ParameterList",
|
3392
3392
|
"parameters": [
|
3393
3393
|
{
|
3394
3394
|
"constant": false,
|
3395
|
-
"id":
|
3395
|
+
"id": 42167,
|
3396
3396
|
"mutability": "mutable",
|
3397
3397
|
"name": "data",
|
3398
|
-
"nameLocation": "7068:4:
|
3398
|
+
"nameLocation": "7068:4:100",
|
3399
3399
|
"nodeType": "VariableDeclaration",
|
3400
|
-
"scope":
|
3401
|
-
"src": "7055:17:
|
3400
|
+
"scope": 42190,
|
3401
|
+
"src": "7055:17:100",
|
3402
3402
|
"stateVariable": false,
|
3403
3403
|
"storageLocation": "memory",
|
3404
3404
|
"typeDescriptions": {
|
@@ -3406,10 +3406,10 @@
|
|
3406
3406
|
"typeString": "bytes"
|
3407
3407
|
},
|
3408
3408
|
"typeName": {
|
3409
|
-
"id":
|
3409
|
+
"id": 42166,
|
3410
3410
|
"name": "bytes",
|
3411
3411
|
"nodeType": "ElementaryTypeName",
|
3412
|
-
"src": "7055:5:
|
3412
|
+
"src": "7055:5:100",
|
3413
3413
|
"typeDescriptions": {
|
3414
3414
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3415
3415
|
"typeString": "bytes"
|
@@ -3418,39 +3418,39 @@
|
|
3418
3418
|
"visibility": "internal"
|
3419
3419
|
}
|
3420
3420
|
],
|
3421
|
-
"src": "7054:19:
|
3421
|
+
"src": "7054:19:100"
|
3422
3422
|
},
|
3423
|
-
"scope":
|
3423
|
+
"scope": 42226,
|
3424
3424
|
"stateMutability": "nonpayable",
|
3425
3425
|
"virtual": false,
|
3426
3426
|
"visibility": "internal"
|
3427
3427
|
},
|
3428
3428
|
{
|
3429
|
-
"id":
|
3429
|
+
"id": 42225,
|
3430
3430
|
"nodeType": "FunctionDefinition",
|
3431
|
-
"src": "7770:415:
|
3431
|
+
"src": "7770:415:100",
|
3432
3432
|
"nodes": [],
|
3433
3433
|
"body": {
|
3434
|
-
"id":
|
3434
|
+
"id": 42224,
|
3435
3435
|
"nodeType": "Block",
|
3436
|
-
"src": "7944:241:
|
3436
|
+
"src": "7944:241:100",
|
3437
3437
|
"nodes": [],
|
3438
3438
|
"statements": [
|
3439
3439
|
{
|
3440
3440
|
"assignments": [
|
3441
|
-
|
3442
|
-
|
3441
|
+
42205,
|
3442
|
+
42207
|
3443
3443
|
],
|
3444
3444
|
"declarations": [
|
3445
3445
|
{
|
3446
3446
|
"constant": false,
|
3447
|
-
"id":
|
3447
|
+
"id": 42205,
|
3448
3448
|
"mutability": "mutable",
|
3449
3449
|
"name": "success",
|
3450
|
-
"nameLocation": "7956:7:
|
3450
|
+
"nameLocation": "7956:7:100",
|
3451
3451
|
"nodeType": "VariableDeclaration",
|
3452
|
-
"scope":
|
3453
|
-
"src": "7951:12:
|
3452
|
+
"scope": 42224,
|
3453
|
+
"src": "7951:12:100",
|
3454
3454
|
"stateVariable": false,
|
3455
3455
|
"storageLocation": "default",
|
3456
3456
|
"typeDescriptions": {
|
@@ -3458,10 +3458,10 @@
|
|
3458
3458
|
"typeString": "bool"
|
3459
3459
|
},
|
3460
3460
|
"typeName": {
|
3461
|
-
"id":
|
3461
|
+
"id": 42204,
|
3462
3462
|
"name": "bool",
|
3463
3463
|
"nodeType": "ElementaryTypeName",
|
3464
|
-
"src": "7951:4:
|
3464
|
+
"src": "7951:4:100",
|
3465
3465
|
"typeDescriptions": {
|
3466
3466
|
"typeIdentifier": "t_bool",
|
3467
3467
|
"typeString": "bool"
|
@@ -3471,13 +3471,13 @@
|
|
3471
3471
|
},
|
3472
3472
|
{
|
3473
3473
|
"constant": false,
|
3474
|
-
"id":
|
3474
|
+
"id": 42207,
|
3475
3475
|
"mutability": "mutable",
|
3476
3476
|
"name": "_data",
|
3477
|
-
"nameLocation": "7978:5:
|
3477
|
+
"nameLocation": "7978:5:100",
|
3478
3478
|
"nodeType": "VariableDeclaration",
|
3479
|
-
"scope":
|
3480
|
-
"src": "7965:18:
|
3479
|
+
"scope": 42224,
|
3480
|
+
"src": "7965:18:100",
|
3481
3481
|
"stateVariable": false,
|
3482
3482
|
"storageLocation": "memory",
|
3483
3483
|
"typeDescriptions": {
|
@@ -3485,10 +3485,10 @@
|
|
3485
3485
|
"typeString": "bytes"
|
3486
3486
|
},
|
3487
3487
|
"typeName": {
|
3488
|
-
"id":
|
3488
|
+
"id": 42206,
|
3489
3489
|
"name": "bytes",
|
3490
3490
|
"nodeType": "ElementaryTypeName",
|
3491
|
-
"src": "7965:5:
|
3491
|
+
"src": "7965:5:100",
|
3492
3492
|
"typeDescriptions": {
|
3493
3493
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3494
3494
|
"typeString": "bytes"
|
@@ -3497,52 +3497,52 @@
|
|
3497
3497
|
"visibility": "internal"
|
3498
3498
|
}
|
3499
3499
|
],
|
3500
|
-
"id":
|
3500
|
+
"id": 42214,
|
3501
3501
|
"initialValue": {
|
3502
3502
|
"arguments": [
|
3503
3503
|
{
|
3504
|
-
"id":
|
3504
|
+
"id": 42209,
|
3505
3505
|
"name": "msgSender",
|
3506
3506
|
"nodeType": "Identifier",
|
3507
3507
|
"overloadedDeclarations": [],
|
3508
|
-
"referencedDeclaration":
|
3509
|
-
"src": "8030:9:
|
3508
|
+
"referencedDeclaration": 42193,
|
3509
|
+
"src": "8030:9:100",
|
3510
3510
|
"typeDescriptions": {
|
3511
3511
|
"typeIdentifier": "t_address",
|
3512
3512
|
"typeString": "address"
|
3513
3513
|
}
|
3514
3514
|
},
|
3515
3515
|
{
|
3516
|
-
"id":
|
3516
|
+
"id": 42210,
|
3517
3517
|
"name": "msgValue",
|
3518
3518
|
"nodeType": "Identifier",
|
3519
3519
|
"overloadedDeclarations": [],
|
3520
|
-
"referencedDeclaration":
|
3521
|
-
"src": "8057:8:
|
3520
|
+
"referencedDeclaration": 42195,
|
3521
|
+
"src": "8057:8:100",
|
3522
3522
|
"typeDescriptions": {
|
3523
3523
|
"typeIdentifier": "t_uint256",
|
3524
3524
|
"typeString": "uint256"
|
3525
3525
|
}
|
3526
3526
|
},
|
3527
3527
|
{
|
3528
|
-
"id":
|
3528
|
+
"id": 42211,
|
3529
3529
|
"name": "target",
|
3530
3530
|
"nodeType": "Identifier",
|
3531
3531
|
"overloadedDeclarations": [],
|
3532
|
-
"referencedDeclaration":
|
3533
|
-
"src": "8081:6:
|
3532
|
+
"referencedDeclaration": 42197,
|
3533
|
+
"src": "8081:6:100",
|
3534
3534
|
"typeDescriptions": {
|
3535
3535
|
"typeIdentifier": "t_address",
|
3536
3536
|
"typeString": "address"
|
3537
3537
|
}
|
3538
3538
|
},
|
3539
3539
|
{
|
3540
|
-
"id":
|
3540
|
+
"id": 42212,
|
3541
3541
|
"name": "callData",
|
3542
3542
|
"nodeType": "Identifier",
|
3543
3543
|
"overloadedDeclarations": [],
|
3544
|
-
"referencedDeclaration":
|
3545
|
-
"src": "8105:8:
|
3544
|
+
"referencedDeclaration": 42199,
|
3545
|
+
"src": "8105:8:100",
|
3546
3546
|
"typeDescriptions": {
|
3547
3547
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3548
3548
|
"typeString": "bytes memory"
|
@@ -3568,28 +3568,28 @@
|
|
3568
3568
|
"typeString": "bytes memory"
|
3569
3569
|
}
|
3570
3570
|
],
|
3571
|
-
"id":
|
3571
|
+
"id": 42208,
|
3572
3572
|
"name": "delegatecallWithContext",
|
3573
3573
|
"nodeType": "Identifier",
|
3574
3574
|
"overloadedDeclarations": [],
|
3575
|
-
"referencedDeclaration":
|
3576
|
-
"src": "7987:23:
|
3575
|
+
"referencedDeclaration": 42155,
|
3576
|
+
"src": "7987:23:100",
|
3577
3577
|
"typeDescriptions": {
|
3578
3578
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
3579
3579
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
3580
3580
|
}
|
3581
3581
|
},
|
3582
|
-
"id":
|
3582
|
+
"id": 42213,
|
3583
3583
|
"isConstant": false,
|
3584
3584
|
"isLValue": false,
|
3585
3585
|
"isPure": false,
|
3586
3586
|
"kind": "functionCall",
|
3587
3587
|
"lValueRequested": false,
|
3588
3588
|
"nameLocations": [
|
3589
|
-
"8019:9:
|
3590
|
-
"8047:8:
|
3591
|
-
"8073:6:
|
3592
|
-
"8095:8:
|
3589
|
+
"8019:9:100",
|
3590
|
+
"8047:8:100",
|
3591
|
+
"8073:6:100",
|
3592
|
+
"8095:8:100"
|
3593
3593
|
],
|
3594
3594
|
"names": [
|
3595
3595
|
"msgSender",
|
@@ -3598,7 +3598,7 @@
|
|
3598
3598
|
"callData"
|
3599
3599
|
],
|
3600
3600
|
"nodeType": "FunctionCall",
|
3601
|
-
"src": "7987:133:
|
3601
|
+
"src": "7987:133:100",
|
3602
3602
|
"tryCall": false,
|
3603
3603
|
"typeDescriptions": {
|
3604
3604
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -3606,11 +3606,11 @@
|
|
3606
3606
|
}
|
3607
3607
|
},
|
3608
3608
|
"nodeType": "VariableDeclarationStatement",
|
3609
|
-
"src": "7950:170:
|
3609
|
+
"src": "7950:170:100"
|
3610
3610
|
},
|
3611
3611
|
{
|
3612
3612
|
"condition": {
|
3613
|
-
"id":
|
3613
|
+
"id": 42216,
|
3614
3614
|
"isConstant": false,
|
3615
3615
|
"isLValue": false,
|
3616
3616
|
"isPure": false,
|
@@ -3618,14 +3618,14 @@
|
|
3618
3618
|
"nodeType": "UnaryOperation",
|
3619
3619
|
"operator": "!",
|
3620
3620
|
"prefix": true,
|
3621
|
-
"src": "8130:8:
|
3621
|
+
"src": "8130:8:100",
|
3622
3622
|
"subExpression": {
|
3623
|
-
"id":
|
3623
|
+
"id": 42215,
|
3624
3624
|
"name": "success",
|
3625
3625
|
"nodeType": "Identifier",
|
3626
3626
|
"overloadedDeclarations": [],
|
3627
|
-
"referencedDeclaration":
|
3628
|
-
"src": "8131:7:
|
3627
|
+
"referencedDeclaration": 42205,
|
3628
|
+
"src": "8131:7:100",
|
3629
3629
|
"typeDescriptions": {
|
3630
3630
|
"typeIdentifier": "t_bool",
|
3631
3631
|
"typeString": "bool"
|
@@ -3636,19 +3636,19 @@
|
|
3636
3636
|
"typeString": "bool"
|
3637
3637
|
}
|
3638
3638
|
},
|
3639
|
-
"id":
|
3639
|
+
"id": 42221,
|
3640
3640
|
"nodeType": "IfStatement",
|
3641
|
-
"src": "8126:36:
|
3641
|
+
"src": "8126:36:100",
|
3642
3642
|
"trueBody": {
|
3643
3643
|
"expression": {
|
3644
3644
|
"arguments": [
|
3645
3645
|
{
|
3646
|
-
"id":
|
3646
|
+
"id": 42218,
|
3647
3647
|
"name": "_data",
|
3648
3648
|
"nodeType": "Identifier",
|
3649
3649
|
"overloadedDeclarations": [],
|
3650
|
-
"referencedDeclaration":
|
3651
|
-
"src": "8156:5:
|
3650
|
+
"referencedDeclaration": 42207,
|
3651
|
+
"src": "8156:5:100",
|
3652
3652
|
"typeDescriptions": {
|
3653
3653
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3654
3654
|
"typeString": "bytes memory"
|
@@ -3662,18 +3662,18 @@
|
|
3662
3662
|
"typeString": "bytes memory"
|
3663
3663
|
}
|
3664
3664
|
],
|
3665
|
-
"id":
|
3665
|
+
"id": 42217,
|
3666
3666
|
"name": "revertWithBytes",
|
3667
3667
|
"nodeType": "Identifier",
|
3668
3668
|
"overloadedDeclarations": [],
|
3669
|
-
"referencedDeclaration":
|
3670
|
-
"src": "8140:15:
|
3669
|
+
"referencedDeclaration": 49007,
|
3670
|
+
"src": "8140:15:100",
|
3671
3671
|
"typeDescriptions": {
|
3672
3672
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
3673
3673
|
"typeString": "function (bytes memory) pure"
|
3674
3674
|
}
|
3675
3675
|
},
|
3676
|
-
"id":
|
3676
|
+
"id": 42219,
|
3677
3677
|
"isConstant": false,
|
3678
3678
|
"isLValue": false,
|
3679
3679
|
"isPure": false,
|
@@ -3682,62 +3682,62 @@
|
|
3682
3682
|
"nameLocations": [],
|
3683
3683
|
"names": [],
|
3684
3684
|
"nodeType": "FunctionCall",
|
3685
|
-
"src": "8140:22:
|
3685
|
+
"src": "8140:22:100",
|
3686
3686
|
"tryCall": false,
|
3687
3687
|
"typeDescriptions": {
|
3688
3688
|
"typeIdentifier": "t_tuple$__$",
|
3689
3689
|
"typeString": "tuple()"
|
3690
3690
|
}
|
3691
3691
|
},
|
3692
|
-
"id":
|
3692
|
+
"id": 42220,
|
3693
3693
|
"nodeType": "ExpressionStatement",
|
3694
|
-
"src": "8140:22:
|
3694
|
+
"src": "8140:22:100"
|
3695
3695
|
}
|
3696
3696
|
},
|
3697
3697
|
{
|
3698
3698
|
"expression": {
|
3699
|
-
"id":
|
3699
|
+
"id": 42222,
|
3700
3700
|
"name": "_data",
|
3701
3701
|
"nodeType": "Identifier",
|
3702
3702
|
"overloadedDeclarations": [],
|
3703
|
-
"referencedDeclaration":
|
3704
|
-
"src": "8175:5:
|
3703
|
+
"referencedDeclaration": 42207,
|
3704
|
+
"src": "8175:5:100",
|
3705
3705
|
"typeDescriptions": {
|
3706
3706
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3707
3707
|
"typeString": "bytes memory"
|
3708
3708
|
}
|
3709
3709
|
},
|
3710
|
-
"functionReturnParameters":
|
3711
|
-
"id":
|
3710
|
+
"functionReturnParameters": 42203,
|
3711
|
+
"id": 42223,
|
3712
3712
|
"nodeType": "Return",
|
3713
|
-
"src": "8168:12:
|
3713
|
+
"src": "8168:12:100"
|
3714
3714
|
}
|
3715
3715
|
]
|
3716
3716
|
},
|
3717
3717
|
"documentation": {
|
3718
|
-
"id":
|
3718
|
+
"id": 42191,
|
3719
3719
|
"nodeType": "StructuredDocumentation",
|
3720
|
-
"src": "7311:456:
|
3720
|
+
"src": "7311:456:100",
|
3721
3721
|
"text": " @notice Makes a delegatecall to the target contract with context values appended to the calldata.\n @dev Revert in the case of failure.\n @param msgSender The address of the transaction sender.\n @param msgValue The amount of ether sent with the original transaction.\n @param target The address of the contract to call.\n @param callData The calldata for the call.\n @return data The abi encoded return data from the call."
|
3722
3722
|
},
|
3723
3723
|
"implemented": true,
|
3724
3724
|
"kind": "function",
|
3725
3725
|
"modifiers": [],
|
3726
3726
|
"name": "delegatecallWithContextOrRevert",
|
3727
|
-
"nameLocation": "7779:31:
|
3727
|
+
"nameLocation": "7779:31:100",
|
3728
3728
|
"parameters": {
|
3729
|
-
"id":
|
3729
|
+
"id": 42200,
|
3730
3730
|
"nodeType": "ParameterList",
|
3731
3731
|
"parameters": [
|
3732
3732
|
{
|
3733
3733
|
"constant": false,
|
3734
|
-
"id":
|
3734
|
+
"id": 42193,
|
3735
3735
|
"mutability": "mutable",
|
3736
3736
|
"name": "msgSender",
|
3737
|
-
"nameLocation": "7824:9:
|
3737
|
+
"nameLocation": "7824:9:100",
|
3738
3738
|
"nodeType": "VariableDeclaration",
|
3739
|
-
"scope":
|
3740
|
-
"src": "7816:17:
|
3739
|
+
"scope": 42225,
|
3740
|
+
"src": "7816:17:100",
|
3741
3741
|
"stateVariable": false,
|
3742
3742
|
"storageLocation": "default",
|
3743
3743
|
"typeDescriptions": {
|
@@ -3745,10 +3745,10 @@
|
|
3745
3745
|
"typeString": "address"
|
3746
3746
|
},
|
3747
3747
|
"typeName": {
|
3748
|
-
"id":
|
3748
|
+
"id": 42192,
|
3749
3749
|
"name": "address",
|
3750
3750
|
"nodeType": "ElementaryTypeName",
|
3751
|
-
"src": "7816:7:
|
3751
|
+
"src": "7816:7:100",
|
3752
3752
|
"stateMutability": "nonpayable",
|
3753
3753
|
"typeDescriptions": {
|
3754
3754
|
"typeIdentifier": "t_address",
|
@@ -3759,13 +3759,13 @@
|
|
3759
3759
|
},
|
3760
3760
|
{
|
3761
3761
|
"constant": false,
|
3762
|
-
"id":
|
3762
|
+
"id": 42195,
|
3763
3763
|
"mutability": "mutable",
|
3764
3764
|
"name": "msgValue",
|
3765
|
-
"nameLocation": "7847:8:
|
3765
|
+
"nameLocation": "7847:8:100",
|
3766
3766
|
"nodeType": "VariableDeclaration",
|
3767
|
-
"scope":
|
3768
|
-
"src": "7839:16:
|
3767
|
+
"scope": 42225,
|
3768
|
+
"src": "7839:16:100",
|
3769
3769
|
"stateVariable": false,
|
3770
3770
|
"storageLocation": "default",
|
3771
3771
|
"typeDescriptions": {
|
@@ -3773,10 +3773,10 @@
|
|
3773
3773
|
"typeString": "uint256"
|
3774
3774
|
},
|
3775
3775
|
"typeName": {
|
3776
|
-
"id":
|
3776
|
+
"id": 42194,
|
3777
3777
|
"name": "uint256",
|
3778
3778
|
"nodeType": "ElementaryTypeName",
|
3779
|
-
"src": "7839:7:
|
3779
|
+
"src": "7839:7:100",
|
3780
3780
|
"typeDescriptions": {
|
3781
3781
|
"typeIdentifier": "t_uint256",
|
3782
3782
|
"typeString": "uint256"
|
@@ -3786,13 +3786,13 @@
|
|
3786
3786
|
},
|
3787
3787
|
{
|
3788
3788
|
"constant": false,
|
3789
|
-
"id":
|
3789
|
+
"id": 42197,
|
3790
3790
|
"mutability": "mutable",
|
3791
3791
|
"name": "target",
|
3792
|
-
"nameLocation": "7869:6:
|
3792
|
+
"nameLocation": "7869:6:100",
|
3793
3793
|
"nodeType": "VariableDeclaration",
|
3794
|
-
"scope":
|
3795
|
-
"src": "7861:14:
|
3794
|
+
"scope": 42225,
|
3795
|
+
"src": "7861:14:100",
|
3796
3796
|
"stateVariable": false,
|
3797
3797
|
"storageLocation": "default",
|
3798
3798
|
"typeDescriptions": {
|
@@ -3800,10 +3800,10 @@
|
|
3800
3800
|
"typeString": "address"
|
3801
3801
|
},
|
3802
3802
|
"typeName": {
|
3803
|
-
"id":
|
3803
|
+
"id": 42196,
|
3804
3804
|
"name": "address",
|
3805
3805
|
"nodeType": "ElementaryTypeName",
|
3806
|
-
"src": "7861:7:
|
3806
|
+
"src": "7861:7:100",
|
3807
3807
|
"stateMutability": "nonpayable",
|
3808
3808
|
"typeDescriptions": {
|
3809
3809
|
"typeIdentifier": "t_address",
|
@@ -3814,13 +3814,13 @@
|
|
3814
3814
|
},
|
3815
3815
|
{
|
3816
3816
|
"constant": false,
|
3817
|
-
"id":
|
3817
|
+
"id": 42199,
|
3818
3818
|
"mutability": "mutable",
|
3819
3819
|
"name": "callData",
|
3820
|
-
"nameLocation": "7894:8:
|
3820
|
+
"nameLocation": "7894:8:100",
|
3821
3821
|
"nodeType": "VariableDeclaration",
|
3822
|
-
"scope":
|
3823
|
-
"src": "7881:21:
|
3822
|
+
"scope": 42225,
|
3823
|
+
"src": "7881:21:100",
|
3824
3824
|
"stateVariable": false,
|
3825
3825
|
"storageLocation": "memory",
|
3826
3826
|
"typeDescriptions": {
|
@@ -3828,10 +3828,10 @@
|
|
3828
3828
|
"typeString": "bytes"
|
3829
3829
|
},
|
3830
3830
|
"typeName": {
|
3831
|
-
"id":
|
3831
|
+
"id": 42198,
|
3832
3832
|
"name": "bytes",
|
3833
3833
|
"nodeType": "ElementaryTypeName",
|
3834
|
-
"src": "7881:5:
|
3834
|
+
"src": "7881:5:100",
|
3835
3835
|
"typeDescriptions": {
|
3836
3836
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3837
3837
|
"typeString": "bytes"
|
@@ -3840,21 +3840,21 @@
|
|
3840
3840
|
"visibility": "internal"
|
3841
3841
|
}
|
3842
3842
|
],
|
3843
|
-
"src": "7810:96:
|
3843
|
+
"src": "7810:96:100"
|
3844
3844
|
},
|
3845
3845
|
"returnParameters": {
|
3846
|
-
"id":
|
3846
|
+
"id": 42203,
|
3847
3847
|
"nodeType": "ParameterList",
|
3848
3848
|
"parameters": [
|
3849
3849
|
{
|
3850
3850
|
"constant": false,
|
3851
|
-
"id":
|
3851
|
+
"id": 42202,
|
3852
3852
|
"mutability": "mutable",
|
3853
3853
|
"name": "data",
|
3854
|
-
"nameLocation": "7938:4:
|
3854
|
+
"nameLocation": "7938:4:100",
|
3855
3855
|
"nodeType": "VariableDeclaration",
|
3856
|
-
"scope":
|
3857
|
-
"src": "7925:17:
|
3856
|
+
"scope": 42225,
|
3857
|
+
"src": "7925:17:100",
|
3858
3858
|
"stateVariable": false,
|
3859
3859
|
"storageLocation": "memory",
|
3860
3860
|
"typeDescriptions": {
|
@@ -3862,10 +3862,10 @@
|
|
3862
3862
|
"typeString": "bytes"
|
3863
3863
|
},
|
3864
3864
|
"typeName": {
|
3865
|
-
"id":
|
3865
|
+
"id": 42201,
|
3866
3866
|
"name": "bytes",
|
3867
3867
|
"nodeType": "ElementaryTypeName",
|
3868
|
-
"src": "7925:5:
|
3868
|
+
"src": "7925:5:100",
|
3869
3869
|
"typeDescriptions": {
|
3870
3870
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3871
3871
|
"typeString": "bytes"
|
@@ -3874,9 +3874,9 @@
|
|
3874
3874
|
"visibility": "internal"
|
3875
3875
|
}
|
3876
3876
|
],
|
3877
|
-
"src": "7924:19:
|
3877
|
+
"src": "7924:19:100"
|
3878
3878
|
},
|
3879
|
-
"scope":
|
3879
|
+
"scope": 42226,
|
3880
3880
|
"stateMutability": "nonpayable",
|
3881
3881
|
"virtual": false,
|
3882
3882
|
"visibility": "internal"
|
@@ -3888,23 +3888,23 @@
|
|
3888
3888
|
"contractDependencies": [],
|
3889
3889
|
"contractKind": "library",
|
3890
3890
|
"documentation": {
|
3891
|
-
"id":
|
3891
|
+
"id": 42073,
|
3892
3892
|
"nodeType": "StructuredDocumentation",
|
3893
|
-
"src": "3932:332:
|
3893
|
+
"src": "3932:332:100",
|
3894
3894
|
"text": " @title WorldContextProviderLib - Utility functions to call contracts with context values appended to calldata.\n @notice This library provides functions to make calls or delegatecalls to other contracts,\n appending the context values (like msg.sender and msg.value) to the calldata for WorldContextConsumer to consume."
|
3895
3895
|
},
|
3896
3896
|
"fullyImplemented": true,
|
3897
3897
|
"linearizedBaseContracts": [
|
3898
|
-
|
3898
|
+
42226
|
3899
3899
|
],
|
3900
3900
|
"name": "WorldContextProviderLib",
|
3901
|
-
"nameLocation": "4273:23:
|
3902
|
-
"scope":
|
3901
|
+
"nameLocation": "4273:23:100",
|
3902
|
+
"scope": 42227,
|
3903
3903
|
"usedErrors": [],
|
3904
3904
|
"usedEvents": []
|
3905
3905
|
}
|
3906
3906
|
],
|
3907
3907
|
"license": "MIT"
|
3908
3908
|
},
|
3909
|
-
"id":
|
3909
|
+
"id": 100
|
3910
3910
|
}
|