@latticexyz/world-modules 2.0.0-main-fd10cff6 → 2.0.0-main-fa74f25e

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 (87) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +244 -220
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +125 -101
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  8. package/out/IBaseWorld.sol/IBaseWorld.json +130 -85
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  10. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  11. package/out/IDelegationControl.sol/IDelegationControl.json +50 -26
  12. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +20 -20
  13. package/out/ISystemHook.sol/ISystemHook.json +171 -131
  14. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  15. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +157 -109
  16. package/out/IWorldErrors.sol/IWorldErrors.json +345 -255
  17. package/out/IWorldKernel.sol/IWorldCall.json +294 -254
  18. package/out/IWorldKernel.sol/IWorldKernel.json +321 -258
  19. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +279 -253
  20. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  21. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  22. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  23. package/out/KeysInTableModule.sol/KeysInTableModule.json +573 -549
  24. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  25. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1011 -1011
  26. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +462 -438
  27. package/out/Module.sol/Module.json +109 -85
  28. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  29. package/out/Schema.sol/SchemaInstance.json +30 -30
  30. package/out/Schema.sol/SchemaLib.json +30 -30
  31. package/out/SchemaType.sol/SchemaType.json +276 -276
  32. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +339 -315
  33. package/out/StoreHook.sol/StoreHook.json +358 -358
  34. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  35. package/out/System.sol/System.json +84 -41
  36. package/out/Tables.sol/Tables.json +73 -73
  37. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +148 -124
  38. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  39. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  40. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +366 -342
  41. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +138 -102
  42. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  43. package/out/WorldContext.sol/WorldContextConsumer.json +774 -677
  44. package/out/WorldContext.sol/WorldContextProvider.json +737 -677
  45. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  46. package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  47. package/out/constants.sol/constants.json +115 -115
  48. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  49. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  50. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  51. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  52. package/out/hasKey.sol/hasKey.json +130 -130
  53. package/out/index.sol/index.json +53 -53
  54. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +202 -157
  55. package/out/query.sol/query.json +1154 -1154
  56. package/out/revertWithBytes.sol/revertWithBytes.json +51 -51
  57. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  58. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  59. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  60. package/out/src/IStore.sol/IStore.json +53 -53
  61. package/out/src/IWorldKernel.sol/IWorldCall.json +307 -267
  62. package/out/src/IWorldKernel.sol/IWorldKernel.json +334 -271
  63. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +292 -266
  64. package/out/src/Memory.sol/Memory.json +89 -89
  65. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  66. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  67. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  68. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  69. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  70. package/out/src/Schema.sol/SchemaLib.json +787 -787
  71. package/out/src/Slice.sol/SliceInstance.json +429 -429
  72. package/out/src/Slice.sol/SliceLib.json +429 -429
  73. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  74. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  75. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  76. package/out/src/WorldContext.sol/WorldContextConsumer.json +780 -683
  77. package/out/src/WorldContext.sol/WorldContextProvider.json +743 -683
  78. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  79. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  80. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  81. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  82. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  83. package/out/tables/Tables.sol/Tables.json +7288 -7288
  84. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  85. package/out/types.sol/types.json +39 -39
  86. package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
  87. package/package.json +8 -8
@@ -10,23 +10,23 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol",
13
- "id": 23988,
13
+ "id": 24027,
14
14
  "exportedSymbols": {
15
15
  "ResourceId": [
16
- 26198
16
+ 26238
17
17
  ],
18
18
  "SystemCallData": [
19
- 23979
19
+ 24018
20
20
  ],
21
21
  "SystemCallFromData": [
22
- 23987
22
+ 24026
23
23
  ]
24
24
  },
25
25
  "nodeType": "SourceUnit",
26
26
  "src": "32:250:49",
27
27
  "nodes": [
28
28
  {
29
- "id": 23971,
29
+ "id": 24010,
30
30
  "nodeType": "PragmaDirective",
31
31
  "src": "32:25:49",
32
32
  "nodes": [],
@@ -38,23 +38,23 @@
38
38
  ]
39
39
  },
40
40
  {
41
- "id": 23973,
41
+ "id": 24012,
42
42
  "nodeType": "ImportDirective",
43
43
  "src": "59:66:49",
44
44
  "nodes": [],
45
45
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
46
46
  "file": "@latticexyz/store/src/ResourceId.sol",
47
47
  "nameLocation": "-1:-1:-1",
48
- "scope": 23988,
49
- "sourceUnit": 26263,
48
+ "scope": 24027,
49
+ "sourceUnit": 26303,
50
50
  "symbolAliases": [
51
51
  {
52
52
  "foreign": {
53
- "id": 23972,
53
+ "id": 24011,
54
54
  "name": "ResourceId",
55
55
  "nodeType": "Identifier",
56
56
  "overloadedDeclarations": [],
57
- "referencedDeclaration": 26198,
57
+ "referencedDeclaration": 26238,
58
58
  "src": "68:10:49",
59
59
  "typeDescriptions": {}
60
60
  },
@@ -64,7 +64,7 @@
64
64
  "unitAlias": ""
65
65
  },
66
66
  {
67
- "id": 23979,
67
+ "id": 24018,
68
68
  "nodeType": "StructDefinition",
69
69
  "src": "127:66:49",
70
70
  "nodes": [],
@@ -72,36 +72,36 @@
72
72
  "members": [
73
73
  {
74
74
  "constant": false,
75
- "id": 23976,
75
+ "id": 24015,
76
76
  "mutability": "mutable",
77
77
  "name": "systemId",
78
78
  "nameLocation": "164:8:49",
79
79
  "nodeType": "VariableDeclaration",
80
- "scope": 23979,
80
+ "scope": 24018,
81
81
  "src": "153:19:49",
82
82
  "stateVariable": false,
83
83
  "storageLocation": "default",
84
84
  "typeDescriptions": {
85
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
85
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
86
86
  "typeString": "ResourceId"
87
87
  },
88
88
  "typeName": {
89
- "id": 23975,
89
+ "id": 24014,
90
90
  "nodeType": "UserDefinedTypeName",
91
91
  "pathNode": {
92
- "id": 23974,
92
+ "id": 24013,
93
93
  "name": "ResourceId",
94
94
  "nameLocations": [
95
95
  "153:10:49"
96
96
  ],
97
97
  "nodeType": "IdentifierPath",
98
- "referencedDeclaration": 26198,
98
+ "referencedDeclaration": 26238,
99
99
  "src": "153:10:49"
100
100
  },
101
- "referencedDeclaration": 26198,
101
+ "referencedDeclaration": 26238,
102
102
  "src": "153:10:49",
103
103
  "typeDescriptions": {
104
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
104
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
105
105
  "typeString": "ResourceId"
106
106
  }
107
107
  },
@@ -109,12 +109,12 @@
109
109
  },
110
110
  {
111
111
  "constant": false,
112
- "id": 23978,
112
+ "id": 24017,
113
113
  "mutability": "mutable",
114
114
  "name": "callData",
115
115
  "nameLocation": "182:8:49",
116
116
  "nodeType": "VariableDeclaration",
117
- "scope": 23979,
117
+ "scope": 24018,
118
118
  "src": "176:14:49",
119
119
  "stateVariable": false,
120
120
  "storageLocation": "default",
@@ -123,7 +123,7 @@
123
123
  "typeString": "bytes"
124
124
  },
125
125
  "typeName": {
126
- "id": 23977,
126
+ "id": 24016,
127
127
  "name": "bytes",
128
128
  "nodeType": "ElementaryTypeName",
129
129
  "src": "176:5:49",
@@ -137,11 +137,11 @@
137
137
  ],
138
138
  "name": "SystemCallData",
139
139
  "nameLocation": "134:14:49",
140
- "scope": 23988,
140
+ "scope": 24027,
141
141
  "visibility": "public"
142
142
  },
143
143
  {
144
- "id": 23987,
144
+ "id": 24026,
145
145
  "nodeType": "StructDefinition",
146
146
  "src": "195:86:49",
147
147
  "nodes": [],
@@ -149,12 +149,12 @@
149
149
  "members": [
150
150
  {
151
151
  "constant": false,
152
- "id": 23981,
152
+ "id": 24020,
153
153
  "mutability": "mutable",
154
154
  "name": "from",
155
155
  "nameLocation": "233:4:49",
156
156
  "nodeType": "VariableDeclaration",
157
- "scope": 23987,
157
+ "scope": 24026,
158
158
  "src": "225:12:49",
159
159
  "stateVariable": false,
160
160
  "storageLocation": "default",
@@ -163,7 +163,7 @@
163
163
  "typeString": "address"
164
164
  },
165
165
  "typeName": {
166
- "id": 23980,
166
+ "id": 24019,
167
167
  "name": "address",
168
168
  "nodeType": "ElementaryTypeName",
169
169
  "src": "225:7:49",
@@ -177,36 +177,36 @@
177
177
  },
178
178
  {
179
179
  "constant": false,
180
- "id": 23984,
180
+ "id": 24023,
181
181
  "mutability": "mutable",
182
182
  "name": "systemId",
183
183
  "nameLocation": "252:8:49",
184
184
  "nodeType": "VariableDeclaration",
185
- "scope": 23987,
185
+ "scope": 24026,
186
186
  "src": "241:19:49",
187
187
  "stateVariable": false,
188
188
  "storageLocation": "default",
189
189
  "typeDescriptions": {
190
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
190
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
191
191
  "typeString": "ResourceId"
192
192
  },
193
193
  "typeName": {
194
- "id": 23983,
194
+ "id": 24022,
195
195
  "nodeType": "UserDefinedTypeName",
196
196
  "pathNode": {
197
- "id": 23982,
197
+ "id": 24021,
198
198
  "name": "ResourceId",
199
199
  "nameLocations": [
200
200
  "241:10:49"
201
201
  ],
202
202
  "nodeType": "IdentifierPath",
203
- "referencedDeclaration": 26198,
203
+ "referencedDeclaration": 26238,
204
204
  "src": "241:10:49"
205
205
  },
206
- "referencedDeclaration": 26198,
206
+ "referencedDeclaration": 26238,
207
207
  "src": "241:10:49",
208
208
  "typeDescriptions": {
209
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
209
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
210
210
  "typeString": "ResourceId"
211
211
  }
212
212
  },
@@ -214,12 +214,12 @@
214
214
  },
215
215
  {
216
216
  "constant": false,
217
- "id": 23986,
217
+ "id": 24025,
218
218
  "mutability": "mutable",
219
219
  "name": "callData",
220
220
  "nameLocation": "270:8:49",
221
221
  "nodeType": "VariableDeclaration",
222
- "scope": 23987,
222
+ "scope": 24026,
223
223
  "src": "264:14:49",
224
224
  "stateVariable": false,
225
225
  "storageLocation": "default",
@@ -228,7 +228,7 @@
228
228
  "typeString": "bytes"
229
229
  },
230
230
  "typeName": {
231
- "id": 23985,
231
+ "id": 24024,
232
232
  "name": "bytes",
233
233
  "nodeType": "ElementaryTypeName",
234
234
  "src": "264:5:49",
@@ -242,7 +242,7 @@
242
242
  ],
243
243
  "name": "SystemCallFromData",
244
244
  "nameLocation": "202:18:49",
245
- "scope": 23988,
245
+ "scope": 24027,
246
246
  "visibility": "public"
247
247
  }
248
248
  ],