@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
|
@@ -745,10 +745,10 @@
|
|
|
745
745
|
},
|
|
746
746
|
"ast": {
|
|
747
747
|
"absolutePath": "src/modules/keyswithvalue/KeysWithValueHook.sol",
|
|
748
|
-
"id":
|
|
748
|
+
"id": 57951,
|
|
749
749
|
"exportedSymbols": {
|
|
750
750
|
"ArrayLib": [
|
|
751
|
-
|
|
751
|
+
60747
|
|
752
752
|
],
|
|
753
753
|
"Bytes": [
|
|
754
754
|
1002
|
|
@@ -760,26 +760,26 @@
|
|
|
760
760
|
1206
|
|
761
761
|
],
|
|
762
762
|
"KeysWithValue": [
|
|
763
|
-
|
|
763
|
+
58801
|
|
764
764
|
],
|
|
765
765
|
"KeysWithValueHook": [
|
|
766
|
-
|
|
766
|
+
57950
|
|
767
767
|
],
|
|
768
768
|
"MODULE_NAMESPACE": [
|
|
769
|
-
|
|
769
|
+
58093
|
|
770
770
|
],
|
|
771
771
|
"ResourceSelector": [
|
|
772
772
|
56374
|
|
773
773
|
],
|
|
774
774
|
"getTargetTableSelector": [
|
|
775
|
-
|
|
775
|
+
60803
|
|
776
776
|
]
|
|
777
777
|
},
|
|
778
778
|
"nodeType": "SourceUnit",
|
|
779
779
|
"src": "32:3277:103",
|
|
780
780
|
"nodes": [
|
|
781
781
|
{
|
|
782
|
-
"id":
|
|
782
|
+
"id": 57704,
|
|
783
783
|
"nodeType": "PragmaDirective",
|
|
784
784
|
"src": "32:24:103",
|
|
785
785
|
"nodes": [],
|
|
@@ -791,19 +791,19 @@
|
|
|
791
791
|
]
|
|
792
792
|
},
|
|
793
793
|
{
|
|
794
|
-
"id":
|
|
794
|
+
"id": 57706,
|
|
795
795
|
"nodeType": "ImportDirective",
|
|
796
796
|
"src": "58:62:103",
|
|
797
797
|
"nodes": [],
|
|
798
798
|
"absolutePath": "../../node_modules/@latticexyz/store/src/IStore.sol",
|
|
799
799
|
"file": "@latticexyz/store/src/IStore.sol",
|
|
800
800
|
"nameLocation": "-1:-1:-1",
|
|
801
|
-
"scope":
|
|
801
|
+
"scope": 57951,
|
|
802
802
|
"sourceUnit": 1207,
|
|
803
803
|
"symbolAliases": [
|
|
804
804
|
{
|
|
805
805
|
"foreign": {
|
|
806
|
-
"id":
|
|
806
|
+
"id": 57705,
|
|
807
807
|
"name": "IStoreHook",
|
|
808
808
|
"nodeType": "Identifier",
|
|
809
809
|
"overloadedDeclarations": [],
|
|
@@ -817,19 +817,19 @@
|
|
|
817
817
|
"unitAlias": ""
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
|
-
"id":
|
|
820
|
+
"id": 57708,
|
|
821
821
|
"nodeType": "ImportDirective",
|
|
822
822
|
"src": "121:56:103",
|
|
823
823
|
"nodes": [],
|
|
824
824
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Bytes.sol",
|
|
825
825
|
"file": "@latticexyz/store/src/Bytes.sol",
|
|
826
826
|
"nameLocation": "-1:-1:-1",
|
|
827
|
-
"scope":
|
|
827
|
+
"scope": 57951,
|
|
828
828
|
"sourceUnit": 1003,
|
|
829
829
|
"symbolAliases": [
|
|
830
830
|
{
|
|
831
831
|
"foreign": {
|
|
832
|
-
"id":
|
|
832
|
+
"id": 57707,
|
|
833
833
|
"name": "Bytes",
|
|
834
834
|
"nodeType": "Identifier",
|
|
835
835
|
"overloadedDeclarations": [],
|
|
@@ -843,19 +843,19 @@
|
|
|
843
843
|
"unitAlias": ""
|
|
844
844
|
},
|
|
845
845
|
{
|
|
846
|
-
"id":
|
|
846
|
+
"id": 57710,
|
|
847
847
|
"nodeType": "ImportDirective",
|
|
848
848
|
"src": "178:77:103",
|
|
849
849
|
"nodes": [],
|
|
850
850
|
"absolutePath": "../../node_modules/@latticexyz/world/src/interfaces/IBaseWorld.sol",
|
|
851
851
|
"file": "@latticexyz/world/src/interfaces/IBaseWorld.sol",
|
|
852
852
|
"nameLocation": "-1:-1:-1",
|
|
853
|
-
"scope":
|
|
853
|
+
"scope": 57951,
|
|
854
854
|
"sourceUnit": 9055,
|
|
855
855
|
"symbolAliases": [
|
|
856
856
|
{
|
|
857
857
|
"foreign": {
|
|
858
|
-
"id":
|
|
858
|
+
"id": 57709,
|
|
859
859
|
"name": "IBaseWorld",
|
|
860
860
|
"nodeType": "Identifier",
|
|
861
861
|
"overloadedDeclarations": [],
|
|
@@ -869,19 +869,19 @@
|
|
|
869
869
|
"unitAlias": ""
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
|
-
"id":
|
|
872
|
+
"id": 57712,
|
|
873
873
|
"nodeType": "ImportDirective",
|
|
874
874
|
"src": "257:62:103",
|
|
875
875
|
"nodes": [],
|
|
876
876
|
"absolutePath": "src/ResourceSelector.sol",
|
|
877
877
|
"file": "../../ResourceSelector.sol",
|
|
878
878
|
"nameLocation": "-1:-1:-1",
|
|
879
|
-
"scope":
|
|
879
|
+
"scope": 57951,
|
|
880
880
|
"sourceUnit": 56375,
|
|
881
881
|
"symbolAliases": [
|
|
882
882
|
{
|
|
883
883
|
"foreign": {
|
|
884
|
-
"id":
|
|
884
|
+
"id": 57711,
|
|
885
885
|
"name": "ResourceSelector",
|
|
886
886
|
"nodeType": "Identifier",
|
|
887
887
|
"overloadedDeclarations": [],
|
|
@@ -895,23 +895,23 @@
|
|
|
895
895
|
"unitAlias": ""
|
|
896
896
|
},
|
|
897
897
|
{
|
|
898
|
-
"id":
|
|
898
|
+
"id": 57714,
|
|
899
899
|
"nodeType": "ImportDirective",
|
|
900
900
|
"src": "321:51:103",
|
|
901
901
|
"nodes": [],
|
|
902
902
|
"absolutePath": "src/modules/keyswithvalue/constants.sol",
|
|
903
903
|
"file": "./constants.sol",
|
|
904
904
|
"nameLocation": "-1:-1:-1",
|
|
905
|
-
"scope":
|
|
906
|
-
"sourceUnit":
|
|
905
|
+
"scope": 57951,
|
|
906
|
+
"sourceUnit": 58094,
|
|
907
907
|
"symbolAliases": [
|
|
908
908
|
{
|
|
909
909
|
"foreign": {
|
|
910
|
-
"id":
|
|
910
|
+
"id": 57713,
|
|
911
911
|
"name": "MODULE_NAMESPACE",
|
|
912
912
|
"nodeType": "Identifier",
|
|
913
913
|
"overloadedDeclarations": [],
|
|
914
|
-
"referencedDeclaration":
|
|
914
|
+
"referencedDeclaration": 58093,
|
|
915
915
|
"src": "330:16:103",
|
|
916
916
|
"typeDescriptions": {}
|
|
917
917
|
},
|
|
@@ -921,23 +921,23 @@
|
|
|
921
921
|
"unitAlias": ""
|
|
922
922
|
},
|
|
923
923
|
{
|
|
924
|
-
"id":
|
|
924
|
+
"id": 57716,
|
|
925
925
|
"nodeType": "ImportDirective",
|
|
926
926
|
"src": "373:59:103",
|
|
927
927
|
"nodes": [],
|
|
928
928
|
"absolutePath": "src/modules/keyswithvalue/tables/KeysWithValue.sol",
|
|
929
929
|
"file": "./tables/KeysWithValue.sol",
|
|
930
930
|
"nameLocation": "-1:-1:-1",
|
|
931
|
-
"scope":
|
|
932
|
-
"sourceUnit":
|
|
931
|
+
"scope": 57951,
|
|
932
|
+
"sourceUnit": 58802,
|
|
933
933
|
"symbolAliases": [
|
|
934
934
|
{
|
|
935
935
|
"foreign": {
|
|
936
|
-
"id":
|
|
936
|
+
"id": 57715,
|
|
937
937
|
"name": "KeysWithValue",
|
|
938
938
|
"nodeType": "Identifier",
|
|
939
939
|
"overloadedDeclarations": [],
|
|
940
|
-
"referencedDeclaration":
|
|
940
|
+
"referencedDeclaration": 58801,
|
|
941
941
|
"src": "382:13:103",
|
|
942
942
|
"typeDescriptions": {}
|
|
943
943
|
},
|
|
@@ -947,23 +947,23 @@
|
|
|
947
947
|
"unitAlias": ""
|
|
948
948
|
},
|
|
949
949
|
{
|
|
950
|
-
"id":
|
|
950
|
+
"id": 57718,
|
|
951
951
|
"nodeType": "ImportDirective",
|
|
952
952
|
"src": "433:49:103",
|
|
953
953
|
"nodes": [],
|
|
954
954
|
"absolutePath": "src/modules/utils/ArrayLib.sol",
|
|
955
955
|
"file": "../utils/ArrayLib.sol",
|
|
956
956
|
"nameLocation": "-1:-1:-1",
|
|
957
|
-
"scope":
|
|
958
|
-
"sourceUnit":
|
|
957
|
+
"scope": 57951,
|
|
958
|
+
"sourceUnit": 60748,
|
|
959
959
|
"symbolAliases": [
|
|
960
960
|
{
|
|
961
961
|
"foreign": {
|
|
962
|
-
"id":
|
|
962
|
+
"id": 57717,
|
|
963
963
|
"name": "ArrayLib",
|
|
964
964
|
"nodeType": "Identifier",
|
|
965
965
|
"overloadedDeclarations": [],
|
|
966
|
-
"referencedDeclaration":
|
|
966
|
+
"referencedDeclaration": 60747,
|
|
967
967
|
"src": "442:8:103",
|
|
968
968
|
"typeDescriptions": {}
|
|
969
969
|
},
|
|
@@ -973,23 +973,23 @@
|
|
|
973
973
|
"unitAlias": ""
|
|
974
974
|
},
|
|
975
975
|
{
|
|
976
|
-
"id":
|
|
976
|
+
"id": 57720,
|
|
977
977
|
"nodeType": "ImportDirective",
|
|
978
978
|
"src": "483:77:103",
|
|
979
979
|
"nodes": [],
|
|
980
980
|
"absolutePath": "src/modules/utils/getTargetTableSelector.sol",
|
|
981
981
|
"file": "../utils/getTargetTableSelector.sol",
|
|
982
982
|
"nameLocation": "-1:-1:-1",
|
|
983
|
-
"scope":
|
|
984
|
-
"sourceUnit":
|
|
983
|
+
"scope": 57951,
|
|
984
|
+
"sourceUnit": 60804,
|
|
985
985
|
"symbolAliases": [
|
|
986
986
|
{
|
|
987
987
|
"foreign": {
|
|
988
|
-
"id":
|
|
988
|
+
"id": 57719,
|
|
989
989
|
"name": "getTargetTableSelector",
|
|
990
990
|
"nodeType": "Identifier",
|
|
991
991
|
"overloadedDeclarations": [],
|
|
992
|
-
"referencedDeclaration":
|
|
992
|
+
"referencedDeclaration": 60803,
|
|
993
993
|
"src": "492:22:103",
|
|
994
994
|
"typeDescriptions": {}
|
|
995
995
|
},
|
|
@@ -999,26 +999,26 @@
|
|
|
999
999
|
"unitAlias": ""
|
|
1000
1000
|
},
|
|
1001
1001
|
{
|
|
1002
|
-
"id":
|
|
1002
|
+
"id": 57950,
|
|
1003
1003
|
"nodeType": "ContractDefinition",
|
|
1004
1004
|
"src": "894:2414:103",
|
|
1005
1005
|
"nodes": [
|
|
1006
1006
|
{
|
|
1007
|
-
"id":
|
|
1007
|
+
"id": 57727,
|
|
1008
1008
|
"nodeType": "UsingForDirective",
|
|
1009
1009
|
"src": "939:29:103",
|
|
1010
1010
|
"nodes": [],
|
|
1011
1011
|
"global": false,
|
|
1012
1012
|
"libraryName": {
|
|
1013
|
-
"id":
|
|
1013
|
+
"id": 57724,
|
|
1014
1014
|
"name": "ArrayLib",
|
|
1015
1015
|
"nodeType": "IdentifierPath",
|
|
1016
|
-
"referencedDeclaration":
|
|
1016
|
+
"referencedDeclaration": 60747,
|
|
1017
1017
|
"src": "945:8:103"
|
|
1018
1018
|
},
|
|
1019
1019
|
"typeName": {
|
|
1020
1020
|
"baseType": {
|
|
1021
|
-
"id":
|
|
1021
|
+
"id": 57725,
|
|
1022
1022
|
"name": "bytes32",
|
|
1023
1023
|
"nodeType": "ElementaryTypeName",
|
|
1024
1024
|
"src": "958:7:103",
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
"typeString": "bytes32"
|
|
1028
1028
|
}
|
|
1029
1029
|
},
|
|
1030
|
-
"id":
|
|
1030
|
+
"id": 57726,
|
|
1031
1031
|
"nodeType": "ArrayTypeName",
|
|
1032
1032
|
"src": "958:9:103",
|
|
1033
1033
|
"typeDescriptions": {
|
|
@@ -1037,20 +1037,20 @@
|
|
|
1037
1037
|
}
|
|
1038
1038
|
},
|
|
1039
1039
|
{
|
|
1040
|
-
"id":
|
|
1040
|
+
"id": 57730,
|
|
1041
1041
|
"nodeType": "UsingForDirective",
|
|
1042
1042
|
"src": "971:35:103",
|
|
1043
1043
|
"nodes": [],
|
|
1044
1044
|
"global": false,
|
|
1045
1045
|
"libraryName": {
|
|
1046
|
-
"id":
|
|
1046
|
+
"id": 57728,
|
|
1047
1047
|
"name": "ResourceSelector",
|
|
1048
1048
|
"nodeType": "IdentifierPath",
|
|
1049
1049
|
"referencedDeclaration": 56374,
|
|
1050
1050
|
"src": "977:16:103"
|
|
1051
1051
|
},
|
|
1052
1052
|
"typeName": {
|
|
1053
|
-
"id":
|
|
1053
|
+
"id": 57729,
|
|
1054
1054
|
"name": "bytes32",
|
|
1055
1055
|
"nodeType": "ElementaryTypeName",
|
|
1056
1056
|
"src": "998:7:103",
|
|
@@ -1061,29 +1061,29 @@
|
|
|
1061
1061
|
}
|
|
1062
1062
|
},
|
|
1063
1063
|
{
|
|
1064
|
-
"id":
|
|
1064
|
+
"id": 57790,
|
|
1065
1065
|
"nodeType": "FunctionDefinition",
|
|
1066
1066
|
"src": "1010:666:103",
|
|
1067
1067
|
"nodes": [],
|
|
1068
1068
|
"body": {
|
|
1069
|
-
"id":
|
|
1069
|
+
"id": 57789,
|
|
1070
1070
|
"nodeType": "Block",
|
|
1071
1071
|
"src": "1102:574:103",
|
|
1072
1072
|
"nodes": [],
|
|
1073
1073
|
"statements": [
|
|
1074
1074
|
{
|
|
1075
1075
|
"assignments": [
|
|
1076
|
-
|
|
1076
|
+
57741
|
|
1077
1077
|
],
|
|
1078
1078
|
"declarations": [
|
|
1079
1079
|
{
|
|
1080
1080
|
"constant": false,
|
|
1081
|
-
"id":
|
|
1081
|
+
"id": 57741,
|
|
1082
1082
|
"mutability": "mutable",
|
|
1083
1083
|
"name": "targetTableId",
|
|
1084
1084
|
"nameLocation": "1116:13:103",
|
|
1085
1085
|
"nodeType": "VariableDeclaration",
|
|
1086
|
-
"scope":
|
|
1086
|
+
"scope": 57789,
|
|
1087
1087
|
"src": "1108:21:103",
|
|
1088
1088
|
"stateVariable": false,
|
|
1089
1089
|
"storageLocation": "default",
|
|
@@ -1092,7 +1092,7 @@
|
|
|
1092
1092
|
"typeString": "uint256"
|
|
1093
1093
|
},
|
|
1094
1094
|
"typeName": {
|
|
1095
|
-
"id":
|
|
1095
|
+
"id": 57740,
|
|
1096
1096
|
"name": "uint256",
|
|
1097
1097
|
"nodeType": "ElementaryTypeName",
|
|
1098
1098
|
"src": "1108:7:103",
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
"visibility": "internal"
|
|
1105
1105
|
}
|
|
1106
1106
|
],
|
|
1107
|
-
"id":
|
|
1107
|
+
"id": 57748,
|
|
1108
1108
|
"initialValue": {
|
|
1109
1109
|
"arguments": [],
|
|
1110
1110
|
"expression": {
|
|
@@ -1112,11 +1112,11 @@
|
|
|
1112
1112
|
"expression": {
|
|
1113
1113
|
"arguments": [
|
|
1114
1114
|
{
|
|
1115
|
-
"id":
|
|
1115
|
+
"id": 57743,
|
|
1116
1116
|
"name": "MODULE_NAMESPACE",
|
|
1117
1117
|
"nodeType": "Identifier",
|
|
1118
1118
|
"overloadedDeclarations": [],
|
|
1119
|
-
"referencedDeclaration":
|
|
1119
|
+
"referencedDeclaration": 58093,
|
|
1120
1120
|
"src": "1155:16:103",
|
|
1121
1121
|
"typeDescriptions": {
|
|
1122
1122
|
"typeIdentifier": "t_bytes8",
|
|
@@ -1124,11 +1124,11 @@
|
|
|
1124
1124
|
}
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
1127
|
-
"id":
|
|
1127
|
+
"id": 57744,
|
|
1128
1128
|
"name": "sourceTableId",
|
|
1129
1129
|
"nodeType": "Identifier",
|
|
1130
1130
|
"overloadedDeclarations": [],
|
|
1131
|
-
"referencedDeclaration":
|
|
1131
|
+
"referencedDeclaration": 57732,
|
|
1132
1132
|
"src": "1173:13:103",
|
|
1133
1133
|
"typeDescriptions": {
|
|
1134
1134
|
"typeIdentifier": "t_uint256",
|
|
@@ -1147,18 +1147,18 @@
|
|
|
1147
1147
|
"typeString": "uint256"
|
|
1148
1148
|
}
|
|
1149
1149
|
],
|
|
1150
|
-
"id":
|
|
1150
|
+
"id": 57742,
|
|
1151
1151
|
"name": "getTargetTableSelector",
|
|
1152
1152
|
"nodeType": "Identifier",
|
|
1153
1153
|
"overloadedDeclarations": [],
|
|
1154
|
-
"referencedDeclaration":
|
|
1154
|
+
"referencedDeclaration": 60803,
|
|
1155
1155
|
"src": "1132:22:103",
|
|
1156
1156
|
"typeDescriptions": {
|
|
1157
1157
|
"typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_uint256_$returns$_t_bytes32_$",
|
|
1158
1158
|
"typeString": "function (bytes8,uint256) pure returns (bytes32)"
|
|
1159
1159
|
}
|
|
1160
1160
|
},
|
|
1161
|
-
"id":
|
|
1161
|
+
"id": 57745,
|
|
1162
1162
|
"isConstant": false,
|
|
1163
1163
|
"isLValue": false,
|
|
1164
1164
|
"isPure": false,
|
|
@@ -1173,7 +1173,7 @@
|
|
|
1173
1173
|
"typeString": "bytes32"
|
|
1174
1174
|
}
|
|
1175
1175
|
},
|
|
1176
|
-
"id":
|
|
1176
|
+
"id": 57746,
|
|
1177
1177
|
"isConstant": false,
|
|
1178
1178
|
"isLValue": false,
|
|
1179
1179
|
"isPure": false,
|
|
@@ -1187,7 +1187,7 @@
|
|
|
1187
1187
|
"typeString": "function (bytes32) pure returns (uint256)"
|
|
1188
1188
|
}
|
|
1189
1189
|
},
|
|
1190
|
-
"id":
|
|
1190
|
+
"id": 57747,
|
|
1191
1191
|
"isConstant": false,
|
|
1192
1192
|
"isLValue": false,
|
|
1193
1193
|
"isPure": false,
|
|
@@ -1207,17 +1207,17 @@
|
|
|
1207
1207
|
},
|
|
1208
1208
|
{
|
|
1209
1209
|
"assignments": [
|
|
1210
|
-
|
|
1210
|
+
57750
|
|
1211
1211
|
],
|
|
1212
1212
|
"declarations": [
|
|
1213
1213
|
{
|
|
1214
1214
|
"constant": false,
|
|
1215
|
-
"id":
|
|
1215
|
+
"id": 57750,
|
|
1216
1216
|
"mutability": "mutable",
|
|
1217
1217
|
"name": "previousValue",
|
|
1218
1218
|
"nameLocation": "1244:13:103",
|
|
1219
1219
|
"nodeType": "VariableDeclaration",
|
|
1220
|
-
"scope":
|
|
1220
|
+
"scope": 57789,
|
|
1221
1221
|
"src": "1236:21:103",
|
|
1222
1222
|
"stateVariable": false,
|
|
1223
1223
|
"storageLocation": "default",
|
|
@@ -1226,7 +1226,7 @@
|
|
|
1226
1226
|
"typeString": "bytes32"
|
|
1227
1227
|
},
|
|
1228
1228
|
"typeName": {
|
|
1229
|
-
"id":
|
|
1229
|
+
"id": 57749,
|
|
1230
1230
|
"name": "bytes32",
|
|
1231
1231
|
"nodeType": "ElementaryTypeName",
|
|
1232
1232
|
"src": "1236:7:103",
|
|
@@ -1238,17 +1238,17 @@
|
|
|
1238
1238
|
"visibility": "internal"
|
|
1239
1239
|
}
|
|
1240
1240
|
],
|
|
1241
|
-
"id":
|
|
1241
|
+
"id": 57761,
|
|
1242
1242
|
"initialValue": {
|
|
1243
1243
|
"arguments": [
|
|
1244
1244
|
{
|
|
1245
1245
|
"arguments": [
|
|
1246
1246
|
{
|
|
1247
|
-
"id":
|
|
1247
|
+
"id": 57757,
|
|
1248
1248
|
"name": "sourceTableId",
|
|
1249
1249
|
"nodeType": "Identifier",
|
|
1250
1250
|
"overloadedDeclarations": [],
|
|
1251
|
-
"referencedDeclaration":
|
|
1251
|
+
"referencedDeclaration": 57732,
|
|
1252
1252
|
"src": "1303:13:103",
|
|
1253
1253
|
"typeDescriptions": {
|
|
1254
1254
|
"typeIdentifier": "t_uint256",
|
|
@@ -1256,11 +1256,11 @@
|
|
|
1256
1256
|
}
|
|
1257
1257
|
},
|
|
1258
1258
|
{
|
|
1259
|
-
"id":
|
|
1259
|
+
"id": 57758,
|
|
1260
1260
|
"name": "key",
|
|
1261
1261
|
"nodeType": "Identifier",
|
|
1262
1262
|
"overloadedDeclarations": [],
|
|
1263
|
-
"referencedDeclaration":
|
|
1263
|
+
"referencedDeclaration": 57735,
|
|
1264
1264
|
"src": "1318:3:103",
|
|
1265
1265
|
"typeDescriptions": {
|
|
1266
1266
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -1283,7 +1283,7 @@
|
|
|
1283
1283
|
"arguments": [
|
|
1284
1284
|
{
|
|
1285
1285
|
"expression": {
|
|
1286
|
-
"id":
|
|
1286
|
+
"id": 57753,
|
|
1287
1287
|
"name": "msg",
|
|
1288
1288
|
"nodeType": "Identifier",
|
|
1289
1289
|
"overloadedDeclarations": [],
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
"typeString": "msg"
|
|
1295
1295
|
}
|
|
1296
1296
|
},
|
|
1297
|
-
"id":
|
|
1297
|
+
"id": 57754,
|
|
1298
1298
|
"isConstant": false,
|
|
1299
1299
|
"isLValue": false,
|
|
1300
1300
|
"isPure": false,
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
"typeString": "address"
|
|
1316
1316
|
}
|
|
1317
1317
|
],
|
|
1318
|
-
"id":
|
|
1318
|
+
"id": 57752,
|
|
1319
1319
|
"name": "IBaseWorld",
|
|
1320
1320
|
"nodeType": "Identifier",
|
|
1321
1321
|
"overloadedDeclarations": [],
|
|
@@ -1326,7 +1326,7 @@
|
|
|
1326
1326
|
"typeString": "type(contract IBaseWorld)"
|
|
1327
1327
|
}
|
|
1328
1328
|
},
|
|
1329
|
-
"id":
|
|
1329
|
+
"id": 57755,
|
|
1330
1330
|
"isConstant": false,
|
|
1331
1331
|
"isLValue": false,
|
|
1332
1332
|
"isPure": false,
|
|
@@ -1341,7 +1341,7 @@
|
|
|
1341
1341
|
"typeString": "contract IBaseWorld"
|
|
1342
1342
|
}
|
|
1343
1343
|
},
|
|
1344
|
-
"id":
|
|
1344
|
+
"id": 57756,
|
|
1345
1345
|
"isConstant": false,
|
|
1346
1346
|
"isLValue": false,
|
|
1347
1347
|
"isPure": false,
|
|
@@ -1355,7 +1355,7 @@
|
|
|
1355
1355
|
"typeString": "function (uint256,bytes32[] memory) view external returns (bytes memory)"
|
|
1356
1356
|
}
|
|
1357
1357
|
},
|
|
1358
|
-
"id":
|
|
1358
|
+
"id": 57759,
|
|
1359
1359
|
"isConstant": false,
|
|
1360
1360
|
"isLValue": false,
|
|
1361
1361
|
"isPure": false,
|
|
@@ -1378,7 +1378,7 @@
|
|
|
1378
1378
|
"typeString": "bytes memory"
|
|
1379
1379
|
}
|
|
1380
1380
|
],
|
|
1381
|
-
"id":
|
|
1381
|
+
"id": 57751,
|
|
1382
1382
|
"name": "keccak256",
|
|
1383
1383
|
"nodeType": "Identifier",
|
|
1384
1384
|
"overloadedDeclarations": [],
|
|
@@ -1389,7 +1389,7 @@
|
|
|
1389
1389
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
1390
1390
|
}
|
|
1391
1391
|
},
|
|
1392
|
-
"id":
|
|
1392
|
+
"id": 57760,
|
|
1393
1393
|
"isConstant": false,
|
|
1394
1394
|
"isLValue": false,
|
|
1395
1395
|
"isPure": false,
|
|
@@ -1413,17 +1413,17 @@
|
|
|
1413
1413
|
"typeIdentifier": "t_bytes32",
|
|
1414
1414
|
"typeString": "bytes32"
|
|
1415
1415
|
},
|
|
1416
|
-
"id":
|
|
1416
|
+
"id": 57766,
|
|
1417
1417
|
"isConstant": false,
|
|
1418
1418
|
"isLValue": false,
|
|
1419
1419
|
"isPure": false,
|
|
1420
1420
|
"lValueRequested": false,
|
|
1421
1421
|
"leftExpression": {
|
|
1422
|
-
"id":
|
|
1422
|
+
"id": 57762,
|
|
1423
1423
|
"name": "previousValue",
|
|
1424
1424
|
"nodeType": "Identifier",
|
|
1425
1425
|
"overloadedDeclarations": [],
|
|
1426
|
-
"referencedDeclaration":
|
|
1426
|
+
"referencedDeclaration": 57750,
|
|
1427
1427
|
"src": "1376:13:103",
|
|
1428
1428
|
"typeDescriptions": {
|
|
1429
1429
|
"typeIdentifier": "t_bytes32",
|
|
@@ -1435,11 +1435,11 @@
|
|
|
1435
1435
|
"rightExpression": {
|
|
1436
1436
|
"arguments": [
|
|
1437
1437
|
{
|
|
1438
|
-
"id":
|
|
1438
|
+
"id": 57764,
|
|
1439
1439
|
"name": "data",
|
|
1440
1440
|
"nodeType": "Identifier",
|
|
1441
1441
|
"overloadedDeclarations": [],
|
|
1442
|
-
"referencedDeclaration":
|
|
1442
|
+
"referencedDeclaration": 57737,
|
|
1443
1443
|
"src": "1403:4:103",
|
|
1444
1444
|
"typeDescriptions": {
|
|
1445
1445
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -1454,7 +1454,7 @@
|
|
|
1454
1454
|
"typeString": "bytes memory"
|
|
1455
1455
|
}
|
|
1456
1456
|
],
|
|
1457
|
-
"id":
|
|
1457
|
+
"id": 57763,
|
|
1458
1458
|
"name": "keccak256",
|
|
1459
1459
|
"nodeType": "Identifier",
|
|
1460
1460
|
"overloadedDeclarations": [],
|
|
@@ -1465,7 +1465,7 @@
|
|
|
1465
1465
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
1466
1466
|
}
|
|
1467
1467
|
},
|
|
1468
|
-
"id":
|
|
1468
|
+
"id": 57765,
|
|
1469
1469
|
"isConstant": false,
|
|
1470
1470
|
"isLValue": false,
|
|
1471
1471
|
"isPure": false,
|
|
@@ -1486,12 +1486,12 @@
|
|
|
1486
1486
|
"typeString": "bool"
|
|
1487
1487
|
}
|
|
1488
1488
|
},
|
|
1489
|
-
"id":
|
|
1489
|
+
"id": 57768,
|
|
1490
1490
|
"nodeType": "IfStatement",
|
|
1491
1491
|
"src": "1372:45:103",
|
|
1492
1492
|
"trueBody": {
|
|
1493
|
-
"functionReturnParameters":
|
|
1494
|
-
"id":
|
|
1493
|
+
"functionReturnParameters": 57739,
|
|
1494
|
+
"id": 57767,
|
|
1495
1495
|
"nodeType": "Return",
|
|
1496
1496
|
"src": "1410:7:103"
|
|
1497
1497
|
}
|
|
@@ -1500,11 +1500,11 @@
|
|
|
1500
1500
|
"expression": {
|
|
1501
1501
|
"arguments": [
|
|
1502
1502
|
{
|
|
1503
|
-
"id":
|
|
1503
|
+
"id": 57770,
|
|
1504
1504
|
"name": "targetTableId",
|
|
1505
1505
|
"nodeType": "Identifier",
|
|
1506
1506
|
"overloadedDeclarations": [],
|
|
1507
|
-
"referencedDeclaration":
|
|
1507
|
+
"referencedDeclaration": 57741,
|
|
1508
1508
|
"src": "1510:13:103",
|
|
1509
1509
|
"typeDescriptions": {
|
|
1510
1510
|
"typeIdentifier": "t_uint256",
|
|
@@ -1513,21 +1513,21 @@
|
|
|
1513
1513
|
},
|
|
1514
1514
|
{
|
|
1515
1515
|
"baseExpression": {
|
|
1516
|
-
"id":
|
|
1516
|
+
"id": 57771,
|
|
1517
1517
|
"name": "key",
|
|
1518
1518
|
"nodeType": "Identifier",
|
|
1519
1519
|
"overloadedDeclarations": [],
|
|
1520
|
-
"referencedDeclaration":
|
|
1520
|
+
"referencedDeclaration": 57735,
|
|
1521
1521
|
"src": "1525:3:103",
|
|
1522
1522
|
"typeDescriptions": {
|
|
1523
1523
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
1524
1524
|
"typeString": "bytes32[] memory"
|
|
1525
1525
|
}
|
|
1526
1526
|
},
|
|
1527
|
-
"id":
|
|
1527
|
+
"id": 57773,
|
|
1528
1528
|
"indexExpression": {
|
|
1529
1529
|
"hexValue": "30",
|
|
1530
|
-
"id":
|
|
1530
|
+
"id": 57772,
|
|
1531
1531
|
"isConstant": false,
|
|
1532
1532
|
"isLValue": false,
|
|
1533
1533
|
"isPure": true,
|
|
@@ -1553,11 +1553,11 @@
|
|
|
1553
1553
|
}
|
|
1554
1554
|
},
|
|
1555
1555
|
{
|
|
1556
|
-
"id":
|
|
1556
|
+
"id": 57774,
|
|
1557
1557
|
"name": "previousValue",
|
|
1558
1558
|
"nodeType": "Identifier",
|
|
1559
1559
|
"overloadedDeclarations": [],
|
|
1560
|
-
"referencedDeclaration":
|
|
1560
|
+
"referencedDeclaration": 57750,
|
|
1561
1561
|
"src": "1533:13:103",
|
|
1562
1562
|
"typeDescriptions": {
|
|
1563
1563
|
"typeIdentifier": "t_bytes32",
|
|
@@ -1580,18 +1580,18 @@
|
|
|
1580
1580
|
"typeString": "bytes32"
|
|
1581
1581
|
}
|
|
1582
1582
|
],
|
|
1583
|
-
"id":
|
|
1583
|
+
"id": 57769,
|
|
1584
1584
|
"name": "_removeKeyFromList",
|
|
1585
1585
|
"nodeType": "Identifier",
|
|
1586
1586
|
"overloadedDeclarations": [],
|
|
1587
|
-
"referencedDeclaration":
|
|
1587
|
+
"referencedDeclaration": 57949,
|
|
1588
1588
|
"src": "1491:18:103",
|
|
1589
1589
|
"typeDescriptions": {
|
|
1590
1590
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$returns$__$",
|
|
1591
1591
|
"typeString": "function (uint256,bytes32,bytes32)"
|
|
1592
1592
|
}
|
|
1593
1593
|
},
|
|
1594
|
-
"id":
|
|
1594
|
+
"id": 57775,
|
|
1595
1595
|
"isConstant": false,
|
|
1596
1596
|
"isLValue": false,
|
|
1597
1597
|
"isPure": false,
|
|
@@ -1606,7 +1606,7 @@
|
|
|
1606
1606
|
"typeString": "tuple()"
|
|
1607
1607
|
}
|
|
1608
1608
|
},
|
|
1609
|
-
"id":
|
|
1609
|
+
"id": 57776,
|
|
1610
1610
|
"nodeType": "ExpressionStatement",
|
|
1611
1611
|
"src": "1491:56:103"
|
|
1612
1612
|
},
|
|
@@ -1614,11 +1614,11 @@
|
|
|
1614
1614
|
"expression": {
|
|
1615
1615
|
"arguments": [
|
|
1616
1616
|
{
|
|
1617
|
-
"id":
|
|
1617
|
+
"id": 57780,
|
|
1618
1618
|
"name": "targetTableId",
|
|
1619
1619
|
"nodeType": "Identifier",
|
|
1620
1620
|
"overloadedDeclarations": [],
|
|
1621
|
-
"referencedDeclaration":
|
|
1621
|
+
"referencedDeclaration": 57741,
|
|
1622
1622
|
"src": "1632:13:103",
|
|
1623
1623
|
"typeDescriptions": {
|
|
1624
1624
|
"typeIdentifier": "t_uint256",
|
|
@@ -1628,11 +1628,11 @@
|
|
|
1628
1628
|
{
|
|
1629
1629
|
"arguments": [
|
|
1630
1630
|
{
|
|
1631
|
-
"id":
|
|
1631
|
+
"id": 57782,
|
|
1632
1632
|
"name": "data",
|
|
1633
1633
|
"nodeType": "Identifier",
|
|
1634
1634
|
"overloadedDeclarations": [],
|
|
1635
|
-
"referencedDeclaration":
|
|
1635
|
+
"referencedDeclaration": 57737,
|
|
1636
1636
|
"src": "1657:4:103",
|
|
1637
1637
|
"typeDescriptions": {
|
|
1638
1638
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -1647,7 +1647,7 @@
|
|
|
1647
1647
|
"typeString": "bytes memory"
|
|
1648
1648
|
}
|
|
1649
1649
|
],
|
|
1650
|
-
"id":
|
|
1650
|
+
"id": 57781,
|
|
1651
1651
|
"name": "keccak256",
|
|
1652
1652
|
"nodeType": "Identifier",
|
|
1653
1653
|
"overloadedDeclarations": [],
|
|
@@ -1658,7 +1658,7 @@
|
|
|
1658
1658
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
1659
1659
|
}
|
|
1660
1660
|
},
|
|
1661
|
-
"id":
|
|
1661
|
+
"id": 57783,
|
|
1662
1662
|
"isConstant": false,
|
|
1663
1663
|
"isLValue": false,
|
|
1664
1664
|
"isPure": false,
|
|
@@ -1675,21 +1675,21 @@
|
|
|
1675
1675
|
},
|
|
1676
1676
|
{
|
|
1677
1677
|
"baseExpression": {
|
|
1678
|
-
"id":
|
|
1678
|
+
"id": 57784,
|
|
1679
1679
|
"name": "key",
|
|
1680
1680
|
"nodeType": "Identifier",
|
|
1681
1681
|
"overloadedDeclarations": [],
|
|
1682
|
-
"referencedDeclaration":
|
|
1682
|
+
"referencedDeclaration": 57735,
|
|
1683
1683
|
"src": "1664:3:103",
|
|
1684
1684
|
"typeDescriptions": {
|
|
1685
1685
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
1686
1686
|
"typeString": "bytes32[] memory"
|
|
1687
1687
|
}
|
|
1688
1688
|
},
|
|
1689
|
-
"id":
|
|
1689
|
+
"id": 57786,
|
|
1690
1690
|
"indexExpression": {
|
|
1691
1691
|
"hexValue": "30",
|
|
1692
|
-
"id":
|
|
1692
|
+
"id": 57785,
|
|
1693
1693
|
"isConstant": false,
|
|
1694
1694
|
"isLValue": false,
|
|
1695
1695
|
"isPure": true,
|
|
@@ -1731,32 +1731,32 @@
|
|
|
1731
1731
|
}
|
|
1732
1732
|
],
|
|
1733
1733
|
"expression": {
|
|
1734
|
-
"id":
|
|
1734
|
+
"id": 57777,
|
|
1735
1735
|
"name": "KeysWithValue",
|
|
1736
1736
|
"nodeType": "Identifier",
|
|
1737
1737
|
"overloadedDeclarations": [],
|
|
1738
|
-
"referencedDeclaration":
|
|
1738
|
+
"referencedDeclaration": 58801,
|
|
1739
1739
|
"src": "1613:13:103",
|
|
1740
1740
|
"typeDescriptions": {
|
|
1741
|
-
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$
|
|
1741
|
+
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58801_$",
|
|
1742
1742
|
"typeString": "type(library KeysWithValue)"
|
|
1743
1743
|
}
|
|
1744
1744
|
},
|
|
1745
|
-
"id":
|
|
1745
|
+
"id": 57779,
|
|
1746
1746
|
"isConstant": false,
|
|
1747
1747
|
"isLValue": false,
|
|
1748
1748
|
"isPure": false,
|
|
1749
1749
|
"lValueRequested": false,
|
|
1750
1750
|
"memberName": "push",
|
|
1751
1751
|
"nodeType": "MemberAccess",
|
|
1752
|
-
"referencedDeclaration":
|
|
1752
|
+
"referencedDeclaration": 58624,
|
|
1753
1753
|
"src": "1613:18:103",
|
|
1754
1754
|
"typeDescriptions": {
|
|
1755
1755
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$returns$__$",
|
|
1756
1756
|
"typeString": "function (uint256,bytes32,bytes32)"
|
|
1757
1757
|
}
|
|
1758
1758
|
},
|
|
1759
|
-
"id":
|
|
1759
|
+
"id": 57787,
|
|
1760
1760
|
"isConstant": false,
|
|
1761
1761
|
"isLValue": false,
|
|
1762
1762
|
"isPure": false,
|
|
@@ -1771,7 +1771,7 @@
|
|
|
1771
1771
|
"typeString": "tuple()"
|
|
1772
1772
|
}
|
|
1773
1773
|
},
|
|
1774
|
-
"id":
|
|
1774
|
+
"id": 57788,
|
|
1775
1775
|
"nodeType": "ExpressionStatement",
|
|
1776
1776
|
"src": "1613:58:103"
|
|
1777
1777
|
}
|
|
@@ -1787,17 +1787,17 @@
|
|
|
1787
1787
|
"name": "onSetRecord",
|
|
1788
1788
|
"nameLocation": "1019:11:103",
|
|
1789
1789
|
"parameters": {
|
|
1790
|
-
"id":
|
|
1790
|
+
"id": 57738,
|
|
1791
1791
|
"nodeType": "ParameterList",
|
|
1792
1792
|
"parameters": [
|
|
1793
1793
|
{
|
|
1794
1794
|
"constant": false,
|
|
1795
|
-
"id":
|
|
1795
|
+
"id": 57732,
|
|
1796
1796
|
"mutability": "mutable",
|
|
1797
1797
|
"name": "sourceTableId",
|
|
1798
1798
|
"nameLocation": "1039:13:103",
|
|
1799
1799
|
"nodeType": "VariableDeclaration",
|
|
1800
|
-
"scope":
|
|
1800
|
+
"scope": 57790,
|
|
1801
1801
|
"src": "1031:21:103",
|
|
1802
1802
|
"stateVariable": false,
|
|
1803
1803
|
"storageLocation": "default",
|
|
@@ -1806,7 +1806,7 @@
|
|
|
1806
1806
|
"typeString": "uint256"
|
|
1807
1807
|
},
|
|
1808
1808
|
"typeName": {
|
|
1809
|
-
"id":
|
|
1809
|
+
"id": 57731,
|
|
1810
1810
|
"name": "uint256",
|
|
1811
1811
|
"nodeType": "ElementaryTypeName",
|
|
1812
1812
|
"src": "1031:7:103",
|
|
@@ -1819,12 +1819,12 @@
|
|
|
1819
1819
|
},
|
|
1820
1820
|
{
|
|
1821
1821
|
"constant": false,
|
|
1822
|
-
"id":
|
|
1822
|
+
"id": 57735,
|
|
1823
1823
|
"mutability": "mutable",
|
|
1824
1824
|
"name": "key",
|
|
1825
1825
|
"nameLocation": "1071:3:103",
|
|
1826
1826
|
"nodeType": "VariableDeclaration",
|
|
1827
|
-
"scope":
|
|
1827
|
+
"scope": 57790,
|
|
1828
1828
|
"src": "1054:20:103",
|
|
1829
1829
|
"stateVariable": false,
|
|
1830
1830
|
"storageLocation": "memory",
|
|
@@ -1834,7 +1834,7 @@
|
|
|
1834
1834
|
},
|
|
1835
1835
|
"typeName": {
|
|
1836
1836
|
"baseType": {
|
|
1837
|
-
"id":
|
|
1837
|
+
"id": 57733,
|
|
1838
1838
|
"name": "bytes32",
|
|
1839
1839
|
"nodeType": "ElementaryTypeName",
|
|
1840
1840
|
"src": "1054:7:103",
|
|
@@ -1843,7 +1843,7 @@
|
|
|
1843
1843
|
"typeString": "bytes32"
|
|
1844
1844
|
}
|
|
1845
1845
|
},
|
|
1846
|
-
"id":
|
|
1846
|
+
"id": 57734,
|
|
1847
1847
|
"nodeType": "ArrayTypeName",
|
|
1848
1848
|
"src": "1054:9:103",
|
|
1849
1849
|
"typeDescriptions": {
|
|
@@ -1855,12 +1855,12 @@
|
|
|
1855
1855
|
},
|
|
1856
1856
|
{
|
|
1857
1857
|
"constant": false,
|
|
1858
|
-
"id":
|
|
1858
|
+
"id": 57737,
|
|
1859
1859
|
"mutability": "mutable",
|
|
1860
1860
|
"name": "data",
|
|
1861
1861
|
"nameLocation": "1089:4:103",
|
|
1862
1862
|
"nodeType": "VariableDeclaration",
|
|
1863
|
-
"scope":
|
|
1863
|
+
"scope": 57790,
|
|
1864
1864
|
"src": "1076:17:103",
|
|
1865
1865
|
"stateVariable": false,
|
|
1866
1866
|
"storageLocation": "memory",
|
|
@@ -1869,7 +1869,7 @@
|
|
|
1869
1869
|
"typeString": "bytes"
|
|
1870
1870
|
},
|
|
1871
1871
|
"typeName": {
|
|
1872
|
-
"id":
|
|
1872
|
+
"id": 57736,
|
|
1873
1873
|
"name": "bytes",
|
|
1874
1874
|
"nodeType": "ElementaryTypeName",
|
|
1875
1875
|
"src": "1076:5:103",
|
|
@@ -1884,40 +1884,40 @@
|
|
|
1884
1884
|
"src": "1030:64:103"
|
|
1885
1885
|
},
|
|
1886
1886
|
"returnParameters": {
|
|
1887
|
-
"id":
|
|
1887
|
+
"id": 57739,
|
|
1888
1888
|
"nodeType": "ParameterList",
|
|
1889
1889
|
"parameters": [],
|
|
1890
1890
|
"src": "1102:0:103"
|
|
1891
1891
|
},
|
|
1892
|
-
"scope":
|
|
1892
|
+
"scope": 57950,
|
|
1893
1893
|
"stateMutability": "nonpayable",
|
|
1894
1894
|
"virtual": false,
|
|
1895
1895
|
"visibility": "public"
|
|
1896
1896
|
},
|
|
1897
1897
|
{
|
|
1898
|
-
"id":
|
|
1898
|
+
"id": 57833,
|
|
1899
1899
|
"nodeType": "FunctionDefinition",
|
|
1900
1900
|
"src": "1680:424:103",
|
|
1901
1901
|
"nodes": [],
|
|
1902
1902
|
"body": {
|
|
1903
|
-
"id":
|
|
1903
|
+
"id": 57832,
|
|
1904
1904
|
"nodeType": "Block",
|
|
1905
1905
|
"src": "1779:325:103",
|
|
1906
1906
|
"nodes": [],
|
|
1907
1907
|
"statements": [
|
|
1908
1908
|
{
|
|
1909
1909
|
"assignments": [
|
|
1910
|
-
|
|
1910
|
+
57803
|
|
1911
1911
|
],
|
|
1912
1912
|
"declarations": [
|
|
1913
1913
|
{
|
|
1914
1914
|
"constant": false,
|
|
1915
|
-
"id":
|
|
1915
|
+
"id": 57803,
|
|
1916
1916
|
"mutability": "mutable",
|
|
1917
1917
|
"name": "previousValue",
|
|
1918
1918
|
"nameLocation": "1861:13:103",
|
|
1919
1919
|
"nodeType": "VariableDeclaration",
|
|
1920
|
-
"scope":
|
|
1920
|
+
"scope": 57832,
|
|
1921
1921
|
"src": "1853:21:103",
|
|
1922
1922
|
"stateVariable": false,
|
|
1923
1923
|
"storageLocation": "default",
|
|
@@ -1926,7 +1926,7 @@
|
|
|
1926
1926
|
"typeString": "bytes32"
|
|
1927
1927
|
},
|
|
1928
1928
|
"typeName": {
|
|
1929
|
-
"id":
|
|
1929
|
+
"id": 57802,
|
|
1930
1930
|
"name": "bytes32",
|
|
1931
1931
|
"nodeType": "ElementaryTypeName",
|
|
1932
1932
|
"src": "1853:7:103",
|
|
@@ -1938,17 +1938,17 @@
|
|
|
1938
1938
|
"visibility": "internal"
|
|
1939
1939
|
}
|
|
1940
1940
|
],
|
|
1941
|
-
"id":
|
|
1941
|
+
"id": 57814,
|
|
1942
1942
|
"initialValue": {
|
|
1943
1943
|
"arguments": [
|
|
1944
1944
|
{
|
|
1945
1945
|
"arguments": [
|
|
1946
1946
|
{
|
|
1947
|
-
"id":
|
|
1947
|
+
"id": 57810,
|
|
1948
1948
|
"name": "sourceTableId",
|
|
1949
1949
|
"nodeType": "Identifier",
|
|
1950
1950
|
"overloadedDeclarations": [],
|
|
1951
|
-
"referencedDeclaration":
|
|
1951
|
+
"referencedDeclaration": 57792,
|
|
1952
1952
|
"src": "1920:13:103",
|
|
1953
1953
|
"typeDescriptions": {
|
|
1954
1954
|
"typeIdentifier": "t_uint256",
|
|
@@ -1956,11 +1956,11 @@
|
|
|
1956
1956
|
}
|
|
1957
1957
|
},
|
|
1958
1958
|
{
|
|
1959
|
-
"id":
|
|
1959
|
+
"id": 57811,
|
|
1960
1960
|
"name": "key",
|
|
1961
1961
|
"nodeType": "Identifier",
|
|
1962
1962
|
"overloadedDeclarations": [],
|
|
1963
|
-
"referencedDeclaration":
|
|
1963
|
+
"referencedDeclaration": 57795,
|
|
1964
1964
|
"src": "1935:3:103",
|
|
1965
1965
|
"typeDescriptions": {
|
|
1966
1966
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -1983,7 +1983,7 @@
|
|
|
1983
1983
|
"arguments": [
|
|
1984
1984
|
{
|
|
1985
1985
|
"expression": {
|
|
1986
|
-
"id":
|
|
1986
|
+
"id": 57806,
|
|
1987
1987
|
"name": "msg",
|
|
1988
1988
|
"nodeType": "Identifier",
|
|
1989
1989
|
"overloadedDeclarations": [],
|
|
@@ -1994,7 +1994,7 @@
|
|
|
1994
1994
|
"typeString": "msg"
|
|
1995
1995
|
}
|
|
1996
1996
|
},
|
|
1997
|
-
"id":
|
|
1997
|
+
"id": 57807,
|
|
1998
1998
|
"isConstant": false,
|
|
1999
1999
|
"isLValue": false,
|
|
2000
2000
|
"isPure": false,
|
|
@@ -2015,7 +2015,7 @@
|
|
|
2015
2015
|
"typeString": "address"
|
|
2016
2016
|
}
|
|
2017
2017
|
],
|
|
2018
|
-
"id":
|
|
2018
|
+
"id": 57805,
|
|
2019
2019
|
"name": "IBaseWorld",
|
|
2020
2020
|
"nodeType": "Identifier",
|
|
2021
2021
|
"overloadedDeclarations": [],
|
|
@@ -2026,7 +2026,7 @@
|
|
|
2026
2026
|
"typeString": "type(contract IBaseWorld)"
|
|
2027
2027
|
}
|
|
2028
2028
|
},
|
|
2029
|
-
"id":
|
|
2029
|
+
"id": 57808,
|
|
2030
2030
|
"isConstant": false,
|
|
2031
2031
|
"isLValue": false,
|
|
2032
2032
|
"isPure": false,
|
|
@@ -2041,7 +2041,7 @@
|
|
|
2041
2041
|
"typeString": "contract IBaseWorld"
|
|
2042
2042
|
}
|
|
2043
2043
|
},
|
|
2044
|
-
"id":
|
|
2044
|
+
"id": 57809,
|
|
2045
2045
|
"isConstant": false,
|
|
2046
2046
|
"isLValue": false,
|
|
2047
2047
|
"isPure": false,
|
|
@@ -2055,7 +2055,7 @@
|
|
|
2055
2055
|
"typeString": "function (uint256,bytes32[] memory) view external returns (bytes memory)"
|
|
2056
2056
|
}
|
|
2057
2057
|
},
|
|
2058
|
-
"id":
|
|
2058
|
+
"id": 57812,
|
|
2059
2059
|
"isConstant": false,
|
|
2060
2060
|
"isLValue": false,
|
|
2061
2061
|
"isPure": false,
|
|
@@ -2078,7 +2078,7 @@
|
|
|
2078
2078
|
"typeString": "bytes memory"
|
|
2079
2079
|
}
|
|
2080
2080
|
],
|
|
2081
|
-
"id":
|
|
2081
|
+
"id": 57804,
|
|
2082
2082
|
"name": "keccak256",
|
|
2083
2083
|
"nodeType": "Identifier",
|
|
2084
2084
|
"overloadedDeclarations": [],
|
|
@@ -2089,7 +2089,7 @@
|
|
|
2089
2089
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
2090
2090
|
}
|
|
2091
2091
|
},
|
|
2092
|
-
"id":
|
|
2092
|
+
"id": 57813,
|
|
2093
2093
|
"isConstant": false,
|
|
2094
2094
|
"isLValue": false,
|
|
2095
2095
|
"isPure": false,
|
|
@@ -2109,17 +2109,17 @@
|
|
|
2109
2109
|
},
|
|
2110
2110
|
{
|
|
2111
2111
|
"assignments": [
|
|
2112
|
-
|
|
2112
|
+
57816
|
|
2113
2113
|
],
|
|
2114
2114
|
"declarations": [
|
|
2115
2115
|
{
|
|
2116
2116
|
"constant": false,
|
|
2117
|
-
"id":
|
|
2117
|
+
"id": 57816,
|
|
2118
2118
|
"mutability": "mutable",
|
|
2119
2119
|
"name": "targetTableId",
|
|
2120
2120
|
"nameLocation": "1954:13:103",
|
|
2121
2121
|
"nodeType": "VariableDeclaration",
|
|
2122
|
-
"scope":
|
|
2122
|
+
"scope": 57832,
|
|
2123
2123
|
"src": "1946:21:103",
|
|
2124
2124
|
"stateVariable": false,
|
|
2125
2125
|
"storageLocation": "default",
|
|
@@ -2128,7 +2128,7 @@
|
|
|
2128
2128
|
"typeString": "uint256"
|
|
2129
2129
|
},
|
|
2130
2130
|
"typeName": {
|
|
2131
|
-
"id":
|
|
2131
|
+
"id": 57815,
|
|
2132
2132
|
"name": "uint256",
|
|
2133
2133
|
"nodeType": "ElementaryTypeName",
|
|
2134
2134
|
"src": "1946:7:103",
|
|
@@ -2140,7 +2140,7 @@
|
|
|
2140
2140
|
"visibility": "internal"
|
|
2141
2141
|
}
|
|
2142
2142
|
],
|
|
2143
|
-
"id":
|
|
2143
|
+
"id": 57823,
|
|
2144
2144
|
"initialValue": {
|
|
2145
2145
|
"arguments": [],
|
|
2146
2146
|
"expression": {
|
|
@@ -2148,11 +2148,11 @@
|
|
|
2148
2148
|
"expression": {
|
|
2149
2149
|
"arguments": [
|
|
2150
2150
|
{
|
|
2151
|
-
"id":
|
|
2151
|
+
"id": 57818,
|
|
2152
2152
|
"name": "MODULE_NAMESPACE",
|
|
2153
2153
|
"nodeType": "Identifier",
|
|
2154
2154
|
"overloadedDeclarations": [],
|
|
2155
|
-
"referencedDeclaration":
|
|
2155
|
+
"referencedDeclaration": 58093,
|
|
2156
2156
|
"src": "1993:16:103",
|
|
2157
2157
|
"typeDescriptions": {
|
|
2158
2158
|
"typeIdentifier": "t_bytes8",
|
|
@@ -2160,11 +2160,11 @@
|
|
|
2160
2160
|
}
|
|
2161
2161
|
},
|
|
2162
2162
|
{
|
|
2163
|
-
"id":
|
|
2163
|
+
"id": 57819,
|
|
2164
2164
|
"name": "sourceTableId",
|
|
2165
2165
|
"nodeType": "Identifier",
|
|
2166
2166
|
"overloadedDeclarations": [],
|
|
2167
|
-
"referencedDeclaration":
|
|
2167
|
+
"referencedDeclaration": 57792,
|
|
2168
2168
|
"src": "2011:13:103",
|
|
2169
2169
|
"typeDescriptions": {
|
|
2170
2170
|
"typeIdentifier": "t_uint256",
|
|
@@ -2183,18 +2183,18 @@
|
|
|
2183
2183
|
"typeString": "uint256"
|
|
2184
2184
|
}
|
|
2185
2185
|
],
|
|
2186
|
-
"id":
|
|
2186
|
+
"id": 57817,
|
|
2187
2187
|
"name": "getTargetTableSelector",
|
|
2188
2188
|
"nodeType": "Identifier",
|
|
2189
2189
|
"overloadedDeclarations": [],
|
|
2190
|
-
"referencedDeclaration":
|
|
2190
|
+
"referencedDeclaration": 60803,
|
|
2191
2191
|
"src": "1970:22:103",
|
|
2192
2192
|
"typeDescriptions": {
|
|
2193
2193
|
"typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_uint256_$returns$_t_bytes32_$",
|
|
2194
2194
|
"typeString": "function (bytes8,uint256) pure returns (bytes32)"
|
|
2195
2195
|
}
|
|
2196
2196
|
},
|
|
2197
|
-
"id":
|
|
2197
|
+
"id": 57820,
|
|
2198
2198
|
"isConstant": false,
|
|
2199
2199
|
"isLValue": false,
|
|
2200
2200
|
"isPure": false,
|
|
@@ -2209,7 +2209,7 @@
|
|
|
2209
2209
|
"typeString": "bytes32"
|
|
2210
2210
|
}
|
|
2211
2211
|
},
|
|
2212
|
-
"id":
|
|
2212
|
+
"id": 57821,
|
|
2213
2213
|
"isConstant": false,
|
|
2214
2214
|
"isLValue": false,
|
|
2215
2215
|
"isPure": false,
|
|
@@ -2223,7 +2223,7 @@
|
|
|
2223
2223
|
"typeString": "function (bytes32) pure returns (uint256)"
|
|
2224
2224
|
}
|
|
2225
2225
|
},
|
|
2226
|
-
"id":
|
|
2226
|
+
"id": 57822,
|
|
2227
2227
|
"isConstant": false,
|
|
2228
2228
|
"isLValue": false,
|
|
2229
2229
|
"isPure": false,
|
|
@@ -2245,11 +2245,11 @@
|
|
|
2245
2245
|
"expression": {
|
|
2246
2246
|
"arguments": [
|
|
2247
2247
|
{
|
|
2248
|
-
"id":
|
|
2248
|
+
"id": 57825,
|
|
2249
2249
|
"name": "targetTableId",
|
|
2250
2250
|
"nodeType": "Identifier",
|
|
2251
2251
|
"overloadedDeclarations": [],
|
|
2252
|
-
"referencedDeclaration":
|
|
2252
|
+
"referencedDeclaration": 57816,
|
|
2253
2253
|
"src": "2062:13:103",
|
|
2254
2254
|
"typeDescriptions": {
|
|
2255
2255
|
"typeIdentifier": "t_uint256",
|
|
@@ -2258,21 +2258,21 @@
|
|
|
2258
2258
|
},
|
|
2259
2259
|
{
|
|
2260
2260
|
"baseExpression": {
|
|
2261
|
-
"id":
|
|
2261
|
+
"id": 57826,
|
|
2262
2262
|
"name": "key",
|
|
2263
2263
|
"nodeType": "Identifier",
|
|
2264
2264
|
"overloadedDeclarations": [],
|
|
2265
|
-
"referencedDeclaration":
|
|
2265
|
+
"referencedDeclaration": 57795,
|
|
2266
2266
|
"src": "2077:3:103",
|
|
2267
2267
|
"typeDescriptions": {
|
|
2268
2268
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
2269
2269
|
"typeString": "bytes32[] memory"
|
|
2270
2270
|
}
|
|
2271
2271
|
},
|
|
2272
|
-
"id":
|
|
2272
|
+
"id": 57828,
|
|
2273
2273
|
"indexExpression": {
|
|
2274
2274
|
"hexValue": "30",
|
|
2275
|
-
"id":
|
|
2275
|
+
"id": 57827,
|
|
2276
2276
|
"isConstant": false,
|
|
2277
2277
|
"isLValue": false,
|
|
2278
2278
|
"isPure": true,
|
|
@@ -2298,11 +2298,11 @@
|
|
|
2298
2298
|
}
|
|
2299
2299
|
},
|
|
2300
2300
|
{
|
|
2301
|
-
"id":
|
|
2301
|
+
"id": 57829,
|
|
2302
2302
|
"name": "previousValue",
|
|
2303
2303
|
"nodeType": "Identifier",
|
|
2304
2304
|
"overloadedDeclarations": [],
|
|
2305
|
-
"referencedDeclaration":
|
|
2305
|
+
"referencedDeclaration": 57803,
|
|
2306
2306
|
"src": "2085:13:103",
|
|
2307
2307
|
"typeDescriptions": {
|
|
2308
2308
|
"typeIdentifier": "t_bytes32",
|
|
@@ -2325,18 +2325,18 @@
|
|
|
2325
2325
|
"typeString": "bytes32"
|
|
2326
2326
|
}
|
|
2327
2327
|
],
|
|
2328
|
-
"id":
|
|
2328
|
+
"id": 57824,
|
|
2329
2329
|
"name": "_removeKeyFromList",
|
|
2330
2330
|
"nodeType": "Identifier",
|
|
2331
2331
|
"overloadedDeclarations": [],
|
|
2332
|
-
"referencedDeclaration":
|
|
2332
|
+
"referencedDeclaration": 57949,
|
|
2333
2333
|
"src": "2043:18:103",
|
|
2334
2334
|
"typeDescriptions": {
|
|
2335
2335
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$returns$__$",
|
|
2336
2336
|
"typeString": "function (uint256,bytes32,bytes32)"
|
|
2337
2337
|
}
|
|
2338
2338
|
},
|
|
2339
|
-
"id":
|
|
2339
|
+
"id": 57830,
|
|
2340
2340
|
"isConstant": false,
|
|
2341
2341
|
"isLValue": false,
|
|
2342
2342
|
"isPure": false,
|
|
@@ -2351,7 +2351,7 @@
|
|
|
2351
2351
|
"typeString": "tuple()"
|
|
2352
2352
|
}
|
|
2353
2353
|
},
|
|
2354
|
-
"id":
|
|
2354
|
+
"id": 57831,
|
|
2355
2355
|
"nodeType": "ExpressionStatement",
|
|
2356
2356
|
"src": "2043:56:103"
|
|
2357
2357
|
}
|
|
@@ -2367,17 +2367,17 @@
|
|
|
2367
2367
|
"name": "onBeforeSetField",
|
|
2368
2368
|
"nameLocation": "1689:16:103",
|
|
2369
2369
|
"parameters": {
|
|
2370
|
-
"id":
|
|
2370
|
+
"id": 57800,
|
|
2371
2371
|
"nodeType": "ParameterList",
|
|
2372
2372
|
"parameters": [
|
|
2373
2373
|
{
|
|
2374
2374
|
"constant": false,
|
|
2375
|
-
"id":
|
|
2375
|
+
"id": 57792,
|
|
2376
2376
|
"mutability": "mutable",
|
|
2377
2377
|
"name": "sourceTableId",
|
|
2378
2378
|
"nameLocation": "1714:13:103",
|
|
2379
2379
|
"nodeType": "VariableDeclaration",
|
|
2380
|
-
"scope":
|
|
2380
|
+
"scope": 57833,
|
|
2381
2381
|
"src": "1706:21:103",
|
|
2382
2382
|
"stateVariable": false,
|
|
2383
2383
|
"storageLocation": "default",
|
|
@@ -2386,7 +2386,7 @@
|
|
|
2386
2386
|
"typeString": "uint256"
|
|
2387
2387
|
},
|
|
2388
2388
|
"typeName": {
|
|
2389
|
-
"id":
|
|
2389
|
+
"id": 57791,
|
|
2390
2390
|
"name": "uint256",
|
|
2391
2391
|
"nodeType": "ElementaryTypeName",
|
|
2392
2392
|
"src": "1706:7:103",
|
|
@@ -2399,12 +2399,12 @@
|
|
|
2399
2399
|
},
|
|
2400
2400
|
{
|
|
2401
2401
|
"constant": false,
|
|
2402
|
-
"id":
|
|
2402
|
+
"id": 57795,
|
|
2403
2403
|
"mutability": "mutable",
|
|
2404
2404
|
"name": "key",
|
|
2405
2405
|
"nameLocation": "1746:3:103",
|
|
2406
2406
|
"nodeType": "VariableDeclaration",
|
|
2407
|
-
"scope":
|
|
2407
|
+
"scope": 57833,
|
|
2408
2408
|
"src": "1729:20:103",
|
|
2409
2409
|
"stateVariable": false,
|
|
2410
2410
|
"storageLocation": "memory",
|
|
@@ -2414,7 +2414,7 @@
|
|
|
2414
2414
|
},
|
|
2415
2415
|
"typeName": {
|
|
2416
2416
|
"baseType": {
|
|
2417
|
-
"id":
|
|
2417
|
+
"id": 57793,
|
|
2418
2418
|
"name": "bytes32",
|
|
2419
2419
|
"nodeType": "ElementaryTypeName",
|
|
2420
2420
|
"src": "1729:7:103",
|
|
@@ -2423,7 +2423,7 @@
|
|
|
2423
2423
|
"typeString": "bytes32"
|
|
2424
2424
|
}
|
|
2425
2425
|
},
|
|
2426
|
-
"id":
|
|
2426
|
+
"id": 57794,
|
|
2427
2427
|
"nodeType": "ArrayTypeName",
|
|
2428
2428
|
"src": "1729:9:103",
|
|
2429
2429
|
"typeDescriptions": {
|
|
@@ -2435,12 +2435,12 @@
|
|
|
2435
2435
|
},
|
|
2436
2436
|
{
|
|
2437
2437
|
"constant": false,
|
|
2438
|
-
"id":
|
|
2438
|
+
"id": 57797,
|
|
2439
2439
|
"mutability": "mutable",
|
|
2440
2440
|
"name": "",
|
|
2441
2441
|
"nameLocation": "-1:-1:-1",
|
|
2442
2442
|
"nodeType": "VariableDeclaration",
|
|
2443
|
-
"scope":
|
|
2443
|
+
"scope": 57833,
|
|
2444
2444
|
"src": "1751:5:103",
|
|
2445
2445
|
"stateVariable": false,
|
|
2446
2446
|
"storageLocation": "default",
|
|
@@ -2449,7 +2449,7 @@
|
|
|
2449
2449
|
"typeString": "uint8"
|
|
2450
2450
|
},
|
|
2451
2451
|
"typeName": {
|
|
2452
|
-
"id":
|
|
2452
|
+
"id": 57796,
|
|
2453
2453
|
"name": "uint8",
|
|
2454
2454
|
"nodeType": "ElementaryTypeName",
|
|
2455
2455
|
"src": "1751:5:103",
|
|
@@ -2462,12 +2462,12 @@
|
|
|
2462
2462
|
},
|
|
2463
2463
|
{
|
|
2464
2464
|
"constant": false,
|
|
2465
|
-
"id":
|
|
2465
|
+
"id": 57799,
|
|
2466
2466
|
"mutability": "mutable",
|
|
2467
2467
|
"name": "",
|
|
2468
2468
|
"nameLocation": "-1:-1:-1",
|
|
2469
2469
|
"nodeType": "VariableDeclaration",
|
|
2470
|
-
"scope":
|
|
2470
|
+
"scope": 57833,
|
|
2471
2471
|
"src": "1758:12:103",
|
|
2472
2472
|
"stateVariable": false,
|
|
2473
2473
|
"storageLocation": "memory",
|
|
@@ -2476,7 +2476,7 @@
|
|
|
2476
2476
|
"typeString": "bytes"
|
|
2477
2477
|
},
|
|
2478
2478
|
"typeName": {
|
|
2479
|
-
"id":
|
|
2479
|
+
"id": 57798,
|
|
2480
2480
|
"name": "bytes",
|
|
2481
2481
|
"nodeType": "ElementaryTypeName",
|
|
2482
2482
|
"src": "1758:5:103",
|
|
@@ -2491,40 +2491,40 @@
|
|
|
2491
2491
|
"src": "1705:66:103"
|
|
2492
2492
|
},
|
|
2493
2493
|
"returnParameters": {
|
|
2494
|
-
"id":
|
|
2494
|
+
"id": 57801,
|
|
2495
2495
|
"nodeType": "ParameterList",
|
|
2496
2496
|
"parameters": [],
|
|
2497
2497
|
"src": "1779:0:103"
|
|
2498
2498
|
},
|
|
2499
|
-
"scope":
|
|
2499
|
+
"scope": 57950,
|
|
2500
2500
|
"stateMutability": "nonpayable",
|
|
2501
2501
|
"virtual": false,
|
|
2502
2502
|
"visibility": "public"
|
|
2503
2503
|
},
|
|
2504
2504
|
{
|
|
2505
|
-
"id":
|
|
2505
|
+
"id": 57878,
|
|
2506
2506
|
"nodeType": "FunctionDefinition",
|
|
2507
2507
|
"src": "2108:403:103",
|
|
2508
2508
|
"nodes": [],
|
|
2509
2509
|
"body": {
|
|
2510
|
-
"id":
|
|
2510
|
+
"id": 57877,
|
|
2511
2511
|
"nodeType": "Block",
|
|
2512
2512
|
"src": "2206:305:103",
|
|
2513
2513
|
"nodes": [],
|
|
2514
2514
|
"statements": [
|
|
2515
2515
|
{
|
|
2516
2516
|
"assignments": [
|
|
2517
|
-
|
|
2517
|
+
57846
|
|
2518
2518
|
],
|
|
2519
2519
|
"declarations": [
|
|
2520
2520
|
{
|
|
2521
2521
|
"constant": false,
|
|
2522
|
-
"id":
|
|
2522
|
+
"id": 57846,
|
|
2523
2523
|
"mutability": "mutable",
|
|
2524
2524
|
"name": "newValue",
|
|
2525
2525
|
"nameLocation": "2278:8:103",
|
|
2526
2526
|
"nodeType": "VariableDeclaration",
|
|
2527
|
-
"scope":
|
|
2527
|
+
"scope": 57877,
|
|
2528
2528
|
"src": "2270:16:103",
|
|
2529
2529
|
"stateVariable": false,
|
|
2530
2530
|
"storageLocation": "default",
|
|
@@ -2533,7 +2533,7 @@
|
|
|
2533
2533
|
"typeString": "bytes32"
|
|
2534
2534
|
},
|
|
2535
2535
|
"typeName": {
|
|
2536
|
-
"id":
|
|
2536
|
+
"id": 57845,
|
|
2537
2537
|
"name": "bytes32",
|
|
2538
2538
|
"nodeType": "ElementaryTypeName",
|
|
2539
2539
|
"src": "2270:7:103",
|
|
@@ -2545,17 +2545,17 @@
|
|
|
2545
2545
|
"visibility": "internal"
|
|
2546
2546
|
}
|
|
2547
2547
|
],
|
|
2548
|
-
"id":
|
|
2548
|
+
"id": 57857,
|
|
2549
2549
|
"initialValue": {
|
|
2550
2550
|
"arguments": [
|
|
2551
2551
|
{
|
|
2552
2552
|
"arguments": [
|
|
2553
2553
|
{
|
|
2554
|
-
"id":
|
|
2554
|
+
"id": 57853,
|
|
2555
2555
|
"name": "sourceTableId",
|
|
2556
2556
|
"nodeType": "Identifier",
|
|
2557
2557
|
"overloadedDeclarations": [],
|
|
2558
|
-
"referencedDeclaration":
|
|
2558
|
+
"referencedDeclaration": 57835,
|
|
2559
2559
|
"src": "2332:13:103",
|
|
2560
2560
|
"typeDescriptions": {
|
|
2561
2561
|
"typeIdentifier": "t_uint256",
|
|
@@ -2563,11 +2563,11 @@
|
|
|
2563
2563
|
}
|
|
2564
2564
|
},
|
|
2565
2565
|
{
|
|
2566
|
-
"id":
|
|
2566
|
+
"id": 57854,
|
|
2567
2567
|
"name": "key",
|
|
2568
2568
|
"nodeType": "Identifier",
|
|
2569
2569
|
"overloadedDeclarations": [],
|
|
2570
|
-
"referencedDeclaration":
|
|
2570
|
+
"referencedDeclaration": 57838,
|
|
2571
2571
|
"src": "2347:3:103",
|
|
2572
2572
|
"typeDescriptions": {
|
|
2573
2573
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -2590,7 +2590,7 @@
|
|
|
2590
2590
|
"arguments": [
|
|
2591
2591
|
{
|
|
2592
2592
|
"expression": {
|
|
2593
|
-
"id":
|
|
2593
|
+
"id": 57849,
|
|
2594
2594
|
"name": "msg",
|
|
2595
2595
|
"nodeType": "Identifier",
|
|
2596
2596
|
"overloadedDeclarations": [],
|
|
@@ -2601,7 +2601,7 @@
|
|
|
2601
2601
|
"typeString": "msg"
|
|
2602
2602
|
}
|
|
2603
2603
|
},
|
|
2604
|
-
"id":
|
|
2604
|
+
"id": 57850,
|
|
2605
2605
|
"isConstant": false,
|
|
2606
2606
|
"isLValue": false,
|
|
2607
2607
|
"isPure": false,
|
|
@@ -2622,7 +2622,7 @@
|
|
|
2622
2622
|
"typeString": "address"
|
|
2623
2623
|
}
|
|
2624
2624
|
],
|
|
2625
|
-
"id":
|
|
2625
|
+
"id": 57848,
|
|
2626
2626
|
"name": "IBaseWorld",
|
|
2627
2627
|
"nodeType": "Identifier",
|
|
2628
2628
|
"overloadedDeclarations": [],
|
|
@@ -2633,7 +2633,7 @@
|
|
|
2633
2633
|
"typeString": "type(contract IBaseWorld)"
|
|
2634
2634
|
}
|
|
2635
2635
|
},
|
|
2636
|
-
"id":
|
|
2636
|
+
"id": 57851,
|
|
2637
2637
|
"isConstant": false,
|
|
2638
2638
|
"isLValue": false,
|
|
2639
2639
|
"isPure": false,
|
|
@@ -2648,7 +2648,7 @@
|
|
|
2648
2648
|
"typeString": "contract IBaseWorld"
|
|
2649
2649
|
}
|
|
2650
2650
|
},
|
|
2651
|
-
"id":
|
|
2651
|
+
"id": 57852,
|
|
2652
2652
|
"isConstant": false,
|
|
2653
2653
|
"isLValue": false,
|
|
2654
2654
|
"isPure": false,
|
|
@@ -2662,7 +2662,7 @@
|
|
|
2662
2662
|
"typeString": "function (uint256,bytes32[] memory) view external returns (bytes memory)"
|
|
2663
2663
|
}
|
|
2664
2664
|
},
|
|
2665
|
-
"id":
|
|
2665
|
+
"id": 57855,
|
|
2666
2666
|
"isConstant": false,
|
|
2667
2667
|
"isLValue": false,
|
|
2668
2668
|
"isPure": false,
|
|
@@ -2685,7 +2685,7 @@
|
|
|
2685
2685
|
"typeString": "bytes memory"
|
|
2686
2686
|
}
|
|
2687
2687
|
],
|
|
2688
|
-
"id":
|
|
2688
|
+
"id": 57847,
|
|
2689
2689
|
"name": "keccak256",
|
|
2690
2690
|
"nodeType": "Identifier",
|
|
2691
2691
|
"overloadedDeclarations": [],
|
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
2697
2697
|
}
|
|
2698
2698
|
},
|
|
2699
|
-
"id":
|
|
2699
|
+
"id": 57856,
|
|
2700
2700
|
"isConstant": false,
|
|
2701
2701
|
"isLValue": false,
|
|
2702
2702
|
"isPure": false,
|
|
@@ -2716,17 +2716,17 @@
|
|
|
2716
2716
|
},
|
|
2717
2717
|
{
|
|
2718
2718
|
"assignments": [
|
|
2719
|
-
|
|
2719
|
+
57859
|
|
2720
2720
|
],
|
|
2721
2721
|
"declarations": [
|
|
2722
2722
|
{
|
|
2723
2723
|
"constant": false,
|
|
2724
|
-
"id":
|
|
2724
|
+
"id": 57859,
|
|
2725
2725
|
"mutability": "mutable",
|
|
2726
2726
|
"name": "targetTableId",
|
|
2727
2727
|
"nameLocation": "2366:13:103",
|
|
2728
2728
|
"nodeType": "VariableDeclaration",
|
|
2729
|
-
"scope":
|
|
2729
|
+
"scope": 57877,
|
|
2730
2730
|
"src": "2358:21:103",
|
|
2731
2731
|
"stateVariable": false,
|
|
2732
2732
|
"storageLocation": "default",
|
|
@@ -2735,7 +2735,7 @@
|
|
|
2735
2735
|
"typeString": "uint256"
|
|
2736
2736
|
},
|
|
2737
2737
|
"typeName": {
|
|
2738
|
-
"id":
|
|
2738
|
+
"id": 57858,
|
|
2739
2739
|
"name": "uint256",
|
|
2740
2740
|
"nodeType": "ElementaryTypeName",
|
|
2741
2741
|
"src": "2358:7:103",
|
|
@@ -2747,7 +2747,7 @@
|
|
|
2747
2747
|
"visibility": "internal"
|
|
2748
2748
|
}
|
|
2749
2749
|
],
|
|
2750
|
-
"id":
|
|
2750
|
+
"id": 57866,
|
|
2751
2751
|
"initialValue": {
|
|
2752
2752
|
"arguments": [],
|
|
2753
2753
|
"expression": {
|
|
@@ -2755,11 +2755,11 @@
|
|
|
2755
2755
|
"expression": {
|
|
2756
2756
|
"arguments": [
|
|
2757
2757
|
{
|
|
2758
|
-
"id":
|
|
2758
|
+
"id": 57861,
|
|
2759
2759
|
"name": "MODULE_NAMESPACE",
|
|
2760
2760
|
"nodeType": "Identifier",
|
|
2761
2761
|
"overloadedDeclarations": [],
|
|
2762
|
-
"referencedDeclaration":
|
|
2762
|
+
"referencedDeclaration": 58093,
|
|
2763
2763
|
"src": "2405:16:103",
|
|
2764
2764
|
"typeDescriptions": {
|
|
2765
2765
|
"typeIdentifier": "t_bytes8",
|
|
@@ -2767,11 +2767,11 @@
|
|
|
2767
2767
|
}
|
|
2768
2768
|
},
|
|
2769
2769
|
{
|
|
2770
|
-
"id":
|
|
2770
|
+
"id": 57862,
|
|
2771
2771
|
"name": "sourceTableId",
|
|
2772
2772
|
"nodeType": "Identifier",
|
|
2773
2773
|
"overloadedDeclarations": [],
|
|
2774
|
-
"referencedDeclaration":
|
|
2774
|
+
"referencedDeclaration": 57835,
|
|
2775
2775
|
"src": "2423:13:103",
|
|
2776
2776
|
"typeDescriptions": {
|
|
2777
2777
|
"typeIdentifier": "t_uint256",
|
|
@@ -2790,18 +2790,18 @@
|
|
|
2790
2790
|
"typeString": "uint256"
|
|
2791
2791
|
}
|
|
2792
2792
|
],
|
|
2793
|
-
"id":
|
|
2793
|
+
"id": 57860,
|
|
2794
2794
|
"name": "getTargetTableSelector",
|
|
2795
2795
|
"nodeType": "Identifier",
|
|
2796
2796
|
"overloadedDeclarations": [],
|
|
2797
|
-
"referencedDeclaration":
|
|
2797
|
+
"referencedDeclaration": 60803,
|
|
2798
2798
|
"src": "2382:22:103",
|
|
2799
2799
|
"typeDescriptions": {
|
|
2800
2800
|
"typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_uint256_$returns$_t_bytes32_$",
|
|
2801
2801
|
"typeString": "function (bytes8,uint256) pure returns (bytes32)"
|
|
2802
2802
|
}
|
|
2803
2803
|
},
|
|
2804
|
-
"id":
|
|
2804
|
+
"id": 57863,
|
|
2805
2805
|
"isConstant": false,
|
|
2806
2806
|
"isLValue": false,
|
|
2807
2807
|
"isPure": false,
|
|
@@ -2816,7 +2816,7 @@
|
|
|
2816
2816
|
"typeString": "bytes32"
|
|
2817
2817
|
}
|
|
2818
2818
|
},
|
|
2819
|
-
"id":
|
|
2819
|
+
"id": 57864,
|
|
2820
2820
|
"isConstant": false,
|
|
2821
2821
|
"isLValue": false,
|
|
2822
2822
|
"isPure": false,
|
|
@@ -2830,7 +2830,7 @@
|
|
|
2830
2830
|
"typeString": "function (bytes32) pure returns (uint256)"
|
|
2831
2831
|
}
|
|
2832
2832
|
},
|
|
2833
|
-
"id":
|
|
2833
|
+
"id": 57865,
|
|
2834
2834
|
"isConstant": false,
|
|
2835
2835
|
"isLValue": false,
|
|
2836
2836
|
"isPure": false,
|
|
@@ -2852,11 +2852,11 @@
|
|
|
2852
2852
|
"expression": {
|
|
2853
2853
|
"arguments": [
|
|
2854
2854
|
{
|
|
2855
|
-
"id":
|
|
2855
|
+
"id": 57870,
|
|
2856
2856
|
"name": "targetTableId",
|
|
2857
2857
|
"nodeType": "Identifier",
|
|
2858
2858
|
"overloadedDeclarations": [],
|
|
2859
|
-
"referencedDeclaration":
|
|
2859
|
+
"referencedDeclaration": 57859,
|
|
2860
2860
|
"src": "2474:13:103",
|
|
2861
2861
|
"typeDescriptions": {
|
|
2862
2862
|
"typeIdentifier": "t_uint256",
|
|
@@ -2864,11 +2864,11 @@
|
|
|
2864
2864
|
}
|
|
2865
2865
|
},
|
|
2866
2866
|
{
|
|
2867
|
-
"id":
|
|
2867
|
+
"id": 57871,
|
|
2868
2868
|
"name": "newValue",
|
|
2869
2869
|
"nodeType": "Identifier",
|
|
2870
2870
|
"overloadedDeclarations": [],
|
|
2871
|
-
"referencedDeclaration":
|
|
2871
|
+
"referencedDeclaration": 57846,
|
|
2872
2872
|
"src": "2489:8:103",
|
|
2873
2873
|
"typeDescriptions": {
|
|
2874
2874
|
"typeIdentifier": "t_bytes32",
|
|
@@ -2877,21 +2877,21 @@
|
|
|
2877
2877
|
},
|
|
2878
2878
|
{
|
|
2879
2879
|
"baseExpression": {
|
|
2880
|
-
"id":
|
|
2880
|
+
"id": 57872,
|
|
2881
2881
|
"name": "key",
|
|
2882
2882
|
"nodeType": "Identifier",
|
|
2883
2883
|
"overloadedDeclarations": [],
|
|
2884
|
-
"referencedDeclaration":
|
|
2884
|
+
"referencedDeclaration": 57838,
|
|
2885
2885
|
"src": "2499:3:103",
|
|
2886
2886
|
"typeDescriptions": {
|
|
2887
2887
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
2888
2888
|
"typeString": "bytes32[] memory"
|
|
2889
2889
|
}
|
|
2890
2890
|
},
|
|
2891
|
-
"id":
|
|
2891
|
+
"id": 57874,
|
|
2892
2892
|
"indexExpression": {
|
|
2893
2893
|
"hexValue": "30",
|
|
2894
|
-
"id":
|
|
2894
|
+
"id": 57873,
|
|
2895
2895
|
"isConstant": false,
|
|
2896
2896
|
"isLValue": false,
|
|
2897
2897
|
"isPure": true,
|
|
@@ -2933,32 +2933,32 @@
|
|
|
2933
2933
|
}
|
|
2934
2934
|
],
|
|
2935
2935
|
"expression": {
|
|
2936
|
-
"id":
|
|
2936
|
+
"id": 57867,
|
|
2937
2937
|
"name": "KeysWithValue",
|
|
2938
2938
|
"nodeType": "Identifier",
|
|
2939
2939
|
"overloadedDeclarations": [],
|
|
2940
|
-
"referencedDeclaration":
|
|
2940
|
+
"referencedDeclaration": 58801,
|
|
2941
2941
|
"src": "2455:13:103",
|
|
2942
2942
|
"typeDescriptions": {
|
|
2943
|
-
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$
|
|
2943
|
+
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58801_$",
|
|
2944
2944
|
"typeString": "type(library KeysWithValue)"
|
|
2945
2945
|
}
|
|
2946
2946
|
},
|
|
2947
|
-
"id":
|
|
2947
|
+
"id": 57869,
|
|
2948
2948
|
"isConstant": false,
|
|
2949
2949
|
"isLValue": false,
|
|
2950
2950
|
"isPure": false,
|
|
2951
2951
|
"lValueRequested": false,
|
|
2952
2952
|
"memberName": "push",
|
|
2953
2953
|
"nodeType": "MemberAccess",
|
|
2954
|
-
"referencedDeclaration":
|
|
2954
|
+
"referencedDeclaration": 58624,
|
|
2955
2955
|
"src": "2455:18:103",
|
|
2956
2956
|
"typeDescriptions": {
|
|
2957
2957
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$returns$__$",
|
|
2958
2958
|
"typeString": "function (uint256,bytes32,bytes32)"
|
|
2959
2959
|
}
|
|
2960
2960
|
},
|
|
2961
|
-
"id":
|
|
2961
|
+
"id": 57875,
|
|
2962
2962
|
"isConstant": false,
|
|
2963
2963
|
"isLValue": false,
|
|
2964
2964
|
"isPure": false,
|
|
@@ -2973,7 +2973,7 @@
|
|
|
2973
2973
|
"typeString": "tuple()"
|
|
2974
2974
|
}
|
|
2975
2975
|
},
|
|
2976
|
-
"id":
|
|
2976
|
+
"id": 57876,
|
|
2977
2977
|
"nodeType": "ExpressionStatement",
|
|
2978
2978
|
"src": "2455:51:103"
|
|
2979
2979
|
}
|
|
@@ -2989,17 +2989,17 @@
|
|
|
2989
2989
|
"name": "onAfterSetField",
|
|
2990
2990
|
"nameLocation": "2117:15:103",
|
|
2991
2991
|
"parameters": {
|
|
2992
|
-
"id":
|
|
2992
|
+
"id": 57843,
|
|
2993
2993
|
"nodeType": "ParameterList",
|
|
2994
2994
|
"parameters": [
|
|
2995
2995
|
{
|
|
2996
2996
|
"constant": false,
|
|
2997
|
-
"id":
|
|
2997
|
+
"id": 57835,
|
|
2998
2998
|
"mutability": "mutable",
|
|
2999
2999
|
"name": "sourceTableId",
|
|
3000
3000
|
"nameLocation": "2141:13:103",
|
|
3001
3001
|
"nodeType": "VariableDeclaration",
|
|
3002
|
-
"scope":
|
|
3002
|
+
"scope": 57878,
|
|
3003
3003
|
"src": "2133:21:103",
|
|
3004
3004
|
"stateVariable": false,
|
|
3005
3005
|
"storageLocation": "default",
|
|
@@ -3008,7 +3008,7 @@
|
|
|
3008
3008
|
"typeString": "uint256"
|
|
3009
3009
|
},
|
|
3010
3010
|
"typeName": {
|
|
3011
|
-
"id":
|
|
3011
|
+
"id": 57834,
|
|
3012
3012
|
"name": "uint256",
|
|
3013
3013
|
"nodeType": "ElementaryTypeName",
|
|
3014
3014
|
"src": "2133:7:103",
|
|
@@ -3021,12 +3021,12 @@
|
|
|
3021
3021
|
},
|
|
3022
3022
|
{
|
|
3023
3023
|
"constant": false,
|
|
3024
|
-
"id":
|
|
3024
|
+
"id": 57838,
|
|
3025
3025
|
"mutability": "mutable",
|
|
3026
3026
|
"name": "key",
|
|
3027
3027
|
"nameLocation": "2173:3:103",
|
|
3028
3028
|
"nodeType": "VariableDeclaration",
|
|
3029
|
-
"scope":
|
|
3029
|
+
"scope": 57878,
|
|
3030
3030
|
"src": "2156:20:103",
|
|
3031
3031
|
"stateVariable": false,
|
|
3032
3032
|
"storageLocation": "memory",
|
|
@@ -3036,7 +3036,7 @@
|
|
|
3036
3036
|
},
|
|
3037
3037
|
"typeName": {
|
|
3038
3038
|
"baseType": {
|
|
3039
|
-
"id":
|
|
3039
|
+
"id": 57836,
|
|
3040
3040
|
"name": "bytes32",
|
|
3041
3041
|
"nodeType": "ElementaryTypeName",
|
|
3042
3042
|
"src": "2156:7:103",
|
|
@@ -3045,7 +3045,7 @@
|
|
|
3045
3045
|
"typeString": "bytes32"
|
|
3046
3046
|
}
|
|
3047
3047
|
},
|
|
3048
|
-
"id":
|
|
3048
|
+
"id": 57837,
|
|
3049
3049
|
"nodeType": "ArrayTypeName",
|
|
3050
3050
|
"src": "2156:9:103",
|
|
3051
3051
|
"typeDescriptions": {
|
|
@@ -3057,12 +3057,12 @@
|
|
|
3057
3057
|
},
|
|
3058
3058
|
{
|
|
3059
3059
|
"constant": false,
|
|
3060
|
-
"id":
|
|
3060
|
+
"id": 57840,
|
|
3061
3061
|
"mutability": "mutable",
|
|
3062
3062
|
"name": "",
|
|
3063
3063
|
"nameLocation": "-1:-1:-1",
|
|
3064
3064
|
"nodeType": "VariableDeclaration",
|
|
3065
|
-
"scope":
|
|
3065
|
+
"scope": 57878,
|
|
3066
3066
|
"src": "2178:5:103",
|
|
3067
3067
|
"stateVariable": false,
|
|
3068
3068
|
"storageLocation": "default",
|
|
@@ -3071,7 +3071,7 @@
|
|
|
3071
3071
|
"typeString": "uint8"
|
|
3072
3072
|
},
|
|
3073
3073
|
"typeName": {
|
|
3074
|
-
"id":
|
|
3074
|
+
"id": 57839,
|
|
3075
3075
|
"name": "uint8",
|
|
3076
3076
|
"nodeType": "ElementaryTypeName",
|
|
3077
3077
|
"src": "2178:5:103",
|
|
@@ -3084,12 +3084,12 @@
|
|
|
3084
3084
|
},
|
|
3085
3085
|
{
|
|
3086
3086
|
"constant": false,
|
|
3087
|
-
"id":
|
|
3087
|
+
"id": 57842,
|
|
3088
3088
|
"mutability": "mutable",
|
|
3089
3089
|
"name": "",
|
|
3090
3090
|
"nameLocation": "-1:-1:-1",
|
|
3091
3091
|
"nodeType": "VariableDeclaration",
|
|
3092
|
-
"scope":
|
|
3092
|
+
"scope": 57878,
|
|
3093
3093
|
"src": "2185:12:103",
|
|
3094
3094
|
"stateVariable": false,
|
|
3095
3095
|
"storageLocation": "memory",
|
|
@@ -3098,7 +3098,7 @@
|
|
|
3098
3098
|
"typeString": "bytes"
|
|
3099
3099
|
},
|
|
3100
3100
|
"typeName": {
|
|
3101
|
-
"id":
|
|
3101
|
+
"id": 57841,
|
|
3102
3102
|
"name": "bytes",
|
|
3103
3103
|
"nodeType": "ElementaryTypeName",
|
|
3104
3104
|
"src": "2185:5:103",
|
|
@@ -3113,40 +3113,40 @@
|
|
|
3113
3113
|
"src": "2132:66:103"
|
|
3114
3114
|
},
|
|
3115
3115
|
"returnParameters": {
|
|
3116
|
-
"id":
|
|
3116
|
+
"id": 57844,
|
|
3117
3117
|
"nodeType": "ParameterList",
|
|
3118
3118
|
"parameters": [],
|
|
3119
3119
|
"src": "2206:0:103"
|
|
3120
3120
|
},
|
|
3121
|
-
"scope":
|
|
3121
|
+
"scope": 57950,
|
|
3122
3122
|
"stateMutability": "nonpayable",
|
|
3123
3123
|
"virtual": false,
|
|
3124
3124
|
"visibility": "public"
|
|
3125
3125
|
},
|
|
3126
3126
|
{
|
|
3127
|
-
"id":
|
|
3127
|
+
"id": 57917,
|
|
3128
3128
|
"nodeType": "FunctionDefinition",
|
|
3129
3129
|
"src": "2515:401:103",
|
|
3130
3130
|
"nodes": [],
|
|
3131
3131
|
"body": {
|
|
3132
|
-
"id":
|
|
3132
|
+
"id": 57916,
|
|
3133
3133
|
"nodeType": "Block",
|
|
3134
3134
|
"src": "2591:325:103",
|
|
3135
3135
|
"nodes": [],
|
|
3136
3136
|
"statements": [
|
|
3137
3137
|
{
|
|
3138
3138
|
"assignments": [
|
|
3139
|
-
|
|
3139
|
+
57887
|
|
3140
3140
|
],
|
|
3141
3141
|
"declarations": [
|
|
3142
3142
|
{
|
|
3143
3143
|
"constant": false,
|
|
3144
|
-
"id":
|
|
3144
|
+
"id": 57887,
|
|
3145
3145
|
"mutability": "mutable",
|
|
3146
3146
|
"name": "previousValue",
|
|
3147
3147
|
"nameLocation": "2673:13:103",
|
|
3148
3148
|
"nodeType": "VariableDeclaration",
|
|
3149
|
-
"scope":
|
|
3149
|
+
"scope": 57916,
|
|
3150
3150
|
"src": "2665:21:103",
|
|
3151
3151
|
"stateVariable": false,
|
|
3152
3152
|
"storageLocation": "default",
|
|
@@ -3155,7 +3155,7 @@
|
|
|
3155
3155
|
"typeString": "bytes32"
|
|
3156
3156
|
},
|
|
3157
3157
|
"typeName": {
|
|
3158
|
-
"id":
|
|
3158
|
+
"id": 57886,
|
|
3159
3159
|
"name": "bytes32",
|
|
3160
3160
|
"nodeType": "ElementaryTypeName",
|
|
3161
3161
|
"src": "2665:7:103",
|
|
@@ -3167,17 +3167,17 @@
|
|
|
3167
3167
|
"visibility": "internal"
|
|
3168
3168
|
}
|
|
3169
3169
|
],
|
|
3170
|
-
"id":
|
|
3170
|
+
"id": 57898,
|
|
3171
3171
|
"initialValue": {
|
|
3172
3172
|
"arguments": [
|
|
3173
3173
|
{
|
|
3174
3174
|
"arguments": [
|
|
3175
3175
|
{
|
|
3176
|
-
"id":
|
|
3176
|
+
"id": 57894,
|
|
3177
3177
|
"name": "sourceTableId",
|
|
3178
3178
|
"nodeType": "Identifier",
|
|
3179
3179
|
"overloadedDeclarations": [],
|
|
3180
|
-
"referencedDeclaration":
|
|
3180
|
+
"referencedDeclaration": 57880,
|
|
3181
3181
|
"src": "2732:13:103",
|
|
3182
3182
|
"typeDescriptions": {
|
|
3183
3183
|
"typeIdentifier": "t_uint256",
|
|
@@ -3185,11 +3185,11 @@
|
|
|
3185
3185
|
}
|
|
3186
3186
|
},
|
|
3187
3187
|
{
|
|
3188
|
-
"id":
|
|
3188
|
+
"id": 57895,
|
|
3189
3189
|
"name": "key",
|
|
3190
3190
|
"nodeType": "Identifier",
|
|
3191
3191
|
"overloadedDeclarations": [],
|
|
3192
|
-
"referencedDeclaration":
|
|
3192
|
+
"referencedDeclaration": 57883,
|
|
3193
3193
|
"src": "2747:3:103",
|
|
3194
3194
|
"typeDescriptions": {
|
|
3195
3195
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -3212,7 +3212,7 @@
|
|
|
3212
3212
|
"arguments": [
|
|
3213
3213
|
{
|
|
3214
3214
|
"expression": {
|
|
3215
|
-
"id":
|
|
3215
|
+
"id": 57890,
|
|
3216
3216
|
"name": "msg",
|
|
3217
3217
|
"nodeType": "Identifier",
|
|
3218
3218
|
"overloadedDeclarations": [],
|
|
@@ -3223,7 +3223,7 @@
|
|
|
3223
3223
|
"typeString": "msg"
|
|
3224
3224
|
}
|
|
3225
3225
|
},
|
|
3226
|
-
"id":
|
|
3226
|
+
"id": 57891,
|
|
3227
3227
|
"isConstant": false,
|
|
3228
3228
|
"isLValue": false,
|
|
3229
3229
|
"isPure": false,
|
|
@@ -3244,7 +3244,7 @@
|
|
|
3244
3244
|
"typeString": "address"
|
|
3245
3245
|
}
|
|
3246
3246
|
],
|
|
3247
|
-
"id":
|
|
3247
|
+
"id": 57889,
|
|
3248
3248
|
"name": "IBaseWorld",
|
|
3249
3249
|
"nodeType": "Identifier",
|
|
3250
3250
|
"overloadedDeclarations": [],
|
|
@@ -3255,7 +3255,7 @@
|
|
|
3255
3255
|
"typeString": "type(contract IBaseWorld)"
|
|
3256
3256
|
}
|
|
3257
3257
|
},
|
|
3258
|
-
"id":
|
|
3258
|
+
"id": 57892,
|
|
3259
3259
|
"isConstant": false,
|
|
3260
3260
|
"isLValue": false,
|
|
3261
3261
|
"isPure": false,
|
|
@@ -3270,7 +3270,7 @@
|
|
|
3270
3270
|
"typeString": "contract IBaseWorld"
|
|
3271
3271
|
}
|
|
3272
3272
|
},
|
|
3273
|
-
"id":
|
|
3273
|
+
"id": 57893,
|
|
3274
3274
|
"isConstant": false,
|
|
3275
3275
|
"isLValue": false,
|
|
3276
3276
|
"isPure": false,
|
|
@@ -3284,7 +3284,7 @@
|
|
|
3284
3284
|
"typeString": "function (uint256,bytes32[] memory) view external returns (bytes memory)"
|
|
3285
3285
|
}
|
|
3286
3286
|
},
|
|
3287
|
-
"id":
|
|
3287
|
+
"id": 57896,
|
|
3288
3288
|
"isConstant": false,
|
|
3289
3289
|
"isLValue": false,
|
|
3290
3290
|
"isPure": false,
|
|
@@ -3307,7 +3307,7 @@
|
|
|
3307
3307
|
"typeString": "bytes memory"
|
|
3308
3308
|
}
|
|
3309
3309
|
],
|
|
3310
|
-
"id":
|
|
3310
|
+
"id": 57888,
|
|
3311
3311
|
"name": "keccak256",
|
|
3312
3312
|
"nodeType": "Identifier",
|
|
3313
3313
|
"overloadedDeclarations": [],
|
|
@@ -3318,7 +3318,7 @@
|
|
|
3318
3318
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
3319
3319
|
}
|
|
3320
3320
|
},
|
|
3321
|
-
"id":
|
|
3321
|
+
"id": 57897,
|
|
3322
3322
|
"isConstant": false,
|
|
3323
3323
|
"isLValue": false,
|
|
3324
3324
|
"isPure": false,
|
|
@@ -3338,17 +3338,17 @@
|
|
|
3338
3338
|
},
|
|
3339
3339
|
{
|
|
3340
3340
|
"assignments": [
|
|
3341
|
-
|
|
3341
|
+
57900
|
|
3342
3342
|
],
|
|
3343
3343
|
"declarations": [
|
|
3344
3344
|
{
|
|
3345
3345
|
"constant": false,
|
|
3346
|
-
"id":
|
|
3346
|
+
"id": 57900,
|
|
3347
3347
|
"mutability": "mutable",
|
|
3348
3348
|
"name": "targetTableId",
|
|
3349
3349
|
"nameLocation": "2766:13:103",
|
|
3350
3350
|
"nodeType": "VariableDeclaration",
|
|
3351
|
-
"scope":
|
|
3351
|
+
"scope": 57916,
|
|
3352
3352
|
"src": "2758:21:103",
|
|
3353
3353
|
"stateVariable": false,
|
|
3354
3354
|
"storageLocation": "default",
|
|
@@ -3357,7 +3357,7 @@
|
|
|
3357
3357
|
"typeString": "uint256"
|
|
3358
3358
|
},
|
|
3359
3359
|
"typeName": {
|
|
3360
|
-
"id":
|
|
3360
|
+
"id": 57899,
|
|
3361
3361
|
"name": "uint256",
|
|
3362
3362
|
"nodeType": "ElementaryTypeName",
|
|
3363
3363
|
"src": "2758:7:103",
|
|
@@ -3369,7 +3369,7 @@
|
|
|
3369
3369
|
"visibility": "internal"
|
|
3370
3370
|
}
|
|
3371
3371
|
],
|
|
3372
|
-
"id":
|
|
3372
|
+
"id": 57907,
|
|
3373
3373
|
"initialValue": {
|
|
3374
3374
|
"arguments": [],
|
|
3375
3375
|
"expression": {
|
|
@@ -3377,11 +3377,11 @@
|
|
|
3377
3377
|
"expression": {
|
|
3378
3378
|
"arguments": [
|
|
3379
3379
|
{
|
|
3380
|
-
"id":
|
|
3380
|
+
"id": 57902,
|
|
3381
3381
|
"name": "MODULE_NAMESPACE",
|
|
3382
3382
|
"nodeType": "Identifier",
|
|
3383
3383
|
"overloadedDeclarations": [],
|
|
3384
|
-
"referencedDeclaration":
|
|
3384
|
+
"referencedDeclaration": 58093,
|
|
3385
3385
|
"src": "2805:16:103",
|
|
3386
3386
|
"typeDescriptions": {
|
|
3387
3387
|
"typeIdentifier": "t_bytes8",
|
|
@@ -3389,11 +3389,11 @@
|
|
|
3389
3389
|
}
|
|
3390
3390
|
},
|
|
3391
3391
|
{
|
|
3392
|
-
"id":
|
|
3392
|
+
"id": 57903,
|
|
3393
3393
|
"name": "sourceTableId",
|
|
3394
3394
|
"nodeType": "Identifier",
|
|
3395
3395
|
"overloadedDeclarations": [],
|
|
3396
|
-
"referencedDeclaration":
|
|
3396
|
+
"referencedDeclaration": 57880,
|
|
3397
3397
|
"src": "2823:13:103",
|
|
3398
3398
|
"typeDescriptions": {
|
|
3399
3399
|
"typeIdentifier": "t_uint256",
|
|
@@ -3412,18 +3412,18 @@
|
|
|
3412
3412
|
"typeString": "uint256"
|
|
3413
3413
|
}
|
|
3414
3414
|
],
|
|
3415
|
-
"id":
|
|
3415
|
+
"id": 57901,
|
|
3416
3416
|
"name": "getTargetTableSelector",
|
|
3417
3417
|
"nodeType": "Identifier",
|
|
3418
3418
|
"overloadedDeclarations": [],
|
|
3419
|
-
"referencedDeclaration":
|
|
3419
|
+
"referencedDeclaration": 60803,
|
|
3420
3420
|
"src": "2782:22:103",
|
|
3421
3421
|
"typeDescriptions": {
|
|
3422
3422
|
"typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_uint256_$returns$_t_bytes32_$",
|
|
3423
3423
|
"typeString": "function (bytes8,uint256) pure returns (bytes32)"
|
|
3424
3424
|
}
|
|
3425
3425
|
},
|
|
3426
|
-
"id":
|
|
3426
|
+
"id": 57904,
|
|
3427
3427
|
"isConstant": false,
|
|
3428
3428
|
"isLValue": false,
|
|
3429
3429
|
"isPure": false,
|
|
@@ -3438,7 +3438,7 @@
|
|
|
3438
3438
|
"typeString": "bytes32"
|
|
3439
3439
|
}
|
|
3440
3440
|
},
|
|
3441
|
-
"id":
|
|
3441
|
+
"id": 57905,
|
|
3442
3442
|
"isConstant": false,
|
|
3443
3443
|
"isLValue": false,
|
|
3444
3444
|
"isPure": false,
|
|
@@ -3452,7 +3452,7 @@
|
|
|
3452
3452
|
"typeString": "function (bytes32) pure returns (uint256)"
|
|
3453
3453
|
}
|
|
3454
3454
|
},
|
|
3455
|
-
"id":
|
|
3455
|
+
"id": 57906,
|
|
3456
3456
|
"isConstant": false,
|
|
3457
3457
|
"isLValue": false,
|
|
3458
3458
|
"isPure": false,
|
|
@@ -3474,11 +3474,11 @@
|
|
|
3474
3474
|
"expression": {
|
|
3475
3475
|
"arguments": [
|
|
3476
3476
|
{
|
|
3477
|
-
"id":
|
|
3477
|
+
"id": 57909,
|
|
3478
3478
|
"name": "targetTableId",
|
|
3479
3479
|
"nodeType": "Identifier",
|
|
3480
3480
|
"overloadedDeclarations": [],
|
|
3481
|
-
"referencedDeclaration":
|
|
3481
|
+
"referencedDeclaration": 57900,
|
|
3482
3482
|
"src": "2874:13:103",
|
|
3483
3483
|
"typeDescriptions": {
|
|
3484
3484
|
"typeIdentifier": "t_uint256",
|
|
@@ -3487,21 +3487,21 @@
|
|
|
3487
3487
|
},
|
|
3488
3488
|
{
|
|
3489
3489
|
"baseExpression": {
|
|
3490
|
-
"id":
|
|
3490
|
+
"id": 57910,
|
|
3491
3491
|
"name": "key",
|
|
3492
3492
|
"nodeType": "Identifier",
|
|
3493
3493
|
"overloadedDeclarations": [],
|
|
3494
|
-
"referencedDeclaration":
|
|
3494
|
+
"referencedDeclaration": 57883,
|
|
3495
3495
|
"src": "2889:3:103",
|
|
3496
3496
|
"typeDescriptions": {
|
|
3497
3497
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
3498
3498
|
"typeString": "bytes32[] memory"
|
|
3499
3499
|
}
|
|
3500
3500
|
},
|
|
3501
|
-
"id":
|
|
3501
|
+
"id": 57912,
|
|
3502
3502
|
"indexExpression": {
|
|
3503
3503
|
"hexValue": "30",
|
|
3504
|
-
"id":
|
|
3504
|
+
"id": 57911,
|
|
3505
3505
|
"isConstant": false,
|
|
3506
3506
|
"isLValue": false,
|
|
3507
3507
|
"isPure": true,
|
|
@@ -3527,11 +3527,11 @@
|
|
|
3527
3527
|
}
|
|
3528
3528
|
},
|
|
3529
3529
|
{
|
|
3530
|
-
"id":
|
|
3530
|
+
"id": 57913,
|
|
3531
3531
|
"name": "previousValue",
|
|
3532
3532
|
"nodeType": "Identifier",
|
|
3533
3533
|
"overloadedDeclarations": [],
|
|
3534
|
-
"referencedDeclaration":
|
|
3534
|
+
"referencedDeclaration": 57887,
|
|
3535
3535
|
"src": "2897:13:103",
|
|
3536
3536
|
"typeDescriptions": {
|
|
3537
3537
|
"typeIdentifier": "t_bytes32",
|
|
@@ -3554,18 +3554,18 @@
|
|
|
3554
3554
|
"typeString": "bytes32"
|
|
3555
3555
|
}
|
|
3556
3556
|
],
|
|
3557
|
-
"id":
|
|
3557
|
+
"id": 57908,
|
|
3558
3558
|
"name": "_removeKeyFromList",
|
|
3559
3559
|
"nodeType": "Identifier",
|
|
3560
3560
|
"overloadedDeclarations": [],
|
|
3561
|
-
"referencedDeclaration":
|
|
3561
|
+
"referencedDeclaration": 57949,
|
|
3562
3562
|
"src": "2855:18:103",
|
|
3563
3563
|
"typeDescriptions": {
|
|
3564
3564
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_bytes32_$returns$__$",
|
|
3565
3565
|
"typeString": "function (uint256,bytes32,bytes32)"
|
|
3566
3566
|
}
|
|
3567
3567
|
},
|
|
3568
|
-
"id":
|
|
3568
|
+
"id": 57914,
|
|
3569
3569
|
"isConstant": false,
|
|
3570
3570
|
"isLValue": false,
|
|
3571
3571
|
"isPure": false,
|
|
@@ -3580,7 +3580,7 @@
|
|
|
3580
3580
|
"typeString": "tuple()"
|
|
3581
3581
|
}
|
|
3582
3582
|
},
|
|
3583
|
-
"id":
|
|
3583
|
+
"id": 57915,
|
|
3584
3584
|
"nodeType": "ExpressionStatement",
|
|
3585
3585
|
"src": "2855:56:103"
|
|
3586
3586
|
}
|
|
@@ -3596,17 +3596,17 @@
|
|
|
3596
3596
|
"name": "onDeleteRecord",
|
|
3597
3597
|
"nameLocation": "2524:14:103",
|
|
3598
3598
|
"parameters": {
|
|
3599
|
-
"id":
|
|
3599
|
+
"id": 57884,
|
|
3600
3600
|
"nodeType": "ParameterList",
|
|
3601
3601
|
"parameters": [
|
|
3602
3602
|
{
|
|
3603
3603
|
"constant": false,
|
|
3604
|
-
"id":
|
|
3604
|
+
"id": 57880,
|
|
3605
3605
|
"mutability": "mutable",
|
|
3606
3606
|
"name": "sourceTableId",
|
|
3607
3607
|
"nameLocation": "2547:13:103",
|
|
3608
3608
|
"nodeType": "VariableDeclaration",
|
|
3609
|
-
"scope":
|
|
3609
|
+
"scope": 57917,
|
|
3610
3610
|
"src": "2539:21:103",
|
|
3611
3611
|
"stateVariable": false,
|
|
3612
3612
|
"storageLocation": "default",
|
|
@@ -3615,7 +3615,7 @@
|
|
|
3615
3615
|
"typeString": "uint256"
|
|
3616
3616
|
},
|
|
3617
3617
|
"typeName": {
|
|
3618
|
-
"id":
|
|
3618
|
+
"id": 57879,
|
|
3619
3619
|
"name": "uint256",
|
|
3620
3620
|
"nodeType": "ElementaryTypeName",
|
|
3621
3621
|
"src": "2539:7:103",
|
|
@@ -3628,12 +3628,12 @@
|
|
|
3628
3628
|
},
|
|
3629
3629
|
{
|
|
3630
3630
|
"constant": false,
|
|
3631
|
-
"id":
|
|
3631
|
+
"id": 57883,
|
|
3632
3632
|
"mutability": "mutable",
|
|
3633
3633
|
"name": "key",
|
|
3634
3634
|
"nameLocation": "2579:3:103",
|
|
3635
3635
|
"nodeType": "VariableDeclaration",
|
|
3636
|
-
"scope":
|
|
3636
|
+
"scope": 57917,
|
|
3637
3637
|
"src": "2562:20:103",
|
|
3638
3638
|
"stateVariable": false,
|
|
3639
3639
|
"storageLocation": "memory",
|
|
@@ -3643,7 +3643,7 @@
|
|
|
3643
3643
|
},
|
|
3644
3644
|
"typeName": {
|
|
3645
3645
|
"baseType": {
|
|
3646
|
-
"id":
|
|
3646
|
+
"id": 57881,
|
|
3647
3647
|
"name": "bytes32",
|
|
3648
3648
|
"nodeType": "ElementaryTypeName",
|
|
3649
3649
|
"src": "2562:7:103",
|
|
@@ -3652,7 +3652,7 @@
|
|
|
3652
3652
|
"typeString": "bytes32"
|
|
3653
3653
|
}
|
|
3654
3654
|
},
|
|
3655
|
-
"id":
|
|
3655
|
+
"id": 57882,
|
|
3656
3656
|
"nodeType": "ArrayTypeName",
|
|
3657
3657
|
"src": "2562:9:103",
|
|
3658
3658
|
"typeDescriptions": {
|
|
@@ -3666,40 +3666,40 @@
|
|
|
3666
3666
|
"src": "2538:45:103"
|
|
3667
3667
|
},
|
|
3668
3668
|
"returnParameters": {
|
|
3669
|
-
"id":
|
|
3669
|
+
"id": 57885,
|
|
3670
3670
|
"nodeType": "ParameterList",
|
|
3671
3671
|
"parameters": [],
|
|
3672
3672
|
"src": "2591:0:103"
|
|
3673
3673
|
},
|
|
3674
|
-
"scope":
|
|
3674
|
+
"scope": 57950,
|
|
3675
3675
|
"stateMutability": "nonpayable",
|
|
3676
3676
|
"virtual": false,
|
|
3677
3677
|
"visibility": "public"
|
|
3678
3678
|
},
|
|
3679
3679
|
{
|
|
3680
|
-
"id":
|
|
3680
|
+
"id": 57949,
|
|
3681
3681
|
"nodeType": "FunctionDefinition",
|
|
3682
3682
|
"src": "2920:386:103",
|
|
3683
3683
|
"nodes": [],
|
|
3684
3684
|
"body": {
|
|
3685
|
-
"id":
|
|
3685
|
+
"id": 57948,
|
|
3686
3686
|
"nodeType": "Block",
|
|
3687
3687
|
"src": "3012:294:103",
|
|
3688
3688
|
"nodes": [],
|
|
3689
3689
|
"statements": [
|
|
3690
3690
|
{
|
|
3691
3691
|
"assignments": [
|
|
3692
|
-
|
|
3692
|
+
57930
|
|
3693
3693
|
],
|
|
3694
3694
|
"declarations": [
|
|
3695
3695
|
{
|
|
3696
3696
|
"constant": false,
|
|
3697
|
-
"id":
|
|
3697
|
+
"id": 57930,
|
|
3698
3698
|
"mutability": "mutable",
|
|
3699
3699
|
"name": "keysWithPreviousValue",
|
|
3700
3700
|
"nameLocation": "3105:21:103",
|
|
3701
3701
|
"nodeType": "VariableDeclaration",
|
|
3702
|
-
"scope":
|
|
3702
|
+
"scope": 57948,
|
|
3703
3703
|
"src": "3088:38:103",
|
|
3704
3704
|
"stateVariable": false,
|
|
3705
3705
|
"storageLocation": "memory",
|
|
@@ -3709,7 +3709,7 @@
|
|
|
3709
3709
|
},
|
|
3710
3710
|
"typeName": {
|
|
3711
3711
|
"baseType": {
|
|
3712
|
-
"id":
|
|
3712
|
+
"id": 57928,
|
|
3713
3713
|
"name": "bytes32",
|
|
3714
3714
|
"nodeType": "ElementaryTypeName",
|
|
3715
3715
|
"src": "3088:7:103",
|
|
@@ -3718,7 +3718,7 @@
|
|
|
3718
3718
|
"typeString": "bytes32"
|
|
3719
3719
|
}
|
|
3720
3720
|
},
|
|
3721
|
-
"id":
|
|
3721
|
+
"id": 57929,
|
|
3722
3722
|
"nodeType": "ArrayTypeName",
|
|
3723
3723
|
"src": "3088:9:103",
|
|
3724
3724
|
"typeDescriptions": {
|
|
@@ -3729,15 +3729,15 @@
|
|
|
3729
3729
|
"visibility": "internal"
|
|
3730
3730
|
}
|
|
3731
3731
|
],
|
|
3732
|
-
"id":
|
|
3732
|
+
"id": 57939,
|
|
3733
3733
|
"initialValue": {
|
|
3734
3734
|
"arguments": [
|
|
3735
3735
|
{
|
|
3736
|
-
"id":
|
|
3736
|
+
"id": 57937,
|
|
3737
3737
|
"name": "key",
|
|
3738
3738
|
"nodeType": "Identifier",
|
|
3739
3739
|
"overloadedDeclarations": [],
|
|
3740
|
-
"referencedDeclaration":
|
|
3740
|
+
"referencedDeclaration": 57921,
|
|
3741
3741
|
"src": "3180:3:103",
|
|
3742
3742
|
"typeDescriptions": {
|
|
3743
3743
|
"typeIdentifier": "t_bytes32",
|
|
@@ -3755,11 +3755,11 @@
|
|
|
3755
3755
|
"expression": {
|
|
3756
3756
|
"arguments": [
|
|
3757
3757
|
{
|
|
3758
|
-
"id":
|
|
3758
|
+
"id": 57933,
|
|
3759
3759
|
"name": "targetTableId",
|
|
3760
3760
|
"nodeType": "Identifier",
|
|
3761
3761
|
"overloadedDeclarations": [],
|
|
3762
|
-
"referencedDeclaration":
|
|
3762
|
+
"referencedDeclaration": 57919,
|
|
3763
3763
|
"src": "3147:13:103",
|
|
3764
3764
|
"typeDescriptions": {
|
|
3765
3765
|
"typeIdentifier": "t_uint256",
|
|
@@ -3767,11 +3767,11 @@
|
|
|
3767
3767
|
}
|
|
3768
3768
|
},
|
|
3769
3769
|
{
|
|
3770
|
-
"id":
|
|
3770
|
+
"id": 57934,
|
|
3771
3771
|
"name": "valueHash",
|
|
3772
3772
|
"nodeType": "Identifier",
|
|
3773
3773
|
"overloadedDeclarations": [],
|
|
3774
|
-
"referencedDeclaration":
|
|
3774
|
+
"referencedDeclaration": 57923,
|
|
3775
3775
|
"src": "3162:9:103",
|
|
3776
3776
|
"typeDescriptions": {
|
|
3777
3777
|
"typeIdentifier": "t_bytes32",
|
|
@@ -3791,32 +3791,32 @@
|
|
|
3791
3791
|
}
|
|
3792
3792
|
],
|
|
3793
3793
|
"expression": {
|
|
3794
|
-
"id":
|
|
3794
|
+
"id": 57931,
|
|
3795
3795
|
"name": "KeysWithValue",
|
|
3796
3796
|
"nodeType": "Identifier",
|
|
3797
3797
|
"overloadedDeclarations": [],
|
|
3798
|
-
"referencedDeclaration":
|
|
3798
|
+
"referencedDeclaration": 58801,
|
|
3799
3799
|
"src": "3129:13:103",
|
|
3800
3800
|
"typeDescriptions": {
|
|
3801
|
-
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$
|
|
3801
|
+
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58801_$",
|
|
3802
3802
|
"typeString": "type(library KeysWithValue)"
|
|
3803
3803
|
}
|
|
3804
3804
|
},
|
|
3805
|
-
"id":
|
|
3805
|
+
"id": 57932,
|
|
3806
3806
|
"isConstant": false,
|
|
3807
3807
|
"isLValue": false,
|
|
3808
3808
|
"isPure": false,
|
|
3809
3809
|
"lValueRequested": false,
|
|
3810
3810
|
"memberName": "get",
|
|
3811
3811
|
"nodeType": "MemberAccess",
|
|
3812
|
-
"referencedDeclaration":
|
|
3812
|
+
"referencedDeclaration": 58428,
|
|
3813
3813
|
"src": "3129:17:103",
|
|
3814
3814
|
"typeDescriptions": {
|
|
3815
3815
|
"typeIdentifier": "t_function_internal_view$_t_uint256_$_t_bytes32_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
3816
3816
|
"typeString": "function (uint256,bytes32) view returns (bytes32[] memory)"
|
|
3817
3817
|
}
|
|
3818
3818
|
},
|
|
3819
|
-
"id":
|
|
3819
|
+
"id": 57935,
|
|
3820
3820
|
"isConstant": false,
|
|
3821
3821
|
"isLValue": false,
|
|
3822
3822
|
"isPure": false,
|
|
@@ -3831,21 +3831,21 @@
|
|
|
3831
3831
|
"typeString": "bytes32[] memory"
|
|
3832
3832
|
}
|
|
3833
3833
|
},
|
|
3834
|
-
"id":
|
|
3834
|
+
"id": 57936,
|
|
3835
3835
|
"isConstant": false,
|
|
3836
3836
|
"isLValue": false,
|
|
3837
3837
|
"isPure": false,
|
|
3838
3838
|
"lValueRequested": false,
|
|
3839
3839
|
"memberName": "filter",
|
|
3840
3840
|
"nodeType": "MemberAccess",
|
|
3841
|
-
"referencedDeclaration":
|
|
3841
|
+
"referencedDeclaration": 60746,
|
|
3842
3842
|
"src": "3129:50:103",
|
|
3843
3843
|
"typeDescriptions": {
|
|
3844
3844
|
"typeIdentifier": "t_function_internal_pure$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_bytes32_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$bound_to$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
3845
3845
|
"typeString": "function (bytes32[] memory,bytes32) pure returns (bytes32[] memory)"
|
|
3846
3846
|
}
|
|
3847
3847
|
},
|
|
3848
|
-
"id":
|
|
3848
|
+
"id": 57938,
|
|
3849
3849
|
"isConstant": false,
|
|
3850
3850
|
"isLValue": false,
|
|
3851
3851
|
"isPure": false,
|
|
@@ -3867,11 +3867,11 @@
|
|
|
3867
3867
|
"expression": {
|
|
3868
3868
|
"arguments": [
|
|
3869
3869
|
{
|
|
3870
|
-
"id":
|
|
3870
|
+
"id": 57943,
|
|
3871
3871
|
"name": "targetTableId",
|
|
3872
3872
|
"nodeType": "Identifier",
|
|
3873
3873
|
"overloadedDeclarations": [],
|
|
3874
|
-
"referencedDeclaration":
|
|
3874
|
+
"referencedDeclaration": 57919,
|
|
3875
3875
|
"src": "3253:13:103",
|
|
3876
3876
|
"typeDescriptions": {
|
|
3877
3877
|
"typeIdentifier": "t_uint256",
|
|
@@ -3879,11 +3879,11 @@
|
|
|
3879
3879
|
}
|
|
3880
3880
|
},
|
|
3881
3881
|
{
|
|
3882
|
-
"id":
|
|
3882
|
+
"id": 57944,
|
|
3883
3883
|
"name": "valueHash",
|
|
3884
3884
|
"nodeType": "Identifier",
|
|
3885
3885
|
"overloadedDeclarations": [],
|
|
3886
|
-
"referencedDeclaration":
|
|
3886
|
+
"referencedDeclaration": 57923,
|
|
3887
3887
|
"src": "3268:9:103",
|
|
3888
3888
|
"typeDescriptions": {
|
|
3889
3889
|
"typeIdentifier": "t_bytes32",
|
|
@@ -3891,11 +3891,11 @@
|
|
|
3891
3891
|
}
|
|
3892
3892
|
},
|
|
3893
3893
|
{
|
|
3894
|
-
"id":
|
|
3894
|
+
"id": 57945,
|
|
3895
3895
|
"name": "keysWithPreviousValue",
|
|
3896
3896
|
"nodeType": "Identifier",
|
|
3897
3897
|
"overloadedDeclarations": [],
|
|
3898
|
-
"referencedDeclaration":
|
|
3898
|
+
"referencedDeclaration": 57930,
|
|
3899
3899
|
"src": "3279:21:103",
|
|
3900
3900
|
"typeDescriptions": {
|
|
3901
3901
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -3919,32 +3919,32 @@
|
|
|
3919
3919
|
}
|
|
3920
3920
|
],
|
|
3921
3921
|
"expression": {
|
|
3922
|
-
"id":
|
|
3922
|
+
"id": 57940,
|
|
3923
3923
|
"name": "KeysWithValue",
|
|
3924
3924
|
"nodeType": "Identifier",
|
|
3925
3925
|
"overloadedDeclarations": [],
|
|
3926
|
-
"referencedDeclaration":
|
|
3926
|
+
"referencedDeclaration": 58801,
|
|
3927
3927
|
"src": "3235:13:103",
|
|
3928
3928
|
"typeDescriptions": {
|
|
3929
|
-
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$
|
|
3929
|
+
"typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58801_$",
|
|
3930
3930
|
"typeString": "type(library KeysWithValue)"
|
|
3931
3931
|
}
|
|
3932
3932
|
},
|
|
3933
|
-
"id":
|
|
3933
|
+
"id": 57942,
|
|
3934
3934
|
"isConstant": false,
|
|
3935
3935
|
"isLValue": false,
|
|
3936
3936
|
"isPure": false,
|
|
3937
3937
|
"lValueRequested": false,
|
|
3938
3938
|
"memberName": "set",
|
|
3939
3939
|
"nodeType": "MemberAccess",
|
|
3940
|
-
"referencedDeclaration":
|
|
3940
|
+
"referencedDeclaration": 58530,
|
|
3941
3941
|
"src": "3235:17:103",
|
|
3942
3942
|
"typeDescriptions": {
|
|
3943
3943
|
"typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes32_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
|
|
3944
3944
|
"typeString": "function (uint256,bytes32,bytes32[] memory)"
|
|
3945
3945
|
}
|
|
3946
3946
|
},
|
|
3947
|
-
"id":
|
|
3947
|
+
"id": 57946,
|
|
3948
3948
|
"isConstant": false,
|
|
3949
3949
|
"isLValue": false,
|
|
3950
3950
|
"isPure": false,
|
|
@@ -3959,7 +3959,7 @@
|
|
|
3959
3959
|
"typeString": "tuple()"
|
|
3960
3960
|
}
|
|
3961
3961
|
},
|
|
3962
|
-
"id":
|
|
3962
|
+
"id": 57947,
|
|
3963
3963
|
"nodeType": "ExpressionStatement",
|
|
3964
3964
|
"src": "3235:66:103"
|
|
3965
3965
|
}
|
|
@@ -3971,17 +3971,17 @@
|
|
|
3971
3971
|
"name": "_removeKeyFromList",
|
|
3972
3972
|
"nameLocation": "2929:18:103",
|
|
3973
3973
|
"parameters": {
|
|
3974
|
-
"id":
|
|
3974
|
+
"id": 57924,
|
|
3975
3975
|
"nodeType": "ParameterList",
|
|
3976
3976
|
"parameters": [
|
|
3977
3977
|
{
|
|
3978
3978
|
"constant": false,
|
|
3979
|
-
"id":
|
|
3979
|
+
"id": 57919,
|
|
3980
3980
|
"mutability": "mutable",
|
|
3981
3981
|
"name": "targetTableId",
|
|
3982
3982
|
"nameLocation": "2956:13:103",
|
|
3983
3983
|
"nodeType": "VariableDeclaration",
|
|
3984
|
-
"scope":
|
|
3984
|
+
"scope": 57949,
|
|
3985
3985
|
"src": "2948:21:103",
|
|
3986
3986
|
"stateVariable": false,
|
|
3987
3987
|
"storageLocation": "default",
|
|
@@ -3990,7 +3990,7 @@
|
|
|
3990
3990
|
"typeString": "uint256"
|
|
3991
3991
|
},
|
|
3992
3992
|
"typeName": {
|
|
3993
|
-
"id":
|
|
3993
|
+
"id": 57918,
|
|
3994
3994
|
"name": "uint256",
|
|
3995
3995
|
"nodeType": "ElementaryTypeName",
|
|
3996
3996
|
"src": "2948:7:103",
|
|
@@ -4003,12 +4003,12 @@
|
|
|
4003
4003
|
},
|
|
4004
4004
|
{
|
|
4005
4005
|
"constant": false,
|
|
4006
|
-
"id":
|
|
4006
|
+
"id": 57921,
|
|
4007
4007
|
"mutability": "mutable",
|
|
4008
4008
|
"name": "key",
|
|
4009
4009
|
"nameLocation": "2979:3:103",
|
|
4010
4010
|
"nodeType": "VariableDeclaration",
|
|
4011
|
-
"scope":
|
|
4011
|
+
"scope": 57949,
|
|
4012
4012
|
"src": "2971:11:103",
|
|
4013
4013
|
"stateVariable": false,
|
|
4014
4014
|
"storageLocation": "default",
|
|
@@ -4017,7 +4017,7 @@
|
|
|
4017
4017
|
"typeString": "bytes32"
|
|
4018
4018
|
},
|
|
4019
4019
|
"typeName": {
|
|
4020
|
-
"id":
|
|
4020
|
+
"id": 57920,
|
|
4021
4021
|
"name": "bytes32",
|
|
4022
4022
|
"nodeType": "ElementaryTypeName",
|
|
4023
4023
|
"src": "2971:7:103",
|
|
@@ -4030,12 +4030,12 @@
|
|
|
4030
4030
|
},
|
|
4031
4031
|
{
|
|
4032
4032
|
"constant": false,
|
|
4033
|
-
"id":
|
|
4033
|
+
"id": 57923,
|
|
4034
4034
|
"mutability": "mutable",
|
|
4035
4035
|
"name": "valueHash",
|
|
4036
4036
|
"nameLocation": "2992:9:103",
|
|
4037
4037
|
"nodeType": "VariableDeclaration",
|
|
4038
|
-
"scope":
|
|
4038
|
+
"scope": 57949,
|
|
4039
4039
|
"src": "2984:17:103",
|
|
4040
4040
|
"stateVariable": false,
|
|
4041
4041
|
"storageLocation": "default",
|
|
@@ -4044,7 +4044,7 @@
|
|
|
4044
4044
|
"typeString": "bytes32"
|
|
4045
4045
|
},
|
|
4046
4046
|
"typeName": {
|
|
4047
|
-
"id":
|
|
4047
|
+
"id": 57922,
|
|
4048
4048
|
"name": "bytes32",
|
|
4049
4049
|
"nodeType": "ElementaryTypeName",
|
|
4050
4050
|
"src": "2984:7:103",
|
|
@@ -4059,12 +4059,12 @@
|
|
|
4059
4059
|
"src": "2947:55:103"
|
|
4060
4060
|
},
|
|
4061
4061
|
"returnParameters": {
|
|
4062
|
-
"id":
|
|
4062
|
+
"id": 57925,
|
|
4063
4063
|
"nodeType": "ParameterList",
|
|
4064
4064
|
"parameters": [],
|
|
4065
4065
|
"src": "3012:0:103"
|
|
4066
4066
|
},
|
|
4067
|
-
"scope":
|
|
4067
|
+
"scope": 57950,
|
|
4068
4068
|
"stateMutability": "nonpayable",
|
|
4069
4069
|
"virtual": false,
|
|
4070
4070
|
"visibility": "internal"
|
|
@@ -4074,13 +4074,13 @@
|
|
|
4074
4074
|
"baseContracts": [
|
|
4075
4075
|
{
|
|
4076
4076
|
"baseName": {
|
|
4077
|
-
"id":
|
|
4077
|
+
"id": 57722,
|
|
4078
4078
|
"name": "IStoreHook",
|
|
4079
4079
|
"nodeType": "IdentifierPath",
|
|
4080
4080
|
"referencedDeclaration": 1206,
|
|
4081
4081
|
"src": "924:10:103"
|
|
4082
4082
|
},
|
|
4083
|
-
"id":
|
|
4083
|
+
"id": 57723,
|
|
4084
4084
|
"nodeType": "InheritanceSpecifier",
|
|
4085
4085
|
"src": "924:10:103"
|
|
4086
4086
|
}
|
|
@@ -4089,24 +4089,24 @@
|
|
|
4089
4089
|
"contractDependencies": [],
|
|
4090
4090
|
"contractKind": "contract",
|
|
4091
4091
|
"documentation": {
|
|
4092
|
-
"id":
|
|
4092
|
+
"id": 57721,
|
|
4093
4093
|
"nodeType": "StructuredDocumentation",
|
|
4094
4094
|
"src": "562:331:103",
|
|
4095
4095
|
"text": " This is a very naive and inefficient implementation for now.\n We can optimize this by adding support for `setIndexOfField` in Store\n and then replicate logic from solecs's Set.sol.\n (See https://github.com/latticexyz/mud/issues/444)\n Note: if a table with composite keys is used, only the first key is indexed"
|
|
4096
4096
|
},
|
|
4097
4097
|
"fullyImplemented": true,
|
|
4098
4098
|
"linearizedBaseContracts": [
|
|
4099
|
-
|
|
4099
|
+
57950,
|
|
4100
4100
|
1206
|
|
4101
4101
|
],
|
|
4102
4102
|
"name": "KeysWithValueHook",
|
|
4103
4103
|
"nameLocation": "903:17:103",
|
|
4104
|
-
"scope":
|
|
4104
|
+
"scope": 57951,
|
|
4105
4105
|
"usedErrors": [
|
|
4106
4106
|
2505,
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4107
|
+
70257,
|
|
4108
|
+
70265,
|
|
4109
|
+
70273
|
|
4110
4110
|
]
|
|
4111
4111
|
}
|
|
4112
4112
|
],
|