@latticexyz/world-modules 2.0.0-main-08d7c471 → 2.0.0-main-9ff4f451

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 (99) hide show
  1. package/out/AccessControl.sol/AccessControl.json +200 -200
  2. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  3. package/out/Balances.sol/Balances.json +1713 -1713
  4. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +207 -207
  5. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  6. package/out/DelegationControl.sol/DelegationControl.json +89 -89
  7. package/out/FunctionSelectors.sol/FunctionSelectors.json +2335 -2335
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  11. package/out/IBaseWorld.sol/IBaseWorld.json +68 -68
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
  13. package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
  14. package/out/ISystemHook.sol/ISystemHook.json +16 -16
  15. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  16. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  17. package/out/IWorldKernel.sol/IWorldCall.json +14 -14
  18. package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
  19. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
  20. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
  21. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  22. package/out/KeysInTableHook.sol/KeysInTableHook.json +861 -861
  23. package/out/KeysInTableModule.sol/KeysInTableModule.json +527 -527
  24. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  25. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +989 -989
  26. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +416 -416
  27. package/out/Module.sol/Module.json +75 -75
  28. package/out/NamespaceOwner.sol/NamespaceOwner.json +464 -464
  29. package/out/ResourceAccess.sol/ResourceAccess.json +471 -471
  30. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  31. package/out/Schema.sol/SchemaInstance.json +30 -30
  32. package/out/Schema.sol/SchemaLib.json +30 -30
  33. package/out/SchemaType.sol/SchemaType.json +276 -276
  34. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +293 -293
  35. package/out/StoreHook.sol/StoreHook.json +368 -368
  36. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  37. package/out/System.sol/System.json +19 -19
  38. package/out/SystemHooks.sol/SystemHooks.json +4091 -4091
  39. package/out/SystemSwitch.sol/SystemSwitch.json +356 -356
  40. package/out/Systems.sol/Systems.json +2459 -2459
  41. package/out/Tables.sol/Tables.json +73 -73
  42. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +111 -111
  43. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  44. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  45. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +317 -317
  46. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +85 -85
  47. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2723 -2723
  48. package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
  49. package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
  50. package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
  51. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +101 -101
  52. package/out/WorldResourceId.sol/WorldResourceIdLib.json +101 -101
  53. package/out/constants.sol/constants.json +403 -120
  54. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  55. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  56. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  57. package/out/getUniqueEntity.sol/getUniqueEntity.json +105 -105
  58. package/out/hasKey.sol/hasKey.json +130 -130
  59. package/out/index.sol/index.json +53 -53
  60. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +128 -128
  61. package/out/query.sol/query.json +1154 -1154
  62. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  63. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  64. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  65. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  66. package/out/src/Hook.sol/HookInstance.json +331 -331
  67. package/out/src/Hook.sol/HookLib.json +331 -331
  68. package/out/src/IStore.sol/IStore.json +53 -53
  69. package/out/src/ISystemHook.sol/ISystemHook.json +90 -90
  70. package/out/src/IWorldErrors.sol/IWorldErrors.json +151 -151
  71. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  72. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  73. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  74. package/out/src/Memory.sol/Memory.json +91 -91
  75. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  76. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  77. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  78. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  79. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  80. package/out/src/Schema.sol/SchemaLib.json +790 -790
  81. package/out/src/Slice.sol/SliceInstance.json +430 -430
  82. package/out/src/Slice.sol/SliceLib.json +430 -430
  83. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  84. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  85. package/out/src/StoreSwitch.sol/StoreSwitch.json +2483 -2483
  86. package/out/src/WorldContext.sol/WorldContextConsumer.json +418 -418
  87. package/out/src/WorldContext.sol/WorldContextConsumerLib.json +418 -418
  88. package/out/src/WorldContext.sol/WorldContextProviderLib.json +418 -418
  89. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  90. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  91. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  92. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  93. package/out/systemHookTypes.sol/systemHookTypes.json +25 -25
  94. package/out/tables/ResourceIds.sol/ResourceIds.json +1747 -1747
  95. package/out/tables/Tables.sol/Tables.json +7288 -7288
  96. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  97. package/out/types.sol/types.json +41 -41
  98. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  99. package/package.json +8 -8
@@ -10,47 +10,47 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/index.sol",
13
- "id": 49044,
13
+ "id": 49080,
14
14
  "exportedSymbols": {
15
15
  "CallboundDelegations": [
16
- 64483
16
+ 64519
17
17
  ],
18
18
  "CallboundDelegationsTableId": [
19
- 62825
19
+ 62861
20
20
  ],
21
21
  "KeysInTable": [
22
- 57419
22
+ 57455
23
23
  ],
24
24
  "KeysInTableData": [
25
- 50926
25
+ 50962
26
26
  ],
27
27
  "KeysInTableTableId": [
28
- 50903
28
+ 50939
29
29
  ],
30
30
  "KeysWithValue": [
31
- 62414
31
+ 62450
32
32
  ],
33
33
  "TimeboundDelegations": [
34
- 65852
34
+ 65888
35
35
  ],
36
36
  "TimeboundDelegationsTableId": [
37
- 64540
37
+ 64576
38
38
  ],
39
39
  "UniqueEntity": [
40
- 66982
40
+ 67018
41
41
  ],
42
42
  "UsedKeysIndex": [
43
- 59031
43
+ 59067
44
44
  ],
45
45
  "UsedKeysIndexTableId": [
46
- 57478
46
+ 57514
47
47
  ]
48
48
  },
49
49
  "nodeType": "SourceUnit",
50
50
  "src": "32:706:120",
51
51
  "nodes": [
52
52
  {
53
- "id": 49026,
53
+ "id": 49062,
54
54
  "nodeType": "PragmaDirective",
55
55
  "src": "32:25:120",
56
56
  "nodes": [],
@@ -62,23 +62,23 @@
62
62
  ]
63
63
  },
64
64
  {
65
- "id": 49028,
65
+ "id": 49064,
66
66
  "nodeType": "ImportDirective",
67
67
  "src": "108:81:120",
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": 49044,
73
- "sourceUnit": 62415,
72
+ "scope": 49080,
73
+ "sourceUnit": 62451,
74
74
  "symbolAliases": [
75
75
  {
76
76
  "foreign": {
77
- "id": 49027,
77
+ "id": 49063,
78
78
  "name": "KeysWithValue",
79
79
  "nodeType": "Identifier",
80
80
  "overloadedDeclarations": [],
81
- "referencedDeclaration": 62414,
81
+ "referencedDeclaration": 62450,
82
82
  "src": "117:13:120",
83
83
  "typeDescriptions": {}
84
84
  },
@@ -88,23 +88,23 @@
88
88
  "unitAlias": ""
89
89
  },
90
90
  {
91
- "id": 49032,
91
+ "id": 49068,
92
92
  "nodeType": "ImportDirective",
93
93
  "src": "190:112:120",
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": 49044,
99
- "sourceUnit": 57420,
98
+ "scope": 49080,
99
+ "sourceUnit": 57456,
100
100
  "symbolAliases": [
101
101
  {
102
102
  "foreign": {
103
- "id": 49029,
103
+ "id": 49065,
104
104
  "name": "KeysInTable",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
- "referencedDeclaration": 57419,
107
+ "referencedDeclaration": 57455,
108
108
  "src": "199:11:120",
109
109
  "typeDescriptions": {}
110
110
  },
@@ -112,11 +112,11 @@
112
112
  },
113
113
  {
114
114
  "foreign": {
115
- "id": 49030,
115
+ "id": 49066,
116
116
  "name": "KeysInTableData",
117
117
  "nodeType": "Identifier",
118
118
  "overloadedDeclarations": [],
119
- "referencedDeclaration": 50926,
119
+ "referencedDeclaration": 50962,
120
120
  "src": "212:15:120",
121
121
  "typeDescriptions": {}
122
122
  },
@@ -124,11 +124,11 @@
124
124
  },
125
125
  {
126
126
  "foreign": {
127
- "id": 49031,
127
+ "id": 49067,
128
128
  "name": "KeysInTableTableId",
129
129
  "nodeType": "Identifier",
130
130
  "overloadedDeclarations": [],
131
- "referencedDeclaration": 50903,
131
+ "referencedDeclaration": 50939,
132
132
  "src": "229:18:120",
133
133
  "typeDescriptions": {}
134
134
  },
@@ -138,23 +138,23 @@
138
138
  "unitAlias": ""
139
139
  },
140
140
  {
141
- "id": 49035,
141
+ "id": 49071,
142
142
  "nodeType": "ImportDirective",
143
143
  "src": "303:101:120",
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": 49044,
149
- "sourceUnit": 59042,
148
+ "scope": 49080,
149
+ "sourceUnit": 59078,
150
150
  "symbolAliases": [
151
151
  {
152
152
  "foreign": {
153
- "id": 49033,
153
+ "id": 49069,
154
154
  "name": "UsedKeysIndex",
155
155
  "nodeType": "Identifier",
156
156
  "overloadedDeclarations": [],
157
- "referencedDeclaration": 59031,
157
+ "referencedDeclaration": 59067,
158
158
  "src": "312:13:120",
159
159
  "typeDescriptions": {}
160
160
  },
@@ -162,11 +162,11 @@
162
162
  },
163
163
  {
164
164
  "foreign": {
165
- "id": 49034,
165
+ "id": 49070,
166
166
  "name": "UsedKeysIndexTableId",
167
167
  "nodeType": "Identifier",
168
168
  "overloadedDeclarations": [],
169
- "referencedDeclaration": 57478,
169
+ "referencedDeclaration": 57514,
170
170
  "src": "327:20:120",
171
171
  "typeDescriptions": {}
172
172
  },
@@ -176,23 +176,23 @@
176
176
  "unitAlias": ""
177
177
  },
178
178
  {
179
- "id": 49037,
179
+ "id": 49073,
180
180
  "nodeType": "ImportDirective",
181
181
  "src": "405:78:120",
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": 49044,
187
- "sourceUnit": 66983,
186
+ "scope": 49080,
187
+ "sourceUnit": 67019,
188
188
  "symbolAliases": [
189
189
  {
190
190
  "foreign": {
191
- "id": 49036,
191
+ "id": 49072,
192
192
  "name": "UniqueEntity",
193
193
  "nodeType": "Identifier",
194
194
  "overloadedDeclarations": [],
195
- "referencedDeclaration": 66982,
195
+ "referencedDeclaration": 67018,
196
196
  "src": "414:12:120",
197
197
  "typeDescriptions": {}
198
198
  },
@@ -202,23 +202,23 @@
202
202
  "unitAlias": ""
203
203
  },
204
204
  {
205
- "id": 49040,
205
+ "id": 49076,
206
206
  "nodeType": "ImportDirective",
207
207
  "src": "484:126:120",
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": 49044,
213
- "sourceUnit": 64484,
212
+ "scope": 49080,
213
+ "sourceUnit": 64520,
214
214
  "symbolAliases": [
215
215
  {
216
216
  "foreign": {
217
- "id": 49038,
217
+ "id": 49074,
218
218
  "name": "CallboundDelegations",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 64483,
221
+ "referencedDeclaration": 64519,
222
222
  "src": "493:20:120",
223
223
  "typeDescriptions": {}
224
224
  },
@@ -226,11 +226,11 @@
226
226
  },
227
227
  {
228
228
  "foreign": {
229
- "id": 49039,
229
+ "id": 49075,
230
230
  "name": "CallboundDelegationsTableId",
231
231
  "nodeType": "Identifier",
232
232
  "overloadedDeclarations": [],
233
- "referencedDeclaration": 62825,
233
+ "referencedDeclaration": 62861,
234
234
  "src": "515:27:120",
235
235
  "typeDescriptions": {}
236
236
  },
@@ -240,23 +240,23 @@
240
240
  "unitAlias": ""
241
241
  },
242
242
  {
243
- "id": 49043,
243
+ "id": 49079,
244
244
  "nodeType": "ImportDirective",
245
245
  "src": "611:126:120",
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": 49044,
251
- "sourceUnit": 65853,
250
+ "scope": 49080,
251
+ "sourceUnit": 65889,
252
252
  "symbolAliases": [
253
253
  {
254
254
  "foreign": {
255
- "id": 49041,
255
+ "id": 49077,
256
256
  "name": "TimeboundDelegations",
257
257
  "nodeType": "Identifier",
258
258
  "overloadedDeclarations": [],
259
- "referencedDeclaration": 65852,
259
+ "referencedDeclaration": 65888,
260
260
  "src": "620:20:120",
261
261
  "typeDescriptions": {}
262
262
  },
@@ -264,11 +264,11 @@
264
264
  },
265
265
  {
266
266
  "foreign": {
267
- "id": 49042,
267
+ "id": 49078,
268
268
  "name": "TimeboundDelegationsTableId",
269
269
  "nodeType": "Identifier",
270
270
  "overloadedDeclarations": [],
271
- "referencedDeclaration": 64540,
271
+ "referencedDeclaration": 64576,
272
272
  "src": "642:27:120",
273
273
  "typeDescriptions": {}
274
274
  },