@latticexyz/world-modules 2.0.0-main-fa74f25e → 2.0.0-main-3086581a

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 (112) 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 +2611 -2611
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
  5. package/out/DelegationControl.sol/DelegationControl.json +101 -101
  6. package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
  9. package/out/Hook.sol/HookInstance.json +16 -16
  10. package/out/Hook.sol/HookLib.json +16 -16
  11. package/out/Hooks.sol/Hooks.json +96 -96
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  14. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  16. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  17. package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  20. package/out/IStore.sol/IStore.json +4 -4
  21. package/out/IStoreData.sol/IStoreData.json +4 -4
  22. package/out/IStoreHook.sol/IStoreHook.json +4 -4
  23. package/out/IStoreRead.sol/IStoreRead.json +4 -4
  24. package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
  25. package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
  26. package/out/ISystemHook.sol/ISystemHook.json +90 -90
  27. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  28. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  29. package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
  30. package/out/IWorldKernel.sol/IWorldCall.json +156 -156
  31. package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
  32. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  33. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  34. package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
  35. package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
  36. package/out/KeysInTableModule.sol/KeysInTableModule.json +539 -539
  37. package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
  38. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1002 -1002
  39. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +428 -428
  40. package/out/Memory.sol/Memory.json +8 -8
  41. package/out/Module.sol/Module.json +90 -90
  42. package/out/ResourceIds.sol/ResourceIds.json +70 -70
  43. package/out/Schema.sol/SchemaInstance.json +76 -76
  44. package/out/Schema.sol/SchemaLib.json +76 -76
  45. package/out/SchemaType.sol/SchemaType.json +276 -276
  46. package/out/Slice.sol/SliceInstance.json +8 -8
  47. package/out/Slice.sol/SliceLib.json +8 -8
  48. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +305 -305
  49. package/out/Storage.sol/Storage.json +11 -11
  50. package/out/StoreCore.sol/StoreCore.json +59 -59
  51. package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
  52. package/out/StoreHook.sol/StoreHook.json +362 -362
  53. package/out/StoreHooks.sol/StoreHooks.json +97 -97
  54. package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
  55. package/out/System.sol/System.json +35 -35
  56. package/out/Tables.sol/Tables.json +98 -98
  57. package/out/TightCoder.sol/TightCoder.json +128 -128
  58. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
  59. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
  60. package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
  61. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +329 -329
  62. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
  63. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
  64. package/out/WorldContext.sol/WorldContextConsumer.json +379 -379
  65. package/out/WorldContext.sol/WorldContextProvider.json +379 -379
  66. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  67. package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  68. package/out/constants.sol/LayoutOffsets.json +164 -140
  69. package/out/constants.sol/constants.json +115 -115
  70. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  71. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  72. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  73. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  74. package/out/hasKey.sol/hasKey.json +130 -130
  75. package/out/index.sol/index.json +53 -53
  76. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +139 -139
  77. package/out/leftMask.sol/leftMask.json +61 -61
  78. package/out/query.sol/query.json +1154 -1154
  79. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  80. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  81. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
  82. package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
  83. package/out/src/IStore.sol/IStore.json +57 -57
  84. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  85. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  86. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  87. package/out/src/Memory.sol/Memory.json +93 -93
  88. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  89. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  90. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  91. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  92. package/out/src/Schema.sol/SchemaInstance.json +791 -791
  93. package/out/src/Schema.sol/SchemaLib.json +791 -791
  94. package/out/src/Slice.sol/SliceInstance.json +433 -433
  95. package/out/src/Slice.sol/SliceLib.json +433 -433
  96. package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
  97. package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
  98. package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
  99. package/out/src/WorldContext.sol/WorldContextConsumer.json +379 -379
  100. package/out/src/WorldContext.sol/WorldContextProvider.json +379 -379
  101. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  102. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  103. package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
  104. package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
  105. package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
  106. package/out/tables/Tables.sol/Tables.json +7304 -7304
  107. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
  108. package/out/types.sol/types.json +39 -39
  109. package/out/version.sol/version.json +12 -12
  110. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  111. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  112. package/package.json +8 -8
@@ -10,47 +10,47 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/index.sol",
13
- "id": 39333,
13
+ "id": 39370,
14
14
  "exportedSymbols": {
15
15
  "CallboundDelegations": [
16
- 54771
16
+ 54808
17
17
  ],
18
18
  "CallboundDelegationsTableId": [
19
- 53113
19
+ 53150
20
20
  ],
21
21
  "KeysInTable": [
22
- 47708
22
+ 47745
23
23
  ],
24
24
  "KeysInTableData": [
25
- 41215
25
+ 41252
26
26
  ],
27
27
  "KeysInTableTableId": [
28
- 41192
28
+ 41229
29
29
  ],
30
30
  "KeysWithValue": [
31
- 52702
31
+ 52739
32
32
  ],
33
33
  "TimeboundDelegations": [
34
- 56140
34
+ 56177
35
35
  ],
36
36
  "TimeboundDelegationsTableId": [
37
- 54828
37
+ 54865
38
38
  ],
39
39
  "UniqueEntity": [
40
- 57261
40
+ 57298
41
41
  ],
42
42
  "UsedKeysIndex": [
43
- 49320
43
+ 49357
44
44
  ],
45
45
  "UsedKeysIndexTableId": [
46
- 47767
46
+ 47804
47
47
  ]
48
48
  },
49
49
  "nodeType": "SourceUnit",
50
50
  "src": "32:706:110",
51
51
  "nodes": [
52
52
  {
53
- "id": 39315,
53
+ "id": 39352,
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": 39317,
65
+ "id": 39354,
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": 39333,
73
- "sourceUnit": 52703,
72
+ "scope": 39370,
73
+ "sourceUnit": 52740,
74
74
  "symbolAliases": [
75
75
  {
76
76
  "foreign": {
77
- "id": 39316,
77
+ "id": 39353,
78
78
  "name": "KeysWithValue",
79
79
  "nodeType": "Identifier",
80
80
  "overloadedDeclarations": [],
81
- "referencedDeclaration": 52702,
81
+ "referencedDeclaration": 52739,
82
82
  "src": "117:13:110",
83
83
  "typeDescriptions": {}
84
84
  },
@@ -88,23 +88,23 @@
88
88
  "unitAlias": ""
89
89
  },
90
90
  {
91
- "id": 39321,
91
+ "id": 39358,
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": 39333,
99
- "sourceUnit": 47709,
98
+ "scope": 39370,
99
+ "sourceUnit": 47746,
100
100
  "symbolAliases": [
101
101
  {
102
102
  "foreign": {
103
- "id": 39318,
103
+ "id": 39355,
104
104
  "name": "KeysInTable",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
- "referencedDeclaration": 47708,
107
+ "referencedDeclaration": 47745,
108
108
  "src": "199:11:110",
109
109
  "typeDescriptions": {}
110
110
  },
@@ -112,11 +112,11 @@
112
112
  },
113
113
  {
114
114
  "foreign": {
115
- "id": 39319,
115
+ "id": 39356,
116
116
  "name": "KeysInTableData",
117
117
  "nodeType": "Identifier",
118
118
  "overloadedDeclarations": [],
119
- "referencedDeclaration": 41215,
119
+ "referencedDeclaration": 41252,
120
120
  "src": "212:15:110",
121
121
  "typeDescriptions": {}
122
122
  },
@@ -124,11 +124,11 @@
124
124
  },
125
125
  {
126
126
  "foreign": {
127
- "id": 39320,
127
+ "id": 39357,
128
128
  "name": "KeysInTableTableId",
129
129
  "nodeType": "Identifier",
130
130
  "overloadedDeclarations": [],
131
- "referencedDeclaration": 41192,
131
+ "referencedDeclaration": 41229,
132
132
  "src": "229:18:110",
133
133
  "typeDescriptions": {}
134
134
  },
@@ -138,23 +138,23 @@
138
138
  "unitAlias": ""
139
139
  },
140
140
  {
141
- "id": 39324,
141
+ "id": 39361,
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": 39333,
149
- "sourceUnit": 49330,
148
+ "scope": 39370,
149
+ "sourceUnit": 49367,
150
150
  "symbolAliases": [
151
151
  {
152
152
  "foreign": {
153
- "id": 39322,
153
+ "id": 39359,
154
154
  "name": "UsedKeysIndex",
155
155
  "nodeType": "Identifier",
156
156
  "overloadedDeclarations": [],
157
- "referencedDeclaration": 49320,
157
+ "referencedDeclaration": 49357,
158
158
  "src": "312:13:110",
159
159
  "typeDescriptions": {}
160
160
  },
@@ -162,11 +162,11 @@
162
162
  },
163
163
  {
164
164
  "foreign": {
165
- "id": 39323,
165
+ "id": 39360,
166
166
  "name": "UsedKeysIndexTableId",
167
167
  "nodeType": "Identifier",
168
168
  "overloadedDeclarations": [],
169
- "referencedDeclaration": 47767,
169
+ "referencedDeclaration": 47804,
170
170
  "src": "327:20:110",
171
171
  "typeDescriptions": {}
172
172
  },
@@ -176,23 +176,23 @@
176
176
  "unitAlias": ""
177
177
  },
178
178
  {
179
- "id": 39326,
179
+ "id": 39363,
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": 39333,
187
- "sourceUnit": 57262,
186
+ "scope": 39370,
187
+ "sourceUnit": 57299,
188
188
  "symbolAliases": [
189
189
  {
190
190
  "foreign": {
191
- "id": 39325,
191
+ "id": 39362,
192
192
  "name": "UniqueEntity",
193
193
  "nodeType": "Identifier",
194
194
  "overloadedDeclarations": [],
195
- "referencedDeclaration": 57261,
195
+ "referencedDeclaration": 57298,
196
196
  "src": "414:12:110",
197
197
  "typeDescriptions": {}
198
198
  },
@@ -202,23 +202,23 @@
202
202
  "unitAlias": ""
203
203
  },
204
204
  {
205
- "id": 39329,
205
+ "id": 39366,
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": 39333,
213
- "sourceUnit": 54772,
212
+ "scope": 39370,
213
+ "sourceUnit": 54809,
214
214
  "symbolAliases": [
215
215
  {
216
216
  "foreign": {
217
- "id": 39327,
217
+ "id": 39364,
218
218
  "name": "CallboundDelegations",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 54771,
221
+ "referencedDeclaration": 54808,
222
222
  "src": "493:20:110",
223
223
  "typeDescriptions": {}
224
224
  },
@@ -226,11 +226,11 @@
226
226
  },
227
227
  {
228
228
  "foreign": {
229
- "id": 39328,
229
+ "id": 39365,
230
230
  "name": "CallboundDelegationsTableId",
231
231
  "nodeType": "Identifier",
232
232
  "overloadedDeclarations": [],
233
- "referencedDeclaration": 53113,
233
+ "referencedDeclaration": 53150,
234
234
  "src": "515:27:110",
235
235
  "typeDescriptions": {}
236
236
  },
@@ -240,23 +240,23 @@
240
240
  "unitAlias": ""
241
241
  },
242
242
  {
243
- "id": 39332,
243
+ "id": 39369,
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": 39333,
251
- "sourceUnit": 56141,
250
+ "scope": 39370,
251
+ "sourceUnit": 56178,
252
252
  "symbolAliases": [
253
253
  {
254
254
  "foreign": {
255
- "id": 39330,
255
+ "id": 39367,
256
256
  "name": "TimeboundDelegations",
257
257
  "nodeType": "Identifier",
258
258
  "overloadedDeclarations": [],
259
- "referencedDeclaration": 56140,
259
+ "referencedDeclaration": 56177,
260
260
  "src": "620:20:110",
261
261
  "typeDescriptions": {}
262
262
  },
@@ -264,11 +264,11 @@
264
264
  },
265
265
  {
266
266
  "foreign": {
267
- "id": 39331,
267
+ "id": 39368,
268
268
  "name": "TimeboundDelegationsTableId",
269
269
  "nodeType": "Identifier",
270
270
  "overloadedDeclarations": [],
271
- "referencedDeclaration": 54828,
271
+ "referencedDeclaration": 54865,
272
272
  "src": "642:27:110",
273
273
  "typeDescriptions": {}
274
274
  },