@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-5741d53d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/Callbacks.sol/Callbacks.json +45 -45
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +83 -83
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
- package/out/IModule.sol/IModule.json +76 -76
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/ISystemHook.sol/ISystemHook.json +82 -82
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
- package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
- package/out/IWorldKernel.sol/IWorldCall.json +149 -149
- package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
- package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
- package/out/Mixed.sol/Mixed.json +66 -66
- package/out/Module.sol/Module.json +73 -73
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +18 -18
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/Vector2.sol/Vector2.json +52 -52
- package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
- package/out/WorldContext.sol/WorldContextProvider.json +28 -28
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +85 -85
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
- package/out/interfaces/IERC165.sol/IERC165.json +27 -27
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +886 -886
- package/out/src/IStore.sol/IStoreData.json +886 -886
- package/out/src/IStore.sol/IStoreRead.json +886 -886
- package/out/src/IStore.sol/IStoreRegistration.json +886 -886
- package/out/src/IStore.sol/IStoreWrite.json +886 -886
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
- package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +131 -23
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -780,32 +780,32 @@
|
|
780
780
|
},
|
781
781
|
"ast": {
|
782
782
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IWorldKernel.sol",
|
783
|
-
"id":
|
783
|
+
"id": 33710,
|
784
784
|
"exportedSymbols": {
|
785
785
|
"IModule": [
|
786
|
-
|
786
|
+
33477
|
787
787
|
],
|
788
788
|
"IWorldCall": [
|
789
|
-
|
789
|
+
33678
|
790
790
|
],
|
791
791
|
"IWorldErrors": [
|
792
|
-
|
792
|
+
33635
|
793
793
|
],
|
794
794
|
"IWorldKernel": [
|
795
|
-
|
795
|
+
33709
|
796
796
|
],
|
797
797
|
"IWorldModuleInstallation": [
|
798
|
-
|
798
|
+
33653
|
799
799
|
],
|
800
800
|
"ResourceId": [
|
801
|
-
|
801
|
+
36384
|
802
802
|
]
|
803
803
|
},
|
804
804
|
"nodeType": "SourceUnit",
|
805
805
|
"src": "32:1869:48",
|
806
806
|
"nodes": [
|
807
807
|
{
|
808
|
-
"id":
|
808
|
+
"id": 33637,
|
809
809
|
"nodeType": "PragmaDirective",
|
810
810
|
"src": "32:25:48",
|
811
811
|
"nodes": [],
|
@@ -817,23 +817,23 @@
|
|
817
817
|
]
|
818
818
|
},
|
819
819
|
{
|
820
|
-
"id":
|
820
|
+
"id": 33639,
|
821
821
|
"nodeType": "ImportDirective",
|
822
822
|
"src": "59:50:48",
|
823
823
|
"nodes": [],
|
824
824
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IWorldErrors.sol",
|
825
825
|
"file": "./IWorldErrors.sol",
|
826
826
|
"nameLocation": "-1:-1:-1",
|
827
|
-
"scope":
|
828
|
-
"sourceUnit":
|
827
|
+
"scope": 33710,
|
828
|
+
"sourceUnit": 33636,
|
829
829
|
"symbolAliases": [
|
830
830
|
{
|
831
831
|
"foreign": {
|
832
|
-
"id":
|
832
|
+
"id": 33638,
|
833
833
|
"name": "IWorldErrors",
|
834
834
|
"nodeType": "Identifier",
|
835
835
|
"overloadedDeclarations": [],
|
836
|
-
"referencedDeclaration":
|
836
|
+
"referencedDeclaration": 33635,
|
837
837
|
"src": "68:12:48",
|
838
838
|
"typeDescriptions": {}
|
839
839
|
},
|
@@ -843,23 +843,23 @@
|
|
843
843
|
"unitAlias": ""
|
844
844
|
},
|
845
845
|
{
|
846
|
-
"id":
|
846
|
+
"id": 33641,
|
847
847
|
"nodeType": "ImportDirective",
|
848
848
|
"src": "110:40:48",
|
849
849
|
"nodes": [],
|
850
850
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IModule.sol",
|
851
851
|
"file": "./IModule.sol",
|
852
852
|
"nameLocation": "-1:-1:-1",
|
853
|
-
"scope":
|
854
|
-
"sourceUnit":
|
853
|
+
"scope": 33710,
|
854
|
+
"sourceUnit": 33478,
|
855
855
|
"symbolAliases": [
|
856
856
|
{
|
857
857
|
"foreign": {
|
858
|
-
"id":
|
858
|
+
"id": 33640,
|
859
859
|
"name": "IModule",
|
860
860
|
"nodeType": "Identifier",
|
861
861
|
"overloadedDeclarations": [],
|
862
|
-
"referencedDeclaration":
|
862
|
+
"referencedDeclaration": 33477,
|
863
863
|
"src": "119:7:48",
|
864
864
|
"typeDescriptions": {}
|
865
865
|
},
|
@@ -869,23 +869,23 @@
|
|
869
869
|
"unitAlias": ""
|
870
870
|
},
|
871
871
|
{
|
872
|
-
"id":
|
872
|
+
"id": 33643,
|
873
873
|
"nodeType": "ImportDirective",
|
874
874
|
"src": "151:52:48",
|
875
875
|
"nodes": [],
|
876
876
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
|
877
877
|
"file": "../WorldResourceId.sol",
|
878
878
|
"nameLocation": "-1:-1:-1",
|
879
|
-
"scope":
|
879
|
+
"scope": 33710,
|
880
880
|
"sourceUnit": 33156,
|
881
881
|
"symbolAliases": [
|
882
882
|
{
|
883
883
|
"foreign": {
|
884
|
-
"id":
|
884
|
+
"id": 33642,
|
885
885
|
"name": "ResourceId",
|
886
886
|
"nodeType": "Identifier",
|
887
887
|
"overloadedDeclarations": [],
|
888
|
-
"referencedDeclaration":
|
888
|
+
"referencedDeclaration": 36384,
|
889
889
|
"src": "160:10:48",
|
890
890
|
"typeDescriptions": {}
|
891
891
|
},
|
@@ -895,17 +895,17 @@
|
|
895
895
|
"unitAlias": ""
|
896
896
|
},
|
897
897
|
{
|
898
|
-
"id":
|
898
|
+
"id": 33653,
|
899
899
|
"nodeType": "ContractDefinition",
|
900
900
|
"src": "205:296:48",
|
901
901
|
"nodes": [
|
902
902
|
{
|
903
|
-
"id":
|
903
|
+
"id": 33652,
|
904
904
|
"nodeType": "FunctionDefinition",
|
905
905
|
"src": "428:71:48",
|
906
906
|
"nodes": [],
|
907
907
|
"documentation": {
|
908
|
-
"id":
|
908
|
+
"id": 33644,
|
909
909
|
"nodeType": "StructuredDocumentation",
|
910
910
|
"src": "244:181:48",
|
911
911
|
"text": " Install the given root module in the World.\n Requires the caller to own the root namespace.\n The module is delegatecalled and installed in the root namespace."
|
@@ -917,41 +917,41 @@
|
|
917
917
|
"name": "installRootModule",
|
918
918
|
"nameLocation": "437:17:48",
|
919
919
|
"parameters": {
|
920
|
-
"id":
|
920
|
+
"id": 33650,
|
921
921
|
"nodeType": "ParameterList",
|
922
922
|
"parameters": [
|
923
923
|
{
|
924
924
|
"constant": false,
|
925
|
-
"id":
|
925
|
+
"id": 33647,
|
926
926
|
"mutability": "mutable",
|
927
927
|
"name": "module",
|
928
928
|
"nameLocation": "463:6:48",
|
929
929
|
"nodeType": "VariableDeclaration",
|
930
|
-
"scope":
|
930
|
+
"scope": 33652,
|
931
931
|
"src": "455:14:48",
|
932
932
|
"stateVariable": false,
|
933
933
|
"storageLocation": "default",
|
934
934
|
"typeDescriptions": {
|
935
|
-
"typeIdentifier": "t_contract$_IModule_$
|
935
|
+
"typeIdentifier": "t_contract$_IModule_$33477",
|
936
936
|
"typeString": "contract IModule"
|
937
937
|
},
|
938
938
|
"typeName": {
|
939
|
-
"id":
|
939
|
+
"id": 33646,
|
940
940
|
"nodeType": "UserDefinedTypeName",
|
941
941
|
"pathNode": {
|
942
|
-
"id":
|
942
|
+
"id": 33645,
|
943
943
|
"name": "IModule",
|
944
944
|
"nameLocations": [
|
945
945
|
"455:7:48"
|
946
946
|
],
|
947
947
|
"nodeType": "IdentifierPath",
|
948
|
-
"referencedDeclaration":
|
948
|
+
"referencedDeclaration": 33477,
|
949
949
|
"src": "455:7:48"
|
950
950
|
},
|
951
|
-
"referencedDeclaration":
|
951
|
+
"referencedDeclaration": 33477,
|
952
952
|
"src": "455:7:48",
|
953
953
|
"typeDescriptions": {
|
954
|
-
"typeIdentifier": "t_contract$_IModule_$
|
954
|
+
"typeIdentifier": "t_contract$_IModule_$33477",
|
955
955
|
"typeString": "contract IModule"
|
956
956
|
}
|
957
957
|
},
|
@@ -959,12 +959,12 @@
|
|
959
959
|
},
|
960
960
|
{
|
961
961
|
"constant": false,
|
962
|
-
"id":
|
962
|
+
"id": 33649,
|
963
963
|
"mutability": "mutable",
|
964
964
|
"name": "args",
|
965
965
|
"nameLocation": "484:4:48",
|
966
966
|
"nodeType": "VariableDeclaration",
|
967
|
-
"scope":
|
967
|
+
"scope": 33652,
|
968
968
|
"src": "471:17:48",
|
969
969
|
"stateVariable": false,
|
970
970
|
"storageLocation": "memory",
|
@@ -973,7 +973,7 @@
|
|
973
973
|
"typeString": "bytes"
|
974
974
|
},
|
975
975
|
"typeName": {
|
976
|
-
"id":
|
976
|
+
"id": 33648,
|
977
977
|
"name": "bytes",
|
978
978
|
"nodeType": "ElementaryTypeName",
|
979
979
|
"src": "471:5:48",
|
@@ -988,12 +988,12 @@
|
|
988
988
|
"src": "454:35:48"
|
989
989
|
},
|
990
990
|
"returnParameters": {
|
991
|
-
"id":
|
991
|
+
"id": 33651,
|
992
992
|
"nodeType": "ParameterList",
|
993
993
|
"parameters": [],
|
994
994
|
"src": "498:0:48"
|
995
995
|
},
|
996
|
-
"scope":
|
996
|
+
"scope": 33653,
|
997
997
|
"stateMutability": "nonpayable",
|
998
998
|
"virtual": false,
|
999
999
|
"visibility": "external"
|
@@ -1006,26 +1006,26 @@
|
|
1006
1006
|
"contractKind": "interface",
|
1007
1007
|
"fullyImplemented": false,
|
1008
1008
|
"linearizedBaseContracts": [
|
1009
|
-
|
1009
|
+
33653
|
1010
1010
|
],
|
1011
1011
|
"name": "IWorldModuleInstallation",
|
1012
1012
|
"nameLocation": "215:24:48",
|
1013
|
-
"scope":
|
1013
|
+
"scope": 33710,
|
1014
1014
|
"usedErrors": [],
|
1015
1015
|
"usedEvents": []
|
1016
1016
|
},
|
1017
1017
|
{
|
1018
|
-
"id":
|
1018
|
+
"id": 33678,
|
1019
1019
|
"nodeType": "ContractDefinition",
|
1020
1020
|
"src": "503:646:48",
|
1021
1021
|
"nodes": [
|
1022
1022
|
{
|
1023
|
-
"id":
|
1023
|
+
"id": 33664,
|
1024
1024
|
"nodeType": "FunctionDefinition",
|
1025
1025
|
"src": "700:98:48",
|
1026
1026
|
"nodes": [],
|
1027
1027
|
"documentation": {
|
1028
|
-
"id":
|
1028
|
+
"id": 33654,
|
1029
1029
|
"nodeType": "StructuredDocumentation",
|
1030
1030
|
"src": "528:169:48",
|
1031
1031
|
"text": " Call the system at the given system ID.\n If the system is not public, the caller must have access to the namespace or name (encoded in the system ID)."
|
@@ -1037,41 +1037,41 @@
|
|
1037
1037
|
"name": "call",
|
1038
1038
|
"nameLocation": "709:4:48",
|
1039
1039
|
"parameters": {
|
1040
|
-
"id":
|
1040
|
+
"id": 33660,
|
1041
1041
|
"nodeType": "ParameterList",
|
1042
1042
|
"parameters": [
|
1043
1043
|
{
|
1044
1044
|
"constant": false,
|
1045
|
-
"id":
|
1045
|
+
"id": 33657,
|
1046
1046
|
"mutability": "mutable",
|
1047
1047
|
"name": "systemId",
|
1048
1048
|
"nameLocation": "725:8:48",
|
1049
1049
|
"nodeType": "VariableDeclaration",
|
1050
|
-
"scope":
|
1050
|
+
"scope": 33664,
|
1051
1051
|
"src": "714:19:48",
|
1052
1052
|
"stateVariable": false,
|
1053
1053
|
"storageLocation": "default",
|
1054
1054
|
"typeDescriptions": {
|
1055
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1055
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
1056
1056
|
"typeString": "ResourceId"
|
1057
1057
|
},
|
1058
1058
|
"typeName": {
|
1059
|
-
"id":
|
1059
|
+
"id": 33656,
|
1060
1060
|
"nodeType": "UserDefinedTypeName",
|
1061
1061
|
"pathNode": {
|
1062
|
-
"id":
|
1062
|
+
"id": 33655,
|
1063
1063
|
"name": "ResourceId",
|
1064
1064
|
"nameLocations": [
|
1065
1065
|
"714:10:48"
|
1066
1066
|
],
|
1067
1067
|
"nodeType": "IdentifierPath",
|
1068
|
-
"referencedDeclaration":
|
1068
|
+
"referencedDeclaration": 36384,
|
1069
1069
|
"src": "714:10:48"
|
1070
1070
|
},
|
1071
|
-
"referencedDeclaration":
|
1071
|
+
"referencedDeclaration": 36384,
|
1072
1072
|
"src": "714:10:48",
|
1073
1073
|
"typeDescriptions": {
|
1074
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1074
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
1075
1075
|
"typeString": "ResourceId"
|
1076
1076
|
}
|
1077
1077
|
},
|
@@ -1079,12 +1079,12 @@
|
|
1079
1079
|
},
|
1080
1080
|
{
|
1081
1081
|
"constant": false,
|
1082
|
-
"id":
|
1082
|
+
"id": 33659,
|
1083
1083
|
"mutability": "mutable",
|
1084
1084
|
"name": "callData",
|
1085
1085
|
"nameLocation": "748:8:48",
|
1086
1086
|
"nodeType": "VariableDeclaration",
|
1087
|
-
"scope":
|
1087
|
+
"scope": 33664,
|
1088
1088
|
"src": "735:21:48",
|
1089
1089
|
"stateVariable": false,
|
1090
1090
|
"storageLocation": "memory",
|
@@ -1093,7 +1093,7 @@
|
|
1093
1093
|
"typeString": "bytes"
|
1094
1094
|
},
|
1095
1095
|
"typeName": {
|
1096
|
-
"id":
|
1096
|
+
"id": 33658,
|
1097
1097
|
"name": "bytes",
|
1098
1098
|
"nodeType": "ElementaryTypeName",
|
1099
1099
|
"src": "735:5:48",
|
@@ -1108,17 +1108,17 @@
|
|
1108
1108
|
"src": "713:44:48"
|
1109
1109
|
},
|
1110
1110
|
"returnParameters": {
|
1111
|
-
"id":
|
1111
|
+
"id": 33663,
|
1112
1112
|
"nodeType": "ParameterList",
|
1113
1113
|
"parameters": [
|
1114
1114
|
{
|
1115
1115
|
"constant": false,
|
1116
|
-
"id":
|
1116
|
+
"id": 33662,
|
1117
1117
|
"mutability": "mutable",
|
1118
1118
|
"name": "",
|
1119
1119
|
"nameLocation": "-1:-1:-1",
|
1120
1120
|
"nodeType": "VariableDeclaration",
|
1121
|
-
"scope":
|
1121
|
+
"scope": 33664,
|
1122
1122
|
"src": "784:12:48",
|
1123
1123
|
"stateVariable": false,
|
1124
1124
|
"storageLocation": "memory",
|
@@ -1127,7 +1127,7 @@
|
|
1127
1127
|
"typeString": "bytes"
|
1128
1128
|
},
|
1129
1129
|
"typeName": {
|
1130
|
-
"id":
|
1130
|
+
"id": 33661,
|
1131
1131
|
"name": "bytes",
|
1132
1132
|
"nodeType": "ElementaryTypeName",
|
1133
1133
|
"src": "784:5:48",
|
@@ -1141,18 +1141,18 @@
|
|
1141
1141
|
],
|
1142
1142
|
"src": "783:14:48"
|
1143
1143
|
},
|
1144
|
-
"scope":
|
1144
|
+
"scope": 33678,
|
1145
1145
|
"stateMutability": "payable",
|
1146
1146
|
"virtual": false,
|
1147
1147
|
"visibility": "external"
|
1148
1148
|
},
|
1149
1149
|
{
|
1150
|
-
"id":
|
1150
|
+
"id": 33677,
|
1151
1151
|
"nodeType": "FunctionDefinition",
|
1152
1152
|
"src": "1010:137:48",
|
1153
1153
|
"nodes": [],
|
1154
1154
|
"documentation": {
|
1155
|
-
"id":
|
1155
|
+
"id": 33665,
|
1156
1156
|
"nodeType": "StructuredDocumentation",
|
1157
1157
|
"src": "802:205:48",
|
1158
1158
|
"text": " Call the system at the given system ID on behalf of the given delegator.\n If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID)."
|
@@ -1164,17 +1164,17 @@
|
|
1164
1164
|
"name": "callFrom",
|
1165
1165
|
"nameLocation": "1019:8:48",
|
1166
1166
|
"parameters": {
|
1167
|
-
"id":
|
1167
|
+
"id": 33673,
|
1168
1168
|
"nodeType": "ParameterList",
|
1169
1169
|
"parameters": [
|
1170
1170
|
{
|
1171
1171
|
"constant": false,
|
1172
|
-
"id":
|
1172
|
+
"id": 33667,
|
1173
1173
|
"mutability": "mutable",
|
1174
1174
|
"name": "delegator",
|
1175
1175
|
"nameLocation": "1041:9:48",
|
1176
1176
|
"nodeType": "VariableDeclaration",
|
1177
|
-
"scope":
|
1177
|
+
"scope": 33677,
|
1178
1178
|
"src": "1033:17:48",
|
1179
1179
|
"stateVariable": false,
|
1180
1180
|
"storageLocation": "default",
|
@@ -1183,7 +1183,7 @@
|
|
1183
1183
|
"typeString": "address"
|
1184
1184
|
},
|
1185
1185
|
"typeName": {
|
1186
|
-
"id":
|
1186
|
+
"id": 33666,
|
1187
1187
|
"name": "address",
|
1188
1188
|
"nodeType": "ElementaryTypeName",
|
1189
1189
|
"src": "1033:7:48",
|
@@ -1197,36 +1197,36 @@
|
|
1197
1197
|
},
|
1198
1198
|
{
|
1199
1199
|
"constant": false,
|
1200
|
-
"id":
|
1200
|
+
"id": 33670,
|
1201
1201
|
"mutability": "mutable",
|
1202
1202
|
"name": "systemId",
|
1203
1203
|
"nameLocation": "1067:8:48",
|
1204
1204
|
"nodeType": "VariableDeclaration",
|
1205
|
-
"scope":
|
1205
|
+
"scope": 33677,
|
1206
1206
|
"src": "1056:19:48",
|
1207
1207
|
"stateVariable": false,
|
1208
1208
|
"storageLocation": "default",
|
1209
1209
|
"typeDescriptions": {
|
1210
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1210
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
1211
1211
|
"typeString": "ResourceId"
|
1212
1212
|
},
|
1213
1213
|
"typeName": {
|
1214
|
-
"id":
|
1214
|
+
"id": 33669,
|
1215
1215
|
"nodeType": "UserDefinedTypeName",
|
1216
1216
|
"pathNode": {
|
1217
|
-
"id":
|
1217
|
+
"id": 33668,
|
1218
1218
|
"name": "ResourceId",
|
1219
1219
|
"nameLocations": [
|
1220
1220
|
"1056:10:48"
|
1221
1221
|
],
|
1222
1222
|
"nodeType": "IdentifierPath",
|
1223
|
-
"referencedDeclaration":
|
1223
|
+
"referencedDeclaration": 36384,
|
1224
1224
|
"src": "1056:10:48"
|
1225
1225
|
},
|
1226
|
-
"referencedDeclaration":
|
1226
|
+
"referencedDeclaration": 36384,
|
1227
1227
|
"src": "1056:10:48",
|
1228
1228
|
"typeDescriptions": {
|
1229
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1229
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
1230
1230
|
"typeString": "ResourceId"
|
1231
1231
|
}
|
1232
1232
|
},
|
@@ -1234,12 +1234,12 @@
|
|
1234
1234
|
},
|
1235
1235
|
{
|
1236
1236
|
"constant": false,
|
1237
|
-
"id":
|
1237
|
+
"id": 33672,
|
1238
1238
|
"mutability": "mutable",
|
1239
1239
|
"name": "callData",
|
1240
1240
|
"nameLocation": "1094:8:48",
|
1241
1241
|
"nodeType": "VariableDeclaration",
|
1242
|
-
"scope":
|
1242
|
+
"scope": 33677,
|
1243
1243
|
"src": "1081:21:48",
|
1244
1244
|
"stateVariable": false,
|
1245
1245
|
"storageLocation": "memory",
|
@@ -1248,7 +1248,7 @@
|
|
1248
1248
|
"typeString": "bytes"
|
1249
1249
|
},
|
1250
1250
|
"typeName": {
|
1251
|
-
"id":
|
1251
|
+
"id": 33671,
|
1252
1252
|
"name": "bytes",
|
1253
1253
|
"nodeType": "ElementaryTypeName",
|
1254
1254
|
"src": "1081:5:48",
|
@@ -1263,17 +1263,17 @@
|
|
1263
1263
|
"src": "1027:79:48"
|
1264
1264
|
},
|
1265
1265
|
"returnParameters": {
|
1266
|
-
"id":
|
1266
|
+
"id": 33676,
|
1267
1267
|
"nodeType": "ParameterList",
|
1268
1268
|
"parameters": [
|
1269
1269
|
{
|
1270
1270
|
"constant": false,
|
1271
|
-
"id":
|
1271
|
+
"id": 33675,
|
1272
1272
|
"mutability": "mutable",
|
1273
1273
|
"name": "",
|
1274
1274
|
"nameLocation": "-1:-1:-1",
|
1275
1275
|
"nodeType": "VariableDeclaration",
|
1276
|
-
"scope":
|
1276
|
+
"scope": 33677,
|
1277
1277
|
"src": "1133:12:48",
|
1278
1278
|
"stateVariable": false,
|
1279
1279
|
"storageLocation": "memory",
|
@@ -1282,7 +1282,7 @@
|
|
1282
1282
|
"typeString": "bytes"
|
1283
1283
|
},
|
1284
1284
|
"typeName": {
|
1285
|
-
"id":
|
1285
|
+
"id": 33674,
|
1286
1286
|
"name": "bytes",
|
1287
1287
|
"nodeType": "ElementaryTypeName",
|
1288
1288
|
"src": "1133:5:48",
|
@@ -1296,7 +1296,7 @@
|
|
1296
1296
|
],
|
1297
1297
|
"src": "1132:14:48"
|
1298
1298
|
},
|
1299
|
-
"scope":
|
1299
|
+
"scope": 33678,
|
1300
1300
|
"stateMutability": "payable",
|
1301
1301
|
"virtual": false,
|
1302
1302
|
"visibility": "external"
|
@@ -1309,21 +1309,21 @@
|
|
1309
1309
|
"contractKind": "interface",
|
1310
1310
|
"fullyImplemented": false,
|
1311
1311
|
"linearizedBaseContracts": [
|
1312
|
-
|
1312
|
+
33678
|
1313
1313
|
],
|
1314
1314
|
"name": "IWorldCall",
|
1315
1315
|
"nameLocation": "513:10:48",
|
1316
|
-
"scope":
|
1316
|
+
"scope": 33710,
|
1317
1317
|
"usedErrors": [],
|
1318
1318
|
"usedEvents": []
|
1319
1319
|
},
|
1320
1320
|
{
|
1321
|
-
"id":
|
1321
|
+
"id": 33709,
|
1322
1322
|
"nodeType": "ContractDefinition",
|
1323
1323
|
"src": "1417:483:48",
|
1324
1324
|
"nodes": [
|
1325
1325
|
{
|
1326
|
-
"id":
|
1326
|
+
"id": 33689,
|
1327
1327
|
"nodeType": "EventDefinition",
|
1328
1328
|
"src": "1498:47:48",
|
1329
1329
|
"nodes": [],
|
@@ -1332,18 +1332,18 @@
|
|
1332
1332
|
"name": "HelloWorld",
|
1333
1333
|
"nameLocation": "1504:10:48",
|
1334
1334
|
"parameters": {
|
1335
|
-
"id":
|
1335
|
+
"id": 33688,
|
1336
1336
|
"nodeType": "ParameterList",
|
1337
1337
|
"parameters": [
|
1338
1338
|
{
|
1339
1339
|
"constant": false,
|
1340
|
-
"id":
|
1340
|
+
"id": 33687,
|
1341
1341
|
"indexed": true,
|
1342
1342
|
"mutability": "mutable",
|
1343
1343
|
"name": "worldVersion",
|
1344
1344
|
"nameLocation": "1531:12:48",
|
1345
1345
|
"nodeType": "VariableDeclaration",
|
1346
|
-
"scope":
|
1346
|
+
"scope": 33689,
|
1347
1347
|
"src": "1515:28:48",
|
1348
1348
|
"stateVariable": false,
|
1349
1349
|
"storageLocation": "default",
|
@@ -1352,7 +1352,7 @@
|
|
1352
1352
|
"typeString": "bytes32"
|
1353
1353
|
},
|
1354
1354
|
"typeName": {
|
1355
|
-
"id":
|
1355
|
+
"id": 33686,
|
1356
1356
|
"name": "bytes32",
|
1357
1357
|
"nodeType": "ElementaryTypeName",
|
1358
1358
|
"src": "1515:7:48",
|
@@ -1368,12 +1368,12 @@
|
|
1368
1368
|
}
|
1369
1369
|
},
|
1370
1370
|
{
|
1371
|
-
"id":
|
1371
|
+
"id": 33695,
|
1372
1372
|
"nodeType": "FunctionDefinition",
|
1373
1373
|
"src": "1592:56:48",
|
1374
1374
|
"nodes": [],
|
1375
1375
|
"documentation": {
|
1376
|
-
"id":
|
1376
|
+
"id": 33690,
|
1377
1377
|
"nodeType": "StructuredDocumentation",
|
1378
1378
|
"src": "1549:40:48",
|
1379
1379
|
"text": " The version of the World."
|
@@ -1385,23 +1385,23 @@
|
|
1385
1385
|
"name": "worldVersion",
|
1386
1386
|
"nameLocation": "1601:12:48",
|
1387
1387
|
"parameters": {
|
1388
|
-
"id":
|
1388
|
+
"id": 33691,
|
1389
1389
|
"nodeType": "ParameterList",
|
1390
1390
|
"parameters": [],
|
1391
1391
|
"src": "1613:2:48"
|
1392
1392
|
},
|
1393
1393
|
"returnParameters": {
|
1394
|
-
"id":
|
1394
|
+
"id": 33694,
|
1395
1395
|
"nodeType": "ParameterList",
|
1396
1396
|
"parameters": [
|
1397
1397
|
{
|
1398
1398
|
"constant": false,
|
1399
|
-
"id":
|
1399
|
+
"id": 33693,
|
1400
1400
|
"mutability": "mutable",
|
1401
1401
|
"name": "",
|
1402
1402
|
"nameLocation": "-1:-1:-1",
|
1403
1403
|
"nodeType": "VariableDeclaration",
|
1404
|
-
"scope":
|
1404
|
+
"scope": 33695,
|
1405
1405
|
"src": "1639:7:48",
|
1406
1406
|
"stateVariable": false,
|
1407
1407
|
"storageLocation": "default",
|
@@ -1410,7 +1410,7 @@
|
|
1410
1410
|
"typeString": "bytes32"
|
1411
1411
|
},
|
1412
1412
|
"typeName": {
|
1413
|
-
"id":
|
1413
|
+
"id": 33692,
|
1414
1414
|
"name": "bytes32",
|
1415
1415
|
"nodeType": "ElementaryTypeName",
|
1416
1416
|
"src": "1639:7:48",
|
@@ -1424,18 +1424,18 @@
|
|
1424
1424
|
],
|
1425
1425
|
"src": "1638:9:48"
|
1426
1426
|
},
|
1427
|
-
"scope":
|
1427
|
+
"scope": 33709,
|
1428
1428
|
"stateMutability": "view",
|
1429
1429
|
"virtual": false,
|
1430
1430
|
"visibility": "external"
|
1431
1431
|
},
|
1432
1432
|
{
|
1433
|
-
"id":
|
1433
|
+
"id": 33701,
|
1434
1434
|
"nodeType": "FunctionDefinition",
|
1435
1435
|
"src": "1715:51:48",
|
1436
1436
|
"nodes": [],
|
1437
1437
|
"documentation": {
|
1438
|
-
"id":
|
1438
|
+
"id": 33696,
|
1439
1439
|
"nodeType": "StructuredDocumentation",
|
1440
1440
|
"src": "1652:60:48",
|
1441
1441
|
"text": " The immutable original deployer of the World."
|
@@ -1447,23 +1447,23 @@
|
|
1447
1447
|
"name": "creator",
|
1448
1448
|
"nameLocation": "1724:7:48",
|
1449
1449
|
"parameters": {
|
1450
|
-
"id":
|
1450
|
+
"id": 33697,
|
1451
1451
|
"nodeType": "ParameterList",
|
1452
1452
|
"parameters": [],
|
1453
1453
|
"src": "1731:2:48"
|
1454
1454
|
},
|
1455
1455
|
"returnParameters": {
|
1456
|
-
"id":
|
1456
|
+
"id": 33700,
|
1457
1457
|
"nodeType": "ParameterList",
|
1458
1458
|
"parameters": [
|
1459
1459
|
{
|
1460
1460
|
"constant": false,
|
1461
|
-
"id":
|
1461
|
+
"id": 33699,
|
1462
1462
|
"mutability": "mutable",
|
1463
1463
|
"name": "",
|
1464
1464
|
"nameLocation": "-1:-1:-1",
|
1465
1465
|
"nodeType": "VariableDeclaration",
|
1466
|
-
"scope":
|
1466
|
+
"scope": 33701,
|
1467
1467
|
"src": "1757:7:48",
|
1468
1468
|
"stateVariable": false,
|
1469
1469
|
"storageLocation": "default",
|
@@ -1472,7 +1472,7 @@
|
|
1472
1472
|
"typeString": "address"
|
1473
1473
|
},
|
1474
1474
|
"typeName": {
|
1475
|
-
"id":
|
1475
|
+
"id": 33698,
|
1476
1476
|
"name": "address",
|
1477
1477
|
"nodeType": "ElementaryTypeName",
|
1478
1478
|
"src": "1757:7:48",
|
@@ -1487,18 +1487,18 @@
|
|
1487
1487
|
],
|
1488
1488
|
"src": "1756:9:48"
|
1489
1489
|
},
|
1490
|
-
"scope":
|
1490
|
+
"scope": 33709,
|
1491
1491
|
"stateMutability": "view",
|
1492
1492
|
"virtual": false,
|
1493
1493
|
"visibility": "external"
|
1494
1494
|
},
|
1495
1495
|
{
|
1496
|
-
"id":
|
1496
|
+
"id": 33708,
|
1497
1497
|
"nodeType": "FunctionDefinition",
|
1498
1498
|
"src": "1849:49:48",
|
1499
1499
|
"nodes": [],
|
1500
1500
|
"documentation": {
|
1501
|
-
"id":
|
1501
|
+
"id": 33702,
|
1502
1502
|
"nodeType": "StructuredDocumentation",
|
1503
1503
|
"src": "1770:76:48",
|
1504
1504
|
"text": " Allows the creator of the World to initialize the World once."
|
@@ -1510,41 +1510,41 @@
|
|
1510
1510
|
"name": "initialize",
|
1511
1511
|
"nameLocation": "1858:10:48",
|
1512
1512
|
"parameters": {
|
1513
|
-
"id":
|
1513
|
+
"id": 33706,
|
1514
1514
|
"nodeType": "ParameterList",
|
1515
1515
|
"parameters": [
|
1516
1516
|
{
|
1517
1517
|
"constant": false,
|
1518
|
-
"id":
|
1518
|
+
"id": 33705,
|
1519
1519
|
"mutability": "mutable",
|
1520
1520
|
"name": "coreModule",
|
1521
1521
|
"nameLocation": "1877:10:48",
|
1522
1522
|
"nodeType": "VariableDeclaration",
|
1523
|
-
"scope":
|
1523
|
+
"scope": 33708,
|
1524
1524
|
"src": "1869:18:48",
|
1525
1525
|
"stateVariable": false,
|
1526
1526
|
"storageLocation": "default",
|
1527
1527
|
"typeDescriptions": {
|
1528
|
-
"typeIdentifier": "t_contract$_IModule_$
|
1528
|
+
"typeIdentifier": "t_contract$_IModule_$33477",
|
1529
1529
|
"typeString": "contract IModule"
|
1530
1530
|
},
|
1531
1531
|
"typeName": {
|
1532
|
-
"id":
|
1532
|
+
"id": 33704,
|
1533
1533
|
"nodeType": "UserDefinedTypeName",
|
1534
1534
|
"pathNode": {
|
1535
|
-
"id":
|
1535
|
+
"id": 33703,
|
1536
1536
|
"name": "IModule",
|
1537
1537
|
"nameLocations": [
|
1538
1538
|
"1869:7:48"
|
1539
1539
|
],
|
1540
1540
|
"nodeType": "IdentifierPath",
|
1541
|
-
"referencedDeclaration":
|
1541
|
+
"referencedDeclaration": 33477,
|
1542
1542
|
"src": "1869:7:48"
|
1543
1543
|
},
|
1544
|
-
"referencedDeclaration":
|
1544
|
+
"referencedDeclaration": 33477,
|
1545
1545
|
"src": "1869:7:48",
|
1546
1546
|
"typeDescriptions": {
|
1547
|
-
"typeIdentifier": "t_contract$_IModule_$
|
1547
|
+
"typeIdentifier": "t_contract$_IModule_$33477",
|
1548
1548
|
"typeString": "contract IModule"
|
1549
1549
|
}
|
1550
1550
|
},
|
@@ -1554,12 +1554,12 @@
|
|
1554
1554
|
"src": "1868:20:48"
|
1555
1555
|
},
|
1556
1556
|
"returnParameters": {
|
1557
|
-
"id":
|
1557
|
+
"id": 33707,
|
1558
1558
|
"nodeType": "ParameterList",
|
1559
1559
|
"parameters": [],
|
1560
1560
|
"src": "1897:0:48"
|
1561
1561
|
},
|
1562
|
-
"scope":
|
1562
|
+
"scope": 33709,
|
1563
1563
|
"stateMutability": "nonpayable",
|
1564
1564
|
"virtual": false,
|
1565
1565
|
"visibility": "external"
|
@@ -1569,46 +1569,46 @@
|
|
1569
1569
|
"baseContracts": [
|
1570
1570
|
{
|
1571
1571
|
"baseName": {
|
1572
|
-
"id":
|
1572
|
+
"id": 33680,
|
1573
1573
|
"name": "IWorldModuleInstallation",
|
1574
1574
|
"nameLocations": [
|
1575
1575
|
"1443:24:48"
|
1576
1576
|
],
|
1577
1577
|
"nodeType": "IdentifierPath",
|
1578
|
-
"referencedDeclaration":
|
1578
|
+
"referencedDeclaration": 33653,
|
1579
1579
|
"src": "1443:24:48"
|
1580
1580
|
},
|
1581
|
-
"id":
|
1581
|
+
"id": 33681,
|
1582
1582
|
"nodeType": "InheritanceSpecifier",
|
1583
1583
|
"src": "1443:24:48"
|
1584
1584
|
},
|
1585
1585
|
{
|
1586
1586
|
"baseName": {
|
1587
|
-
"id":
|
1587
|
+
"id": 33682,
|
1588
1588
|
"name": "IWorldCall",
|
1589
1589
|
"nameLocations": [
|
1590
1590
|
"1469:10:48"
|
1591
1591
|
],
|
1592
1592
|
"nodeType": "IdentifierPath",
|
1593
|
-
"referencedDeclaration":
|
1593
|
+
"referencedDeclaration": 33678,
|
1594
1594
|
"src": "1469:10:48"
|
1595
1595
|
},
|
1596
|
-
"id":
|
1596
|
+
"id": 33683,
|
1597
1597
|
"nodeType": "InheritanceSpecifier",
|
1598
1598
|
"src": "1469:10:48"
|
1599
1599
|
},
|
1600
1600
|
{
|
1601
1601
|
"baseName": {
|
1602
|
-
"id":
|
1602
|
+
"id": 33684,
|
1603
1603
|
"name": "IWorldErrors",
|
1604
1604
|
"nameLocations": [
|
1605
1605
|
"1481:12:48"
|
1606
1606
|
],
|
1607
1607
|
"nodeType": "IdentifierPath",
|
1608
|
-
"referencedDeclaration":
|
1608
|
+
"referencedDeclaration": 33635,
|
1609
1609
|
"src": "1481:12:48"
|
1610
1610
|
},
|
1611
|
-
"id":
|
1611
|
+
"id": 33685,
|
1612
1612
|
"nodeType": "InheritanceSpecifier",
|
1613
1613
|
"src": "1481:12:48"
|
1614
1614
|
}
|
@@ -1617,39 +1617,39 @@
|
|
1617
1617
|
"contractDependencies": [],
|
1618
1618
|
"contractKind": "interface",
|
1619
1619
|
"documentation": {
|
1620
|
-
"id":
|
1620
|
+
"id": 33679,
|
1621
1621
|
"nodeType": "StructuredDocumentation",
|
1622
1622
|
"src": "1151:265:48",
|
1623
1623
|
"text": " The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode.\n Consumers should use the `IBaseWorld` interface instead, which includes dynamically\n registered functions selectors from the `CoreModule`."
|
1624
1624
|
},
|
1625
1625
|
"fullyImplemented": false,
|
1626
1626
|
"linearizedBaseContracts": [
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1627
|
+
33709,
|
1628
|
+
33635,
|
1629
|
+
33678,
|
1630
|
+
33653
|
1631
1631
|
],
|
1632
1632
|
"name": "IWorldKernel",
|
1633
1633
|
"nameLocation": "1427:12:48",
|
1634
|
-
"scope":
|
1634
|
+
"scope": 33710,
|
1635
1635
|
"usedErrors": [
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
33571,
|
1640
|
-
33578,
|
1636
|
+
33562,
|
1637
|
+
33569,
|
1638
|
+
33576,
|
1641
1639
|
33582,
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1640
|
+
33589,
|
1641
|
+
33593,
|
1642
|
+
33597,
|
1643
|
+
33601,
|
1644
|
+
33607,
|
1645
|
+
33609,
|
1646
|
+
33615,
|
1647
|
+
33621,
|
1648
|
+
33630,
|
1649
|
+
33634
|
1650
1650
|
],
|
1651
1651
|
"usedEvents": [
|
1652
|
-
|
1652
|
+
33689
|
1653
1653
|
]
|
1654
1654
|
}
|
1655
1655
|
],
|