@latticexyz/world-modules 2.0.0-main-e4e7d774 → 2.0.0-main-430e6b29

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,20 +10,20 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "node_modules/@latticexyz/store/src/storeResourceTypes.sol",
13
- "id": 39187,
13
+ "id": 39205,
14
14
  "exportedSymbols": {
15
15
  "RESOURCE_OFFCHAIN_TABLE": [
16
- 39186
16
+ 39204
17
17
  ],
18
18
  "RESOURCE_TABLE": [
19
- 39182
19
+ 39200
20
20
  ]
21
21
  },
22
22
  "nodeType": "SourceUnit",
23
23
  "src": "32:417:84",
24
24
  "nodes": [
25
25
  {
26
- "id": 39178,
26
+ "id": 39196,
27
27
  "nodeType": "PragmaDirective",
28
28
  "src": "32:25:84",
29
29
  "nodes": [],
@@ -35,7 +35,7 @@
35
35
  ]
36
36
  },
37
37
  {
38
- "id": 39182,
38
+ "id": 39200,
39
39
  "nodeType": "VariableDeclaration",
40
40
  "src": "309:37:84",
41
41
  "nodes": [],
@@ -43,7 +43,7 @@
43
43
  "mutability": "constant",
44
44
  "name": "RESOURCE_TABLE",
45
45
  "nameLocation": "325:14:84",
46
- "scope": 39187,
46
+ "scope": 39205,
47
47
  "stateVariable": false,
48
48
  "storageLocation": "default",
49
49
  "typeDescriptions": {
@@ -51,7 +51,7 @@
51
51
  "typeString": "bytes2"
52
52
  },
53
53
  "typeName": {
54
- "id": 39180,
54
+ "id": 39198,
55
55
  "name": "bytes2",
56
56
  "nodeType": "ElementaryTypeName",
57
57
  "src": "309:6:84",
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "value": {
64
64
  "hexValue": "7462",
65
- "id": 39181,
65
+ "id": 39199,
66
66
  "isConstant": false,
67
67
  "isLValue": false,
68
68
  "isPure": true,
@@ -79,7 +79,7 @@
79
79
  "visibility": "internal"
80
80
  },
81
81
  {
82
- "id": 39186,
82
+ "id": 39204,
83
83
  "nodeType": "VariableDeclaration",
84
84
  "src": "401:46:84",
85
85
  "nodes": [],
@@ -87,7 +87,7 @@
87
87
  "mutability": "constant",
88
88
  "name": "RESOURCE_OFFCHAIN_TABLE",
89
89
  "nameLocation": "417:23:84",
90
- "scope": 39187,
90
+ "scope": 39205,
91
91
  "stateVariable": false,
92
92
  "storageLocation": "default",
93
93
  "typeDescriptions": {
@@ -95,7 +95,7 @@
95
95
  "typeString": "bytes2"
96
96
  },
97
97
  "typeName": {
98
- "id": 39184,
98
+ "id": 39202,
99
99
  "name": "bytes2",
100
100
  "nodeType": "ElementaryTypeName",
101
101
  "src": "401:6:84",
@@ -106,7 +106,7 @@
106
106
  },
107
107
  "value": {
108
108
  "hexValue": "6f74",
109
- "id": 39185,
109
+ "id": 39203,
110
110
  "isConstant": false,
111
111
  "isLValue": false,
112
112
  "isPure": true,
@@ -10,23 +10,23 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "node_modules/@latticexyz/world/src/systemHookTypes.sol",
13
- "id": 48992,
13
+ "id": 49028,
14
14
  "exportedSymbols": {
15
15
  "AFTER_CALL_SYSTEM": [
16
- 48985
16
+ 49021
17
17
  ],
18
18
  "ALL": [
19
- 48991
19
+ 49027
20
20
  ],
21
21
  "BEFORE_CALL_SYSTEM": [
22
- 48979
22
+ 49015
23
23
  ]
24
24
  },
25
25
  "nodeType": "SourceUnit",
26
26
  "src": "32:687:118",
27
27
  "nodes": [
28
28
  {
29
- "id": 48973,
29
+ "id": 49009,
30
30
  "nodeType": "PragmaDirective",
31
31
  "src": "32:25:118",
32
32
  "nodes": [],
@@ -38,7 +38,7 @@
38
38
  ]
39
39
  },
40
40
  {
41
- "id": 48979,
41
+ "id": 49015,
42
42
  "nodeType": "VariableDeclaration",
43
43
  "src": "356:42:118",
44
44
  "nodes": [],
@@ -46,7 +46,7 @@
46
46
  "mutability": "constant",
47
47
  "name": "BEFORE_CALL_SYSTEM",
48
48
  "nameLocation": "371:18:118",
49
- "scope": 48992,
49
+ "scope": 49028,
50
50
  "stateVariable": false,
51
51
  "storageLocation": "default",
52
52
  "typeDescriptions": {
@@ -54,7 +54,7 @@
54
54
  "typeString": "uint8"
55
55
  },
56
56
  "typeName": {
57
- "id": 48975,
57
+ "id": 49011,
58
58
  "name": "uint8",
59
59
  "nodeType": "ElementaryTypeName",
60
60
  "src": "356:5:118",
@@ -68,14 +68,14 @@
68
68
  "typeIdentifier": "t_rational_1_by_1",
69
69
  "typeString": "int_const 1"
70
70
  },
71
- "id": 48978,
71
+ "id": 49014,
72
72
  "isConstant": false,
73
73
  "isLValue": false,
74
74
  "isPure": true,
75
75
  "lValueRequested": false,
76
76
  "leftExpression": {
77
77
  "hexValue": "31",
78
- "id": 48976,
78
+ "id": 49012,
79
79
  "isConstant": false,
80
80
  "isLValue": false,
81
81
  "isPure": true,
@@ -93,7 +93,7 @@
93
93
  "operator": "<<",
94
94
  "rightExpression": {
95
95
  "hexValue": "30",
96
- "id": 48977,
96
+ "id": 49013,
97
97
  "isConstant": false,
98
98
  "isLValue": false,
99
99
  "isPure": true,
@@ -116,7 +116,7 @@
116
116
  "visibility": "internal"
117
117
  },
118
118
  {
119
- "id": 48985,
119
+ "id": 49021,
120
120
  "nodeType": "VariableDeclaration",
121
121
  "src": "485:41:118",
122
122
  "nodes": [],
@@ -124,7 +124,7 @@
124
124
  "mutability": "constant",
125
125
  "name": "AFTER_CALL_SYSTEM",
126
126
  "nameLocation": "500:17:118",
127
- "scope": 48992,
127
+ "scope": 49028,
128
128
  "stateVariable": false,
129
129
  "storageLocation": "default",
130
130
  "typeDescriptions": {
@@ -132,7 +132,7 @@
132
132
  "typeString": "uint8"
133
133
  },
134
134
  "typeName": {
135
- "id": 48981,
135
+ "id": 49017,
136
136
  "name": "uint8",
137
137
  "nodeType": "ElementaryTypeName",
138
138
  "src": "485:5:118",
@@ -146,14 +146,14 @@
146
146
  "typeIdentifier": "t_rational_2_by_1",
147
147
  "typeString": "int_const 2"
148
148
  },
149
- "id": 48984,
149
+ "id": 49020,
150
150
  "isConstant": false,
151
151
  "isLValue": false,
152
152
  "isPure": true,
153
153
  "lValueRequested": false,
154
154
  "leftExpression": {
155
155
  "hexValue": "31",
156
- "id": 48982,
156
+ "id": 49018,
157
157
  "isConstant": false,
158
158
  "isLValue": false,
159
159
  "isPure": true,
@@ -171,7 +171,7 @@
171
171
  "operator": "<<",
172
172
  "rightExpression": {
173
173
  "hexValue": "31",
174
- "id": 48983,
174
+ "id": 49019,
175
175
  "isConstant": false,
176
176
  "isLValue": false,
177
177
  "isPure": true,
@@ -194,7 +194,7 @@
194
194
  "visibility": "internal"
195
195
  },
196
196
  {
197
- "id": 48991,
197
+ "id": 49027,
198
198
  "nodeType": "VariableDeclaration",
199
199
  "src": "658:59:118",
200
200
  "nodes": [],
@@ -202,7 +202,7 @@
202
202
  "mutability": "constant",
203
203
  "name": "ALL",
204
204
  "nameLocation": "673:3:118",
205
- "scope": 48992,
205
+ "scope": 49028,
206
206
  "stateVariable": false,
207
207
  "storageLocation": "default",
208
208
  "typeDescriptions": {
@@ -210,7 +210,7 @@
210
210
  "typeString": "uint8"
211
211
  },
212
212
  "typeName": {
213
- "id": 48987,
213
+ "id": 49023,
214
214
  "name": "uint8",
215
215
  "nodeType": "ElementaryTypeName",
216
216
  "src": "658:5:118",
@@ -224,17 +224,17 @@
224
224
  "typeIdentifier": "t_uint8",
225
225
  "typeString": "uint8"
226
226
  },
227
- "id": 48990,
227
+ "id": 49026,
228
228
  "isConstant": false,
229
229
  "isLValue": false,
230
230
  "isPure": true,
231
231
  "lValueRequested": false,
232
232
  "leftExpression": {
233
- "id": 48988,
233
+ "id": 49024,
234
234
  "name": "BEFORE_CALL_SYSTEM",
235
235
  "nodeType": "Identifier",
236
236
  "overloadedDeclarations": [],
237
- "referencedDeclaration": 48979,
237
+ "referencedDeclaration": 49015,
238
238
  "src": "679:18:118",
239
239
  "typeDescriptions": {
240
240
  "typeIdentifier": "t_uint8",
@@ -244,11 +244,11 @@
244
244
  "nodeType": "BinaryOperation",
245
245
  "operator": "|",
246
246
  "rightExpression": {
247
- "id": 48989,
247
+ "id": 49025,
248
248
  "name": "AFTER_CALL_SYSTEM",
249
249
  "nodeType": "Identifier",
250
250
  "overloadedDeclarations": [],
251
- "referencedDeclaration": 48985,
251
+ "referencedDeclaration": 49021,
252
252
  "src": "700:17:118",
253
253
  "typeDescriptions": {
254
254
  "typeIdentifier": "t_uint8",