@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.
Files changed (91) hide show
  1. package/dist/mud.config.js +1 -1
  2. package/dist/mud.config.js.map +1 -1
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +314 -314
  5. package/out/CallboundDelegations.sol/CallboundDelegations.json +4012 -4012
  6. package/out/DelegationControl.sol/DelegationControl.json +22 -22
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +97 -97
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +81 -81
  9. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  10. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  11. package/out/IBaseWorld.sol/IBaseWorld.json +63 -143
  12. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +51 -51
  13. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  14. package/out/IDelegationControl.sol/IDelegationControl.json +93 -93
  15. package/out/IModule.sol/IModule.json +139 -139
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  17. package/out/ISystemHook.sol/ISystemHook.json +129 -129
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  19. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  20. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  21. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  22. package/out/IWorldErrors.sol/IWorldErrors.json +238 -238
  23. package/out/IWorldKernel.sol/IWorldCall.json +241 -241
  24. package/out/IWorldKernel.sol/IWorldKernel.json +241 -241
  25. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +241 -241
  26. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +282 -282
  27. package/out/KeysInTable.sol/KeysInTable.json +15792 -15792
  28. package/out/KeysInTableHook.sol/KeysInTableHook.json +1253 -1253
  29. package/out/KeysInTableModule.sol/KeysInTableModule.json +798 -798
  30. package/out/KeysWithValue.sol/KeysWithValue.json +5879 -5879
  31. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1335 -1335
  32. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +619 -619
  33. package/out/Module.sol/Module.json +20 -20
  34. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +467 -467
  35. package/out/StoreHook.sol/StoreHook.json +31 -31
  36. package/out/System.sol/System.json +3 -3
  37. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +166 -166
  38. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3149 -3149
  39. package/out/UniqueEntity.sol/UniqueEntity.json +1976 -1976
  40. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
  41. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  42. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +3954 -3954
  43. package/out/WorldContext.sol/WorldContextConsumer.json +17 -17
  44. package/out/WorldContext.sol/WorldContextProvider.json +17 -17
  45. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +7 -7
  46. package/out/WorldResourceId.sol/WorldResourceIdLib.json +7 -7
  47. package/out/constants.sol/constants.json +116 -116
  48. package/out/getKeysInTable.sol/getKeysInTable.json +819 -819
  49. package/out/getKeysWithValue.sol/getKeysWithValue.json +374 -374
  50. package/out/getTargetTableId.sol/getTargetTableId.json +232 -232
  51. package/out/getUniqueEntity.sol/getUniqueEntity.json +143 -143
  52. package/out/hasKey.sol/hasKey.json +189 -189
  53. package/out/index.sol/index.json +73 -73
  54. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +197 -197
  55. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  56. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +137 -137
  57. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +137 -137
  58. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +137 -137
  59. package/out/query.sol/query.json +1791 -1791
  60. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  61. package/out/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
  62. package/out/src/IStore.sol/IStore.json +21 -21
  63. package/out/src/IStore.sol/IStoreData.json +21 -21
  64. package/out/src/IStore.sol/IStoreRead.json +21 -21
  65. package/out/src/IStore.sol/IStoreRegistration.json +21 -21
  66. package/out/src/IStore.sol/IStoreWrite.json +21 -21
  67. package/out/src/Memory.sol/Memory.json +4 -4
  68. package/out/src/Schema.sol/SchemaInstance.json +42 -42
  69. package/out/src/Schema.sol/SchemaLib.json +42 -42
  70. package/out/src/Slice.sol/SliceInstance.json +4 -4
  71. package/out/src/Slice.sol/SliceLib.json +4 -4
  72. package/out/src/StoreCore.sol/StoreCore.json +294 -294
  73. package/out/src/StoreCore.sol/StoreCoreInternal.json +294 -294
  74. package/out/src/StoreSwitch.sol/StoreSwitch.json +23 -23
  75. package/out/src/WorldContext.sol/WorldContextConsumer.json +22 -22
  76. package/out/src/WorldContext.sol/WorldContextProvider.json +22 -22
  77. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +14 -14
  78. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +14 -14
  79. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
  80. package/package.json +8 -8
  81. package/src/interfaces/IBaseWorld.sol +1 -3
  82. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  83. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  84. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  85. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  86. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  87. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  88. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  89. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  90. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  91. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -10,49 +10,49 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/index.sol",
13
- "id": 49433,
13
+ "id": 49425,
14
14
  "exportedSymbols": {
15
15
  "CallboundDelegations": [
16
- 64875
16
+ 64863
17
17
  ],
18
18
  "CallboundDelegationsTableId": [
19
- 63217
19
+ 63205
20
20
  ],
21
21
  "KeysInTable": [
22
- 57812
22
+ 57800
23
23
  ],
24
24
  "KeysInTableData": [
25
- 51319
25
+ 51307
26
26
  ],
27
27
  "KeysInTableTableId": [
28
- 51296
28
+ 51284
29
29
  ],
30
30
  "KeysWithValue": [
31
- 62806
31
+ 62794
32
32
  ],
33
33
  "TimeboundDelegations": [
34
- 66244
34
+ 66232
35
35
  ],
36
36
  "TimeboundDelegationsTableId": [
37
- 64932
37
+ 64920
38
38
  ],
39
39
  "UniqueEntity": [
40
- 67365
40
+ 67353
41
41
  ],
42
42
  "UsedKeysIndex": [
43
- 59424
43
+ 59412
44
44
  ],
45
45
  "UsedKeysIndexTableId": [
46
- 57871
46
+ 57859
47
47
  ]
48
48
  },
49
49
  "nodeType": "SourceUnit",
50
- "src": "32:706:111",
50
+ "src": "32:706:110",
51
51
  "nodes": [
52
52
  {
53
- "id": 49415,
53
+ "id": 49407,
54
54
  "nodeType": "PragmaDirective",
55
- "src": "32:25:111",
55
+ "src": "32:25:110",
56
56
  "nodes": [],
57
57
  "literals": [
58
58
  "solidity",
@@ -62,24 +62,24 @@
62
62
  ]
63
63
  },
64
64
  {
65
- "id": 49417,
65
+ "id": 49409,
66
66
  "nodeType": "ImportDirective",
67
- "src": "108:81:111",
67
+ "src": "108:81:110",
68
68
  "nodes": [],
69
69
  "absolutePath": "src/modules/keyswithvalue/tables/KeysWithValue.sol",
70
70
  "file": "./modules/keyswithvalue/tables/KeysWithValue.sol",
71
71
  "nameLocation": "-1:-1:-1",
72
- "scope": 49433,
73
- "sourceUnit": 62807,
72
+ "scope": 49425,
73
+ "sourceUnit": 62795,
74
74
  "symbolAliases": [
75
75
  {
76
76
  "foreign": {
77
- "id": 49416,
77
+ "id": 49408,
78
78
  "name": "KeysWithValue",
79
79
  "nodeType": "Identifier",
80
80
  "overloadedDeclarations": [],
81
- "referencedDeclaration": 62806,
82
- "src": "117:13:111",
81
+ "referencedDeclaration": 62794,
82
+ "src": "117:13:110",
83
83
  "typeDescriptions": {}
84
84
  },
85
85
  "nameLocation": "-1:-1:-1"
@@ -88,48 +88,48 @@
88
88
  "unitAlias": ""
89
89
  },
90
90
  {
91
- "id": 49421,
91
+ "id": 49413,
92
92
  "nodeType": "ImportDirective",
93
- "src": "190:112:111",
93
+ "src": "190:112:110",
94
94
  "nodes": [],
95
95
  "absolutePath": "src/modules/keysintable/tables/KeysInTable.sol",
96
96
  "file": "./modules/keysintable/tables/KeysInTable.sol",
97
97
  "nameLocation": "-1:-1:-1",
98
- "scope": 49433,
99
- "sourceUnit": 57813,
98
+ "scope": 49425,
99
+ "sourceUnit": 57801,
100
100
  "symbolAliases": [
101
101
  {
102
102
  "foreign": {
103
- "id": 49418,
103
+ "id": 49410,
104
104
  "name": "KeysInTable",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
- "referencedDeclaration": 57812,
108
- "src": "199:11:111",
107
+ "referencedDeclaration": 57800,
108
+ "src": "199:11:110",
109
109
  "typeDescriptions": {}
110
110
  },
111
111
  "nameLocation": "-1:-1:-1"
112
112
  },
113
113
  {
114
114
  "foreign": {
115
- "id": 49419,
115
+ "id": 49411,
116
116
  "name": "KeysInTableData",
117
117
  "nodeType": "Identifier",
118
118
  "overloadedDeclarations": [],
119
- "referencedDeclaration": 51319,
120
- "src": "212:15:111",
119
+ "referencedDeclaration": 51307,
120
+ "src": "212:15:110",
121
121
  "typeDescriptions": {}
122
122
  },
123
123
  "nameLocation": "-1:-1:-1"
124
124
  },
125
125
  {
126
126
  "foreign": {
127
- "id": 49420,
127
+ "id": 49412,
128
128
  "name": "KeysInTableTableId",
129
129
  "nodeType": "Identifier",
130
130
  "overloadedDeclarations": [],
131
- "referencedDeclaration": 51296,
132
- "src": "229:18:111",
131
+ "referencedDeclaration": 51284,
132
+ "src": "229:18:110",
133
133
  "typeDescriptions": {}
134
134
  },
135
135
  "nameLocation": "-1:-1:-1"
@@ -138,36 +138,36 @@
138
138
  "unitAlias": ""
139
139
  },
140
140
  {
141
- "id": 49424,
141
+ "id": 49416,
142
142
  "nodeType": "ImportDirective",
143
- "src": "303:101:111",
143
+ "src": "303:101:110",
144
144
  "nodes": [],
145
145
  "absolutePath": "src/modules/keysintable/tables/UsedKeysIndex.sol",
146
146
  "file": "./modules/keysintable/tables/UsedKeysIndex.sol",
147
147
  "nameLocation": "-1:-1:-1",
148
- "scope": 49433,
149
- "sourceUnit": 59434,
148
+ "scope": 49425,
149
+ "sourceUnit": 59422,
150
150
  "symbolAliases": [
151
151
  {
152
152
  "foreign": {
153
- "id": 49422,
153
+ "id": 49414,
154
154
  "name": "UsedKeysIndex",
155
155
  "nodeType": "Identifier",
156
156
  "overloadedDeclarations": [],
157
- "referencedDeclaration": 59424,
158
- "src": "312:13:111",
157
+ "referencedDeclaration": 59412,
158
+ "src": "312:13:110",
159
159
  "typeDescriptions": {}
160
160
  },
161
161
  "nameLocation": "-1:-1:-1"
162
162
  },
163
163
  {
164
164
  "foreign": {
165
- "id": 49423,
165
+ "id": 49415,
166
166
  "name": "UsedKeysIndexTableId",
167
167
  "nodeType": "Identifier",
168
168
  "overloadedDeclarations": [],
169
- "referencedDeclaration": 57871,
170
- "src": "327:20:111",
169
+ "referencedDeclaration": 57859,
170
+ "src": "327:20:110",
171
171
  "typeDescriptions": {}
172
172
  },
173
173
  "nameLocation": "-1:-1:-1"
@@ -176,24 +176,24 @@
176
176
  "unitAlias": ""
177
177
  },
178
178
  {
179
- "id": 49426,
179
+ "id": 49418,
180
180
  "nodeType": "ImportDirective",
181
- "src": "405:78:111",
181
+ "src": "405:78:110",
182
182
  "nodes": [],
183
183
  "absolutePath": "src/modules/uniqueentity/tables/UniqueEntity.sol",
184
184
  "file": "./modules/uniqueentity/tables/UniqueEntity.sol",
185
185
  "nameLocation": "-1:-1:-1",
186
- "scope": 49433,
187
- "sourceUnit": 67366,
186
+ "scope": 49425,
187
+ "sourceUnit": 67354,
188
188
  "symbolAliases": [
189
189
  {
190
190
  "foreign": {
191
- "id": 49425,
191
+ "id": 49417,
192
192
  "name": "UniqueEntity",
193
193
  "nodeType": "Identifier",
194
194
  "overloadedDeclarations": [],
195
- "referencedDeclaration": 67365,
196
- "src": "414:12:111",
195
+ "referencedDeclaration": 67353,
196
+ "src": "414:12:110",
197
197
  "typeDescriptions": {}
198
198
  },
199
199
  "nameLocation": "-1:-1:-1"
@@ -202,36 +202,36 @@
202
202
  "unitAlias": ""
203
203
  },
204
204
  {
205
- "id": 49429,
205
+ "id": 49421,
206
206
  "nodeType": "ImportDirective",
207
- "src": "484:126:111",
207
+ "src": "484:126:110",
208
208
  "nodes": [],
209
209
  "absolutePath": "src/modules/std-delegations/tables/CallboundDelegations.sol",
210
210
  "file": "./modules/std-delegations/tables/CallboundDelegations.sol",
211
211
  "nameLocation": "-1:-1:-1",
212
- "scope": 49433,
213
- "sourceUnit": 64876,
212
+ "scope": 49425,
213
+ "sourceUnit": 64864,
214
214
  "symbolAliases": [
215
215
  {
216
216
  "foreign": {
217
- "id": 49427,
217
+ "id": 49419,
218
218
  "name": "CallboundDelegations",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 64875,
222
- "src": "493:20:111",
221
+ "referencedDeclaration": 64863,
222
+ "src": "493:20:110",
223
223
  "typeDescriptions": {}
224
224
  },
225
225
  "nameLocation": "-1:-1:-1"
226
226
  },
227
227
  {
228
228
  "foreign": {
229
- "id": 49428,
229
+ "id": 49420,
230
230
  "name": "CallboundDelegationsTableId",
231
231
  "nodeType": "Identifier",
232
232
  "overloadedDeclarations": [],
233
- "referencedDeclaration": 63217,
234
- "src": "515:27:111",
233
+ "referencedDeclaration": 63205,
234
+ "src": "515:27:110",
235
235
  "typeDescriptions": {}
236
236
  },
237
237
  "nameLocation": "-1:-1:-1"
@@ -240,36 +240,36 @@
240
240
  "unitAlias": ""
241
241
  },
242
242
  {
243
- "id": 49432,
243
+ "id": 49424,
244
244
  "nodeType": "ImportDirective",
245
- "src": "611:126:111",
245
+ "src": "611:126:110",
246
246
  "nodes": [],
247
247
  "absolutePath": "src/modules/std-delegations/tables/TimeboundDelegations.sol",
248
248
  "file": "./modules/std-delegations/tables/TimeboundDelegations.sol",
249
249
  "nameLocation": "-1:-1:-1",
250
- "scope": 49433,
251
- "sourceUnit": 66245,
250
+ "scope": 49425,
251
+ "sourceUnit": 66233,
252
252
  "symbolAliases": [
253
253
  {
254
254
  "foreign": {
255
- "id": 49430,
255
+ "id": 49422,
256
256
  "name": "TimeboundDelegations",
257
257
  "nodeType": "Identifier",
258
258
  "overloadedDeclarations": [],
259
- "referencedDeclaration": 66244,
260
- "src": "620:20:111",
259
+ "referencedDeclaration": 66232,
260
+ "src": "620:20:110",
261
261
  "typeDescriptions": {}
262
262
  },
263
263
  "nameLocation": "-1:-1:-1"
264
264
  },
265
265
  {
266
266
  "foreign": {
267
- "id": 49431,
267
+ "id": 49423,
268
268
  "name": "TimeboundDelegationsTableId",
269
269
  "nodeType": "Identifier",
270
270
  "overloadedDeclarations": [],
271
- "referencedDeclaration": 64932,
272
- "src": "642:27:111",
271
+ "referencedDeclaration": 64920,
272
+ "src": "642:27:110",
273
273
  "typeDescriptions": {}
274
274
  },
275
275
  "nameLocation": "-1:-1:-1"
@@ -280,5 +280,5 @@
280
280
  ],
281
281
  "license": "MIT"
282
282
  },
283
- "id": 111
283
+ "id": 110
284
284
  }