@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-5741d53d

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
@@ -118,20 +118,20 @@
118
118
  },
119
119
  "ast": {
120
120
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/interfaces/IERC165.sol",
121
- "id": 33422,
121
+ "id": 33433,
122
122
  "exportedSymbols": {
123
123
  "ERC165_INTERFACE_ID": [
124
- 33412
124
+ 33423
125
125
  ],
126
126
  "IERC165": [
127
- 33421
127
+ 33432
128
128
  ]
129
129
  },
130
130
  "nodeType": "SourceUnit",
131
131
  "src": "32:615:43",
132
132
  "nodes": [
133
133
  {
134
- "id": 33407,
134
+ "id": 33418,
135
135
  "nodeType": "PragmaDirective",
136
136
  "src": "32:25:43",
137
137
  "nodes": [],
@@ -143,7 +143,7 @@
143
143
  ]
144
144
  },
145
145
  {
146
- "id": 33412,
146
+ "id": 33423,
147
147
  "nodeType": "VariableDeclaration",
148
148
  "src": "59:72:43",
149
149
  "nodes": [],
@@ -151,7 +151,7 @@
151
151
  "mutability": "constant",
152
152
  "name": "ERC165_INTERFACE_ID",
153
153
  "nameLocation": "75:19:43",
154
- "scope": 33422,
154
+ "scope": 33433,
155
155
  "stateVariable": false,
156
156
  "storageLocation": "default",
157
157
  "typeDescriptions": {
@@ -159,7 +159,7 @@
159
159
  "typeString": "bytes4"
160
160
  },
161
161
  "typeName": {
162
- "id": 33408,
162
+ "id": 33419,
163
163
  "name": "bytes4",
164
164
  "nodeType": "ElementaryTypeName",
165
165
  "src": "59:6:43",
@@ -171,18 +171,18 @@
171
171
  "value": {
172
172
  "expression": {
173
173
  "expression": {
174
- "id": 33409,
174
+ "id": 33420,
175
175
  "name": "IERC165",
176
176
  "nodeType": "Identifier",
177
177
  "overloadedDeclarations": [],
178
- "referencedDeclaration": 33421,
178
+ "referencedDeclaration": 33432,
179
179
  "src": "97:7:43",
180
180
  "typeDescriptions": {
181
- "typeIdentifier": "t_type$_t_contract$_IERC165_$33421_$",
181
+ "typeIdentifier": "t_type$_t_contract$_IERC165_$33432_$",
182
182
  "typeString": "type(contract IERC165)"
183
183
  }
184
184
  },
185
- "id": 33410,
185
+ "id": 33421,
186
186
  "isConstant": false,
187
187
  "isLValue": false,
188
188
  "isPure": true,
@@ -190,14 +190,14 @@
190
190
  "memberLocation": "105:17:43",
191
191
  "memberName": "supportsInterface",
192
192
  "nodeType": "MemberAccess",
193
- "referencedDeclaration": 33420,
193
+ "referencedDeclaration": 33431,
194
194
  "src": "97:25:43",
195
195
  "typeDescriptions": {
196
196
  "typeIdentifier": "t_function_declaration_view$_t_bytes4_$returns$_t_bool_$",
197
197
  "typeString": "function IERC165.supportsInterface(bytes4) view returns (bool)"
198
198
  }
199
199
  },
200
- "id": 33411,
200
+ "id": 33422,
201
201
  "isConstant": false,
202
202
  "isLValue": false,
203
203
  "isPure": true,
@@ -214,17 +214,17 @@
214
214
  "visibility": "internal"
215
215
  },
216
216
  {
217
- "id": 33421,
217
+ "id": 33432,
218
218
  "nodeType": "ContractDefinition",
219
219
  "src": "180:466:43",
220
220
  "nodes": [
221
221
  {
222
- "id": 33420,
222
+ "id": 33431,
223
223
  "nodeType": "FunctionDefinition",
224
224
  "src": "568:76:43",
225
225
  "nodes": [],
226
226
  "documentation": {
227
- "id": 33413,
227
+ "id": 33424,
228
228
  "nodeType": "StructuredDocumentation",
229
229
  "src": "202:363:43",
230
230
  "text": "@notice Query if a contract implements an interface\n @param interfaceID The interface identifier, as specified in ERC-165\n @dev Interface identification is specified in ERC-165. This function\n uses less than 30,000 gas.\n @return `true` if the contract implements `interfaceID` and\n `interfaceID` is not 0xffffffff, `false` otherwise"
@@ -236,17 +236,17 @@
236
236
  "name": "supportsInterface",
237
237
  "nameLocation": "577:17:43",
238
238
  "parameters": {
239
- "id": 33416,
239
+ "id": 33427,
240
240
  "nodeType": "ParameterList",
241
241
  "parameters": [
242
242
  {
243
243
  "constant": false,
244
- "id": 33415,
244
+ "id": 33426,
245
245
  "mutability": "mutable",
246
246
  "name": "interfaceID",
247
247
  "nameLocation": "602:11:43",
248
248
  "nodeType": "VariableDeclaration",
249
- "scope": 33420,
249
+ "scope": 33431,
250
250
  "src": "595:18:43",
251
251
  "stateVariable": false,
252
252
  "storageLocation": "default",
@@ -255,7 +255,7 @@
255
255
  "typeString": "bytes4"
256
256
  },
257
257
  "typeName": {
258
- "id": 33414,
258
+ "id": 33425,
259
259
  "name": "bytes4",
260
260
  "nodeType": "ElementaryTypeName",
261
261
  "src": "595:6:43",
@@ -270,17 +270,17 @@
270
270
  "src": "594:20:43"
271
271
  },
272
272
  "returnParameters": {
273
- "id": 33419,
273
+ "id": 33430,
274
274
  "nodeType": "ParameterList",
275
275
  "parameters": [
276
276
  {
277
277
  "constant": false,
278
- "id": 33418,
278
+ "id": 33429,
279
279
  "mutability": "mutable",
280
280
  "name": "",
281
281
  "nameLocation": "-1:-1:-1",
282
282
  "nodeType": "VariableDeclaration",
283
- "scope": 33420,
283
+ "scope": 33431,
284
284
  "src": "638:4:43",
285
285
  "stateVariable": false,
286
286
  "storageLocation": "default",
@@ -289,7 +289,7 @@
289
289
  "typeString": "bool"
290
290
  },
291
291
  "typeName": {
292
- "id": 33417,
292
+ "id": 33428,
293
293
  "name": "bool",
294
294
  "nodeType": "ElementaryTypeName",
295
295
  "src": "638:4:43",
@@ -303,7 +303,7 @@
303
303
  ],
304
304
  "src": "637:6:43"
305
305
  },
306
- "scope": 33421,
306
+ "scope": 33432,
307
307
  "stateMutability": "view",
308
308
  "virtual": false,
309
309
  "visibility": "external"
@@ -316,11 +316,11 @@
316
316
  "contractKind": "interface",
317
317
  "fullyImplemented": false,
318
318
  "linearizedBaseContracts": [
319
- 33421
319
+ 33432
320
320
  ],
321
321
  "name": "IERC165",
322
322
  "nameLocation": "190:7:43",
323
- "scope": 33422,
323
+ "scope": 33433,
324
324
  "usedErrors": [],
325
325
  "usedEvents": []
326
326
  }