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