@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-88b1a5a1

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.
Files changed (112) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +215 -215
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2599 -2599
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
  5. package/out/DelegationControl.sol/DelegationControl.json +94 -94
  6. package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
  9. package/out/Hook.sol/HookInstance.json +13 -13
  10. package/out/Hook.sol/HookLib.json +13 -13
  11. package/out/Hooks.sol/Hooks.json +3393 -3393
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +58 -58
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +54 -54
  14. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +52 -52
  16. package/out/ICoreSystem.sol/ICoreSystem.json +7 -7
  17. package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +28 -28
  20. package/out/ISystemHook.sol/ISystemHook.json +86 -86
  21. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  22. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  23. package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
  24. package/out/IWorldKernel.sol/IWorldCall.json +154 -154
  25. package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
  26. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  27. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +190 -190
  28. package/out/KeysInTable.sol/KeysInTable.json +10672 -10672
  29. package/out/KeysInTableHook.sol/KeysInTableHook.json +867 -867
  30. package/out/KeysInTableModule.sol/KeysInTableModule.json +538 -538
  31. package/out/KeysWithValue.sol/KeysWithValue.json +3832 -3832
  32. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +993 -993
  33. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +426 -426
  34. package/out/Memory.sol/Memory.json +4 -4
  35. package/out/Module.sol/Module.json +84 -84
  36. package/out/ResourceIds.sol/ResourceIds.json +1363 -1363
  37. package/out/Schema.sol/SchemaInstance.json +72 -72
  38. package/out/Schema.sol/SchemaLib.json +72 -72
  39. package/out/SchemaType.sol/SchemaType.json +276 -276
  40. package/out/Slice.sol/SliceInstance.json +4 -4
  41. package/out/Slice.sol/SliceLib.json +4 -4
  42. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +303 -303
  43. package/out/Storage.sol/Storage.json +7 -7
  44. package/out/StoreCore.sol/StoreCore.json +708 -737
  45. package/out/StoreCore.sol/StoreCoreInternal.json +710 -739
  46. package/out/StoreHook.sol/StoreHook.json +368 -368
  47. package/out/StoreHooks.sol/StoreHooks.json +3232 -3232
  48. package/out/StoreSwitch.sol/StoreSwitch.json +1885 -1885
  49. package/out/System.sol/System.json +31 -31
  50. package/out/Tables.sol/Tables.json +5585 -5585
  51. package/out/TightCoder.sol/TightCoder.json +124 -124
  52. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +119 -119
  53. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1990 -1990
  54. package/out/UniqueEntity.sol/UniqueEntity.json +1406 -1406
  55. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +327 -327
  56. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +93 -93
  57. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2727 -2727
  58. package/out/WorldContext.sol/WorldContextConsumer.json +1380 -988
  59. package/out/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1381 -989
  60. package/out/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  61. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  62. package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  63. package/out/constants.sol/LayoutOffsets.json +79 -79
  64. package/out/constants.sol/constants.json +115 -115
  65. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  66. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  67. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  68. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  69. package/out/hasKey.sol/hasKey.json +130 -130
  70. package/out/index.sol/index.json +53 -53
  71. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +131 -131
  72. package/out/leftMask.sol/leftMask.json +31 -31
  73. package/out/query.sol/query.json +1154 -1154
  74. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  75. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  76. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  77. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  78. package/out/src/IStore.sol/IStore.json +53 -53
  79. package/out/src/IWorldKernel.sol/IWorldCall.json +153 -153
  80. package/out/src/IWorldKernel.sol/IWorldKernel.json +153 -153
  81. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +153 -153
  82. package/out/src/Memory.sol/Memory.json +91 -91
  83. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  84. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  85. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  86. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  87. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  88. package/out/src/Schema.sol/SchemaLib.json +790 -790
  89. package/out/src/Slice.sol/SliceInstance.json +430 -430
  90. package/out/src/Slice.sol/SliceLib.json +430 -430
  91. package/out/src/StoreCore.sol/StoreCore.json +4695 -4724
  92. package/out/src/StoreCore.sol/StoreCoreInternal.json +4697 -4726
  93. package/out/src/StoreSwitch.sol/StoreSwitch.json +2487 -2487
  94. package/out/src/WorldContext.sol/WorldContextConsumer.json +1291 -899
  95. package/out/src/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  96. package/out/src/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1292 -900
  97. package/out/src/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  98. package/out/src/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  99. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  100. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  101. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  102. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  103. package/out/tables/ResourceIds.sol/ResourceIds.json +1751 -1751
  104. package/out/tables/Tables.sol/Tables.json +7292 -7292
  105. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  106. package/out/types.sol/types.json +41 -41
  107. package/out/version.sol/version.json +7 -7
  108. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  109. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  110. package/package.json +8 -8
  111. /package/out/WorldContext.sol/{WorldContextProvider.abi.json → WorldContextConsumerLib.abi.json} +0 -0
  112. /package/out/{src/WorldContext.sol/WorldContextProvider.abi.json → WorldContext.sol/WorldContextProviderLib.abi.json} +0 -0
@@ -117,20 +117,20 @@
117
117
  },
118
118
  "ast": {
119
119
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IModuleInstallationSystem.sol",
120
- "id": 24168,
120
+ "id": 24200,
121
121
  "exportedSymbols": {
122
122
  "IModule": [
123
- 23292
123
+ 23290
124
124
  ],
125
125
  "IModuleInstallationSystem": [
126
- 24167
126
+ 24199
127
127
  ]
128
128
  },
129
129
  "nodeType": "SourceUnit",
130
130
  "src": "32:390:46",
131
131
  "nodes": [
132
132
  {
133
- "id": 24155,
133
+ "id": 24187,
134
134
  "nodeType": "PragmaDirective",
135
135
  "src": "32:25:46",
136
136
  "nodes": [],
@@ -142,23 +142,23 @@
142
142
  ]
143
143
  },
144
144
  {
145
- "id": 24157,
145
+ "id": 24189,
146
146
  "nodeType": "ImportDirective",
147
147
  "src": "108:46:46",
148
148
  "nodes": [],
149
149
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/IModule.sol",
150
150
  "file": "./../../IModule.sol",
151
151
  "nameLocation": "-1:-1:-1",
152
- "scope": 24168,
153
- "sourceUnit": 23293,
152
+ "scope": 24200,
153
+ "sourceUnit": 23291,
154
154
  "symbolAliases": [
155
155
  {
156
156
  "foreign": {
157
- "id": 24156,
157
+ "id": 24188,
158
158
  "name": "IModule",
159
159
  "nodeType": "Identifier",
160
160
  "overloadedDeclarations": [],
161
- "referencedDeclaration": 23292,
161
+ "referencedDeclaration": 23290,
162
162
  "src": "117:7:46",
163
163
  "typeDescriptions": {}
164
164
  },
@@ -168,12 +168,12 @@
168
168
  "unitAlias": ""
169
169
  },
170
170
  {
171
- "id": 24167,
171
+ "id": 24199,
172
172
  "nodeType": "ContractDefinition",
173
173
  "src": "312:109:46",
174
174
  "nodes": [
175
175
  {
176
- "id": 24166,
176
+ "id": 24198,
177
177
  "nodeType": "FunctionDefinition",
178
178
  "src": "352:67:46",
179
179
  "nodes": [],
@@ -184,41 +184,41 @@
184
184
  "name": "installModule",
185
185
  "nameLocation": "361:13:46",
186
186
  "parameters": {
187
- "id": 24164,
187
+ "id": 24196,
188
188
  "nodeType": "ParameterList",
189
189
  "parameters": [
190
190
  {
191
191
  "constant": false,
192
- "id": 24161,
192
+ "id": 24193,
193
193
  "mutability": "mutable",
194
194
  "name": "module",
195
195
  "nameLocation": "383:6:46",
196
196
  "nodeType": "VariableDeclaration",
197
- "scope": 24166,
197
+ "scope": 24198,
198
198
  "src": "375:14:46",
199
199
  "stateVariable": false,
200
200
  "storageLocation": "default",
201
201
  "typeDescriptions": {
202
- "typeIdentifier": "t_contract$_IModule_$23292",
202
+ "typeIdentifier": "t_contract$_IModule_$23290",
203
203
  "typeString": "contract IModule"
204
204
  },
205
205
  "typeName": {
206
- "id": 24160,
206
+ "id": 24192,
207
207
  "nodeType": "UserDefinedTypeName",
208
208
  "pathNode": {
209
- "id": 24159,
209
+ "id": 24191,
210
210
  "name": "IModule",
211
211
  "nameLocations": [
212
212
  "375:7:46"
213
213
  ],
214
214
  "nodeType": "IdentifierPath",
215
- "referencedDeclaration": 23292,
215
+ "referencedDeclaration": 23290,
216
216
  "src": "375:7:46"
217
217
  },
218
- "referencedDeclaration": 23292,
218
+ "referencedDeclaration": 23290,
219
219
  "src": "375:7:46",
220
220
  "typeDescriptions": {
221
- "typeIdentifier": "t_contract$_IModule_$23292",
221
+ "typeIdentifier": "t_contract$_IModule_$23290",
222
222
  "typeString": "contract IModule"
223
223
  }
224
224
  },
@@ -226,12 +226,12 @@
226
226
  },
227
227
  {
228
228
  "constant": false,
229
- "id": 24163,
229
+ "id": 24195,
230
230
  "mutability": "mutable",
231
231
  "name": "args",
232
232
  "nameLocation": "404:4:46",
233
233
  "nodeType": "VariableDeclaration",
234
- "scope": 24166,
234
+ "scope": 24198,
235
235
  "src": "391:17:46",
236
236
  "stateVariable": false,
237
237
  "storageLocation": "memory",
@@ -240,7 +240,7 @@
240
240
  "typeString": "bytes"
241
241
  },
242
242
  "typeName": {
243
- "id": 24162,
243
+ "id": 24194,
244
244
  "name": "bytes",
245
245
  "nodeType": "ElementaryTypeName",
246
246
  "src": "391:5:46",
@@ -255,12 +255,12 @@
255
255
  "src": "374:35:46"
256
256
  },
257
257
  "returnParameters": {
258
- "id": 24165,
258
+ "id": 24197,
259
259
  "nodeType": "ParameterList",
260
260
  "parameters": [],
261
261
  "src": "418:0:46"
262
262
  },
263
- "scope": 24167,
263
+ "scope": 24199,
264
264
  "stateMutability": "nonpayable",
265
265
  "virtual": false,
266
266
  "visibility": "external"
@@ -272,18 +272,18 @@
272
272
  "contractDependencies": [],
273
273
  "contractKind": "interface",
274
274
  "documentation": {
275
- "id": 24158,
275
+ "id": 24190,
276
276
  "nodeType": "StructuredDocumentation",
277
277
  "src": "156:155:46",
278
278
  "text": " @title IModuleInstallationSystem\n @dev This interface is automatically generated from the corresponding system contract. Do not edit manually."
279
279
  },
280
280
  "fullyImplemented": false,
281
281
  "linearizedBaseContracts": [
282
- 24167
282
+ 24199
283
283
  ],
284
284
  "name": "IModuleInstallationSystem",
285
285
  "nameLocation": "322:25:46",
286
- "scope": 24168,
286
+ "scope": 24200,
287
287
  "usedErrors": [],
288
288
  "usedEvents": []
289
289
  }