@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-7987c94d

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 +215 -215
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2599 -2599
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
  5. package/out/DelegationControl.sol/DelegationControl.json +94 -94
  6. package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
  9. package/out/Hook.sol/HookInstance.json +13 -13
  10. package/out/Hook.sol/HookLib.json +13 -13
  11. package/out/Hooks.sol/Hooks.json +3393 -3393
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +58 -58
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +54 -54
  14. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +52 -52
  16. package/out/ICoreSystem.sol/ICoreSystem.json +7 -7
  17. package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +28 -28
  20. package/out/ISystemHook.sol/ISystemHook.json +86 -86
  21. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  22. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  23. package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
  24. package/out/IWorldKernel.sol/IWorldCall.json +154 -154
  25. package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
  26. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  27. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +190 -190
  28. package/out/KeysInTable.sol/KeysInTable.json +10672 -10672
  29. package/out/KeysInTableHook.sol/KeysInTableHook.json +867 -867
  30. package/out/KeysInTableModule.sol/KeysInTableModule.json +538 -538
  31. package/out/KeysWithValue.sol/KeysWithValue.json +3832 -3832
  32. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +993 -993
  33. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +426 -426
  34. package/out/Memory.sol/Memory.json +4 -4
  35. package/out/Module.sol/Module.json +84 -84
  36. package/out/ResourceIds.sol/ResourceIds.json +1363 -1363
  37. package/out/Schema.sol/SchemaInstance.json +72 -72
  38. package/out/Schema.sol/SchemaLib.json +72 -72
  39. package/out/SchemaType.sol/SchemaType.json +276 -276
  40. package/out/Slice.sol/SliceInstance.json +4 -4
  41. package/out/Slice.sol/SliceLib.json +4 -4
  42. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +303 -303
  43. package/out/Storage.sol/Storage.json +7 -7
  44. package/out/StoreCore.sol/StoreCore.json +708 -737
  45. package/out/StoreCore.sol/StoreCoreInternal.json +710 -739
  46. package/out/StoreHook.sol/StoreHook.json +368 -368
  47. package/out/StoreHooks.sol/StoreHooks.json +3232 -3232
  48. package/out/StoreSwitch.sol/StoreSwitch.json +1885 -1885
  49. package/out/System.sol/System.json +31 -31
  50. package/out/Tables.sol/Tables.json +5585 -5585
  51. package/out/TightCoder.sol/TightCoder.json +124 -124
  52. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +119 -119
  53. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1990 -1990
  54. package/out/UniqueEntity.sol/UniqueEntity.json +1406 -1406
  55. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +327 -327
  56. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +93 -93
  57. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2727 -2727
  58. package/out/WorldContext.sol/WorldContextConsumer.json +1380 -988
  59. package/out/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1381 -989
  60. package/out/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  61. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  62. package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  63. package/out/constants.sol/LayoutOffsets.json +79 -79
  64. package/out/constants.sol/constants.json +115 -115
  65. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  66. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  67. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  68. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  69. package/out/hasKey.sol/hasKey.json +130 -130
  70. package/out/index.sol/index.json +53 -53
  71. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +131 -131
  72. package/out/leftMask.sol/leftMask.json +31 -31
  73. package/out/query.sol/query.json +1154 -1154
  74. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  75. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  76. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  77. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  78. package/out/src/IStore.sol/IStore.json +53 -53
  79. package/out/src/IWorldKernel.sol/IWorldCall.json +153 -153
  80. package/out/src/IWorldKernel.sol/IWorldKernel.json +153 -153
  81. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +153 -153
  82. package/out/src/Memory.sol/Memory.json +91 -91
  83. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  84. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  85. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  86. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  87. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  88. package/out/src/Schema.sol/SchemaLib.json +790 -790
  89. package/out/src/Slice.sol/SliceInstance.json +430 -430
  90. package/out/src/Slice.sol/SliceLib.json +430 -430
  91. package/out/src/StoreCore.sol/StoreCore.json +4695 -4724
  92. package/out/src/StoreCore.sol/StoreCoreInternal.json +4697 -4726
  93. package/out/src/StoreSwitch.sol/StoreSwitch.json +2487 -2487
  94. package/out/src/WorldContext.sol/WorldContextConsumer.json +1291 -899
  95. package/out/src/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  96. package/out/src/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1292 -900
  97. package/out/src/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  98. package/out/src/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  99. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  100. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  101. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  102. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  103. package/out/tables/ResourceIds.sol/ResourceIds.json +1751 -1751
  104. package/out/tables/Tables.sol/Tables.json +7292 -7292
  105. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  106. package/out/types.sol/types.json +41 -41
  107. package/out/version.sol/version.json +7 -7
  108. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  109. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  110. package/package.json +8 -8
  111. /package/out/WorldContext.sol/{WorldContextProvider.abi.json → WorldContextConsumerLib.abi.json} +0 -0
  112. /package/out/{src/WorldContext.sol/WorldContextProvider.abi.json → WorldContext.sol/WorldContextProviderLib.abi.json} +0 -0
@@ -10,47 +10,47 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/index.sol",
13
- "id": 39838,
13
+ "id": 39902,
14
14
  "exportedSymbols": {
15
15
  "CallboundDelegations": [
16
- 55277
16
+ 55341
17
17
  ],
18
18
  "CallboundDelegationsTableId": [
19
- 53619
19
+ 53683
20
20
  ],
21
21
  "KeysInTable": [
22
- 48213
22
+ 48277
23
23
  ],
24
24
  "KeysInTableData": [
25
- 41720
25
+ 41784
26
26
  ],
27
27
  "KeysInTableTableId": [
28
- 41697
28
+ 41761
29
29
  ],
30
30
  "KeysWithValue": [
31
- 53208
31
+ 53272
32
32
  ],
33
33
  "TimeboundDelegations": [
34
- 56646
34
+ 56710
35
35
  ],
36
36
  "TimeboundDelegationsTableId": [
37
- 55334
37
+ 55398
38
38
  ],
39
39
  "UniqueEntity": [
40
- 57767
40
+ 57831
41
41
  ],
42
42
  "UsedKeysIndex": [
43
- 49825
43
+ 49889
44
44
  ],
45
45
  "UsedKeysIndexTableId": [
46
- 48272
46
+ 48336
47
47
  ]
48
48
  },
49
49
  "nodeType": "SourceUnit",
50
50
  "src": "32:706:110",
51
51
  "nodes": [
52
52
  {
53
- "id": 39820,
53
+ "id": 39884,
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": 39822,
65
+ "id": 39886,
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": 39838,
73
- "sourceUnit": 53209,
72
+ "scope": 39902,
73
+ "sourceUnit": 53273,
74
74
  "symbolAliases": [
75
75
  {
76
76
  "foreign": {
77
- "id": 39821,
77
+ "id": 39885,
78
78
  "name": "KeysWithValue",
79
79
  "nodeType": "Identifier",
80
80
  "overloadedDeclarations": [],
81
- "referencedDeclaration": 53208,
81
+ "referencedDeclaration": 53272,
82
82
  "src": "117:13:110",
83
83
  "typeDescriptions": {}
84
84
  },
@@ -88,23 +88,23 @@
88
88
  "unitAlias": ""
89
89
  },
90
90
  {
91
- "id": 39826,
91
+ "id": 39890,
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": 39838,
99
- "sourceUnit": 48214,
98
+ "scope": 39902,
99
+ "sourceUnit": 48278,
100
100
  "symbolAliases": [
101
101
  {
102
102
  "foreign": {
103
- "id": 39823,
103
+ "id": 39887,
104
104
  "name": "KeysInTable",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
- "referencedDeclaration": 48213,
107
+ "referencedDeclaration": 48277,
108
108
  "src": "199:11:110",
109
109
  "typeDescriptions": {}
110
110
  },
@@ -112,11 +112,11 @@
112
112
  },
113
113
  {
114
114
  "foreign": {
115
- "id": 39824,
115
+ "id": 39888,
116
116
  "name": "KeysInTableData",
117
117
  "nodeType": "Identifier",
118
118
  "overloadedDeclarations": [],
119
- "referencedDeclaration": 41720,
119
+ "referencedDeclaration": 41784,
120
120
  "src": "212:15:110",
121
121
  "typeDescriptions": {}
122
122
  },
@@ -124,11 +124,11 @@
124
124
  },
125
125
  {
126
126
  "foreign": {
127
- "id": 39825,
127
+ "id": 39889,
128
128
  "name": "KeysInTableTableId",
129
129
  "nodeType": "Identifier",
130
130
  "overloadedDeclarations": [],
131
- "referencedDeclaration": 41697,
131
+ "referencedDeclaration": 41761,
132
132
  "src": "229:18:110",
133
133
  "typeDescriptions": {}
134
134
  },
@@ -138,23 +138,23 @@
138
138
  "unitAlias": ""
139
139
  },
140
140
  {
141
- "id": 39829,
141
+ "id": 39893,
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": 39838,
149
- "sourceUnit": 49836,
148
+ "scope": 39902,
149
+ "sourceUnit": 49900,
150
150
  "symbolAliases": [
151
151
  {
152
152
  "foreign": {
153
- "id": 39827,
153
+ "id": 39891,
154
154
  "name": "UsedKeysIndex",
155
155
  "nodeType": "Identifier",
156
156
  "overloadedDeclarations": [],
157
- "referencedDeclaration": 49825,
157
+ "referencedDeclaration": 49889,
158
158
  "src": "312:13:110",
159
159
  "typeDescriptions": {}
160
160
  },
@@ -162,11 +162,11 @@
162
162
  },
163
163
  {
164
164
  "foreign": {
165
- "id": 39828,
165
+ "id": 39892,
166
166
  "name": "UsedKeysIndexTableId",
167
167
  "nodeType": "Identifier",
168
168
  "overloadedDeclarations": [],
169
- "referencedDeclaration": 48272,
169
+ "referencedDeclaration": 48336,
170
170
  "src": "327:20:110",
171
171
  "typeDescriptions": {}
172
172
  },
@@ -176,23 +176,23 @@
176
176
  "unitAlias": ""
177
177
  },
178
178
  {
179
- "id": 39831,
179
+ "id": 39895,
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": 39838,
187
- "sourceUnit": 57768,
186
+ "scope": 39902,
187
+ "sourceUnit": 57832,
188
188
  "symbolAliases": [
189
189
  {
190
190
  "foreign": {
191
- "id": 39830,
191
+ "id": 39894,
192
192
  "name": "UniqueEntity",
193
193
  "nodeType": "Identifier",
194
194
  "overloadedDeclarations": [],
195
- "referencedDeclaration": 57767,
195
+ "referencedDeclaration": 57831,
196
196
  "src": "414:12:110",
197
197
  "typeDescriptions": {}
198
198
  },
@@ -202,23 +202,23 @@
202
202
  "unitAlias": ""
203
203
  },
204
204
  {
205
- "id": 39834,
205
+ "id": 39898,
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": 39838,
213
- "sourceUnit": 55278,
212
+ "scope": 39902,
213
+ "sourceUnit": 55342,
214
214
  "symbolAliases": [
215
215
  {
216
216
  "foreign": {
217
- "id": 39832,
217
+ "id": 39896,
218
218
  "name": "CallboundDelegations",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 55277,
221
+ "referencedDeclaration": 55341,
222
222
  "src": "493:20:110",
223
223
  "typeDescriptions": {}
224
224
  },
@@ -226,11 +226,11 @@
226
226
  },
227
227
  {
228
228
  "foreign": {
229
- "id": 39833,
229
+ "id": 39897,
230
230
  "name": "CallboundDelegationsTableId",
231
231
  "nodeType": "Identifier",
232
232
  "overloadedDeclarations": [],
233
- "referencedDeclaration": 53619,
233
+ "referencedDeclaration": 53683,
234
234
  "src": "515:27:110",
235
235
  "typeDescriptions": {}
236
236
  },
@@ -240,23 +240,23 @@
240
240
  "unitAlias": ""
241
241
  },
242
242
  {
243
- "id": 39837,
243
+ "id": 39901,
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": 39838,
251
- "sourceUnit": 56647,
250
+ "scope": 39902,
251
+ "sourceUnit": 56711,
252
252
  "symbolAliases": [
253
253
  {
254
254
  "foreign": {
255
- "id": 39835,
255
+ "id": 39899,
256
256
  "name": "TimeboundDelegations",
257
257
  "nodeType": "Identifier",
258
258
  "overloadedDeclarations": [],
259
- "referencedDeclaration": 56646,
259
+ "referencedDeclaration": 56710,
260
260
  "src": "620:20:110",
261
261
  "typeDescriptions": {}
262
262
  },
@@ -264,11 +264,11 @@
264
264
  },
265
265
  {
266
266
  "foreign": {
267
- "id": 39836,
267
+ "id": 39900,
268
268
  "name": "TimeboundDelegationsTableId",
269
269
  "nodeType": "Identifier",
270
270
  "overloadedDeclarations": [],
271
- "referencedDeclaration": 55334,
271
+ "referencedDeclaration": 55398,
272
272
  "src": "642:27:110",
273
273
  "typeDescriptions": {}
274
274
  },