@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-c07fa021
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mud.config.js +1 -1
- package/dist/mud.config.js.map +1 -1
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +314 -314
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4012 -4012
- package/out/DelegationControl.sol/DelegationControl.json +22 -22
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +97 -97
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +81 -81
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
- package/out/IBaseWorld.sol/IBaseWorld.json +63 -143
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +93 -93
- package/out/IModule.sol/IModule.json +139 -139
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
- package/out/ISystemHook.sol/ISystemHook.json +129 -129
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
- package/out/IWorldErrors.sol/IWorldErrors.json +238 -238
- package/out/IWorldKernel.sol/IWorldCall.json +241 -241
- package/out/IWorldKernel.sol/IWorldKernel.json +241 -241
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +241 -241
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +282 -282
- package/out/KeysInTable.sol/KeysInTable.json +15792 -15792
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1253 -1253
- package/out/KeysInTableModule.sol/KeysInTableModule.json +798 -798
- package/out/KeysWithValue.sol/KeysWithValue.json +5879 -5879
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1335 -1335
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +619 -619
- package/out/Module.sol/Module.json +20 -20
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +467 -467
- package/out/StoreHook.sol/StoreHook.json +31 -31
- package/out/System.sol/System.json +3 -3
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +166 -166
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3149 -3149
- package/out/UniqueEntity.sol/UniqueEntity.json +1976 -1976
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +3954 -3954
- package/out/WorldContext.sol/WorldContextConsumer.json +17 -17
- package/out/WorldContext.sol/WorldContextProvider.json +17 -17
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +7 -7
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +7 -7
- package/out/constants.sol/constants.json +116 -116
- package/out/getKeysInTable.sol/getKeysInTable.json +819 -819
- package/out/getKeysWithValue.sol/getKeysWithValue.json +374 -374
- package/out/getTargetTableId.sol/getTargetTableId.json +232 -232
- package/out/getUniqueEntity.sol/getUniqueEntity.json +143 -143
- package/out/hasKey.sol/hasKey.json +189 -189
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +197 -197
- package/out/interfaces/IERC165.sol/IERC165.json +50 -50
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +137 -137
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +137 -137
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +137 -137
- package/out/query.sol/query.json +1791 -1791
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
- package/out/src/IStore.sol/IStore.json +21 -21
- package/out/src/IStore.sol/IStoreData.json +21 -21
- package/out/src/IStore.sol/IStoreRead.json +21 -21
- package/out/src/IStore.sol/IStoreRegistration.json +21 -21
- package/out/src/IStore.sol/IStoreWrite.json +21 -21
- package/out/src/Memory.sol/Memory.json +4 -4
- package/out/src/Schema.sol/SchemaInstance.json +42 -42
- package/out/src/Schema.sol/SchemaLib.json +42 -42
- package/out/src/Slice.sol/SliceInstance.json +4 -4
- package/out/src/Slice.sol/SliceLib.json +4 -4
- package/out/src/StoreCore.sol/StoreCore.json +294 -294
- package/out/src/StoreCore.sol/StoreCoreInternal.json +294 -294
- package/out/src/StoreSwitch.sol/StoreSwitch.json +23 -23
- package/out/src/WorldContext.sol/WorldContextConsumer.json +22 -22
- package/out/src/WorldContext.sol/WorldContextProvider.json +22 -22
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +14 -14
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +14 -14
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
- package/package.json +8 -8
- package/src/interfaces/IBaseWorld.sol +1 -3
- package/src/interfaces/IUniqueEntitySystem.sol +2 -3
- package/src/modules/keysintable/KeysInTableModule.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
- package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
- package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
- package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
- package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
- package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -32,7 +32,7 @@
|
|
32
32
|
"methodIdentifiers": {
|
33
33
|
"installModule(address,bytes)": "8da798da"
|
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\":\"installModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/interfaces/IModuleInstallationSystem.sol\":\"IModuleInstallationSystem\"},\"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/interfaces/
|
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\":\"installModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol\":\"IModuleInstallationSystem\"},\"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/codegen/interfaces/IModuleInstallationSystem.sol\":{\"keccak256\":\"0xe413ead95f1994cc6e147a430b366d6afc455196e3241be86ffed90fed654c17\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d207b87e0f4ffbe9be86431551b43c84af10d93b73e9abd95fc5f40839e7bc14\",\"dweb:/ipfs/QmSZzLQj7B2KnLPL5D5JhNsSdgLJxxy3sV3kExWp1KJrvZ\"]},\"/home/runner/work/mud/mud/packages/world/src/interfaces/IERC165.sol\":{\"keccak256\":\"0x1a113ae394de69ca1db7e9acb1886eaee3967dcfed46fc78497e77bc26dd778f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://091e04dc9e8d5b3a492d1d39a6d06fd5b4bad3c282bd4c06a38d92bec3422513\",\"dweb:/ipfs/QmbfMi1bH9RAs4JMDxKmhVqpAoyoVgN9nd7o11SakJC1zQ\"]},\"/home/runner/work/mud/mud/packages/world/src/interfaces/IModule.sol\":{\"keccak256\":\"0x94ea093fda2be088097d66cc615b048a7a21d54a52b82cee9fdb76b31bedbb09\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed989ab47a35f8ca01f5b9f6f42f075687ce41e2f26c647cc27031421f5179e8\",\"dweb:/ipfs/QmT6Xc4A2CGzGa7eL3NimPFXBW4Jy4jFBFFCw1QU6aGo61\"]}},\"version\":1}",
|
36
36
|
"metadata": {
|
37
37
|
"compiler": {
|
38
38
|
"version": "0.8.21+commit.d9974bed"
|
@@ -83,11 +83,19 @@
|
|
83
83
|
"bytecodeHash": "none"
|
84
84
|
},
|
85
85
|
"compilationTarget": {
|
86
|
-
"/home/runner/work/mud/mud/packages/world/src/interfaces/IModuleInstallationSystem.sol": "IModuleInstallationSystem"
|
86
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol": "IModuleInstallationSystem"
|
87
87
|
},
|
88
88
|
"libraries": {}
|
89
89
|
},
|
90
90
|
"sources": {
|
91
|
+
"/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol": {
|
92
|
+
"keccak256": "0xe413ead95f1994cc6e147a430b366d6afc455196e3241be86ffed90fed654c17",
|
93
|
+
"urls": [
|
94
|
+
"bzz-raw://d207b87e0f4ffbe9be86431551b43c84af10d93b73e9abd95fc5f40839e7bc14",
|
95
|
+
"dweb:/ipfs/QmSZzLQj7B2KnLPL5D5JhNsSdgLJxxy3sV3kExWp1KJrvZ"
|
96
|
+
],
|
97
|
+
"license": "MIT"
|
98
|
+
},
|
91
99
|
"/home/runner/work/mud/mud/packages/world/src/interfaces/IERC165.sol": {
|
92
100
|
"keccak256": "0x1a113ae394de69ca1db7e9acb1886eaee3967dcfed46fc78497e77bc26dd778f",
|
93
101
|
"urls": [
|
@@ -103,36 +111,28 @@
|
|
103
111
|
"dweb:/ipfs/QmT6Xc4A2CGzGa7eL3NimPFXBW4Jy4jFBFFCw1QU6aGo61"
|
104
112
|
],
|
105
113
|
"license": "MIT"
|
106
|
-
},
|
107
|
-
"/home/runner/work/mud/mud/packages/world/src/interfaces/IModuleInstallationSystem.sol": {
|
108
|
-
"keccak256": "0x3d49383d8f3b0544879b8d7e943caf348fab616154dbb0a1818f266b70afbbda",
|
109
|
-
"urls": [
|
110
|
-
"bzz-raw://87e5b8b55d6f121fc3d34149fc487d38f565ef800914b726226f98766608606d",
|
111
|
-
"dweb:/ipfs/QmevuBAB7G8ZLpsEDqyw5uM9z7ZLEVxU6bnZ1EKKBnBDxr"
|
112
|
-
],
|
113
|
-
"license": "MIT"
|
114
114
|
}
|
115
115
|
},
|
116
116
|
"version": 1
|
117
117
|
},
|
118
118
|
"ast": {
|
119
|
-
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IModuleInstallationSystem.sol",
|
120
|
-
"id":
|
119
|
+
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol",
|
120
|
+
"id": 33242,
|
121
121
|
"exportedSymbols": {
|
122
122
|
"IModule": [
|
123
|
-
|
123
|
+
33466
|
124
124
|
],
|
125
125
|
"IModuleInstallationSystem": [
|
126
|
-
|
126
|
+
33241
|
127
127
|
]
|
128
128
|
},
|
129
129
|
"nodeType": "SourceUnit",
|
130
|
-
"src": "32:
|
130
|
+
"src": "32:245:39",
|
131
131
|
"nodes": [
|
132
132
|
{
|
133
|
-
"id":
|
133
|
+
"id": 33230,
|
134
134
|
"nodeType": "PragmaDirective",
|
135
|
-
"src": "32:25:
|
135
|
+
"src": "32:25:39",
|
136
136
|
"nodes": [],
|
137
137
|
"literals": [
|
138
138
|
"solidity",
|
@@ -142,24 +142,24 @@
|
|
142
142
|
]
|
143
143
|
},
|
144
144
|
{
|
145
|
-
"id":
|
145
|
+
"id": 33232,
|
146
146
|
"nodeType": "ImportDirective",
|
147
|
-
"src": "108:
|
147
|
+
"src": "108:57:39",
|
148
148
|
"nodes": [],
|
149
149
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IModule.sol",
|
150
|
-
"file": "
|
150
|
+
"file": "./../../interfaces/IModule.sol",
|
151
151
|
"nameLocation": "-1:-1:-1",
|
152
|
-
"scope":
|
153
|
-
"sourceUnit":
|
152
|
+
"scope": 33242,
|
153
|
+
"sourceUnit": 33467,
|
154
154
|
"symbolAliases": [
|
155
155
|
{
|
156
156
|
"foreign": {
|
157
|
-
"id":
|
157
|
+
"id": 33231,
|
158
158
|
"name": "IModule",
|
159
159
|
"nodeType": "Identifier",
|
160
160
|
"overloadedDeclarations": [],
|
161
|
-
"referencedDeclaration":
|
162
|
-
"src": "117:7:
|
161
|
+
"referencedDeclaration": 33466,
|
162
|
+
"src": "117:7:39",
|
163
163
|
"typeDescriptions": {}
|
164
164
|
},
|
165
165
|
"nameLocation": "-1:-1:-1"
|
@@ -168,57 +168,57 @@
|
|
168
168
|
"unitAlias": ""
|
169
169
|
},
|
170
170
|
{
|
171
|
-
"id":
|
171
|
+
"id": 33241,
|
172
172
|
"nodeType": "ContractDefinition",
|
173
|
-
"src": "
|
173
|
+
"src": "167:109:39",
|
174
174
|
"nodes": [
|
175
175
|
{
|
176
|
-
"id":
|
176
|
+
"id": 33240,
|
177
177
|
"nodeType": "FunctionDefinition",
|
178
|
-
"src": "
|
178
|
+
"src": "207:67:39",
|
179
179
|
"nodes": [],
|
180
180
|
"functionSelector": "8da798da",
|
181
181
|
"implemented": false,
|
182
182
|
"kind": "function",
|
183
183
|
"modifiers": [],
|
184
184
|
"name": "installModule",
|
185
|
-
"nameLocation": "
|
185
|
+
"nameLocation": "216:13:39",
|
186
186
|
"parameters": {
|
187
|
-
"id":
|
187
|
+
"id": 33238,
|
188
188
|
"nodeType": "ParameterList",
|
189
189
|
"parameters": [
|
190
190
|
{
|
191
191
|
"constant": false,
|
192
|
-
"id":
|
192
|
+
"id": 33235,
|
193
193
|
"mutability": "mutable",
|
194
194
|
"name": "module",
|
195
|
-
"nameLocation": "
|
195
|
+
"nameLocation": "238:6:39",
|
196
196
|
"nodeType": "VariableDeclaration",
|
197
|
-
"scope":
|
198
|
-
"src": "
|
197
|
+
"scope": 33240,
|
198
|
+
"src": "230:14:39",
|
199
199
|
"stateVariable": false,
|
200
200
|
"storageLocation": "default",
|
201
201
|
"typeDescriptions": {
|
202
|
-
"typeIdentifier": "t_contract$_IModule_$
|
202
|
+
"typeIdentifier": "t_contract$_IModule_$33466",
|
203
203
|
"typeString": "contract IModule"
|
204
204
|
},
|
205
205
|
"typeName": {
|
206
|
-
"id":
|
206
|
+
"id": 33234,
|
207
207
|
"nodeType": "UserDefinedTypeName",
|
208
208
|
"pathNode": {
|
209
|
-
"id":
|
209
|
+
"id": 33233,
|
210
210
|
"name": "IModule",
|
211
211
|
"nameLocations": [
|
212
|
-
"
|
212
|
+
"230:7:39"
|
213
213
|
],
|
214
214
|
"nodeType": "IdentifierPath",
|
215
|
-
"referencedDeclaration":
|
216
|
-
"src": "
|
215
|
+
"referencedDeclaration": 33466,
|
216
|
+
"src": "230:7:39"
|
217
217
|
},
|
218
|
-
"referencedDeclaration":
|
219
|
-
"src": "
|
218
|
+
"referencedDeclaration": 33466,
|
219
|
+
"src": "230:7:39",
|
220
220
|
"typeDescriptions": {
|
221
|
-
"typeIdentifier": "t_contract$_IModule_$
|
221
|
+
"typeIdentifier": "t_contract$_IModule_$33466",
|
222
222
|
"typeString": "contract IModule"
|
223
223
|
}
|
224
224
|
},
|
@@ -226,13 +226,13 @@
|
|
226
226
|
},
|
227
227
|
{
|
228
228
|
"constant": false,
|
229
|
-
"id":
|
229
|
+
"id": 33237,
|
230
230
|
"mutability": "mutable",
|
231
231
|
"name": "args",
|
232
|
-
"nameLocation": "
|
232
|
+
"nameLocation": "259:4:39",
|
233
233
|
"nodeType": "VariableDeclaration",
|
234
|
-
"scope":
|
235
|
-
"src": "
|
234
|
+
"scope": 33240,
|
235
|
+
"src": "246:17:39",
|
236
236
|
"stateVariable": false,
|
237
237
|
"storageLocation": "memory",
|
238
238
|
"typeDescriptions": {
|
@@ -240,10 +240,10 @@
|
|
240
240
|
"typeString": "bytes"
|
241
241
|
},
|
242
242
|
"typeName": {
|
243
|
-
"id":
|
243
|
+
"id": 33236,
|
244
244
|
"name": "bytes",
|
245
245
|
"nodeType": "ElementaryTypeName",
|
246
|
-
"src": "
|
246
|
+
"src": "246:5:39",
|
247
247
|
"typeDescriptions": {
|
248
248
|
"typeIdentifier": "t_bytes_storage_ptr",
|
249
249
|
"typeString": "bytes"
|
@@ -252,15 +252,15 @@
|
|
252
252
|
"visibility": "internal"
|
253
253
|
}
|
254
254
|
],
|
255
|
-
"src": "
|
255
|
+
"src": "229:35:39"
|
256
256
|
},
|
257
257
|
"returnParameters": {
|
258
|
-
"id":
|
258
|
+
"id": 33239,
|
259
259
|
"nodeType": "ParameterList",
|
260
260
|
"parameters": [],
|
261
|
-
"src": "
|
261
|
+
"src": "273:0:39"
|
262
262
|
},
|
263
|
-
"scope":
|
263
|
+
"scope": 33241,
|
264
264
|
"stateMutability": "nonpayable",
|
265
265
|
"virtual": false,
|
266
266
|
"visibility": "external"
|
@@ -273,16 +273,16 @@
|
|
273
273
|
"contractKind": "interface",
|
274
274
|
"fullyImplemented": false,
|
275
275
|
"linearizedBaseContracts": [
|
276
|
-
|
276
|
+
33241
|
277
277
|
],
|
278
278
|
"name": "IModuleInstallationSystem",
|
279
|
-
"nameLocation": "
|
280
|
-
"scope":
|
279
|
+
"nameLocation": "177:25:39",
|
280
|
+
"scope": 33242,
|
281
281
|
"usedErrors": [],
|
282
282
|
"usedEvents": []
|
283
283
|
}
|
284
284
|
],
|
285
285
|
"license": "MIT"
|
286
286
|
},
|
287
|
-
"id":
|
287
|
+
"id": 39
|
288
288
|
}
|