@latticexyz/world-modules 2.0.0-main-e4e7d774 → 2.0.0-main-430e6b29
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.json +200 -200
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/Balances.sol/Balances.json +1713 -1713
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +207 -207
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +89 -89
- package/out/FunctionSelectors.sol/FunctionSelectors.json +2335 -2335
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +68 -68
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
- package/out/ISystemHook.sol/ISystemHook.json +16 -16
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +14 -14
- package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +861 -861
- package/out/KeysInTableModule.sol/KeysInTableModule.json +527 -527
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +989 -989
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +416 -416
- package/out/Module.sol/Module.json +75 -75
- package/out/NamespaceOwner.sol/NamespaceOwner.json +464 -464
- package/out/ResourceAccess.sol/ResourceAccess.json +471 -471
- 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 +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +293 -293
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +19 -19
- package/out/SystemHooks.sol/SystemHooks.json +4091 -4091
- package/out/SystemSwitch.sol/SystemSwitch.json +356 -356
- package/out/Systems.sol/Systems.json +2459 -2459
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +111 -111
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +317 -317
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +85 -85
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2723 -2723
- 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 +101 -101
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +101 -101
- package/out/constants.sol/constants.json +403 -120
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +105 -105
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +128 -128
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1338 -1338
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
- package/out/src/Hook.sol/HookInstance.json +331 -331
- package/out/src/Hook.sol/HookLib.json +331 -331
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/ISystemHook.sol/ISystemHook.json +90 -90
- package/out/src/IWorldErrors.sol/IWorldErrors.json +151 -151
- package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
- package/out/src/Memory.sol/Memory.json +91 -91
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
- package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
- package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
- package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
- package/out/src/Schema.sol/SchemaInstance.json +790 -790
- package/out/src/Schema.sol/SchemaLib.json +790 -790
- package/out/src/Slice.sol/SliceInstance.json +430 -430
- package/out/src/Slice.sol/SliceLib.json +430 -430
- package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2483 -2483
- package/out/src/WorldContext.sol/WorldContextConsumer.json +418 -418
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +418 -418
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +418 -418
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/systemHookTypes.sol/systemHookTypes.json +25 -25
- package/out/tables/ResourceIds.sol/ResourceIds.json +1747 -1747
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +41 -41
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -518,41 +518,41 @@
|
|
518
518
|
},
|
519
519
|
"ast": {
|
520
520
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldContext.sol",
|
521
|
-
"id":
|
521
|
+
"id": 42227,
|
522
522
|
"exportedSymbols": {
|
523
523
|
"CONTEXT_BYTES": [
|
524
|
-
|
524
|
+
41978
|
525
525
|
],
|
526
526
|
"ERC165_INTERFACE_ID": [
|
527
|
-
|
527
|
+
75623
|
528
528
|
],
|
529
529
|
"IWorldContextConsumer": [
|
530
|
-
|
530
|
+
75676
|
531
531
|
],
|
532
532
|
"StoreSwitch": [
|
533
|
-
|
533
|
+
33826
|
534
534
|
],
|
535
535
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
536
|
-
|
536
|
+
75654
|
537
537
|
],
|
538
538
|
"WorldContextConsumer": [
|
539
|
-
|
539
|
+
42032
|
540
540
|
],
|
541
541
|
"WorldContextConsumerLib": [
|
542
|
-
|
542
|
+
42072
|
543
543
|
],
|
544
544
|
"WorldContextProviderLib": [
|
545
|
-
|
545
|
+
42226
|
546
546
|
],
|
547
547
|
"revertWithBytes": [
|
548
|
-
|
548
|
+
49007
|
549
549
|
]
|
550
550
|
},
|
551
551
|
"nodeType": "SourceUnit",
|
552
552
|
"src": "32:8156:100",
|
553
553
|
"nodes": [
|
554
554
|
{
|
555
|
-
"id":
|
555
|
+
"id": 41964,
|
556
556
|
"nodeType": "PragmaDirective",
|
557
557
|
"src": "32:25:100",
|
558
558
|
"nodes": [],
|
@@ -564,23 +564,23 @@
|
|
564
564
|
]
|
565
565
|
},
|
566
566
|
{
|
567
|
-
"id":
|
567
|
+
"id": 41966,
|
568
568
|
"nodeType": "ImportDirective",
|
569
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": 42227,
|
575
|
+
"sourceUnit": 33827,
|
576
576
|
"symbolAliases": [
|
577
577
|
{
|
578
578
|
"foreign": {
|
579
|
-
"id":
|
579
|
+
"id": 41965,
|
580
580
|
"name": "StoreSwitch",
|
581
581
|
"nodeType": "Identifier",
|
582
582
|
"overloadedDeclarations": [],
|
583
|
-
"referencedDeclaration":
|
583
|
+
"referencedDeclaration": 33826,
|
584
584
|
"src": "68:11:100",
|
585
585
|
"typeDescriptions": {}
|
586
586
|
},
|
@@ -590,23 +590,23 @@
|
|
590
590
|
"unitAlias": ""
|
591
591
|
},
|
592
592
|
{
|
593
|
-
"id":
|
593
|
+
"id": 41968,
|
594
594
|
"nodeType": "ImportDirective",
|
595
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": 42227,
|
601
|
+
"sourceUnit": 49008,
|
602
602
|
"symbolAliases": [
|
603
603
|
{
|
604
604
|
"foreign": {
|
605
|
-
"id":
|
605
|
+
"id": 41967,
|
606
606
|
"name": "revertWithBytes",
|
607
607
|
"nodeType": "Identifier",
|
608
608
|
"overloadedDeclarations": [],
|
609
|
-
"referencedDeclaration":
|
609
|
+
"referencedDeclaration": 49007,
|
610
610
|
"src": "137:15:100",
|
611
611
|
"typeDescriptions": {}
|
612
612
|
},
|
@@ -616,23 +616,23 @@
|
|
616
616
|
"unitAlias": ""
|
617
617
|
},
|
618
618
|
{
|
619
|
-
"id":
|
619
|
+
"id": 41970,
|
620
620
|
"nodeType": "ImportDirective",
|
621
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": 42227,
|
627
|
+
"sourceUnit": 75634,
|
628
628
|
"symbolAliases": [
|
629
629
|
{
|
630
630
|
"foreign": {
|
631
|
-
"id":
|
631
|
+
"id": 41969,
|
632
632
|
"name": "ERC165_INTERFACE_ID",
|
633
633
|
"nodeType": "Identifier",
|
634
634
|
"overloadedDeclarations": [],
|
635
|
-
"referencedDeclaration":
|
635
|
+
"referencedDeclaration": 75623,
|
636
636
|
"src": "194:19:100",
|
637
637
|
"typeDescriptions": {}
|
638
638
|
},
|
@@ -642,23 +642,23 @@
|
|
642
642
|
"unitAlias": ""
|
643
643
|
},
|
644
644
|
{
|
645
|
-
"id":
|
645
|
+
"id": 41973,
|
646
646
|
"nodeType": "ImportDirective",
|
647
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": 42227,
|
653
|
+
"sourceUnit": 75677,
|
654
654
|
"symbolAliases": [
|
655
655
|
{
|
656
656
|
"foreign": {
|
657
|
-
"id":
|
657
|
+
"id": 41971,
|
658
658
|
"name": "IWorldContextConsumer",
|
659
659
|
"nodeType": "Identifier",
|
660
660
|
"overloadedDeclarations": [],
|
661
|
-
"referencedDeclaration":
|
661
|
+
"referencedDeclaration": 75676,
|
662
662
|
"src": "247:21:100",
|
663
663
|
"typeDescriptions": {}
|
664
664
|
},
|
@@ -666,11 +666,11 @@
|
|
666
666
|
},
|
667
667
|
{
|
668
668
|
"foreign": {
|
669
|
-
"id":
|
669
|
+
"id": 41972,
|
670
670
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
671
671
|
"nodeType": "Identifier",
|
672
672
|
"overloadedDeclarations": [],
|
673
|
-
"referencedDeclaration":
|
673
|
+
"referencedDeclaration": 75654,
|
674
674
|
"src": "270:35:100",
|
675
675
|
"typeDescriptions": {}
|
676
676
|
},
|
@@ -680,7 +680,7 @@
|
|
680
680
|
"unitAlias": ""
|
681
681
|
},
|
682
682
|
{
|
683
|
-
"id":
|
683
|
+
"id": 41978,
|
684
684
|
"nodeType": "VariableDeclaration",
|
685
685
|
"src": "420:40:100",
|
686
686
|
"nodes": [],
|
@@ -688,7 +688,7 @@
|
|
688
688
|
"mutability": "constant",
|
689
689
|
"name": "CONTEXT_BYTES",
|
690
690
|
"nameLocation": "437:13:100",
|
691
|
-
"scope":
|
691
|
+
"scope": 42227,
|
692
692
|
"stateVariable": false,
|
693
693
|
"storageLocation": "default",
|
694
694
|
"typeDescriptions": {
|
@@ -696,7 +696,7 @@
|
|
696
696
|
"typeString": "uint256"
|
697
697
|
},
|
698
698
|
"typeName": {
|
699
|
-
"id":
|
699
|
+
"id": 41974,
|
700
700
|
"name": "uint256",
|
701
701
|
"nodeType": "ElementaryTypeName",
|
702
702
|
"src": "420:7:100",
|
@@ -710,14 +710,14 @@
|
|
710
710
|
"typeIdentifier": "t_rational_52_by_1",
|
711
711
|
"typeString": "int_const 52"
|
712
712
|
},
|
713
|
-
"id":
|
713
|
+
"id": 41977,
|
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": 41975,
|
721
721
|
"isConstant": false,
|
722
722
|
"isLValue": false,
|
723
723
|
"isPure": true,
|
@@ -735,7 +735,7 @@
|
|
735
735
|
"operator": "+",
|
736
736
|
"rightExpression": {
|
737
737
|
"hexValue": "3332",
|
738
|
-
"id":
|
738
|
+
"id": 41976,
|
739
739
|
"isConstant": false,
|
740
740
|
"isLValue": false,
|
741
741
|
"isPure": true,
|
@@ -758,17 +758,17 @@
|
|
758
758
|
"visibility": "internal"
|
759
759
|
},
|
760
760
|
{
|
761
|
-
"id":
|
761
|
+
"id": 42032,
|
762
762
|
"nodeType": "ContractDefinition",
|
763
763
|
"src": "937:1564:100",
|
764
764
|
"nodes": [
|
765
765
|
{
|
766
|
-
"id":
|
766
|
+
"id": 41992,
|
767
767
|
"nodeType": "FunctionDefinition",
|
768
768
|
"src": "1245:113:100",
|
769
769
|
"nodes": [],
|
770
770
|
"body": {
|
771
|
-
"id":
|
771
|
+
"id": 41991,
|
772
772
|
"nodeType": "Block",
|
773
773
|
"src": "1304:54:100",
|
774
774
|
"nodes": [],
|
@@ -779,18 +779,18 @@
|
|
779
779
|
"expression": {
|
780
780
|
"argumentTypes": [],
|
781
781
|
"expression": {
|
782
|
-
"id":
|
782
|
+
"id": 41987,
|
783
783
|
"name": "WorldContextConsumerLib",
|
784
784
|
"nodeType": "Identifier",
|
785
785
|
"overloadedDeclarations": [],
|
786
|
-
"referencedDeclaration":
|
786
|
+
"referencedDeclaration": 42072,
|
787
787
|
"src": "1317:23:100",
|
788
788
|
"typeDescriptions": {
|
789
|
-
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$
|
789
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$42072_$",
|
790
790
|
"typeString": "type(library WorldContextConsumerLib)"
|
791
791
|
}
|
792
792
|
},
|
793
|
-
"id":
|
793
|
+
"id": 41988,
|
794
794
|
"isConstant": false,
|
795
795
|
"isLValue": false,
|
796
796
|
"isPure": false,
|
@@ -798,14 +798,14 @@
|
|
798
798
|
"memberLocation": "1341:10:100",
|
799
799
|
"memberName": "_msgSender",
|
800
800
|
"nodeType": "MemberAccess",
|
801
|
-
"referencedDeclaration":
|
801
|
+
"referencedDeclaration": 42052,
|
802
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": 41989,
|
809
809
|
"isConstant": false,
|
810
810
|
"isLValue": false,
|
811
811
|
"isPure": false,
|
@@ -821,18 +821,18 @@
|
|
821
821
|
"typeString": "address"
|
822
822
|
}
|
823
823
|
},
|
824
|
-
"functionReturnParameters":
|
825
|
-
"id":
|
824
|
+
"functionReturnParameters": 41986,
|
825
|
+
"id": 41990,
|
826
826
|
"nodeType": "Return",
|
827
827
|
"src": "1310:43:100"
|
828
828
|
}
|
829
829
|
]
|
830
830
|
},
|
831
831
|
"baseFunctions": [
|
832
|
-
|
832
|
+
75663
|
833
833
|
],
|
834
834
|
"documentation": {
|
835
|
-
"id":
|
835
|
+
"id": 41982,
|
836
836
|
"nodeType": "StructuredDocumentation",
|
837
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."
|
@@ -844,23 +844,23 @@
|
|
844
844
|
"name": "_msgSender",
|
845
845
|
"nameLocation": "1254:10:100",
|
846
846
|
"parameters": {
|
847
|
-
"id":
|
847
|
+
"id": 41983,
|
848
848
|
"nodeType": "ParameterList",
|
849
849
|
"parameters": [],
|
850
850
|
"src": "1264:2:100"
|
851
851
|
},
|
852
852
|
"returnParameters": {
|
853
|
-
"id":
|
853
|
+
"id": 41986,
|
854
854
|
"nodeType": "ParameterList",
|
855
855
|
"parameters": [
|
856
856
|
{
|
857
857
|
"constant": false,
|
858
|
-
"id":
|
858
|
+
"id": 41985,
|
859
859
|
"mutability": "mutable",
|
860
860
|
"name": "sender",
|
861
861
|
"nameLocation": "1296:6:100",
|
862
862
|
"nodeType": "VariableDeclaration",
|
863
|
-
"scope":
|
863
|
+
"scope": 41992,
|
864
864
|
"src": "1288:14:100",
|
865
865
|
"stateVariable": false,
|
866
866
|
"storageLocation": "default",
|
@@ -869,7 +869,7 @@
|
|
869
869
|
"typeString": "address"
|
870
870
|
},
|
871
871
|
"typeName": {
|
872
|
-
"id":
|
872
|
+
"id": 41984,
|
873
873
|
"name": "address",
|
874
874
|
"nodeType": "ElementaryTypeName",
|
875
875
|
"src": "1288:7:100",
|
@@ -884,18 +884,18 @@
|
|
884
884
|
],
|
885
885
|
"src": "1287:16:100"
|
886
886
|
},
|
887
|
-
"scope":
|
887
|
+
"scope": 42032,
|
888
888
|
"stateMutability": "view",
|
889
889
|
"virtual": false,
|
890
890
|
"visibility": "public"
|
891
891
|
},
|
892
892
|
{
|
893
|
-
"id":
|
893
|
+
"id": 42003,
|
894
894
|
"nodeType": "FunctionDefinition",
|
895
895
|
"src": "1599:110:100",
|
896
896
|
"nodes": [],
|
897
897
|
"body": {
|
898
|
-
"id":
|
898
|
+
"id": 42002,
|
899
899
|
"nodeType": "Block",
|
900
900
|
"src": "1656:53:100",
|
901
901
|
"nodes": [],
|
@@ -906,18 +906,18 @@
|
|
906
906
|
"expression": {
|
907
907
|
"argumentTypes": [],
|
908
908
|
"expression": {
|
909
|
-
"id":
|
909
|
+
"id": 41998,
|
910
910
|
"name": "WorldContextConsumerLib",
|
911
911
|
"nodeType": "Identifier",
|
912
912
|
"overloadedDeclarations": [],
|
913
|
-
"referencedDeclaration":
|
913
|
+
"referencedDeclaration": 42072,
|
914
914
|
"src": "1669:23:100",
|
915
915
|
"typeDescriptions": {
|
916
|
-
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$
|
916
|
+
"typeIdentifier": "t_type$_t_contract$_WorldContextConsumerLib_$42072_$",
|
917
917
|
"typeString": "type(library WorldContextConsumerLib)"
|
918
918
|
}
|
919
919
|
},
|
920
|
-
"id":
|
920
|
+
"id": 41999,
|
921
921
|
"isConstant": false,
|
922
922
|
"isLValue": false,
|
923
923
|
"isPure": false,
|
@@ -925,14 +925,14 @@
|
|
925
925
|
"memberLocation": "1693:9:100",
|
926
926
|
"memberName": "_msgValue",
|
927
927
|
"nodeType": "MemberAccess",
|
928
|
-
"referencedDeclaration":
|
928
|
+
"referencedDeclaration": 42060,
|
929
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": 42000,
|
936
936
|
"isConstant": false,
|
937
937
|
"isLValue": false,
|
938
938
|
"isPure": false,
|
@@ -948,18 +948,18 @@
|
|
948
948
|
"typeString": "uint256"
|
949
949
|
}
|
950
950
|
},
|
951
|
-
"functionReturnParameters":
|
952
|
-
"id":
|
951
|
+
"functionReturnParameters": 41997,
|
952
|
+
"id": 42001,
|
953
953
|
"nodeType": "Return",
|
954
954
|
"src": "1662:42:100"
|
955
955
|
}
|
956
956
|
]
|
957
957
|
},
|
958
958
|
"baseFunctions": [
|
959
|
-
|
959
|
+
75669
|
960
960
|
],
|
961
961
|
"documentation": {
|
962
|
-
"id":
|
962
|
+
"id": 41993,
|
963
963
|
"nodeType": "StructuredDocumentation",
|
964
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."
|
@@ -971,23 +971,23 @@
|
|
971
971
|
"name": "_msgValue",
|
972
972
|
"nameLocation": "1608:9:100",
|
973
973
|
"parameters": {
|
974
|
-
"id":
|
974
|
+
"id": 41994,
|
975
975
|
"nodeType": "ParameterList",
|
976
976
|
"parameters": [],
|
977
977
|
"src": "1617:2:100"
|
978
978
|
},
|
979
979
|
"returnParameters": {
|
980
|
-
"id":
|
980
|
+
"id": 41997,
|
981
981
|
"nodeType": "ParameterList",
|
982
982
|
"parameters": [
|
983
983
|
{
|
984
984
|
"constant": false,
|
985
|
-
"id":
|
985
|
+
"id": 41996,
|
986
986
|
"mutability": "mutable",
|
987
987
|
"name": "value",
|
988
988
|
"nameLocation": "1649:5:100",
|
989
989
|
"nodeType": "VariableDeclaration",
|
990
|
-
"scope":
|
990
|
+
"scope": 42003,
|
991
991
|
"src": "1641:13:100",
|
992
992
|
"stateVariable": false,
|
993
993
|
"storageLocation": "default",
|
@@ -996,7 +996,7 @@
|
|
996
996
|
"typeString": "uint256"
|
997
997
|
},
|
998
998
|
"typeName": {
|
999
|
-
"id":
|
999
|
+
"id": 41995,
|
1000
1000
|
"name": "uint256",
|
1001
1001
|
"nodeType": "ElementaryTypeName",
|
1002
1002
|
"src": "1641:7:100",
|
@@ -1010,18 +1010,18 @@
|
|
1010
1010
|
],
|
1011
1011
|
"src": "1640:15:100"
|
1012
1012
|
},
|
1013
|
-
"scope":
|
1013
|
+
"scope": 42032,
|
1014
1014
|
"stateMutability": "pure",
|
1015
1015
|
"virtual": false,
|
1016
1016
|
"visibility": "public"
|
1017
1017
|
},
|
1018
1018
|
{
|
1019
|
-
"id":
|
1019
|
+
"id": 42014,
|
1020
1020
|
"nodeType": "FunctionDefinition",
|
1021
1021
|
"src": "1925:95:100",
|
1022
1022
|
"nodes": [],
|
1023
1023
|
"body": {
|
1024
|
-
"id":
|
1024
|
+
"id": 42013,
|
1025
1025
|
"nodeType": "Block",
|
1026
1026
|
"src": "1973:47:100",
|
1027
1027
|
"nodes": [],
|
@@ -1032,18 +1032,18 @@
|
|
1032
1032
|
"expression": {
|
1033
1033
|
"argumentTypes": [],
|
1034
1034
|
"expression": {
|
1035
|
-
"id":
|
1035
|
+
"id": 42009,
|
1036
1036
|
"name": "StoreSwitch",
|
1037
1037
|
"nodeType": "Identifier",
|
1038
1038
|
"overloadedDeclarations": [],
|
1039
|
-
"referencedDeclaration":
|
1039
|
+
"referencedDeclaration": 33826,
|
1040
1040
|
"src": "1986:11:100",
|
1041
1041
|
"typeDescriptions": {
|
1042
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
1042
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
|
1043
1043
|
"typeString": "type(library StoreSwitch)"
|
1044
1044
|
}
|
1045
1045
|
},
|
1046
|
-
"id":
|
1046
|
+
"id": 42010,
|
1047
1047
|
"isConstant": false,
|
1048
1048
|
"isLValue": false,
|
1049
1049
|
"isPure": false,
|
@@ -1051,14 +1051,14 @@
|
|
1051
1051
|
"memberLocation": "1998:15:100",
|
1052
1052
|
"memberName": "getStoreAddress",
|
1053
1053
|
"nodeType": "MemberAccess",
|
1054
|
-
"referencedDeclaration":
|
1054
|
+
"referencedDeclaration": 32570,
|
1055
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": 42011,
|
1062
1062
|
"isConstant": false,
|
1063
1063
|
"isLValue": false,
|
1064
1064
|
"isPure": false,
|
@@ -1074,18 +1074,18 @@
|
|
1074
1074
|
"typeString": "address"
|
1075
1075
|
}
|
1076
1076
|
},
|
1077
|
-
"functionReturnParameters":
|
1078
|
-
"id":
|
1077
|
+
"functionReturnParameters": 42008,
|
1078
|
+
"id": 42012,
|
1079
1079
|
"nodeType": "Return",
|
1080
1080
|
"src": "1979:36:100"
|
1081
1081
|
}
|
1082
1082
|
]
|
1083
1083
|
},
|
1084
1084
|
"baseFunctions": [
|
1085
|
-
|
1085
|
+
75675
|
1086
1086
|
],
|
1087
1087
|
"documentation": {
|
1088
|
-
"id":
|
1088
|
+
"id": 42004,
|
1089
1089
|
"nodeType": "StructuredDocumentation",
|
1090
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."
|
@@ -1097,23 +1097,23 @@
|
|
1097
1097
|
"name": "_world",
|
1098
1098
|
"nameLocation": "1934:6:100",
|
1099
1099
|
"parameters": {
|
1100
|
-
"id":
|
1100
|
+
"id": 42005,
|
1101
1101
|
"nodeType": "ParameterList",
|
1102
1102
|
"parameters": [],
|
1103
1103
|
"src": "1940:2:100"
|
1104
1104
|
},
|
1105
1105
|
"returnParameters": {
|
1106
|
-
"id":
|
1106
|
+
"id": 42008,
|
1107
1107
|
"nodeType": "ParameterList",
|
1108
1108
|
"parameters": [
|
1109
1109
|
{
|
1110
1110
|
"constant": false,
|
1111
|
-
"id":
|
1111
|
+
"id": 42007,
|
1112
1112
|
"mutability": "mutable",
|
1113
1113
|
"name": "",
|
1114
1114
|
"nameLocation": "-1:-1:-1",
|
1115
1115
|
"nodeType": "VariableDeclaration",
|
1116
|
-
"scope":
|
1116
|
+
"scope": 42014,
|
1117
1117
|
"src": "1964:7:100",
|
1118
1118
|
"stateVariable": false,
|
1119
1119
|
"storageLocation": "default",
|
@@ -1122,7 +1122,7 @@
|
|
1122
1122
|
"typeString": "address"
|
1123
1123
|
},
|
1124
1124
|
"typeName": {
|
1125
|
-
"id":
|
1125
|
+
"id": 42006,
|
1126
1126
|
"name": "address",
|
1127
1127
|
"nodeType": "ElementaryTypeName",
|
1128
1128
|
"src": "1964:7:100",
|
@@ -1137,18 +1137,18 @@
|
|
1137
1137
|
],
|
1138
1138
|
"src": "1963:9:100"
|
1139
1139
|
},
|
1140
|
-
"scope":
|
1140
|
+
"scope": 42032,
|
1141
1141
|
"stateMutability": "view",
|
1142
1142
|
"virtual": false,
|
1143
1143
|
"visibility": "public"
|
1144
1144
|
},
|
1145
1145
|
{
|
1146
|
-
"id":
|
1146
|
+
"id": 42031,
|
1147
1147
|
"nodeType": "FunctionDefinition",
|
1148
1148
|
"src": "2311:188:100",
|
1149
1149
|
"nodes": [],
|
1150
1150
|
"body": {
|
1151
|
-
"id":
|
1151
|
+
"id": 42030,
|
1152
1152
|
"nodeType": "Block",
|
1153
1153
|
"src": "2393:106:100",
|
1154
1154
|
"nodes": [],
|
@@ -1159,7 +1159,7 @@
|
|
1159
1159
|
"typeIdentifier": "t_bool",
|
1160
1160
|
"typeString": "bool"
|
1161
1161
|
},
|
1162
|
-
"id":
|
1162
|
+
"id": 42028,
|
1163
1163
|
"isConstant": false,
|
1164
1164
|
"isLValue": false,
|
1165
1165
|
"isPure": false,
|
@@ -1169,17 +1169,17 @@
|
|
1169
1169
|
"typeIdentifier": "t_bytes4",
|
1170
1170
|
"typeString": "bytes4"
|
1171
1171
|
},
|
1172
|
-
"id":
|
1172
|
+
"id": 42024,
|
1173
1173
|
"isConstant": false,
|
1174
1174
|
"isLValue": false,
|
1175
1175
|
"isPure": false,
|
1176
1176
|
"lValueRequested": false,
|
1177
1177
|
"leftExpression": {
|
1178
|
-
"id":
|
1178
|
+
"id": 42022,
|
1179
1179
|
"name": "interfaceId",
|
1180
1180
|
"nodeType": "Identifier",
|
1181
1181
|
"overloadedDeclarations": [],
|
1182
|
-
"referencedDeclaration":
|
1182
|
+
"referencedDeclaration": 42017,
|
1183
1183
|
"src": "2406:11:100",
|
1184
1184
|
"typeDescriptions": {
|
1185
1185
|
"typeIdentifier": "t_bytes4",
|
@@ -1189,11 +1189,11 @@
|
|
1189
1189
|
"nodeType": "BinaryOperation",
|
1190
1190
|
"operator": "==",
|
1191
1191
|
"rightExpression": {
|
1192
|
-
"id":
|
1192
|
+
"id": 42023,
|
1193
1193
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
1194
1194
|
"nodeType": "Identifier",
|
1195
1195
|
"overloadedDeclarations": [],
|
1196
|
-
"referencedDeclaration":
|
1196
|
+
"referencedDeclaration": 75654,
|
1197
1197
|
"src": "2421:35:100",
|
1198
1198
|
"typeDescriptions": {
|
1199
1199
|
"typeIdentifier": "t_bytes4",
|
@@ -1213,17 +1213,17 @@
|
|
1213
1213
|
"typeIdentifier": "t_bytes4",
|
1214
1214
|
"typeString": "bytes4"
|
1215
1215
|
},
|
1216
|
-
"id":
|
1216
|
+
"id": 42027,
|
1217
1217
|
"isConstant": false,
|
1218
1218
|
"isLValue": false,
|
1219
1219
|
"isPure": false,
|
1220
1220
|
"lValueRequested": false,
|
1221
1221
|
"leftExpression": {
|
1222
|
-
"id":
|
1222
|
+
"id": 42025,
|
1223
1223
|
"name": "interfaceId",
|
1224
1224
|
"nodeType": "Identifier",
|
1225
1225
|
"overloadedDeclarations": [],
|
1226
|
-
"referencedDeclaration":
|
1226
|
+
"referencedDeclaration": 42017,
|
1227
1227
|
"src": "2460:11:100",
|
1228
1228
|
"typeDescriptions": {
|
1229
1229
|
"typeIdentifier": "t_bytes4",
|
@@ -1233,11 +1233,11 @@
|
|
1233
1233
|
"nodeType": "BinaryOperation",
|
1234
1234
|
"operator": "==",
|
1235
1235
|
"rightExpression": {
|
1236
|
-
"id":
|
1236
|
+
"id": 42026,
|
1237
1237
|
"name": "ERC165_INTERFACE_ID",
|
1238
1238
|
"nodeType": "Identifier",
|
1239
1239
|
"overloadedDeclarations": [],
|
1240
|
-
"referencedDeclaration":
|
1240
|
+
"referencedDeclaration": 75623,
|
1241
1241
|
"src": "2475:19:100",
|
1242
1242
|
"typeDescriptions": {
|
1243
1243
|
"typeIdentifier": "t_bytes4",
|
@@ -1256,18 +1256,18 @@
|
|
1256
1256
|
"typeString": "bool"
|
1257
1257
|
}
|
1258
1258
|
},
|
1259
|
-
"functionReturnParameters":
|
1260
|
-
"id":
|
1259
|
+
"functionReturnParameters": 42021,
|
1260
|
+
"id": 42029,
|
1261
1261
|
"nodeType": "Return",
|
1262
1262
|
"src": "2399:95:100"
|
1263
1263
|
}
|
1264
1264
|
]
|
1265
1265
|
},
|
1266
1266
|
"baseFunctions": [
|
1267
|
-
|
1267
|
+
75632
|
1268
1268
|
],
|
1269
1269
|
"documentation": {
|
1270
|
-
"id":
|
1270
|
+
"id": 42015,
|
1271
1271
|
"nodeType": "StructuredDocumentation",
|
1272
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."
|
@@ -1279,17 +1279,17 @@
|
|
1279
1279
|
"name": "supportsInterface",
|
1280
1280
|
"nameLocation": "2320:17:100",
|
1281
1281
|
"parameters": {
|
1282
|
-
"id":
|
1282
|
+
"id": 42018,
|
1283
1283
|
"nodeType": "ParameterList",
|
1284
1284
|
"parameters": [
|
1285
1285
|
{
|
1286
1286
|
"constant": false,
|
1287
|
-
"id":
|
1287
|
+
"id": 42017,
|
1288
1288
|
"mutability": "mutable",
|
1289
1289
|
"name": "interfaceId",
|
1290
1290
|
"nameLocation": "2345:11:100",
|
1291
1291
|
"nodeType": "VariableDeclaration",
|
1292
|
-
"scope":
|
1292
|
+
"scope": 42031,
|
1293
1293
|
"src": "2338:18:100",
|
1294
1294
|
"stateVariable": false,
|
1295
1295
|
"storageLocation": "default",
|
@@ -1298,7 +1298,7 @@
|
|
1298
1298
|
"typeString": "bytes4"
|
1299
1299
|
},
|
1300
1300
|
"typeName": {
|
1301
|
-
"id":
|
1301
|
+
"id": 42016,
|
1302
1302
|
"name": "bytes4",
|
1303
1303
|
"nodeType": "ElementaryTypeName",
|
1304
1304
|
"src": "2338:6:100",
|
@@ -1313,17 +1313,17 @@
|
|
1313
1313
|
"src": "2337:20:100"
|
1314
1314
|
},
|
1315
1315
|
"returnParameters": {
|
1316
|
-
"id":
|
1316
|
+
"id": 42021,
|
1317
1317
|
"nodeType": "ParameterList",
|
1318
1318
|
"parameters": [
|
1319
1319
|
{
|
1320
1320
|
"constant": false,
|
1321
|
-
"id":
|
1321
|
+
"id": 42020,
|
1322
1322
|
"mutability": "mutable",
|
1323
1323
|
"name": "",
|
1324
1324
|
"nameLocation": "-1:-1:-1",
|
1325
1325
|
"nodeType": "VariableDeclaration",
|
1326
|
-
"scope":
|
1326
|
+
"scope": 42031,
|
1327
1327
|
"src": "2387:4:100",
|
1328
1328
|
"stateVariable": false,
|
1329
1329
|
"storageLocation": "default",
|
@@ -1332,7 +1332,7 @@
|
|
1332
1332
|
"typeString": "bool"
|
1333
1333
|
},
|
1334
1334
|
"typeName": {
|
1335
|
-
"id":
|
1335
|
+
"id": 42019,
|
1336
1336
|
"name": "bool",
|
1337
1337
|
"nodeType": "ElementaryTypeName",
|
1338
1338
|
"src": "2387:4:100",
|
@@ -1346,7 +1346,7 @@
|
|
1346
1346
|
],
|
1347
1347
|
"src": "2386:6:100"
|
1348
1348
|
},
|
1349
|
-
"scope":
|
1349
|
+
"scope": 42032,
|
1350
1350
|
"stateMutability": "pure",
|
1351
1351
|
"virtual": true,
|
1352
1352
|
"visibility": "public"
|
@@ -1356,16 +1356,16 @@
|
|
1356
1356
|
"baseContracts": [
|
1357
1357
|
{
|
1358
1358
|
"baseName": {
|
1359
|
-
"id":
|
1359
|
+
"id": 41980,
|
1360
1360
|
"name": "IWorldContextConsumer",
|
1361
1361
|
"nameLocations": [
|
1362
1362
|
"979:21:100"
|
1363
1363
|
],
|
1364
1364
|
"nodeType": "IdentifierPath",
|
1365
|
-
"referencedDeclaration":
|
1365
|
+
"referencedDeclaration": 75676,
|
1366
1366
|
"src": "979:21:100"
|
1367
1367
|
},
|
1368
|
-
"id":
|
1368
|
+
"id": 41981,
|
1369
1369
|
"nodeType": "InheritanceSpecifier",
|
1370
1370
|
"src": "979:21:100"
|
1371
1371
|
}
|
@@ -1374,35 +1374,35 @@
|
|
1374
1374
|
"contractDependencies": [],
|
1375
1375
|
"contractKind": "contract",
|
1376
1376
|
"documentation": {
|
1377
|
-
"id":
|
1377
|
+
"id": 41979,
|
1378
1378
|
"nodeType": "StructuredDocumentation",
|
1379
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
|
+
42032,
|
1385
|
+
75676,
|
1386
|
+
75633
|
1387
1387
|
],
|
1388
1388
|
"name": "WorldContextConsumer",
|
1389
1389
|
"nameLocation": "955:20:100",
|
1390
|
-
"scope":
|
1390
|
+
"scope": 42227,
|
1391
1391
|
"usedErrors": [],
|
1392
1392
|
"usedEvents": []
|
1393
1393
|
},
|
1394
1394
|
{
|
1395
|
-
"id":
|
1395
|
+
"id": 42072,
|
1396
1396
|
"nodeType": "ContractDefinition",
|
1397
1397
|
"src": "2503:1427:100",
|
1398
1398
|
"nodes": [
|
1399
1399
|
{
|
1400
|
-
"id":
|
1400
|
+
"id": 42052,
|
1401
1401
|
"nodeType": "FunctionDefinition",
|
1402
1402
|
"src": "2779:381:100",
|
1403
1403
|
"nodes": [],
|
1404
1404
|
"body": {
|
1405
|
-
"id":
|
1405
|
+
"id": 42051,
|
1406
1406
|
"nodeType": "Block",
|
1407
1407
|
"src": "2840:320:100",
|
1408
1408
|
"nodes": [],
|
@@ -1496,21 +1496,21 @@
|
|
1496
1496
|
"evmVersion": "paris",
|
1497
1497
|
"externalReferences": [
|
1498
1498
|
{
|
1499
|
-
"declaration":
|
1499
|
+
"declaration": 41978,
|
1500
1500
|
"isOffset": false,
|
1501
1501
|
"isSlot": false,
|
1502
1502
|
"src": "3083:13:100",
|
1503
1503
|
"valueSize": 1
|
1504
1504
|
},
|
1505
1505
|
{
|
1506
|
-
"declaration":
|
1506
|
+
"declaration": 42036,
|
1507
1507
|
"isOffset": false,
|
1508
1508
|
"isSlot": false,
|
1509
1509
|
"src": "3032:6:100",
|
1510
1510
|
"valueSize": 1
|
1511
1511
|
}
|
1512
1512
|
],
|
1513
|
-
"id":
|
1513
|
+
"id": 42038,
|
1514
1514
|
"nodeType": "InlineAssembly",
|
1515
1515
|
"src": "2846:259:100"
|
1516
1516
|
},
|
@@ -1520,17 +1520,17 @@
|
|
1520
1520
|
"typeIdentifier": "t_address",
|
1521
1521
|
"typeString": "address"
|
1522
1522
|
},
|
1523
|
-
"id":
|
1523
|
+
"id": 42044,
|
1524
1524
|
"isConstant": false,
|
1525
1525
|
"isLValue": false,
|
1526
1526
|
"isPure": false,
|
1527
1527
|
"lValueRequested": false,
|
1528
1528
|
"leftExpression": {
|
1529
|
-
"id":
|
1529
|
+
"id": 42039,
|
1530
1530
|
"name": "sender",
|
1531
1531
|
"nodeType": "Identifier",
|
1532
1532
|
"overloadedDeclarations": [],
|
1533
|
-
"referencedDeclaration":
|
1533
|
+
"referencedDeclaration": 42036,
|
1534
1534
|
"src": "3114:6:100",
|
1535
1535
|
"typeDescriptions": {
|
1536
1536
|
"typeIdentifier": "t_address",
|
@@ -1543,7 +1543,7 @@
|
|
1543
1543
|
"arguments": [
|
1544
1544
|
{
|
1545
1545
|
"hexValue": "30",
|
1546
|
-
"id":
|
1546
|
+
"id": 42042,
|
1547
1547
|
"isConstant": false,
|
1548
1548
|
"isLValue": false,
|
1549
1549
|
"isPure": true,
|
@@ -1565,7 +1565,7 @@
|
|
1565
1565
|
"typeString": "int_const 0"
|
1566
1566
|
}
|
1567
1567
|
],
|
1568
|
-
"id":
|
1568
|
+
"id": 42041,
|
1569
1569
|
"isConstant": false,
|
1570
1570
|
"isLValue": false,
|
1571
1571
|
"isPure": true,
|
@@ -1577,14 +1577,14 @@
|
|
1577
1577
|
"typeString": "type(address)"
|
1578
1578
|
},
|
1579
1579
|
"typeName": {
|
1580
|
-
"id":
|
1580
|
+
"id": 42040,
|
1581
1581
|
"name": "address",
|
1582
1582
|
"nodeType": "ElementaryTypeName",
|
1583
1583
|
"src": "3124:7:100",
|
1584
1584
|
"typeDescriptions": {}
|
1585
1585
|
}
|
1586
1586
|
},
|
1587
|
-
"id":
|
1587
|
+
"id": 42043,
|
1588
1588
|
"isConstant": false,
|
1589
1589
|
"isLValue": false,
|
1590
1590
|
"isPure": true,
|
@@ -1606,22 +1606,22 @@
|
|
1606
1606
|
"typeString": "bool"
|
1607
1607
|
}
|
1608
1608
|
},
|
1609
|
-
"id":
|
1609
|
+
"id": 42050,
|
1610
1610
|
"nodeType": "IfStatement",
|
1611
1611
|
"src": "3110:45:100",
|
1612
1612
|
"trueBody": {
|
1613
1613
|
"expression": {
|
1614
|
-
"id":
|
1614
|
+
"id": 42048,
|
1615
1615
|
"isConstant": false,
|
1616
1616
|
"isLValue": false,
|
1617
1617
|
"isPure": false,
|
1618
1618
|
"lValueRequested": false,
|
1619
1619
|
"leftHandSide": {
|
1620
|
-
"id":
|
1620
|
+
"id": 42045,
|
1621
1621
|
"name": "sender",
|
1622
1622
|
"nodeType": "Identifier",
|
1623
1623
|
"overloadedDeclarations": [],
|
1624
|
-
"referencedDeclaration":
|
1624
|
+
"referencedDeclaration": 42036,
|
1625
1625
|
"src": "3136:6:100",
|
1626
1626
|
"typeDescriptions": {
|
1627
1627
|
"typeIdentifier": "t_address",
|
@@ -1632,7 +1632,7 @@
|
|
1632
1632
|
"operator": "=",
|
1633
1633
|
"rightHandSide": {
|
1634
1634
|
"expression": {
|
1635
|
-
"id":
|
1635
|
+
"id": 42046,
|
1636
1636
|
"name": "msg",
|
1637
1637
|
"nodeType": "Identifier",
|
1638
1638
|
"overloadedDeclarations": [],
|
@@ -1643,7 +1643,7 @@
|
|
1643
1643
|
"typeString": "msg"
|
1644
1644
|
}
|
1645
1645
|
},
|
1646
|
-
"id":
|
1646
|
+
"id": 42047,
|
1647
1647
|
"isConstant": false,
|
1648
1648
|
"isLValue": false,
|
1649
1649
|
"isPure": false,
|
@@ -1663,7 +1663,7 @@
|
|
1663
1663
|
"typeString": "address"
|
1664
1664
|
}
|
1665
1665
|
},
|
1666
|
-
"id":
|
1666
|
+
"id": 42049,
|
1667
1667
|
"nodeType": "ExpressionStatement",
|
1668
1668
|
"src": "3136:19:100"
|
1669
1669
|
}
|
@@ -1671,7 +1671,7 @@
|
|
1671
1671
|
]
|
1672
1672
|
},
|
1673
1673
|
"documentation": {
|
1674
|
-
"id":
|
1674
|
+
"id": 42033,
|
1675
1675
|
"nodeType": "StructuredDocumentation",
|
1676
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."
|
@@ -1682,23 +1682,23 @@
|
|
1682
1682
|
"name": "_msgSender",
|
1683
1683
|
"nameLocation": "2788:10:100",
|
1684
1684
|
"parameters": {
|
1685
|
-
"id":
|
1685
|
+
"id": 42034,
|
1686
1686
|
"nodeType": "ParameterList",
|
1687
1687
|
"parameters": [],
|
1688
1688
|
"src": "2798:2:100"
|
1689
1689
|
},
|
1690
1690
|
"returnParameters": {
|
1691
|
-
"id":
|
1691
|
+
"id": 42037,
|
1692
1692
|
"nodeType": "ParameterList",
|
1693
1693
|
"parameters": [
|
1694
1694
|
{
|
1695
1695
|
"constant": false,
|
1696
|
-
"id":
|
1696
|
+
"id": 42036,
|
1697
1697
|
"mutability": "mutable",
|
1698
1698
|
"name": "sender",
|
1699
1699
|
"nameLocation": "2832:6:100",
|
1700
1700
|
"nodeType": "VariableDeclaration",
|
1701
|
-
"scope":
|
1701
|
+
"scope": 42052,
|
1702
1702
|
"src": "2824:14:100",
|
1703
1703
|
"stateVariable": false,
|
1704
1704
|
"storageLocation": "default",
|
@@ -1707,7 +1707,7 @@
|
|
1707
1707
|
"typeString": "address"
|
1708
1708
|
},
|
1709
1709
|
"typeName": {
|
1710
|
-
"id":
|
1710
|
+
"id": 42035,
|
1711
1711
|
"name": "address",
|
1712
1712
|
"nodeType": "ElementaryTypeName",
|
1713
1713
|
"src": "2824:7:100",
|
@@ -1722,18 +1722,18 @@
|
|
1722
1722
|
],
|
1723
1723
|
"src": "2823:16:100"
|
1724
1724
|
},
|
1725
|
-
"scope":
|
1725
|
+
"scope": 42072,
|
1726
1726
|
"stateMutability": "view",
|
1727
1727
|
"virtual": false,
|
1728
1728
|
"visibility": "internal"
|
1729
1729
|
},
|
1730
1730
|
{
|
1731
|
-
"id":
|
1731
|
+
"id": 42060,
|
1732
1732
|
"nodeType": "FunctionDefinition",
|
1733
1733
|
"src": "3401:214:100",
|
1734
1734
|
"nodes": [],
|
1735
1735
|
"body": {
|
1736
|
-
"id":
|
1736
|
+
"id": 42059,
|
1737
1737
|
"nodeType": "Block",
|
1738
1738
|
"src": "3460:155:100",
|
1739
1739
|
"nodes": [],
|
@@ -1808,21 +1808,21 @@
|
|
1808
1808
|
"evmVersion": "paris",
|
1809
1809
|
"externalReferences": [
|
1810
1810
|
{
|
1811
|
-
"declaration":
|
1811
|
+
"declaration": 42056,
|
1812
1812
|
"isOffset": false,
|
1813
1813
|
"isSlot": false,
|
1814
1814
|
"src": "3559:5:100",
|
1815
1815
|
"valueSize": 1
|
1816
1816
|
}
|
1817
1817
|
],
|
1818
|
-
"id":
|
1818
|
+
"id": 42058,
|
1819
1819
|
"nodeType": "InlineAssembly",
|
1820
1820
|
"src": "3466:145:100"
|
1821
1821
|
}
|
1822
1822
|
]
|
1823
1823
|
},
|
1824
1824
|
"documentation": {
|
1825
|
-
"id":
|
1825
|
+
"id": 42053,
|
1826
1826
|
"nodeType": "StructuredDocumentation",
|
1827
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."
|
@@ -1833,23 +1833,23 @@
|
|
1833
1833
|
"name": "_msgValue",
|
1834
1834
|
"nameLocation": "3410:9:100",
|
1835
1835
|
"parameters": {
|
1836
|
-
"id":
|
1836
|
+
"id": 42054,
|
1837
1837
|
"nodeType": "ParameterList",
|
1838
1838
|
"parameters": [],
|
1839
1839
|
"src": "3419:2:100"
|
1840
1840
|
},
|
1841
1841
|
"returnParameters": {
|
1842
|
-
"id":
|
1842
|
+
"id": 42057,
|
1843
1843
|
"nodeType": "ParameterList",
|
1844
1844
|
"parameters": [
|
1845
1845
|
{
|
1846
1846
|
"constant": false,
|
1847
|
-
"id":
|
1847
|
+
"id": 42056,
|
1848
1848
|
"mutability": "mutable",
|
1849
1849
|
"name": "value",
|
1850
1850
|
"nameLocation": "3453:5:100",
|
1851
1851
|
"nodeType": "VariableDeclaration",
|
1852
|
-
"scope":
|
1852
|
+
"scope": 42060,
|
1853
1853
|
"src": "3445:13:100",
|
1854
1854
|
"stateVariable": false,
|
1855
1855
|
"storageLocation": "default",
|
@@ -1858,7 +1858,7 @@
|
|
1858
1858
|
"typeString": "uint256"
|
1859
1859
|
},
|
1860
1860
|
"typeName": {
|
1861
|
-
"id":
|
1861
|
+
"id": 42055,
|
1862
1862
|
"name": "uint256",
|
1863
1863
|
"nodeType": "ElementaryTypeName",
|
1864
1864
|
"src": "3445:7:100",
|
@@ -1872,18 +1872,18 @@
|
|
1872
1872
|
],
|
1873
1873
|
"src": "3444:15:100"
|
1874
1874
|
},
|
1875
|
-
"scope":
|
1875
|
+
"scope": 42072,
|
1876
1876
|
"stateMutability": "pure",
|
1877
1877
|
"virtual": false,
|
1878
1878
|
"visibility": "internal"
|
1879
1879
|
},
|
1880
1880
|
{
|
1881
|
-
"id":
|
1881
|
+
"id": 42071,
|
1882
1882
|
"nodeType": "FunctionDefinition",
|
1883
1883
|
"src": "3831:97:100",
|
1884
1884
|
"nodes": [],
|
1885
1885
|
"body": {
|
1886
|
-
"id":
|
1886
|
+
"id": 42070,
|
1887
1887
|
"nodeType": "Block",
|
1888
1888
|
"src": "3881:47:100",
|
1889
1889
|
"nodes": [],
|
@@ -1894,18 +1894,18 @@
|
|
1894
1894
|
"expression": {
|
1895
1895
|
"argumentTypes": [],
|
1896
1896
|
"expression": {
|
1897
|
-
"id":
|
1897
|
+
"id": 42066,
|
1898
1898
|
"name": "StoreSwitch",
|
1899
1899
|
"nodeType": "Identifier",
|
1900
1900
|
"overloadedDeclarations": [],
|
1901
|
-
"referencedDeclaration":
|
1901
|
+
"referencedDeclaration": 33826,
|
1902
1902
|
"src": "3894:11:100",
|
1903
1903
|
"typeDescriptions": {
|
1904
|
-
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$
|
1904
|
+
"typeIdentifier": "t_type$_t_contract$_StoreSwitch_$33826_$",
|
1905
1905
|
"typeString": "type(library StoreSwitch)"
|
1906
1906
|
}
|
1907
1907
|
},
|
1908
|
-
"id":
|
1908
|
+
"id": 42067,
|
1909
1909
|
"isConstant": false,
|
1910
1910
|
"isLValue": false,
|
1911
1911
|
"isPure": false,
|
@@ -1913,14 +1913,14 @@
|
|
1913
1913
|
"memberLocation": "3906:15:100",
|
1914
1914
|
"memberName": "getStoreAddress",
|
1915
1915
|
"nodeType": "MemberAccess",
|
1916
|
-
"referencedDeclaration":
|
1916
|
+
"referencedDeclaration": 32570,
|
1917
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": 42068,
|
1924
1924
|
"isConstant": false,
|
1925
1925
|
"isLValue": false,
|
1926
1926
|
"isPure": false,
|
@@ -1936,15 +1936,15 @@
|
|
1936
1936
|
"typeString": "address"
|
1937
1937
|
}
|
1938
1938
|
},
|
1939
|
-
"functionReturnParameters":
|
1940
|
-
"id":
|
1939
|
+
"functionReturnParameters": 42065,
|
1940
|
+
"id": 42069,
|
1941
1941
|
"nodeType": "Return",
|
1942
1942
|
"src": "3887:36:100"
|
1943
1943
|
}
|
1944
1944
|
]
|
1945
1945
|
},
|
1946
1946
|
"documentation": {
|
1947
|
-
"id":
|
1947
|
+
"id": 42061,
|
1948
1948
|
"nodeType": "StructuredDocumentation",
|
1949
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."
|
@@ -1955,23 +1955,23 @@
|
|
1955
1955
|
"name": "_world",
|
1956
1956
|
"nameLocation": "3840:6:100",
|
1957
1957
|
"parameters": {
|
1958
|
-
"id":
|
1958
|
+
"id": 42062,
|
1959
1959
|
"nodeType": "ParameterList",
|
1960
1960
|
"parameters": [],
|
1961
1961
|
"src": "3846:2:100"
|
1962
1962
|
},
|
1963
1963
|
"returnParameters": {
|
1964
|
-
"id":
|
1964
|
+
"id": 42065,
|
1965
1965
|
"nodeType": "ParameterList",
|
1966
1966
|
"parameters": [
|
1967
1967
|
{
|
1968
1968
|
"constant": false,
|
1969
|
-
"id":
|
1969
|
+
"id": 42064,
|
1970
1970
|
"mutability": "mutable",
|
1971
1971
|
"name": "",
|
1972
1972
|
"nameLocation": "-1:-1:-1",
|
1973
1973
|
"nodeType": "VariableDeclaration",
|
1974
|
-
"scope":
|
1974
|
+
"scope": 42071,
|
1975
1975
|
"src": "3872:7:100",
|
1976
1976
|
"stateVariable": false,
|
1977
1977
|
"storageLocation": "default",
|
@@ -1980,7 +1980,7 @@
|
|
1980
1980
|
"typeString": "address"
|
1981
1981
|
},
|
1982
1982
|
"typeName": {
|
1983
|
-
"id":
|
1983
|
+
"id": 42063,
|
1984
1984
|
"name": "address",
|
1985
1985
|
"nodeType": "ElementaryTypeName",
|
1986
1986
|
"src": "3872:7:100",
|
@@ -1995,7 +1995,7 @@
|
|
1995
1995
|
],
|
1996
1996
|
"src": "3871:9:100"
|
1997
1997
|
},
|
1998
|
-
"scope":
|
1998
|
+
"scope": 42072,
|
1999
1999
|
"stateMutability": "view",
|
2000
2000
|
"virtual": false,
|
2001
2001
|
"visibility": "internal"
|
@@ -2008,26 +2008,26 @@
|
|
2008
2008
|
"contractKind": "library",
|
2009
2009
|
"fullyImplemented": true,
|
2010
2010
|
"linearizedBaseContracts": [
|
2011
|
-
|
2011
|
+
42072
|
2012
2012
|
],
|
2013
2013
|
"name": "WorldContextConsumerLib",
|
2014
2014
|
"nameLocation": "2511:23:100",
|
2015
|
-
"scope":
|
2015
|
+
"scope": 42227,
|
2016
2016
|
"usedErrors": [],
|
2017
2017
|
"usedEvents": []
|
2018
2018
|
},
|
2019
2019
|
{
|
2020
|
-
"id":
|
2020
|
+
"id": 42226,
|
2021
2021
|
"nodeType": "ContractDefinition",
|
2022
2022
|
"src": "4265:3922:100",
|
2023
2023
|
"nodes": [
|
2024
2024
|
{
|
2025
|
-
"id":
|
2025
|
+
"id": 42093,
|
2026
2026
|
"nodeType": "FunctionDefinition",
|
2027
2027
|
"src": "4614:201:100",
|
2028
2028
|
"nodes": [],
|
2029
2029
|
"body": {
|
2030
|
-
"id":
|
2030
|
+
"id": 42092,
|
2031
2031
|
"nodeType": "Block",
|
2032
2032
|
"src": "4750:65:100",
|
2033
2033
|
"nodes": [],
|
@@ -2036,11 +2036,11 @@
|
|
2036
2036
|
"expression": {
|
2037
2037
|
"arguments": [
|
2038
2038
|
{
|
2039
|
-
"id":
|
2039
|
+
"id": 42087,
|
2040
2040
|
"name": "callData",
|
2041
2041
|
"nodeType": "Identifier",
|
2042
2042
|
"overloadedDeclarations": [],
|
2043
|
-
"referencedDeclaration":
|
2043
|
+
"referencedDeclaration": 42076,
|
2044
2044
|
"src": "4780:8:100",
|
2045
2045
|
"typeDescriptions": {
|
2046
2046
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2048,11 +2048,11 @@
|
|
2048
2048
|
}
|
2049
2049
|
},
|
2050
2050
|
{
|
2051
|
-
"id":
|
2051
|
+
"id": 42088,
|
2052
2052
|
"name": "msgSender",
|
2053
2053
|
"nodeType": "Identifier",
|
2054
2054
|
"overloadedDeclarations": [],
|
2055
|
-
"referencedDeclaration":
|
2055
|
+
"referencedDeclaration": 42078,
|
2056
2056
|
"src": "4790:9:100",
|
2057
2057
|
"typeDescriptions": {
|
2058
2058
|
"typeIdentifier": "t_address",
|
@@ -2060,11 +2060,11 @@
|
|
2060
2060
|
}
|
2061
2061
|
},
|
2062
2062
|
{
|
2063
|
-
"id":
|
2063
|
+
"id": 42089,
|
2064
2064
|
"name": "msgValue",
|
2065
2065
|
"nodeType": "Identifier",
|
2066
2066
|
"overloadedDeclarations": [],
|
2067
|
-
"referencedDeclaration":
|
2067
|
+
"referencedDeclaration": 42080,
|
2068
2068
|
"src": "4801:8:100",
|
2069
2069
|
"typeDescriptions": {
|
2070
2070
|
"typeIdentifier": "t_uint256",
|
@@ -2088,7 +2088,7 @@
|
|
2088
2088
|
}
|
2089
2089
|
],
|
2090
2090
|
"expression": {
|
2091
|
-
"id":
|
2091
|
+
"id": 42085,
|
2092
2092
|
"name": "abi",
|
2093
2093
|
"nodeType": "Identifier",
|
2094
2094
|
"overloadedDeclarations": [],
|
@@ -2099,7 +2099,7 @@
|
|
2099
2099
|
"typeString": "abi"
|
2100
2100
|
}
|
2101
2101
|
},
|
2102
|
-
"id":
|
2102
|
+
"id": 42086,
|
2103
2103
|
"isConstant": false,
|
2104
2104
|
"isLValue": false,
|
2105
2105
|
"isPure": true,
|
@@ -2113,7 +2113,7 @@
|
|
2113
2113
|
"typeString": "function () pure returns (bytes memory)"
|
2114
2114
|
}
|
2115
2115
|
},
|
2116
|
-
"id":
|
2116
|
+
"id": 42090,
|
2117
2117
|
"isConstant": false,
|
2118
2118
|
"isLValue": false,
|
2119
2119
|
"isPure": false,
|
@@ -2129,15 +2129,15 @@
|
|
2129
2129
|
"typeString": "bytes memory"
|
2130
2130
|
}
|
2131
2131
|
},
|
2132
|
-
"functionReturnParameters":
|
2133
|
-
"id":
|
2132
|
+
"functionReturnParameters": 42084,
|
2133
|
+
"id": 42091,
|
2134
2134
|
"nodeType": "Return",
|
2135
2135
|
"src": "4756:54:100"
|
2136
2136
|
}
|
2137
2137
|
]
|
2138
2138
|
},
|
2139
2139
|
"documentation": {
|
2140
|
-
"id":
|
2140
|
+
"id": 42074,
|
2141
2141
|
"nodeType": "StructuredDocumentation",
|
2142
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."
|
@@ -2148,17 +2148,17 @@
|
|
2148
2148
|
"name": "appendContext",
|
2149
2149
|
"nameLocation": "4623:13:100",
|
2150
2150
|
"parameters": {
|
2151
|
-
"id":
|
2151
|
+
"id": 42081,
|
2152
2152
|
"nodeType": "ParameterList",
|
2153
2153
|
"parameters": [
|
2154
2154
|
{
|
2155
2155
|
"constant": false,
|
2156
|
-
"id":
|
2156
|
+
"id": 42076,
|
2157
2157
|
"mutability": "mutable",
|
2158
2158
|
"name": "callData",
|
2159
2159
|
"nameLocation": "4655:8:100",
|
2160
2160
|
"nodeType": "VariableDeclaration",
|
2161
|
-
"scope":
|
2161
|
+
"scope": 42093,
|
2162
2162
|
"src": "4642:21:100",
|
2163
2163
|
"stateVariable": false,
|
2164
2164
|
"storageLocation": "memory",
|
@@ -2167,7 +2167,7 @@
|
|
2167
2167
|
"typeString": "bytes"
|
2168
2168
|
},
|
2169
2169
|
"typeName": {
|
2170
|
-
"id":
|
2170
|
+
"id": 42075,
|
2171
2171
|
"name": "bytes",
|
2172
2172
|
"nodeType": "ElementaryTypeName",
|
2173
2173
|
"src": "4642:5:100",
|
@@ -2180,12 +2180,12 @@
|
|
2180
2180
|
},
|
2181
2181
|
{
|
2182
2182
|
"constant": false,
|
2183
|
-
"id":
|
2183
|
+
"id": 42078,
|
2184
2184
|
"mutability": "mutable",
|
2185
2185
|
"name": "msgSender",
|
2186
2186
|
"nameLocation": "4677:9:100",
|
2187
2187
|
"nodeType": "VariableDeclaration",
|
2188
|
-
"scope":
|
2188
|
+
"scope": 42093,
|
2189
2189
|
"src": "4669:17:100",
|
2190
2190
|
"stateVariable": false,
|
2191
2191
|
"storageLocation": "default",
|
@@ -2194,7 +2194,7 @@
|
|
2194
2194
|
"typeString": "address"
|
2195
2195
|
},
|
2196
2196
|
"typeName": {
|
2197
|
-
"id":
|
2197
|
+
"id": 42077,
|
2198
2198
|
"name": "address",
|
2199
2199
|
"nodeType": "ElementaryTypeName",
|
2200
2200
|
"src": "4669:7:100",
|
@@ -2208,12 +2208,12 @@
|
|
2208
2208
|
},
|
2209
2209
|
{
|
2210
2210
|
"constant": false,
|
2211
|
-
"id":
|
2211
|
+
"id": 42080,
|
2212
2212
|
"mutability": "mutable",
|
2213
2213
|
"name": "msgValue",
|
2214
2214
|
"nameLocation": "4700:8:100",
|
2215
2215
|
"nodeType": "VariableDeclaration",
|
2216
|
-
"scope":
|
2216
|
+
"scope": 42093,
|
2217
2217
|
"src": "4692:16:100",
|
2218
2218
|
"stateVariable": false,
|
2219
2219
|
"storageLocation": "default",
|
@@ -2222,7 +2222,7 @@
|
|
2222
2222
|
"typeString": "uint256"
|
2223
2223
|
},
|
2224
2224
|
"typeName": {
|
2225
|
-
"id":
|
2225
|
+
"id": 42079,
|
2226
2226
|
"name": "uint256",
|
2227
2227
|
"nodeType": "ElementaryTypeName",
|
2228
2228
|
"src": "4692:7:100",
|
@@ -2237,17 +2237,17 @@
|
|
2237
2237
|
"src": "4636:76:100"
|
2238
2238
|
},
|
2239
2239
|
"returnParameters": {
|
2240
|
-
"id":
|
2240
|
+
"id": 42084,
|
2241
2241
|
"nodeType": "ParameterList",
|
2242
2242
|
"parameters": [
|
2243
2243
|
{
|
2244
2244
|
"constant": false,
|
2245
|
-
"id":
|
2245
|
+
"id": 42083,
|
2246
2246
|
"mutability": "mutable",
|
2247
2247
|
"name": "",
|
2248
2248
|
"nameLocation": "-1:-1:-1",
|
2249
2249
|
"nodeType": "VariableDeclaration",
|
2250
|
-
"scope":
|
2250
|
+
"scope": 42093,
|
2251
2251
|
"src": "4736:12:100",
|
2252
2252
|
"stateVariable": false,
|
2253
2253
|
"storageLocation": "memory",
|
@@ -2256,7 +2256,7 @@
|
|
2256
2256
|
"typeString": "bytes"
|
2257
2257
|
},
|
2258
2258
|
"typeName": {
|
2259
|
-
"id":
|
2259
|
+
"id": 42082,
|
2260
2260
|
"name": "bytes",
|
2261
2261
|
"nodeType": "ElementaryTypeName",
|
2262
2262
|
"src": "4736:5:100",
|
@@ -2270,25 +2270,25 @@
|
|
2270
2270
|
],
|
2271
2271
|
"src": "4735:14:100"
|
2272
2272
|
},
|
2273
|
-
"scope":
|
2273
|
+
"scope": 42226,
|
2274
2274
|
"stateMutability": "pure",
|
2275
2275
|
"virtual": false,
|
2276
2276
|
"visibility": "internal"
|
2277
2277
|
},
|
2278
2278
|
{
|
2279
|
-
"id":
|
2279
|
+
"id": 42125,
|
2280
2280
|
"nodeType": "FunctionDefinition",
|
2281
2281
|
"src": "5311:317:100",
|
2282
2282
|
"nodes": [],
|
2283
2283
|
"body": {
|
2284
|
-
"id":
|
2284
|
+
"id": 42124,
|
2285
2285
|
"nodeType": "Block",
|
2286
2286
|
"src": "5483:145:100",
|
2287
2287
|
"nodes": [],
|
2288
2288
|
"statements": [
|
2289
2289
|
{
|
2290
2290
|
"expression": {
|
2291
|
-
"id":
|
2291
|
+
"id": 42122,
|
2292
2292
|
"isConstant": false,
|
2293
2293
|
"isLValue": false,
|
2294
2294
|
"isPure": false,
|
@@ -2296,11 +2296,11 @@
|
|
2296
2296
|
"leftHandSide": {
|
2297
2297
|
"components": [
|
2298
2298
|
{
|
2299
|
-
"id":
|
2299
|
+
"id": 42109,
|
2300
2300
|
"name": "success",
|
2301
2301
|
"nodeType": "Identifier",
|
2302
2302
|
"overloadedDeclarations": [],
|
2303
|
-
"referencedDeclaration":
|
2303
|
+
"referencedDeclaration": 42105,
|
2304
2304
|
"src": "5490:7:100",
|
2305
2305
|
"typeDescriptions": {
|
2306
2306
|
"typeIdentifier": "t_bool",
|
@@ -2308,11 +2308,11 @@
|
|
2308
2308
|
}
|
2309
2309
|
},
|
2310
2310
|
{
|
2311
|
-
"id":
|
2311
|
+
"id": 42110,
|
2312
2312
|
"name": "data",
|
2313
2313
|
"nodeType": "Identifier",
|
2314
2314
|
"overloadedDeclarations": [],
|
2315
|
-
"referencedDeclaration":
|
2315
|
+
"referencedDeclaration": 42107,
|
2316
2316
|
"src": "5499:4:100",
|
2317
2317
|
"typeDescriptions": {
|
2318
2318
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2320,7 +2320,7 @@
|
|
2320
2320
|
}
|
2321
2321
|
}
|
2322
2322
|
],
|
2323
|
-
"id":
|
2323
|
+
"id": 42111,
|
2324
2324
|
"isConstant": false,
|
2325
2325
|
"isInlineArray": false,
|
2326
2326
|
"isLValue": true,
|
@@ -2340,11 +2340,11 @@
|
|
2340
2340
|
{
|
2341
2341
|
"arguments": [
|
2342
2342
|
{
|
2343
|
-
"id":
|
2343
|
+
"id": 42117,
|
2344
2344
|
"name": "callData",
|
2345
2345
|
"nodeType": "Identifier",
|
2346
2346
|
"overloadedDeclarations": [],
|
2347
|
-
"referencedDeclaration":
|
2347
|
+
"referencedDeclaration": 42102,
|
2348
2348
|
"src": "5564:8:100",
|
2349
2349
|
"typeDescriptions": {
|
2350
2350
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2352,11 +2352,11 @@
|
|
2352
2352
|
}
|
2353
2353
|
},
|
2354
2354
|
{
|
2355
|
-
"id":
|
2355
|
+
"id": 42118,
|
2356
2356
|
"name": "msgSender",
|
2357
2357
|
"nodeType": "Identifier",
|
2358
2358
|
"overloadedDeclarations": [],
|
2359
|
-
"referencedDeclaration":
|
2359
|
+
"referencedDeclaration": 42096,
|
2360
2360
|
"src": "5585:9:100",
|
2361
2361
|
"typeDescriptions": {
|
2362
2362
|
"typeIdentifier": "t_address",
|
@@ -2364,11 +2364,11 @@
|
|
2364
2364
|
}
|
2365
2365
|
},
|
2366
2366
|
{
|
2367
|
-
"id":
|
2367
|
+
"id": 42119,
|
2368
2368
|
"name": "msgValue",
|
2369
2369
|
"nodeType": "Identifier",
|
2370
2370
|
"overloadedDeclarations": [],
|
2371
|
-
"referencedDeclaration":
|
2371
|
+
"referencedDeclaration": 42098,
|
2372
2372
|
"src": "5606:8:100",
|
2373
2373
|
"typeDescriptions": {
|
2374
2374
|
"typeIdentifier": "t_uint256",
|
@@ -2391,18 +2391,18 @@
|
|
2391
2391
|
"typeString": "uint256"
|
2392
2392
|
}
|
2393
2393
|
],
|
2394
|
-
"id":
|
2394
|
+
"id": 42116,
|
2395
2395
|
"name": "appendContext",
|
2396
2396
|
"nodeType": "Identifier",
|
2397
2397
|
"overloadedDeclarations": [],
|
2398
|
-
"referencedDeclaration":
|
2398
|
+
"referencedDeclaration": 42093,
|
2399
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": 42120,
|
2406
2406
|
"isConstant": false,
|
2407
2407
|
"isLValue": false,
|
2408
2408
|
"isPure": false,
|
@@ -2442,18 +2442,18 @@
|
|
2442
2442
|
}
|
2443
2443
|
],
|
2444
2444
|
"expression": {
|
2445
|
-
"id":
|
2445
|
+
"id": 42112,
|
2446
2446
|
"name": "target",
|
2447
2447
|
"nodeType": "Identifier",
|
2448
2448
|
"overloadedDeclarations": [],
|
2449
|
-
"referencedDeclaration":
|
2449
|
+
"referencedDeclaration": 42100,
|
2450
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": 42113,
|
2457
2457
|
"isConstant": false,
|
2458
2458
|
"isLValue": false,
|
2459
2459
|
"isPure": false,
|
@@ -2467,7 +2467,7 @@
|
|
2467
2467
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
2468
2468
|
}
|
2469
2469
|
},
|
2470
|
-
"id":
|
2470
|
+
"id": 42115,
|
2471
2471
|
"isConstant": false,
|
2472
2472
|
"isLValue": false,
|
2473
2473
|
"isPure": false,
|
@@ -2479,7 +2479,7 @@
|
|
2479
2479
|
"options": [
|
2480
2480
|
{
|
2481
2481
|
"hexValue": "30",
|
2482
|
-
"id":
|
2482
|
+
"id": 42114,
|
2483
2483
|
"isConstant": false,
|
2484
2484
|
"isLValue": false,
|
2485
2485
|
"isPure": true,
|
@@ -2500,7 +2500,7 @@
|
|
2500
2500
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
2501
2501
|
}
|
2502
2502
|
},
|
2503
|
-
"id":
|
2503
|
+
"id": 42121,
|
2504
2504
|
"isConstant": false,
|
2505
2505
|
"isLValue": false,
|
2506
2506
|
"isPure": false,
|
@@ -2522,14 +2522,14 @@
|
|
2522
2522
|
"typeString": "tuple()"
|
2523
2523
|
}
|
2524
2524
|
},
|
2525
|
-
"id":
|
2525
|
+
"id": 42123,
|
2526
2526
|
"nodeType": "ExpressionStatement",
|
2527
2527
|
"src": "5489:134:100"
|
2528
2528
|
}
|
2529
2529
|
]
|
2530
2530
|
},
|
2531
2531
|
"documentation": {
|
2532
|
-
"id":
|
2532
|
+
"id": 42094,
|
2533
2533
|
"nodeType": "StructuredDocumentation",
|
2534
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."
|
@@ -2540,17 +2540,17 @@
|
|
2540
2540
|
"name": "callWithContext",
|
2541
2541
|
"nameLocation": "5320:15:100",
|
2542
2542
|
"parameters": {
|
2543
|
-
"id":
|
2543
|
+
"id": 42103,
|
2544
2544
|
"nodeType": "ParameterList",
|
2545
2545
|
"parameters": [
|
2546
2546
|
{
|
2547
2547
|
"constant": false,
|
2548
|
-
"id":
|
2548
|
+
"id": 42096,
|
2549
2549
|
"mutability": "mutable",
|
2550
2550
|
"name": "msgSender",
|
2551
2551
|
"nameLocation": "5349:9:100",
|
2552
2552
|
"nodeType": "VariableDeclaration",
|
2553
|
-
"scope":
|
2553
|
+
"scope": 42125,
|
2554
2554
|
"src": "5341:17:100",
|
2555
2555
|
"stateVariable": false,
|
2556
2556
|
"storageLocation": "default",
|
@@ -2559,7 +2559,7 @@
|
|
2559
2559
|
"typeString": "address"
|
2560
2560
|
},
|
2561
2561
|
"typeName": {
|
2562
|
-
"id":
|
2562
|
+
"id": 42095,
|
2563
2563
|
"name": "address",
|
2564
2564
|
"nodeType": "ElementaryTypeName",
|
2565
2565
|
"src": "5341:7:100",
|
@@ -2573,12 +2573,12 @@
|
|
2573
2573
|
},
|
2574
2574
|
{
|
2575
2575
|
"constant": false,
|
2576
|
-
"id":
|
2576
|
+
"id": 42098,
|
2577
2577
|
"mutability": "mutable",
|
2578
2578
|
"name": "msgValue",
|
2579
2579
|
"nameLocation": "5372:8:100",
|
2580
2580
|
"nodeType": "VariableDeclaration",
|
2581
|
-
"scope":
|
2581
|
+
"scope": 42125,
|
2582
2582
|
"src": "5364:16:100",
|
2583
2583
|
"stateVariable": false,
|
2584
2584
|
"storageLocation": "default",
|
@@ -2587,7 +2587,7 @@
|
|
2587
2587
|
"typeString": "uint256"
|
2588
2588
|
},
|
2589
2589
|
"typeName": {
|
2590
|
-
"id":
|
2590
|
+
"id": 42097,
|
2591
2591
|
"name": "uint256",
|
2592
2592
|
"nodeType": "ElementaryTypeName",
|
2593
2593
|
"src": "5364:7:100",
|
@@ -2600,12 +2600,12 @@
|
|
2600
2600
|
},
|
2601
2601
|
{
|
2602
2602
|
"constant": false,
|
2603
|
-
"id":
|
2603
|
+
"id": 42100,
|
2604
2604
|
"mutability": "mutable",
|
2605
2605
|
"name": "target",
|
2606
2606
|
"nameLocation": "5394:6:100",
|
2607
2607
|
"nodeType": "VariableDeclaration",
|
2608
|
-
"scope":
|
2608
|
+
"scope": 42125,
|
2609
2609
|
"src": "5386:14:100",
|
2610
2610
|
"stateVariable": false,
|
2611
2611
|
"storageLocation": "default",
|
@@ -2614,7 +2614,7 @@
|
|
2614
2614
|
"typeString": "address"
|
2615
2615
|
},
|
2616
2616
|
"typeName": {
|
2617
|
-
"id":
|
2617
|
+
"id": 42099,
|
2618
2618
|
"name": "address",
|
2619
2619
|
"nodeType": "ElementaryTypeName",
|
2620
2620
|
"src": "5386:7:100",
|
@@ -2628,12 +2628,12 @@
|
|
2628
2628
|
},
|
2629
2629
|
{
|
2630
2630
|
"constant": false,
|
2631
|
-
"id":
|
2631
|
+
"id": 42102,
|
2632
2632
|
"mutability": "mutable",
|
2633
2633
|
"name": "callData",
|
2634
2634
|
"nameLocation": "5419:8:100",
|
2635
2635
|
"nodeType": "VariableDeclaration",
|
2636
|
-
"scope":
|
2636
|
+
"scope": 42125,
|
2637
2637
|
"src": "5406:21:100",
|
2638
2638
|
"stateVariable": false,
|
2639
2639
|
"storageLocation": "memory",
|
@@ -2642,7 +2642,7 @@
|
|
2642
2642
|
"typeString": "bytes"
|
2643
2643
|
},
|
2644
2644
|
"typeName": {
|
2645
|
-
"id":
|
2645
|
+
"id": 42101,
|
2646
2646
|
"name": "bytes",
|
2647
2647
|
"nodeType": "ElementaryTypeName",
|
2648
2648
|
"src": "5406:5:100",
|
@@ -2657,17 +2657,17 @@
|
|
2657
2657
|
"src": "5335:96:100"
|
2658
2658
|
},
|
2659
2659
|
"returnParameters": {
|
2660
|
-
"id":
|
2660
|
+
"id": 42108,
|
2661
2661
|
"nodeType": "ParameterList",
|
2662
2662
|
"parameters": [
|
2663
2663
|
{
|
2664
2664
|
"constant": false,
|
2665
|
-
"id":
|
2665
|
+
"id": 42105,
|
2666
2666
|
"mutability": "mutable",
|
2667
2667
|
"name": "success",
|
2668
2668
|
"nameLocation": "5455:7:100",
|
2669
2669
|
"nodeType": "VariableDeclaration",
|
2670
|
-
"scope":
|
2670
|
+
"scope": 42125,
|
2671
2671
|
"src": "5450:12:100",
|
2672
2672
|
"stateVariable": false,
|
2673
2673
|
"storageLocation": "default",
|
@@ -2676,7 +2676,7 @@
|
|
2676
2676
|
"typeString": "bool"
|
2677
2677
|
},
|
2678
2678
|
"typeName": {
|
2679
|
-
"id":
|
2679
|
+
"id": 42104,
|
2680
2680
|
"name": "bool",
|
2681
2681
|
"nodeType": "ElementaryTypeName",
|
2682
2682
|
"src": "5450:4:100",
|
@@ -2689,12 +2689,12 @@
|
|
2689
2689
|
},
|
2690
2690
|
{
|
2691
2691
|
"constant": false,
|
2692
|
-
"id":
|
2692
|
+
"id": 42107,
|
2693
2693
|
"mutability": "mutable",
|
2694
2694
|
"name": "data",
|
2695
2695
|
"nameLocation": "5477:4:100",
|
2696
2696
|
"nodeType": "VariableDeclaration",
|
2697
|
-
"scope":
|
2697
|
+
"scope": 42125,
|
2698
2698
|
"src": "5464:17:100",
|
2699
2699
|
"stateVariable": false,
|
2700
2700
|
"storageLocation": "memory",
|
@@ -2703,7 +2703,7 @@
|
|
2703
2703
|
"typeString": "bytes"
|
2704
2704
|
},
|
2705
2705
|
"typeName": {
|
2706
|
-
"id":
|
2706
|
+
"id": 42106,
|
2707
2707
|
"name": "bytes",
|
2708
2708
|
"nodeType": "ElementaryTypeName",
|
2709
2709
|
"src": "5464:5:100",
|
@@ -2717,25 +2717,25 @@
|
|
2717
2717
|
],
|
2718
2718
|
"src": "5449:33:100"
|
2719
2719
|
},
|
2720
|
-
"scope":
|
2720
|
+
"scope": 42226,
|
2721
2721
|
"stateMutability": "nonpayable",
|
2722
2722
|
"virtual": false,
|
2723
2723
|
"visibility": "internal"
|
2724
2724
|
},
|
2725
2725
|
{
|
2726
|
-
"id":
|
2726
|
+
"id": 42155,
|
2727
2727
|
"nodeType": "FunctionDefinition",
|
2728
2728
|
"src": "6132:321:100",
|
2729
2729
|
"nodes": [],
|
2730
2730
|
"body": {
|
2731
|
-
"id":
|
2731
|
+
"id": 42154,
|
2732
2732
|
"nodeType": "Block",
|
2733
2733
|
"src": "6312:141:100",
|
2734
2734
|
"nodes": [],
|
2735
2735
|
"statements": [
|
2736
2736
|
{
|
2737
2737
|
"expression": {
|
2738
|
-
"id":
|
2738
|
+
"id": 42152,
|
2739
2739
|
"isConstant": false,
|
2740
2740
|
"isLValue": false,
|
2741
2741
|
"isPure": false,
|
@@ -2743,11 +2743,11 @@
|
|
2743
2743
|
"leftHandSide": {
|
2744
2744
|
"components": [
|
2745
2745
|
{
|
2746
|
-
"id":
|
2746
|
+
"id": 42141,
|
2747
2747
|
"name": "success",
|
2748
2748
|
"nodeType": "Identifier",
|
2749
2749
|
"overloadedDeclarations": [],
|
2750
|
-
"referencedDeclaration":
|
2750
|
+
"referencedDeclaration": 42137,
|
2751
2751
|
"src": "6319:7:100",
|
2752
2752
|
"typeDescriptions": {
|
2753
2753
|
"typeIdentifier": "t_bool",
|
@@ -2755,11 +2755,11 @@
|
|
2755
2755
|
}
|
2756
2756
|
},
|
2757
2757
|
{
|
2758
|
-
"id":
|
2758
|
+
"id": 42142,
|
2759
2759
|
"name": "data",
|
2760
2760
|
"nodeType": "Identifier",
|
2761
2761
|
"overloadedDeclarations": [],
|
2762
|
-
"referencedDeclaration":
|
2762
|
+
"referencedDeclaration": 42139,
|
2763
2763
|
"src": "6328:4:100",
|
2764
2764
|
"typeDescriptions": {
|
2765
2765
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2767,7 +2767,7 @@
|
|
2767
2767
|
}
|
2768
2768
|
}
|
2769
2769
|
],
|
2770
|
-
"id":
|
2770
|
+
"id": 42143,
|
2771
2771
|
"isConstant": false,
|
2772
2772
|
"isInlineArray": false,
|
2773
2773
|
"isLValue": true,
|
@@ -2787,11 +2787,11 @@
|
|
2787
2787
|
{
|
2788
2788
|
"arguments": [
|
2789
2789
|
{
|
2790
|
-
"id":
|
2790
|
+
"id": 42147,
|
2791
2791
|
"name": "callData",
|
2792
2792
|
"nodeType": "Identifier",
|
2793
2793
|
"overloadedDeclarations": [],
|
2794
|
-
"referencedDeclaration":
|
2794
|
+
"referencedDeclaration": 42134,
|
2795
2795
|
"src": "6389:8:100",
|
2796
2796
|
"typeDescriptions": {
|
2797
2797
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -2799,11 +2799,11 @@
|
|
2799
2799
|
}
|
2800
2800
|
},
|
2801
2801
|
{
|
2802
|
-
"id":
|
2802
|
+
"id": 42148,
|
2803
2803
|
"name": "msgSender",
|
2804
2804
|
"nodeType": "Identifier",
|
2805
2805
|
"overloadedDeclarations": [],
|
2806
|
-
"referencedDeclaration":
|
2806
|
+
"referencedDeclaration": 42128,
|
2807
2807
|
"src": "6410:9:100",
|
2808
2808
|
"typeDescriptions": {
|
2809
2809
|
"typeIdentifier": "t_address",
|
@@ -2811,11 +2811,11 @@
|
|
2811
2811
|
}
|
2812
2812
|
},
|
2813
2813
|
{
|
2814
|
-
"id":
|
2814
|
+
"id": 42149,
|
2815
2815
|
"name": "msgValue",
|
2816
2816
|
"nodeType": "Identifier",
|
2817
2817
|
"overloadedDeclarations": [],
|
2818
|
-
"referencedDeclaration":
|
2818
|
+
"referencedDeclaration": 42130,
|
2819
2819
|
"src": "6431:8:100",
|
2820
2820
|
"typeDescriptions": {
|
2821
2821
|
"typeIdentifier": "t_uint256",
|
@@ -2838,18 +2838,18 @@
|
|
2838
2838
|
"typeString": "uint256"
|
2839
2839
|
}
|
2840
2840
|
],
|
2841
|
-
"id":
|
2841
|
+
"id": 42146,
|
2842
2842
|
"name": "appendContext",
|
2843
2843
|
"nodeType": "Identifier",
|
2844
2844
|
"overloadedDeclarations": [],
|
2845
|
-
"referencedDeclaration":
|
2845
|
+
"referencedDeclaration": 42093,
|
2846
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": 42150,
|
2853
2853
|
"isConstant": false,
|
2854
2854
|
"isLValue": false,
|
2855
2855
|
"isPure": false,
|
@@ -2882,18 +2882,18 @@
|
|
2882
2882
|
}
|
2883
2883
|
],
|
2884
2884
|
"expression": {
|
2885
|
-
"id":
|
2885
|
+
"id": 42144,
|
2886
2886
|
"name": "target",
|
2887
2887
|
"nodeType": "Identifier",
|
2888
2888
|
"overloadedDeclarations": [],
|
2889
|
-
"referencedDeclaration":
|
2889
|
+
"referencedDeclaration": 42132,
|
2890
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": 42145,
|
2897
2897
|
"isConstant": false,
|
2898
2898
|
"isLValue": false,
|
2899
2899
|
"isPure": false,
|
@@ -2907,7 +2907,7 @@
|
|
2907
2907
|
"typeString": "function (bytes memory) returns (bool,bytes memory)"
|
2908
2908
|
}
|
2909
2909
|
},
|
2910
|
-
"id":
|
2910
|
+
"id": 42151,
|
2911
2911
|
"isConstant": false,
|
2912
2912
|
"isLValue": false,
|
2913
2913
|
"isPure": false,
|
@@ -2929,14 +2929,14 @@
|
|
2929
2929
|
"typeString": "tuple()"
|
2930
2930
|
}
|
2931
2931
|
},
|
2932
|
-
"id":
|
2932
|
+
"id": 42153,
|
2933
2933
|
"nodeType": "ExpressionStatement",
|
2934
2934
|
"src": "6318:130:100"
|
2935
2935
|
}
|
2936
2936
|
]
|
2937
2937
|
},
|
2938
2938
|
"documentation": {
|
2939
|
-
"id":
|
2939
|
+
"id": 42126,
|
2940
2940
|
"nodeType": "StructuredDocumentation",
|
2941
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."
|
@@ -2947,17 +2947,17 @@
|
|
2947
2947
|
"name": "delegatecallWithContext",
|
2948
2948
|
"nameLocation": "6141:23:100",
|
2949
2949
|
"parameters": {
|
2950
|
-
"id":
|
2950
|
+
"id": 42135,
|
2951
2951
|
"nodeType": "ParameterList",
|
2952
2952
|
"parameters": [
|
2953
2953
|
{
|
2954
2954
|
"constant": false,
|
2955
|
-
"id":
|
2955
|
+
"id": 42128,
|
2956
2956
|
"mutability": "mutable",
|
2957
2957
|
"name": "msgSender",
|
2958
2958
|
"nameLocation": "6178:9:100",
|
2959
2959
|
"nodeType": "VariableDeclaration",
|
2960
|
-
"scope":
|
2960
|
+
"scope": 42155,
|
2961
2961
|
"src": "6170:17:100",
|
2962
2962
|
"stateVariable": false,
|
2963
2963
|
"storageLocation": "default",
|
@@ -2966,7 +2966,7 @@
|
|
2966
2966
|
"typeString": "address"
|
2967
2967
|
},
|
2968
2968
|
"typeName": {
|
2969
|
-
"id":
|
2969
|
+
"id": 42127,
|
2970
2970
|
"name": "address",
|
2971
2971
|
"nodeType": "ElementaryTypeName",
|
2972
2972
|
"src": "6170:7:100",
|
@@ -2980,12 +2980,12 @@
|
|
2980
2980
|
},
|
2981
2981
|
{
|
2982
2982
|
"constant": false,
|
2983
|
-
"id":
|
2983
|
+
"id": 42130,
|
2984
2984
|
"mutability": "mutable",
|
2985
2985
|
"name": "msgValue",
|
2986
2986
|
"nameLocation": "6201:8:100",
|
2987
2987
|
"nodeType": "VariableDeclaration",
|
2988
|
-
"scope":
|
2988
|
+
"scope": 42155,
|
2989
2989
|
"src": "6193:16:100",
|
2990
2990
|
"stateVariable": false,
|
2991
2991
|
"storageLocation": "default",
|
@@ -2994,7 +2994,7 @@
|
|
2994
2994
|
"typeString": "uint256"
|
2995
2995
|
},
|
2996
2996
|
"typeName": {
|
2997
|
-
"id":
|
2997
|
+
"id": 42129,
|
2998
2998
|
"name": "uint256",
|
2999
2999
|
"nodeType": "ElementaryTypeName",
|
3000
3000
|
"src": "6193:7:100",
|
@@ -3007,12 +3007,12 @@
|
|
3007
3007
|
},
|
3008
3008
|
{
|
3009
3009
|
"constant": false,
|
3010
|
-
"id":
|
3010
|
+
"id": 42132,
|
3011
3011
|
"mutability": "mutable",
|
3012
3012
|
"name": "target",
|
3013
3013
|
"nameLocation": "6223:6:100",
|
3014
3014
|
"nodeType": "VariableDeclaration",
|
3015
|
-
"scope":
|
3015
|
+
"scope": 42155,
|
3016
3016
|
"src": "6215:14:100",
|
3017
3017
|
"stateVariable": false,
|
3018
3018
|
"storageLocation": "default",
|
@@ -3021,7 +3021,7 @@
|
|
3021
3021
|
"typeString": "address"
|
3022
3022
|
},
|
3023
3023
|
"typeName": {
|
3024
|
-
"id":
|
3024
|
+
"id": 42131,
|
3025
3025
|
"name": "address",
|
3026
3026
|
"nodeType": "ElementaryTypeName",
|
3027
3027
|
"src": "6215:7:100",
|
@@ -3035,12 +3035,12 @@
|
|
3035
3035
|
},
|
3036
3036
|
{
|
3037
3037
|
"constant": false,
|
3038
|
-
"id":
|
3038
|
+
"id": 42134,
|
3039
3039
|
"mutability": "mutable",
|
3040
3040
|
"name": "callData",
|
3041
3041
|
"nameLocation": "6248:8:100",
|
3042
3042
|
"nodeType": "VariableDeclaration",
|
3043
|
-
"scope":
|
3043
|
+
"scope": 42155,
|
3044
3044
|
"src": "6235:21:100",
|
3045
3045
|
"stateVariable": false,
|
3046
3046
|
"storageLocation": "memory",
|
@@ -3049,7 +3049,7 @@
|
|
3049
3049
|
"typeString": "bytes"
|
3050
3050
|
},
|
3051
3051
|
"typeName": {
|
3052
|
-
"id":
|
3052
|
+
"id": 42133,
|
3053
3053
|
"name": "bytes",
|
3054
3054
|
"nodeType": "ElementaryTypeName",
|
3055
3055
|
"src": "6235:5:100",
|
@@ -3064,17 +3064,17 @@
|
|
3064
3064
|
"src": "6164:96:100"
|
3065
3065
|
},
|
3066
3066
|
"returnParameters": {
|
3067
|
-
"id":
|
3067
|
+
"id": 42140,
|
3068
3068
|
"nodeType": "ParameterList",
|
3069
3069
|
"parameters": [
|
3070
3070
|
{
|
3071
3071
|
"constant": false,
|
3072
|
-
"id":
|
3072
|
+
"id": 42137,
|
3073
3073
|
"mutability": "mutable",
|
3074
3074
|
"name": "success",
|
3075
3075
|
"nameLocation": "6284:7:100",
|
3076
3076
|
"nodeType": "VariableDeclaration",
|
3077
|
-
"scope":
|
3077
|
+
"scope": 42155,
|
3078
3078
|
"src": "6279:12:100",
|
3079
3079
|
"stateVariable": false,
|
3080
3080
|
"storageLocation": "default",
|
@@ -3083,7 +3083,7 @@
|
|
3083
3083
|
"typeString": "bool"
|
3084
3084
|
},
|
3085
3085
|
"typeName": {
|
3086
|
-
"id":
|
3086
|
+
"id": 42136,
|
3087
3087
|
"name": "bool",
|
3088
3088
|
"nodeType": "ElementaryTypeName",
|
3089
3089
|
"src": "6279:4:100",
|
@@ -3096,12 +3096,12 @@
|
|
3096
3096
|
},
|
3097
3097
|
{
|
3098
3098
|
"constant": false,
|
3099
|
-
"id":
|
3099
|
+
"id": 42139,
|
3100
3100
|
"mutability": "mutable",
|
3101
3101
|
"name": "data",
|
3102
3102
|
"nameLocation": "6306:4:100",
|
3103
3103
|
"nodeType": "VariableDeclaration",
|
3104
|
-
"scope":
|
3104
|
+
"scope": 42155,
|
3105
3105
|
"src": "6293:17:100",
|
3106
3106
|
"stateVariable": false,
|
3107
3107
|
"storageLocation": "memory",
|
@@ -3110,7 +3110,7 @@
|
|
3110
3110
|
"typeString": "bytes"
|
3111
3111
|
},
|
3112
3112
|
"typeName": {
|
3113
|
-
"id":
|
3113
|
+
"id": 42138,
|
3114
3114
|
"name": "bytes",
|
3115
3115
|
"nodeType": "ElementaryTypeName",
|
3116
3116
|
"src": "6293:5:100",
|
@@ -3124,36 +3124,36 @@
|
|
3124
3124
|
],
|
3125
3125
|
"src": "6278:33:100"
|
3126
3126
|
},
|
3127
|
-
"scope":
|
3127
|
+
"scope": 42226,
|
3128
3128
|
"stateMutability": "nonpayable",
|
3129
3129
|
"virtual": false,
|
3130
3130
|
"visibility": "internal"
|
3131
3131
|
},
|
3132
3132
|
{
|
3133
|
-
"id":
|
3133
|
+
"id": 42190,
|
3134
3134
|
"nodeType": "FunctionDefinition",
|
3135
3135
|
"src": "6908:399:100",
|
3136
3136
|
"nodes": [],
|
3137
3137
|
"body": {
|
3138
|
-
"id":
|
3138
|
+
"id": 42189,
|
3139
3139
|
"nodeType": "Block",
|
3140
3140
|
"src": "7074:233:100",
|
3141
3141
|
"nodes": [],
|
3142
3142
|
"statements": [
|
3143
3143
|
{
|
3144
3144
|
"assignments": [
|
3145
|
-
|
3146
|
-
|
3145
|
+
42170,
|
3146
|
+
42172
|
3147
3147
|
],
|
3148
3148
|
"declarations": [
|
3149
3149
|
{
|
3150
3150
|
"constant": false,
|
3151
|
-
"id":
|
3151
|
+
"id": 42170,
|
3152
3152
|
"mutability": "mutable",
|
3153
3153
|
"name": "success",
|
3154
3154
|
"nameLocation": "7086:7:100",
|
3155
3155
|
"nodeType": "VariableDeclaration",
|
3156
|
-
"scope":
|
3156
|
+
"scope": 42189,
|
3157
3157
|
"src": "7081:12:100",
|
3158
3158
|
"stateVariable": false,
|
3159
3159
|
"storageLocation": "default",
|
@@ -3162,7 +3162,7 @@
|
|
3162
3162
|
"typeString": "bool"
|
3163
3163
|
},
|
3164
3164
|
"typeName": {
|
3165
|
-
"id":
|
3165
|
+
"id": 42169,
|
3166
3166
|
"name": "bool",
|
3167
3167
|
"nodeType": "ElementaryTypeName",
|
3168
3168
|
"src": "7081:4:100",
|
@@ -3175,12 +3175,12 @@
|
|
3175
3175
|
},
|
3176
3176
|
{
|
3177
3177
|
"constant": false,
|
3178
|
-
"id":
|
3178
|
+
"id": 42172,
|
3179
3179
|
"mutability": "mutable",
|
3180
3180
|
"name": "_data",
|
3181
3181
|
"nameLocation": "7108:5:100",
|
3182
3182
|
"nodeType": "VariableDeclaration",
|
3183
|
-
"scope":
|
3183
|
+
"scope": 42189,
|
3184
3184
|
"src": "7095:18:100",
|
3185
3185
|
"stateVariable": false,
|
3186
3186
|
"storageLocation": "memory",
|
@@ -3189,7 +3189,7 @@
|
|
3189
3189
|
"typeString": "bytes"
|
3190
3190
|
},
|
3191
3191
|
"typeName": {
|
3192
|
-
"id":
|
3192
|
+
"id": 42171,
|
3193
3193
|
"name": "bytes",
|
3194
3194
|
"nodeType": "ElementaryTypeName",
|
3195
3195
|
"src": "7095:5:100",
|
@@ -3201,15 +3201,15 @@
|
|
3201
3201
|
"visibility": "internal"
|
3202
3202
|
}
|
3203
3203
|
],
|
3204
|
-
"id":
|
3204
|
+
"id": 42179,
|
3205
3205
|
"initialValue": {
|
3206
3206
|
"arguments": [
|
3207
3207
|
{
|
3208
|
-
"id":
|
3208
|
+
"id": 42174,
|
3209
3209
|
"name": "msgSender",
|
3210
3210
|
"nodeType": "Identifier",
|
3211
3211
|
"overloadedDeclarations": [],
|
3212
|
-
"referencedDeclaration":
|
3212
|
+
"referencedDeclaration": 42158,
|
3213
3213
|
"src": "7152:9:100",
|
3214
3214
|
"typeDescriptions": {
|
3215
3215
|
"typeIdentifier": "t_address",
|
@@ -3217,11 +3217,11 @@
|
|
3217
3217
|
}
|
3218
3218
|
},
|
3219
3219
|
{
|
3220
|
-
"id":
|
3220
|
+
"id": 42175,
|
3221
3221
|
"name": "msgValue",
|
3222
3222
|
"nodeType": "Identifier",
|
3223
3223
|
"overloadedDeclarations": [],
|
3224
|
-
"referencedDeclaration":
|
3224
|
+
"referencedDeclaration": 42160,
|
3225
3225
|
"src": "7179:8:100",
|
3226
3226
|
"typeDescriptions": {
|
3227
3227
|
"typeIdentifier": "t_uint256",
|
@@ -3229,11 +3229,11 @@
|
|
3229
3229
|
}
|
3230
3230
|
},
|
3231
3231
|
{
|
3232
|
-
"id":
|
3232
|
+
"id": 42176,
|
3233
3233
|
"name": "target",
|
3234
3234
|
"nodeType": "Identifier",
|
3235
3235
|
"overloadedDeclarations": [],
|
3236
|
-
"referencedDeclaration":
|
3236
|
+
"referencedDeclaration": 42162,
|
3237
3237
|
"src": "7203:6:100",
|
3238
3238
|
"typeDescriptions": {
|
3239
3239
|
"typeIdentifier": "t_address",
|
@@ -3241,11 +3241,11 @@
|
|
3241
3241
|
}
|
3242
3242
|
},
|
3243
3243
|
{
|
3244
|
-
"id":
|
3244
|
+
"id": 42177,
|
3245
3245
|
"name": "callData",
|
3246
3246
|
"nodeType": "Identifier",
|
3247
3247
|
"overloadedDeclarations": [],
|
3248
|
-
"referencedDeclaration":
|
3248
|
+
"referencedDeclaration": 42164,
|
3249
3249
|
"src": "7227:8:100",
|
3250
3250
|
"typeDescriptions": {
|
3251
3251
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -3272,18 +3272,18 @@
|
|
3272
3272
|
"typeString": "bytes memory"
|
3273
3273
|
}
|
3274
3274
|
],
|
3275
|
-
"id":
|
3275
|
+
"id": 42173,
|
3276
3276
|
"name": "callWithContext",
|
3277
3277
|
"nodeType": "Identifier",
|
3278
3278
|
"overloadedDeclarations": [],
|
3279
|
-
"referencedDeclaration":
|
3279
|
+
"referencedDeclaration": 42125,
|
3280
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": 42178,
|
3287
3287
|
"isConstant": false,
|
3288
3288
|
"isLValue": false,
|
3289
3289
|
"isPure": false,
|
@@ -3314,7 +3314,7 @@
|
|
3314
3314
|
},
|
3315
3315
|
{
|
3316
3316
|
"condition": {
|
3317
|
-
"id":
|
3317
|
+
"id": 42181,
|
3318
3318
|
"isConstant": false,
|
3319
3319
|
"isLValue": false,
|
3320
3320
|
"isPure": false,
|
@@ -3324,11 +3324,11 @@
|
|
3324
3324
|
"prefix": true,
|
3325
3325
|
"src": "7252:8:100",
|
3326
3326
|
"subExpression": {
|
3327
|
-
"id":
|
3327
|
+
"id": 42180,
|
3328
3328
|
"name": "success",
|
3329
3329
|
"nodeType": "Identifier",
|
3330
3330
|
"overloadedDeclarations": [],
|
3331
|
-
"referencedDeclaration":
|
3331
|
+
"referencedDeclaration": 42170,
|
3332
3332
|
"src": "7253:7:100",
|
3333
3333
|
"typeDescriptions": {
|
3334
3334
|
"typeIdentifier": "t_bool",
|
@@ -3340,18 +3340,18 @@
|
|
3340
3340
|
"typeString": "bool"
|
3341
3341
|
}
|
3342
3342
|
},
|
3343
|
-
"id":
|
3343
|
+
"id": 42186,
|
3344
3344
|
"nodeType": "IfStatement",
|
3345
3345
|
"src": "7248:36:100",
|
3346
3346
|
"trueBody": {
|
3347
3347
|
"expression": {
|
3348
3348
|
"arguments": [
|
3349
3349
|
{
|
3350
|
-
"id":
|
3350
|
+
"id": 42183,
|
3351
3351
|
"name": "_data",
|
3352
3352
|
"nodeType": "Identifier",
|
3353
3353
|
"overloadedDeclarations": [],
|
3354
|
-
"referencedDeclaration":
|
3354
|
+
"referencedDeclaration": 42172,
|
3355
3355
|
"src": "7278:5:100",
|
3356
3356
|
"typeDescriptions": {
|
3357
3357
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -3366,18 +3366,18 @@
|
|
3366
3366
|
"typeString": "bytes memory"
|
3367
3367
|
}
|
3368
3368
|
],
|
3369
|
-
"id":
|
3369
|
+
"id": 42182,
|
3370
3370
|
"name": "revertWithBytes",
|
3371
3371
|
"nodeType": "Identifier",
|
3372
3372
|
"overloadedDeclarations": [],
|
3373
|
-
"referencedDeclaration":
|
3373
|
+
"referencedDeclaration": 49007,
|
3374
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": 42184,
|
3381
3381
|
"isConstant": false,
|
3382
3382
|
"isLValue": false,
|
3383
3383
|
"isPure": false,
|
@@ -3393,33 +3393,33 @@
|
|
3393
3393
|
"typeString": "tuple()"
|
3394
3394
|
}
|
3395
3395
|
},
|
3396
|
-
"id":
|
3396
|
+
"id": 42185,
|
3397
3397
|
"nodeType": "ExpressionStatement",
|
3398
3398
|
"src": "7262:22:100"
|
3399
3399
|
}
|
3400
3400
|
},
|
3401
3401
|
{
|
3402
3402
|
"expression": {
|
3403
|
-
"id":
|
3403
|
+
"id": 42187,
|
3404
3404
|
"name": "_data",
|
3405
3405
|
"nodeType": "Identifier",
|
3406
3406
|
"overloadedDeclarations": [],
|
3407
|
-
"referencedDeclaration":
|
3407
|
+
"referencedDeclaration": 42172,
|
3408
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": 42168,
|
3415
|
+
"id": 42188,
|
3416
3416
|
"nodeType": "Return",
|
3417
3417
|
"src": "7290:12:100"
|
3418
3418
|
}
|
3419
3419
|
]
|
3420
3420
|
},
|
3421
3421
|
"documentation": {
|
3422
|
-
"id":
|
3422
|
+
"id": 42156,
|
3423
3423
|
"nodeType": "StructuredDocumentation",
|
3424
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."
|
@@ -3430,17 +3430,17 @@
|
|
3430
3430
|
"name": "callWithContextOrRevert",
|
3431
3431
|
"nameLocation": "6917:23:100",
|
3432
3432
|
"parameters": {
|
3433
|
-
"id":
|
3433
|
+
"id": 42165,
|
3434
3434
|
"nodeType": "ParameterList",
|
3435
3435
|
"parameters": [
|
3436
3436
|
{
|
3437
3437
|
"constant": false,
|
3438
|
-
"id":
|
3438
|
+
"id": 42158,
|
3439
3439
|
"mutability": "mutable",
|
3440
3440
|
"name": "msgSender",
|
3441
3441
|
"nameLocation": "6954:9:100",
|
3442
3442
|
"nodeType": "VariableDeclaration",
|
3443
|
-
"scope":
|
3443
|
+
"scope": 42190,
|
3444
3444
|
"src": "6946:17:100",
|
3445
3445
|
"stateVariable": false,
|
3446
3446
|
"storageLocation": "default",
|
@@ -3449,7 +3449,7 @@
|
|
3449
3449
|
"typeString": "address"
|
3450
3450
|
},
|
3451
3451
|
"typeName": {
|
3452
|
-
"id":
|
3452
|
+
"id": 42157,
|
3453
3453
|
"name": "address",
|
3454
3454
|
"nodeType": "ElementaryTypeName",
|
3455
3455
|
"src": "6946:7:100",
|
@@ -3463,12 +3463,12 @@
|
|
3463
3463
|
},
|
3464
3464
|
{
|
3465
3465
|
"constant": false,
|
3466
|
-
"id":
|
3466
|
+
"id": 42160,
|
3467
3467
|
"mutability": "mutable",
|
3468
3468
|
"name": "msgValue",
|
3469
3469
|
"nameLocation": "6977:8:100",
|
3470
3470
|
"nodeType": "VariableDeclaration",
|
3471
|
-
"scope":
|
3471
|
+
"scope": 42190,
|
3472
3472
|
"src": "6969:16:100",
|
3473
3473
|
"stateVariable": false,
|
3474
3474
|
"storageLocation": "default",
|
@@ -3477,7 +3477,7 @@
|
|
3477
3477
|
"typeString": "uint256"
|
3478
3478
|
},
|
3479
3479
|
"typeName": {
|
3480
|
-
"id":
|
3480
|
+
"id": 42159,
|
3481
3481
|
"name": "uint256",
|
3482
3482
|
"nodeType": "ElementaryTypeName",
|
3483
3483
|
"src": "6969:7:100",
|
@@ -3490,12 +3490,12 @@
|
|
3490
3490
|
},
|
3491
3491
|
{
|
3492
3492
|
"constant": false,
|
3493
|
-
"id":
|
3493
|
+
"id": 42162,
|
3494
3494
|
"mutability": "mutable",
|
3495
3495
|
"name": "target",
|
3496
3496
|
"nameLocation": "6999:6:100",
|
3497
3497
|
"nodeType": "VariableDeclaration",
|
3498
|
-
"scope":
|
3498
|
+
"scope": 42190,
|
3499
3499
|
"src": "6991:14:100",
|
3500
3500
|
"stateVariable": false,
|
3501
3501
|
"storageLocation": "default",
|
@@ -3504,7 +3504,7 @@
|
|
3504
3504
|
"typeString": "address"
|
3505
3505
|
},
|
3506
3506
|
"typeName": {
|
3507
|
-
"id":
|
3507
|
+
"id": 42161,
|
3508
3508
|
"name": "address",
|
3509
3509
|
"nodeType": "ElementaryTypeName",
|
3510
3510
|
"src": "6991:7:100",
|
@@ -3518,12 +3518,12 @@
|
|
3518
3518
|
},
|
3519
3519
|
{
|
3520
3520
|
"constant": false,
|
3521
|
-
"id":
|
3521
|
+
"id": 42164,
|
3522
3522
|
"mutability": "mutable",
|
3523
3523
|
"name": "callData",
|
3524
3524
|
"nameLocation": "7024:8:100",
|
3525
3525
|
"nodeType": "VariableDeclaration",
|
3526
|
-
"scope":
|
3526
|
+
"scope": 42190,
|
3527
3527
|
"src": "7011:21:100",
|
3528
3528
|
"stateVariable": false,
|
3529
3529
|
"storageLocation": "memory",
|
@@ -3532,7 +3532,7 @@
|
|
3532
3532
|
"typeString": "bytes"
|
3533
3533
|
},
|
3534
3534
|
"typeName": {
|
3535
|
-
"id":
|
3535
|
+
"id": 42163,
|
3536
3536
|
"name": "bytes",
|
3537
3537
|
"nodeType": "ElementaryTypeName",
|
3538
3538
|
"src": "7011:5:100",
|
@@ -3547,17 +3547,17 @@
|
|
3547
3547
|
"src": "6940:96:100"
|
3548
3548
|
},
|
3549
3549
|
"returnParameters": {
|
3550
|
-
"id":
|
3550
|
+
"id": 42168,
|
3551
3551
|
"nodeType": "ParameterList",
|
3552
3552
|
"parameters": [
|
3553
3553
|
{
|
3554
3554
|
"constant": false,
|
3555
|
-
"id":
|
3555
|
+
"id": 42167,
|
3556
3556
|
"mutability": "mutable",
|
3557
3557
|
"name": "data",
|
3558
3558
|
"nameLocation": "7068:4:100",
|
3559
3559
|
"nodeType": "VariableDeclaration",
|
3560
|
-
"scope":
|
3560
|
+
"scope": 42190,
|
3561
3561
|
"src": "7055:17:100",
|
3562
3562
|
"stateVariable": false,
|
3563
3563
|
"storageLocation": "memory",
|
@@ -3566,7 +3566,7 @@
|
|
3566
3566
|
"typeString": "bytes"
|
3567
3567
|
},
|
3568
3568
|
"typeName": {
|
3569
|
-
"id":
|
3569
|
+
"id": 42166,
|
3570
3570
|
"name": "bytes",
|
3571
3571
|
"nodeType": "ElementaryTypeName",
|
3572
3572
|
"src": "7055:5:100",
|
@@ -3580,36 +3580,36 @@
|
|
3580
3580
|
],
|
3581
3581
|
"src": "7054:19:100"
|
3582
3582
|
},
|
3583
|
-
"scope":
|
3583
|
+
"scope": 42226,
|
3584
3584
|
"stateMutability": "nonpayable",
|
3585
3585
|
"virtual": false,
|
3586
3586
|
"visibility": "internal"
|
3587
3587
|
},
|
3588
3588
|
{
|
3589
|
-
"id":
|
3589
|
+
"id": 42225,
|
3590
3590
|
"nodeType": "FunctionDefinition",
|
3591
3591
|
"src": "7770:415:100",
|
3592
3592
|
"nodes": [],
|
3593
3593
|
"body": {
|
3594
|
-
"id":
|
3594
|
+
"id": 42224,
|
3595
3595
|
"nodeType": "Block",
|
3596
3596
|
"src": "7944:241:100",
|
3597
3597
|
"nodes": [],
|
3598
3598
|
"statements": [
|
3599
3599
|
{
|
3600
3600
|
"assignments": [
|
3601
|
-
|
3602
|
-
|
3601
|
+
42205,
|
3602
|
+
42207
|
3603
3603
|
],
|
3604
3604
|
"declarations": [
|
3605
3605
|
{
|
3606
3606
|
"constant": false,
|
3607
|
-
"id":
|
3607
|
+
"id": 42205,
|
3608
3608
|
"mutability": "mutable",
|
3609
3609
|
"name": "success",
|
3610
3610
|
"nameLocation": "7956:7:100",
|
3611
3611
|
"nodeType": "VariableDeclaration",
|
3612
|
-
"scope":
|
3612
|
+
"scope": 42224,
|
3613
3613
|
"src": "7951:12:100",
|
3614
3614
|
"stateVariable": false,
|
3615
3615
|
"storageLocation": "default",
|
@@ -3618,7 +3618,7 @@
|
|
3618
3618
|
"typeString": "bool"
|
3619
3619
|
},
|
3620
3620
|
"typeName": {
|
3621
|
-
"id":
|
3621
|
+
"id": 42204,
|
3622
3622
|
"name": "bool",
|
3623
3623
|
"nodeType": "ElementaryTypeName",
|
3624
3624
|
"src": "7951:4:100",
|
@@ -3631,12 +3631,12 @@
|
|
3631
3631
|
},
|
3632
3632
|
{
|
3633
3633
|
"constant": false,
|
3634
|
-
"id":
|
3634
|
+
"id": 42207,
|
3635
3635
|
"mutability": "mutable",
|
3636
3636
|
"name": "_data",
|
3637
3637
|
"nameLocation": "7978:5:100",
|
3638
3638
|
"nodeType": "VariableDeclaration",
|
3639
|
-
"scope":
|
3639
|
+
"scope": 42224,
|
3640
3640
|
"src": "7965:18:100",
|
3641
3641
|
"stateVariable": false,
|
3642
3642
|
"storageLocation": "memory",
|
@@ -3645,7 +3645,7 @@
|
|
3645
3645
|
"typeString": "bytes"
|
3646
3646
|
},
|
3647
3647
|
"typeName": {
|
3648
|
-
"id":
|
3648
|
+
"id": 42206,
|
3649
3649
|
"name": "bytes",
|
3650
3650
|
"nodeType": "ElementaryTypeName",
|
3651
3651
|
"src": "7965:5:100",
|
@@ -3657,15 +3657,15 @@
|
|
3657
3657
|
"visibility": "internal"
|
3658
3658
|
}
|
3659
3659
|
],
|
3660
|
-
"id":
|
3660
|
+
"id": 42214,
|
3661
3661
|
"initialValue": {
|
3662
3662
|
"arguments": [
|
3663
3663
|
{
|
3664
|
-
"id":
|
3664
|
+
"id": 42209,
|
3665
3665
|
"name": "msgSender",
|
3666
3666
|
"nodeType": "Identifier",
|
3667
3667
|
"overloadedDeclarations": [],
|
3668
|
-
"referencedDeclaration":
|
3668
|
+
"referencedDeclaration": 42193,
|
3669
3669
|
"src": "8030:9:100",
|
3670
3670
|
"typeDescriptions": {
|
3671
3671
|
"typeIdentifier": "t_address",
|
@@ -3673,11 +3673,11 @@
|
|
3673
3673
|
}
|
3674
3674
|
},
|
3675
3675
|
{
|
3676
|
-
"id":
|
3676
|
+
"id": 42210,
|
3677
3677
|
"name": "msgValue",
|
3678
3678
|
"nodeType": "Identifier",
|
3679
3679
|
"overloadedDeclarations": [],
|
3680
|
-
"referencedDeclaration":
|
3680
|
+
"referencedDeclaration": 42195,
|
3681
3681
|
"src": "8057:8:100",
|
3682
3682
|
"typeDescriptions": {
|
3683
3683
|
"typeIdentifier": "t_uint256",
|
@@ -3685,11 +3685,11 @@
|
|
3685
3685
|
}
|
3686
3686
|
},
|
3687
3687
|
{
|
3688
|
-
"id":
|
3688
|
+
"id": 42211,
|
3689
3689
|
"name": "target",
|
3690
3690
|
"nodeType": "Identifier",
|
3691
3691
|
"overloadedDeclarations": [],
|
3692
|
-
"referencedDeclaration":
|
3692
|
+
"referencedDeclaration": 42197,
|
3693
3693
|
"src": "8081:6:100",
|
3694
3694
|
"typeDescriptions": {
|
3695
3695
|
"typeIdentifier": "t_address",
|
@@ -3697,11 +3697,11 @@
|
|
3697
3697
|
}
|
3698
3698
|
},
|
3699
3699
|
{
|
3700
|
-
"id":
|
3700
|
+
"id": 42212,
|
3701
3701
|
"name": "callData",
|
3702
3702
|
"nodeType": "Identifier",
|
3703
3703
|
"overloadedDeclarations": [],
|
3704
|
-
"referencedDeclaration":
|
3704
|
+
"referencedDeclaration": 42199,
|
3705
3705
|
"src": "8105:8:100",
|
3706
3706
|
"typeDescriptions": {
|
3707
3707
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -3728,18 +3728,18 @@
|
|
3728
3728
|
"typeString": "bytes memory"
|
3729
3729
|
}
|
3730
3730
|
],
|
3731
|
-
"id":
|
3731
|
+
"id": 42208,
|
3732
3732
|
"name": "delegatecallWithContext",
|
3733
3733
|
"nodeType": "Identifier",
|
3734
3734
|
"overloadedDeclarations": [],
|
3735
|
-
"referencedDeclaration":
|
3735
|
+
"referencedDeclaration": 42155,
|
3736
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": 42213,
|
3743
3743
|
"isConstant": false,
|
3744
3744
|
"isLValue": false,
|
3745
3745
|
"isPure": false,
|
@@ -3770,7 +3770,7 @@
|
|
3770
3770
|
},
|
3771
3771
|
{
|
3772
3772
|
"condition": {
|
3773
|
-
"id":
|
3773
|
+
"id": 42216,
|
3774
3774
|
"isConstant": false,
|
3775
3775
|
"isLValue": false,
|
3776
3776
|
"isPure": false,
|
@@ -3780,11 +3780,11 @@
|
|
3780
3780
|
"prefix": true,
|
3781
3781
|
"src": "8130:8:100",
|
3782
3782
|
"subExpression": {
|
3783
|
-
"id":
|
3783
|
+
"id": 42215,
|
3784
3784
|
"name": "success",
|
3785
3785
|
"nodeType": "Identifier",
|
3786
3786
|
"overloadedDeclarations": [],
|
3787
|
-
"referencedDeclaration":
|
3787
|
+
"referencedDeclaration": 42205,
|
3788
3788
|
"src": "8131:7:100",
|
3789
3789
|
"typeDescriptions": {
|
3790
3790
|
"typeIdentifier": "t_bool",
|
@@ -3796,18 +3796,18 @@
|
|
3796
3796
|
"typeString": "bool"
|
3797
3797
|
}
|
3798
3798
|
},
|
3799
|
-
"id":
|
3799
|
+
"id": 42221,
|
3800
3800
|
"nodeType": "IfStatement",
|
3801
3801
|
"src": "8126:36:100",
|
3802
3802
|
"trueBody": {
|
3803
3803
|
"expression": {
|
3804
3804
|
"arguments": [
|
3805
3805
|
{
|
3806
|
-
"id":
|
3806
|
+
"id": 42218,
|
3807
3807
|
"name": "_data",
|
3808
3808
|
"nodeType": "Identifier",
|
3809
3809
|
"overloadedDeclarations": [],
|
3810
|
-
"referencedDeclaration":
|
3810
|
+
"referencedDeclaration": 42207,
|
3811
3811
|
"src": "8156:5:100",
|
3812
3812
|
"typeDescriptions": {
|
3813
3813
|
"typeIdentifier": "t_bytes_memory_ptr",
|
@@ -3822,18 +3822,18 @@
|
|
3822
3822
|
"typeString": "bytes memory"
|
3823
3823
|
}
|
3824
3824
|
],
|
3825
|
-
"id":
|
3825
|
+
"id": 42217,
|
3826
3826
|
"name": "revertWithBytes",
|
3827
3827
|
"nodeType": "Identifier",
|
3828
3828
|
"overloadedDeclarations": [],
|
3829
|
-
"referencedDeclaration":
|
3829
|
+
"referencedDeclaration": 49007,
|
3830
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": 42219,
|
3837
3837
|
"isConstant": false,
|
3838
3838
|
"isLValue": false,
|
3839
3839
|
"isPure": false,
|
@@ -3849,33 +3849,33 @@
|
|
3849
3849
|
"typeString": "tuple()"
|
3850
3850
|
}
|
3851
3851
|
},
|
3852
|
-
"id":
|
3852
|
+
"id": 42220,
|
3853
3853
|
"nodeType": "ExpressionStatement",
|
3854
3854
|
"src": "8140:22:100"
|
3855
3855
|
}
|
3856
3856
|
},
|
3857
3857
|
{
|
3858
3858
|
"expression": {
|
3859
|
-
"id":
|
3859
|
+
"id": 42222,
|
3860
3860
|
"name": "_data",
|
3861
3861
|
"nodeType": "Identifier",
|
3862
3862
|
"overloadedDeclarations": [],
|
3863
|
-
"referencedDeclaration":
|
3863
|
+
"referencedDeclaration": 42207,
|
3864
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": 42203,
|
3871
|
+
"id": 42223,
|
3872
3872
|
"nodeType": "Return",
|
3873
3873
|
"src": "8168:12:100"
|
3874
3874
|
}
|
3875
3875
|
]
|
3876
3876
|
},
|
3877
3877
|
"documentation": {
|
3878
|
-
"id":
|
3878
|
+
"id": 42191,
|
3879
3879
|
"nodeType": "StructuredDocumentation",
|
3880
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."
|
@@ -3886,17 +3886,17 @@
|
|
3886
3886
|
"name": "delegatecallWithContextOrRevert",
|
3887
3887
|
"nameLocation": "7779:31:100",
|
3888
3888
|
"parameters": {
|
3889
|
-
"id":
|
3889
|
+
"id": 42200,
|
3890
3890
|
"nodeType": "ParameterList",
|
3891
3891
|
"parameters": [
|
3892
3892
|
{
|
3893
3893
|
"constant": false,
|
3894
|
-
"id":
|
3894
|
+
"id": 42193,
|
3895
3895
|
"mutability": "mutable",
|
3896
3896
|
"name": "msgSender",
|
3897
3897
|
"nameLocation": "7824:9:100",
|
3898
3898
|
"nodeType": "VariableDeclaration",
|
3899
|
-
"scope":
|
3899
|
+
"scope": 42225,
|
3900
3900
|
"src": "7816:17:100",
|
3901
3901
|
"stateVariable": false,
|
3902
3902
|
"storageLocation": "default",
|
@@ -3905,7 +3905,7 @@
|
|
3905
3905
|
"typeString": "address"
|
3906
3906
|
},
|
3907
3907
|
"typeName": {
|
3908
|
-
"id":
|
3908
|
+
"id": 42192,
|
3909
3909
|
"name": "address",
|
3910
3910
|
"nodeType": "ElementaryTypeName",
|
3911
3911
|
"src": "7816:7:100",
|
@@ -3919,12 +3919,12 @@
|
|
3919
3919
|
},
|
3920
3920
|
{
|
3921
3921
|
"constant": false,
|
3922
|
-
"id":
|
3922
|
+
"id": 42195,
|
3923
3923
|
"mutability": "mutable",
|
3924
3924
|
"name": "msgValue",
|
3925
3925
|
"nameLocation": "7847:8:100",
|
3926
3926
|
"nodeType": "VariableDeclaration",
|
3927
|
-
"scope":
|
3927
|
+
"scope": 42225,
|
3928
3928
|
"src": "7839:16:100",
|
3929
3929
|
"stateVariable": false,
|
3930
3930
|
"storageLocation": "default",
|
@@ -3933,7 +3933,7 @@
|
|
3933
3933
|
"typeString": "uint256"
|
3934
3934
|
},
|
3935
3935
|
"typeName": {
|
3936
|
-
"id":
|
3936
|
+
"id": 42194,
|
3937
3937
|
"name": "uint256",
|
3938
3938
|
"nodeType": "ElementaryTypeName",
|
3939
3939
|
"src": "7839:7:100",
|
@@ -3946,12 +3946,12 @@
|
|
3946
3946
|
},
|
3947
3947
|
{
|
3948
3948
|
"constant": false,
|
3949
|
-
"id":
|
3949
|
+
"id": 42197,
|
3950
3950
|
"mutability": "mutable",
|
3951
3951
|
"name": "target",
|
3952
3952
|
"nameLocation": "7869:6:100",
|
3953
3953
|
"nodeType": "VariableDeclaration",
|
3954
|
-
"scope":
|
3954
|
+
"scope": 42225,
|
3955
3955
|
"src": "7861:14:100",
|
3956
3956
|
"stateVariable": false,
|
3957
3957
|
"storageLocation": "default",
|
@@ -3960,7 +3960,7 @@
|
|
3960
3960
|
"typeString": "address"
|
3961
3961
|
},
|
3962
3962
|
"typeName": {
|
3963
|
-
"id":
|
3963
|
+
"id": 42196,
|
3964
3964
|
"name": "address",
|
3965
3965
|
"nodeType": "ElementaryTypeName",
|
3966
3966
|
"src": "7861:7:100",
|
@@ -3974,12 +3974,12 @@
|
|
3974
3974
|
},
|
3975
3975
|
{
|
3976
3976
|
"constant": false,
|
3977
|
-
"id":
|
3977
|
+
"id": 42199,
|
3978
3978
|
"mutability": "mutable",
|
3979
3979
|
"name": "callData",
|
3980
3980
|
"nameLocation": "7894:8:100",
|
3981
3981
|
"nodeType": "VariableDeclaration",
|
3982
|
-
"scope":
|
3982
|
+
"scope": 42225,
|
3983
3983
|
"src": "7881:21:100",
|
3984
3984
|
"stateVariable": false,
|
3985
3985
|
"storageLocation": "memory",
|
@@ -3988,7 +3988,7 @@
|
|
3988
3988
|
"typeString": "bytes"
|
3989
3989
|
},
|
3990
3990
|
"typeName": {
|
3991
|
-
"id":
|
3991
|
+
"id": 42198,
|
3992
3992
|
"name": "bytes",
|
3993
3993
|
"nodeType": "ElementaryTypeName",
|
3994
3994
|
"src": "7881:5:100",
|
@@ -4003,17 +4003,17 @@
|
|
4003
4003
|
"src": "7810:96:100"
|
4004
4004
|
},
|
4005
4005
|
"returnParameters": {
|
4006
|
-
"id":
|
4006
|
+
"id": 42203,
|
4007
4007
|
"nodeType": "ParameterList",
|
4008
4008
|
"parameters": [
|
4009
4009
|
{
|
4010
4010
|
"constant": false,
|
4011
|
-
"id":
|
4011
|
+
"id": 42202,
|
4012
4012
|
"mutability": "mutable",
|
4013
4013
|
"name": "data",
|
4014
4014
|
"nameLocation": "7938:4:100",
|
4015
4015
|
"nodeType": "VariableDeclaration",
|
4016
|
-
"scope":
|
4016
|
+
"scope": 42225,
|
4017
4017
|
"src": "7925:17:100",
|
4018
4018
|
"stateVariable": false,
|
4019
4019
|
"storageLocation": "memory",
|
@@ -4022,7 +4022,7 @@
|
|
4022
4022
|
"typeString": "bytes"
|
4023
4023
|
},
|
4024
4024
|
"typeName": {
|
4025
|
-
"id":
|
4025
|
+
"id": 42201,
|
4026
4026
|
"name": "bytes",
|
4027
4027
|
"nodeType": "ElementaryTypeName",
|
4028
4028
|
"src": "7925:5:100",
|
@@ -4036,7 +4036,7 @@
|
|
4036
4036
|
],
|
4037
4037
|
"src": "7924:19:100"
|
4038
4038
|
},
|
4039
|
-
"scope":
|
4039
|
+
"scope": 42226,
|
4040
4040
|
"stateMutability": "nonpayable",
|
4041
4041
|
"virtual": false,
|
4042
4042
|
"visibility": "internal"
|
@@ -4048,18 +4048,18 @@
|
|
4048
4048
|
"contractDependencies": [],
|
4049
4049
|
"contractKind": "library",
|
4050
4050
|
"documentation": {
|
4051
|
-
"id":
|
4051
|
+
"id": 42073,
|
4052
4052
|
"nodeType": "StructuredDocumentation",
|
4053
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
|
+
42226
|
4059
4059
|
],
|
4060
4060
|
"name": "WorldContextProviderLib",
|
4061
4061
|
"nameLocation": "4273:23:100",
|
4062
|
-
"scope":
|
4062
|
+
"scope": 42227,
|
4063
4063
|
"usedErrors": [],
|
4064
4064
|
"usedEvents": []
|
4065
4065
|
}
|