@latticexyz/world-modules 2.0.0-next.10 → 2.0.0-next.11

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 (115) hide show
  1. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  2. package/out/AccessControl.sol/AccessControl.json +1651 -0
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Balances.sol/Balances.abi.json +1 -0
  5. package/out/Balances.sol/Balances.json +13002 -0
  6. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +354 -354
  7. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  8. package/out/DelegationControl.sol/DelegationControl.json +139 -139
  9. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  10. package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
  11. package/out/Hooks.sol/Hooks.json +45 -45
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  14. package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
  16. package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
  17. package/out/ISystemHook.sol/ISystemHook.json +16 -16
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
  19. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  20. package/out/IWorldKernel.sol/IWorldCall.json +14 -14
  21. package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
  22. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
  23. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
  24. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  25. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  26. package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
  27. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  28. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
  29. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
  30. package/out/Module.sol/Module.json +119 -119
  31. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  32. package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
  33. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  34. package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
  35. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  36. package/out/Schema.sol/SchemaInstance.json +30 -30
  37. package/out/Schema.sol/SchemaLib.json +30 -30
  38. package/out/SchemaType.sol/SchemaType.json +729 -729
  39. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +452 -452
  40. package/out/StoreHook.sol/StoreHook.json +639 -639
  41. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  42. package/out/System.sol/System.json +32 -32
  43. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  44. package/out/SystemHooks.sol/SystemHooks.json +32460 -0
  45. package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
  46. package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
  47. package/out/Systems.sol/Systems.abi.json +1 -0
  48. package/out/Systems.sol/Systems.json +18508 -0
  49. package/out/Tables.sol/Tables.json +73 -73
  50. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +187 -187
  51. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  52. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  53. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
  54. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
  55. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
  56. package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
  57. package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
  58. package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
  59. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +107 -107
  60. package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
  61. package/out/constants.sol/constants.json +477 -194
  62. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  63. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  64. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  65. package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
  66. package/out/hasKey.sol/hasKey.json +215 -215
  67. package/out/index.sol/index.json +73 -73
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +175 -175
  69. package/out/query.sol/query.json +1892 -1892
  70. package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
  71. package/out/src/Bytes.sol/Bytes.json +3766 -3766
  72. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
  73. package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
  74. package/out/src/Hook.sol/HookInstance.abi.json +1 -0
  75. package/out/src/Hook.sol/HookInstance.json +2823 -0
  76. package/out/src/Hook.sol/HookLib.abi.json +1 -0
  77. package/out/src/Hook.sol/HookLib.json +2823 -0
  78. package/out/src/IStore.sol/IStore.json +73 -73
  79. package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
  80. package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
  81. package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
  82. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
  83. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
  84. package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
  85. package/out/src/IWorldKernel.sol/IWorldCall.json +262 -262
  86. package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
  87. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
  88. package/out/src/Memory.sol/Memory.json +242 -242
  89. package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
  90. package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
  91. package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
  92. package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
  93. package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
  94. package/out/src/Schema.sol/SchemaLib.json +1351 -1351
  95. package/out/src/Slice.sol/SliceInstance.json +802 -802
  96. package/out/src/Slice.sol/SliceLib.json +802 -802
  97. package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
  98. package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
  99. package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
  100. package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
  101. package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
  102. package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
  103. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +813 -813
  104. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
  105. package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
  106. package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
  107. package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
  108. package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
  109. package/out/tables/Tables.sol/Tables.json +12189 -12189
  110. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
  111. package/out/types.sol/types.json +71 -71
  112. package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
  113. package/package.json +8 -8
  114. package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
  115. package/src/utils/SystemSwitch.sol +82 -0
@@ -10,49 +10,49 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/index.sol",
13
- "id": 39902,
13
+ "id": 49080,
14
14
  "exportedSymbols": {
15
15
  "CallboundDelegations": [
16
- 55341
16
+ 64519
17
17
  ],
18
18
  "CallboundDelegationsTableId": [
19
- 53683
19
+ 62861
20
20
  ],
21
21
  "KeysInTable": [
22
- 48277
22
+ 57455
23
23
  ],
24
24
  "KeysInTableData": [
25
- 41784
25
+ 50962
26
26
  ],
27
27
  "KeysInTableTableId": [
28
- 41761
28
+ 50939
29
29
  ],
30
30
  "KeysWithValue": [
31
- 53272
31
+ 62450
32
32
  ],
33
33
  "TimeboundDelegations": [
34
- 56710
34
+ 65888
35
35
  ],
36
36
  "TimeboundDelegationsTableId": [
37
- 55398
37
+ 64576
38
38
  ],
39
39
  "UniqueEntity": [
40
- 57831
40
+ 67018
41
41
  ],
42
42
  "UsedKeysIndex": [
43
- 49889
43
+ 59067
44
44
  ],
45
45
  "UsedKeysIndexTableId": [
46
- 48336
46
+ 57514
47
47
  ]
48
48
  },
49
49
  "nodeType": "SourceUnit",
50
- "src": "32:706:110",
50
+ "src": "32:706:120",
51
51
  "nodes": [
52
52
  {
53
- "id": 39884,
53
+ "id": 49062,
54
54
  "nodeType": "PragmaDirective",
55
- "src": "32:25:110",
55
+ "src": "32:25:120",
56
56
  "nodes": [],
57
57
  "literals": [
58
58
  "solidity",
@@ -62,24 +62,24 @@
62
62
  ]
63
63
  },
64
64
  {
65
- "id": 39886,
65
+ "id": 49064,
66
66
  "nodeType": "ImportDirective",
67
- "src": "108:81:110",
67
+ "src": "108:81:120",
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": 39902,
73
- "sourceUnit": 53273,
72
+ "scope": 49080,
73
+ "sourceUnit": 62451,
74
74
  "symbolAliases": [
75
75
  {
76
76
  "foreign": {
77
- "id": 39885,
77
+ "id": 49063,
78
78
  "name": "KeysWithValue",
79
79
  "nodeType": "Identifier",
80
80
  "overloadedDeclarations": [],
81
- "referencedDeclaration": 53272,
82
- "src": "117:13:110",
81
+ "referencedDeclaration": 62450,
82
+ "src": "117:13:120",
83
83
  "typeDescriptions": {}
84
84
  },
85
85
  "nameLocation": "-1:-1:-1"
@@ -88,48 +88,48 @@
88
88
  "unitAlias": ""
89
89
  },
90
90
  {
91
- "id": 39890,
91
+ "id": 49068,
92
92
  "nodeType": "ImportDirective",
93
- "src": "190:112:110",
93
+ "src": "190:112:120",
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": 39902,
99
- "sourceUnit": 48278,
98
+ "scope": 49080,
99
+ "sourceUnit": 57456,
100
100
  "symbolAliases": [
101
101
  {
102
102
  "foreign": {
103
- "id": 39887,
103
+ "id": 49065,
104
104
  "name": "KeysInTable",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
- "referencedDeclaration": 48277,
108
- "src": "199:11:110",
107
+ "referencedDeclaration": 57455,
108
+ "src": "199:11:120",
109
109
  "typeDescriptions": {}
110
110
  },
111
111
  "nameLocation": "-1:-1:-1"
112
112
  },
113
113
  {
114
114
  "foreign": {
115
- "id": 39888,
115
+ "id": 49066,
116
116
  "name": "KeysInTableData",
117
117
  "nodeType": "Identifier",
118
118
  "overloadedDeclarations": [],
119
- "referencedDeclaration": 41784,
120
- "src": "212:15:110",
119
+ "referencedDeclaration": 50962,
120
+ "src": "212:15:120",
121
121
  "typeDescriptions": {}
122
122
  },
123
123
  "nameLocation": "-1:-1:-1"
124
124
  },
125
125
  {
126
126
  "foreign": {
127
- "id": 39889,
127
+ "id": 49067,
128
128
  "name": "KeysInTableTableId",
129
129
  "nodeType": "Identifier",
130
130
  "overloadedDeclarations": [],
131
- "referencedDeclaration": 41761,
132
- "src": "229:18:110",
131
+ "referencedDeclaration": 50939,
132
+ "src": "229:18:120",
133
133
  "typeDescriptions": {}
134
134
  },
135
135
  "nameLocation": "-1:-1:-1"
@@ -138,36 +138,36 @@
138
138
  "unitAlias": ""
139
139
  },
140
140
  {
141
- "id": 39893,
141
+ "id": 49071,
142
142
  "nodeType": "ImportDirective",
143
- "src": "303:101:110",
143
+ "src": "303:101:120",
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": 39902,
149
- "sourceUnit": 49900,
148
+ "scope": 49080,
149
+ "sourceUnit": 59078,
150
150
  "symbolAliases": [
151
151
  {
152
152
  "foreign": {
153
- "id": 39891,
153
+ "id": 49069,
154
154
  "name": "UsedKeysIndex",
155
155
  "nodeType": "Identifier",
156
156
  "overloadedDeclarations": [],
157
- "referencedDeclaration": 49889,
158
- "src": "312:13:110",
157
+ "referencedDeclaration": 59067,
158
+ "src": "312:13:120",
159
159
  "typeDescriptions": {}
160
160
  },
161
161
  "nameLocation": "-1:-1:-1"
162
162
  },
163
163
  {
164
164
  "foreign": {
165
- "id": 39892,
165
+ "id": 49070,
166
166
  "name": "UsedKeysIndexTableId",
167
167
  "nodeType": "Identifier",
168
168
  "overloadedDeclarations": [],
169
- "referencedDeclaration": 48336,
170
- "src": "327:20:110",
169
+ "referencedDeclaration": 57514,
170
+ "src": "327:20:120",
171
171
  "typeDescriptions": {}
172
172
  },
173
173
  "nameLocation": "-1:-1:-1"
@@ -176,24 +176,24 @@
176
176
  "unitAlias": ""
177
177
  },
178
178
  {
179
- "id": 39895,
179
+ "id": 49073,
180
180
  "nodeType": "ImportDirective",
181
- "src": "405:78:110",
181
+ "src": "405:78:120",
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": 39902,
187
- "sourceUnit": 57832,
186
+ "scope": 49080,
187
+ "sourceUnit": 67019,
188
188
  "symbolAliases": [
189
189
  {
190
190
  "foreign": {
191
- "id": 39894,
191
+ "id": 49072,
192
192
  "name": "UniqueEntity",
193
193
  "nodeType": "Identifier",
194
194
  "overloadedDeclarations": [],
195
- "referencedDeclaration": 57831,
196
- "src": "414:12:110",
195
+ "referencedDeclaration": 67018,
196
+ "src": "414:12:120",
197
197
  "typeDescriptions": {}
198
198
  },
199
199
  "nameLocation": "-1:-1:-1"
@@ -202,36 +202,36 @@
202
202
  "unitAlias": ""
203
203
  },
204
204
  {
205
- "id": 39898,
205
+ "id": 49076,
206
206
  "nodeType": "ImportDirective",
207
- "src": "484:126:110",
207
+ "src": "484:126:120",
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": 39902,
213
- "sourceUnit": 55342,
212
+ "scope": 49080,
213
+ "sourceUnit": 64520,
214
214
  "symbolAliases": [
215
215
  {
216
216
  "foreign": {
217
- "id": 39896,
217
+ "id": 49074,
218
218
  "name": "CallboundDelegations",
219
219
  "nodeType": "Identifier",
220
220
  "overloadedDeclarations": [],
221
- "referencedDeclaration": 55341,
222
- "src": "493:20:110",
221
+ "referencedDeclaration": 64519,
222
+ "src": "493:20:120",
223
223
  "typeDescriptions": {}
224
224
  },
225
225
  "nameLocation": "-1:-1:-1"
226
226
  },
227
227
  {
228
228
  "foreign": {
229
- "id": 39897,
229
+ "id": 49075,
230
230
  "name": "CallboundDelegationsTableId",
231
231
  "nodeType": "Identifier",
232
232
  "overloadedDeclarations": [],
233
- "referencedDeclaration": 53683,
234
- "src": "515:27:110",
233
+ "referencedDeclaration": 62861,
234
+ "src": "515:27:120",
235
235
  "typeDescriptions": {}
236
236
  },
237
237
  "nameLocation": "-1:-1:-1"
@@ -240,36 +240,36 @@
240
240
  "unitAlias": ""
241
241
  },
242
242
  {
243
- "id": 39901,
243
+ "id": 49079,
244
244
  "nodeType": "ImportDirective",
245
- "src": "611:126:110",
245
+ "src": "611:126:120",
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": 39902,
251
- "sourceUnit": 56711,
250
+ "scope": 49080,
251
+ "sourceUnit": 65889,
252
252
  "symbolAliases": [
253
253
  {
254
254
  "foreign": {
255
- "id": 39899,
255
+ "id": 49077,
256
256
  "name": "TimeboundDelegations",
257
257
  "nodeType": "Identifier",
258
258
  "overloadedDeclarations": [],
259
- "referencedDeclaration": 56710,
260
- "src": "620:20:110",
259
+ "referencedDeclaration": 65888,
260
+ "src": "620:20:120",
261
261
  "typeDescriptions": {}
262
262
  },
263
263
  "nameLocation": "-1:-1:-1"
264
264
  },
265
265
  {
266
266
  "foreign": {
267
- "id": 39900,
267
+ "id": 49078,
268
268
  "name": "TimeboundDelegationsTableId",
269
269
  "nodeType": "Identifier",
270
270
  "overloadedDeclarations": [],
271
- "referencedDeclaration": 55398,
272
- "src": "642:27:110",
271
+ "referencedDeclaration": 64576,
272
+ "src": "642:27:120",
273
273
  "typeDescriptions": {}
274
274
  },
275
275
  "nameLocation": "-1:-1:-1"
@@ -280,5 +280,5 @@
280
280
  ],
281
281
  "license": "MIT"
282
282
  },
283
- "id": 110
283
+ "id": 120
284
284
  }