@latticexyz/world 2.0.0-alpha.63 → 2.0.0-alpha.65
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/abi/AccessControl.json +15 -15
- package/abi/AccessControlTest.json +273 -273
- package/abi/AddressArray.json +782 -782
- package/abi/ArrayLib.json +139 -139
- package/abi/Bool.json +539 -539
- package/abi/Call.json +6 -6
- package/abi/CommonBase.json +125 -125
- package/abi/CoreModule.json +259 -111
- package/abi/DecodeSlice.json +3187 -3187
- package/abi/FunctionSelectors.json +1412 -1412
- package/abi/Hooks.json +773 -773
- package/abi/IBaseWorld.json +7 -7
- package/abi/IErrors.json +48 -48
- package/abi/IMulticall3.json +283 -283
- package/abi/IRegistrationSystem.json +1 -1
- package/abi/IWorldTestSystem.json +5366 -5366
- package/abi/InstalledModules.json +1139 -1139
- package/abi/KeysWithValue.json +782 -782
- package/abi/KeysWithValueHook.json +369 -369
- package/abi/KeysWithValueModule.json +216 -216
- package/abi/KeysWithValueModuleTest.json +1274 -1274
- package/abi/NamespaceOwner.json +613 -613
- package/abi/PayableFallbackSystem.json +5368 -5368
- package/abi/RegistrationModule.json +307 -307
- package/abi/RegistrationSystem.json +885 -885
- package/abi/ResourceAccess.json +750 -750
- package/abi/ResourceType.json +627 -627
- package/abi/ScriptBase.json +125 -125
- package/abi/StdAssertions.json +1894 -1894
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +336 -336
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +488 -488
- package/abi/StoreView.json +7 -7
- package/abi/SystemRegistry.json +625 -625
- package/abi/SystemTest.json +146 -146
- package/abi/Systems.json +1180 -1180
- package/abi/TableId.json +27 -27
- package/abi/Test.json +52 -52
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +146 -146
- package/abi/TightCoder.json +240 -240
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +55 -55
- package/abi/WorldTest.json +5368 -5368
- package/abi/WorldTestSystem.json +5368 -5368
- package/abi/WorldTestTableHook.json +5368 -5368
- package/abi/console2.json +11459 -11459
- package/abi/constants.json +7 -7
- package/abi/getKeysWithValue.json +125 -125
- package/abi/getTargetTableSelector.json +72 -72
- package/abi/stdError.json +78 -78
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +5 -5
- package/src/modules/core/CoreModule.sol +1 -0
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModuleTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/PayableFallbackSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +1 -1
package/abi/TestSystem.json
CHANGED
|
@@ -558,46 +558,46 @@
|
|
|
558
558
|
},
|
|
559
559
|
"ast": {
|
|
560
560
|
"absolutePath": "test/System.t.sol",
|
|
561
|
-
"id":
|
|
561
|
+
"id": 66871,
|
|
562
562
|
"exportedSymbols": {
|
|
563
563
|
"DSTest": [
|
|
564
564
|
10841
|
|
565
565
|
],
|
|
566
566
|
"StdAssertions": [
|
|
567
|
-
|
|
567
|
+
75265
|
|
568
568
|
],
|
|
569
569
|
"StdChains": [
|
|
570
|
-
|
|
570
|
+
75929
|
|
571
571
|
],
|
|
572
572
|
"StdCheats": [
|
|
573
|
-
|
|
573
|
+
77890
|
|
574
574
|
],
|
|
575
575
|
"StdInvariant": [
|
|
576
|
-
|
|
576
|
+
78180
|
|
577
577
|
],
|
|
578
578
|
"StdStorage": [
|
|
579
|
-
|
|
579
|
+
79021
|
|
580
580
|
],
|
|
581
581
|
"StdUtils": [
|
|
582
|
-
|
|
582
|
+
81261
|
|
583
583
|
],
|
|
584
584
|
"System": [
|
|
585
585
|
56381
|
|
586
586
|
],
|
|
587
587
|
"SystemTest": [
|
|
588
|
-
|
|
588
|
+
66870
|
|
589
589
|
],
|
|
590
590
|
"Test": [
|
|
591
591
|
10888
|
|
592
592
|
],
|
|
593
593
|
"TestBase": [
|
|
594
|
-
|
|
594
|
+
74019
|
|
595
595
|
],
|
|
596
596
|
"TestSystem": [
|
|
597
|
-
|
|
597
|
+
66812
|
|
598
598
|
],
|
|
599
599
|
"Vm": [
|
|
600
|
-
|
|
600
|
+
82551
|
|
601
601
|
],
|
|
602
602
|
"World": [
|
|
603
603
|
57209
|
|
@@ -606,26 +606,26 @@
|
|
|
606
606
|
18952
|
|
607
607
|
],
|
|
608
608
|
"console2": [
|
|
609
|
-
|
|
609
|
+
90647
|
|
610
610
|
],
|
|
611
611
|
"stdError": [
|
|
612
|
-
|
|
612
|
+
77956
|
|
613
613
|
],
|
|
614
614
|
"stdJson": [
|
|
615
|
-
|
|
615
|
+
78847
|
|
616
616
|
],
|
|
617
617
|
"stdMath": [
|
|
618
|
-
|
|
618
|
+
78989
|
|
619
619
|
],
|
|
620
620
|
"stdStorage": [
|
|
621
|
-
|
|
621
|
+
80454
|
|
622
622
|
]
|
|
623
623
|
},
|
|
624
624
|
"nodeType": "SourceUnit",
|
|
625
625
|
"src": "32:605:123",
|
|
626
626
|
"nodes": [
|
|
627
627
|
{
|
|
628
|
-
"id":
|
|
628
|
+
"id": 66795,
|
|
629
629
|
"nodeType": "PragmaDirective",
|
|
630
630
|
"src": "32:24:123",
|
|
631
631
|
"nodes": [],
|
|
@@ -637,32 +637,32 @@
|
|
|
637
637
|
]
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
|
-
"id":
|
|
640
|
+
"id": 66796,
|
|
641
641
|
"nodeType": "ImportDirective",
|
|
642
642
|
"src": "58:28:123",
|
|
643
643
|
"nodes": [],
|
|
644
644
|
"absolutePath": "../../node_modules/forge-std/src/Test.sol",
|
|
645
645
|
"file": "forge-std/Test.sol",
|
|
646
646
|
"nameLocation": "-1:-1:-1",
|
|
647
|
-
"scope":
|
|
647
|
+
"scope": 66871,
|
|
648
648
|
"sourceUnit": 10889,
|
|
649
649
|
"symbolAliases": [],
|
|
650
650
|
"unitAlias": ""
|
|
651
651
|
},
|
|
652
652
|
{
|
|
653
|
-
"id":
|
|
653
|
+
"id": 66798,
|
|
654
654
|
"nodeType": "ImportDirective",
|
|
655
655
|
"src": "87:41:123",
|
|
656
656
|
"nodes": [],
|
|
657
657
|
"absolutePath": "src/World.sol",
|
|
658
658
|
"file": "../src/World.sol",
|
|
659
659
|
"nameLocation": "-1:-1:-1",
|
|
660
|
-
"scope":
|
|
660
|
+
"scope": 66871,
|
|
661
661
|
"sourceUnit": 57210,
|
|
662
662
|
"symbolAliases": [
|
|
663
663
|
{
|
|
664
664
|
"foreign": {
|
|
665
|
-
"id":
|
|
665
|
+
"id": 66797,
|
|
666
666
|
"name": "World",
|
|
667
667
|
"nodeType": "Identifier",
|
|
668
668
|
"overloadedDeclarations": [],
|
|
@@ -676,19 +676,19 @@
|
|
|
676
676
|
"unitAlias": ""
|
|
677
677
|
},
|
|
678
678
|
{
|
|
679
|
-
"id":
|
|
679
|
+
"id": 66800,
|
|
680
680
|
"nodeType": "ImportDirective",
|
|
681
681
|
"src": "129:43:123",
|
|
682
682
|
"nodes": [],
|
|
683
683
|
"absolutePath": "src/System.sol",
|
|
684
684
|
"file": "../src/System.sol",
|
|
685
685
|
"nameLocation": "-1:-1:-1",
|
|
686
|
-
"scope":
|
|
686
|
+
"scope": 66871,
|
|
687
687
|
"sourceUnit": 56382,
|
|
688
688
|
"symbolAliases": [
|
|
689
689
|
{
|
|
690
690
|
"foreign": {
|
|
691
|
-
"id":
|
|
691
|
+
"id": 66799,
|
|
692
692
|
"name": "System",
|
|
693
693
|
"nodeType": "Identifier",
|
|
694
694
|
"overloadedDeclarations": [],
|
|
@@ -702,17 +702,17 @@
|
|
|
702
702
|
"unitAlias": ""
|
|
703
703
|
},
|
|
704
704
|
{
|
|
705
|
-
"id":
|
|
705
|
+
"id": 66812,
|
|
706
706
|
"nodeType": "ContractDefinition",
|
|
707
707
|
"src": "174:117:123",
|
|
708
708
|
"nodes": [
|
|
709
709
|
{
|
|
710
|
-
"id":
|
|
710
|
+
"id": 66811,
|
|
711
711
|
"nodeType": "FunctionDefinition",
|
|
712
712
|
"src": "208:81:123",
|
|
713
713
|
"nodes": [],
|
|
714
714
|
"body": {
|
|
715
|
-
"id":
|
|
715
|
+
"id": 66810,
|
|
716
716
|
"nodeType": "Block",
|
|
717
717
|
"src": "259:30:123",
|
|
718
718
|
"nodes": [],
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
"arguments": [],
|
|
723
723
|
"expression": {
|
|
724
724
|
"argumentTypes": [],
|
|
725
|
-
"id":
|
|
725
|
+
"id": 66807,
|
|
726
726
|
"name": "_msgSender",
|
|
727
727
|
"nodeType": "Identifier",
|
|
728
728
|
"overloadedDeclarations": [],
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
"typeString": "function () view returns (address)"
|
|
734
734
|
}
|
|
735
735
|
},
|
|
736
|
-
"id":
|
|
736
|
+
"id": 66808,
|
|
737
737
|
"isConstant": false,
|
|
738
738
|
"isLValue": false,
|
|
739
739
|
"isPure": false,
|
|
@@ -748,8 +748,8 @@
|
|
|
748
748
|
"typeString": "address"
|
|
749
749
|
}
|
|
750
750
|
},
|
|
751
|
-
"functionReturnParameters":
|
|
752
|
-
"id":
|
|
751
|
+
"functionReturnParameters": 66806,
|
|
752
|
+
"id": 66809,
|
|
753
753
|
"nodeType": "Return",
|
|
754
754
|
"src": "265:19:123"
|
|
755
755
|
}
|
|
@@ -762,23 +762,23 @@
|
|
|
762
762
|
"name": "msgSender",
|
|
763
763
|
"nameLocation": "217:9:123",
|
|
764
764
|
"parameters": {
|
|
765
|
-
"id":
|
|
765
|
+
"id": 66803,
|
|
766
766
|
"nodeType": "ParameterList",
|
|
767
767
|
"parameters": [],
|
|
768
768
|
"src": "226:2:123"
|
|
769
769
|
},
|
|
770
770
|
"returnParameters": {
|
|
771
|
-
"id":
|
|
771
|
+
"id": 66806,
|
|
772
772
|
"nodeType": "ParameterList",
|
|
773
773
|
"parameters": [
|
|
774
774
|
{
|
|
775
775
|
"constant": false,
|
|
776
|
-
"id":
|
|
776
|
+
"id": 66805,
|
|
777
777
|
"mutability": "mutable",
|
|
778
778
|
"name": "",
|
|
779
779
|
"nameLocation": "-1:-1:-1",
|
|
780
780
|
"nodeType": "VariableDeclaration",
|
|
781
|
-
"scope":
|
|
781
|
+
"scope": 66811,
|
|
782
782
|
"src": "250:7:123",
|
|
783
783
|
"stateVariable": false,
|
|
784
784
|
"storageLocation": "default",
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
"typeString": "address"
|
|
788
788
|
},
|
|
789
789
|
"typeName": {
|
|
790
|
-
"id":
|
|
790
|
+
"id": 66804,
|
|
791
791
|
"name": "address",
|
|
792
792
|
"nodeType": "ElementaryTypeName",
|
|
793
793
|
"src": "250:7:123",
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
],
|
|
803
803
|
"src": "249:9:123"
|
|
804
804
|
},
|
|
805
|
-
"scope":
|
|
805
|
+
"scope": 66812,
|
|
806
806
|
"stateMutability": "view",
|
|
807
807
|
"virtual": false,
|
|
808
808
|
"visibility": "public"
|
|
@@ -812,13 +812,13 @@
|
|
|
812
812
|
"baseContracts": [
|
|
813
813
|
{
|
|
814
814
|
"baseName": {
|
|
815
|
-
"id":
|
|
815
|
+
"id": 66801,
|
|
816
816
|
"name": "System",
|
|
817
817
|
"nodeType": "IdentifierPath",
|
|
818
818
|
"referencedDeclaration": 56381,
|
|
819
819
|
"src": "197:6:123"
|
|
820
820
|
},
|
|
821
|
-
"id":
|
|
821
|
+
"id": 66802,
|
|
822
822
|
"nodeType": "InheritanceSpecifier",
|
|
823
823
|
"src": "197:6:123"
|
|
824
824
|
}
|
|
@@ -828,22 +828,22 @@
|
|
|
828
828
|
"contractKind": "contract",
|
|
829
829
|
"fullyImplemented": true,
|
|
830
830
|
"linearizedBaseContracts": [
|
|
831
|
-
|
|
831
|
+
66812,
|
|
832
832
|
56381,
|
|
833
833
|
57250
|
|
834
834
|
],
|
|
835
835
|
"name": "TestSystem",
|
|
836
836
|
"nameLocation": "183:10:123",
|
|
837
|
-
"scope":
|
|
837
|
+
"scope": 66871,
|
|
838
838
|
"usedErrors": []
|
|
839
839
|
},
|
|
840
840
|
{
|
|
841
|
-
"id":
|
|
841
|
+
"id": 66870,
|
|
842
842
|
"nodeType": "ContractDefinition",
|
|
843
843
|
"src": "293:343:123",
|
|
844
844
|
"nodes": [
|
|
845
845
|
{
|
|
846
|
-
"id":
|
|
846
|
+
"id": 66817,
|
|
847
847
|
"nodeType": "VariableDeclaration",
|
|
848
848
|
"src": "325:26:123",
|
|
849
849
|
"nodes": [],
|
|
@@ -851,59 +851,59 @@
|
|
|
851
851
|
"mutability": "mutable",
|
|
852
852
|
"name": "system",
|
|
853
853
|
"nameLocation": "345:6:123",
|
|
854
|
-
"scope":
|
|
854
|
+
"scope": 66870,
|
|
855
855
|
"stateVariable": true,
|
|
856
856
|
"storageLocation": "default",
|
|
857
857
|
"typeDescriptions": {
|
|
858
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
858
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
859
859
|
"typeString": "contract TestSystem"
|
|
860
860
|
},
|
|
861
861
|
"typeName": {
|
|
862
|
-
"id":
|
|
862
|
+
"id": 66816,
|
|
863
863
|
"nodeType": "UserDefinedTypeName",
|
|
864
864
|
"pathNode": {
|
|
865
|
-
"id":
|
|
865
|
+
"id": 66815,
|
|
866
866
|
"name": "TestSystem",
|
|
867
867
|
"nodeType": "IdentifierPath",
|
|
868
|
-
"referencedDeclaration":
|
|
868
|
+
"referencedDeclaration": 66812,
|
|
869
869
|
"src": "325:10:123"
|
|
870
870
|
},
|
|
871
|
-
"referencedDeclaration":
|
|
871
|
+
"referencedDeclaration": 66812,
|
|
872
872
|
"src": "325:10:123",
|
|
873
873
|
"typeDescriptions": {
|
|
874
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
874
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
875
875
|
"typeString": "contract TestSystem"
|
|
876
876
|
}
|
|
877
877
|
},
|
|
878
878
|
"visibility": "internal"
|
|
879
879
|
},
|
|
880
880
|
{
|
|
881
|
-
"id":
|
|
881
|
+
"id": 66828,
|
|
882
882
|
"nodeType": "FunctionDefinition",
|
|
883
883
|
"src": "356:60:123",
|
|
884
884
|
"nodes": [],
|
|
885
885
|
"body": {
|
|
886
|
-
"id":
|
|
886
|
+
"id": 66827,
|
|
887
887
|
"nodeType": "Block",
|
|
888
888
|
"src": "380:36:123",
|
|
889
889
|
"nodes": [],
|
|
890
890
|
"statements": [
|
|
891
891
|
{
|
|
892
892
|
"expression": {
|
|
893
|
-
"id":
|
|
893
|
+
"id": 66825,
|
|
894
894
|
"isConstant": false,
|
|
895
895
|
"isLValue": false,
|
|
896
896
|
"isPure": false,
|
|
897
897
|
"lValueRequested": false,
|
|
898
898
|
"leftHandSide": {
|
|
899
|
-
"id":
|
|
899
|
+
"id": 66820,
|
|
900
900
|
"name": "system",
|
|
901
901
|
"nodeType": "Identifier",
|
|
902
902
|
"overloadedDeclarations": [],
|
|
903
|
-
"referencedDeclaration":
|
|
903
|
+
"referencedDeclaration": 66817,
|
|
904
904
|
"src": "386:6:123",
|
|
905
905
|
"typeDescriptions": {
|
|
906
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
906
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
907
907
|
"typeString": "contract TestSystem"
|
|
908
908
|
}
|
|
909
909
|
},
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
"arguments": [],
|
|
914
914
|
"expression": {
|
|
915
915
|
"argumentTypes": [],
|
|
916
|
-
"id":
|
|
916
|
+
"id": 66823,
|
|
917
917
|
"isConstant": false,
|
|
918
918
|
"isLValue": false,
|
|
919
919
|
"isPure": false,
|
|
@@ -921,28 +921,28 @@
|
|
|
921
921
|
"nodeType": "NewExpression",
|
|
922
922
|
"src": "395:14:123",
|
|
923
923
|
"typeDescriptions": {
|
|
924
|
-
"typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_TestSystem_$
|
|
924
|
+
"typeIdentifier": "t_function_creation_nonpayable$__$returns$_t_contract$_TestSystem_$66812_$",
|
|
925
925
|
"typeString": "function () returns (contract TestSystem)"
|
|
926
926
|
},
|
|
927
927
|
"typeName": {
|
|
928
|
-
"id":
|
|
928
|
+
"id": 66822,
|
|
929
929
|
"nodeType": "UserDefinedTypeName",
|
|
930
930
|
"pathNode": {
|
|
931
|
-
"id":
|
|
931
|
+
"id": 66821,
|
|
932
932
|
"name": "TestSystem",
|
|
933
933
|
"nodeType": "IdentifierPath",
|
|
934
|
-
"referencedDeclaration":
|
|
934
|
+
"referencedDeclaration": 66812,
|
|
935
935
|
"src": "399:10:123"
|
|
936
936
|
},
|
|
937
|
-
"referencedDeclaration":
|
|
937
|
+
"referencedDeclaration": 66812,
|
|
938
938
|
"src": "399:10:123",
|
|
939
939
|
"typeDescriptions": {
|
|
940
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
940
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
941
941
|
"typeString": "contract TestSystem"
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
944
|
},
|
|
945
|
-
"id":
|
|
945
|
+
"id": 66824,
|
|
946
946
|
"isConstant": false,
|
|
947
947
|
"isLValue": false,
|
|
948
948
|
"isPure": false,
|
|
@@ -953,17 +953,17 @@
|
|
|
953
953
|
"src": "395:16:123",
|
|
954
954
|
"tryCall": false,
|
|
955
955
|
"typeDescriptions": {
|
|
956
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
956
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
957
957
|
"typeString": "contract TestSystem"
|
|
958
958
|
}
|
|
959
959
|
},
|
|
960
960
|
"src": "386:25:123",
|
|
961
961
|
"typeDescriptions": {
|
|
962
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
962
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
963
963
|
"typeString": "contract TestSystem"
|
|
964
964
|
}
|
|
965
965
|
},
|
|
966
|
-
"id":
|
|
966
|
+
"id": 66826,
|
|
967
967
|
"nodeType": "ExpressionStatement",
|
|
968
968
|
"src": "386:25:123"
|
|
969
969
|
}
|
|
@@ -976,29 +976,29 @@
|
|
|
976
976
|
"name": "setUp",
|
|
977
977
|
"nameLocation": "365:5:123",
|
|
978
978
|
"parameters": {
|
|
979
|
-
"id":
|
|
979
|
+
"id": 66818,
|
|
980
980
|
"nodeType": "ParameterList",
|
|
981
981
|
"parameters": [],
|
|
982
982
|
"src": "370:2:123"
|
|
983
983
|
},
|
|
984
984
|
"returnParameters": {
|
|
985
|
-
"id":
|
|
985
|
+
"id": 66819,
|
|
986
986
|
"nodeType": "ParameterList",
|
|
987
987
|
"parameters": [],
|
|
988
988
|
"src": "380:0:123"
|
|
989
989
|
},
|
|
990
|
-
"scope":
|
|
990
|
+
"scope": 66870,
|
|
991
991
|
"stateMutability": "nonpayable",
|
|
992
992
|
"virtual": false,
|
|
993
993
|
"visibility": "public"
|
|
994
994
|
},
|
|
995
995
|
{
|
|
996
|
-
"id":
|
|
996
|
+
"id": 66869,
|
|
997
997
|
"nodeType": "FunctionDefinition",
|
|
998
998
|
"src": "420:214:123",
|
|
999
999
|
"nodes": [],
|
|
1000
1000
|
"body": {
|
|
1001
|
-
"id":
|
|
1001
|
+
"id": 66868,
|
|
1002
1002
|
"nodeType": "Block",
|
|
1003
1003
|
"src": "453:181:123",
|
|
1004
1004
|
"nodes": [],
|
|
@@ -1006,18 +1006,18 @@
|
|
|
1006
1006
|
{
|
|
1007
1007
|
"assignments": [
|
|
1008
1008
|
null,
|
|
1009
|
-
|
|
1009
|
+
66832
|
|
1010
1010
|
],
|
|
1011
1011
|
"declarations": [
|
|
1012
1012
|
null,
|
|
1013
1013
|
{
|
|
1014
1014
|
"constant": false,
|
|
1015
|
-
"id":
|
|
1015
|
+
"id": 66832,
|
|
1016
1016
|
"mutability": "mutable",
|
|
1017
1017
|
"name": "data",
|
|
1018
1018
|
"nameLocation": "475:4:123",
|
|
1019
1019
|
"nodeType": "VariableDeclaration",
|
|
1020
|
-
"scope":
|
|
1020
|
+
"scope": 66868,
|
|
1021
1021
|
"src": "462:17:123",
|
|
1022
1022
|
"stateVariable": false,
|
|
1023
1023
|
"storageLocation": "memory",
|
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
"typeString": "bytes"
|
|
1027
1027
|
},
|
|
1028
1028
|
"typeName": {
|
|
1029
|
-
"id":
|
|
1029
|
+
"id": 66831,
|
|
1030
1030
|
"name": "bytes",
|
|
1031
1031
|
"nodeType": "ElementaryTypeName",
|
|
1032
1032
|
"src": "462:5:123",
|
|
@@ -1038,14 +1038,14 @@
|
|
|
1038
1038
|
"visibility": "internal"
|
|
1039
1039
|
}
|
|
1040
1040
|
],
|
|
1041
|
-
"id":
|
|
1041
|
+
"id": 66847,
|
|
1042
1042
|
"initialValue": {
|
|
1043
1043
|
"arguments": [
|
|
1044
1044
|
{
|
|
1045
1045
|
"arguments": [
|
|
1046
1046
|
{
|
|
1047
1047
|
"hexValue": "6d736753656e6465722829",
|
|
1048
|
-
"id":
|
|
1048
|
+
"id": 66840,
|
|
1049
1049
|
"isConstant": false,
|
|
1050
1050
|
"isLValue": false,
|
|
1051
1051
|
"isPure": true,
|
|
@@ -1062,14 +1062,14 @@
|
|
|
1062
1062
|
{
|
|
1063
1063
|
"arguments": [
|
|
1064
1064
|
{
|
|
1065
|
-
"id":
|
|
1065
|
+
"id": 66843,
|
|
1066
1066
|
"name": "this",
|
|
1067
1067
|
"nodeType": "Identifier",
|
|
1068
1068
|
"overloadedDeclarations": [],
|
|
1069
1069
|
"referencedDeclaration": -28,
|
|
1070
1070
|
"src": "551:4:123",
|
|
1071
1071
|
"typeDescriptions": {
|
|
1072
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
1072
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
1073
1073
|
"typeString": "contract SystemTest"
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
@@ -1077,11 +1077,11 @@
|
|
|
1077
1077
|
"expression": {
|
|
1078
1078
|
"argumentTypes": [
|
|
1079
1079
|
{
|
|
1080
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
1080
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
1081
1081
|
"typeString": "contract SystemTest"
|
|
1082
1082
|
}
|
|
1083
1083
|
],
|
|
1084
|
-
"id":
|
|
1084
|
+
"id": 66842,
|
|
1085
1085
|
"isConstant": false,
|
|
1086
1086
|
"isLValue": false,
|
|
1087
1087
|
"isPure": true,
|
|
@@ -1093,14 +1093,14 @@
|
|
|
1093
1093
|
"typeString": "type(address)"
|
|
1094
1094
|
},
|
|
1095
1095
|
"typeName": {
|
|
1096
|
-
"id":
|
|
1096
|
+
"id": 66841,
|
|
1097
1097
|
"name": "address",
|
|
1098
1098
|
"nodeType": "ElementaryTypeName",
|
|
1099
1099
|
"src": "543:7:123",
|
|
1100
1100
|
"typeDescriptions": {}
|
|
1101
1101
|
}
|
|
1102
1102
|
},
|
|
1103
|
-
"id":
|
|
1103
|
+
"id": 66844,
|
|
1104
1104
|
"isConstant": false,
|
|
1105
1105
|
"isLValue": false,
|
|
1106
1106
|
"isPure": false,
|
|
@@ -1128,7 +1128,7 @@
|
|
|
1128
1128
|
}
|
|
1129
1129
|
],
|
|
1130
1130
|
"expression": {
|
|
1131
|
-
"id":
|
|
1131
|
+
"id": 66838,
|
|
1132
1132
|
"name": "abi",
|
|
1133
1133
|
"nodeType": "Identifier",
|
|
1134
1134
|
"overloadedDeclarations": [],
|
|
@@ -1139,7 +1139,7 @@
|
|
|
1139
1139
|
"typeString": "abi"
|
|
1140
1140
|
}
|
|
1141
1141
|
},
|
|
1142
|
-
"id":
|
|
1142
|
+
"id": 66839,
|
|
1143
1143
|
"isConstant": false,
|
|
1144
1144
|
"isLValue": false,
|
|
1145
1145
|
"isPure": true,
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
"typeString": "function (string memory) pure returns (bytes memory)"
|
|
1153
1153
|
}
|
|
1154
1154
|
},
|
|
1155
|
-
"id":
|
|
1155
|
+
"id": 66845,
|
|
1156
1156
|
"isConstant": false,
|
|
1157
1157
|
"isLValue": false,
|
|
1158
1158
|
"isPure": false,
|
|
@@ -1178,14 +1178,14 @@
|
|
|
1178
1178
|
"expression": {
|
|
1179
1179
|
"arguments": [
|
|
1180
1180
|
{
|
|
1181
|
-
"id":
|
|
1181
|
+
"id": 66835,
|
|
1182
1182
|
"name": "system",
|
|
1183
1183
|
"nodeType": "Identifier",
|
|
1184
1184
|
"overloadedDeclarations": [],
|
|
1185
|
-
"referencedDeclaration":
|
|
1185
|
+
"referencedDeclaration": 66817,
|
|
1186
1186
|
"src": "491:6:123",
|
|
1187
1187
|
"typeDescriptions": {
|
|
1188
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
1188
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
1189
1189
|
"typeString": "contract TestSystem"
|
|
1190
1190
|
}
|
|
1191
1191
|
}
|
|
@@ -1193,11 +1193,11 @@
|
|
|
1193
1193
|
"expression": {
|
|
1194
1194
|
"argumentTypes": [
|
|
1195
1195
|
{
|
|
1196
|
-
"typeIdentifier": "t_contract$_TestSystem_$
|
|
1196
|
+
"typeIdentifier": "t_contract$_TestSystem_$66812",
|
|
1197
1197
|
"typeString": "contract TestSystem"
|
|
1198
1198
|
}
|
|
1199
1199
|
],
|
|
1200
|
-
"id":
|
|
1200
|
+
"id": 66834,
|
|
1201
1201
|
"isConstant": false,
|
|
1202
1202
|
"isLValue": false,
|
|
1203
1203
|
"isPure": true,
|
|
@@ -1209,14 +1209,14 @@
|
|
|
1209
1209
|
"typeString": "type(address)"
|
|
1210
1210
|
},
|
|
1211
1211
|
"typeName": {
|
|
1212
|
-
"id":
|
|
1212
|
+
"id": 66833,
|
|
1213
1213
|
"name": "address",
|
|
1214
1214
|
"nodeType": "ElementaryTypeName",
|
|
1215
1215
|
"src": "483:7:123",
|
|
1216
1216
|
"typeDescriptions": {}
|
|
1217
1217
|
}
|
|
1218
1218
|
},
|
|
1219
|
-
"id":
|
|
1219
|
+
"id": 66836,
|
|
1220
1220
|
"isConstant": false,
|
|
1221
1221
|
"isLValue": false,
|
|
1222
1222
|
"isPure": false,
|
|
@@ -1231,7 +1231,7 @@
|
|
|
1231
1231
|
"typeString": "address"
|
|
1232
1232
|
}
|
|
1233
1233
|
},
|
|
1234
|
-
"id":
|
|
1234
|
+
"id": 66837,
|
|
1235
1235
|
"isConstant": false,
|
|
1236
1236
|
"isLValue": false,
|
|
1237
1237
|
"isPure": false,
|
|
@@ -1244,7 +1244,7 @@
|
|
|
1244
1244
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
|
1245
1245
|
}
|
|
1246
1246
|
},
|
|
1247
|
-
"id":
|
|
1247
|
+
"id": 66846,
|
|
1248
1248
|
"isConstant": false,
|
|
1249
1249
|
"isLValue": false,
|
|
1250
1250
|
"isPure": false,
|
|
@@ -1274,11 +1274,11 @@
|
|
|
1274
1274
|
{
|
|
1275
1275
|
"arguments": [
|
|
1276
1276
|
{
|
|
1277
|
-
"id":
|
|
1277
|
+
"id": 66857,
|
|
1278
1278
|
"name": "data",
|
|
1279
1279
|
"nodeType": "Identifier",
|
|
1280
1280
|
"overloadedDeclarations": [],
|
|
1281
|
-
"referencedDeclaration":
|
|
1281
|
+
"referencedDeclaration": 66832,
|
|
1282
1282
|
"src": "605:4:123",
|
|
1283
1283
|
"typeDescriptions": {
|
|
1284
1284
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -1293,7 +1293,7 @@
|
|
|
1293
1293
|
"typeString": "bytes memory"
|
|
1294
1294
|
}
|
|
1295
1295
|
],
|
|
1296
|
-
"id":
|
|
1296
|
+
"id": 66856,
|
|
1297
1297
|
"isConstant": false,
|
|
1298
1298
|
"isLValue": false,
|
|
1299
1299
|
"isPure": true,
|
|
@@ -1305,14 +1305,14 @@
|
|
|
1305
1305
|
"typeString": "type(bytes32)"
|
|
1306
1306
|
},
|
|
1307
1307
|
"typeName": {
|
|
1308
|
-
"id":
|
|
1308
|
+
"id": 66855,
|
|
1309
1309
|
"name": "bytes32",
|
|
1310
1310
|
"nodeType": "ElementaryTypeName",
|
|
1311
1311
|
"src": "597:7:123",
|
|
1312
1312
|
"typeDescriptions": {}
|
|
1313
1313
|
}
|
|
1314
1314
|
},
|
|
1315
|
-
"id":
|
|
1315
|
+
"id": 66858,
|
|
1316
1316
|
"isConstant": false,
|
|
1317
1317
|
"isLValue": false,
|
|
1318
1318
|
"isPure": false,
|
|
@@ -1335,7 +1335,7 @@
|
|
|
1335
1335
|
"typeString": "bytes32"
|
|
1336
1336
|
}
|
|
1337
1337
|
],
|
|
1338
|
-
"id":
|
|
1338
|
+
"id": 66854,
|
|
1339
1339
|
"isConstant": false,
|
|
1340
1340
|
"isLValue": false,
|
|
1341
1341
|
"isPure": true,
|
|
@@ -1347,14 +1347,14 @@
|
|
|
1347
1347
|
"typeString": "type(uint256)"
|
|
1348
1348
|
},
|
|
1349
1349
|
"typeName": {
|
|
1350
|
-
"id":
|
|
1350
|
+
"id": 66853,
|
|
1351
1351
|
"name": "uint256",
|
|
1352
1352
|
"nodeType": "ElementaryTypeName",
|
|
1353
1353
|
"src": "589:7:123",
|
|
1354
1354
|
"typeDescriptions": {}
|
|
1355
1355
|
}
|
|
1356
1356
|
},
|
|
1357
|
-
"id":
|
|
1357
|
+
"id": 66859,
|
|
1358
1358
|
"isConstant": false,
|
|
1359
1359
|
"isLValue": false,
|
|
1360
1360
|
"isPure": false,
|
|
@@ -1377,7 +1377,7 @@
|
|
|
1377
1377
|
"typeString": "uint256"
|
|
1378
1378
|
}
|
|
1379
1379
|
],
|
|
1380
|
-
"id":
|
|
1380
|
+
"id": 66852,
|
|
1381
1381
|
"isConstant": false,
|
|
1382
1382
|
"isLValue": false,
|
|
1383
1383
|
"isPure": true,
|
|
@@ -1389,14 +1389,14 @@
|
|
|
1389
1389
|
"typeString": "type(uint160)"
|
|
1390
1390
|
},
|
|
1391
1391
|
"typeName": {
|
|
1392
|
-
"id":
|
|
1392
|
+
"id": 66851,
|
|
1393
1393
|
"name": "uint160",
|
|
1394
1394
|
"nodeType": "ElementaryTypeName",
|
|
1395
1395
|
"src": "581:7:123",
|
|
1396
1396
|
"typeDescriptions": {}
|
|
1397
1397
|
}
|
|
1398
1398
|
},
|
|
1399
|
-
"id":
|
|
1399
|
+
"id": 66860,
|
|
1400
1400
|
"isConstant": false,
|
|
1401
1401
|
"isLValue": false,
|
|
1402
1402
|
"isPure": false,
|
|
@@ -1419,7 +1419,7 @@
|
|
|
1419
1419
|
"typeString": "uint160"
|
|
1420
1420
|
}
|
|
1421
1421
|
],
|
|
1422
|
-
"id":
|
|
1422
|
+
"id": 66850,
|
|
1423
1423
|
"isConstant": false,
|
|
1424
1424
|
"isLValue": false,
|
|
1425
1425
|
"isPure": true,
|
|
@@ -1431,14 +1431,14 @@
|
|
|
1431
1431
|
"typeString": "type(address)"
|
|
1432
1432
|
},
|
|
1433
1433
|
"typeName": {
|
|
1434
|
-
"id":
|
|
1434
|
+
"id": 66849,
|
|
1435
1435
|
"name": "address",
|
|
1436
1436
|
"nodeType": "ElementaryTypeName",
|
|
1437
1437
|
"src": "573:7:123",
|
|
1438
1438
|
"typeDescriptions": {}
|
|
1439
1439
|
}
|
|
1440
1440
|
},
|
|
1441
|
-
"id":
|
|
1441
|
+
"id": 66861,
|
|
1442
1442
|
"isConstant": false,
|
|
1443
1443
|
"isLValue": false,
|
|
1444
1444
|
"isPure": false,
|
|
@@ -1456,14 +1456,14 @@
|
|
|
1456
1456
|
{
|
|
1457
1457
|
"arguments": [
|
|
1458
1458
|
{
|
|
1459
|
-
"id":
|
|
1459
|
+
"id": 66864,
|
|
1460
1460
|
"name": "this",
|
|
1461
1461
|
"nodeType": "Identifier",
|
|
1462
1462
|
"overloadedDeclarations": [],
|
|
1463
1463
|
"referencedDeclaration": -28,
|
|
1464
1464
|
"src": "623:4:123",
|
|
1465
1465
|
"typeDescriptions": {
|
|
1466
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
1466
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
1467
1467
|
"typeString": "contract SystemTest"
|
|
1468
1468
|
}
|
|
1469
1469
|
}
|
|
@@ -1471,11 +1471,11 @@
|
|
|
1471
1471
|
"expression": {
|
|
1472
1472
|
"argumentTypes": [
|
|
1473
1473
|
{
|
|
1474
|
-
"typeIdentifier": "t_contract$_SystemTest_$
|
|
1474
|
+
"typeIdentifier": "t_contract$_SystemTest_$66870",
|
|
1475
1475
|
"typeString": "contract SystemTest"
|
|
1476
1476
|
}
|
|
1477
1477
|
],
|
|
1478
|
-
"id":
|
|
1478
|
+
"id": 66863,
|
|
1479
1479
|
"isConstant": false,
|
|
1480
1480
|
"isLValue": false,
|
|
1481
1481
|
"isPure": true,
|
|
@@ -1487,14 +1487,14 @@
|
|
|
1487
1487
|
"typeString": "type(address)"
|
|
1488
1488
|
},
|
|
1489
1489
|
"typeName": {
|
|
1490
|
-
"id":
|
|
1490
|
+
"id": 66862,
|
|
1491
1491
|
"name": "address",
|
|
1492
1492
|
"nodeType": "ElementaryTypeName",
|
|
1493
1493
|
"src": "615:7:123",
|
|
1494
1494
|
"typeDescriptions": {}
|
|
1495
1495
|
}
|
|
1496
1496
|
},
|
|
1497
|
-
"id":
|
|
1497
|
+
"id": 66865,
|
|
1498
1498
|
"isConstant": false,
|
|
1499
1499
|
"isLValue": false,
|
|
1500
1500
|
"isPure": false,
|
|
@@ -1521,20 +1521,20 @@
|
|
|
1521
1521
|
"typeString": "address"
|
|
1522
1522
|
}
|
|
1523
1523
|
],
|
|
1524
|
-
"id":
|
|
1524
|
+
"id": 66848,
|
|
1525
1525
|
"name": "assertEq",
|
|
1526
1526
|
"nodeType": "Identifier",
|
|
1527
1527
|
"overloadedDeclarations": [
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1528
|
+
74150,
|
|
1529
|
+
74175,
|
|
1530
|
+
74188,
|
|
1531
|
+
74204,
|
|
1532
|
+
74246,
|
|
1533
|
+
74288,
|
|
1534
|
+
74330,
|
|
1535
|
+
74367,
|
|
1536
|
+
74404,
|
|
1537
|
+
74441,
|
|
1538
1538
|
9375,
|
|
1539
1539
|
9400,
|
|
1540
1540
|
9430,
|
|
@@ -1553,7 +1553,7 @@
|
|
|
1553
1553
|
"typeString": "function (address,address)"
|
|
1554
1554
|
}
|
|
1555
1555
|
},
|
|
1556
|
-
"id":
|
|
1556
|
+
"id": 66866,
|
|
1557
1557
|
"isConstant": false,
|
|
1558
1558
|
"isLValue": false,
|
|
1559
1559
|
"isPure": false,
|
|
@@ -1568,7 +1568,7 @@
|
|
|
1568
1568
|
"typeString": "tuple()"
|
|
1569
1569
|
}
|
|
1570
1570
|
},
|
|
1571
|
-
"id":
|
|
1571
|
+
"id": 66867,
|
|
1572
1572
|
"nodeType": "ExpressionStatement",
|
|
1573
1573
|
"src": "564:65:123"
|
|
1574
1574
|
}
|
|
@@ -1581,18 +1581,18 @@
|
|
|
1581
1581
|
"name": "testCallSystem",
|
|
1582
1582
|
"nameLocation": "429:14:123",
|
|
1583
1583
|
"parameters": {
|
|
1584
|
-
"id":
|
|
1584
|
+
"id": 66829,
|
|
1585
1585
|
"nodeType": "ParameterList",
|
|
1586
1586
|
"parameters": [],
|
|
1587
1587
|
"src": "443:2:123"
|
|
1588
1588
|
},
|
|
1589
1589
|
"returnParameters": {
|
|
1590
|
-
"id":
|
|
1590
|
+
"id": 66830,
|
|
1591
1591
|
"nodeType": "ParameterList",
|
|
1592
1592
|
"parameters": [],
|
|
1593
1593
|
"src": "453:0:123"
|
|
1594
1594
|
},
|
|
1595
|
-
"scope":
|
|
1595
|
+
"scope": 66870,
|
|
1596
1596
|
"stateMutability": "nonpayable",
|
|
1597
1597
|
"virtual": false,
|
|
1598
1598
|
"visibility": "public"
|
|
@@ -1602,39 +1602,39 @@
|
|
|
1602
1602
|
"baseContracts": [
|
|
1603
1603
|
{
|
|
1604
1604
|
"baseName": {
|
|
1605
|
-
"id":
|
|
1605
|
+
"id": 66813,
|
|
1606
1606
|
"name": "Test",
|
|
1607
1607
|
"nodeType": "IdentifierPath",
|
|
1608
1608
|
"referencedDeclaration": 10888,
|
|
1609
1609
|
"src": "316:4:123"
|
|
1610
1610
|
},
|
|
1611
|
-
"id":
|
|
1611
|
+
"id": 66814,
|
|
1612
1612
|
"nodeType": "InheritanceSpecifier",
|
|
1613
1613
|
"src": "316:4:123"
|
|
1614
1614
|
}
|
|
1615
1615
|
],
|
|
1616
1616
|
"canonicalName": "SystemTest",
|
|
1617
1617
|
"contractDependencies": [
|
|
1618
|
-
|
|
1618
|
+
66812
|
|
1619
1619
|
],
|
|
1620
1620
|
"contractKind": "contract",
|
|
1621
1621
|
"fullyImplemented": true,
|
|
1622
1622
|
"linearizedBaseContracts": [
|
|
1623
|
-
|
|
1623
|
+
66870,
|
|
1624
1624
|
10888,
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1625
|
+
74019,
|
|
1626
|
+
74016,
|
|
1627
|
+
81261,
|
|
1628
|
+
78180,
|
|
1629
|
+
77890,
|
|
1630
|
+
77501,
|
|
1631
|
+
75929,
|
|
1632
|
+
75265,
|
|
1633
1633
|
10841
|
|
1634
1634
|
],
|
|
1635
1635
|
"name": "SystemTest",
|
|
1636
1636
|
"nameLocation": "302:10:123",
|
|
1637
|
-
"scope":
|
|
1637
|
+
"scope": 66871,
|
|
1638
1638
|
"usedErrors": []
|
|
1639
1639
|
}
|
|
1640
1640
|
],
|