@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-c07fa021
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/dist/mud.config.js +1 -1
- package/dist/mud.config.js.map +1 -1
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +314 -314
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4012 -4012
- package/out/DelegationControl.sol/DelegationControl.json +22 -22
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +97 -97
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +81 -81
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.json +63 -143
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +93 -93
- package/out/IModule.sol/IModule.json +139 -139
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
- package/out/ISystemHook.sol/ISystemHook.json +129 -129
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
- package/out/IWorldErrors.sol/IWorldErrors.json +238 -238
- package/out/IWorldKernel.sol/IWorldCall.json +241 -241
- package/out/IWorldKernel.sol/IWorldKernel.json +241 -241
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +241 -241
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +282 -282
- package/out/KeysInTable.sol/KeysInTable.json +15792 -15792
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1253 -1253
- package/out/KeysInTableModule.sol/KeysInTableModule.json +798 -798
- package/out/KeysWithValue.sol/KeysWithValue.json +5879 -5879
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1335 -1335
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +619 -619
- package/out/Module.sol/Module.json +20 -20
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +467 -467
- package/out/StoreHook.sol/StoreHook.json +31 -31
- package/out/System.sol/System.json +3 -3
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +166 -166
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3149 -3149
- package/out/UniqueEntity.sol/UniqueEntity.json +1976 -1976
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +3954 -3954
- package/out/WorldContext.sol/WorldContextConsumer.json +17 -17
- package/out/WorldContext.sol/WorldContextProvider.json +17 -17
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +7 -7
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +7 -7
- package/out/constants.sol/constants.json +116 -116
- package/out/getKeysInTable.sol/getKeysInTable.json +819 -819
- package/out/getKeysWithValue.sol/getKeysWithValue.json +374 -374
- package/out/getTargetTableId.sol/getTargetTableId.json +232 -232
- package/out/getUniqueEntity.sol/getUniqueEntity.json +143 -143
- package/out/hasKey.sol/hasKey.json +189 -189
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +197 -197
- package/out/interfaces/IERC165.sol/IERC165.json +50 -50
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +137 -137
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +137 -137
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +137 -137
- package/out/query.sol/query.json +1791 -1791
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
- package/out/src/IStore.sol/IStore.json +21 -21
- package/out/src/IStore.sol/IStoreData.json +21 -21
- package/out/src/IStore.sol/IStoreRead.json +21 -21
- package/out/src/IStore.sol/IStoreRegistration.json +21 -21
- package/out/src/IStore.sol/IStoreWrite.json +21 -21
- package/out/src/Memory.sol/Memory.json +4 -4
- package/out/src/Schema.sol/SchemaInstance.json +42 -42
- package/out/src/Schema.sol/SchemaLib.json +42 -42
- package/out/src/Slice.sol/SliceInstance.json +4 -4
- package/out/src/Slice.sol/SliceLib.json +4 -4
- package/out/src/StoreCore.sol/StoreCore.json +294 -294
- package/out/src/StoreCore.sol/StoreCoreInternal.json +294 -294
- package/out/src/StoreSwitch.sol/StoreSwitch.json +23 -23
- package/out/src/WorldContext.sol/WorldContextConsumer.json +22 -22
- package/out/src/WorldContext.sol/WorldContextProvider.json +22 -22
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +14 -14
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +14 -14
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +1 -3
- package/src/interfaces/IUniqueEntitySystem.sol +2 -3
- package/src/modules/keysintable/KeysInTableModule.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
- package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
- package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
- package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -583,22 +583,22 @@
|
|
583
583
|
"id": 48665,
|
584
584
|
"exportedSymbols": {
|
585
585
|
"DELEGATION_CONTROL_INTERFACE_ID": [
|
586
|
-
|
586
|
+
70810
|
587
587
|
],
|
588
588
|
"DelegationControl": [
|
589
589
|
48664
|
590
590
|
],
|
591
591
|
"ERC165_INTERFACE_ID": [
|
592
|
-
|
592
|
+
70832
|
593
593
|
],
|
594
594
|
"IDelegationControl": [
|
595
|
-
|
595
|
+
70825
|
596
596
|
],
|
597
597
|
"IERC165": [
|
598
|
-
|
598
|
+
70841
|
599
599
|
],
|
600
600
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
601
|
-
|
601
|
+
70861
|
602
602
|
],
|
603
603
|
"WorldContextConsumer": [
|
604
604
|
48776
|
@@ -654,7 +654,7 @@
|
|
654
654
|
"file": "./interfaces/IDelegationControl.sol",
|
655
655
|
"nameLocation": "-1:-1:-1",
|
656
656
|
"scope": 48665,
|
657
|
-
"sourceUnit":
|
657
|
+
"sourceUnit": 70826,
|
658
658
|
"symbolAliases": [
|
659
659
|
{
|
660
660
|
"foreign": {
|
@@ -662,7 +662,7 @@
|
|
662
662
|
"name": "IDelegationControl",
|
663
663
|
"nodeType": "Identifier",
|
664
664
|
"overloadedDeclarations": [],
|
665
|
-
"referencedDeclaration":
|
665
|
+
"referencedDeclaration": 70825,
|
666
666
|
"src": "127:18:87",
|
667
667
|
"typeDescriptions": {}
|
668
668
|
},
|
@@ -674,7 +674,7 @@
|
|
674
674
|
"name": "DELEGATION_CONTROL_INTERFACE_ID",
|
675
675
|
"nodeType": "Identifier",
|
676
676
|
"overloadedDeclarations": [],
|
677
|
-
"referencedDeclaration":
|
677
|
+
"referencedDeclaration": 70810,
|
678
678
|
"src": "147:31:87",
|
679
679
|
"typeDescriptions": {}
|
680
680
|
},
|
@@ -692,7 +692,7 @@
|
|
692
692
|
"file": "./interfaces/IWorldContextConsumer.sol",
|
693
693
|
"nameLocation": "-1:-1:-1",
|
694
694
|
"scope": 48665,
|
695
|
-
"sourceUnit":
|
695
|
+
"sourceUnit": 70880,
|
696
696
|
"symbolAliases": [
|
697
697
|
{
|
698
698
|
"foreign": {
|
@@ -700,7 +700,7 @@
|
|
700
700
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
701
701
|
"nodeType": "Identifier",
|
702
702
|
"overloadedDeclarations": [],
|
703
|
-
"referencedDeclaration":
|
703
|
+
"referencedDeclaration": 70861,
|
704
704
|
"src": "234:35:87",
|
705
705
|
"typeDescriptions": {}
|
706
706
|
},
|
@@ -718,7 +718,7 @@
|
|
718
718
|
"file": "./interfaces/IERC165.sol",
|
719
719
|
"nameLocation": "-1:-1:-1",
|
720
720
|
"scope": 48665,
|
721
|
-
"sourceUnit":
|
721
|
+
"sourceUnit": 70842,
|
722
722
|
"symbolAliases": [
|
723
723
|
{
|
724
724
|
"foreign": {
|
@@ -726,7 +726,7 @@
|
|
726
726
|
"name": "IERC165",
|
727
727
|
"nodeType": "Identifier",
|
728
728
|
"overloadedDeclarations": [],
|
729
|
-
"referencedDeclaration":
|
729
|
+
"referencedDeclaration": 70841,
|
730
730
|
"src": "328:7:87",
|
731
731
|
"typeDescriptions": {}
|
732
732
|
},
|
@@ -738,7 +738,7 @@
|
|
738
738
|
"name": "ERC165_INTERFACE_ID",
|
739
739
|
"nodeType": "Identifier",
|
740
740
|
"overloadedDeclarations": [],
|
741
|
-
"referencedDeclaration":
|
741
|
+
"referencedDeclaration": 70832,
|
742
742
|
"src": "337:19:87",
|
743
743
|
"typeDescriptions": {}
|
744
744
|
},
|
@@ -813,7 +813,7 @@
|
|
813
813
|
"name": "DELEGATION_CONTROL_INTERFACE_ID",
|
814
814
|
"nodeType": "Identifier",
|
815
815
|
"overloadedDeclarations": [],
|
816
|
-
"referencedDeclaration":
|
816
|
+
"referencedDeclaration": 70810,
|
817
817
|
"src": "641:31:87",
|
818
818
|
"typeDescriptions": {
|
819
819
|
"typeIdentifier": "t_bytes4",
|
@@ -857,7 +857,7 @@
|
|
857
857
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
858
858
|
"nodeType": "Identifier",
|
859
859
|
"overloadedDeclarations": [],
|
860
|
-
"referencedDeclaration":
|
860
|
+
"referencedDeclaration": 70861,
|
861
861
|
"src": "697:35:87",
|
862
862
|
"typeDescriptions": {
|
863
863
|
"typeIdentifier": "t_bytes4",
|
@@ -907,7 +907,7 @@
|
|
907
907
|
"name": "ERC165_INTERFACE_ID",
|
908
908
|
"nodeType": "Identifier",
|
909
909
|
"overloadedDeclarations": [],
|
910
|
-
"referencedDeclaration":
|
910
|
+
"referencedDeclaration": 70832,
|
911
911
|
"src": "757:19:87",
|
912
912
|
"typeDescriptions": {
|
913
913
|
"typeIdentifier": "t_bytes4",
|
@@ -935,7 +935,7 @@
|
|
935
935
|
},
|
936
936
|
"baseFunctions": [
|
937
937
|
48775,
|
938
|
-
|
938
|
+
70840
|
939
939
|
],
|
940
940
|
"functionSelector": "01ffc9a7",
|
941
941
|
"implemented": true,
|
@@ -954,7 +954,7 @@
|
|
954
954
|
"561:7:87"
|
955
955
|
],
|
956
956
|
"nodeType": "IdentifierPath",
|
957
|
-
"referencedDeclaration":
|
957
|
+
"referencedDeclaration": 70841,
|
958
958
|
"src": "561:7:87"
|
959
959
|
},
|
960
960
|
{
|
@@ -1069,7 +1069,7 @@
|
|
1069
1069
|
"454:18:87"
|
1070
1070
|
],
|
1071
1071
|
"nodeType": "IdentifierPath",
|
1072
|
-
"referencedDeclaration":
|
1072
|
+
"referencedDeclaration": 70825,
|
1073
1073
|
"src": "454:18:87"
|
1074
1074
|
},
|
1075
1075
|
"id": 48640,
|
@@ -1083,10 +1083,10 @@
|
|
1083
1083
|
"fullyImplemented": false,
|
1084
1084
|
"linearizedBaseContracts": [
|
1085
1085
|
48664,
|
1086
|
-
|
1086
|
+
70825,
|
1087
1087
|
48776,
|
1088
|
-
|
1089
|
-
|
1088
|
+
70879,
|
1089
|
+
70841
|
1090
1090
|
],
|
1091
1091
|
"name": "DelegationControl",
|
1092
1092
|
"nameLocation": "411:17:87",
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"revokeAccess(bytes32,address)": "8d53b208",
|
71
71
|
"transferOwnership(bytes32,address)": "ef5d6bbb"
|
72
72
|
},
|
73
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol\":\"IAccessManagementSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0x979e418af3d0d3a1866240bed58d2792f0718cc1803a1476ec8c93af5577cae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c68cfe48ce67fe83f4b000c954891821d1fae31bfdd36de37a12637c8a1864f7\",\"dweb:/ipfs/QmUX9tHSMTeScbiacKX2T16gLV6aPKDU1Q3eDiNxqmVNa1\"]},\"/home/runner/work/mud/mud/packages/world/src/
|
73
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":\"IAccessManagementSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0x979e418af3d0d3a1866240bed58d2792f0718cc1803a1476ec8c93af5577cae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c68cfe48ce67fe83f4b000c954891821d1fae31bfdd36de37a12637c8a1864f7\",\"dweb:/ipfs/QmUX9tHSMTeScbiacKX2T16gLV6aPKDU1Q3eDiNxqmVNa1\"]},\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol\":{\"keccak256\":\"0x19c5c91d4abc5d9a121224954855d648cc9c0267ab0ba26313ab21cdddd7e13c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7ea88e4d1ec0bc4ba9e9342f83a2aa7e7787d27a35da5cc92621697b544527fc\",\"dweb:/ipfs/QmVjFupMVs6jRmS98Rxz8XBjd2kxvmXJGokFkKKxPn7FA9\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x6ba6106af53f968def4e958c37e1da3d4a055174a75bb34378becdb0bec44a63\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b6634717bf77ea7bcc54b625665db61f48d39be47161090467d2264dee0361dc\",\"dweb:/ipfs/QmWM5kNhwmDii9zZMwf3q9y8mM1PKeRLQxXHHGpLNXq1DG\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0x88f844f2c43757c819c8f140b30254f07c3484e12cce573879d43b2ee6a23f8b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://55a9095094c2b7b1043020681696380cfc3cffd1f264a70bacb44fccd0fc0a8a\",\"dweb:/ipfs/QmfPdLPr9hfV8X8yfHhEf2HmEWAnA4d1c6EHEjHMdeM7ML\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xb36724e0369ad053579ec04b9b51707dd8dcc4a72b38404cebdf018ce40bf202\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d8745e1632b7ee94f128600837a36ae53fabaf73c506b0c6d1cae70ea2e9b086\",\"dweb:/ipfs/QmXuMqmybWjEPqWEx91DTM7KAUyxAmDcsj7riBfCfA427N\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x4a61aefe72d6035b1e9aca7841aab44ebd26f8706bdbb447f382046fa94753b6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f715743739e4f8f8a98d78397025a92299ecb3b5dde88cc53bc1ab72bf531fa6\",\"dweb:/ipfs/QmVsYAupGWZUemE4t6xjLqztGHadQ8cyo9E4mT5ZDKUmTs\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xb2c27c7b8f974f1e3c70dd82c92f35f5bbd2887e16afe454e6dbc38300a51feb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6cbdbcc95835f67030eebdebeaf0bfd6faa612381179e7f7be8b9d3c00b20878\",\"dweb:/ipfs/QmNeZU5MmRQqhcLxN6BA2BQvgEst8yg67F4VQoPJEEK6kg\"]}},\"version\":1}",
|
74
74
|
"metadata": {
|
75
75
|
"compiler": {
|
76
76
|
"version": "0.8.21+commit.d9974bed"
|
@@ -155,7 +155,7 @@
|
|
155
155
|
"bytecodeHash": "none"
|
156
156
|
},
|
157
157
|
"compilationTarget": {
|
158
|
-
"/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol": "IAccessManagementSystem"
|
158
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol": "IAccessManagementSystem"
|
159
159
|
},
|
160
160
|
"libraries": {}
|
161
161
|
},
|
@@ -168,19 +168,19 @@
|
|
168
168
|
],
|
169
169
|
"license": "MIT"
|
170
170
|
},
|
171
|
-
"/home/runner/work/mud/mud/packages/world/src/
|
172
|
-
"keccak256": "
|
171
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol": {
|
172
|
+
"keccak256": "0x19c5c91d4abc5d9a121224954855d648cc9c0267ab0ba26313ab21cdddd7e13c",
|
173
173
|
"urls": [
|
174
|
-
"bzz-raw://
|
175
|
-
"dweb:/ipfs/
|
174
|
+
"bzz-raw://7ea88e4d1ec0bc4ba9e9342f83a2aa7e7787d27a35da5cc92621697b544527fc",
|
175
|
+
"dweb:/ipfs/QmVjFupMVs6jRmS98Rxz8XBjd2kxvmXJGokFkKKxPn7FA9"
|
176
176
|
],
|
177
177
|
"license": "MIT"
|
178
178
|
},
|
179
|
-
"/home/runner/work/mud/mud/packages/world/src/
|
180
|
-
"keccak256": "
|
179
|
+
"/home/runner/work/mud/mud/packages/world/src/constants.sol": {
|
180
|
+
"keccak256": "0x6ba6106af53f968def4e958c37e1da3d4a055174a75bb34378becdb0bec44a63",
|
181
181
|
"urls": [
|
182
|
-
"bzz-raw://
|
183
|
-
"dweb:/ipfs/
|
182
|
+
"bzz-raw://b6634717bf77ea7bcc54b625665db61f48d39be47161090467d2264dee0361dc",
|
183
|
+
"dweb:/ipfs/QmWM5kNhwmDii9zZMwf3q9y8mM1PKeRLQxXHHGpLNXq1DG"
|
184
184
|
],
|
185
185
|
"license": "MIT"
|
186
186
|
},
|
@@ -220,23 +220,23 @@
|
|
220
220
|
"version": 1
|
221
221
|
},
|
222
222
|
"ast": {
|
223
|
-
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IAccessManagementSystem.sol",
|
224
|
-
"id":
|
223
|
+
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol",
|
224
|
+
"id": 33185,
|
225
225
|
"exportedSymbols": {
|
226
226
|
"IAccessManagementSystem": [
|
227
|
-
|
227
|
+
33184
|
228
228
|
],
|
229
229
|
"ResourceId": [
|
230
230
|
36365
|
231
231
|
]
|
232
232
|
},
|
233
233
|
"nodeType": "SourceUnit",
|
234
|
-
"src": "32:
|
234
|
+
"src": "32:403:35",
|
235
235
|
"nodes": [
|
236
236
|
{
|
237
|
-
"id":
|
237
|
+
"id": 33157,
|
238
238
|
"nodeType": "PragmaDirective",
|
239
|
-
"src": "32:25:
|
239
|
+
"src": "32:25:35",
|
240
240
|
"nodes": [],
|
241
241
|
"literals": [
|
242
242
|
"solidity",
|
@@ -246,24 +246,24 @@
|
|
246
246
|
]
|
247
247
|
},
|
248
248
|
{
|
249
|
-
"id":
|
249
|
+
"id": 33159,
|
250
250
|
"nodeType": "ImportDirective",
|
251
|
-
"src": "108:
|
251
|
+
"src": "108:57:35",
|
252
252
|
"nodes": [],
|
253
253
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
|
254
|
-
"file": "
|
254
|
+
"file": "./../../WorldResourceId.sol",
|
255
255
|
"nameLocation": "-1:-1:-1",
|
256
|
-
"scope":
|
256
|
+
"scope": 33185,
|
257
257
|
"sourceUnit": 33156,
|
258
258
|
"symbolAliases": [
|
259
259
|
{
|
260
260
|
"foreign": {
|
261
|
-
"id":
|
261
|
+
"id": 33158,
|
262
262
|
"name": "ResourceId",
|
263
263
|
"nodeType": "Identifier",
|
264
264
|
"overloadedDeclarations": [],
|
265
265
|
"referencedDeclaration": 36365,
|
266
|
-
"src": "117:10:
|
266
|
+
"src": "117:10:35",
|
267
267
|
"typeDescriptions": {}
|
268
268
|
},
|
269
269
|
"nameLocation": "-1:-1:-1"
|
@@ -272,34 +272,34 @@
|
|
272
272
|
"unitAlias": ""
|
273
273
|
},
|
274
274
|
{
|
275
|
-
"id":
|
275
|
+
"id": 33184,
|
276
276
|
"nodeType": "ContractDefinition",
|
277
|
-
"src": "
|
277
|
+
"src": "167:267:35",
|
278
278
|
"nodes": [
|
279
279
|
{
|
280
|
-
"id":
|
280
|
+
"id": 33167,
|
281
281
|
"nodeType": "FunctionDefinition",
|
282
|
-
"src": "
|
282
|
+
"src": "205:70:35",
|
283
283
|
"nodes": [],
|
284
284
|
"functionSelector": "40554c3a",
|
285
285
|
"implemented": false,
|
286
286
|
"kind": "function",
|
287
287
|
"modifiers": [],
|
288
288
|
"name": "grantAccess",
|
289
|
-
"nameLocation": "
|
289
|
+
"nameLocation": "214:11:35",
|
290
290
|
"parameters": {
|
291
|
-
"id":
|
291
|
+
"id": 33165,
|
292
292
|
"nodeType": "ParameterList",
|
293
293
|
"parameters": [
|
294
294
|
{
|
295
295
|
"constant": false,
|
296
|
-
"id":
|
296
|
+
"id": 33162,
|
297
297
|
"mutability": "mutable",
|
298
298
|
"name": "resourceId",
|
299
|
-
"nameLocation": "
|
299
|
+
"nameLocation": "237:10:35",
|
300
300
|
"nodeType": "VariableDeclaration",
|
301
|
-
"scope":
|
302
|
-
"src": "
|
301
|
+
"scope": 33167,
|
302
|
+
"src": "226:21:35",
|
303
303
|
"stateVariable": false,
|
304
304
|
"storageLocation": "default",
|
305
305
|
"typeDescriptions": {
|
@@ -307,20 +307,20 @@
|
|
307
307
|
"typeString": "ResourceId"
|
308
308
|
},
|
309
309
|
"typeName": {
|
310
|
-
"id":
|
310
|
+
"id": 33161,
|
311
311
|
"nodeType": "UserDefinedTypeName",
|
312
312
|
"pathNode": {
|
313
|
-
"id":
|
313
|
+
"id": 33160,
|
314
314
|
"name": "ResourceId",
|
315
315
|
"nameLocations": [
|
316
|
-
"
|
316
|
+
"226:10:35"
|
317
317
|
],
|
318
318
|
"nodeType": "IdentifierPath",
|
319
319
|
"referencedDeclaration": 36365,
|
320
|
-
"src": "
|
320
|
+
"src": "226:10:35"
|
321
321
|
},
|
322
322
|
"referencedDeclaration": 36365,
|
323
|
-
"src": "
|
323
|
+
"src": "226:10:35",
|
324
324
|
"typeDescriptions": {
|
325
325
|
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
|
326
326
|
"typeString": "ResourceId"
|
@@ -330,13 +330,13 @@
|
|
330
330
|
},
|
331
331
|
{
|
332
332
|
"constant": false,
|
333
|
-
"id":
|
333
|
+
"id": 33164,
|
334
334
|
"mutability": "mutable",
|
335
335
|
"name": "grantee",
|
336
|
-
"nameLocation": "
|
336
|
+
"nameLocation": "257:7:35",
|
337
337
|
"nodeType": "VariableDeclaration",
|
338
|
-
"scope":
|
339
|
-
"src": "
|
338
|
+
"scope": 33167,
|
339
|
+
"src": "249:15:35",
|
340
340
|
"stateVariable": false,
|
341
341
|
"storageLocation": "default",
|
342
342
|
"typeDescriptions": {
|
@@ -344,10 +344,10 @@
|
|
344
344
|
"typeString": "address"
|
345
345
|
},
|
346
346
|
"typeName": {
|
347
|
-
"id":
|
347
|
+
"id": 33163,
|
348
348
|
"name": "address",
|
349
349
|
"nodeType": "ElementaryTypeName",
|
350
|
-
"src": "
|
350
|
+
"src": "249:7:35",
|
351
351
|
"stateMutability": "nonpayable",
|
352
352
|
"typeDescriptions": {
|
353
353
|
"typeIdentifier": "t_address",
|
@@ -357,43 +357,43 @@
|
|
357
357
|
"visibility": "internal"
|
358
358
|
}
|
359
359
|
],
|
360
|
-
"src": "
|
360
|
+
"src": "225:40:35"
|
361
361
|
},
|
362
362
|
"returnParameters": {
|
363
|
-
"id":
|
363
|
+
"id": 33166,
|
364
364
|
"nodeType": "ParameterList",
|
365
365
|
"parameters": [],
|
366
|
-
"src": "
|
366
|
+
"src": "274:0:35"
|
367
367
|
},
|
368
|
-
"scope":
|
368
|
+
"scope": 33184,
|
369
369
|
"stateMutability": "nonpayable",
|
370
370
|
"virtual": false,
|
371
371
|
"visibility": "external"
|
372
372
|
},
|
373
373
|
{
|
374
|
-
"id":
|
374
|
+
"id": 33175,
|
375
375
|
"nodeType": "FunctionDefinition",
|
376
|
-
"src": "
|
376
|
+
"src": "279:71:35",
|
377
377
|
"nodes": [],
|
378
378
|
"functionSelector": "8d53b208",
|
379
379
|
"implemented": false,
|
380
380
|
"kind": "function",
|
381
381
|
"modifiers": [],
|
382
382
|
"name": "revokeAccess",
|
383
|
-
"nameLocation": "
|
383
|
+
"nameLocation": "288:12:35",
|
384
384
|
"parameters": {
|
385
|
-
"id":
|
385
|
+
"id": 33173,
|
386
386
|
"nodeType": "ParameterList",
|
387
387
|
"parameters": [
|
388
388
|
{
|
389
389
|
"constant": false,
|
390
|
-
"id":
|
390
|
+
"id": 33170,
|
391
391
|
"mutability": "mutable",
|
392
392
|
"name": "resourceId",
|
393
|
-
"nameLocation": "
|
393
|
+
"nameLocation": "312:10:35",
|
394
394
|
"nodeType": "VariableDeclaration",
|
395
|
-
"scope":
|
396
|
-
"src": "
|
395
|
+
"scope": 33175,
|
396
|
+
"src": "301:21:35",
|
397
397
|
"stateVariable": false,
|
398
398
|
"storageLocation": "default",
|
399
399
|
"typeDescriptions": {
|
@@ -401,20 +401,20 @@
|
|
401
401
|
"typeString": "ResourceId"
|
402
402
|
},
|
403
403
|
"typeName": {
|
404
|
-
"id":
|
404
|
+
"id": 33169,
|
405
405
|
"nodeType": "UserDefinedTypeName",
|
406
406
|
"pathNode": {
|
407
|
-
"id":
|
407
|
+
"id": 33168,
|
408
408
|
"name": "ResourceId",
|
409
409
|
"nameLocations": [
|
410
|
-
"
|
410
|
+
"301:10:35"
|
411
411
|
],
|
412
412
|
"nodeType": "IdentifierPath",
|
413
413
|
"referencedDeclaration": 36365,
|
414
|
-
"src": "
|
414
|
+
"src": "301:10:35"
|
415
415
|
},
|
416
416
|
"referencedDeclaration": 36365,
|
417
|
-
"src": "
|
417
|
+
"src": "301:10:35",
|
418
418
|
"typeDescriptions": {
|
419
419
|
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
|
420
420
|
"typeString": "ResourceId"
|
@@ -424,13 +424,13 @@
|
|
424
424
|
},
|
425
425
|
{
|
426
426
|
"constant": false,
|
427
|
-
"id":
|
427
|
+
"id": 33172,
|
428
428
|
"mutability": "mutable",
|
429
429
|
"name": "grantee",
|
430
|
-
"nameLocation": "
|
430
|
+
"nameLocation": "332:7:35",
|
431
431
|
"nodeType": "VariableDeclaration",
|
432
|
-
"scope":
|
433
|
-
"src": "
|
432
|
+
"scope": 33175,
|
433
|
+
"src": "324:15:35",
|
434
434
|
"stateVariable": false,
|
435
435
|
"storageLocation": "default",
|
436
436
|
"typeDescriptions": {
|
@@ -438,10 +438,10 @@
|
|
438
438
|
"typeString": "address"
|
439
439
|
},
|
440
440
|
"typeName": {
|
441
|
-
"id":
|
441
|
+
"id": 33171,
|
442
442
|
"name": "address",
|
443
443
|
"nodeType": "ElementaryTypeName",
|
444
|
-
"src": "
|
444
|
+
"src": "324:7:35",
|
445
445
|
"stateMutability": "nonpayable",
|
446
446
|
"typeDescriptions": {
|
447
447
|
"typeIdentifier": "t_address",
|
@@ -451,43 +451,43 @@
|
|
451
451
|
"visibility": "internal"
|
452
452
|
}
|
453
453
|
],
|
454
|
-
"src": "
|
454
|
+
"src": "300:40:35"
|
455
455
|
},
|
456
456
|
"returnParameters": {
|
457
|
-
"id":
|
457
|
+
"id": 33174,
|
458
458
|
"nodeType": "ParameterList",
|
459
459
|
"parameters": [],
|
460
|
-
"src": "
|
460
|
+
"src": "349:0:35"
|
461
461
|
},
|
462
|
-
"scope":
|
462
|
+
"scope": 33184,
|
463
463
|
"stateMutability": "nonpayable",
|
464
464
|
"virtual": false,
|
465
465
|
"visibility": "external"
|
466
466
|
},
|
467
467
|
{
|
468
|
-
"id":
|
468
|
+
"id": 33183,
|
469
469
|
"nodeType": "FunctionDefinition",
|
470
|
-
"src": "
|
470
|
+
"src": "354:78:35",
|
471
471
|
"nodes": [],
|
472
472
|
"functionSelector": "ef5d6bbb",
|
473
473
|
"implemented": false,
|
474
474
|
"kind": "function",
|
475
475
|
"modifiers": [],
|
476
476
|
"name": "transferOwnership",
|
477
|
-
"nameLocation": "
|
477
|
+
"nameLocation": "363:17:35",
|
478
478
|
"parameters": {
|
479
|
-
"id":
|
479
|
+
"id": 33181,
|
480
480
|
"nodeType": "ParameterList",
|
481
481
|
"parameters": [
|
482
482
|
{
|
483
483
|
"constant": false,
|
484
|
-
"id":
|
484
|
+
"id": 33178,
|
485
485
|
"mutability": "mutable",
|
486
486
|
"name": "namespaceId",
|
487
|
-
"nameLocation": "
|
487
|
+
"nameLocation": "392:11:35",
|
488
488
|
"nodeType": "VariableDeclaration",
|
489
|
-
"scope":
|
490
|
-
"src": "
|
489
|
+
"scope": 33183,
|
490
|
+
"src": "381:22:35",
|
491
491
|
"stateVariable": false,
|
492
492
|
"storageLocation": "default",
|
493
493
|
"typeDescriptions": {
|
@@ -495,20 +495,20 @@
|
|
495
495
|
"typeString": "ResourceId"
|
496
496
|
},
|
497
497
|
"typeName": {
|
498
|
-
"id":
|
498
|
+
"id": 33177,
|
499
499
|
"nodeType": "UserDefinedTypeName",
|
500
500
|
"pathNode": {
|
501
|
-
"id":
|
501
|
+
"id": 33176,
|
502
502
|
"name": "ResourceId",
|
503
503
|
"nameLocations": [
|
504
|
-
"
|
504
|
+
"381:10:35"
|
505
505
|
],
|
506
506
|
"nodeType": "IdentifierPath",
|
507
507
|
"referencedDeclaration": 36365,
|
508
|
-
"src": "
|
508
|
+
"src": "381:10:35"
|
509
509
|
},
|
510
510
|
"referencedDeclaration": 36365,
|
511
|
-
"src": "
|
511
|
+
"src": "381:10:35",
|
512
512
|
"typeDescriptions": {
|
513
513
|
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
|
514
514
|
"typeString": "ResourceId"
|
@@ -518,13 +518,13 @@
|
|
518
518
|
},
|
519
519
|
{
|
520
520
|
"constant": false,
|
521
|
-
"id":
|
521
|
+
"id": 33180,
|
522
522
|
"mutability": "mutable",
|
523
523
|
"name": "newOwner",
|
524
|
-
"nameLocation": "
|
524
|
+
"nameLocation": "413:8:35",
|
525
525
|
"nodeType": "VariableDeclaration",
|
526
|
-
"scope":
|
527
|
-
"src": "
|
526
|
+
"scope": 33183,
|
527
|
+
"src": "405:16:35",
|
528
528
|
"stateVariable": false,
|
529
529
|
"storageLocation": "default",
|
530
530
|
"typeDescriptions": {
|
@@ -532,10 +532,10 @@
|
|
532
532
|
"typeString": "address"
|
533
533
|
},
|
534
534
|
"typeName": {
|
535
|
-
"id":
|
535
|
+
"id": 33179,
|
536
536
|
"name": "address",
|
537
537
|
"nodeType": "ElementaryTypeName",
|
538
|
-
"src": "
|
538
|
+
"src": "405:7:35",
|
539
539
|
"stateMutability": "nonpayable",
|
540
540
|
"typeDescriptions": {
|
541
541
|
"typeIdentifier": "t_address",
|
@@ -545,15 +545,15 @@
|
|
545
545
|
"visibility": "internal"
|
546
546
|
}
|
547
547
|
],
|
548
|
-
"src": "
|
548
|
+
"src": "380:42:35"
|
549
549
|
},
|
550
550
|
"returnParameters": {
|
551
|
-
"id":
|
551
|
+
"id": 33182,
|
552
552
|
"nodeType": "ParameterList",
|
553
553
|
"parameters": [],
|
554
|
-
"src": "
|
554
|
+
"src": "431:0:35"
|
555
555
|
},
|
556
|
-
"scope":
|
556
|
+
"scope": 33184,
|
557
557
|
"stateMutability": "nonpayable",
|
558
558
|
"virtual": false,
|
559
559
|
"visibility": "external"
|
@@ -566,16 +566,16 @@
|
|
566
566
|
"contractKind": "interface",
|
567
567
|
"fullyImplemented": false,
|
568
568
|
"linearizedBaseContracts": [
|
569
|
-
|
569
|
+
33184
|
570
570
|
],
|
571
571
|
"name": "IAccessManagementSystem",
|
572
|
-
"nameLocation": "
|
573
|
-
"scope":
|
572
|
+
"nameLocation": "177:23:35",
|
573
|
+
"scope": 33185,
|
574
574
|
"usedErrors": [],
|
575
575
|
"usedEvents": []
|
576
576
|
}
|
577
577
|
],
|
578
578
|
"license": "MIT"
|
579
579
|
},
|
580
|
-
"id":
|
580
|
+
"id": 35
|
581
581
|
}
|