@latticexyz/world-modules 2.0.0-main-87235a21 → 2.0.0-main-85218618
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/CallboundDelegationControl.sol/CallboundDelegationControl.json +264 -227
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +193 -143
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +136 -91
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +138 -108
- package/out/IModule.sol/IModule.json +181 -151
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
- package/out/ISystemHook.sol/ISystemHook.json +192 -152
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +172 -124
- package/out/IWorldErrors.sol/IWorldErrors.json +346 -256
- package/out/IWorldKernel.sol/IWorldCall.json +312 -272
- package/out/IWorldKernel.sol/IWorldKernel.json +339 -276
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +297 -271
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +607 -558
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1014 -1014
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +496 -447
- package/out/Module.sol/Module.json +192 -125
- 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 +372 -329
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +84 -41
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +168 -131
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +393 -350
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +138 -102
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +780 -683
- package/out/WorldContext.sol/WorldContextProvider.json +743 -683
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- package/out/constants.sol/constants.json +115 -115
- 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.json +205 -160
- 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 +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +313 -273
- package/out/src/IWorldKernel.sol/IWorldKernel.json +340 -277
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +298 -272
- 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 +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +780 -683
- package/out/src/WorldContext.sol/WorldContextProvider.json +743 -683
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
- 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 +39 -39
- package/out/world/src/IERC165.sol/IERC165.json +63 -57
- package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
- package/package.json +8 -8
@@ -68,7 +68,7 @@
|
|
68
68
|
"call(bytes32,bytes)": "3ae7af08",
|
69
69
|
"callFrom(address,bytes32,bytes)": "894ecc58"
|
70
70
|
},
|
71
|
-
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{
|
71
|
+
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This interface defines the contract for executing calls on the World's systems.\",\"kind\":\"dev\",\"methods\":{\"call(bytes32,bytes)\":{\"details\":\"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"callFrom(address,bytes32,bytes)\":{\"details\":\"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"delegator\":\"The address on whose behalf the call is made.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}}},\"title\":\"World Call Interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID.\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol\":\"IWorldCall\"},\"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/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"/home/runner/work/mud/mud/packages/world/src/IModule.sol\":{\"keccak256\":\"0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3\",\"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"/home/runner/work/mud/mud/packages/world/src/constants.sol\":{\"keccak256\":\"0x36c772d51a5da46fcddf88831194d6d331083b8c8246fa79107c4b697c258d77\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d2656374c398a2b075d5f26d2ab2c3ea315c99912e52d8030d50f5f8fdda8ac\",\"dweb:/ipfs/QmSG8uJr2ZbFVnht5cTG6xb6XbB6f3kvnznks4BdeAMYET\"]},\"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"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}",
|
72
72
|
"metadata": {
|
73
73
|
"compiler": {
|
74
74
|
"version": "0.8.21+commit.d9974bed"
|
@@ -132,17 +132,39 @@
|
|
132
132
|
],
|
133
133
|
"devdoc": {
|
134
134
|
"kind": "dev",
|
135
|
-
"methods": {
|
135
|
+
"methods": {
|
136
|
+
"call(bytes32,bytes)": {
|
137
|
+
"details": "If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).",
|
138
|
+
"params": {
|
139
|
+
"callData": "The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.",
|
140
|
+
"systemId": "The ID of the system to be called."
|
141
|
+
},
|
142
|
+
"returns": {
|
143
|
+
"_0": "The abi encoded return data from the called system."
|
144
|
+
}
|
145
|
+
},
|
146
|
+
"callFrom(address,bytes32,bytes)": {
|
147
|
+
"details": "If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).",
|
148
|
+
"params": {
|
149
|
+
"callData": "The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.",
|
150
|
+
"delegator": "The address on whose behalf the call is made.",
|
151
|
+
"systemId": "The ID of the system to be called."
|
152
|
+
},
|
153
|
+
"returns": {
|
154
|
+
"_0": "The abi encoded return data from the called system."
|
155
|
+
}
|
156
|
+
}
|
157
|
+
},
|
136
158
|
"version": 1
|
137
159
|
},
|
138
160
|
"userdoc": {
|
139
161
|
"kind": "user",
|
140
162
|
"methods": {
|
141
163
|
"call(bytes32,bytes)": {
|
142
|
-
"notice": "Call the system at the given system ID.
|
164
|
+
"notice": "Call the system at the given system ID."
|
143
165
|
},
|
144
166
|
"callFrom(address,bytes32,bytes)": {
|
145
|
-
"notice": "Call the system at the given system ID on behalf of the given delegator.
|
167
|
+
"notice": "Call the system at the given system ID on behalf of the given delegator."
|
146
168
|
}
|
147
169
|
},
|
148
170
|
"version": 1
|
@@ -168,42 +190,42 @@
|
|
168
190
|
},
|
169
191
|
"sources": {
|
170
192
|
"/home/runner/work/mud/mud/packages/world/src/IERC165.sol": {
|
171
|
-
"keccak256": "
|
193
|
+
"keccak256": "0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47",
|
172
194
|
"urls": [
|
173
|
-
"bzz-raw://
|
174
|
-
"dweb:/ipfs/
|
195
|
+
"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5",
|
196
|
+
"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y"
|
175
197
|
],
|
176
198
|
"license": "MIT"
|
177
199
|
},
|
178
200
|
"/home/runner/work/mud/mud/packages/world/src/IModule.sol": {
|
179
|
-
"keccak256": "
|
201
|
+
"keccak256": "0xec02d49b84a882c9cf01e4e5c16f890ed7c52db945fd43a6f97ffe87730ba0d3",
|
180
202
|
"urls": [
|
181
|
-
"bzz-raw://
|
182
|
-
"dweb:/ipfs/
|
203
|
+
"bzz-raw://8f8ee1a3aaac5789b36808bdae2e26e32d1664583a6b21680b5721f04d81bbc3",
|
204
|
+
"dweb:/ipfs/Qmd4L3vGQiavSCe9g2k7riyA6cer3ruuxRFehAJCSxNRfw"
|
183
205
|
],
|
184
206
|
"license": "MIT"
|
185
207
|
},
|
186
208
|
"/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol": {
|
187
|
-
"keccak256": "
|
209
|
+
"keccak256": "0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7",
|
188
210
|
"urls": [
|
189
|
-
"bzz-raw://
|
190
|
-
"dweb:/ipfs/
|
211
|
+
"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83",
|
212
|
+
"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4"
|
191
213
|
],
|
192
214
|
"license": "MIT"
|
193
215
|
},
|
194
216
|
"/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol": {
|
195
|
-
"keccak256": "
|
217
|
+
"keccak256": "0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb",
|
196
218
|
"urls": [
|
197
|
-
"bzz-raw://
|
198
|
-
"dweb:/ipfs/
|
219
|
+
"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c",
|
220
|
+
"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs"
|
199
221
|
],
|
200
222
|
"license": "MIT"
|
201
223
|
},
|
202
224
|
"/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol": {
|
203
|
-
"keccak256": "
|
225
|
+
"keccak256": "0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417",
|
204
226
|
"urls": [
|
205
|
-
"bzz-raw://
|
206
|
-
"dweb:/ipfs/
|
227
|
+
"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb",
|
228
|
+
"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK"
|
207
229
|
],
|
208
230
|
"license": "MIT"
|
209
231
|
},
|
@@ -216,10 +238,10 @@
|
|
216
238
|
"license": "MIT"
|
217
239
|
},
|
218
240
|
"/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol": {
|
219
|
-
"keccak256": "
|
241
|
+
"keccak256": "0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746",
|
220
242
|
"urls": [
|
221
|
-
"bzz-raw://
|
222
|
-
"dweb:/ipfs/
|
243
|
+
"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2",
|
244
|
+
"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9"
|
223
245
|
],
|
224
246
|
"license": "MIT"
|
225
247
|
},
|
@@ -252,32 +274,32 @@
|
|
252
274
|
},
|
253
275
|
"ast": {
|
254
276
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldKernel.sol",
|
255
|
-
"id":
|
277
|
+
"id": 23245,
|
256
278
|
"exportedSymbols": {
|
257
279
|
"IModule": [
|
258
|
-
|
280
|
+
22985
|
259
281
|
],
|
260
282
|
"IWorldCall": [
|
261
|
-
|
283
|
+
23212
|
262
284
|
],
|
263
285
|
"IWorldErrors": [
|
264
|
-
|
286
|
+
23167
|
265
287
|
],
|
266
288
|
"IWorldKernel": [
|
267
|
-
|
289
|
+
23244
|
268
290
|
],
|
269
291
|
"IWorldModuleInstallation": [
|
270
|
-
|
292
|
+
23186
|
271
293
|
],
|
272
294
|
"ResourceId": [
|
273
|
-
|
295
|
+
26238
|
274
296
|
]
|
275
297
|
},
|
276
298
|
"nodeType": "SourceUnit",
|
277
|
-
"src": "32:
|
299
|
+
"src": "32:3258:39",
|
278
300
|
"nodes": [
|
279
301
|
{
|
280
|
-
"id":
|
302
|
+
"id": 23169,
|
281
303
|
"nodeType": "PragmaDirective",
|
282
304
|
"src": "32:25:39",
|
283
305
|
"nodes": [],
|
@@ -289,23 +311,23 @@
|
|
289
311
|
]
|
290
312
|
},
|
291
313
|
{
|
292
|
-
"id":
|
314
|
+
"id": 23171,
|
293
315
|
"nodeType": "ImportDirective",
|
294
316
|
"src": "59:50:39",
|
295
317
|
"nodes": [],
|
296
318
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol",
|
297
319
|
"file": "./IWorldErrors.sol",
|
298
320
|
"nameLocation": "-1:-1:-1",
|
299
|
-
"scope":
|
300
|
-
"sourceUnit":
|
321
|
+
"scope": 23245,
|
322
|
+
"sourceUnit": 23168,
|
301
323
|
"symbolAliases": [
|
302
324
|
{
|
303
325
|
"foreign": {
|
304
|
-
"id":
|
326
|
+
"id": 23170,
|
305
327
|
"name": "IWorldErrors",
|
306
328
|
"nodeType": "Identifier",
|
307
329
|
"overloadedDeclarations": [],
|
308
|
-
"referencedDeclaration":
|
330
|
+
"referencedDeclaration": 23167,
|
309
331
|
"src": "68:12:39",
|
310
332
|
"typeDescriptions": {}
|
311
333
|
},
|
@@ -315,23 +337,23 @@
|
|
315
337
|
"unitAlias": ""
|
316
338
|
},
|
317
339
|
{
|
318
|
-
"id":
|
340
|
+
"id": 23173,
|
319
341
|
"nodeType": "ImportDirective",
|
320
342
|
"src": "110:40:39",
|
321
343
|
"nodes": [],
|
322
344
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IModule.sol",
|
323
345
|
"file": "./IModule.sol",
|
324
346
|
"nameLocation": "-1:-1:-1",
|
325
|
-
"scope":
|
326
|
-
"sourceUnit":
|
347
|
+
"scope": 23245,
|
348
|
+
"sourceUnit": 22986,
|
327
349
|
"symbolAliases": [
|
328
350
|
{
|
329
351
|
"foreign": {
|
330
|
-
"id":
|
352
|
+
"id": 23172,
|
331
353
|
"name": "IModule",
|
332
354
|
"nodeType": "Identifier",
|
333
355
|
"overloadedDeclarations": [],
|
334
|
-
"referencedDeclaration":
|
356
|
+
"referencedDeclaration": 22985,
|
335
357
|
"src": "119:7:39",
|
336
358
|
"typeDescriptions": {}
|
337
359
|
},
|
@@ -341,23 +363,23 @@
|
|
341
363
|
"unitAlias": ""
|
342
364
|
},
|
343
365
|
{
|
344
|
-
"id":
|
366
|
+
"id": 23175,
|
345
367
|
"nodeType": "ImportDirective",
|
346
368
|
"src": "151:51:39",
|
347
369
|
"nodes": [],
|
348
370
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
|
349
371
|
"file": "./WorldResourceId.sol",
|
350
372
|
"nameLocation": "-1:-1:-1",
|
351
|
-
"scope":
|
352
|
-
"sourceUnit":
|
373
|
+
"scope": 23245,
|
374
|
+
"sourceUnit": 23759,
|
353
375
|
"symbolAliases": [
|
354
376
|
{
|
355
377
|
"foreign": {
|
356
|
-
"id":
|
378
|
+
"id": 23174,
|
357
379
|
"name": "ResourceId",
|
358
380
|
"nodeType": "Identifier",
|
359
381
|
"overloadedDeclarations": [],
|
360
|
-
"referencedDeclaration":
|
382
|
+
"referencedDeclaration": 26238,
|
361
383
|
"src": "160:10:39",
|
362
384
|
"typeDescriptions": {}
|
363
385
|
},
|
@@ -367,63 +389,63 @@
|
|
367
389
|
"unitAlias": ""
|
368
390
|
},
|
369
391
|
{
|
370
|
-
"id":
|
392
|
+
"id": 23186,
|
371
393
|
"nodeType": "ContractDefinition",
|
372
|
-
"src": "
|
394
|
+
"src": "354:420:39",
|
373
395
|
"nodes": [
|
374
396
|
{
|
375
|
-
"id":
|
397
|
+
"id": 23185,
|
376
398
|
"nodeType": "FunctionDefinition",
|
377
|
-
"src": "
|
399
|
+
"src": "701:71:39",
|
378
400
|
"nodes": [],
|
379
401
|
"documentation": {
|
380
|
-
"id":
|
402
|
+
"id": 23177,
|
381
403
|
"nodeType": "StructuredDocumentation",
|
382
|
-
"src": "
|
383
|
-
"text": " Install the given root module in the World.\n Requires the caller to own the root namespace
|
404
|
+
"src": "393:305:39",
|
405
|
+
"text": " @notice Install the given root module in the World.\n @dev Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\n @param module The module to be installed.\n @param args The arguments provided for the module installation."
|
384
406
|
},
|
385
407
|
"functionSelector": "af068c9e",
|
386
408
|
"implemented": false,
|
387
409
|
"kind": "function",
|
388
410
|
"modifiers": [],
|
389
411
|
"name": "installRootModule",
|
390
|
-
"nameLocation": "
|
412
|
+
"nameLocation": "710:17:39",
|
391
413
|
"parameters": {
|
392
|
-
"id":
|
414
|
+
"id": 23183,
|
393
415
|
"nodeType": "ParameterList",
|
394
416
|
"parameters": [
|
395
417
|
{
|
396
418
|
"constant": false,
|
397
|
-
"id":
|
419
|
+
"id": 23180,
|
398
420
|
"mutability": "mutable",
|
399
421
|
"name": "module",
|
400
|
-
"nameLocation": "
|
422
|
+
"nameLocation": "736:6:39",
|
401
423
|
"nodeType": "VariableDeclaration",
|
402
|
-
"scope":
|
403
|
-
"src": "
|
424
|
+
"scope": 23185,
|
425
|
+
"src": "728:14:39",
|
404
426
|
"stateVariable": false,
|
405
427
|
"storageLocation": "default",
|
406
428
|
"typeDescriptions": {
|
407
|
-
"typeIdentifier": "t_contract$_IModule_$
|
429
|
+
"typeIdentifier": "t_contract$_IModule_$22985",
|
408
430
|
"typeString": "contract IModule"
|
409
431
|
},
|
410
432
|
"typeName": {
|
411
|
-
"id":
|
433
|
+
"id": 23179,
|
412
434
|
"nodeType": "UserDefinedTypeName",
|
413
435
|
"pathNode": {
|
414
|
-
"id":
|
436
|
+
"id": 23178,
|
415
437
|
"name": "IModule",
|
416
438
|
"nameLocations": [
|
417
|
-
"
|
439
|
+
"728:7:39"
|
418
440
|
],
|
419
441
|
"nodeType": "IdentifierPath",
|
420
|
-
"referencedDeclaration":
|
421
|
-
"src": "
|
442
|
+
"referencedDeclaration": 22985,
|
443
|
+
"src": "728:7:39"
|
422
444
|
},
|
423
|
-
"referencedDeclaration":
|
424
|
-
"src": "
|
445
|
+
"referencedDeclaration": 22985,
|
446
|
+
"src": "728:7:39",
|
425
447
|
"typeDescriptions": {
|
426
|
-
"typeIdentifier": "t_contract$_IModule_$
|
448
|
+
"typeIdentifier": "t_contract$_IModule_$22985",
|
427
449
|
"typeString": "contract IModule"
|
428
450
|
}
|
429
451
|
},
|
@@ -431,13 +453,13 @@
|
|
431
453
|
},
|
432
454
|
{
|
433
455
|
"constant": false,
|
434
|
-
"id":
|
456
|
+
"id": 23182,
|
435
457
|
"mutability": "mutable",
|
436
458
|
"name": "args",
|
437
|
-
"nameLocation": "
|
459
|
+
"nameLocation": "757:4:39",
|
438
460
|
"nodeType": "VariableDeclaration",
|
439
|
-
"scope":
|
440
|
-
"src": "
|
461
|
+
"scope": 23185,
|
462
|
+
"src": "744:17:39",
|
441
463
|
"stateVariable": false,
|
442
464
|
"storageLocation": "memory",
|
443
465
|
"typeDescriptions": {
|
@@ -445,10 +467,10 @@
|
|
445
467
|
"typeString": "bytes"
|
446
468
|
},
|
447
469
|
"typeName": {
|
448
|
-
"id":
|
470
|
+
"id": 23181,
|
449
471
|
"name": "bytes",
|
450
472
|
"nodeType": "ElementaryTypeName",
|
451
|
-
"src": "
|
473
|
+
"src": "744:5:39",
|
452
474
|
"typeDescriptions": {
|
453
475
|
"typeIdentifier": "t_bytes_storage_ptr",
|
454
476
|
"typeString": "bytes"
|
@@ -457,15 +479,15 @@
|
|
457
479
|
"visibility": "internal"
|
458
480
|
}
|
459
481
|
],
|
460
|
-
"src": "
|
482
|
+
"src": "727:35:39"
|
461
483
|
},
|
462
484
|
"returnParameters": {
|
463
|
-
"id":
|
485
|
+
"id": 23184,
|
464
486
|
"nodeType": "ParameterList",
|
465
487
|
"parameters": [],
|
466
|
-
"src": "
|
488
|
+
"src": "771:0:39"
|
467
489
|
},
|
468
|
-
"scope":
|
490
|
+
"scope": 23186,
|
469
491
|
"stateMutability": "nonpayable",
|
470
492
|
"virtual": false,
|
471
493
|
"visibility": "external"
|
@@ -476,74 +498,80 @@
|
|
476
498
|
"canonicalName": "IWorldModuleInstallation",
|
477
499
|
"contractDependencies": [],
|
478
500
|
"contractKind": "interface",
|
501
|
+
"documentation": {
|
502
|
+
"id": 23176,
|
503
|
+
"nodeType": "StructuredDocumentation",
|
504
|
+
"src": "204:149:39",
|
505
|
+
"text": " @title World Module Installation Interface\n @dev This interface defines the contract responsible for managing root modules installation."
|
506
|
+
},
|
479
507
|
"fullyImplemented": false,
|
480
508
|
"linearizedBaseContracts": [
|
481
|
-
|
509
|
+
23186
|
482
510
|
],
|
483
511
|
"name": "IWorldModuleInstallation",
|
484
|
-
"nameLocation": "
|
485
|
-
"scope":
|
512
|
+
"nameLocation": "364:24:39",
|
513
|
+
"scope": 23245,
|
486
514
|
"usedErrors": [],
|
487
515
|
"usedEvents": []
|
488
516
|
},
|
489
517
|
{
|
490
|
-
"id":
|
518
|
+
"id": 23212,
|
491
519
|
"nodeType": "ContractDefinition",
|
492
|
-
"src": "
|
520
|
+
"src": "903:1234:39",
|
493
521
|
"nodes": [
|
494
522
|
{
|
495
|
-
"id":
|
523
|
+
"id": 23198,
|
496
524
|
"nodeType": "FunctionDefinition",
|
497
|
-
"src": "
|
525
|
+
"src": "1360:98:39",
|
498
526
|
"nodes": [],
|
499
527
|
"documentation": {
|
500
|
-
"id":
|
528
|
+
"id": 23188,
|
501
529
|
"nodeType": "StructuredDocumentation",
|
502
|
-
"src": "
|
503
|
-
"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)."
|
530
|
+
"src": "928:429:39",
|
531
|
+
"text": " @notice Call the system at the given system ID.\n @dev If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\n @param systemId The ID of the system to be called.\n @param callData The data to pass with the call,\n function selector (4 bytes) followed by the ABI encoded parameters.\n @return The abi encoded return data from the called system."
|
504
532
|
},
|
505
533
|
"functionSelector": "3ae7af08",
|
506
534
|
"implemented": false,
|
507
535
|
"kind": "function",
|
508
536
|
"modifiers": [],
|
509
537
|
"name": "call",
|
510
|
-
"nameLocation": "
|
538
|
+
"nameLocation": "1369:4:39",
|
511
539
|
"parameters": {
|
512
|
-
"id":
|
540
|
+
"id": 23194,
|
513
541
|
"nodeType": "ParameterList",
|
514
542
|
"parameters": [
|
515
543
|
{
|
516
544
|
"constant": false,
|
517
|
-
"id":
|
545
|
+
"id": 23191,
|
518
546
|
"mutability": "mutable",
|
519
547
|
"name": "systemId",
|
520
|
-
"nameLocation": "
|
548
|
+
"nameLocation": "1385:8:39",
|
521
549
|
"nodeType": "VariableDeclaration",
|
522
|
-
"scope":
|
523
|
-
"src": "
|
550
|
+
"scope": 23198,
|
551
|
+
"src": "1374:19:39",
|
524
552
|
"stateVariable": false,
|
525
553
|
"storageLocation": "default",
|
526
554
|
"typeDescriptions": {
|
527
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
555
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
528
556
|
"typeString": "ResourceId"
|
529
557
|
},
|
530
558
|
"typeName": {
|
531
|
-
"id":
|
559
|
+
"id": 23190,
|
532
560
|
"nodeType": "UserDefinedTypeName",
|
533
561
|
"pathNode": {
|
534
|
-
"id":
|
562
|
+
"id": 23189,
|
535
563
|
"name": "ResourceId",
|
536
564
|
"nameLocations": [
|
537
|
-
"
|
565
|
+
"1374:10:39"
|
538
566
|
],
|
539
567
|
"nodeType": "IdentifierPath",
|
540
|
-
"referencedDeclaration":
|
541
|
-
"src": "
|
568
|
+
"referencedDeclaration": 26238,
|
569
|
+
"src": "1374:10:39"
|
542
570
|
},
|
543
|
-
"referencedDeclaration":
|
544
|
-
"src": "
|
571
|
+
"referencedDeclaration": 26238,
|
572
|
+
"src": "1374:10:39",
|
545
573
|
"typeDescriptions": {
|
546
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
574
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
547
575
|
"typeString": "ResourceId"
|
548
576
|
}
|
549
577
|
},
|
@@ -551,13 +579,13 @@
|
|
551
579
|
},
|
552
580
|
{
|
553
581
|
"constant": false,
|
554
|
-
"id":
|
582
|
+
"id": 23193,
|
555
583
|
"mutability": "mutable",
|
556
584
|
"name": "callData",
|
557
|
-
"nameLocation": "
|
585
|
+
"nameLocation": "1408:8:39",
|
558
586
|
"nodeType": "VariableDeclaration",
|
559
|
-
"scope":
|
560
|
-
"src": "
|
587
|
+
"scope": 23198,
|
588
|
+
"src": "1395:21:39",
|
561
589
|
"stateVariable": false,
|
562
590
|
"storageLocation": "memory",
|
563
591
|
"typeDescriptions": {
|
@@ -565,10 +593,10 @@
|
|
565
593
|
"typeString": "bytes"
|
566
594
|
},
|
567
595
|
"typeName": {
|
568
|
-
"id":
|
596
|
+
"id": 23192,
|
569
597
|
"name": "bytes",
|
570
598
|
"nodeType": "ElementaryTypeName",
|
571
|
-
"src": "
|
599
|
+
"src": "1395:5:39",
|
572
600
|
"typeDescriptions": {
|
573
601
|
"typeIdentifier": "t_bytes_storage_ptr",
|
574
602
|
"typeString": "bytes"
|
@@ -577,21 +605,21 @@
|
|
577
605
|
"visibility": "internal"
|
578
606
|
}
|
579
607
|
],
|
580
|
-
"src": "
|
608
|
+
"src": "1373:44:39"
|
581
609
|
},
|
582
610
|
"returnParameters": {
|
583
|
-
"id":
|
611
|
+
"id": 23197,
|
584
612
|
"nodeType": "ParameterList",
|
585
613
|
"parameters": [
|
586
614
|
{
|
587
615
|
"constant": false,
|
588
|
-
"id":
|
616
|
+
"id": 23196,
|
589
617
|
"mutability": "mutable",
|
590
618
|
"name": "",
|
591
619
|
"nameLocation": "-1:-1:-1",
|
592
620
|
"nodeType": "VariableDeclaration",
|
593
|
-
"scope":
|
594
|
-
"src": "
|
621
|
+
"scope": 23198,
|
622
|
+
"src": "1444:12:39",
|
595
623
|
"stateVariable": false,
|
596
624
|
"storageLocation": "memory",
|
597
625
|
"typeDescriptions": {
|
@@ -599,10 +627,10 @@
|
|
599
627
|
"typeString": "bytes"
|
600
628
|
},
|
601
629
|
"typeName": {
|
602
|
-
"id":
|
630
|
+
"id": 23195,
|
603
631
|
"name": "bytes",
|
604
632
|
"nodeType": "ElementaryTypeName",
|
605
|
-
"src": "
|
633
|
+
"src": "1444:5:39",
|
606
634
|
"typeDescriptions": {
|
607
635
|
"typeIdentifier": "t_bytes_storage_ptr",
|
608
636
|
"typeString": "bytes"
|
@@ -611,43 +639,43 @@
|
|
611
639
|
"visibility": "internal"
|
612
640
|
}
|
613
641
|
],
|
614
|
-
"src": "
|
642
|
+
"src": "1443:14:39"
|
615
643
|
},
|
616
|
-
"scope":
|
644
|
+
"scope": 23212,
|
617
645
|
"stateMutability": "payable",
|
618
646
|
"virtual": false,
|
619
647
|
"visibility": "external"
|
620
648
|
},
|
621
649
|
{
|
622
|
-
"id":
|
650
|
+
"id": 23211,
|
623
651
|
"nodeType": "FunctionDefinition",
|
624
|
-
"src": "
|
652
|
+
"src": "1998:137:39",
|
625
653
|
"nodes": [],
|
626
654
|
"documentation": {
|
627
|
-
"id":
|
655
|
+
"id": 23199,
|
628
656
|
"nodeType": "StructuredDocumentation",
|
629
|
-
"src": "
|
630
|
-
"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)."
|
657
|
+
"src": "1462:533:39",
|
658
|
+
"text": " @notice Call the system at the given system ID on behalf of the given delegator.\n @dev If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\n @param delegator The address on whose behalf the call is made.\n @param systemId The ID of the system to be called.\n @param callData The data to pass with the call,\n function selector (4 bytes) followed by the ABI encoded parameters.\n @return The abi encoded return data from the called system."
|
631
659
|
},
|
632
660
|
"functionSelector": "894ecc58",
|
633
661
|
"implemented": false,
|
634
662
|
"kind": "function",
|
635
663
|
"modifiers": [],
|
636
664
|
"name": "callFrom",
|
637
|
-
"nameLocation": "
|
665
|
+
"nameLocation": "2007:8:39",
|
638
666
|
"parameters": {
|
639
|
-
"id":
|
667
|
+
"id": 23207,
|
640
668
|
"nodeType": "ParameterList",
|
641
669
|
"parameters": [
|
642
670
|
{
|
643
671
|
"constant": false,
|
644
|
-
"id":
|
672
|
+
"id": 23201,
|
645
673
|
"mutability": "mutable",
|
646
674
|
"name": "delegator",
|
647
|
-
"nameLocation": "
|
675
|
+
"nameLocation": "2029:9:39",
|
648
676
|
"nodeType": "VariableDeclaration",
|
649
|
-
"scope":
|
650
|
-
"src": "
|
677
|
+
"scope": 23211,
|
678
|
+
"src": "2021:17:39",
|
651
679
|
"stateVariable": false,
|
652
680
|
"storageLocation": "default",
|
653
681
|
"typeDescriptions": {
|
@@ -655,10 +683,10 @@
|
|
655
683
|
"typeString": "address"
|
656
684
|
},
|
657
685
|
"typeName": {
|
658
|
-
"id":
|
686
|
+
"id": 23200,
|
659
687
|
"name": "address",
|
660
688
|
"nodeType": "ElementaryTypeName",
|
661
|
-
"src": "
|
689
|
+
"src": "2021:7:39",
|
662
690
|
"stateMutability": "nonpayable",
|
663
691
|
"typeDescriptions": {
|
664
692
|
"typeIdentifier": "t_address",
|
@@ -669,36 +697,36 @@
|
|
669
697
|
},
|
670
698
|
{
|
671
699
|
"constant": false,
|
672
|
-
"id":
|
700
|
+
"id": 23204,
|
673
701
|
"mutability": "mutable",
|
674
702
|
"name": "systemId",
|
675
|
-
"nameLocation": "
|
703
|
+
"nameLocation": "2055:8:39",
|
676
704
|
"nodeType": "VariableDeclaration",
|
677
|
-
"scope":
|
678
|
-
"src": "
|
705
|
+
"scope": 23211,
|
706
|
+
"src": "2044:19:39",
|
679
707
|
"stateVariable": false,
|
680
708
|
"storageLocation": "default",
|
681
709
|
"typeDescriptions": {
|
682
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
710
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
683
711
|
"typeString": "ResourceId"
|
684
712
|
},
|
685
713
|
"typeName": {
|
686
|
-
"id":
|
714
|
+
"id": 23203,
|
687
715
|
"nodeType": "UserDefinedTypeName",
|
688
716
|
"pathNode": {
|
689
|
-
"id":
|
717
|
+
"id": 23202,
|
690
718
|
"name": "ResourceId",
|
691
719
|
"nameLocations": [
|
692
|
-
"
|
720
|
+
"2044:10:39"
|
693
721
|
],
|
694
722
|
"nodeType": "IdentifierPath",
|
695
|
-
"referencedDeclaration":
|
696
|
-
"src": "
|
723
|
+
"referencedDeclaration": 26238,
|
724
|
+
"src": "2044:10:39"
|
697
725
|
},
|
698
|
-
"referencedDeclaration":
|
699
|
-
"src": "
|
726
|
+
"referencedDeclaration": 26238,
|
727
|
+
"src": "2044:10:39",
|
700
728
|
"typeDescriptions": {
|
701
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
729
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
|
702
730
|
"typeString": "ResourceId"
|
703
731
|
}
|
704
732
|
},
|
@@ -706,13 +734,13 @@
|
|
706
734
|
},
|
707
735
|
{
|
708
736
|
"constant": false,
|
709
|
-
"id":
|
737
|
+
"id": 23206,
|
710
738
|
"mutability": "mutable",
|
711
739
|
"name": "callData",
|
712
|
-
"nameLocation": "
|
740
|
+
"nameLocation": "2082:8:39",
|
713
741
|
"nodeType": "VariableDeclaration",
|
714
|
-
"scope":
|
715
|
-
"src": "
|
742
|
+
"scope": 23211,
|
743
|
+
"src": "2069:21:39",
|
716
744
|
"stateVariable": false,
|
717
745
|
"storageLocation": "memory",
|
718
746
|
"typeDescriptions": {
|
@@ -720,10 +748,10 @@
|
|
720
748
|
"typeString": "bytes"
|
721
749
|
},
|
722
750
|
"typeName": {
|
723
|
-
"id":
|
751
|
+
"id": 23205,
|
724
752
|
"name": "bytes",
|
725
753
|
"nodeType": "ElementaryTypeName",
|
726
|
-
"src": "
|
754
|
+
"src": "2069:5:39",
|
727
755
|
"typeDescriptions": {
|
728
756
|
"typeIdentifier": "t_bytes_storage_ptr",
|
729
757
|
"typeString": "bytes"
|
@@ -732,21 +760,21 @@
|
|
732
760
|
"visibility": "internal"
|
733
761
|
}
|
734
762
|
],
|
735
|
-
"src": "
|
763
|
+
"src": "2015:79:39"
|
736
764
|
},
|
737
765
|
"returnParameters": {
|
738
|
-
"id":
|
766
|
+
"id": 23210,
|
739
767
|
"nodeType": "ParameterList",
|
740
768
|
"parameters": [
|
741
769
|
{
|
742
770
|
"constant": false,
|
743
|
-
"id":
|
771
|
+
"id": 23209,
|
744
772
|
"mutability": "mutable",
|
745
773
|
"name": "",
|
746
774
|
"nameLocation": "-1:-1:-1",
|
747
775
|
"nodeType": "VariableDeclaration",
|
748
|
-
"scope":
|
749
|
-
"src": "
|
776
|
+
"scope": 23211,
|
777
|
+
"src": "2121:12:39",
|
750
778
|
"stateVariable": false,
|
751
779
|
"storageLocation": "memory",
|
752
780
|
"typeDescriptions": {
|
@@ -754,10 +782,10 @@
|
|
754
782
|
"typeString": "bytes"
|
755
783
|
},
|
756
784
|
"typeName": {
|
757
|
-
"id":
|
785
|
+
"id": 23208,
|
758
786
|
"name": "bytes",
|
759
787
|
"nodeType": "ElementaryTypeName",
|
760
|
-
"src": "
|
788
|
+
"src": "2121:5:39",
|
761
789
|
"typeDescriptions": {
|
762
790
|
"typeIdentifier": "t_bytes_storage_ptr",
|
763
791
|
"typeString": "bytes"
|
@@ -766,9 +794,9 @@
|
|
766
794
|
"visibility": "internal"
|
767
795
|
}
|
768
796
|
],
|
769
|
-
"src": "
|
797
|
+
"src": "2120:14:39"
|
770
798
|
},
|
771
|
-
"scope":
|
799
|
+
"scope": 23212,
|
772
800
|
"stateMutability": "payable",
|
773
801
|
"virtual": false,
|
774
802
|
"visibility": "external"
|
@@ -779,44 +807,56 @@
|
|
779
807
|
"canonicalName": "IWorldCall",
|
780
808
|
"contractDependencies": [],
|
781
809
|
"contractKind": "interface",
|
810
|
+
"documentation": {
|
811
|
+
"id": 23187,
|
812
|
+
"nodeType": "StructuredDocumentation",
|
813
|
+
"src": "776:126:39",
|
814
|
+
"text": " @title World Call Interface\n @dev This interface defines the contract for executing calls on the World's systems."
|
815
|
+
},
|
782
816
|
"fullyImplemented": false,
|
783
817
|
"linearizedBaseContracts": [
|
784
|
-
|
818
|
+
23212
|
785
819
|
],
|
786
820
|
"name": "IWorldCall",
|
787
|
-
"nameLocation": "
|
788
|
-
"scope":
|
821
|
+
"nameLocation": "913:10:39",
|
822
|
+
"scope": 23245,
|
789
823
|
"usedErrors": [],
|
790
824
|
"usedEvents": []
|
791
825
|
},
|
792
826
|
{
|
793
|
-
"id":
|
827
|
+
"id": 23244,
|
794
828
|
"nodeType": "ContractDefinition",
|
795
|
-
"src": "
|
829
|
+
"src": "2440:849:39",
|
796
830
|
"nodes": [
|
797
831
|
{
|
798
|
-
"id":
|
832
|
+
"id": 23224,
|
799
833
|
"nodeType": "EventDefinition",
|
800
|
-
"src": "
|
834
|
+
"src": "2658:47:39",
|
801
835
|
"nodes": [],
|
802
836
|
"anonymous": false,
|
837
|
+
"documentation": {
|
838
|
+
"id": 23220,
|
839
|
+
"nodeType": "StructuredDocumentation",
|
840
|
+
"src": "2521:134:39",
|
841
|
+
"text": " @dev Emitted upon successful World initialization.\n @param worldVersion The version of the World being initialized."
|
842
|
+
},
|
803
843
|
"eventSelector": "7f8f36afe3fb61c459c1a54a60b8a477eab02cc58e49f547561a40906239cb82",
|
804
844
|
"name": "HelloWorld",
|
805
|
-
"nameLocation": "
|
845
|
+
"nameLocation": "2664:10:39",
|
806
846
|
"parameters": {
|
807
|
-
"id":
|
847
|
+
"id": 23223,
|
808
848
|
"nodeType": "ParameterList",
|
809
849
|
"parameters": [
|
810
850
|
{
|
811
851
|
"constant": false,
|
812
|
-
"id":
|
852
|
+
"id": 23222,
|
813
853
|
"indexed": true,
|
814
854
|
"mutability": "mutable",
|
815
855
|
"name": "worldVersion",
|
816
|
-
"nameLocation": "
|
856
|
+
"nameLocation": "2691:12:39",
|
817
857
|
"nodeType": "VariableDeclaration",
|
818
|
-
"scope":
|
819
|
-
"src": "
|
858
|
+
"scope": 23224,
|
859
|
+
"src": "2675:28:39",
|
820
860
|
"stateVariable": false,
|
821
861
|
"storageLocation": "default",
|
822
862
|
"typeDescriptions": {
|
@@ -824,10 +864,10 @@
|
|
824
864
|
"typeString": "bytes32"
|
825
865
|
},
|
826
866
|
"typeName": {
|
827
|
-
"id":
|
867
|
+
"id": 23221,
|
828
868
|
"name": "bytes32",
|
829
869
|
"nodeType": "ElementaryTypeName",
|
830
|
-
"src": "
|
870
|
+
"src": "2675:7:39",
|
831
871
|
"typeDescriptions": {
|
832
872
|
"typeIdentifier": "t_bytes32",
|
833
873
|
"typeString": "bytes32"
|
@@ -836,45 +876,45 @@
|
|
836
876
|
"visibility": "internal"
|
837
877
|
}
|
838
878
|
],
|
839
|
-
"src": "
|
879
|
+
"src": "2674:30:39"
|
840
880
|
}
|
841
881
|
},
|
842
882
|
{
|
843
|
-
"id":
|
883
|
+
"id": 23230,
|
844
884
|
"nodeType": "FunctionDefinition",
|
845
|
-
"src": "
|
885
|
+
"src": "2819:56:39",
|
846
886
|
"nodes": [],
|
847
887
|
"documentation": {
|
848
|
-
"id":
|
888
|
+
"id": 23225,
|
849
889
|
"nodeType": "StructuredDocumentation",
|
850
|
-
"src": "
|
851
|
-
"text": " The version of the World."
|
890
|
+
"src": "2709:107:39",
|
891
|
+
"text": " @notice Retrieve the version of the World.\n @return The version identifier of the World."
|
852
892
|
},
|
853
893
|
"functionSelector": "6951955d",
|
854
894
|
"implemented": false,
|
855
895
|
"kind": "function",
|
856
896
|
"modifiers": [],
|
857
897
|
"name": "worldVersion",
|
858
|
-
"nameLocation": "
|
898
|
+
"nameLocation": "2828:12:39",
|
859
899
|
"parameters": {
|
860
|
-
"id":
|
900
|
+
"id": 23226,
|
861
901
|
"nodeType": "ParameterList",
|
862
902
|
"parameters": [],
|
863
|
-
"src": "
|
903
|
+
"src": "2840:2:39"
|
864
904
|
},
|
865
905
|
"returnParameters": {
|
866
|
-
"id":
|
906
|
+
"id": 23229,
|
867
907
|
"nodeType": "ParameterList",
|
868
908
|
"parameters": [
|
869
909
|
{
|
870
910
|
"constant": false,
|
871
|
-
"id":
|
911
|
+
"id": 23228,
|
872
912
|
"mutability": "mutable",
|
873
913
|
"name": "",
|
874
914
|
"nameLocation": "-1:-1:-1",
|
875
915
|
"nodeType": "VariableDeclaration",
|
876
|
-
"scope":
|
877
|
-
"src": "
|
916
|
+
"scope": 23230,
|
917
|
+
"src": "2866:7:39",
|
878
918
|
"stateVariable": false,
|
879
919
|
"storageLocation": "default",
|
880
920
|
"typeDescriptions": {
|
@@ -882,10 +922,10 @@
|
|
882
922
|
"typeString": "bytes32"
|
883
923
|
},
|
884
924
|
"typeName": {
|
885
|
-
"id":
|
925
|
+
"id": 23227,
|
886
926
|
"name": "bytes32",
|
887
927
|
"nodeType": "ElementaryTypeName",
|
888
|
-
"src": "
|
928
|
+
"src": "2866:7:39",
|
889
929
|
"typeDescriptions": {
|
890
930
|
"typeIdentifier": "t_bytes32",
|
891
931
|
"typeString": "bytes32"
|
@@ -894,49 +934,49 @@
|
|
894
934
|
"visibility": "internal"
|
895
935
|
}
|
896
936
|
],
|
897
|
-
"src": "
|
937
|
+
"src": "2865:9:39"
|
898
938
|
},
|
899
|
-
"scope":
|
939
|
+
"scope": 23244,
|
900
940
|
"stateMutability": "view",
|
901
941
|
"virtual": false,
|
902
942
|
"visibility": "external"
|
903
943
|
},
|
904
944
|
{
|
905
|
-
"id":
|
945
|
+
"id": 23236,
|
906
946
|
"nodeType": "FunctionDefinition",
|
907
|
-
"src": "
|
947
|
+
"src": "3008:51:39",
|
908
948
|
"nodes": [],
|
909
949
|
"documentation": {
|
910
|
-
"id":
|
950
|
+
"id": 23231,
|
911
951
|
"nodeType": "StructuredDocumentation",
|
912
|
-
"src": "
|
913
|
-
"text": "
|
952
|
+
"src": "2879:126:39",
|
953
|
+
"text": " @notice Retrieve the immutable original deployer of the World.\n @return The address of the World's creator."
|
914
954
|
},
|
915
955
|
"functionSelector": "02d05d3f",
|
916
956
|
"implemented": false,
|
917
957
|
"kind": "function",
|
918
958
|
"modifiers": [],
|
919
959
|
"name": "creator",
|
920
|
-
"nameLocation": "
|
960
|
+
"nameLocation": "3017:7:39",
|
921
961
|
"parameters": {
|
922
|
-
"id":
|
962
|
+
"id": 23232,
|
923
963
|
"nodeType": "ParameterList",
|
924
964
|
"parameters": [],
|
925
|
-
"src": "
|
965
|
+
"src": "3024:2:39"
|
926
966
|
},
|
927
967
|
"returnParameters": {
|
928
|
-
"id":
|
968
|
+
"id": 23235,
|
929
969
|
"nodeType": "ParameterList",
|
930
970
|
"parameters": [
|
931
971
|
{
|
932
972
|
"constant": false,
|
933
|
-
"id":
|
973
|
+
"id": 23234,
|
934
974
|
"mutability": "mutable",
|
935
975
|
"name": "",
|
936
976
|
"nameLocation": "-1:-1:-1",
|
937
977
|
"nodeType": "VariableDeclaration",
|
938
|
-
"scope":
|
939
|
-
"src": "
|
978
|
+
"scope": 23236,
|
979
|
+
"src": "3050:7:39",
|
940
980
|
"stateVariable": false,
|
941
981
|
"storageLocation": "default",
|
942
982
|
"typeDescriptions": {
|
@@ -944,10 +984,10 @@
|
|
944
984
|
"typeString": "address"
|
945
985
|
},
|
946
986
|
"typeName": {
|
947
|
-
"id":
|
987
|
+
"id": 23233,
|
948
988
|
"name": "address",
|
949
989
|
"nodeType": "ElementaryTypeName",
|
950
|
-
"src": "
|
990
|
+
"src": "3050:7:39",
|
951
991
|
"stateMutability": "nonpayable",
|
952
992
|
"typeDescriptions": {
|
953
993
|
"typeIdentifier": "t_address",
|
@@ -957,81 +997,81 @@
|
|
957
997
|
"visibility": "internal"
|
958
998
|
}
|
959
999
|
],
|
960
|
-
"src": "
|
1000
|
+
"src": "3049:9:39"
|
961
1001
|
},
|
962
|
-
"scope":
|
1002
|
+
"scope": 23244,
|
963
1003
|
"stateMutability": "view",
|
964
1004
|
"virtual": false,
|
965
1005
|
"visibility": "external"
|
966
1006
|
},
|
967
1007
|
{
|
968
|
-
"id":
|
1008
|
+
"id": 23243,
|
969
1009
|
"nodeType": "FunctionDefinition",
|
970
|
-
"src": "
|
1010
|
+
"src": "3238:49:39",
|
971
1011
|
"nodes": [],
|
972
1012
|
"documentation": {
|
973
|
-
"id":
|
1013
|
+
"id": 23237,
|
974
1014
|
"nodeType": "StructuredDocumentation",
|
975
|
-
"src": "
|
976
|
-
"text": "
|
1015
|
+
"src": "3063:172:39",
|
1016
|
+
"text": " @notice Initializes the World.\n @dev Can only be called once by the creator.\n @param coreModule The CoreModule to be installed during initialization."
|
977
1017
|
},
|
978
1018
|
"functionSelector": "c4d66de8",
|
979
1019
|
"implemented": false,
|
980
1020
|
"kind": "function",
|
981
1021
|
"modifiers": [],
|
982
1022
|
"name": "initialize",
|
983
|
-
"nameLocation": "
|
1023
|
+
"nameLocation": "3247:10:39",
|
984
1024
|
"parameters": {
|
985
|
-
"id":
|
1025
|
+
"id": 23241,
|
986
1026
|
"nodeType": "ParameterList",
|
987
1027
|
"parameters": [
|
988
1028
|
{
|
989
1029
|
"constant": false,
|
990
|
-
"id":
|
1030
|
+
"id": 23240,
|
991
1031
|
"mutability": "mutable",
|
992
1032
|
"name": "coreModule",
|
993
|
-
"nameLocation": "
|
1033
|
+
"nameLocation": "3266:10:39",
|
994
1034
|
"nodeType": "VariableDeclaration",
|
995
|
-
"scope":
|
996
|
-
"src": "
|
1035
|
+
"scope": 23243,
|
1036
|
+
"src": "3258:18:39",
|
997
1037
|
"stateVariable": false,
|
998
1038
|
"storageLocation": "default",
|
999
1039
|
"typeDescriptions": {
|
1000
|
-
"typeIdentifier": "t_contract$_IModule_$
|
1040
|
+
"typeIdentifier": "t_contract$_IModule_$22985",
|
1001
1041
|
"typeString": "contract IModule"
|
1002
1042
|
},
|
1003
1043
|
"typeName": {
|
1004
|
-
"id":
|
1044
|
+
"id": 23239,
|
1005
1045
|
"nodeType": "UserDefinedTypeName",
|
1006
1046
|
"pathNode": {
|
1007
|
-
"id":
|
1047
|
+
"id": 23238,
|
1008
1048
|
"name": "IModule",
|
1009
1049
|
"nameLocations": [
|
1010
|
-
"
|
1050
|
+
"3258:7:39"
|
1011
1051
|
],
|
1012
1052
|
"nodeType": "IdentifierPath",
|
1013
|
-
"referencedDeclaration":
|
1014
|
-
"src": "
|
1053
|
+
"referencedDeclaration": 22985,
|
1054
|
+
"src": "3258:7:39"
|
1015
1055
|
},
|
1016
|
-
"referencedDeclaration":
|
1017
|
-
"src": "
|
1056
|
+
"referencedDeclaration": 22985,
|
1057
|
+
"src": "3258:7:39",
|
1018
1058
|
"typeDescriptions": {
|
1019
|
-
"typeIdentifier": "t_contract$_IModule_$
|
1059
|
+
"typeIdentifier": "t_contract$_IModule_$22985",
|
1020
1060
|
"typeString": "contract IModule"
|
1021
1061
|
}
|
1022
1062
|
},
|
1023
1063
|
"visibility": "internal"
|
1024
1064
|
}
|
1025
1065
|
],
|
1026
|
-
"src": "
|
1066
|
+
"src": "3257:20:39"
|
1027
1067
|
},
|
1028
1068
|
"returnParameters": {
|
1029
|
-
"id":
|
1069
|
+
"id": 23242,
|
1030
1070
|
"nodeType": "ParameterList",
|
1031
1071
|
"parameters": [],
|
1032
|
-
"src": "
|
1072
|
+
"src": "3286:0:39"
|
1033
1073
|
},
|
1034
|
-
"scope":
|
1074
|
+
"scope": 23244,
|
1035
1075
|
"stateMutability": "nonpayable",
|
1036
1076
|
"virtual": false,
|
1037
1077
|
"visibility": "external"
|
@@ -1041,87 +1081,87 @@
|
|
1041
1081
|
"baseContracts": [
|
1042
1082
|
{
|
1043
1083
|
"baseName": {
|
1044
|
-
"id":
|
1084
|
+
"id": 23214,
|
1045
1085
|
"name": "IWorldModuleInstallation",
|
1046
1086
|
"nameLocations": [
|
1047
|
-
"
|
1087
|
+
"2466:24:39"
|
1048
1088
|
],
|
1049
1089
|
"nodeType": "IdentifierPath",
|
1050
|
-
"referencedDeclaration":
|
1051
|
-
"src": "
|
1090
|
+
"referencedDeclaration": 23186,
|
1091
|
+
"src": "2466:24:39"
|
1052
1092
|
},
|
1053
|
-
"id":
|
1093
|
+
"id": 23215,
|
1054
1094
|
"nodeType": "InheritanceSpecifier",
|
1055
|
-
"src": "
|
1095
|
+
"src": "2466:24:39"
|
1056
1096
|
},
|
1057
1097
|
{
|
1058
1098
|
"baseName": {
|
1059
|
-
"id":
|
1099
|
+
"id": 23216,
|
1060
1100
|
"name": "IWorldCall",
|
1061
1101
|
"nameLocations": [
|
1062
|
-
"
|
1102
|
+
"2492:10:39"
|
1063
1103
|
],
|
1064
1104
|
"nodeType": "IdentifierPath",
|
1065
|
-
"referencedDeclaration":
|
1066
|
-
"src": "
|
1105
|
+
"referencedDeclaration": 23212,
|
1106
|
+
"src": "2492:10:39"
|
1067
1107
|
},
|
1068
|
-
"id":
|
1108
|
+
"id": 23217,
|
1069
1109
|
"nodeType": "InheritanceSpecifier",
|
1070
|
-
"src": "
|
1110
|
+
"src": "2492:10:39"
|
1071
1111
|
},
|
1072
1112
|
{
|
1073
1113
|
"baseName": {
|
1074
|
-
"id":
|
1114
|
+
"id": 23218,
|
1075
1115
|
"name": "IWorldErrors",
|
1076
1116
|
"nameLocations": [
|
1077
|
-
"
|
1117
|
+
"2504:12:39"
|
1078
1118
|
],
|
1079
1119
|
"nodeType": "IdentifierPath",
|
1080
|
-
"referencedDeclaration":
|
1081
|
-
"src": "
|
1120
|
+
"referencedDeclaration": 23167,
|
1121
|
+
"src": "2504:12:39"
|
1082
1122
|
},
|
1083
|
-
"id":
|
1123
|
+
"id": 23219,
|
1084
1124
|
"nodeType": "InheritanceSpecifier",
|
1085
|
-
"src": "
|
1125
|
+
"src": "2504:12:39"
|
1086
1126
|
}
|
1087
1127
|
],
|
1088
1128
|
"canonicalName": "IWorldKernel",
|
1089
1129
|
"contractDependencies": [],
|
1090
1130
|
"contractKind": "interface",
|
1091
1131
|
"documentation": {
|
1092
|
-
"id":
|
1132
|
+
"id": 23213,
|
1093
1133
|
"nodeType": "StructuredDocumentation",
|
1094
|
-
"src": "
|
1095
|
-
"text": " The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode
|
1134
|
+
"src": "2139:300:39",
|
1135
|
+
"text": " @title World Kernel Interface\n @notice The IWorldKernel interface includes all methods that are part of the World contract's\n internal bytecode. Consumers should use the `IBaseWorld` interface instead, which includes dynamically\n registered functions selectors from the `CoreModule`."
|
1096
1136
|
},
|
1097
1137
|
"fullyImplemented": false,
|
1098
1138
|
"linearizedBaseContracts": [
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1139
|
+
23244,
|
1140
|
+
23167,
|
1141
|
+
23212,
|
1142
|
+
23186
|
1103
1143
|
],
|
1104
1144
|
"name": "IWorldKernel",
|
1105
|
-
"nameLocation": "
|
1106
|
-
"scope":
|
1145
|
+
"nameLocation": "2450:12:39",
|
1146
|
+
"scope": 23245,
|
1107
1147
|
"usedErrors": [
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
23098,
|
1115
|
-
23102,
|
1116
|
-
23108,
|
1117
|
-
23110,
|
1118
|
-
23116,
|
1148
|
+
23081,
|
1149
|
+
23089,
|
1150
|
+
23097,
|
1151
|
+
23104,
|
1152
|
+
23112,
|
1153
|
+
23117,
|
1119
1154
|
23122,
|
1120
|
-
|
1121
|
-
|
1155
|
+
23127,
|
1156
|
+
23134,
|
1157
|
+
23137,
|
1158
|
+
23144,
|
1159
|
+
23151,
|
1160
|
+
23161,
|
1161
|
+
23166
|
1122
1162
|
],
|
1123
1163
|
"usedEvents": [
|
1124
|
-
|
1164
|
+
23224
|
1125
1165
|
]
|
1126
1166
|
}
|
1127
1167
|
],
|