@latticexyz/world-modules 2.0.0-main-a38a9f25 → 2.0.0-main-5fdbb127

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 (96) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +4203 -4203
  4. package/out/DelegationControl.sol/DelegationControl.json +98 -98
  5. package/out/Hook.sol/HookInstance.json +13 -13
  6. package/out/Hook.sol/HookLib.json +13 -13
  7. package/out/Hooks.sol/Hooks.json +2917 -2917
  8. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  9. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  10. package/out/IBaseWorld.sol/IBaseWorld.json +75 -75
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +19 -19
  12. package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
  13. package/out/ISystemHook.sol/ISystemHook.json +12 -12
  14. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  15. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  16. package/out/IWorldKernel.sol/IWorldCall.json +10 -10
  17. package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
  18. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
  19. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +52 -52
  20. package/out/KeysInTable.sol/KeysInTable.json +17953 -17953
  21. package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
  22. package/out/KeysInTableModule.sol/KeysInTableModule.json +549 -549
  23. package/out/KeysWithValue.sol/KeysWithValue.json +6427 -6427
  24. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1008 -1008
  25. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +434 -434
  26. package/out/Module.sol/Module.json +88 -88
  27. package/out/ResourceIds.sol/ResourceIds.json +964 -964
  28. package/out/Schema.sol/SchemaInstance.json +30 -30
  29. package/out/Schema.sol/SchemaLib.json +30 -30
  30. package/out/SchemaType.sol/SchemaType.json +276 -276
  31. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +315 -315
  32. package/out/StoreCore.sol/StoreCore.json +13 -13
  33. package/out/StoreCore.sol/StoreCoreInternal.json +13 -13
  34. package/out/StoreHook.sol/StoreHook.json +368 -368
  35. package/out/StoreHooks.sol/StoreHooks.json +2692 -2692
  36. package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
  37. package/out/System.sol/System.json +32 -32
  38. package/out/Tables.sol/Tables.json +4684 -4684
  39. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
  40. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3210 -3210
  41. package/out/UniqueEntity.sol/UniqueEntity.json +2125 -2125
  42. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +336 -336
  43. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
  44. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4308 -4308
  45. package/out/WorldContext.sol/WorldContextConsumer.json +24 -24
  46. package/out/WorldContext.sol/WorldContextProvider.json +24 -24
  47. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +96 -96
  48. package/out/WorldResourceId.sol/WorldResourceIdLib.json +96 -96
  49. package/out/constants.sol/constants.json +35 -35
  50. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  51. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  52. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  53. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  54. package/out/hasKey.sol/hasKey.json +130 -130
  55. package/out/index.sol/index.json +53 -53
  56. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +168 -168
  57. package/out/query.sol/query.json +1154 -1154
  58. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  59. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  60. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  61. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  62. package/out/src/IStore.sol/IStore.json +52 -52
  63. package/out/src/IWorldKernel.sol/IWorldCall.json +150 -150
  64. package/out/src/IWorldKernel.sol/IWorldKernel.json +150 -150
  65. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +150 -150
  66. package/out/src/Memory.sol/Memory.json +91 -91
  67. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  68. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  69. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  70. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  71. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  72. package/out/src/Schema.sol/SchemaLib.json +790 -790
  73. package/out/src/Slice.sol/SliceInstance.json +430 -430
  74. package/out/src/Slice.sol/SliceLib.json +430 -430
  75. package/out/src/StoreCore.sol/StoreCore.json +4468 -4468
  76. package/out/src/StoreCore.sol/StoreCoreInternal.json +4468 -4468
  77. package/out/src/StoreSwitch.sol/StoreSwitch.json +2496 -2496
  78. package/out/src/WorldContext.sol/WorldContextConsumer.json +376 -376
  79. package/out/src/WorldContext.sol/WorldContextProvider.json +376 -376
  80. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  81. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  82. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  83. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  84. package/out/tables/ResourceIds.sol/ResourceIds.json +2665 -2665
  85. package/out/tables/Tables.sol/Tables.json +11899 -11899
  86. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  87. package/out/types.sol/types.json +72 -60
  88. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  89. package/package.json +8 -8
  90. package/src/interfaces/IBaseWorld.sol +3 -2
  91. package/src/modules/keysintable/tables/KeysInTable.sol +285 -135
  92. package/src/modules/keysintable/tables/UsedKeysIndex.sol +36 -12
  93. package/src/modules/keyswithvalue/tables/KeysWithValue.sol +114 -54
  94. package/src/modules/std-delegations/tables/CallboundDelegations.sol +36 -12
  95. package/src/modules/std-delegations/tables/TimeboundDelegations.sol +36 -12
  96. package/src/modules/uniqueentity/tables/UniqueEntity.sol +36 -12
@@ -10,47 +10,47 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/index.sol",
13
- "id": 39778,
13
+ "id": 39785,
14
14
  "exportedSymbols": {
15
15
  "CallboundDelegations": [
16
- 55216
16
+ 55223
17
17
  ],
18
18
  "CallboundDelegationsTableId": [
19
- 53558
19
+ 53565
20
20
  ],
21
21
  "KeysInTable": [
22
- 48153
22
+ 48160
23
23
  ],
24
24
  "KeysInTableData": [
25
- 41660
25
+ 41667
26
26
  ],
27
27
  "KeysInTableTableId": [
28
- 41637
28
+ 41644
29
29
  ],
30
30
  "KeysWithValue": [
31
- 53147
31
+ 53154
32
32
  ],
33
33
  "TimeboundDelegations": [
34
- 56585
34
+ 56592
35
35
  ],
36
36
  "TimeboundDelegationsTableId": [
37
- 55273
37
+ 55280
38
38
  ],
39
39
  "UniqueEntity": [
40
- 57706
40
+ 57713
41
41
  ],
42
42
  "UsedKeysIndex": [
43
- 49765
43
+ 49772
44
44
  ],
45
45
  "UsedKeysIndexTableId": [
46
- 48212
46
+ 48219
47
47
  ]
48
48
  },
49
49
  "nodeType": "SourceUnit",
50
50
  "src": "32:706:110",
51
51
  "nodes": [
52
52
  {
53
- "id": 39760,
53
+ "id": 39767,
54
54
  "nodeType": "PragmaDirective",
55
55
  "src": "32:25:110",
56
56
  "nodes": [],
@@ -62,23 +62,23 @@
62
62
  ]
63
63
  },
64
64
  {
65
- "id": 39762,
65
+ "id": 39769,
66
66
  "nodeType": "ImportDirective",
67
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": 39778,
73
- "sourceUnit": 53148,
72
+ "scope": 39785,
73
+ "sourceUnit": 53155,
74
74
  "symbolAliases": [
75
75
  {
76
76
  "foreign": {
77
- "id": 39761,
77
+ "id": 39768,
78
78
  "name": "KeysWithValue",
79
79
  "nodeType": "Identifier",
80
80
  "overloadedDeclarations": [],
81
- "referencedDeclaration": 53147,
81
+ "referencedDeclaration": 53154,
82
82
  "src": "117:13:110",
83
83
  "typeDescriptions": {}
84
84
  },
@@ -88,23 +88,23 @@
88
88
  "unitAlias": ""
89
89
  },
90
90
  {
91
- "id": 39766,
91
+ "id": 39773,
92
92
  "nodeType": "ImportDirective",
93
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": 39778,
99
- "sourceUnit": 48154,
98
+ "scope": 39785,
99
+ "sourceUnit": 48161,
100
100
  "symbolAliases": [
101
101
  {
102
102
  "foreign": {
103
- "id": 39763,
103
+ "id": 39770,
104
104
  "name": "KeysInTable",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
- "referencedDeclaration": 48153,
107
+ "referencedDeclaration": 48160,
108
108
  "src": "199:11:110",
109
109
  "typeDescriptions": {}
110
110
  },
@@ -112,11 +112,11 @@
112
112
  },
113
113
  {
114
114
  "foreign": {
115
- "id": 39764,
115
+ "id": 39771,
116
116
  "name": "KeysInTableData",
117
117
  "nodeType": "Identifier",
118
118
  "overloadedDeclarations": [],
119
- "referencedDeclaration": 41660,
119
+ "referencedDeclaration": 41667,
120
120
  "src": "212:15:110",
121
121
  "typeDescriptions": {}
122
122
  },
@@ -124,11 +124,11 @@
124
124
  },
125
125
  {
126
126
  "foreign": {
127
- "id": 39765,
127
+ "id": 39772,
128
128
  "name": "KeysInTableTableId",
129
129
  "nodeType": "Identifier",
130
130
  "overloadedDeclarations": [],
131
- "referencedDeclaration": 41637,
131
+ "referencedDeclaration": 41644,
132
132
  "src": "229:18:110",
133
133
  "typeDescriptions": {}
134
134
  },
@@ -138,23 +138,23 @@
138
138
  "unitAlias": ""
139
139
  },
140
140
  {
141
- "id": 39769,
141
+ "id": 39776,
142
142
  "nodeType": "ImportDirective",
143
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": 39778,
149
- "sourceUnit": 49775,
148
+ "scope": 39785,
149
+ "sourceUnit": 49782,
150
150
  "symbolAliases": [
151
151
  {
152
152
  "foreign": {
153
- "id": 39767,
153
+ "id": 39774,
154
154
  "name": "UsedKeysIndex",
155
155
  "nodeType": "Identifier",
156
156
  "overloadedDeclarations": [],
157
- "referencedDeclaration": 49765,
157
+ "referencedDeclaration": 49772,
158
158
  "src": "312:13:110",
159
159
  "typeDescriptions": {}
160
160
  },
@@ -162,11 +162,11 @@
162
162
  },
163
163
  {
164
164
  "foreign": {
165
- "id": 39768,
165
+ "id": 39775,
166
166
  "name": "UsedKeysIndexTableId",
167
167
  "nodeType": "Identifier",
168
168
  "overloadedDeclarations": [],
169
- "referencedDeclaration": 48212,
169
+ "referencedDeclaration": 48219,
170
170
  "src": "327:20:110",
171
171
  "typeDescriptions": {}
172
172
  },
@@ -176,23 +176,23 @@
176
176
  "unitAlias": ""
177
177
  },
178
178
  {
179
- "id": 39771,
179
+ "id": 39778,
180
180
  "nodeType": "ImportDirective",
181
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": 39778,
187
- "sourceUnit": 57707,
186
+ "scope": 39785,
187
+ "sourceUnit": 57714,
188
188
  "symbolAliases": [
189
189
  {
190
190
  "foreign": {
191
- "id": 39770,
191
+ "id": 39777,
192
192
  "name": "UniqueEntity",
193
193
  "nodeType": "Identifier",
194
194
  "overloadedDeclarations": [],
195
- "referencedDeclaration": 57706,
195
+ "referencedDeclaration": 57713,
196
196
  "src": "414:12:110",
197
197
  "typeDescriptions": {}
198
198
  },
@@ -202,23 +202,23 @@
202
202
  "unitAlias": ""
203
203
  },
204
204
  {
205
- "id": 39774,
205
+ "id": 39781,
206
206
  "nodeType": "ImportDirective",
207
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": 39778,
213
- "sourceUnit": 55217,
212
+ "scope": 39785,
213
+ "sourceUnit": 55224,
214
214
  "symbolAliases": [
215
215
  {
216
216
  "foreign": {
217
- "id": 39772,
217
+ "id": 39779,
218
218
  "name": "CallboundDelegations",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 55216,
221
+ "referencedDeclaration": 55223,
222
222
  "src": "493:20:110",
223
223
  "typeDescriptions": {}
224
224
  },
@@ -226,11 +226,11 @@
226
226
  },
227
227
  {
228
228
  "foreign": {
229
- "id": 39773,
229
+ "id": 39780,
230
230
  "name": "CallboundDelegationsTableId",
231
231
  "nodeType": "Identifier",
232
232
  "overloadedDeclarations": [],
233
- "referencedDeclaration": 53558,
233
+ "referencedDeclaration": 53565,
234
234
  "src": "515:27:110",
235
235
  "typeDescriptions": {}
236
236
  },
@@ -240,23 +240,23 @@
240
240
  "unitAlias": ""
241
241
  },
242
242
  {
243
- "id": 39777,
243
+ "id": 39784,
244
244
  "nodeType": "ImportDirective",
245
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": 39778,
251
- "sourceUnit": 56586,
250
+ "scope": 39785,
251
+ "sourceUnit": 56593,
252
252
  "symbolAliases": [
253
253
  {
254
254
  "foreign": {
255
- "id": 39775,
255
+ "id": 39782,
256
256
  "name": "TimeboundDelegations",
257
257
  "nodeType": "Identifier",
258
258
  "overloadedDeclarations": [],
259
- "referencedDeclaration": 56585,
259
+ "referencedDeclaration": 56592,
260
260
  "src": "620:20:110",
261
261
  "typeDescriptions": {}
262
262
  },
@@ -264,11 +264,11 @@
264
264
  },
265
265
  {
266
266
  "foreign": {
267
- "id": 39776,
267
+ "id": 39783,
268
268
  "name": "TimeboundDelegationsTableId",
269
269
  "nodeType": "Identifier",
270
270
  "overloadedDeclarations": [],
271
- "referencedDeclaration": 55273,
271
+ "referencedDeclaration": 55280,
272
272
  "src": "642:27:110",
273
273
  "typeDescriptions": {}
274
274
  },