@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-c4f49240

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 (104) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/Callbacks.sol/Callbacks.json +45 -45
  3. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  4. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  5. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  6. package/out/Hooks.sol/Hooks.json +45 -45
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  9. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  10. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  13. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  14. package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
  15. package/out/IModule.sol/IModule.json +76 -76
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  17. package/out/ISystemHook.sol/ISystemHook.json +82 -82
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  19. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
  20. package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
  21. package/out/IWorldKernel.sol/IWorldCall.json +149 -149
  22. package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
  23. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  24. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
  25. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  26. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  27. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  28. package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
  29. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  30. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
  31. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
  32. package/out/Mixed.sol/Mixed.json +66 -66
  33. package/out/Module.sol/Module.json +73 -73
  34. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  35. package/out/Schema.sol/SchemaInstance.json +30 -30
  36. package/out/Schema.sol/SchemaLib.json +30 -30
  37. package/out/SchemaType.sol/SchemaType.json +276 -276
  38. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
  39. package/out/StoreHook.sol/StoreHook.json +358 -358
  40. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  41. package/out/System.sol/System.json +18 -18
  42. package/out/Tables.sol/Tables.json +73 -73
  43. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  44. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  45. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  46. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
  47. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  48. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  49. package/out/Vector2.sol/Vector2.json +52 -52
  50. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  51. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  52. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  53. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  54. package/out/constants.sol/constants.json +85 -85
  55. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  56. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  57. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  58. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  59. package/out/hasKey.sol/hasKey.json +130 -130
  60. package/out/index.sol/index.json +53 -53
  61. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  62. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  63. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
  64. package/out/interfaces/IERC165.sol/IERC165.json +27 -27
  65. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
  66. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
  67. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
  68. package/out/query.sol/query.json +1154 -1154
  69. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  70. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  71. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  72. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  73. package/out/src/IStore.sol/IStore.json +886 -886
  74. package/out/src/IStore.sol/IStoreData.json +886 -886
  75. package/out/src/IStore.sol/IStoreRead.json +886 -886
  76. package/out/src/IStore.sol/IStoreRegistration.json +886 -886
  77. package/out/src/IStore.sol/IStoreWrite.json +886 -886
  78. package/out/src/Memory.sol/Memory.json +89 -89
  79. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  80. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  81. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  82. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  83. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  84. package/out/src/Schema.sol/SchemaLib.json +787 -787
  85. package/out/src/Slice.sol/SliceInstance.json +429 -429
  86. package/out/src/Slice.sol/SliceLib.json +429 -429
  87. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  88. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  89. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  90. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  91. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  92. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  93. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  94. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  95. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  96. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  97. package/out/tables/Tables.sol/Tables.json +7288 -7288
  98. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  99. package/out/types.sol/types.json +131 -23
  100. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  101. package/package.json +8 -8
  102. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  103. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  104. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -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": 33242,
120
+ "id": 33253,
121
121
  "exportedSymbols": {
122
122
  "IModule": [
123
- 33466
123
+ 33477
124
124
  ],
125
125
  "IModuleInstallationSystem": [
126
- 33241
126
+ 33252
127
127
  ]
128
128
  },
129
129
  "nodeType": "SourceUnit",
130
130
  "src": "32:245:39",
131
131
  "nodes": [
132
132
  {
133
- "id": 33230,
133
+ "id": 33241,
134
134
  "nodeType": "PragmaDirective",
135
135
  "src": "32:25:39",
136
136
  "nodes": [],
@@ -142,23 +142,23 @@
142
142
  ]
143
143
  },
144
144
  {
145
- "id": 33232,
145
+ "id": 33243,
146
146
  "nodeType": "ImportDirective",
147
147
  "src": "108:57:39",
148
148
  "nodes": [],
149
149
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IModule.sol",
150
150
  "file": "./../../interfaces/IModule.sol",
151
151
  "nameLocation": "-1:-1:-1",
152
- "scope": 33242,
153
- "sourceUnit": 33467,
152
+ "scope": 33253,
153
+ "sourceUnit": 33478,
154
154
  "symbolAliases": [
155
155
  {
156
156
  "foreign": {
157
- "id": 33231,
157
+ "id": 33242,
158
158
  "name": "IModule",
159
159
  "nodeType": "Identifier",
160
160
  "overloadedDeclarations": [],
161
- "referencedDeclaration": 33466,
161
+ "referencedDeclaration": 33477,
162
162
  "src": "117:7:39",
163
163
  "typeDescriptions": {}
164
164
  },
@@ -168,12 +168,12 @@
168
168
  "unitAlias": ""
169
169
  },
170
170
  {
171
- "id": 33241,
171
+ "id": 33252,
172
172
  "nodeType": "ContractDefinition",
173
173
  "src": "167:109:39",
174
174
  "nodes": [
175
175
  {
176
- "id": 33240,
176
+ "id": 33251,
177
177
  "nodeType": "FunctionDefinition",
178
178
  "src": "207:67:39",
179
179
  "nodes": [],
@@ -184,41 +184,41 @@
184
184
  "name": "installModule",
185
185
  "nameLocation": "216:13:39",
186
186
  "parameters": {
187
- "id": 33238,
187
+ "id": 33249,
188
188
  "nodeType": "ParameterList",
189
189
  "parameters": [
190
190
  {
191
191
  "constant": false,
192
- "id": 33235,
192
+ "id": 33246,
193
193
  "mutability": "mutable",
194
194
  "name": "module",
195
195
  "nameLocation": "238:6:39",
196
196
  "nodeType": "VariableDeclaration",
197
- "scope": 33240,
197
+ "scope": 33251,
198
198
  "src": "230:14:39",
199
199
  "stateVariable": false,
200
200
  "storageLocation": "default",
201
201
  "typeDescriptions": {
202
- "typeIdentifier": "t_contract$_IModule_$33466",
202
+ "typeIdentifier": "t_contract$_IModule_$33477",
203
203
  "typeString": "contract IModule"
204
204
  },
205
205
  "typeName": {
206
- "id": 33234,
206
+ "id": 33245,
207
207
  "nodeType": "UserDefinedTypeName",
208
208
  "pathNode": {
209
- "id": 33233,
209
+ "id": 33244,
210
210
  "name": "IModule",
211
211
  "nameLocations": [
212
212
  "230:7:39"
213
213
  ],
214
214
  "nodeType": "IdentifierPath",
215
- "referencedDeclaration": 33466,
215
+ "referencedDeclaration": 33477,
216
216
  "src": "230:7:39"
217
217
  },
218
- "referencedDeclaration": 33466,
218
+ "referencedDeclaration": 33477,
219
219
  "src": "230:7:39",
220
220
  "typeDescriptions": {
221
- "typeIdentifier": "t_contract$_IModule_$33466",
221
+ "typeIdentifier": "t_contract$_IModule_$33477",
222
222
  "typeString": "contract IModule"
223
223
  }
224
224
  },
@@ -226,12 +226,12 @@
226
226
  },
227
227
  {
228
228
  "constant": false,
229
- "id": 33237,
229
+ "id": 33248,
230
230
  "mutability": "mutable",
231
231
  "name": "args",
232
232
  "nameLocation": "259:4:39",
233
233
  "nodeType": "VariableDeclaration",
234
- "scope": 33240,
234
+ "scope": 33251,
235
235
  "src": "246:17:39",
236
236
  "stateVariable": false,
237
237
  "storageLocation": "memory",
@@ -240,7 +240,7 @@
240
240
  "typeString": "bytes"
241
241
  },
242
242
  "typeName": {
243
- "id": 33236,
243
+ "id": 33247,
244
244
  "name": "bytes",
245
245
  "nodeType": "ElementaryTypeName",
246
246
  "src": "246:5:39",
@@ -255,12 +255,12 @@
255
255
  "src": "229:35:39"
256
256
  },
257
257
  "returnParameters": {
258
- "id": 33239,
258
+ "id": 33250,
259
259
  "nodeType": "ParameterList",
260
260
  "parameters": [],
261
261
  "src": "273:0:39"
262
262
  },
263
- "scope": 33241,
263
+ "scope": 33252,
264
264
  "stateMutability": "nonpayable",
265
265
  "virtual": false,
266
266
  "visibility": "external"
@@ -273,11 +273,11 @@
273
273
  "contractKind": "interface",
274
274
  "fullyImplemented": false,
275
275
  "linearizedBaseContracts": [
276
- 33241
276
+ 33252
277
277
  ],
278
278
  "name": "IModuleInstallationSystem",
279
279
  "nameLocation": "177:25:39",
280
- "scope": 33242,
280
+ "scope": 33253,
281
281
  "usedErrors": [],
282
282
  "usedEvents": []
283
283
  }