@latticexyz/world-modules 2.0.0-main-c714e5d1 → 2.0.0-main-94d7f1ee
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 +350 -350
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +135 -135
- 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 +14 -14
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +81 -81
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
- package/out/ISystemHook.sol/ISystemHook.json +12 -12
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +10 -10
- package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +39 -39
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +838 -838
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1557 -1557
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +650 -650
- 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 +448 -448
- 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 +183 -183
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +482 -482
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
- 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 +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +194 -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 +171 -171
- 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 +258 -258
- package/out/src/IWorldKernel.sol/IWorldKernel.json +258 -258
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +258 -258
- 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 +809 -809
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +809 -809
- 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
@@ -518,43 +518,43 @@
|
|
518
518
|
},
|
519
519
|
"ast": {
|
520
520
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldContext.sol",
|
521
|
-
"id":
|
521
|
+
"id": 42209,
|
522
522
|
"exportedSymbols": {
|
523
523
|
"CONTEXT_BYTES": [
|
524
|
-
|
524
|
+
41960
|
525
525
|
],
|
526
526
|
"ERC165_INTERFACE_ID": [
|
527
|
-
|
527
|
+
75587
|
528
528
|
],
|
529
529
|
"IWorldContextConsumer": [
|
530
|
-
|
530
|
+
75640
|
531
531
|
],
|
532
532
|
"StoreSwitch": [
|
533
|
-
|
533
|
+
33808
|
534
534
|
],
|
535
535
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
536
|
-
|
536
|
+
75618
|
537
537
|
],
|
538
538
|
"WorldContextConsumer": [
|
539
|
-
|
539
|
+
42014
|
540
540
|
],
|
541
541
|
"WorldContextConsumerLib": [
|
542
|
-
|
542
|
+
42054
|
543
543
|
],
|
544
544
|
"WorldContextProviderLib": [
|
545
|
-
|
545
|
+
42208
|
546
546
|
],
|
547
547
|
"revertWithBytes": [
|
548
|
-
|
548
|
+
48971
|
549
549
|
]
|
550
550
|
},
|
551
551
|
"nodeType": "SourceUnit",
|
552
|
-
"src": "32:8156:
|
552
|
+
"src": "32:8156:100",
|
553
553
|
"nodes": [
|
554
554
|
{
|
555
|
-
"id":
|
555
|
+
"id": 41946,
|
556
556
|
"nodeType": "PragmaDirective",
|
557
|
-
"src": "32:25:
|
557
|
+
"src": "32:25:100",
|
558
558
|
"nodes": [],
|
559
559
|
"literals": [
|
560
560
|
"solidity",
|
@@ -564,24 +564,24 @@
|
|
564
564
|
]
|
565
565
|
},
|
566
566
|
{
|
567
|
-
"id":
|
567
|
+
"id": 41948,
|
568
568
|
"nodeType": "ImportDirective",
|
569
|
-
"src": "59:68:
|
569
|
+
"src": "59:68:100",
|
570
570
|
"nodes": [],
|
571
571
|
"absolutePath": "node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
572
572
|
"file": "@latticexyz/store/src/StoreSwitch.sol",
|
573
573
|
"nameLocation": "-1:-1:-1",
|
574
|
-
"scope":
|
575
|
-
"sourceUnit":
|
574
|
+
"scope": 42209,
|
575
|
+
"sourceUnit": 33809,
|
576
576
|
"symbolAliases": [
|
577
577
|
{
|
578
578
|
"foreign": {
|
579
|
-
"id":
|
579
|
+
"id": 41947,
|
580
580
|
"name": "StoreSwitch",
|
581
581
|
"nodeType": "Identifier",
|
582
582
|
"overloadedDeclarations": [],
|
583
|
-
"referencedDeclaration":
|
584
|
-
"src": "68:11:
|
583
|
+
"referencedDeclaration": 33808,
|
584
|
+
"src": "68:11:100",
|
585
585
|
"typeDescriptions": {}
|
586
586
|
},
|
587
587
|
"nameLocation": "-1:-1:-1"
|
@@ -590,24 +590,24 @@
|
|
590
590
|
"unitAlias": ""
|
591
591
|
},
|
592
592
|
{
|
593
|
-
"id":
|
593
|
+
"id": 41950,
|
594
594
|
"nodeType": "ImportDirective",
|
595
|
-
"src": "128:56:
|
595
|
+
"src": "128:56:100",
|
596
596
|
"nodes": [],
|
597
597
|
"absolutePath": "node_modules/@latticexyz/world/src/revertWithBytes.sol",
|
598
598
|
"file": "./revertWithBytes.sol",
|
599
599
|
"nameLocation": "-1:-1:-1",
|
600
|
-
"scope":
|
601
|
-
"sourceUnit":
|
600
|
+
"scope": 42209,
|
601
|
+
"sourceUnit": 48972,
|
602
602
|
"symbolAliases": [
|
603
603
|
{
|
604
604
|
"foreign": {
|
605
|
-
"id":
|
605
|
+
"id": 41949,
|
606
606
|
"name": "revertWithBytes",
|
607
607
|
"nodeType": "Identifier",
|
608
608
|
"overloadedDeclarations": [],
|
609
|
-
"referencedDeclaration":
|
610
|
-
"src": "137:15:
|
609
|
+
"referencedDeclaration": 48971,
|
610
|
+
"src": "137:15:100",
|
611
611
|
"typeDescriptions": {}
|
612
612
|
},
|
613
613
|
"nameLocation": "-1:-1:-1"
|
@@ -616,24 +616,24 @@
|
|
616
616
|
"unitAlias": ""
|
617
617
|
},
|
618
618
|
{
|
619
|
-
"id":
|
619
|
+
"id": 41952,
|
620
620
|
"nodeType": "ImportDirective",
|
621
|
-
"src": "185:52:
|
621
|
+
"src": "185:52:100",
|
622
622
|
"nodes": [],
|
623
623
|
"absolutePath": "node_modules/@latticexyz/world/src/IERC165.sol",
|
624
624
|
"file": "./IERC165.sol",
|
625
625
|
"nameLocation": "-1:-1:-1",
|
626
|
-
"scope":
|
627
|
-
"sourceUnit":
|
626
|
+
"scope": 42209,
|
627
|
+
"sourceUnit": 75598,
|
628
628
|
"symbolAliases": [
|
629
629
|
{
|
630
630
|
"foreign": {
|
631
|
-
"id":
|
631
|
+
"id": 41951,
|
632
632
|
"name": "ERC165_INTERFACE_ID",
|
633
633
|
"nodeType": "Identifier",
|
634
634
|
"overloadedDeclarations": [],
|
635
|
-
"referencedDeclaration":
|
636
|
-
"src": "194:19:
|
635
|
+
"referencedDeclaration": 75587,
|
636
|
+
"src": "194:19:100",
|
637
637
|
"typeDescriptions": {}
|
638
638
|
},
|
639
639
|
"nameLocation": "-1:-1:-1"
|
@@ -642,36 +642,36 @@
|
|
642
642
|
"unitAlias": ""
|
643
643
|
},
|
644
644
|
{
|
645
|
-
"id":
|
645
|
+
"id": 41955,
|
646
646
|
"nodeType": "ImportDirective",
|
647
|
-
"src": "238:105:
|
647
|
+
"src": "238:105:100",
|
648
648
|
"nodes": [],
|
649
649
|
"absolutePath": "node_modules/@latticexyz/world/src/IWorldContextConsumer.sol",
|
650
650
|
"file": "./IWorldContextConsumer.sol",
|
651
651
|
"nameLocation": "-1:-1:-1",
|
652
|
-
"scope":
|
653
|
-
"sourceUnit":
|
652
|
+
"scope": 42209,
|
653
|
+
"sourceUnit": 75641,
|
654
654
|
"symbolAliases": [
|
655
655
|
{
|
656
656
|
"foreign": {
|
657
|
-
"id":
|
657
|
+
"id": 41953,
|
658
658
|
"name": "IWorldContextConsumer",
|
659
659
|
"nodeType": "Identifier",
|
660
660
|
"overloadedDeclarations": [],
|
661
|
-
"referencedDeclaration":
|
662
|
-
"src": "247:21:
|
661
|
+
"referencedDeclaration": 75640,
|
662
|
+
"src": "247:21:100",
|
663
663
|
"typeDescriptions": {}
|
664
664
|
},
|
665
665
|
"nameLocation": "-1:-1:-1"
|
666
666
|
},
|
667
667
|
{
|
668
668
|
"foreign": {
|
669
|
-
"id":
|
669
|
+
"id": 41954,
|
670
670
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
671
671
|
"nodeType": "Identifier",
|
672
672
|
"overloadedDeclarations": [],
|
673
|
-
"referencedDeclaration":
|
674
|
-
"src": "270:35:
|
673
|
+
"referencedDeclaration": 75618,
|
674
|
+
"src": "270:35:100",
|
675
675
|
"typeDescriptions": {}
|
676
676
|
},
|
677
677
|
"nameLocation": "-1:-1:-1"
|
@@ -680,15 +680,15 @@
|
|
680
680
|
"unitAlias": ""
|
681
681
|
},
|
682
682
|
{
|
683
|
-
"id":
|
683
|
+
"id": 41960,
|
684
684
|
"nodeType": "VariableDeclaration",
|
685
|
-
"src": "420:40:
|
685
|
+
"src": "420:40:100",
|
686
686
|
"nodes": [],
|
687
687
|
"constant": true,
|
688
688
|
"mutability": "constant",
|
689
689
|
"name": "CONTEXT_BYTES",
|
690
|
-
"nameLocation": "437:13:
|
691
|
-
"scope":
|
690
|
+
"nameLocation": "437:13:100",
|
691
|
+
"scope": 42209,
|
692
692
|
"stateVariable": false,
|
693
693
|
"storageLocation": "default",
|
694
694
|
"typeDescriptions": {
|
@@ -696,10 +696,10 @@
|
|
696
696
|
"typeString": "uint256"
|
697
697
|
},
|
698
698
|
"typeName": {
|
699
|
-
"id":
|
699
|
+
"id": 41956,
|
700
700
|
"name": "uint256",
|
701
701
|
"nodeType": "ElementaryTypeName",
|
702
|
-
"src": "420:7:
|
702
|
+
"src": "420:7:100",
|
703
703
|
"typeDescriptions": {
|
704
704
|
"typeIdentifier": "t_uint256",
|
705
705
|
"typeString": "uint256"
|
@@ -710,21 +710,21 @@
|
|
710
710
|
"typeIdentifier": "t_rational_52_by_1",
|
711
711
|
"typeString": "int_const 52"
|
712
712
|
},
|
713
|
-
"id":
|
713
|
+
"id": 41959,
|
714
714
|
"isConstant": false,
|
715
715
|
"isLValue": false,
|
716
716
|
"isPure": true,
|
717
717
|
"lValueRequested": false,
|
718
718
|
"leftExpression": {
|
719
719
|
"hexValue": "3230",
|
720
|
-
"id":
|
720
|
+
"id": 41957,
|
721
721
|
"isConstant": false,
|
722
722
|
"isLValue": false,
|
723
723
|
"isPure": true,
|
724
724
|
"kind": "number",
|
725
725
|
"lValueRequested": false,
|
726
726
|
"nodeType": "Literal",
|
727
|
-
"src": "453:2:
|
727
|
+
"src": "453:2:100",
|
728
728
|
"typeDescriptions": {
|
729
729
|
"typeIdentifier": "t_rational_20_by_1",
|
730
730
|
"typeString": "int_const 20"
|
@@ -735,21 +735,21 @@
|
|
735
735
|
"operator": "+",
|
736
736
|
"rightExpression": {
|
737
737
|
"hexValue": "3332",
|
738
|
-
"id":
|
738
|
+
"id": 41958,
|
739
739
|
"isConstant": false,
|
740
740
|
"isLValue": false,
|
741
741
|
"isPure": true,
|
742
742
|
"kind": "number",
|
743
743
|
"lValueRequested": false,
|
744
744
|
"nodeType": "Literal",
|
745
|
-
"src": "458:2:
|
745
|
+
"src": "458:2:100",
|
746
746
|
"typeDescriptions": {
|
747
747
|
"typeIdentifier": "t_rational_32_by_1",
|
748
748
|
"typeString": "int_const 32"
|
749
749
|
},
|
750
750
|
"value": "32"
|
751
751
|
},
|
752
|
-
"src": "453:7:
|
752
|
+
"src": "453:7:100",
|
753
753
|
"typeDescriptions": {
|
754
754
|
"typeIdentifier": "t_rational_52_by_1",
|
755
755
|
"typeString": "int_const 52"
|
@@ -758,19 +758,19 @@
|
|
758
758
|
"visibility": "internal"
|
759
759
|
},
|
760
760
|
{
|
761
|
-
"id":
|
761
|
+
"id": 42014,
|
762
762
|
"nodeType": "ContractDefinition",
|
763
|
-
"src": "937:1564:
|
763
|
+
"src": "937:1564:100",
|
764
764
|
"nodes": [
|
765
765
|
{
|
766
|
-
"id":
|
766
|
+
"id": 41974,
|
767
767
|
"nodeType": "FunctionDefinition",
|
768
|
-
"src": "1245:113:
|
768
|
+
"src": "1245:113:100",
|
769
769
|
"nodes": [],
|
770
770
|
"body": {
|
771
|
-
"id":
|
771
|
+
"id": 41973,
|
772
772
|
"nodeType": "Block",
|
773
|
-
"src": "1304:54:
|
773
|
+
"src": "1304:54:100",
|
774
774
|
"nodes": [],
|
775
775
|
"statements": [
|
776
776
|
{
|
@@ -779,33 +779,33 @@
|
|
779
779
|
"expression": {
|
780
780
|
"argumentTypes": [],
|
781
781
|
"expression": {
|
782
|
-
"id":
|
782
|
+
"id": 41969,
|
783
783
|
"name": "WorldContextConsumerLib",
|
784
784
|
"nodeType": "Identifier",
|
785
785
|
"overloadedDeclarations": [],
|
786
|
-
"referencedDeclaration":
|
787
|
-
"src": "1317:23:
|
786
|
+
"referencedDeclaration": 42054,
|
787
|
+
"src": "1317:23:100",
|
788
788
|
"typeDescriptions": {
|
789
|
-
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$
|
789
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$42054_$",
|
790
790
|
"typeString": "type(library WorldContextConsumerLib)"
|
791
791
|
}
|
792
792
|
},
|
793
|
-
"id":
|
793
|
+
"id": 41970,
|
794
794
|
"isConstant": false,
|
795
795
|
"isLValue": false,
|
796
796
|
"isPure": false,
|
797
797
|
"lValueRequested": false,
|
798
|
-
"memberLocation": "1341:10:
|
798
|
+
"memberLocation": "1341:10:100",
|
799
799
|
"memberName": "_msgSender",
|
800
800
|
"nodeType": "MemberAccess",
|
801
|
-
"referencedDeclaration":
|
802
|
-
"src": "1317:34:
|
801
|
+
"referencedDeclaration": 42034,
|
802
|
+
"src": "1317:34:100",
|
803
803
|
"typeDescriptions": {
|
804
804
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
805
805
|
"typeString": "function () view returns (address)"
|
806
806
|
}
|
807
807
|
},
|
808
|
-
"id":
|
808
|
+
"id": 41971,
|
809
809
|
"isConstant": false,
|
810
810
|
"isLValue": false,
|
811
811
|
"isPure": false,
|
@@ -814,27 +814,27 @@
|
|
814
814
|
"nameLocations": [],
|
815
815
|
"names": [],
|
816
816
|
"nodeType": "FunctionCall",
|
817
|
-
"src": "1317:36:
|
817
|
+
"src": "1317:36:100",
|
818
818
|
"tryCall": false,
|
819
819
|
"typeDescriptions": {
|
820
820
|
"typeIdentifier": "t_address",
|
821
821
|
"typeString": "address"
|
822
822
|
}
|
823
823
|
},
|
824
|
-
"functionReturnParameters":
|
825
|
-
"id":
|
824
|
+
"functionReturnParameters": 41968,
|
825
|
+
"id": 41972,
|
826
826
|
"nodeType": "Return",
|
827
|
-
"src": "1310:43:
|
827
|
+
"src": "1310:43:100"
|
828
828
|
}
|
829
829
|
]
|
830
830
|
},
|
831
831
|
"baseFunctions": [
|
832
|
-
|
832
|
+
75627
|
833
833
|
],
|
834
834
|
"documentation": {
|
835
|
-
"id":
|
835
|
+
"id": 41964,
|
836
836
|
"nodeType": "StructuredDocumentation",
|
837
|
-
"src": "1005:237:
|
837
|
+
"src": "1005:237:100",
|
838
838
|
"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."
|
839
839
|
},
|
840
840
|
"functionSelector": "119df25f",
|
@@ -842,26 +842,26 @@
|
|
842
842
|
"kind": "function",
|
843
843
|
"modifiers": [],
|
844
844
|
"name": "_msgSender",
|
845
|
-
"nameLocation": "1254:10:
|
845
|
+
"nameLocation": "1254:10:100",
|
846
846
|
"parameters": {
|
847
|
-
"id":
|
847
|
+
"id": 41965,
|
848
848
|
"nodeType": "ParameterList",
|
849
849
|
"parameters": [],
|
850
|
-
"src": "1264:2:
|
850
|
+
"src": "1264:2:100"
|
851
851
|
},
|
852
852
|
"returnParameters": {
|
853
|
-
"id":
|
853
|
+
"id": 41968,
|
854
854
|
"nodeType": "ParameterList",
|
855
855
|
"parameters": [
|
856
856
|
{
|
857
857
|
"constant": false,
|
858
|
-
"id":
|
858
|
+
"id": 41967,
|
859
859
|
"mutability": "mutable",
|
860
860
|
"name": "sender",
|
861
|
-
"nameLocation": "1296:6:
|
861
|
+
"nameLocation": "1296:6:100",
|
862
862
|
"nodeType": "VariableDeclaration",
|
863
|
-
"scope":
|
864
|
-
"src": "1288:14:
|
863
|
+
"scope": 41974,
|
864
|
+
"src": "1288:14:100",
|
865
865
|
"stateVariable": false,
|
866
866
|
"storageLocation": "default",
|
867
867
|
"typeDescriptions": {
|
@@ -869,10 +869,10 @@
|
|
869
869
|
"typeString": "address"
|
870
870
|
},
|
871
871
|
"typeName": {
|
872
|
-
"id":
|
872
|
+
"id": 41966,
|
873
873
|
"name": "address",
|
874
874
|
"nodeType": "ElementaryTypeName",
|
875
|
-
"src": "1288:7:
|
875
|
+
"src": "1288:7:100",
|
876
876
|
"stateMutability": "nonpayable",
|
877
877
|
"typeDescriptions": {
|
878
878
|
"typeIdentifier": "t_address",
|
@@ -882,22 +882,22 @@
|
|
882
882
|
"visibility": "internal"
|
883
883
|
}
|
884
884
|
],
|
885
|
-
"src": "1287:16:
|
885
|
+
"src": "1287:16:100"
|
886
886
|
},
|
887
|
-
"scope":
|
887
|
+
"scope": 42014,
|
888
888
|
"stateMutability": "view",
|
889
889
|
"virtual": false,
|
890
890
|
"visibility": "public"
|
891
891
|
},
|
892
892
|
{
|
893
|
-
"id":
|
893
|
+
"id": 41985,
|
894
894
|
"nodeType": "FunctionDefinition",
|
895
|
-
"src": "1599:110:
|
895
|
+
"src": "1599:110:100",
|
896
896
|
"nodes": [],
|
897
897
|
"body": {
|
898
|
-
"id":
|
898
|
+
"id": 41984,
|
899
899
|
"nodeType": "Block",
|
900
|
-
"src": "1656:53:
|
900
|
+
"src": "1656:53:100",
|
901
901
|
"nodes": [],
|
902
902
|
"statements": [
|
903
903
|
{
|
@@ -906,33 +906,33 @@
|
|
906
906
|
"expression": {
|
907
907
|
"argumentTypes": [],
|
908
908
|
"expression": {
|
909
|
-
"id":
|
909
|
+
"id": 41980,
|
910
910
|
"name": "WorldContextConsumerLib",
|
911
911
|
"nodeType": "Identifier",
|
912
912
|
"overloadedDeclarations": [],
|
913
|
-
"referencedDeclaration":
|
914
|
-
"src": "1669:23:
|
913
|
+
"referencedDeclaration": 42054,
|
914
|
+
"src": "1669:23:100",
|
915
915
|
"typeDescriptions": {
|
916
|
-
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$
|
916
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$42054_$",
|
917
917
|
"typeString": "type(library WorldContextConsumerLib)"
|
918
918
|
}
|
919
919
|
},
|
920
|
-
"id":
|
920
|
+
"id": 41981,
|
921
921
|
"isConstant": false,
|
922
922
|
"isLValue": false,
|
923
923
|
"isPure": false,
|
924
924
|
"lValueRequested": false,
|
925
|
-
"memberLocation": "1693:9:
|
925
|
+
"memberLocation": "1693:9:100",
|
926
926
|
"memberName": "_msgValue",
|
927
927
|
"nodeType": "MemberAccess",
|
928
|
-
"referencedDeclaration":
|
929
|
-
"src": "1669:33:
|
928
|
+
"referencedDeclaration": 42042,
|
929
|
+
"src": "1669:33:100",
|
930
930
|
"typeDescriptions": {
|
931
931
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_uint256_$",
|
932
932
|
"typeString": "function () pure returns (uint256)"
|
933
933
|
}
|
934
934
|
},
|
935
|
-
"id":
|
935
|
+
"id": 41982,
|
936
936
|
"isConstant": false,
|
937
937
|
"isLValue": false,
|
938
938
|
"isPure": false,
|
@@ -941,27 +941,27 @@
|
|
941
941
|
"nameLocations": [],
|
942
942
|
"names": [],
|
943
943
|
"nodeType": "FunctionCall",
|
944
|
-
"src": "1669:35:
|
944
|
+
"src": "1669:35:100",
|
945
945
|
"tryCall": false,
|
946
946
|
"typeDescriptions": {
|
947
947
|
"typeIdentifier": "t_uint256",
|
948
948
|
"typeString": "uint256"
|
949
949
|
}
|
950
950
|
},
|
951
|
-
"functionReturnParameters":
|
952
|
-
"id":
|
951
|
+
"functionReturnParameters": 41979,
|
952
|
+
"id": 41983,
|
953
953
|
"nodeType": "Return",
|
954
|
-
"src": "1662:42:
|
954
|
+
"src": "1662:42:100"
|
955
955
|
}
|
956
956
|
]
|
957
957
|
},
|
958
958
|
"baseFunctions": [
|
959
|
-
|
959
|
+
75633
|
960
960
|
],
|
961
961
|
"documentation": {
|
962
|
-
"id":
|
962
|
+
"id": 41975,
|
963
963
|
"nodeType": "StructuredDocumentation",
|
964
|
-
"src": "1362:234:
|
964
|
+
"src": "1362:234:100",
|
965
965
|
"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."
|
966
966
|
},
|
967
967
|
"functionSelector": "45ec9354",
|
@@ -969,26 +969,26 @@
|
|
969
969
|
"kind": "function",
|
970
970
|
"modifiers": [],
|
971
971
|
"name": "_msgValue",
|
972
|
-
"nameLocation": "1608:9:
|
972
|
+
"nameLocation": "1608:9:100",
|
973
973
|
"parameters": {
|
974
|
-
"id":
|
974
|
+
"id": 41976,
|
975
975
|
"nodeType": "ParameterList",
|
976
976
|
"parameters": [],
|
977
|
-
"src": "1617:2:
|
977
|
+
"src": "1617:2:100"
|
978
978
|
},
|
979
979
|
"returnParameters": {
|
980
|
-
"id":
|
980
|
+
"id": 41979,
|
981
981
|
"nodeType": "ParameterList",
|
982
982
|
"parameters": [
|
983
983
|
{
|
984
984
|
"constant": false,
|
985
|
-
"id":
|
985
|
+
"id": 41978,
|
986
986
|
"mutability": "mutable",
|
987
987
|
"name": "value",
|
988
|
-
"nameLocation": "1649:5:
|
988
|
+
"nameLocation": "1649:5:100",
|
989
989
|
"nodeType": "VariableDeclaration",
|
990
|
-
"scope":
|
991
|
-
"src": "1641:13:
|
990
|
+
"scope": 41985,
|
991
|
+
"src": "1641:13:100",
|
992
992
|
"stateVariable": false,
|
993
993
|
"storageLocation": "default",
|
994
994
|
"typeDescriptions": {
|
@@ -996,10 +996,10 @@
|
|
996
996
|
"typeString": "uint256"
|
997
997
|
},
|
998
998
|
"typeName": {
|
999
|
-
"id":
|
999
|
+
"id": 41977,
|
1000
1000
|
"name": "uint256",
|
1001
1001
|
"nodeType": "ElementaryTypeName",
|
1002
|
-
"src": "1641:7:
|
1002
|
+
"src": "1641:7:100",
|
1003
1003
|
"typeDescriptions": {
|
1004
1004
|
"typeIdentifier": "t_uint256",
|
1005
1005
|
"typeString": "uint256"
|
@@ -1008,22 +1008,22 @@
|
|
1008
1008
|
"visibility": "internal"
|
1009
1009
|
}
|
1010
1010
|
],
|
1011
|
-
"src": "1640:15:
|
1011
|
+
"src": "1640:15:100"
|
1012
1012
|
},
|
1013
|
-
"scope":
|
1013
|
+
"scope": 42014,
|
1014
1014
|
"stateMutability": "pure",
|
1015
1015
|
"virtual": false,
|
1016
1016
|
"visibility": "public"
|
1017
1017
|
},
|
1018
1018
|
{
|
1019
|
-
"id":
|
1019
|
+
"id": 41996,
|
1020
1020
|
"nodeType": "FunctionDefinition",
|
1021
|
-
"src": "1925:95:
|
1021
|
+
"src": "1925:95:100",
|
1022
1022
|
"nodes": [],
|
1023
1023
|
"body": {
|
1024
|
-
"id":
|
1024
|
+
"id": 41995,
|
1025
1025
|
"nodeType": "Block",
|
1026
|
-
"src": "1973:47:
|
1026
|
+
"src": "1973:47:100",
|
1027
1027
|
"nodes": [],
|
1028
1028
|
"statements": [
|
1029
1029
|
{
|
@@ -1032,33 +1032,33 @@
|
|
1032
1032
|
"expression": {
|
1033
1033
|
"argumentTypes": [],
|
1034
1034
|
"expression": {
|
1035
|
-
"id":
|
1035
|
+
"id": 41991,
|
1036
1036
|
"name": "StoreSwitch",
|
1037
1037
|
"nodeType": "Identifier",
|
1038
1038
|
"overloadedDeclarations": [],
|
1039
|
-
"referencedDeclaration":
|
1040
|
-
"src": "1986:11:
|
1039
|
+
"referencedDeclaration": 33808,
|
1040
|
+
"src": "1986:11:100",
|
1041
1041
|
"typeDescriptions": {
|
1042
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
1042
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
|
1043
1043
|
"typeString": "type(library StoreSwitch)"
|
1044
1044
|
}
|
1045
1045
|
},
|
1046
|
-
"id":
|
1046
|
+
"id": 41992,
|
1047
1047
|
"isConstant": false,
|
1048
1048
|
"isLValue": false,
|
1049
1049
|
"isPure": false,
|
1050
1050
|
"lValueRequested": false,
|
1051
|
-
"memberLocation": "1998:15:
|
1051
|
+
"memberLocation": "1998:15:100",
|
1052
1052
|
"memberName": "getStoreAddress",
|
1053
1053
|
"nodeType": "MemberAccess",
|
1054
|
-
"referencedDeclaration":
|
1055
|
-
"src": "1986:27:
|
1054
|
+
"referencedDeclaration": 32552,
|
1055
|
+
"src": "1986:27:100",
|
1056
1056
|
"typeDescriptions": {
|
1057
1057
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
1058
1058
|
"typeString": "function () view returns (address)"
|
1059
1059
|
}
|
1060
1060
|
},
|
1061
|
-
"id":
|
1061
|
+
"id": 41993,
|
1062
1062
|
"isConstant": false,
|
1063
1063
|
"isLValue": false,
|
1064
1064
|
"isPure": false,
|
@@ -1067,27 +1067,27 @@
|
|
1067
1067
|
"nameLocations": [],
|
1068
1068
|
"names": [],
|
1069
1069
|
"nodeType": "FunctionCall",
|
1070
|
-
"src": "1986:29:
|
1070
|
+
"src": "1986:29:100",
|
1071
1071
|
"tryCall": false,
|
1072
1072
|
"typeDescriptions": {
|
1073
1073
|
"typeIdentifier": "t_address",
|
1074
1074
|
"typeString": "address"
|
1075
1075
|
}
|
1076
1076
|
},
|
1077
|
-
"functionReturnParameters":
|
1078
|
-
"id":
|
1077
|
+
"functionReturnParameters": 41990,
|
1078
|
+
"id": 41994,
|
1079
1079
|
"nodeType": "Return",
|
1080
|
-
"src": "1979:36:
|
1080
|
+
"src": "1979:36:100"
|
1081
1081
|
}
|
1082
1082
|
]
|
1083
1083
|
},
|
1084
1084
|
"baseFunctions": [
|
1085
|
-
|
1085
|
+
75639
|
1086
1086
|
],
|
1087
1087
|
"documentation": {
|
1088
|
-
"id":
|
1088
|
+
"id": 41986,
|
1089
1089
|
"nodeType": "StructuredDocumentation",
|
1090
|
-
"src": "1713:209:
|
1090
|
+
"src": "1713:209:100",
|
1091
1091
|
"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."
|
1092
1092
|
},
|
1093
1093
|
"functionSelector": "e1af802c",
|
@@ -1095,26 +1095,26 @@
|
|
1095
1095
|
"kind": "function",
|
1096
1096
|
"modifiers": [],
|
1097
1097
|
"name": "_world",
|
1098
|
-
"nameLocation": "1934:6:
|
1098
|
+
"nameLocation": "1934:6:100",
|
1099
1099
|
"parameters": {
|
1100
|
-
"id":
|
1100
|
+
"id": 41987,
|
1101
1101
|
"nodeType": "ParameterList",
|
1102
1102
|
"parameters": [],
|
1103
|
-
"src": "1940:2:
|
1103
|
+
"src": "1940:2:100"
|
1104
1104
|
},
|
1105
1105
|
"returnParameters": {
|
1106
|
-
"id":
|
1106
|
+
"id": 41990,
|
1107
1107
|
"nodeType": "ParameterList",
|
1108
1108
|
"parameters": [
|
1109
1109
|
{
|
1110
1110
|
"constant": false,
|
1111
|
-
"id":
|
1111
|
+
"id": 41989,
|
1112
1112
|
"mutability": "mutable",
|
1113
1113
|
"name": "",
|
1114
1114
|
"nameLocation": "-1:-1:-1",
|
1115
1115
|
"nodeType": "VariableDeclaration",
|
1116
|
-
"scope":
|
1117
|
-
"src": "1964:7:
|
1116
|
+
"scope": 41996,
|
1117
|
+
"src": "1964:7:100",
|
1118
1118
|
"stateVariable": false,
|
1119
1119
|
"storageLocation": "default",
|
1120
1120
|
"typeDescriptions": {
|
@@ -1122,10 +1122,10 @@
|
|
1122
1122
|
"typeString": "address"
|
1123
1123
|
},
|
1124
1124
|
"typeName": {
|
1125
|
-
"id":
|
1125
|
+
"id": 41988,
|
1126
1126
|
"name": "address",
|
1127
1127
|
"nodeType": "ElementaryTypeName",
|
1128
|
-
"src": "1964:7:
|
1128
|
+
"src": "1964:7:100",
|
1129
1129
|
"stateMutability": "nonpayable",
|
1130
1130
|
"typeDescriptions": {
|
1131
1131
|
"typeIdentifier": "t_address",
|
@@ -1135,22 +1135,22 @@
|
|
1135
1135
|
"visibility": "internal"
|
1136
1136
|
}
|
1137
1137
|
],
|
1138
|
-
"src": "1963:9:
|
1138
|
+
"src": "1963:9:100"
|
1139
1139
|
},
|
1140
|
-
"scope":
|
1140
|
+
"scope": 42014,
|
1141
1141
|
"stateMutability": "view",
|
1142
1142
|
"virtual": false,
|
1143
1143
|
"visibility": "public"
|
1144
1144
|
},
|
1145
1145
|
{
|
1146
|
-
"id":
|
1146
|
+
"id": 42013,
|
1147
1147
|
"nodeType": "FunctionDefinition",
|
1148
|
-
"src": "2311:188:
|
1148
|
+
"src": "2311:188:100",
|
1149
1149
|
"nodes": [],
|
1150
1150
|
"body": {
|
1151
|
-
"id":
|
1151
|
+
"id": 42012,
|
1152
1152
|
"nodeType": "Block",
|
1153
|
-
"src": "2393:106:
|
1153
|
+
"src": "2393:106:100",
|
1154
1154
|
"nodes": [],
|
1155
1155
|
"statements": [
|
1156
1156
|
{
|
@@ -1159,7 +1159,7 @@
|
|
1159
1159
|
"typeIdentifier": "t_bool",
|
1160
1160
|
"typeString": "bool"
|
1161
1161
|
},
|
1162
|
-
"id":
|
1162
|
+
"id": 42010,
|
1163
1163
|
"isConstant": false,
|
1164
1164
|
"isLValue": false,
|
1165
1165
|
"isPure": false,
|
@@ -1169,18 +1169,18 @@
|
|
1169
1169
|
"typeIdentifier": "t_bytes4",
|
1170
1170
|
"typeString": "bytes4"
|
1171
1171
|
},
|
1172
|
-
"id":
|
1172
|
+
"id": 42006,
|
1173
1173
|
"isConstant": false,
|
1174
1174
|
"isLValue": false,
|
1175
1175
|
"isPure": false,
|
1176
1176
|
"lValueRequested": false,
|
1177
1177
|
"leftExpression": {
|
1178
|
-
"id":
|
1178
|
+
"id": 42004,
|
1179
1179
|
"name": "interfaceId",
|
1180
1180
|
"nodeType": "Identifier",
|
1181
1181
|
"overloadedDeclarations": [],
|
1182
|
-
"referencedDeclaration":
|
1183
|
-
"src": "2406:11:
|
1182
|
+
"referencedDeclaration": 41999,
|
1183
|
+
"src": "2406:11:100",
|
1184
1184
|
"typeDescriptions": {
|
1185
1185
|
"typeIdentifier": "t_bytes4",
|
1186
1186
|
"typeString": "bytes4"
|
@@ -1189,18 +1189,18 @@
|
|
1189
1189
|
"nodeType": "BinaryOperation",
|
1190
1190
|
"operator": "==",
|
1191
1191
|
"rightExpression": {
|
1192
|
-
"id":
|
1192
|
+
"id": 42005,
|
1193
1193
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
1194
1194
|
"nodeType": "Identifier",
|
1195
1195
|
"overloadedDeclarations": [],
|
1196
|
-
"referencedDeclaration":
|
1197
|
-
"src": "2421:35:
|
1196
|
+
"referencedDeclaration": 75618,
|
1197
|
+
"src": "2421:35:100",
|
1198
1198
|
"typeDescriptions": {
|
1199
1199
|
"typeIdentifier": "t_bytes4",
|
1200
1200
|
"typeString": "bytes4"
|
1201
1201
|
}
|
1202
1202
|
},
|
1203
|
-
"src": "2406:50:
|
1203
|
+
"src": "2406:50:100",
|
1204
1204
|
"typeDescriptions": {
|
1205
1205
|
"typeIdentifier": "t_bool",
|
1206
1206
|
"typeString": "bool"
|
@@ -1213,18 +1213,18 @@
|
|
1213
1213
|
"typeIdentifier": "t_bytes4",
|
1214
1214
|
"typeString": "bytes4"
|
1215
1215
|
},
|
1216
|
-
"id":
|
1216
|
+
"id": 42009,
|
1217
1217
|
"isConstant": false,
|
1218
1218
|
"isLValue": false,
|
1219
1219
|
"isPure": false,
|
1220
1220
|
"lValueRequested": false,
|
1221
1221
|
"leftExpression": {
|
1222
|
-
"id":
|
1222
|
+
"id": 42007,
|
1223
1223
|
"name": "interfaceId",
|
1224
1224
|
"nodeType": "Identifier",
|
1225
1225
|
"overloadedDeclarations": [],
|
1226
|
-
"referencedDeclaration":
|
1227
|
-
"src": "2460:11:
|
1226
|
+
"referencedDeclaration": 41999,
|
1227
|
+
"src": "2460:11:100",
|
1228
1228
|
"typeDescriptions": {
|
1229
1229
|
"typeIdentifier": "t_bytes4",
|
1230
1230
|
"typeString": "bytes4"
|
@@ -1233,43 +1233,43 @@
|
|
1233
1233
|
"nodeType": "BinaryOperation",
|
1234
1234
|
"operator": "==",
|
1235
1235
|
"rightExpression": {
|
1236
|
-
"id":
|
1236
|
+
"id": 42008,
|
1237
1237
|
"name": "ERC165_INTERFACE_ID",
|
1238
1238
|
"nodeType": "Identifier",
|
1239
1239
|
"overloadedDeclarations": [],
|
1240
|
-
"referencedDeclaration":
|
1241
|
-
"src": "2475:19:
|
1240
|
+
"referencedDeclaration": 75587,
|
1241
|
+
"src": "2475:19:100",
|
1242
1242
|
"typeDescriptions": {
|
1243
1243
|
"typeIdentifier": "t_bytes4",
|
1244
1244
|
"typeString": "bytes4"
|
1245
1245
|
}
|
1246
1246
|
},
|
1247
|
-
"src": "2460:34:
|
1247
|
+
"src": "2460:34:100",
|
1248
1248
|
"typeDescriptions": {
|
1249
1249
|
"typeIdentifier": "t_bool",
|
1250
1250
|
"typeString": "bool"
|
1251
1251
|
}
|
1252
1252
|
},
|
1253
|
-
"src": "2406:88:
|
1253
|
+
"src": "2406:88:100",
|
1254
1254
|
"typeDescriptions": {
|
1255
1255
|
"typeIdentifier": "t_bool",
|
1256
1256
|
"typeString": "bool"
|
1257
1257
|
}
|
1258
1258
|
},
|
1259
|
-
"functionReturnParameters":
|
1260
|
-
"id":
|
1259
|
+
"functionReturnParameters": 42003,
|
1260
|
+
"id": 42011,
|
1261
1261
|
"nodeType": "Return",
|
1262
|
-
"src": "2399:95:
|
1262
|
+
"src": "2399:95:100"
|
1263
1263
|
}
|
1264
1264
|
]
|
1265
1265
|
},
|
1266
1266
|
"baseFunctions": [
|
1267
|
-
|
1267
|
+
75596
|
1268
1268
|
],
|
1269
1269
|
"documentation": {
|
1270
|
-
"id":
|
1270
|
+
"id": 41997,
|
1271
1271
|
"nodeType": "StructuredDocumentation",
|
1272
|
-
"src": "2024:284:
|
1272
|
+
"src": "2024:284:100",
|
1273
1273
|
"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."
|
1274
1274
|
},
|
1275
1275
|
"functionSelector": "01ffc9a7",
|
@@ -1277,20 +1277,20 @@
|
|
1277
1277
|
"kind": "function",
|
1278
1278
|
"modifiers": [],
|
1279
1279
|
"name": "supportsInterface",
|
1280
|
-
"nameLocation": "2320:17:
|
1280
|
+
"nameLocation": "2320:17:100",
|
1281
1281
|
"parameters": {
|
1282
|
-
"id":
|
1282
|
+
"id": 42000,
|
1283
1283
|
"nodeType": "ParameterList",
|
1284
1284
|
"parameters": [
|
1285
1285
|
{
|
1286
1286
|
"constant": false,
|
1287
|
-
"id":
|
1287
|
+
"id": 41999,
|
1288
1288
|
"mutability": "mutable",
|
1289
1289
|
"name": "interfaceId",
|
1290
|
-
"nameLocation": "2345:11:
|
1290
|
+
"nameLocation": "2345:11:100",
|
1291
1291
|
"nodeType": "VariableDeclaration",
|
1292
|
-
"scope":
|
1293
|
-
"src": "2338:18:
|
1292
|
+
"scope": 42013,
|
1293
|
+
"src": "2338:18:100",
|
1294
1294
|
"stateVariable": false,
|
1295
1295
|
"storageLocation": "default",
|
1296
1296
|
"typeDescriptions": {
|
@@ -1298,10 +1298,10 @@
|
|
1298
1298
|
"typeString": "bytes4"
|
1299
1299
|
},
|
1300
1300
|
"typeName": {
|
1301
|
-
"id":
|
1301
|
+
"id": 41998,
|
1302
1302
|
"name": "bytes4",
|
1303
1303
|
"nodeType": "ElementaryTypeName",
|
1304
|
-
"src": "2338:6:
|
1304
|
+
"src": "2338:6:100",
|
1305
1305
|
"typeDescriptions": {
|
1306
1306
|
"typeIdentifier": "t_bytes4",
|
1307
1307
|
"typeString": "bytes4"
|
@@ -1310,21 +1310,21 @@
|
|
1310
1310
|
"visibility": "internal"
|
1311
1311
|
}
|
1312
1312
|
],
|
1313
|
-
"src": "2337:20:
|
1313
|
+
"src": "2337:20:100"
|
1314
1314
|
},
|
1315
1315
|
"returnParameters": {
|
1316
|
-
"id":
|
1316
|
+
"id": 42003,
|
1317
1317
|
"nodeType": "ParameterList",
|
1318
1318
|
"parameters": [
|
1319
1319
|
{
|
1320
1320
|
"constant": false,
|
1321
|
-
"id":
|
1321
|
+
"id": 42002,
|
1322
1322
|
"mutability": "mutable",
|
1323
1323
|
"name": "",
|
1324
1324
|
"nameLocation": "-1:-1:-1",
|
1325
1325
|
"nodeType": "VariableDeclaration",
|
1326
|
-
"scope":
|
1327
|
-
"src": "2387:4:
|
1326
|
+
"scope": 42013,
|
1327
|
+
"src": "2387:4:100",
|
1328
1328
|
"stateVariable": false,
|
1329
1329
|
"storageLocation": "default",
|
1330
1330
|
"typeDescriptions": {
|
@@ -1332,10 +1332,10 @@
|
|
1332
1332
|
"typeString": "bool"
|
1333
1333
|
},
|
1334
1334
|
"typeName": {
|
1335
|
-
"id":
|
1335
|
+
"id": 42001,
|
1336
1336
|
"name": "bool",
|
1337
1337
|
"nodeType": "ElementaryTypeName",
|
1338
|
-
"src": "2387:4:
|
1338
|
+
"src": "2387:4:100",
|
1339
1339
|
"typeDescriptions": {
|
1340
1340
|
"typeIdentifier": "t_bool",
|
1341
1341
|
"typeString": "bool"
|
@@ -1344,9 +1344,9 @@
|
|
1344
1344
|
"visibility": "internal"
|
1345
1345
|
}
|
1346
1346
|
],
|
1347
|
-
"src": "2386:6:
|
1347
|
+
"src": "2386:6:100"
|
1348
1348
|
},
|
1349
|
-
"scope":
|
1349
|
+
"scope": 42014,
|
1350
1350
|
"stateMutability": "pure",
|
1351
1351
|
"virtual": true,
|
1352
1352
|
"visibility": "public"
|
@@ -1356,74 +1356,74 @@
|
|
1356
1356
|
"baseContracts": [
|
1357
1357
|
{
|
1358
1358
|
"baseName": {
|
1359
|
-
"id":
|
1359
|
+
"id": 41962,
|
1360
1360
|
"name": "IWorldContextConsumer",
|
1361
1361
|
"nameLocations": [
|
1362
|
-
"979:21:
|
1362
|
+
"979:21:100"
|
1363
1363
|
],
|
1364
1364
|
"nodeType": "IdentifierPath",
|
1365
|
-
"referencedDeclaration":
|
1366
|
-
"src": "979:21:
|
1365
|
+
"referencedDeclaration": 75640,
|
1366
|
+
"src": "979:21:100"
|
1367
1367
|
},
|
1368
|
-
"id":
|
1368
|
+
"id": 41963,
|
1369
1369
|
"nodeType": "InheritanceSpecifier",
|
1370
|
-
"src": "979:21:
|
1370
|
+
"src": "979:21:100"
|
1371
1371
|
}
|
1372
1372
|
],
|
1373
1373
|
"canonicalName": "WorldContextConsumer",
|
1374
1374
|
"contractDependencies": [],
|
1375
1375
|
"contractKind": "contract",
|
1376
1376
|
"documentation": {
|
1377
|
-
"id":
|
1377
|
+
"id": 41961,
|
1378
1378
|
"nodeType": "StructuredDocumentation",
|
1379
|
-
"src": "463:473:
|
1379
|
+
"src": "463:473:100",
|
1380
1380
|
"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."
|
1381
1381
|
},
|
1382
1382
|
"fullyImplemented": true,
|
1383
1383
|
"linearizedBaseContracts": [
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1384
|
+
42014,
|
1385
|
+
75640,
|
1386
|
+
75597
|
1387
1387
|
],
|
1388
1388
|
"name": "WorldContextConsumer",
|
1389
|
-
"nameLocation": "955:20:
|
1390
|
-
"scope":
|
1389
|
+
"nameLocation": "955:20:100",
|
1390
|
+
"scope": 42209,
|
1391
1391
|
"usedErrors": [],
|
1392
1392
|
"usedEvents": []
|
1393
1393
|
},
|
1394
1394
|
{
|
1395
|
-
"id":
|
1395
|
+
"id": 42054,
|
1396
1396
|
"nodeType": "ContractDefinition",
|
1397
|
-
"src": "2503:1427:
|
1397
|
+
"src": "2503:1427:100",
|
1398
1398
|
"nodes": [
|
1399
1399
|
{
|
1400
|
-
"id":
|
1400
|
+
"id": 42034,
|
1401
1401
|
"nodeType": "FunctionDefinition",
|
1402
|
-
"src": "2779:381:
|
1402
|
+
"src": "2779:381:100",
|
1403
1403
|
"nodes": [],
|
1404
1404
|
"body": {
|
1405
|
-
"id":
|
1405
|
+
"id": 42033,
|
1406
1406
|
"nodeType": "Block",
|
1407
|
-
"src": "2840:320:
|
1407
|
+
"src": "2840:320:100",
|
1408
1408
|
"nodes": [],
|
1409
1409
|
"statements": [
|
1410
1410
|
{
|
1411
1411
|
"AST": {
|
1412
|
-
"nativeSrc": "2855:250:
|
1412
|
+
"nativeSrc": "2855:250:100",
|
1413
1413
|
"nodeType": "YulBlock",
|
1414
|
-
"src": "2855:250:
|
1414
|
+
"src": "2855:250:100",
|
1415
1415
|
"statements": [
|
1416
1416
|
{
|
1417
|
-
"nativeSrc": "3032:67:
|
1417
|
+
"nativeSrc": "3032:67:100",
|
1418
1418
|
"nodeType": "YulAssignment",
|
1419
|
-
"src": "3032:67:
|
1419
|
+
"src": "3032:67:100",
|
1420
1420
|
"value": {
|
1421
1421
|
"arguments": [
|
1422
1422
|
{
|
1423
1423
|
"kind": "number",
|
1424
|
-
"nativeSrc": "3046:2:
|
1424
|
+
"nativeSrc": "3046:2:100",
|
1425
1425
|
"nodeType": "YulLiteral",
|
1426
|
-
"src": "3046:2:
|
1426
|
+
"src": "3046:2:100",
|
1427
1427
|
"type": "",
|
1428
1428
|
"value": "96"
|
1429
1429
|
},
|
@@ -1435,59 +1435,59 @@
|
|
1435
1435
|
"arguments": [],
|
1436
1436
|
"functionName": {
|
1437
1437
|
"name": "calldatasize",
|
1438
|
-
"nativeSrc": "3067:12:
|
1438
|
+
"nativeSrc": "3067:12:100",
|
1439
1439
|
"nodeType": "YulIdentifier",
|
1440
|
-
"src": "3067:12:
|
1440
|
+
"src": "3067:12:100"
|
1441
1441
|
},
|
1442
|
-
"nativeSrc": "3067:14:
|
1442
|
+
"nativeSrc": "3067:14:100",
|
1443
1443
|
"nodeType": "YulFunctionCall",
|
1444
|
-
"src": "3067:14:
|
1444
|
+
"src": "3067:14:100"
|
1445
1445
|
},
|
1446
1446
|
{
|
1447
1447
|
"name": "CONTEXT_BYTES",
|
1448
|
-
"nativeSrc": "3083:13:
|
1448
|
+
"nativeSrc": "3083:13:100",
|
1449
1449
|
"nodeType": "YulIdentifier",
|
1450
|
-
"src": "3083:13:
|
1450
|
+
"src": "3083:13:100"
|
1451
1451
|
}
|
1452
1452
|
],
|
1453
1453
|
"functionName": {
|
1454
1454
|
"name": "sub",
|
1455
|
-
"nativeSrc": "3063:3:
|
1455
|
+
"nativeSrc": "3063:3:100",
|
1456
1456
|
"nodeType": "YulIdentifier",
|
1457
|
-
"src": "3063:3:
|
1457
|
+
"src": "3063:3:100"
|
1458
1458
|
},
|
1459
|
-
"nativeSrc": "3063:34:
|
1459
|
+
"nativeSrc": "3063:34:100",
|
1460
1460
|
"nodeType": "YulFunctionCall",
|
1461
|
-
"src": "3063:34:
|
1461
|
+
"src": "3063:34:100"
|
1462
1462
|
}
|
1463
1463
|
],
|
1464
1464
|
"functionName": {
|
1465
1465
|
"name": "calldataload",
|
1466
|
-
"nativeSrc": "3050:12:
|
1466
|
+
"nativeSrc": "3050:12:100",
|
1467
1467
|
"nodeType": "YulIdentifier",
|
1468
|
-
"src": "3050:12:
|
1468
|
+
"src": "3050:12:100"
|
1469
1469
|
},
|
1470
|
-
"nativeSrc": "3050:48:
|
1470
|
+
"nativeSrc": "3050:48:100",
|
1471
1471
|
"nodeType": "YulFunctionCall",
|
1472
|
-
"src": "3050:48:
|
1472
|
+
"src": "3050:48:100"
|
1473
1473
|
}
|
1474
1474
|
],
|
1475
1475
|
"functionName": {
|
1476
1476
|
"name": "shr",
|
1477
|
-
"nativeSrc": "3042:3:
|
1477
|
+
"nativeSrc": "3042:3:100",
|
1478
1478
|
"nodeType": "YulIdentifier",
|
1479
|
-
"src": "3042:3:
|
1479
|
+
"src": "3042:3:100"
|
1480
1480
|
},
|
1481
|
-
"nativeSrc": "3042:57:
|
1481
|
+
"nativeSrc": "3042:57:100",
|
1482
1482
|
"nodeType": "YulFunctionCall",
|
1483
|
-
"src": "3042:57:
|
1483
|
+
"src": "3042:57:100"
|
1484
1484
|
},
|
1485
1485
|
"variableNames": [
|
1486
1486
|
{
|
1487
1487
|
"name": "sender",
|
1488
|
-
"nativeSrc": "3032:6:
|
1488
|
+
"nativeSrc": "3032:6:100",
|
1489
1489
|
"nodeType": "YulIdentifier",
|
1490
|
-
"src": "3032:6:
|
1490
|
+
"src": "3032:6:100"
|
1491
1491
|
}
|
1492
1492
|
]
|
1493
1493
|
}
|
@@ -1496,23 +1496,23 @@
|
|
1496
1496
|
"evmVersion": "paris",
|
1497
1497
|
"externalReferences": [
|
1498
1498
|
{
|
1499
|
-
"declaration":
|
1499
|
+
"declaration": 41960,
|
1500
1500
|
"isOffset": false,
|
1501
1501
|
"isSlot": false,
|
1502
|
-
"src": "3083:13:
|
1502
|
+
"src": "3083:13:100",
|
1503
1503
|
"valueSize": 1
|
1504
1504
|
},
|
1505
1505
|
{
|
1506
|
-
"declaration":
|
1506
|
+
"declaration": 42018,
|
1507
1507
|
"isOffset": false,
|
1508
1508
|
"isSlot": false,
|
1509
|
-
"src": "3032:6:
|
1509
|
+
"src": "3032:6:100",
|
1510
1510
|
"valueSize": 1
|
1511
1511
|
}
|
1512
1512
|
],
|
1513
|
-
"id":
|
1513
|
+
"id": 42020,
|
1514
1514
|
"nodeType": "InlineAssembly",
|
1515
|
-
"src": "2846:259:
|
1515
|
+
"src": "2846:259:100"
|
1516
1516
|
},
|
1517
1517
|
{
|
1518
1518
|
"condition": {
|
@@ -1520,18 +1520,18 @@
|
|
1520
1520
|
"typeIdentifier": "t_address",
|
1521
1521
|
"typeString": "address"
|
1522
1522
|
},
|
1523
|
-
"id":
|
1523
|
+
"id": 42026,
|
1524
1524
|
"isConstant": false,
|
1525
1525
|
"isLValue": false,
|
1526
1526
|
"isPure": false,
|
1527
1527
|
"lValueRequested": false,
|
1528
1528
|
"leftExpression": {
|
1529
|
-
"id":
|
1529
|
+
"id": 42021,
|
1530
1530
|
"name": "sender",
|
1531
1531
|
"nodeType": "Identifier",
|
1532
1532
|
"overloadedDeclarations": [],
|
1533
|
-
"referencedDeclaration":
|
1534
|
-
"src": "3114:6:
|
1533
|
+
"referencedDeclaration": 42018,
|
1534
|
+
"src": "3114:6:100",
|
1535
1535
|
"typeDescriptions": {
|
1536
1536
|
"typeIdentifier": "t_address",
|
1537
1537
|
"typeString": "address"
|
@@ -1543,14 +1543,14 @@
|
|
1543
1543
|
"arguments": [
|
1544
1544
|
{
|
1545
1545
|
"hexValue": "30",
|
1546
|
-
"id":
|
1546
|
+
"id": 42024,
|
1547
1547
|
"isConstant": false,
|
1548
1548
|
"isLValue": false,
|
1549
1549
|
"isPure": true,
|
1550
1550
|
"kind": "number",
|
1551
1551
|
"lValueRequested": false,
|
1552
1552
|
"nodeType": "Literal",
|
1553
|
-
"src": "3132:1:
|
1553
|
+
"src": "3132:1:100",
|
1554
1554
|
"typeDescriptions": {
|
1555
1555
|
"typeIdentifier": "t_rational_0_by_1",
|
1556
1556
|
"typeString": "int_const 0"
|
@@ -1565,26 +1565,26 @@
|
|
1565
1565
|
"typeString": "int_const 0"
|
1566
1566
|
}
|
1567
1567
|
],
|
1568
|
-
"id":
|
1568
|
+
"id": 42023,
|
1569
1569
|
"isConstant": false,
|
1570
1570
|
"isLValue": false,
|
1571
1571
|
"isPure": true,
|
1572
1572
|
"lValueRequested": false,
|
1573
1573
|
"nodeType": "ElementaryTypeNameExpression",
|
1574
|
-
"src": "3124:7:
|
1574
|
+
"src": "3124:7:100",
|
1575
1575
|
"typeDescriptions": {
|
1576
1576
|
"typeIdentifier": "t_type$_t_address_$",
|
1577
1577
|
"typeString": "type(address)"
|
1578
1578
|
},
|
1579
1579
|
"typeName": {
|
1580
|
-
"id":
|
1580
|
+
"id": 42022,
|
1581
1581
|
"name": "address",
|
1582
1582
|
"nodeType": "ElementaryTypeName",
|
1583
|
-
"src": "3124:7:
|
1583
|
+
"src": "3124:7:100",
|
1584
1584
|
"typeDescriptions": {}
|
1585
1585
|
}
|
1586
1586
|
},
|
1587
|
-
"id":
|
1587
|
+
"id": 42025,
|
1588
1588
|
"isConstant": false,
|
1589
1589
|
"isLValue": false,
|
1590
1590
|
"isPure": true,
|
@@ -1593,36 +1593,36 @@
|
|
1593
1593
|
"nameLocations": [],
|
1594
1594
|
"names": [],
|
1595
1595
|
"nodeType": "FunctionCall",
|
1596
|
-
"src": "3124:10:
|
1596
|
+
"src": "3124:10:100",
|
1597
1597
|
"tryCall": false,
|
1598
1598
|
"typeDescriptions": {
|
1599
1599
|
"typeIdentifier": "t_address",
|
1600
1600
|
"typeString": "address"
|
1601
1601
|
}
|
1602
1602
|
},
|
1603
|
-
"src": "3114:20:
|
1603
|
+
"src": "3114:20:100",
|
1604
1604
|
"typeDescriptions": {
|
1605
1605
|
"typeIdentifier": "t_bool",
|
1606
1606
|
"typeString": "bool"
|
1607
1607
|
}
|
1608
1608
|
},
|
1609
|
-
"id":
|
1609
|
+
"id": 42032,
|
1610
1610
|
"nodeType": "IfStatement",
|
1611
|
-
"src": "3110:45:
|
1611
|
+
"src": "3110:45:100",
|
1612
1612
|
"trueBody": {
|
1613
1613
|
"expression": {
|
1614
|
-
"id":
|
1614
|
+
"id": 42030,
|
1615
1615
|
"isConstant": false,
|
1616
1616
|
"isLValue": false,
|
1617
1617
|
"isPure": false,
|
1618
1618
|
"lValueRequested": false,
|
1619
1619
|
"leftHandSide": {
|
1620
|
-
"id":
|
1620
|
+
"id": 42027,
|
1621
1621
|
"name": "sender",
|
1622
1622
|
"nodeType": "Identifier",
|
1623
1623
|
"overloadedDeclarations": [],
|
1624
|
-
"referencedDeclaration":
|
1625
|
-
"src": "3136:6:
|
1624
|
+
"referencedDeclaration": 42018,
|
1625
|
+
"src": "3136:6:100",
|
1626
1626
|
"typeDescriptions": {
|
1627
1627
|
"typeIdentifier": "t_address",
|
1628
1628
|
"typeString": "address"
|
@@ -1632,74 +1632,74 @@
|
|
1632
1632
|
"operator": "=",
|
1633
1633
|
"rightHandSide": {
|
1634
1634
|
"expression": {
|
1635
|
-
"id":
|
1635
|
+
"id": 42028,
|
1636
1636
|
"name": "msg",
|
1637
1637
|
"nodeType": "Identifier",
|
1638
1638
|
"overloadedDeclarations": [],
|
1639
1639
|
"referencedDeclaration": -15,
|
1640
|
-
"src": "3145:3:
|
1640
|
+
"src": "3145:3:100",
|
1641
1641
|
"typeDescriptions": {
|
1642
1642
|
"typeIdentifier": "t_magic_message",
|
1643
1643
|
"typeString": "msg"
|
1644
1644
|
}
|
1645
1645
|
},
|
1646
|
-
"id":
|
1646
|
+
"id": 42029,
|
1647
1647
|
"isConstant": false,
|
1648
1648
|
"isLValue": false,
|
1649
1649
|
"isPure": false,
|
1650
1650
|
"lValueRequested": false,
|
1651
|
-
"memberLocation": "3149:6:
|
1651
|
+
"memberLocation": "3149:6:100",
|
1652
1652
|
"memberName": "sender",
|
1653
1653
|
"nodeType": "MemberAccess",
|
1654
|
-
"src": "3145:10:
|
1654
|
+
"src": "3145:10:100",
|
1655
1655
|
"typeDescriptions": {
|
1656
1656
|
"typeIdentifier": "t_address",
|
1657
1657
|
"typeString": "address"
|
1658
1658
|
}
|
1659
1659
|
},
|
1660
|
-
"src": "3136:19:
|
1660
|
+
"src": "3136:19:100",
|
1661
1661
|
"typeDescriptions": {
|
1662
1662
|
"typeIdentifier": "t_address",
|
1663
1663
|
"typeString": "address"
|
1664
1664
|
}
|
1665
1665
|
},
|
1666
|
-
"id":
|
1666
|
+
"id": 42031,
|
1667
1667
|
"nodeType": "ExpressionStatement",
|
1668
|
-
"src": "3136:19:
|
1668
|
+
"src": "3136:19:100"
|
1669
1669
|
}
|
1670
1670
|
}
|
1671
1671
|
]
|
1672
1672
|
},
|
1673
1673
|
"documentation": {
|
1674
|
-
"id":
|
1674
|
+
"id": 42015,
|
1675
1675
|
"nodeType": "StructuredDocumentation",
|
1676
|
-
"src": "2539:237:
|
1676
|
+
"src": "2539:237:100",
|
1677
1677
|
"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."
|
1678
1678
|
},
|
1679
1679
|
"implemented": true,
|
1680
1680
|
"kind": "function",
|
1681
1681
|
"modifiers": [],
|
1682
1682
|
"name": "_msgSender",
|
1683
|
-
"nameLocation": "2788:10:
|
1683
|
+
"nameLocation": "2788:10:100",
|
1684
1684
|
"parameters": {
|
1685
|
-
"id":
|
1685
|
+
"id": 42016,
|
1686
1686
|
"nodeType": "ParameterList",
|
1687
1687
|
"parameters": [],
|
1688
|
-
"src": "2798:2:
|
1688
|
+
"src": "2798:2:100"
|
1689
1689
|
},
|
1690
1690
|
"returnParameters": {
|
1691
|
-
"id":
|
1691
|
+
"id": 42019,
|
1692
1692
|
"nodeType": "ParameterList",
|
1693
1693
|
"parameters": [
|
1694
1694
|
{
|
1695
1695
|
"constant": false,
|
1696
|
-
"id":
|
1696
|
+
"id": 42018,
|
1697
1697
|
"mutability": "mutable",
|
1698
1698
|
"name": "sender",
|
1699
|
-
"nameLocation": "2832:6:
|
1699
|
+
"nameLocation": "2832:6:100",
|
1700
1700
|
"nodeType": "VariableDeclaration",
|
1701
|
-
"scope":
|
1702
|
-
"src": "2824:14:
|
1701
|
+
"scope": 42034,
|
1702
|
+
"src": "2824:14:100",
|
1703
1703
|
"stateVariable": false,
|
1704
1704
|
"storageLocation": "default",
|
1705
1705
|
"typeDescriptions": {
|
@@ -1707,10 +1707,10 @@
|
|
1707
1707
|
"typeString": "address"
|
1708
1708
|
},
|
1709
1709
|
"typeName": {
|
1710
|
-
"id":
|
1710
|
+
"id": 42017,
|
1711
1711
|
"name": "address",
|
1712
1712
|
"nodeType": "ElementaryTypeName",
|
1713
|
-
"src": "2824:7:
|
1713
|
+
"src": "2824:7:100",
|
1714
1714
|
"stateMutability": "nonpayable",
|
1715
1715
|
"typeDescriptions": {
|
1716
1716
|
"typeIdentifier": "t_address",
|
@@ -1720,34 +1720,34 @@
|
|
1720
1720
|
"visibility": "internal"
|
1721
1721
|
}
|
1722
1722
|
],
|
1723
|
-
"src": "2823:16:
|
1723
|
+
"src": "2823:16:100"
|
1724
1724
|
},
|
1725
|
-
"scope":
|
1725
|
+
"scope": 42054,
|
1726
1726
|
"stateMutability": "view",
|
1727
1727
|
"virtual": false,
|
1728
1728
|
"visibility": "internal"
|
1729
1729
|
},
|
1730
1730
|
{
|
1731
|
-
"id":
|
1731
|
+
"id": 42042,
|
1732
1732
|
"nodeType": "FunctionDefinition",
|
1733
|
-
"src": "3401:214:
|
1733
|
+
"src": "3401:214:100",
|
1734
1734
|
"nodes": [],
|
1735
1735
|
"body": {
|
1736
|
-
"id":
|
1736
|
+
"id": 42041,
|
1737
1737
|
"nodeType": "Block",
|
1738
|
-
"src": "3460:155:
|
1738
|
+
"src": "3460:155:100",
|
1739
1739
|
"nodes": [],
|
1740
1740
|
"statements": [
|
1741
1741
|
{
|
1742
1742
|
"AST": {
|
1743
|
-
"nativeSrc": "3475:136:
|
1743
|
+
"nativeSrc": "3475:136:100",
|
1744
1744
|
"nodeType": "YulBlock",
|
1745
|
-
"src": "3475:136:
|
1745
|
+
"src": "3475:136:100",
|
1746
1746
|
"statements": [
|
1747
1747
|
{
|
1748
|
-
"nativeSrc": "3559:46:
|
1748
|
+
"nativeSrc": "3559:46:100",
|
1749
1749
|
"nodeType": "YulAssignment",
|
1750
|
-
"src": "3559:46:
|
1750
|
+
"src": "3559:46:100",
|
1751
1751
|
"value": {
|
1752
1752
|
"arguments": [
|
1753
1753
|
{
|
@@ -1756,50 +1756,50 @@
|
|
1756
1756
|
"arguments": [],
|
1757
1757
|
"functionName": {
|
1758
1758
|
"name": "calldatasize",
|
1759
|
-
"nativeSrc": "3585:12:
|
1759
|
+
"nativeSrc": "3585:12:100",
|
1760
1760
|
"nodeType": "YulIdentifier",
|
1761
|
-
"src": "3585:12:
|
1761
|
+
"src": "3585:12:100"
|
1762
1762
|
},
|
1763
|
-
"nativeSrc": "3585:14:
|
1763
|
+
"nativeSrc": "3585:14:100",
|
1764
1764
|
"nodeType": "YulFunctionCall",
|
1765
|
-
"src": "3585:14:
|
1765
|
+
"src": "3585:14:100"
|
1766
1766
|
},
|
1767
1767
|
{
|
1768
1768
|
"kind": "number",
|
1769
|
-
"nativeSrc": "3601:2:
|
1769
|
+
"nativeSrc": "3601:2:100",
|
1770
1770
|
"nodeType": "YulLiteral",
|
1771
|
-
"src": "3601:2:
|
1771
|
+
"src": "3601:2:100",
|
1772
1772
|
"type": "",
|
1773
1773
|
"value": "32"
|
1774
1774
|
}
|
1775
1775
|
],
|
1776
1776
|
"functionName": {
|
1777
1777
|
"name": "sub",
|
1778
|
-
"nativeSrc": "3581:3:
|
1778
|
+
"nativeSrc": "3581:3:100",
|
1779
1779
|
"nodeType": "YulIdentifier",
|
1780
|
-
"src": "3581:3:
|
1780
|
+
"src": "3581:3:100"
|
1781
1781
|
},
|
1782
|
-
"nativeSrc": "3581:23:
|
1782
|
+
"nativeSrc": "3581:23:100",
|
1783
1783
|
"nodeType": "YulFunctionCall",
|
1784
|
-
"src": "3581:23:
|
1784
|
+
"src": "3581:23:100"
|
1785
1785
|
}
|
1786
1786
|
],
|
1787
1787
|
"functionName": {
|
1788
1788
|
"name": "calldataload",
|
1789
|
-
"nativeSrc": "3568:12:
|
1789
|
+
"nativeSrc": "3568:12:100",
|
1790
1790
|
"nodeType": "YulIdentifier",
|
1791
|
-
"src": "3568:12:
|
1791
|
+
"src": "3568:12:100"
|
1792
1792
|
},
|
1793
|
-
"nativeSrc": "3568:37:
|
1793
|
+
"nativeSrc": "3568:37:100",
|
1794
1794
|
"nodeType": "YulFunctionCall",
|
1795
|
-
"src": "3568:37:
|
1795
|
+
"src": "3568:37:100"
|
1796
1796
|
},
|
1797
1797
|
"variableNames": [
|
1798
1798
|
{
|
1799
1799
|
"name": "value",
|
1800
|
-
"nativeSrc": "3559:5:
|
1800
|
+
"nativeSrc": "3559:5:100",
|
1801
1801
|
"nodeType": "YulIdentifier",
|
1802
|
-
"src": "3559:5:
|
1802
|
+
"src": "3559:5:100"
|
1803
1803
|
}
|
1804
1804
|
]
|
1805
1805
|
}
|
@@ -1808,49 +1808,49 @@
|
|
1808
1808
|
"evmVersion": "paris",
|
1809
1809
|
"externalReferences": [
|
1810
1810
|
{
|
1811
|
-
"declaration":
|
1811
|
+
"declaration": 42038,
|
1812
1812
|
"isOffset": false,
|
1813
1813
|
"isSlot": false,
|
1814
|
-
"src": "3559:5:
|
1814
|
+
"src": "3559:5:100",
|
1815
1815
|
"valueSize": 1
|
1816
1816
|
}
|
1817
1817
|
],
|
1818
|
-
"id":
|
1818
|
+
"id": 42040,
|
1819
1819
|
"nodeType": "InlineAssembly",
|
1820
|
-
"src": "3466:145:
|
1820
|
+
"src": "3466:145:100"
|
1821
1821
|
}
|
1822
1822
|
]
|
1823
1823
|
},
|
1824
1824
|
"documentation": {
|
1825
|
-
"id":
|
1825
|
+
"id": 42035,
|
1826
1826
|
"nodeType": "StructuredDocumentation",
|
1827
|
-
"src": "3164:234:
|
1827
|
+
"src": "3164:234:100",
|
1828
1828
|
"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."
|
1829
1829
|
},
|
1830
1830
|
"implemented": true,
|
1831
1831
|
"kind": "function",
|
1832
1832
|
"modifiers": [],
|
1833
1833
|
"name": "_msgValue",
|
1834
|
-
"nameLocation": "3410:9:
|
1834
|
+
"nameLocation": "3410:9:100",
|
1835
1835
|
"parameters": {
|
1836
|
-
"id":
|
1836
|
+
"id": 42036,
|
1837
1837
|
"nodeType": "ParameterList",
|
1838
1838
|
"parameters": [],
|
1839
|
-
"src": "3419:2:
|
1839
|
+
"src": "3419:2:100"
|
1840
1840
|
},
|
1841
1841
|
"returnParameters": {
|
1842
|
-
"id":
|
1842
|
+
"id": 42039,
|
1843
1843
|
"nodeType": "ParameterList",
|
1844
1844
|
"parameters": [
|
1845
1845
|
{
|
1846
1846
|
"constant": false,
|
1847
|
-
"id":
|
1847
|
+
"id": 42038,
|
1848
1848
|
"mutability": "mutable",
|
1849
1849
|
"name": "value",
|
1850
|
-
"nameLocation": "3453:5:
|
1850
|
+
"nameLocation": "3453:5:100",
|
1851
1851
|
"nodeType": "VariableDeclaration",
|
1852
|
-
"scope":
|
1853
|
-
"src": "3445:13:
|
1852
|
+
"scope": 42042,
|
1853
|
+
"src": "3445:13:100",
|
1854
1854
|
"stateVariable": false,
|
1855
1855
|
"storageLocation": "default",
|
1856
1856
|
"typeDescriptions": {
|
@@ -1858,10 +1858,10 @@
|
|
1858
1858
|
"typeString": "uint256"
|
1859
1859
|
},
|
1860
1860
|
"typeName": {
|
1861
|
-
"id":
|
1861
|
+
"id": 42037,
|
1862
1862
|
"name": "uint256",
|
1863
1863
|
"nodeType": "ElementaryTypeName",
|
1864
|
-
"src": "3445:7:
|
1864
|
+
"src": "3445:7:100",
|
1865
1865
|
"typeDescriptions": {
|
1866
1866
|
"typeIdentifier": "t_uint256",
|
1867
1867
|
"typeString": "uint256"
|
@@ -1870,22 +1870,22 @@
|
|
1870
1870
|
"visibility": "internal"
|
1871
1871
|
}
|
1872
1872
|
],
|
1873
|
-
"src": "3444:15:
|
1873
|
+
"src": "3444:15:100"
|
1874
1874
|
},
|
1875
|
-
"scope":
|
1875
|
+
"scope": 42054,
|
1876
1876
|
"stateMutability": "pure",
|
1877
1877
|
"virtual": false,
|
1878
1878
|
"visibility": "internal"
|
1879
1879
|
},
|
1880
1880
|
{
|
1881
|
-
"id":
|
1881
|
+
"id": 42053,
|
1882
1882
|
"nodeType": "FunctionDefinition",
|
1883
|
-
"src": "3831:97:
|
1883
|
+
"src": "3831:97:100",
|
1884
1884
|
"nodes": [],
|
1885
1885
|
"body": {
|
1886
|
-
"id":
|
1886
|
+
"id": 42052,
|
1887
1887
|
"nodeType": "Block",
|
1888
|
-
"src": "3881:47:
|
1888
|
+
"src": "3881:47:100",
|
1889
1889
|
"nodes": [],
|
1890
1890
|
"statements": [
|
1891
1891
|
{
|
@@ -1894,33 +1894,33 @@
|
|
1894
1894
|
"expression": {
|
1895
1895
|
"argumentTypes": [],
|
1896
1896
|
"expression": {
|
1897
|
-
"id":
|
1897
|
+
"id": 42048,
|
1898
1898
|
"name": "StoreSwitch",
|
1899
1899
|
"nodeType": "Identifier",
|
1900
1900
|
"overloadedDeclarations": [],
|
1901
|
-
"referencedDeclaration":
|
1902
|
-
"src": "3894:11:
|
1901
|
+
"referencedDeclaration": 33808,
|
1902
|
+
"src": "3894:11:100",
|
1903
1903
|
"typeDescriptions": {
|
1904
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
1904
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33808_$",
|
1905
1905
|
"typeString": "type(library StoreSwitch)"
|
1906
1906
|
}
|
1907
1907
|
},
|
1908
|
-
"id":
|
1908
|
+
"id": 42049,
|
1909
1909
|
"isConstant": false,
|
1910
1910
|
"isLValue": false,
|
1911
1911
|
"isPure": false,
|
1912
1912
|
"lValueRequested": false,
|
1913
|
-
"memberLocation": "3906:15:
|
1913
|
+
"memberLocation": "3906:15:100",
|
1914
1914
|
"memberName": "getStoreAddress",
|
1915
1915
|
"nodeType": "MemberAccess",
|
1916
|
-
"referencedDeclaration":
|
1917
|
-
"src": "3894:27:
|
1916
|
+
"referencedDeclaration": 32552,
|
1917
|
+
"src": "3894:27:100",
|
1918
1918
|
"typeDescriptions": {
|
1919
1919
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
1920
1920
|
"typeString": "function () view returns (address)"
|
1921
1921
|
}
|
1922
1922
|
},
|
1923
|
-
"id":
|
1923
|
+
"id": 42050,
|
1924
1924
|
"isConstant": false,
|
1925
1925
|
"isLValue": false,
|
1926
1926
|
"isPure": false,
|
@@ -1929,50 +1929,50 @@
|
|
1929
1929
|
"nameLocations": [],
|
1930
1930
|
"names": [],
|
1931
1931
|
"nodeType": "FunctionCall",
|
1932
|
-
"src": "3894:29:
|
1932
|
+
"src": "3894:29:100",
|
1933
1933
|
"tryCall": false,
|
1934
1934
|
"typeDescriptions": {
|
1935
1935
|
"typeIdentifier": "t_address",
|
1936
1936
|
"typeString": "address"
|
1937
1937
|
}
|
1938
1938
|
},
|
1939
|
-
"functionReturnParameters":
|
1940
|
-
"id":
|
1939
|
+
"functionReturnParameters": 42047,
|
1940
|
+
"id": 42051,
|
1941
1941
|
"nodeType": "Return",
|
1942
|
-
"src": "3887:36:
|
1942
|
+
"src": "3887:36:100"
|
1943
1943
|
}
|
1944
1944
|
]
|
1945
1945
|
},
|
1946
1946
|
"documentation": {
|
1947
|
-
"id":
|
1947
|
+
"id": 42043,
|
1948
1948
|
"nodeType": "StructuredDocumentation",
|
1949
|
-
"src": "3619:209:
|
1949
|
+
"src": "3619:209:100",
|
1950
1950
|
"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."
|
1951
1951
|
},
|
1952
1952
|
"implemented": true,
|
1953
1953
|
"kind": "function",
|
1954
1954
|
"modifiers": [],
|
1955
1955
|
"name": "_world",
|
1956
|
-
"nameLocation": "3840:6:
|
1956
|
+
"nameLocation": "3840:6:100",
|
1957
1957
|
"parameters": {
|
1958
|
-
"id":
|
1958
|
+
"id": 42044,
|
1959
1959
|
"nodeType": "ParameterList",
|
1960
1960
|
"parameters": [],
|
1961
|
-
"src": "3846:2:
|
1961
|
+
"src": "3846:2:100"
|
1962
1962
|
},
|
1963
1963
|
"returnParameters": {
|
1964
|
-
"id":
|
1964
|
+
"id": 42047,
|
1965
1965
|
"nodeType": "ParameterList",
|
1966
1966
|
"parameters": [
|
1967
1967
|
{
|
1968
1968
|
"constant": false,
|
1969
|
-
"id":
|
1969
|
+
"id": 42046,
|
1970
1970
|
"mutability": "mutable",
|
1971
1971
|
"name": "",
|
1972
1972
|
"nameLocation": "-1:-1:-1",
|
1973
1973
|
"nodeType": "VariableDeclaration",
|
1974
|
-
"scope":
|
1975
|
-
"src": "3872:7:
|
1974
|
+
"scope": 42053,
|
1975
|
+
"src": "3872:7:100",
|
1976
1976
|
"stateVariable": false,
|
1977
1977
|
"storageLocation": "default",
|
1978
1978
|
"typeDescriptions": {
|
@@ -1980,10 +1980,10 @@
|
|
1980
1980
|
"typeString": "address"
|
1981
1981
|
},
|
1982
1982
|
"typeName": {
|
1983
|
-
"id":
|
1983
|
+
"id": 42045,
|
1984
1984
|
"name": "address",
|
1985
1985
|
"nodeType": "ElementaryTypeName",
|
1986
|
-
"src": "3872:7:
|
1986
|
+
"src": "3872:7:100",
|
1987
1987
|
"stateMutability": "nonpayable",
|
1988
1988
|
"typeDescriptions": {
|
1989
1989
|
"typeIdentifier": "t_address",
|
@@ -1993,9 +1993,9 @@
|
|
1993
1993
|
"visibility": "internal"
|
1994
1994
|
}
|
1995
1995
|
],
|
1996
|
-
"src": "3871:9:
|
1996
|
+
"src": "3871:9:100"
|
1997
1997
|
},
|
1998
|
-
"scope":
|
1998
|
+
"scope": 42054,
|
1999
1999
|
"stateMutability": "view",
|
2000
2000
|
"virtual": false,
|
2001
2001
|
"visibility": "internal"
|
@@ -2008,64 +2008,64 @@
|
|
2008
2008
|
"contractKind": "library",
|
2009
2009
|
"fullyImplemented": true,
|
2010
2010
|
"linearizedBaseContracts": [
|
2011
|
-
|
2011
|
+
42054
|
2012
2012
|
],
|
2013
2013
|
"name": "WorldContextConsumerLib",
|
2014
|
-
"nameLocation": "2511:23:
|
2015
|
-
"scope":
|
2014
|
+
"nameLocation": "2511:23:100",
|
2015
|
+
"scope": 42209,
|
2016
2016
|
"usedErrors": [],
|
2017
2017
|
"usedEvents": []
|
2018
2018
|
},
|
2019
2019
|
{
|
2020
|
-
"id":
|
2020
|
+
"id": 42208,
|
2021
2021
|
"nodeType": "ContractDefinition",
|
2022
|
-
"src": "4265:3922:
|
2022
|
+
"src": "4265:3922:100",
|
2023
2023
|
"nodes": [
|
2024
2024
|
{
|
2025
|
-
"id":
|
2025
|
+
"id": 42075,
|
2026
2026
|
"nodeType": "FunctionDefinition",
|
2027
|
-
"src": "4614:201:
|
2027
|
+
"src": "4614:201:100",
|
2028
2028
|
"nodes": [],
|
2029
2029
|
"body": {
|
2030
|
-
"id":
|
2030
|
+
"id": 42074,
|
2031
2031
|
"nodeType": "Block",
|
2032
|
-
"src": "4750:65:
|
2032
|
+
"src": "4750:65:100",
|
2033
2033
|
"nodes": [],
|
2034
2034
|
"statements": [
|
2035
2035
|
{
|
2036
2036
|
"expression": {
|
2037
2037
|
"arguments": [
|
2038
2038
|
{
|
2039
|
-
"id":
|
2039
|
+
"id": 42069,
|
2040
2040
|
"name": "callData",
|
2041
2041
|
"nodeType": "Identifier",
|
2042
2042
|
"overloadedDeclarations": [],
|
2043
|
-
"referencedDeclaration":
|
2044
|
-
"src": "4780:8:
|
2043
|
+
"referencedDeclaration": 42058,
|
2044
|
+
"src": "4780:8:100",
|
2045
2045
|
"typeDescriptions": {
|
2046
2046
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2047
2047
|
"typeString": "bytes memory"
|
2048
2048
|
}
|
2049
2049
|
},
|
2050
2050
|
{
|
2051
|
-
"id":
|
2051
|
+
"id": 42070,
|
2052
2052
|
"name": "msgSender",
|
2053
2053
|
"nodeType": "Identifier",
|
2054
2054
|
"overloadedDeclarations": [],
|
2055
|
-
"referencedDeclaration":
|
2056
|
-
"src": "4790:9:
|
2055
|
+
"referencedDeclaration": 42060,
|
2056
|
+
"src": "4790:9:100",
|
2057
2057
|
"typeDescriptions": {
|
2058
2058
|
"typeIdentifier": "t_address",
|
2059
2059
|
"typeString": "address"
|
2060
2060
|
}
|
2061
2061
|
},
|
2062
2062
|
{
|
2063
|
-
"id":
|
2063
|
+
"id": 42071,
|
2064
2064
|
"name": "msgValue",
|
2065
2065
|
"nodeType": "Identifier",
|
2066
2066
|
"overloadedDeclarations": [],
|
2067
|
-
"referencedDeclaration":
|
2068
|
-
"src": "4801:8:
|
2067
|
+
"referencedDeclaration": 42062,
|
2068
|
+
"src": "4801:8:100",
|
2069
2069
|
"typeDescriptions": {
|
2070
2070
|
"typeIdentifier": "t_uint256",
|
2071
2071
|
"typeString": "uint256"
|
@@ -2088,32 +2088,32 @@
|
|
2088
2088
|
}
|
2089
2089
|
],
|
2090
2090
|
"expression": {
|
2091
|
-
"id":
|
2091
|
+
"id": 42067,
|
2092
2092
|
"name": "abi",
|
2093
2093
|
"nodeType": "Identifier",
|
2094
2094
|
"overloadedDeclarations": [],
|
2095
2095
|
"referencedDeclaration": -1,
|
2096
|
-
"src": "4763:3:
|
2096
|
+
"src": "4763:3:100",
|
2097
2097
|
"typeDescriptions": {
|
2098
2098
|
"typeIdentifier": "t_magic_abi",
|
2099
2099
|
"typeString": "abi"
|
2100
2100
|
}
|
2101
2101
|
},
|
2102
|
-
"id":
|
2102
|
+
"id": 42068,
|
2103
2103
|
"isConstant": false,
|
2104
2104
|
"isLValue": false,
|
2105
2105
|
"isPure": true,
|
2106
2106
|
"lValueRequested": false,
|
2107
|
-
"memberLocation": "4767:12:
|
2107
|
+
"memberLocation": "4767:12:100",
|
2108
2108
|
"memberName": "encodePacked",
|
2109
2109
|
"nodeType": "MemberAccess",
|
2110
|
-
"src": "4763:16:
|
2110
|
+
"src": "4763:16:100",
|
2111
2111
|
"typeDescriptions": {
|
2112
2112
|
"typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
|
2113
2113
|
"typeString": "function () pure returns (bytes memory)"
|
2114
2114
|
}
|
2115
2115
|
},
|
2116
|
-
"id":
|
2116
|
+
"id": 42072,
|
2117
2117
|
"isConstant": false,
|
2118
2118
|
"isLValue": false,
|
2119
2119
|
"isPure": false,
|
@@ -2122,44 +2122,44 @@
|
|
2122
2122
|
"nameLocations": [],
|
2123
2123
|
"names": [],
|
2124
2124
|
"nodeType": "FunctionCall",
|
2125
|
-
"src": "4763:47:
|
2125
|
+
"src": "4763:47:100",
|
2126
2126
|
"tryCall": false,
|
2127
2127
|
"typeDescriptions": {
|
2128
2128
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2129
2129
|
"typeString": "bytes memory"
|
2130
2130
|
}
|
2131
2131
|
},
|
2132
|
-
"functionReturnParameters":
|
2133
|
-
"id":
|
2132
|
+
"functionReturnParameters": 42066,
|
2133
|
+
"id": 42073,
|
2134
2134
|
"nodeType": "Return",
|
2135
|
-
"src": "4756:54:
|
2135
|
+
"src": "4756:54:100"
|
2136
2136
|
}
|
2137
2137
|
]
|
2138
2138
|
},
|
2139
2139
|
"documentation": {
|
2140
|
-
"id":
|
2140
|
+
"id": 42056,
|
2141
2141
|
"nodeType": "StructuredDocumentation",
|
2142
|
-
"src": "4301:310:
|
2142
|
+
"src": "4301:310:100",
|
2143
2143
|
"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."
|
2144
2144
|
},
|
2145
2145
|
"implemented": true,
|
2146
2146
|
"kind": "function",
|
2147
2147
|
"modifiers": [],
|
2148
2148
|
"name": "appendContext",
|
2149
|
-
"nameLocation": "4623:13:
|
2149
|
+
"nameLocation": "4623:13:100",
|
2150
2150
|
"parameters": {
|
2151
|
-
"id":
|
2151
|
+
"id": 42063,
|
2152
2152
|
"nodeType": "ParameterList",
|
2153
2153
|
"parameters": [
|
2154
2154
|
{
|
2155
2155
|
"constant": false,
|
2156
|
-
"id":
|
2156
|
+
"id": 42058,
|
2157
2157
|
"mutability": "mutable",
|
2158
2158
|
"name": "callData",
|
2159
|
-
"nameLocation": "4655:8:
|
2159
|
+
"nameLocation": "4655:8:100",
|
2160
2160
|
"nodeType": "VariableDeclaration",
|
2161
|
-
"scope":
|
2162
|
-
"src": "4642:21:
|
2161
|
+
"scope": 42075,
|
2162
|
+
"src": "4642:21:100",
|
2163
2163
|
"stateVariable": false,
|
2164
2164
|
"storageLocation": "memory",
|
2165
2165
|
"typeDescriptions": {
|
@@ -2167,10 +2167,10 @@
|
|
2167
2167
|
"typeString": "bytes"
|
2168
2168
|
},
|
2169
2169
|
"typeName": {
|
2170
|
-
"id":
|
2170
|
+
"id": 42057,
|
2171
2171
|
"name": "bytes",
|
2172
2172
|
"nodeType": "ElementaryTypeName",
|
2173
|
-
"src": "4642:5:
|
2173
|
+
"src": "4642:5:100",
|
2174
2174
|
"typeDescriptions": {
|
2175
2175
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2176
2176
|
"typeString": "bytes"
|
@@ -2180,13 +2180,13 @@
|
|
2180
2180
|
},
|
2181
2181
|
{
|
2182
2182
|
"constant": false,
|
2183
|
-
"id":
|
2183
|
+
"id": 42060,
|
2184
2184
|
"mutability": "mutable",
|
2185
2185
|
"name": "msgSender",
|
2186
|
-
"nameLocation": "4677:9:
|
2186
|
+
"nameLocation": "4677:9:100",
|
2187
2187
|
"nodeType": "VariableDeclaration",
|
2188
|
-
"scope":
|
2189
|
-
"src": "4669:17:
|
2188
|
+
"scope": 42075,
|
2189
|
+
"src": "4669:17:100",
|
2190
2190
|
"stateVariable": false,
|
2191
2191
|
"storageLocation": "default",
|
2192
2192
|
"typeDescriptions": {
|
@@ -2194,10 +2194,10 @@
|
|
2194
2194
|
"typeString": "address"
|
2195
2195
|
},
|
2196
2196
|
"typeName": {
|
2197
|
-
"id":
|
2197
|
+
"id": 42059,
|
2198
2198
|
"name": "address",
|
2199
2199
|
"nodeType": "ElementaryTypeName",
|
2200
|
-
"src": "4669:7:
|
2200
|
+
"src": "4669:7:100",
|
2201
2201
|
"stateMutability": "nonpayable",
|
2202
2202
|
"typeDescriptions": {
|
2203
2203
|
"typeIdentifier": "t_address",
|
@@ -2208,13 +2208,13 @@
|
|
2208
2208
|
},
|
2209
2209
|
{
|
2210
2210
|
"constant": false,
|
2211
|
-
"id":
|
2211
|
+
"id": 42062,
|
2212
2212
|
"mutability": "mutable",
|
2213
2213
|
"name": "msgValue",
|
2214
|
-
"nameLocation": "4700:8:
|
2214
|
+
"nameLocation": "4700:8:100",
|
2215
2215
|
"nodeType": "VariableDeclaration",
|
2216
|
-
"scope":
|
2217
|
-
"src": "4692:16:
|
2216
|
+
"scope": 42075,
|
2217
|
+
"src": "4692:16:100",
|
2218
2218
|
"stateVariable": false,
|
2219
2219
|
"storageLocation": "default",
|
2220
2220
|
"typeDescriptions": {
|
@@ -2222,10 +2222,10 @@
|
|
2222
2222
|
"typeString": "uint256"
|
2223
2223
|
},
|
2224
2224
|
"typeName": {
|
2225
|
-
"id":
|
2225
|
+
"id": 42061,
|
2226
2226
|
"name": "uint256",
|
2227
2227
|
"nodeType": "ElementaryTypeName",
|
2228
|
-
"src": "4692:7:
|
2228
|
+
"src": "4692:7:100",
|
2229
2229
|
"typeDescriptions": {
|
2230
2230
|
"typeIdentifier": "t_uint256",
|
2231
2231
|
"typeString": "uint256"
|
@@ -2234,21 +2234,21 @@
|
|
2234
2234
|
"visibility": "internal"
|
2235
2235
|
}
|
2236
2236
|
],
|
2237
|
-
"src": "4636:76:
|
2237
|
+
"src": "4636:76:100"
|
2238
2238
|
},
|
2239
2239
|
"returnParameters": {
|
2240
|
-
"id":
|
2240
|
+
"id": 42066,
|
2241
2241
|
"nodeType": "ParameterList",
|
2242
2242
|
"parameters": [
|
2243
2243
|
{
|
2244
2244
|
"constant": false,
|
2245
|
-
"id":
|
2245
|
+
"id": 42065,
|
2246
2246
|
"mutability": "mutable",
|
2247
2247
|
"name": "",
|
2248
2248
|
"nameLocation": "-1:-1:-1",
|
2249
2249
|
"nodeType": "VariableDeclaration",
|
2250
|
-
"scope":
|
2251
|
-
"src": "4736:12:
|
2250
|
+
"scope": 42075,
|
2251
|
+
"src": "4736:12:100",
|
2252
2252
|
"stateVariable": false,
|
2253
2253
|
"storageLocation": "memory",
|
2254
2254
|
"typeDescriptions": {
|
@@ -2256,10 +2256,10 @@
|
|
2256
2256
|
"typeString": "bytes"
|
2257
2257
|
},
|
2258
2258
|
"typeName": {
|
2259
|
-
"id":
|
2259
|
+
"id": 42064,
|
2260
2260
|
"name": "bytes",
|
2261
2261
|
"nodeType": "ElementaryTypeName",
|
2262
|
-
"src": "4736:5:
|
2262
|
+
"src": "4736:5:100",
|
2263
2263
|
"typeDescriptions": {
|
2264
2264
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2265
2265
|
"typeString": "bytes"
|
@@ -2268,27 +2268,27 @@
|
|
2268
2268
|
"visibility": "internal"
|
2269
2269
|
}
|
2270
2270
|
],
|
2271
|
-
"src": "4735:14:
|
2271
|
+
"src": "4735:14:100"
|
2272
2272
|
},
|
2273
|
-
"scope":
|
2273
|
+
"scope": 42208,
|
2274
2274
|
"stateMutability": "pure",
|
2275
2275
|
"virtual": false,
|
2276
2276
|
"visibility": "internal"
|
2277
2277
|
},
|
2278
2278
|
{
|
2279
|
-
"id":
|
2279
|
+
"id": 42107,
|
2280
2280
|
"nodeType": "FunctionDefinition",
|
2281
|
-
"src": "5311:317:
|
2281
|
+
"src": "5311:317:100",
|
2282
2282
|
"nodes": [],
|
2283
2283
|
"body": {
|
2284
|
-
"id":
|
2284
|
+
"id": 42106,
|
2285
2285
|
"nodeType": "Block",
|
2286
|
-
"src": "5483:145:
|
2286
|
+
"src": "5483:145:100",
|
2287
2287
|
"nodes": [],
|
2288
2288
|
"statements": [
|
2289
2289
|
{
|
2290
2290
|
"expression": {
|
2291
|
-
"id":
|
2291
|
+
"id": 42104,
|
2292
2292
|
"isConstant": false,
|
2293
2293
|
"isLValue": false,
|
2294
2294
|
"isPure": false,
|
@@ -2296,38 +2296,38 @@
|
|
2296
2296
|
"leftHandSide": {
|
2297
2297
|
"components": [
|
2298
2298
|
{
|
2299
|
-
"id":
|
2299
|
+
"id": 42091,
|
2300
2300
|
"name": "success",
|
2301
2301
|
"nodeType": "Identifier",
|
2302
2302
|
"overloadedDeclarations": [],
|
2303
|
-
"referencedDeclaration":
|
2304
|
-
"src": "5490:7:
|
2303
|
+
"referencedDeclaration": 42087,
|
2304
|
+
"src": "5490:7:100",
|
2305
2305
|
"typeDescriptions": {
|
2306
2306
|
"typeIdentifier": "t_bool",
|
2307
2307
|
"typeString": "bool"
|
2308
2308
|
}
|
2309
2309
|
},
|
2310
2310
|
{
|
2311
|
-
"id":
|
2311
|
+
"id": 42092,
|
2312
2312
|
"name": "data",
|
2313
2313
|
"nodeType": "Identifier",
|
2314
2314
|
"overloadedDeclarations": [],
|
2315
|
-
"referencedDeclaration":
|
2316
|
-
"src": "5499:4:
|
2315
|
+
"referencedDeclaration": 42089,
|
2316
|
+
"src": "5499:4:100",
|
2317
2317
|
"typeDescriptions": {
|
2318
2318
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2319
2319
|
"typeString": "bytes memory"
|
2320
2320
|
}
|
2321
2321
|
}
|
2322
2322
|
],
|
2323
|
-
"id":
|
2323
|
+
"id": 42093,
|
2324
2324
|
"isConstant": false,
|
2325
2325
|
"isInlineArray": false,
|
2326
2326
|
"isLValue": true,
|
2327
2327
|
"isPure": false,
|
2328
2328
|
"lValueRequested": true,
|
2329
2329
|
"nodeType": "TupleExpression",
|
2330
|
-
"src": "5489:15:
|
2330
|
+
"src": "5489:15:100",
|
2331
2331
|
"typeDescriptions": {
|
2332
2332
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2333
2333
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -2340,36 +2340,36 @@
|
|
2340
2340
|
{
|
2341
2341
|
"arguments": [
|
2342
2342
|
{
|
2343
|
-
"id":
|
2343
|
+
"id": 42099,
|
2344
2344
|
"name": "callData",
|
2345
2345
|
"nodeType": "Identifier",
|
2346
2346
|
"overloadedDeclarations": [],
|
2347
|
-
"referencedDeclaration":
|
2348
|
-
"src": "5564:8:
|
2347
|
+
"referencedDeclaration": 42084,
|
2348
|
+
"src": "5564:8:100",
|
2349
2349
|
"typeDescriptions": {
|
2350
2350
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2351
2351
|
"typeString": "bytes memory"
|
2352
2352
|
}
|
2353
2353
|
},
|
2354
2354
|
{
|
2355
|
-
"id":
|
2355
|
+
"id": 42100,
|
2356
2356
|
"name": "msgSender",
|
2357
2357
|
"nodeType": "Identifier",
|
2358
2358
|
"overloadedDeclarations": [],
|
2359
|
-
"referencedDeclaration":
|
2360
|
-
"src": "5585:9:
|
2359
|
+
"referencedDeclaration": 42078,
|
2360
|
+
"src": "5585:9:100",
|
2361
2361
|
"typeDescriptions": {
|
2362
2362
|
"typeIdentifier": "t_address",
|
2363
2363
|
"typeString": "address"
|
2364
2364
|
}
|
2365
2365
|
},
|
2366
2366
|
{
|
2367
|
-
"id":
|
2367
|
+
"id": 42101,
|
2368
2368
|
"name": "msgValue",
|
2369
2369
|
"nodeType": "Identifier",
|
2370
2370
|
"overloadedDeclarations": [],
|
2371
|
-
"referencedDeclaration":
|
2372
|
-
"src": "5606:8:
|
2371
|
+
"referencedDeclaration": 42080,
|
2372
|
+
"src": "5606:8:100",
|
2373
2373
|
"typeDescriptions": {
|
2374
2374
|
"typeIdentifier": "t_uint256",
|
2375
2375
|
"typeString": "uint256"
|
@@ -2391,27 +2391,27 @@
|
|
2391
2391
|
"typeString": "uint256"
|
2392
2392
|
}
|
2393
2393
|
],
|
2394
|
-
"id":
|
2394
|
+
"id": 42098,
|
2395
2395
|
"name": "appendContext",
|
2396
2396
|
"nodeType": "Identifier",
|
2397
2397
|
"overloadedDeclarations": [],
|
2398
|
-
"referencedDeclaration":
|
2399
|
-
"src": "5538:13:
|
2398
|
+
"referencedDeclaration": 42075,
|
2399
|
+
"src": "5538:13:100",
|
2400
2400
|
"typeDescriptions": {
|
2401
2401
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
2402
2402
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
2403
2403
|
}
|
2404
2404
|
},
|
2405
|
-
"id":
|
2405
|
+
"id": 42102,
|
2406
2406
|
"isConstant": false,
|
2407
2407
|
"isLValue": false,
|
2408
2408
|
"isPure": false,
|
2409
2409
|
"kind": "functionCall",
|
2410
2410
|
"lValueRequested": false,
|
2411
2411
|
"nameLocations": [
|
2412
|
-
"5554:8:
|
2413
|
-
"5574:9:
|
2414
|
-
"5596:8:
|
2412
|
+
"5554:8:100",
|
2413
|
+
"5574:9:100",
|
2414
|
+
"5596:8:100"
|
2415
2415
|
],
|
2416
2416
|
"names": [
|
2417
2417
|
"callData",
|
@@ -2419,7 +2419,7 @@
|
|
2419
2419
|
"msgValue"
|
2420
2420
|
],
|
2421
2421
|
"nodeType": "FunctionCall",
|
2422
|
-
"src": "5538:79:
|
2422
|
+
"src": "5538:79:100",
|
2423
2423
|
"tryCall": false,
|
2424
2424
|
"typeDescriptions": {
|
2425
2425
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2442,32 +2442,32 @@
|
|
2442
2442
|
}
|
2443
2443
|
],
|
2444
2444
|
"expression": {
|
2445
|
-
"id":
|
2445
|
+
"id": 42094,
|
2446
2446
|
"name": "target",
|
2447
2447
|
"nodeType": "Identifier",
|
2448
2448
|
"overloadedDeclarations": [],
|
2449
|
-
"referencedDeclaration":
|
2450
|
-
"src": "5507:6:
|
2449
|
+
"referencedDeclaration": 42082,
|
2450
|
+
"src": "5507:6:100",
|
2451
2451
|
"typeDescriptions": {
|
2452
2452
|
"typeIdentifier": "t_address",
|
2453
2453
|
"typeString": "address"
|
2454
2454
|
}
|
2455
2455
|
},
|
2456
|
-
"id":
|
2456
|
+
"id": 42095,
|
2457
2457
|
"isConstant": false,
|
2458
2458
|
"isLValue": false,
|
2459
2459
|
"isPure": false,
|
2460
2460
|
"lValueRequested": false,
|
2461
|
-
"memberLocation": "5514:4:
|
2461
|
+
"memberLocation": "5514:4:100",
|
2462
2462
|
"memberName": "call",
|
2463
2463
|
"nodeType": "MemberAccess",
|
2464
|
-
"src": "5507:11:
|
2464
|
+
"src": "5507:11:100",
|
2465
2465
|
"typeDescriptions": {
|
2466
2466
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2467
2467
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
2468
2468
|
}
|
2469
2469
|
},
|
2470
|
-
"id":
|
2470
|
+
"id": 42097,
|
2471
2471
|
"isConstant": false,
|
2472
2472
|
"isLValue": false,
|
2473
2473
|
"isPure": false,
|
@@ -2479,14 +2479,14 @@
|
|
2479
2479
|
"options": [
|
2480
2480
|
{
|
2481
2481
|
"hexValue": "30",
|
2482
|
-
"id":
|
2482
|
+
"id": 42096,
|
2483
2483
|
"isConstant": false,
|
2484
2484
|
"isLValue": false,
|
2485
2485
|
"isPure": true,
|
2486
2486
|
"kind": "number",
|
2487
2487
|
"lValueRequested": false,
|
2488
2488
|
"nodeType": "Literal",
|
2489
|
-
"src": "5527:1:
|
2489
|
+
"src": "5527:1:100",
|
2490
2490
|
"typeDescriptions": {
|
2491
2491
|
"typeIdentifier": "t_rational_0_by_1",
|
2492
2492
|
"typeString": "int_const 0"
|
@@ -2494,13 +2494,13 @@
|
|
2494
2494
|
"value": "0"
|
2495
2495
|
}
|
2496
2496
|
],
|
2497
|
-
"src": "5507:23:
|
2497
|
+
"src": "5507:23:100",
|
2498
2498
|
"typeDescriptions": {
|
2499
2499
|
"typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value",
|
2500
2500
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
2501
2501
|
}
|
2502
2502
|
},
|
2503
|
-
"id":
|
2503
|
+
"id": 42103,
|
2504
2504
|
"isConstant": false,
|
2505
2505
|
"isLValue": false,
|
2506
2506
|
"isPure": false,
|
@@ -2509,49 +2509,49 @@
|
|
2509
2509
|
"nameLocations": [],
|
2510
2510
|
"names": [],
|
2511
2511
|
"nodeType": "FunctionCall",
|
2512
|
-
"src": "5507:116:
|
2512
|
+
"src": "5507:116:100",
|
2513
2513
|
"tryCall": false,
|
2514
2514
|
"typeDescriptions": {
|
2515
2515
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2516
2516
|
"typeString": "tuple(bool,bytes memory)"
|
2517
2517
|
}
|
2518
2518
|
},
|
2519
|
-
"src": "5489:134:
|
2519
|
+
"src": "5489:134:100",
|
2520
2520
|
"typeDescriptions": {
|
2521
2521
|
"typeIdentifier": "t_tuple$__$",
|
2522
2522
|
"typeString": "tuple()"
|
2523
2523
|
}
|
2524
2524
|
},
|
2525
|
-
"id":
|
2525
|
+
"id": 42105,
|
2526
2526
|
"nodeType": "ExpressionStatement",
|
2527
|
-
"src": "5489:134:
|
2527
|
+
"src": "5489:134:100"
|
2528
2528
|
}
|
2529
2529
|
]
|
2530
2530
|
},
|
2531
2531
|
"documentation": {
|
2532
|
-
"id":
|
2532
|
+
"id": 42076,
|
2533
2533
|
"nodeType": "StructuredDocumentation",
|
2534
|
-
"src": "4819:489:
|
2534
|
+
"src": "4819:489:100",
|
2535
2535
|
"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."
|
2536
2536
|
},
|
2537
2537
|
"implemented": true,
|
2538
2538
|
"kind": "function",
|
2539
2539
|
"modifiers": [],
|
2540
2540
|
"name": "callWithContext",
|
2541
|
-
"nameLocation": "5320:15:
|
2541
|
+
"nameLocation": "5320:15:100",
|
2542
2542
|
"parameters": {
|
2543
|
-
"id":
|
2543
|
+
"id": 42085,
|
2544
2544
|
"nodeType": "ParameterList",
|
2545
2545
|
"parameters": [
|
2546
2546
|
{
|
2547
2547
|
"constant": false,
|
2548
|
-
"id":
|
2548
|
+
"id": 42078,
|
2549
2549
|
"mutability": "mutable",
|
2550
2550
|
"name": "msgSender",
|
2551
|
-
"nameLocation": "5349:9:
|
2551
|
+
"nameLocation": "5349:9:100",
|
2552
2552
|
"nodeType": "VariableDeclaration",
|
2553
|
-
"scope":
|
2554
|
-
"src": "5341:17:
|
2553
|
+
"scope": 42107,
|
2554
|
+
"src": "5341:17:100",
|
2555
2555
|
"stateVariable": false,
|
2556
2556
|
"storageLocation": "default",
|
2557
2557
|
"typeDescriptions": {
|
@@ -2559,10 +2559,10 @@
|
|
2559
2559
|
"typeString": "address"
|
2560
2560
|
},
|
2561
2561
|
"typeName": {
|
2562
|
-
"id":
|
2562
|
+
"id": 42077,
|
2563
2563
|
"name": "address",
|
2564
2564
|
"nodeType": "ElementaryTypeName",
|
2565
|
-
"src": "5341:7:
|
2565
|
+
"src": "5341:7:100",
|
2566
2566
|
"stateMutability": "nonpayable",
|
2567
2567
|
"typeDescriptions": {
|
2568
2568
|
"typeIdentifier": "t_address",
|
@@ -2573,13 +2573,13 @@
|
|
2573
2573
|
},
|
2574
2574
|
{
|
2575
2575
|
"constant": false,
|
2576
|
-
"id":
|
2576
|
+
"id": 42080,
|
2577
2577
|
"mutability": "mutable",
|
2578
2578
|
"name": "msgValue",
|
2579
|
-
"nameLocation": "5372:8:
|
2579
|
+
"nameLocation": "5372:8:100",
|
2580
2580
|
"nodeType": "VariableDeclaration",
|
2581
|
-
"scope":
|
2582
|
-
"src": "5364:16:
|
2581
|
+
"scope": 42107,
|
2582
|
+
"src": "5364:16:100",
|
2583
2583
|
"stateVariable": false,
|
2584
2584
|
"storageLocation": "default",
|
2585
2585
|
"typeDescriptions": {
|
@@ -2587,10 +2587,10 @@
|
|
2587
2587
|
"typeString": "uint256"
|
2588
2588
|
},
|
2589
2589
|
"typeName": {
|
2590
|
-
"id":
|
2590
|
+
"id": 42079,
|
2591
2591
|
"name": "uint256",
|
2592
2592
|
"nodeType": "ElementaryTypeName",
|
2593
|
-
"src": "5364:7:
|
2593
|
+
"src": "5364:7:100",
|
2594
2594
|
"typeDescriptions": {
|
2595
2595
|
"typeIdentifier": "t_uint256",
|
2596
2596
|
"typeString": "uint256"
|
@@ -2600,13 +2600,13 @@
|
|
2600
2600
|
},
|
2601
2601
|
{
|
2602
2602
|
"constant": false,
|
2603
|
-
"id":
|
2603
|
+
"id": 42082,
|
2604
2604
|
"mutability": "mutable",
|
2605
2605
|
"name": "target",
|
2606
|
-
"nameLocation": "5394:6:
|
2606
|
+
"nameLocation": "5394:6:100",
|
2607
2607
|
"nodeType": "VariableDeclaration",
|
2608
|
-
"scope":
|
2609
|
-
"src": "5386:14:
|
2608
|
+
"scope": 42107,
|
2609
|
+
"src": "5386:14:100",
|
2610
2610
|
"stateVariable": false,
|
2611
2611
|
"storageLocation": "default",
|
2612
2612
|
"typeDescriptions": {
|
@@ -2614,10 +2614,10 @@
|
|
2614
2614
|
"typeString": "address"
|
2615
2615
|
},
|
2616
2616
|
"typeName": {
|
2617
|
-
"id":
|
2617
|
+
"id": 42081,
|
2618
2618
|
"name": "address",
|
2619
2619
|
"nodeType": "ElementaryTypeName",
|
2620
|
-
"src": "5386:7:
|
2620
|
+
"src": "5386:7:100",
|
2621
2621
|
"stateMutability": "nonpayable",
|
2622
2622
|
"typeDescriptions": {
|
2623
2623
|
"typeIdentifier": "t_address",
|
@@ -2628,13 +2628,13 @@
|
|
2628
2628
|
},
|
2629
2629
|
{
|
2630
2630
|
"constant": false,
|
2631
|
-
"id":
|
2631
|
+
"id": 42084,
|
2632
2632
|
"mutability": "mutable",
|
2633
2633
|
"name": "callData",
|
2634
|
-
"nameLocation": "5419:8:
|
2634
|
+
"nameLocation": "5419:8:100",
|
2635
2635
|
"nodeType": "VariableDeclaration",
|
2636
|
-
"scope":
|
2637
|
-
"src": "5406:21:
|
2636
|
+
"scope": 42107,
|
2637
|
+
"src": "5406:21:100",
|
2638
2638
|
"stateVariable": false,
|
2639
2639
|
"storageLocation": "memory",
|
2640
2640
|
"typeDescriptions": {
|
@@ -2642,10 +2642,10 @@
|
|
2642
2642
|
"typeString": "bytes"
|
2643
2643
|
},
|
2644
2644
|
"typeName": {
|
2645
|
-
"id":
|
2645
|
+
"id": 42083,
|
2646
2646
|
"name": "bytes",
|
2647
2647
|
"nodeType": "ElementaryTypeName",
|
2648
|
-
"src": "5406:5:
|
2648
|
+
"src": "5406:5:100",
|
2649
2649
|
"typeDescriptions": {
|
2650
2650
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2651
2651
|
"typeString": "bytes"
|
@@ -2654,21 +2654,21 @@
|
|
2654
2654
|
"visibility": "internal"
|
2655
2655
|
}
|
2656
2656
|
],
|
2657
|
-
"src": "5335:96:
|
2657
|
+
"src": "5335:96:100"
|
2658
2658
|
},
|
2659
2659
|
"returnParameters": {
|
2660
|
-
"id":
|
2660
|
+
"id": 42090,
|
2661
2661
|
"nodeType": "ParameterList",
|
2662
2662
|
"parameters": [
|
2663
2663
|
{
|
2664
2664
|
"constant": false,
|
2665
|
-
"id":
|
2665
|
+
"id": 42087,
|
2666
2666
|
"mutability": "mutable",
|
2667
2667
|
"name": "success",
|
2668
|
-
"nameLocation": "5455:7:
|
2668
|
+
"nameLocation": "5455:7:100",
|
2669
2669
|
"nodeType": "VariableDeclaration",
|
2670
|
-
"scope":
|
2671
|
-
"src": "5450:12:
|
2670
|
+
"scope": 42107,
|
2671
|
+
"src": "5450:12:100",
|
2672
2672
|
"stateVariable": false,
|
2673
2673
|
"storageLocation": "default",
|
2674
2674
|
"typeDescriptions": {
|
@@ -2676,10 +2676,10 @@
|
|
2676
2676
|
"typeString": "bool"
|
2677
2677
|
},
|
2678
2678
|
"typeName": {
|
2679
|
-
"id":
|
2679
|
+
"id": 42086,
|
2680
2680
|
"name": "bool",
|
2681
2681
|
"nodeType": "ElementaryTypeName",
|
2682
|
-
"src": "5450:4:
|
2682
|
+
"src": "5450:4:100",
|
2683
2683
|
"typeDescriptions": {
|
2684
2684
|
"typeIdentifier": "t_bool",
|
2685
2685
|
"typeString": "bool"
|
@@ -2689,13 +2689,13 @@
|
|
2689
2689
|
},
|
2690
2690
|
{
|
2691
2691
|
"constant": false,
|
2692
|
-
"id":
|
2692
|
+
"id": 42089,
|
2693
2693
|
"mutability": "mutable",
|
2694
2694
|
"name": "data",
|
2695
|
-
"nameLocation": "5477:4:
|
2695
|
+
"nameLocation": "5477:4:100",
|
2696
2696
|
"nodeType": "VariableDeclaration",
|
2697
|
-
"scope":
|
2698
|
-
"src": "5464:17:
|
2697
|
+
"scope": 42107,
|
2698
|
+
"src": "5464:17:100",
|
2699
2699
|
"stateVariable": false,
|
2700
2700
|
"storageLocation": "memory",
|
2701
2701
|
"typeDescriptions": {
|
@@ -2703,10 +2703,10 @@
|
|
2703
2703
|
"typeString": "bytes"
|
2704
2704
|
},
|
2705
2705
|
"typeName": {
|
2706
|
-
"id":
|
2706
|
+
"id": 42088,
|
2707
2707
|
"name": "bytes",
|
2708
2708
|
"nodeType": "ElementaryTypeName",
|
2709
|
-
"src": "5464:5:
|
2709
|
+
"src": "5464:5:100",
|
2710
2710
|
"typeDescriptions": {
|
2711
2711
|
"typeIdentifier": "t_bytes_storage_ptr",
|
2712
2712
|
"typeString": "bytes"
|
@@ -2715,27 +2715,27 @@
|
|
2715
2715
|
"visibility": "internal"
|
2716
2716
|
}
|
2717
2717
|
],
|
2718
|
-
"src": "5449:33:
|
2718
|
+
"src": "5449:33:100"
|
2719
2719
|
},
|
2720
|
-
"scope":
|
2720
|
+
"scope": 42208,
|
2721
2721
|
"stateMutability": "nonpayable",
|
2722
2722
|
"virtual": false,
|
2723
2723
|
"visibility": "internal"
|
2724
2724
|
},
|
2725
2725
|
{
|
2726
|
-
"id":
|
2726
|
+
"id": 42137,
|
2727
2727
|
"nodeType": "FunctionDefinition",
|
2728
|
-
"src": "6132:321:
|
2728
|
+
"src": "6132:321:100",
|
2729
2729
|
"nodes": [],
|
2730
2730
|
"body": {
|
2731
|
-
"id":
|
2731
|
+
"id": 42136,
|
2732
2732
|
"nodeType": "Block",
|
2733
|
-
"src": "6312:141:
|
2733
|
+
"src": "6312:141:100",
|
2734
2734
|
"nodes": [],
|
2735
2735
|
"statements": [
|
2736
2736
|
{
|
2737
2737
|
"expression": {
|
2738
|
-
"id":
|
2738
|
+
"id": 42134,
|
2739
2739
|
"isConstant": false,
|
2740
2740
|
"isLValue": false,
|
2741
2741
|
"isPure": false,
|
@@ -2743,38 +2743,38 @@
|
|
2743
2743
|
"leftHandSide": {
|
2744
2744
|
"components": [
|
2745
2745
|
{
|
2746
|
-
"id":
|
2746
|
+
"id": 42123,
|
2747
2747
|
"name": "success",
|
2748
2748
|
"nodeType": "Identifier",
|
2749
2749
|
"overloadedDeclarations": [],
|
2750
|
-
"referencedDeclaration":
|
2751
|
-
"src": "6319:7:
|
2750
|
+
"referencedDeclaration": 42119,
|
2751
|
+
"src": "6319:7:100",
|
2752
2752
|
"typeDescriptions": {
|
2753
2753
|
"typeIdentifier": "t_bool",
|
2754
2754
|
"typeString": "bool"
|
2755
2755
|
}
|
2756
2756
|
},
|
2757
2757
|
{
|
2758
|
-
"id":
|
2758
|
+
"id": 42124,
|
2759
2759
|
"name": "data",
|
2760
2760
|
"nodeType": "Identifier",
|
2761
2761
|
"overloadedDeclarations": [],
|
2762
|
-
"referencedDeclaration":
|
2763
|
-
"src": "6328:4:
|
2762
|
+
"referencedDeclaration": 42121,
|
2763
|
+
"src": "6328:4:100",
|
2764
2764
|
"typeDescriptions": {
|
2765
2765
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2766
2766
|
"typeString": "bytes memory"
|
2767
2767
|
}
|
2768
2768
|
}
|
2769
2769
|
],
|
2770
|
-
"id":
|
2770
|
+
"id": 42125,
|
2771
2771
|
"isConstant": false,
|
2772
2772
|
"isInlineArray": false,
|
2773
2773
|
"isLValue": true,
|
2774
2774
|
"isPure": false,
|
2775
2775
|
"lValueRequested": true,
|
2776
2776
|
"nodeType": "TupleExpression",
|
2777
|
-
"src": "6318:15:
|
2777
|
+
"src": "6318:15:100",
|
2778
2778
|
"typeDescriptions": {
|
2779
2779
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2780
2780
|
"typeString": "tuple(bool,bytes memory)"
|
@@ -2787,36 +2787,36 @@
|
|
2787
2787
|
{
|
2788
2788
|
"arguments": [
|
2789
2789
|
{
|
2790
|
-
"id":
|
2790
|
+
"id": 42129,
|
2791
2791
|
"name": "callData",
|
2792
2792
|
"nodeType": "Identifier",
|
2793
2793
|
"overloadedDeclarations": [],
|
2794
|
-
"referencedDeclaration":
|
2795
|
-
"src": "6389:8:
|
2794
|
+
"referencedDeclaration": 42116,
|
2795
|
+
"src": "6389:8:100",
|
2796
2796
|
"typeDescriptions": {
|
2797
2797
|
"typeIdentifier": "t_bytes_memory_ptr",
|
2798
2798
|
"typeString": "bytes memory"
|
2799
2799
|
}
|
2800
2800
|
},
|
2801
2801
|
{
|
2802
|
-
"id":
|
2802
|
+
"id": 42130,
|
2803
2803
|
"name": "msgSender",
|
2804
2804
|
"nodeType": "Identifier",
|
2805
2805
|
"overloadedDeclarations": [],
|
2806
|
-
"referencedDeclaration":
|
2807
|
-
"src": "6410:9:
|
2806
|
+
"referencedDeclaration": 42110,
|
2807
|
+
"src": "6410:9:100",
|
2808
2808
|
"typeDescriptions": {
|
2809
2809
|
"typeIdentifier": "t_address",
|
2810
2810
|
"typeString": "address"
|
2811
2811
|
}
|
2812
2812
|
},
|
2813
2813
|
{
|
2814
|
-
"id":
|
2814
|
+
"id": 42131,
|
2815
2815
|
"name": "msgValue",
|
2816
2816
|
"nodeType": "Identifier",
|
2817
2817
|
"overloadedDeclarations": [],
|
2818
|
-
"referencedDeclaration":
|
2819
|
-
"src": "6431:8:
|
2818
|
+
"referencedDeclaration": 42112,
|
2819
|
+
"src": "6431:8:100",
|
2820
2820
|
"typeDescriptions": {
|
2821
2821
|
"typeIdentifier": "t_uint256",
|
2822
2822
|
"typeString": "uint256"
|
@@ -2838,27 +2838,27 @@
|
|
2838
2838
|
"typeString": "uint256"
|
2839
2839
|
}
|
2840
2840
|
],
|
2841
|
-
"id":
|
2841
|
+
"id": 42128,
|
2842
2842
|
"name": "appendContext",
|
2843
2843
|
"nodeType": "Identifier",
|
2844
2844
|
"overloadedDeclarations": [],
|
2845
|
-
"referencedDeclaration":
|
2846
|
-
"src": "6363:13:
|
2845
|
+
"referencedDeclaration": 42075,
|
2846
|
+
"src": "6363:13:100",
|
2847
2847
|
"typeDescriptions": {
|
2848
2848
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_address_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
|
2849
2849
|
"typeString": "function (bytes memory,address,uint256) pure returns (bytes memory)"
|
2850
2850
|
}
|
2851
2851
|
},
|
2852
|
-
"id":
|
2852
|
+
"id": 42132,
|
2853
2853
|
"isConstant": false,
|
2854
2854
|
"isLValue": false,
|
2855
2855
|
"isPure": false,
|
2856
2856
|
"kind": "functionCall",
|
2857
2857
|
"lValueRequested": false,
|
2858
2858
|
"nameLocations": [
|
2859
|
-
"6379:8:
|
2860
|
-
"6399:9:
|
2861
|
-
"6421:8:
|
2859
|
+
"6379:8:100",
|
2860
|
+
"6399:9:100",
|
2861
|
+
"6421:8:100"
|
2862
2862
|
],
|
2863
2863
|
"names": [
|
2864
2864
|
"callData",
|
@@ -2866,7 +2866,7 @@
|
|
2866
2866
|
"msgValue"
|
2867
2867
|
],
|
2868
2868
|
"nodeType": "FunctionCall",
|
2869
|
-
"src": "6363:79:
|
2869
|
+
"src": "6363:79:100",
|
2870
2870
|
"tryCall": false,
|
2871
2871
|
"typeDescriptions": {
|
2872
2872
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2882,32 +2882,32 @@
|
|
2882
2882
|
}
|
2883
2883
|
],
|
2884
2884
|
"expression": {
|
2885
|
-
"id":
|
2885
|
+
"id": 42126,
|
2886
2886
|
"name": "target",
|
2887
2887
|
"nodeType": "Identifier",
|
2888
2888
|
"overloadedDeclarations": [],
|
2889
|
-
"referencedDeclaration":
|
2890
|
-
"src": "6336:6:
|
2889
|
+
"referencedDeclaration": 42114,
|
2890
|
+
"src": "6336:6:100",
|
2891
2891
|
"typeDescriptions": {
|
2892
2892
|
"typeIdentifier": "t_address",
|
2893
2893
|
"typeString": "address"
|
2894
2894
|
}
|
2895
2895
|
},
|
2896
|
-
"id":
|
2896
|
+
"id": 42127,
|
2897
2897
|
"isConstant": false,
|
2898
2898
|
"isLValue": false,
|
2899
2899
|
"isPure": false,
|
2900
2900
|
"lValueRequested": false,
|
2901
|
-
"memberLocation": "6343:12:
|
2901
|
+
"memberLocation": "6343:12:100",
|
2902
2902
|
"memberName": "delegatecall",
|
2903
2903
|
"nodeType": "MemberAccess",
|
2904
|
-
"src": "6336:19:
|
2904
|
+
"src": "6336:19:100",
|
2905
2905
|
"typeDescriptions": {
|
2906
2906
|
"typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
2907
2907
|
"typeString": "function (bytes memory) returns (bool,bytes memory)"
|
2908
2908
|
}
|
2909
2909
|
},
|
2910
|
-
"id":
|
2910
|
+
"id": 42133,
|
2911
2911
|
"isConstant": false,
|
2912
2912
|
"isLValue": false,
|
2913
2913
|
"isPure": false,
|
@@ -2916,49 +2916,49 @@
|
|
2916
2916
|
"nameLocations": [],
|
2917
2917
|
"names": [],
|
2918
2918
|
"nodeType": "FunctionCall",
|
2919
|
-
"src": "6336:112:
|
2919
|
+
"src": "6336:112:100",
|
2920
2920
|
"tryCall": false,
|
2921
2921
|
"typeDescriptions": {
|
2922
2922
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
2923
2923
|
"typeString": "tuple(bool,bytes memory)"
|
2924
2924
|
}
|
2925
2925
|
},
|
2926
|
-
"src": "6318:130:
|
2926
|
+
"src": "6318:130:100",
|
2927
2927
|
"typeDescriptions": {
|
2928
2928
|
"typeIdentifier": "t_tuple$__$",
|
2929
2929
|
"typeString": "tuple()"
|
2930
2930
|
}
|
2931
2931
|
},
|
2932
|
-
"id":
|
2932
|
+
"id": 42135,
|
2933
2933
|
"nodeType": "ExpressionStatement",
|
2934
|
-
"src": "6318:130:
|
2934
|
+
"src": "6318:130:100"
|
2935
2935
|
}
|
2936
2936
|
]
|
2937
2937
|
},
|
2938
2938
|
"documentation": {
|
2939
|
-
"id":
|
2939
|
+
"id": 42108,
|
2940
2940
|
"nodeType": "StructuredDocumentation",
|
2941
|
-
"src": "5632:497:
|
2941
|
+
"src": "5632:497:100",
|
2942
2942
|
"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."
|
2943
2943
|
},
|
2944
2944
|
"implemented": true,
|
2945
2945
|
"kind": "function",
|
2946
2946
|
"modifiers": [],
|
2947
2947
|
"name": "delegatecallWithContext",
|
2948
|
-
"nameLocation": "6141:23:
|
2948
|
+
"nameLocation": "6141:23:100",
|
2949
2949
|
"parameters": {
|
2950
|
-
"id":
|
2950
|
+
"id": 42117,
|
2951
2951
|
"nodeType": "ParameterList",
|
2952
2952
|
"parameters": [
|
2953
2953
|
{
|
2954
2954
|
"constant": false,
|
2955
|
-
"id":
|
2955
|
+
"id": 42110,
|
2956
2956
|
"mutability": "mutable",
|
2957
2957
|
"name": "msgSender",
|
2958
|
-
"nameLocation": "6178:9:
|
2958
|
+
"nameLocation": "6178:9:100",
|
2959
2959
|
"nodeType": "VariableDeclaration",
|
2960
|
-
"scope":
|
2961
|
-
"src": "6170:17:
|
2960
|
+
"scope": 42137,
|
2961
|
+
"src": "6170:17:100",
|
2962
2962
|
"stateVariable": false,
|
2963
2963
|
"storageLocation": "default",
|
2964
2964
|
"typeDescriptions": {
|
@@ -2966,10 +2966,10 @@
|
|
2966
2966
|
"typeString": "address"
|
2967
2967
|
},
|
2968
2968
|
"typeName": {
|
2969
|
-
"id":
|
2969
|
+
"id": 42109,
|
2970
2970
|
"name": "address",
|
2971
2971
|
"nodeType": "ElementaryTypeName",
|
2972
|
-
"src": "6170:7:
|
2972
|
+
"src": "6170:7:100",
|
2973
2973
|
"stateMutability": "nonpayable",
|
2974
2974
|
"typeDescriptions": {
|
2975
2975
|
"typeIdentifier": "t_address",
|
@@ -2980,13 +2980,13 @@
|
|
2980
2980
|
},
|
2981
2981
|
{
|
2982
2982
|
"constant": false,
|
2983
|
-
"id":
|
2983
|
+
"id": 42112,
|
2984
2984
|
"mutability": "mutable",
|
2985
2985
|
"name": "msgValue",
|
2986
|
-
"nameLocation": "6201:8:
|
2986
|
+
"nameLocation": "6201:8:100",
|
2987
2987
|
"nodeType": "VariableDeclaration",
|
2988
|
-
"scope":
|
2989
|
-
"src": "6193:16:
|
2988
|
+
"scope": 42137,
|
2989
|
+
"src": "6193:16:100",
|
2990
2990
|
"stateVariable": false,
|
2991
2991
|
"storageLocation": "default",
|
2992
2992
|
"typeDescriptions": {
|
@@ -2994,10 +2994,10 @@
|
|
2994
2994
|
"typeString": "uint256"
|
2995
2995
|
},
|
2996
2996
|
"typeName": {
|
2997
|
-
"id":
|
2997
|
+
"id": 42111,
|
2998
2998
|
"name": "uint256",
|
2999
2999
|
"nodeType": "ElementaryTypeName",
|
3000
|
-
"src": "6193:7:
|
3000
|
+
"src": "6193:7:100",
|
3001
3001
|
"typeDescriptions": {
|
3002
3002
|
"typeIdentifier": "t_uint256",
|
3003
3003
|
"typeString": "uint256"
|
@@ -3007,13 +3007,13 @@
|
|
3007
3007
|
},
|
3008
3008
|
{
|
3009
3009
|
"constant": false,
|
3010
|
-
"id":
|
3010
|
+
"id": 42114,
|
3011
3011
|
"mutability": "mutable",
|
3012
3012
|
"name": "target",
|
3013
|
-
"nameLocation": "6223:6:
|
3013
|
+
"nameLocation": "6223:6:100",
|
3014
3014
|
"nodeType": "VariableDeclaration",
|
3015
|
-
"scope":
|
3016
|
-
"src": "6215:14:
|
3015
|
+
"scope": 42137,
|
3016
|
+
"src": "6215:14:100",
|
3017
3017
|
"stateVariable": false,
|
3018
3018
|
"storageLocation": "default",
|
3019
3019
|
"typeDescriptions": {
|
@@ -3021,10 +3021,10 @@
|
|
3021
3021
|
"typeString": "address"
|
3022
3022
|
},
|
3023
3023
|
"typeName": {
|
3024
|
-
"id":
|
3024
|
+
"id": 42113,
|
3025
3025
|
"name": "address",
|
3026
3026
|
"nodeType": "ElementaryTypeName",
|
3027
|
-
"src": "6215:7:
|
3027
|
+
"src": "6215:7:100",
|
3028
3028
|
"stateMutability": "nonpayable",
|
3029
3029
|
"typeDescriptions": {
|
3030
3030
|
"typeIdentifier": "t_address",
|
@@ -3035,13 +3035,13 @@
|
|
3035
3035
|
},
|
3036
3036
|
{
|
3037
3037
|
"constant": false,
|
3038
|
-
"id":
|
3038
|
+
"id": 42116,
|
3039
3039
|
"mutability": "mutable",
|
3040
3040
|
"name": "callData",
|
3041
|
-
"nameLocation": "6248:8:
|
3041
|
+
"nameLocation": "6248:8:100",
|
3042
3042
|
"nodeType": "VariableDeclaration",
|
3043
|
-
"scope":
|
3044
|
-
"src": "6235:21:
|
3043
|
+
"scope": 42137,
|
3044
|
+
"src": "6235:21:100",
|
3045
3045
|
"stateVariable": false,
|
3046
3046
|
"storageLocation": "memory",
|
3047
3047
|
"typeDescriptions": {
|
@@ -3049,10 +3049,10 @@
|
|
3049
3049
|
"typeString": "bytes"
|
3050
3050
|
},
|
3051
3051
|
"typeName": {
|
3052
|
-
"id":
|
3052
|
+
"id": 42115,
|
3053
3053
|
"name": "bytes",
|
3054
3054
|
"nodeType": "ElementaryTypeName",
|
3055
|
-
"src": "6235:5:
|
3055
|
+
"src": "6235:5:100",
|
3056
3056
|
"typeDescriptions": {
|
3057
3057
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3058
3058
|
"typeString": "bytes"
|
@@ -3061,21 +3061,21 @@
|
|
3061
3061
|
"visibility": "internal"
|
3062
3062
|
}
|
3063
3063
|
],
|
3064
|
-
"src": "6164:96:
|
3064
|
+
"src": "6164:96:100"
|
3065
3065
|
},
|
3066
3066
|
"returnParameters": {
|
3067
|
-
"id":
|
3067
|
+
"id": 42122,
|
3068
3068
|
"nodeType": "ParameterList",
|
3069
3069
|
"parameters": [
|
3070
3070
|
{
|
3071
3071
|
"constant": false,
|
3072
|
-
"id":
|
3072
|
+
"id": 42119,
|
3073
3073
|
"mutability": "mutable",
|
3074
3074
|
"name": "success",
|
3075
|
-
"nameLocation": "6284:7:
|
3075
|
+
"nameLocation": "6284:7:100",
|
3076
3076
|
"nodeType": "VariableDeclaration",
|
3077
|
-
"scope":
|
3078
|
-
"src": "6279:12:
|
3077
|
+
"scope": 42137,
|
3078
|
+
"src": "6279:12:100",
|
3079
3079
|
"stateVariable": false,
|
3080
3080
|
"storageLocation": "default",
|
3081
3081
|
"typeDescriptions": {
|
@@ -3083,10 +3083,10 @@
|
|
3083
3083
|
"typeString": "bool"
|
3084
3084
|
},
|
3085
3085
|
"typeName": {
|
3086
|
-
"id":
|
3086
|
+
"id": 42118,
|
3087
3087
|
"name": "bool",
|
3088
3088
|
"nodeType": "ElementaryTypeName",
|
3089
|
-
"src": "6279:4:
|
3089
|
+
"src": "6279:4:100",
|
3090
3090
|
"typeDescriptions": {
|
3091
3091
|
"typeIdentifier": "t_bool",
|
3092
3092
|
"typeString": "bool"
|
@@ -3096,13 +3096,13 @@
|
|
3096
3096
|
},
|
3097
3097
|
{
|
3098
3098
|
"constant": false,
|
3099
|
-
"id":
|
3099
|
+
"id": 42121,
|
3100
3100
|
"mutability": "mutable",
|
3101
3101
|
"name": "data",
|
3102
|
-
"nameLocation": "6306:4:
|
3102
|
+
"nameLocation": "6306:4:100",
|
3103
3103
|
"nodeType": "VariableDeclaration",
|
3104
|
-
"scope":
|
3105
|
-
"src": "6293:17:
|
3104
|
+
"scope": 42137,
|
3105
|
+
"src": "6293:17:100",
|
3106
3106
|
"stateVariable": false,
|
3107
3107
|
"storageLocation": "memory",
|
3108
3108
|
"typeDescriptions": {
|
@@ -3110,10 +3110,10 @@
|
|
3110
3110
|
"typeString": "bytes"
|
3111
3111
|
},
|
3112
3112
|
"typeName": {
|
3113
|
-
"id":
|
3113
|
+
"id": 42120,
|
3114
3114
|
"name": "bytes",
|
3115
3115
|
"nodeType": "ElementaryTypeName",
|
3116
|
-
"src": "6293:5:
|
3116
|
+
"src": "6293:5:100",
|
3117
3117
|
"typeDescriptions": {
|
3118
3118
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3119
3119
|
"typeString": "bytes"
|
@@ -3122,39 +3122,39 @@
|
|
3122
3122
|
"visibility": "internal"
|
3123
3123
|
}
|
3124
3124
|
],
|
3125
|
-
"src": "6278:33:
|
3125
|
+
"src": "6278:33:100"
|
3126
3126
|
},
|
3127
|
-
"scope":
|
3127
|
+
"scope": 42208,
|
3128
3128
|
"stateMutability": "nonpayable",
|
3129
3129
|
"virtual": false,
|
3130
3130
|
"visibility": "internal"
|
3131
3131
|
},
|
3132
3132
|
{
|
3133
|
-
"id":
|
3133
|
+
"id": 42172,
|
3134
3134
|
"nodeType": "FunctionDefinition",
|
3135
|
-
"src": "6908:399:
|
3135
|
+
"src": "6908:399:100",
|
3136
3136
|
"nodes": [],
|
3137
3137
|
"body": {
|
3138
|
-
"id":
|
3138
|
+
"id": 42171,
|
3139
3139
|
"nodeType": "Block",
|
3140
|
-
"src": "7074:233:
|
3140
|
+
"src": "7074:233:100",
|
3141
3141
|
"nodes": [],
|
3142
3142
|
"statements": [
|
3143
3143
|
{
|
3144
3144
|
"assignments": [
|
3145
|
-
|
3146
|
-
|
3145
|
+
42152,
|
3146
|
+
42154
|
3147
3147
|
],
|
3148
3148
|
"declarations": [
|
3149
3149
|
{
|
3150
3150
|
"constant": false,
|
3151
|
-
"id":
|
3151
|
+
"id": 42152,
|
3152
3152
|
"mutability": "mutable",
|
3153
3153
|
"name": "success",
|
3154
|
-
"nameLocation": "7086:7:
|
3154
|
+
"nameLocation": "7086:7:100",
|
3155
3155
|
"nodeType": "VariableDeclaration",
|
3156
|
-
"scope":
|
3157
|
-
"src": "7081:12:
|
3156
|
+
"scope": 42171,
|
3157
|
+
"src": "7081:12:100",
|
3158
3158
|
"stateVariable": false,
|
3159
3159
|
"storageLocation": "default",
|
3160
3160
|
"typeDescriptions": {
|
@@ -3162,10 +3162,10 @@
|
|
3162
3162
|
"typeString": "bool"
|
3163
3163
|
},
|
3164
3164
|
"typeName": {
|
3165
|
-
"id":
|
3165
|
+
"id": 42151,
|
3166
3166
|
"name": "bool",
|
3167
3167
|
"nodeType": "ElementaryTypeName",
|
3168
|
-
"src": "7081:4:
|
3168
|
+
"src": "7081:4:100",
|
3169
3169
|
"typeDescriptions": {
|
3170
3170
|
"typeIdentifier": "t_bool",
|
3171
3171
|
"typeString": "bool"
|
@@ -3175,13 +3175,13 @@
|
|
3175
3175
|
},
|
3176
3176
|
{
|
3177
3177
|
"constant": false,
|
3178
|
-
"id":
|
3178
|
+
"id": 42154,
|
3179
3179
|
"mutability": "mutable",
|
3180
3180
|
"name": "_data",
|
3181
|
-
"nameLocation": "7108:5:
|
3181
|
+
"nameLocation": "7108:5:100",
|
3182
3182
|
"nodeType": "VariableDeclaration",
|
3183
|
-
"scope":
|
3184
|
-
"src": "7095:18:
|
3183
|
+
"scope": 42171,
|
3184
|
+
"src": "7095:18:100",
|
3185
3185
|
"stateVariable": false,
|
3186
3186
|
"storageLocation": "memory",
|
3187
3187
|
"typeDescriptions": {
|
@@ -3189,10 +3189,10 @@
|
|
3189
3189
|
"typeString": "bytes"
|
3190
3190
|
},
|
3191
3191
|
"typeName": {
|
3192
|
-
"id":
|
3192
|
+
"id": 42153,
|
3193
3193
|
"name": "bytes",
|
3194
3194
|
"nodeType": "ElementaryTypeName",
|
3195
|
-
"src": "7095:5:
|
3195
|
+
"src": "7095:5:100",
|
3196
3196
|
"typeDescriptions": {
|
3197
3197
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3198
3198
|
"typeString": "bytes"
|
@@ -3201,52 +3201,52 @@
|
|
3201
3201
|
"visibility": "internal"
|
3202
3202
|
}
|
3203
3203
|
],
|
3204
|
-
"id":
|
3204
|
+
"id": 42161,
|
3205
3205
|
"initialValue": {
|
3206
3206
|
"arguments": [
|
3207
3207
|
{
|
3208
|
-
"id":
|
3208
|
+
"id": 42156,
|
3209
3209
|
"name": "msgSender",
|
3210
3210
|
"nodeType": "Identifier",
|
3211
3211
|
"overloadedDeclarations": [],
|
3212
|
-
"referencedDeclaration":
|
3213
|
-
"src": "7152:9:
|
3212
|
+
"referencedDeclaration": 42140,
|
3213
|
+
"src": "7152:9:100",
|
3214
3214
|
"typeDescriptions": {
|
3215
3215
|
"typeIdentifier": "t_address",
|
3216
3216
|
"typeString": "address"
|
3217
3217
|
}
|
3218
3218
|
},
|
3219
3219
|
{
|
3220
|
-
"id":
|
3220
|
+
"id": 42157,
|
3221
3221
|
"name": "msgValue",
|
3222
3222
|
"nodeType": "Identifier",
|
3223
3223
|
"overloadedDeclarations": [],
|
3224
|
-
"referencedDeclaration":
|
3225
|
-
"src": "7179:8:
|
3224
|
+
"referencedDeclaration": 42142,
|
3225
|
+
"src": "7179:8:100",
|
3226
3226
|
"typeDescriptions": {
|
3227
3227
|
"typeIdentifier": "t_uint256",
|
3228
3228
|
"typeString": "uint256"
|
3229
3229
|
}
|
3230
3230
|
},
|
3231
3231
|
{
|
3232
|
-
"id":
|
3232
|
+
"id": 42158,
|
3233
3233
|
"name": "target",
|
3234
3234
|
"nodeType": "Identifier",
|
3235
3235
|
"overloadedDeclarations": [],
|
3236
|
-
"referencedDeclaration":
|
3237
|
-
"src": "7203:6:
|
3236
|
+
"referencedDeclaration": 42144,
|
3237
|
+
"src": "7203:6:100",
|
3238
3238
|
"typeDescriptions": {
|
3239
3239
|
"typeIdentifier": "t_address",
|
3240
3240
|
"typeString": "address"
|
3241
3241
|
}
|
3242
3242
|
},
|
3243
3243
|
{
|
3244
|
-
"id":
|
3244
|
+
"id": 42159,
|
3245
3245
|
"name": "callData",
|
3246
3246
|
"nodeType": "Identifier",
|
3247
3247
|
"overloadedDeclarations": [],
|
3248
|
-
"referencedDeclaration":
|
3249
|
-
"src": "7227:8:
|
3248
|
+
"referencedDeclaration": 42146,
|
3249
|
+
"src": "7227:8:100",
|
3250
3250
|
"typeDescriptions": {
|
3251
3251
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3252
3252
|
"typeString": "bytes memory"
|
@@ -3272,28 +3272,28 @@
|
|
3272
3272
|
"typeString": "bytes memory"
|
3273
3273
|
}
|
3274
3274
|
],
|
3275
|
-
"id":
|
3275
|
+
"id": 42155,
|
3276
3276
|
"name": "callWithContext",
|
3277
3277
|
"nodeType": "Identifier",
|
3278
3278
|
"overloadedDeclarations": [],
|
3279
|
-
"referencedDeclaration":
|
3280
|
-
"src": "7117:15:
|
3279
|
+
"referencedDeclaration": 42107,
|
3280
|
+
"src": "7117:15:100",
|
3281
3281
|
"typeDescriptions": {
|
3282
3282
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
3283
3283
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
3284
3284
|
}
|
3285
3285
|
},
|
3286
|
-
"id":
|
3286
|
+
"id": 42160,
|
3287
3287
|
"isConstant": false,
|
3288
3288
|
"isLValue": false,
|
3289
3289
|
"isPure": false,
|
3290
3290
|
"kind": "functionCall",
|
3291
3291
|
"lValueRequested": false,
|
3292
3292
|
"nameLocations": [
|
3293
|
-
"7141:9:
|
3294
|
-
"7169:8:
|
3295
|
-
"7195:6:
|
3296
|
-
"7217:8:
|
3293
|
+
"7141:9:100",
|
3294
|
+
"7169:8:100",
|
3295
|
+
"7195:6:100",
|
3296
|
+
"7217:8:100"
|
3297
3297
|
],
|
3298
3298
|
"names": [
|
3299
3299
|
"msgSender",
|
@@ -3302,7 +3302,7 @@
|
|
3302
3302
|
"callData"
|
3303
3303
|
],
|
3304
3304
|
"nodeType": "FunctionCall",
|
3305
|
-
"src": "7117:125:
|
3305
|
+
"src": "7117:125:100",
|
3306
3306
|
"tryCall": false,
|
3307
3307
|
"typeDescriptions": {
|
3308
3308
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -3310,11 +3310,11 @@
|
|
3310
3310
|
}
|
3311
3311
|
},
|
3312
3312
|
"nodeType": "VariableDeclarationStatement",
|
3313
|
-
"src": "7080:162:
|
3313
|
+
"src": "7080:162:100"
|
3314
3314
|
},
|
3315
3315
|
{
|
3316
3316
|
"condition": {
|
3317
|
-
"id":
|
3317
|
+
"id": 42163,
|
3318
3318
|
"isConstant": false,
|
3319
3319
|
"isLValue": false,
|
3320
3320
|
"isPure": false,
|
@@ -3322,14 +3322,14 @@
|
|
3322
3322
|
"nodeType": "UnaryOperation",
|
3323
3323
|
"operator": "!",
|
3324
3324
|
"prefix": true,
|
3325
|
-
"src": "7252:8:
|
3325
|
+
"src": "7252:8:100",
|
3326
3326
|
"subExpression": {
|
3327
|
-
"id":
|
3327
|
+
"id": 42162,
|
3328
3328
|
"name": "success",
|
3329
3329
|
"nodeType": "Identifier",
|
3330
3330
|
"overloadedDeclarations": [],
|
3331
|
-
"referencedDeclaration":
|
3332
|
-
"src": "7253:7:
|
3331
|
+
"referencedDeclaration": 42152,
|
3332
|
+
"src": "7253:7:100",
|
3333
3333
|
"typeDescriptions": {
|
3334
3334
|
"typeIdentifier": "t_bool",
|
3335
3335
|
"typeString": "bool"
|
@@ -3340,19 +3340,19 @@
|
|
3340
3340
|
"typeString": "bool"
|
3341
3341
|
}
|
3342
3342
|
},
|
3343
|
-
"id":
|
3343
|
+
"id": 42168,
|
3344
3344
|
"nodeType": "IfStatement",
|
3345
|
-
"src": "7248:36:
|
3345
|
+
"src": "7248:36:100",
|
3346
3346
|
"trueBody": {
|
3347
3347
|
"expression": {
|
3348
3348
|
"arguments": [
|
3349
3349
|
{
|
3350
|
-
"id":
|
3350
|
+
"id": 42165,
|
3351
3351
|
"name": "_data",
|
3352
3352
|
"nodeType": "Identifier",
|
3353
3353
|
"overloadedDeclarations": [],
|
3354
|
-
"referencedDeclaration":
|
3355
|
-
"src": "7278:5:
|
3354
|
+
"referencedDeclaration": 42154,
|
3355
|
+
"src": "7278:5:100",
|
3356
3356
|
"typeDescriptions": {
|
3357
3357
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3358
3358
|
"typeString": "bytes memory"
|
@@ -3366,18 +3366,18 @@
|
|
3366
3366
|
"typeString": "bytes memory"
|
3367
3367
|
}
|
3368
3368
|
],
|
3369
|
-
"id":
|
3369
|
+
"id": 42164,
|
3370
3370
|
"name": "revertWithBytes",
|
3371
3371
|
"nodeType": "Identifier",
|
3372
3372
|
"overloadedDeclarations": [],
|
3373
|
-
"referencedDeclaration":
|
3374
|
-
"src": "7262:15:
|
3373
|
+
"referencedDeclaration": 48971,
|
3374
|
+
"src": "7262:15:100",
|
3375
3375
|
"typeDescriptions": {
|
3376
3376
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
3377
3377
|
"typeString": "function (bytes memory) pure"
|
3378
3378
|
}
|
3379
3379
|
},
|
3380
|
-
"id":
|
3380
|
+
"id": 42166,
|
3381
3381
|
"isConstant": false,
|
3382
3382
|
"isLValue": false,
|
3383
3383
|
"isPure": false,
|
@@ -3386,62 +3386,62 @@
|
|
3386
3386
|
"nameLocations": [],
|
3387
3387
|
"names": [],
|
3388
3388
|
"nodeType": "FunctionCall",
|
3389
|
-
"src": "7262:22:
|
3389
|
+
"src": "7262:22:100",
|
3390
3390
|
"tryCall": false,
|
3391
3391
|
"typeDescriptions": {
|
3392
3392
|
"typeIdentifier": "t_tuple$__$",
|
3393
3393
|
"typeString": "tuple()"
|
3394
3394
|
}
|
3395
3395
|
},
|
3396
|
-
"id":
|
3396
|
+
"id": 42167,
|
3397
3397
|
"nodeType": "ExpressionStatement",
|
3398
|
-
"src": "7262:22:
|
3398
|
+
"src": "7262:22:100"
|
3399
3399
|
}
|
3400
3400
|
},
|
3401
3401
|
{
|
3402
3402
|
"expression": {
|
3403
|
-
"id":
|
3403
|
+
"id": 42169,
|
3404
3404
|
"name": "_data",
|
3405
3405
|
"nodeType": "Identifier",
|
3406
3406
|
"overloadedDeclarations": [],
|
3407
|
-
"referencedDeclaration":
|
3408
|
-
"src": "7297:5:
|
3407
|
+
"referencedDeclaration": 42154,
|
3408
|
+
"src": "7297:5:100",
|
3409
3409
|
"typeDescriptions": {
|
3410
3410
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3411
3411
|
"typeString": "bytes memory"
|
3412
3412
|
}
|
3413
3413
|
},
|
3414
|
-
"functionReturnParameters":
|
3415
|
-
"id":
|
3414
|
+
"functionReturnParameters": 42150,
|
3415
|
+
"id": 42170,
|
3416
3416
|
"nodeType": "Return",
|
3417
|
-
"src": "7290:12:
|
3417
|
+
"src": "7290:12:100"
|
3418
3418
|
}
|
3419
3419
|
]
|
3420
3420
|
},
|
3421
3421
|
"documentation": {
|
3422
|
-
"id":
|
3422
|
+
"id": 42138,
|
3423
3423
|
"nodeType": "StructuredDocumentation",
|
3424
|
-
"src": "6457:448:
|
3424
|
+
"src": "6457:448:100",
|
3425
3425
|
"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."
|
3426
3426
|
},
|
3427
3427
|
"implemented": true,
|
3428
3428
|
"kind": "function",
|
3429
3429
|
"modifiers": [],
|
3430
3430
|
"name": "callWithContextOrRevert",
|
3431
|
-
"nameLocation": "6917:23:
|
3431
|
+
"nameLocation": "6917:23:100",
|
3432
3432
|
"parameters": {
|
3433
|
-
"id":
|
3433
|
+
"id": 42147,
|
3434
3434
|
"nodeType": "ParameterList",
|
3435
3435
|
"parameters": [
|
3436
3436
|
{
|
3437
3437
|
"constant": false,
|
3438
|
-
"id":
|
3438
|
+
"id": 42140,
|
3439
3439
|
"mutability": "mutable",
|
3440
3440
|
"name": "msgSender",
|
3441
|
-
"nameLocation": "6954:9:
|
3441
|
+
"nameLocation": "6954:9:100",
|
3442
3442
|
"nodeType": "VariableDeclaration",
|
3443
|
-
"scope":
|
3444
|
-
"src": "6946:17:
|
3443
|
+
"scope": 42172,
|
3444
|
+
"src": "6946:17:100",
|
3445
3445
|
"stateVariable": false,
|
3446
3446
|
"storageLocation": "default",
|
3447
3447
|
"typeDescriptions": {
|
@@ -3449,10 +3449,10 @@
|
|
3449
3449
|
"typeString": "address"
|
3450
3450
|
},
|
3451
3451
|
"typeName": {
|
3452
|
-
"id":
|
3452
|
+
"id": 42139,
|
3453
3453
|
"name": "address",
|
3454
3454
|
"nodeType": "ElementaryTypeName",
|
3455
|
-
"src": "6946:7:
|
3455
|
+
"src": "6946:7:100",
|
3456
3456
|
"stateMutability": "nonpayable",
|
3457
3457
|
"typeDescriptions": {
|
3458
3458
|
"typeIdentifier": "t_address",
|
@@ -3463,13 +3463,13 @@
|
|
3463
3463
|
},
|
3464
3464
|
{
|
3465
3465
|
"constant": false,
|
3466
|
-
"id":
|
3466
|
+
"id": 42142,
|
3467
3467
|
"mutability": "mutable",
|
3468
3468
|
"name": "msgValue",
|
3469
|
-
"nameLocation": "6977:8:
|
3469
|
+
"nameLocation": "6977:8:100",
|
3470
3470
|
"nodeType": "VariableDeclaration",
|
3471
|
-
"scope":
|
3472
|
-
"src": "6969:16:
|
3471
|
+
"scope": 42172,
|
3472
|
+
"src": "6969:16:100",
|
3473
3473
|
"stateVariable": false,
|
3474
3474
|
"storageLocation": "default",
|
3475
3475
|
"typeDescriptions": {
|
@@ -3477,10 +3477,10 @@
|
|
3477
3477
|
"typeString": "uint256"
|
3478
3478
|
},
|
3479
3479
|
"typeName": {
|
3480
|
-
"id":
|
3480
|
+
"id": 42141,
|
3481
3481
|
"name": "uint256",
|
3482
3482
|
"nodeType": "ElementaryTypeName",
|
3483
|
-
"src": "6969:7:
|
3483
|
+
"src": "6969:7:100",
|
3484
3484
|
"typeDescriptions": {
|
3485
3485
|
"typeIdentifier": "t_uint256",
|
3486
3486
|
"typeString": "uint256"
|
@@ -3490,13 +3490,13 @@
|
|
3490
3490
|
},
|
3491
3491
|
{
|
3492
3492
|
"constant": false,
|
3493
|
-
"id":
|
3493
|
+
"id": 42144,
|
3494
3494
|
"mutability": "mutable",
|
3495
3495
|
"name": "target",
|
3496
|
-
"nameLocation": "6999:6:
|
3496
|
+
"nameLocation": "6999:6:100",
|
3497
3497
|
"nodeType": "VariableDeclaration",
|
3498
|
-
"scope":
|
3499
|
-
"src": "6991:14:
|
3498
|
+
"scope": 42172,
|
3499
|
+
"src": "6991:14:100",
|
3500
3500
|
"stateVariable": false,
|
3501
3501
|
"storageLocation": "default",
|
3502
3502
|
"typeDescriptions": {
|
@@ -3504,10 +3504,10 @@
|
|
3504
3504
|
"typeString": "address"
|
3505
3505
|
},
|
3506
3506
|
"typeName": {
|
3507
|
-
"id":
|
3507
|
+
"id": 42143,
|
3508
3508
|
"name": "address",
|
3509
3509
|
"nodeType": "ElementaryTypeName",
|
3510
|
-
"src": "6991:7:
|
3510
|
+
"src": "6991:7:100",
|
3511
3511
|
"stateMutability": "nonpayable",
|
3512
3512
|
"typeDescriptions": {
|
3513
3513
|
"typeIdentifier": "t_address",
|
@@ -3518,13 +3518,13 @@
|
|
3518
3518
|
},
|
3519
3519
|
{
|
3520
3520
|
"constant": false,
|
3521
|
-
"id":
|
3521
|
+
"id": 42146,
|
3522
3522
|
"mutability": "mutable",
|
3523
3523
|
"name": "callData",
|
3524
|
-
"nameLocation": "7024:8:
|
3524
|
+
"nameLocation": "7024:8:100",
|
3525
3525
|
"nodeType": "VariableDeclaration",
|
3526
|
-
"scope":
|
3527
|
-
"src": "7011:21:
|
3526
|
+
"scope": 42172,
|
3527
|
+
"src": "7011:21:100",
|
3528
3528
|
"stateVariable": false,
|
3529
3529
|
"storageLocation": "memory",
|
3530
3530
|
"typeDescriptions": {
|
@@ -3532,10 +3532,10 @@
|
|
3532
3532
|
"typeString": "bytes"
|
3533
3533
|
},
|
3534
3534
|
"typeName": {
|
3535
|
-
"id":
|
3535
|
+
"id": 42145,
|
3536
3536
|
"name": "bytes",
|
3537
3537
|
"nodeType": "ElementaryTypeName",
|
3538
|
-
"src": "7011:5:
|
3538
|
+
"src": "7011:5:100",
|
3539
3539
|
"typeDescriptions": {
|
3540
3540
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3541
3541
|
"typeString": "bytes"
|
@@ -3544,21 +3544,21 @@
|
|
3544
3544
|
"visibility": "internal"
|
3545
3545
|
}
|
3546
3546
|
],
|
3547
|
-
"src": "6940:96:
|
3547
|
+
"src": "6940:96:100"
|
3548
3548
|
},
|
3549
3549
|
"returnParameters": {
|
3550
|
-
"id":
|
3550
|
+
"id": 42150,
|
3551
3551
|
"nodeType": "ParameterList",
|
3552
3552
|
"parameters": [
|
3553
3553
|
{
|
3554
3554
|
"constant": false,
|
3555
|
-
"id":
|
3555
|
+
"id": 42149,
|
3556
3556
|
"mutability": "mutable",
|
3557
3557
|
"name": "data",
|
3558
|
-
"nameLocation": "7068:4:
|
3558
|
+
"nameLocation": "7068:4:100",
|
3559
3559
|
"nodeType": "VariableDeclaration",
|
3560
|
-
"scope":
|
3561
|
-
"src": "7055:17:
|
3560
|
+
"scope": 42172,
|
3561
|
+
"src": "7055:17:100",
|
3562
3562
|
"stateVariable": false,
|
3563
3563
|
"storageLocation": "memory",
|
3564
3564
|
"typeDescriptions": {
|
@@ -3566,10 +3566,10 @@
|
|
3566
3566
|
"typeString": "bytes"
|
3567
3567
|
},
|
3568
3568
|
"typeName": {
|
3569
|
-
"id":
|
3569
|
+
"id": 42148,
|
3570
3570
|
"name": "bytes",
|
3571
3571
|
"nodeType": "ElementaryTypeName",
|
3572
|
-
"src": "7055:5:
|
3572
|
+
"src": "7055:5:100",
|
3573
3573
|
"typeDescriptions": {
|
3574
3574
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3575
3575
|
"typeString": "bytes"
|
@@ -3578,39 +3578,39 @@
|
|
3578
3578
|
"visibility": "internal"
|
3579
3579
|
}
|
3580
3580
|
],
|
3581
|
-
"src": "7054:19:
|
3581
|
+
"src": "7054:19:100"
|
3582
3582
|
},
|
3583
|
-
"scope":
|
3583
|
+
"scope": 42208,
|
3584
3584
|
"stateMutability": "nonpayable",
|
3585
3585
|
"virtual": false,
|
3586
3586
|
"visibility": "internal"
|
3587
3587
|
},
|
3588
3588
|
{
|
3589
|
-
"id":
|
3589
|
+
"id": 42207,
|
3590
3590
|
"nodeType": "FunctionDefinition",
|
3591
|
-
"src": "7770:415:
|
3591
|
+
"src": "7770:415:100",
|
3592
3592
|
"nodes": [],
|
3593
3593
|
"body": {
|
3594
|
-
"id":
|
3594
|
+
"id": 42206,
|
3595
3595
|
"nodeType": "Block",
|
3596
|
-
"src": "7944:241:
|
3596
|
+
"src": "7944:241:100",
|
3597
3597
|
"nodes": [],
|
3598
3598
|
"statements": [
|
3599
3599
|
{
|
3600
3600
|
"assignments": [
|
3601
|
-
|
3602
|
-
|
3601
|
+
42187,
|
3602
|
+
42189
|
3603
3603
|
],
|
3604
3604
|
"declarations": [
|
3605
3605
|
{
|
3606
3606
|
"constant": false,
|
3607
|
-
"id":
|
3607
|
+
"id": 42187,
|
3608
3608
|
"mutability": "mutable",
|
3609
3609
|
"name": "success",
|
3610
|
-
"nameLocation": "7956:7:
|
3610
|
+
"nameLocation": "7956:7:100",
|
3611
3611
|
"nodeType": "VariableDeclaration",
|
3612
|
-
"scope":
|
3613
|
-
"src": "7951:12:
|
3612
|
+
"scope": 42206,
|
3613
|
+
"src": "7951:12:100",
|
3614
3614
|
"stateVariable": false,
|
3615
3615
|
"storageLocation": "default",
|
3616
3616
|
"typeDescriptions": {
|
@@ -3618,10 +3618,10 @@
|
|
3618
3618
|
"typeString": "bool"
|
3619
3619
|
},
|
3620
3620
|
"typeName": {
|
3621
|
-
"id":
|
3621
|
+
"id": 42186,
|
3622
3622
|
"name": "bool",
|
3623
3623
|
"nodeType": "ElementaryTypeName",
|
3624
|
-
"src": "7951:4:
|
3624
|
+
"src": "7951:4:100",
|
3625
3625
|
"typeDescriptions": {
|
3626
3626
|
"typeIdentifier": "t_bool",
|
3627
3627
|
"typeString": "bool"
|
@@ -3631,13 +3631,13 @@
|
|
3631
3631
|
},
|
3632
3632
|
{
|
3633
3633
|
"constant": false,
|
3634
|
-
"id":
|
3634
|
+
"id": 42189,
|
3635
3635
|
"mutability": "mutable",
|
3636
3636
|
"name": "_data",
|
3637
|
-
"nameLocation": "7978:5:
|
3637
|
+
"nameLocation": "7978:5:100",
|
3638
3638
|
"nodeType": "VariableDeclaration",
|
3639
|
-
"scope":
|
3640
|
-
"src": "7965:18:
|
3639
|
+
"scope": 42206,
|
3640
|
+
"src": "7965:18:100",
|
3641
3641
|
"stateVariable": false,
|
3642
3642
|
"storageLocation": "memory",
|
3643
3643
|
"typeDescriptions": {
|
@@ -3645,10 +3645,10 @@
|
|
3645
3645
|
"typeString": "bytes"
|
3646
3646
|
},
|
3647
3647
|
"typeName": {
|
3648
|
-
"id":
|
3648
|
+
"id": 42188,
|
3649
3649
|
"name": "bytes",
|
3650
3650
|
"nodeType": "ElementaryTypeName",
|
3651
|
-
"src": "7965:5:
|
3651
|
+
"src": "7965:5:100",
|
3652
3652
|
"typeDescriptions": {
|
3653
3653
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3654
3654
|
"typeString": "bytes"
|
@@ -3657,52 +3657,52 @@
|
|
3657
3657
|
"visibility": "internal"
|
3658
3658
|
}
|
3659
3659
|
],
|
3660
|
-
"id":
|
3660
|
+
"id": 42196,
|
3661
3661
|
"initialValue": {
|
3662
3662
|
"arguments": [
|
3663
3663
|
{
|
3664
|
-
"id":
|
3664
|
+
"id": 42191,
|
3665
3665
|
"name": "msgSender",
|
3666
3666
|
"nodeType": "Identifier",
|
3667
3667
|
"overloadedDeclarations": [],
|
3668
|
-
"referencedDeclaration":
|
3669
|
-
"src": "8030:9:
|
3668
|
+
"referencedDeclaration": 42175,
|
3669
|
+
"src": "8030:9:100",
|
3670
3670
|
"typeDescriptions": {
|
3671
3671
|
"typeIdentifier": "t_address",
|
3672
3672
|
"typeString": "address"
|
3673
3673
|
}
|
3674
3674
|
},
|
3675
3675
|
{
|
3676
|
-
"id":
|
3676
|
+
"id": 42192,
|
3677
3677
|
"name": "msgValue",
|
3678
3678
|
"nodeType": "Identifier",
|
3679
3679
|
"overloadedDeclarations": [],
|
3680
|
-
"referencedDeclaration":
|
3681
|
-
"src": "8057:8:
|
3680
|
+
"referencedDeclaration": 42177,
|
3681
|
+
"src": "8057:8:100",
|
3682
3682
|
"typeDescriptions": {
|
3683
3683
|
"typeIdentifier": "t_uint256",
|
3684
3684
|
"typeString": "uint256"
|
3685
3685
|
}
|
3686
3686
|
},
|
3687
3687
|
{
|
3688
|
-
"id":
|
3688
|
+
"id": 42193,
|
3689
3689
|
"name": "target",
|
3690
3690
|
"nodeType": "Identifier",
|
3691
3691
|
"overloadedDeclarations": [],
|
3692
|
-
"referencedDeclaration":
|
3693
|
-
"src": "8081:6:
|
3692
|
+
"referencedDeclaration": 42179,
|
3693
|
+
"src": "8081:6:100",
|
3694
3694
|
"typeDescriptions": {
|
3695
3695
|
"typeIdentifier": "t_address",
|
3696
3696
|
"typeString": "address"
|
3697
3697
|
}
|
3698
3698
|
},
|
3699
3699
|
{
|
3700
|
-
"id":
|
3700
|
+
"id": 42194,
|
3701
3701
|
"name": "callData",
|
3702
3702
|
"nodeType": "Identifier",
|
3703
3703
|
"overloadedDeclarations": [],
|
3704
|
-
"referencedDeclaration":
|
3705
|
-
"src": "8105:8:
|
3704
|
+
"referencedDeclaration": 42181,
|
3705
|
+
"src": "8105:8:100",
|
3706
3706
|
"typeDescriptions": {
|
3707
3707
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3708
3708
|
"typeString": "bytes memory"
|
@@ -3728,28 +3728,28 @@
|
|
3728
3728
|
"typeString": "bytes memory"
|
3729
3729
|
}
|
3730
3730
|
],
|
3731
|
-
"id":
|
3731
|
+
"id": 42190,
|
3732
3732
|
"name": "delegatecallWithContext",
|
3733
3733
|
"nodeType": "Identifier",
|
3734
3734
|
"overloadedDeclarations": [],
|
3735
|
-
"referencedDeclaration":
|
3736
|
-
"src": "7987:23:
|
3735
|
+
"referencedDeclaration": 42137,
|
3736
|
+
"src": "7987:23:100",
|
3737
3737
|
"typeDescriptions": {
|
3738
3738
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$",
|
3739
3739
|
"typeString": "function (address,uint256,address,bytes memory) returns (bool,bytes memory)"
|
3740
3740
|
}
|
3741
3741
|
},
|
3742
|
-
"id":
|
3742
|
+
"id": 42195,
|
3743
3743
|
"isConstant": false,
|
3744
3744
|
"isLValue": false,
|
3745
3745
|
"isPure": false,
|
3746
3746
|
"kind": "functionCall",
|
3747
3747
|
"lValueRequested": false,
|
3748
3748
|
"nameLocations": [
|
3749
|
-
"8019:9:
|
3750
|
-
"8047:8:
|
3751
|
-
"8073:6:
|
3752
|
-
"8095:8:
|
3749
|
+
"8019:9:100",
|
3750
|
+
"8047:8:100",
|
3751
|
+
"8073:6:100",
|
3752
|
+
"8095:8:100"
|
3753
3753
|
],
|
3754
3754
|
"names": [
|
3755
3755
|
"msgSender",
|
@@ -3758,7 +3758,7 @@
|
|
3758
3758
|
"callData"
|
3759
3759
|
],
|
3760
3760
|
"nodeType": "FunctionCall",
|
3761
|
-
"src": "7987:133:
|
3761
|
+
"src": "7987:133:100",
|
3762
3762
|
"tryCall": false,
|
3763
3763
|
"typeDescriptions": {
|
3764
3764
|
"typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$",
|
@@ -3766,11 +3766,11 @@
|
|
3766
3766
|
}
|
3767
3767
|
},
|
3768
3768
|
"nodeType": "VariableDeclarationStatement",
|
3769
|
-
"src": "7950:170:
|
3769
|
+
"src": "7950:170:100"
|
3770
3770
|
},
|
3771
3771
|
{
|
3772
3772
|
"condition": {
|
3773
|
-
"id":
|
3773
|
+
"id": 42198,
|
3774
3774
|
"isConstant": false,
|
3775
3775
|
"isLValue": false,
|
3776
3776
|
"isPure": false,
|
@@ -3778,14 +3778,14 @@
|
|
3778
3778
|
"nodeType": "UnaryOperation",
|
3779
3779
|
"operator": "!",
|
3780
3780
|
"prefix": true,
|
3781
|
-
"src": "8130:8:
|
3781
|
+
"src": "8130:8:100",
|
3782
3782
|
"subExpression": {
|
3783
|
-
"id":
|
3783
|
+
"id": 42197,
|
3784
3784
|
"name": "success",
|
3785
3785
|
"nodeType": "Identifier",
|
3786
3786
|
"overloadedDeclarations": [],
|
3787
|
-
"referencedDeclaration":
|
3788
|
-
"src": "8131:7:
|
3787
|
+
"referencedDeclaration": 42187,
|
3788
|
+
"src": "8131:7:100",
|
3789
3789
|
"typeDescriptions": {
|
3790
3790
|
"typeIdentifier": "t_bool",
|
3791
3791
|
"typeString": "bool"
|
@@ -3796,19 +3796,19 @@
|
|
3796
3796
|
"typeString": "bool"
|
3797
3797
|
}
|
3798
3798
|
},
|
3799
|
-
"id":
|
3799
|
+
"id": 42203,
|
3800
3800
|
"nodeType": "IfStatement",
|
3801
|
-
"src": "8126:36:
|
3801
|
+
"src": "8126:36:100",
|
3802
3802
|
"trueBody": {
|
3803
3803
|
"expression": {
|
3804
3804
|
"arguments": [
|
3805
3805
|
{
|
3806
|
-
"id":
|
3806
|
+
"id": 42200,
|
3807
3807
|
"name": "_data",
|
3808
3808
|
"nodeType": "Identifier",
|
3809
3809
|
"overloadedDeclarations": [],
|
3810
|
-
"referencedDeclaration":
|
3811
|
-
"src": "8156:5:
|
3810
|
+
"referencedDeclaration": 42189,
|
3811
|
+
"src": "8156:5:100",
|
3812
3812
|
"typeDescriptions": {
|
3813
3813
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3814
3814
|
"typeString": "bytes memory"
|
@@ -3822,18 +3822,18 @@
|
|
3822
3822
|
"typeString": "bytes memory"
|
3823
3823
|
}
|
3824
3824
|
],
|
3825
|
-
"id":
|
3825
|
+
"id": 42199,
|
3826
3826
|
"name": "revertWithBytes",
|
3827
3827
|
"nodeType": "Identifier",
|
3828
3828
|
"overloadedDeclarations": [],
|
3829
|
-
"referencedDeclaration":
|
3830
|
-
"src": "8140:15:
|
3829
|
+
"referencedDeclaration": 48971,
|
3830
|
+
"src": "8140:15:100",
|
3831
3831
|
"typeDescriptions": {
|
3832
3832
|
"typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
|
3833
3833
|
"typeString": "function (bytes memory) pure"
|
3834
3834
|
}
|
3835
3835
|
},
|
3836
|
-
"id":
|
3836
|
+
"id": 42201,
|
3837
3837
|
"isConstant": false,
|
3838
3838
|
"isLValue": false,
|
3839
3839
|
"isPure": false,
|
@@ -3842,62 +3842,62 @@
|
|
3842
3842
|
"nameLocations": [],
|
3843
3843
|
"names": [],
|
3844
3844
|
"nodeType": "FunctionCall",
|
3845
|
-
"src": "8140:22:
|
3845
|
+
"src": "8140:22:100",
|
3846
3846
|
"tryCall": false,
|
3847
3847
|
"typeDescriptions": {
|
3848
3848
|
"typeIdentifier": "t_tuple$__$",
|
3849
3849
|
"typeString": "tuple()"
|
3850
3850
|
}
|
3851
3851
|
},
|
3852
|
-
"id":
|
3852
|
+
"id": 42202,
|
3853
3853
|
"nodeType": "ExpressionStatement",
|
3854
|
-
"src": "8140:22:
|
3854
|
+
"src": "8140:22:100"
|
3855
3855
|
}
|
3856
3856
|
},
|
3857
3857
|
{
|
3858
3858
|
"expression": {
|
3859
|
-
"id":
|
3859
|
+
"id": 42204,
|
3860
3860
|
"name": "_data",
|
3861
3861
|
"nodeType": "Identifier",
|
3862
3862
|
"overloadedDeclarations": [],
|
3863
|
-
"referencedDeclaration":
|
3864
|
-
"src": "8175:5:
|
3863
|
+
"referencedDeclaration": 42189,
|
3864
|
+
"src": "8175:5:100",
|
3865
3865
|
"typeDescriptions": {
|
3866
3866
|
"typeIdentifier": "t_bytes_memory_ptr",
|
3867
3867
|
"typeString": "bytes memory"
|
3868
3868
|
}
|
3869
3869
|
},
|
3870
|
-
"functionReturnParameters":
|
3871
|
-
"id":
|
3870
|
+
"functionReturnParameters": 42185,
|
3871
|
+
"id": 42205,
|
3872
3872
|
"nodeType": "Return",
|
3873
|
-
"src": "8168:12:
|
3873
|
+
"src": "8168:12:100"
|
3874
3874
|
}
|
3875
3875
|
]
|
3876
3876
|
},
|
3877
3877
|
"documentation": {
|
3878
|
-
"id":
|
3878
|
+
"id": 42173,
|
3879
3879
|
"nodeType": "StructuredDocumentation",
|
3880
|
-
"src": "7311:456:
|
3880
|
+
"src": "7311:456:100",
|
3881
3881
|
"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."
|
3882
3882
|
},
|
3883
3883
|
"implemented": true,
|
3884
3884
|
"kind": "function",
|
3885
3885
|
"modifiers": [],
|
3886
3886
|
"name": "delegatecallWithContextOrRevert",
|
3887
|
-
"nameLocation": "7779:31:
|
3887
|
+
"nameLocation": "7779:31:100",
|
3888
3888
|
"parameters": {
|
3889
|
-
"id":
|
3889
|
+
"id": 42182,
|
3890
3890
|
"nodeType": "ParameterList",
|
3891
3891
|
"parameters": [
|
3892
3892
|
{
|
3893
3893
|
"constant": false,
|
3894
|
-
"id":
|
3894
|
+
"id": 42175,
|
3895
3895
|
"mutability": "mutable",
|
3896
3896
|
"name": "msgSender",
|
3897
|
-
"nameLocation": "7824:9:
|
3897
|
+
"nameLocation": "7824:9:100",
|
3898
3898
|
"nodeType": "VariableDeclaration",
|
3899
|
-
"scope":
|
3900
|
-
"src": "7816:17:
|
3899
|
+
"scope": 42207,
|
3900
|
+
"src": "7816:17:100",
|
3901
3901
|
"stateVariable": false,
|
3902
3902
|
"storageLocation": "default",
|
3903
3903
|
"typeDescriptions": {
|
@@ -3905,10 +3905,10 @@
|
|
3905
3905
|
"typeString": "address"
|
3906
3906
|
},
|
3907
3907
|
"typeName": {
|
3908
|
-
"id":
|
3908
|
+
"id": 42174,
|
3909
3909
|
"name": "address",
|
3910
3910
|
"nodeType": "ElementaryTypeName",
|
3911
|
-
"src": "7816:7:
|
3911
|
+
"src": "7816:7:100",
|
3912
3912
|
"stateMutability": "nonpayable",
|
3913
3913
|
"typeDescriptions": {
|
3914
3914
|
"typeIdentifier": "t_address",
|
@@ -3919,13 +3919,13 @@
|
|
3919
3919
|
},
|
3920
3920
|
{
|
3921
3921
|
"constant": false,
|
3922
|
-
"id":
|
3922
|
+
"id": 42177,
|
3923
3923
|
"mutability": "mutable",
|
3924
3924
|
"name": "msgValue",
|
3925
|
-
"nameLocation": "7847:8:
|
3925
|
+
"nameLocation": "7847:8:100",
|
3926
3926
|
"nodeType": "VariableDeclaration",
|
3927
|
-
"scope":
|
3928
|
-
"src": "7839:16:
|
3927
|
+
"scope": 42207,
|
3928
|
+
"src": "7839:16:100",
|
3929
3929
|
"stateVariable": false,
|
3930
3930
|
"storageLocation": "default",
|
3931
3931
|
"typeDescriptions": {
|
@@ -3933,10 +3933,10 @@
|
|
3933
3933
|
"typeString": "uint256"
|
3934
3934
|
},
|
3935
3935
|
"typeName": {
|
3936
|
-
"id":
|
3936
|
+
"id": 42176,
|
3937
3937
|
"name": "uint256",
|
3938
3938
|
"nodeType": "ElementaryTypeName",
|
3939
|
-
"src": "7839:7:
|
3939
|
+
"src": "7839:7:100",
|
3940
3940
|
"typeDescriptions": {
|
3941
3941
|
"typeIdentifier": "t_uint256",
|
3942
3942
|
"typeString": "uint256"
|
@@ -3946,13 +3946,13 @@
|
|
3946
3946
|
},
|
3947
3947
|
{
|
3948
3948
|
"constant": false,
|
3949
|
-
"id":
|
3949
|
+
"id": 42179,
|
3950
3950
|
"mutability": "mutable",
|
3951
3951
|
"name": "target",
|
3952
|
-
"nameLocation": "7869:6:
|
3952
|
+
"nameLocation": "7869:6:100",
|
3953
3953
|
"nodeType": "VariableDeclaration",
|
3954
|
-
"scope":
|
3955
|
-
"src": "7861:14:
|
3954
|
+
"scope": 42207,
|
3955
|
+
"src": "7861:14:100",
|
3956
3956
|
"stateVariable": false,
|
3957
3957
|
"storageLocation": "default",
|
3958
3958
|
"typeDescriptions": {
|
@@ -3960,10 +3960,10 @@
|
|
3960
3960
|
"typeString": "address"
|
3961
3961
|
},
|
3962
3962
|
"typeName": {
|
3963
|
-
"id":
|
3963
|
+
"id": 42178,
|
3964
3964
|
"name": "address",
|
3965
3965
|
"nodeType": "ElementaryTypeName",
|
3966
|
-
"src": "7861:7:
|
3966
|
+
"src": "7861:7:100",
|
3967
3967
|
"stateMutability": "nonpayable",
|
3968
3968
|
"typeDescriptions": {
|
3969
3969
|
"typeIdentifier": "t_address",
|
@@ -3974,13 +3974,13 @@
|
|
3974
3974
|
},
|
3975
3975
|
{
|
3976
3976
|
"constant": false,
|
3977
|
-
"id":
|
3977
|
+
"id": 42181,
|
3978
3978
|
"mutability": "mutable",
|
3979
3979
|
"name": "callData",
|
3980
|
-
"nameLocation": "7894:8:
|
3980
|
+
"nameLocation": "7894:8:100",
|
3981
3981
|
"nodeType": "VariableDeclaration",
|
3982
|
-
"scope":
|
3983
|
-
"src": "7881:21:
|
3982
|
+
"scope": 42207,
|
3983
|
+
"src": "7881:21:100",
|
3984
3984
|
"stateVariable": false,
|
3985
3985
|
"storageLocation": "memory",
|
3986
3986
|
"typeDescriptions": {
|
@@ -3988,10 +3988,10 @@
|
|
3988
3988
|
"typeString": "bytes"
|
3989
3989
|
},
|
3990
3990
|
"typeName": {
|
3991
|
-
"id":
|
3991
|
+
"id": 42180,
|
3992
3992
|
"name": "bytes",
|
3993
3993
|
"nodeType": "ElementaryTypeName",
|
3994
|
-
"src": "7881:5:
|
3994
|
+
"src": "7881:5:100",
|
3995
3995
|
"typeDescriptions": {
|
3996
3996
|
"typeIdentifier": "t_bytes_storage_ptr",
|
3997
3997
|
"typeString": "bytes"
|
@@ -4000,21 +4000,21 @@
|
|
4000
4000
|
"visibility": "internal"
|
4001
4001
|
}
|
4002
4002
|
],
|
4003
|
-
"src": "7810:96:
|
4003
|
+
"src": "7810:96:100"
|
4004
4004
|
},
|
4005
4005
|
"returnParameters": {
|
4006
|
-
"id":
|
4006
|
+
"id": 42185,
|
4007
4007
|
"nodeType": "ParameterList",
|
4008
4008
|
"parameters": [
|
4009
4009
|
{
|
4010
4010
|
"constant": false,
|
4011
|
-
"id":
|
4011
|
+
"id": 42184,
|
4012
4012
|
"mutability": "mutable",
|
4013
4013
|
"name": "data",
|
4014
|
-
"nameLocation": "7938:4:
|
4014
|
+
"nameLocation": "7938:4:100",
|
4015
4015
|
"nodeType": "VariableDeclaration",
|
4016
|
-
"scope":
|
4017
|
-
"src": "7925:17:
|
4016
|
+
"scope": 42207,
|
4017
|
+
"src": "7925:17:100",
|
4018
4018
|
"stateVariable": false,
|
4019
4019
|
"storageLocation": "memory",
|
4020
4020
|
"typeDescriptions": {
|
@@ -4022,10 +4022,10 @@
|
|
4022
4022
|
"typeString": "bytes"
|
4023
4023
|
},
|
4024
4024
|
"typeName": {
|
4025
|
-
"id":
|
4025
|
+
"id": 42183,
|
4026
4026
|
"name": "bytes",
|
4027
4027
|
"nodeType": "ElementaryTypeName",
|
4028
|
-
"src": "7925:5:
|
4028
|
+
"src": "7925:5:100",
|
4029
4029
|
"typeDescriptions": {
|
4030
4030
|
"typeIdentifier": "t_bytes_storage_ptr",
|
4031
4031
|
"typeString": "bytes"
|
@@ -4034,9 +4034,9 @@
|
|
4034
4034
|
"visibility": "internal"
|
4035
4035
|
}
|
4036
4036
|
],
|
4037
|
-
"src": "7924:19:
|
4037
|
+
"src": "7924:19:100"
|
4038
4038
|
},
|
4039
|
-
"scope":
|
4039
|
+
"scope": 42208,
|
4040
4040
|
"stateMutability": "nonpayable",
|
4041
4041
|
"virtual": false,
|
4042
4042
|
"visibility": "internal"
|
@@ -4048,23 +4048,23 @@
|
|
4048
4048
|
"contractDependencies": [],
|
4049
4049
|
"contractKind": "library",
|
4050
4050
|
"documentation": {
|
4051
|
-
"id":
|
4051
|
+
"id": 42055,
|
4052
4052
|
"nodeType": "StructuredDocumentation",
|
4053
|
-
"src": "3932:332:
|
4053
|
+
"src": "3932:332:100",
|
4054
4054
|
"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."
|
4055
4055
|
},
|
4056
4056
|
"fullyImplemented": true,
|
4057
4057
|
"linearizedBaseContracts": [
|
4058
|
-
|
4058
|
+
42208
|
4059
4059
|
],
|
4060
4060
|
"name": "WorldContextProviderLib",
|
4061
|
-
"nameLocation": "4273:23:
|
4062
|
-
"scope":
|
4061
|
+
"nameLocation": "4273:23:100",
|
4062
|
+
"scope": 42209,
|
4063
4063
|
"usedErrors": [],
|
4064
4064
|
"usedEvents": []
|
4065
4065
|
}
|
4066
4066
|
],
|
4067
4067
|
"license": "MIT"
|
4068
4068
|
},
|
4069
|
-
"id":
|
4069
|
+
"id": 100
|
4070
4070
|
}
|