@latticexyz/world 2.0.0-alpha.1.21 → 2.0.0-alpha.1.22

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 (133) hide show
  1. package/abi/AccessControl.sol/AccessControl.json +241 -241
  2. package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
  3. package/abi/AddressArray.sol/AddressArray.json +1124 -1124
  4. package/abi/ArrayLib.sol/ArrayLib.json +139 -139
  5. package/abi/Bool.sol/Bool.json +704 -704
  6. package/abi/Bytes.sol/Bytes.json +6 -6
  7. package/abi/Call.sol/Call.json +112 -112
  8. package/abi/Callbacks.sol/Callbacks.json +1100 -1100
  9. package/abi/CoreModule.sol/CoreModule.json +542 -542
  10. package/abi/CoreSystem.sol/CoreSystem.json +92 -92
  11. package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
  12. package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
  13. package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
  14. package/abi/Hooks.sol/Hooks.json +1100 -1100
  15. package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
  16. package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
  17. package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
  18. package/abi/IModule.sol/IModule.json +28 -28
  19. package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
  20. package/abi/IStore.sol/IStore.json +551 -349
  21. package/abi/IStore.sol/IStoreData.json +551 -349
  22. package/abi/IStore.sol/IStoreHook.json +495 -349
  23. package/abi/IStore.sol/IStoreRead.json +495 -349
  24. package/abi/IStore.sol/IStoreRegistration.json +495 -349
  25. package/abi/IStore.sol/IStoreWrite.json +551 -349
  26. package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
  27. package/abi/ISystemHook.sol/ISystemHook.json +19 -19
  28. package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  29. package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
  30. package/abi/IWorldKernel.sol/IWorldData.json +524 -276
  31. package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
  32. package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
  33. package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  34. package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
  35. package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
  36. package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
  37. package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
  38. package/abi/Memory.sol/Memory.json +131 -131
  39. package/abi/Mixed.sol/Mixed.json +2781 -2781
  40. package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
  41. package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
  42. package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
  43. package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
  44. package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
  45. package/abi/ResourceType.sol/ResourceType.json +831 -831
  46. package/abi/Schema.sol/SchemaLib.json +1469 -1469
  47. package/abi/SchemaType.sol/SchemaType.json +315 -315
  48. package/abi/Slice.sol/SliceInstance.json +429 -429
  49. package/abi/Slice.sol/SliceLib.json +429 -429
  50. package/abi/Storage.sol/Storage.json +1024 -1061
  51. package/abi/StoreCore.sol/StoreCore.json +10434 -7652
  52. package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
  53. package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
  54. package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
  55. package/abi/StoreRead.sol/StoreRead.json +247 -247
  56. package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
  57. package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
  58. package/abi/System.sol/System.json +31 -31
  59. package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
  60. package/abi/Systems.sol/Systems.json +1412 -1412
  61. package/abi/TableId.sol/TableId.json +27 -27
  62. package/abi/Tables.sol/Tables.json +92 -92
  63. package/abi/TightCoder.sol/TightCoder.json +275 -275
  64. package/abi/Types.sol/Types.json +8 -8
  65. package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
  66. package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
  67. package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  68. package/abi/Utils.sol/Utils.json +67 -67
  69. package/abi/Vector2.sol/Vector2.json +1473 -1473
  70. package/abi/World.sol/World.json +2426 -1491
  71. package/abi/WorldContext.sol/WorldContext.json +65 -65
  72. package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
  73. package/abi/console.sol/console.json +11417 -11417
  74. package/abi/constants.sol/constants.json +34 -34
  75. package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
  76. package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
  77. package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  78. package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
  79. package/abi/src/Bytes.sol/Bytes.json +1225 -1225
  80. package/abi/src/IStore.sol/IStore.json +727 -525
  81. package/abi/src/IStore.sol/IStoreData.json +727 -525
  82. package/abi/src/IStore.sol/IStoreHook.json +671 -525
  83. package/abi/src/IStore.sol/IStoreRead.json +671 -525
  84. package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
  85. package/abi/src/IStore.sol/IStoreWrite.json +727 -525
  86. package/abi/src/Memory.sol/Memory.json +131 -131
  87. package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
  88. package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
  89. package/abi/src/Slice.sol/SliceInstance.json +429 -429
  90. package/abi/src/Slice.sol/SliceLib.json +429 -429
  91. package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
  92. package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
  93. package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
  94. package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
  95. package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
  96. package/package.json +6 -6
  97. package/src/World.sol +32 -0
  98. package/src/interfaces/IWorldKernel.sol +12 -0
  99. package/types/ethers-contracts/IBaseWorld.ts +116 -0
  100. package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
  101. package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
  102. package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
  103. package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
  104. package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
  105. package/types/ethers-contracts/World.ts +116 -0
  106. package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
  107. package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
  108. package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
  109. package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
  110. package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
  111. package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
  112. package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
  113. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
  114. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
  115. package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
  116. package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
  117. package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
  118. package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
  119. package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
  120. package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
  121. package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
  122. package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
  123. package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
  124. package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
  125. package/types/ethers-contracts/factories/World__factory.ts +62 -1
  126. package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
  127. package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
  128. package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
  129. package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
  130. package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
  131. package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
  132. package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
  133. package/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +55 -0
@@ -10,30 +10,30 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/modules/keyswithvalue/getKeysWithValue.sol",
13
- "id": 38352,
13
+ "id": 38953,
14
14
  "exportedSymbols": {
15
15
  "IStore": [
16
- 17368
16
+ 17641
17
17
  ],
18
18
  "KeysWithValue": [
19
- 39084
19
+ 39685
20
20
  ],
21
21
  "MODULE_NAMESPACE": [
22
- 38279
22
+ 38880
23
23
  ],
24
24
  "getKeysWithValue": [
25
- 38318,
26
- 38351
25
+ 38919,
26
+ 38952
27
27
  ],
28
28
  "getTargetTableSelector": [
29
- 39871
29
+ 40472
30
30
  ]
31
31
  },
32
32
  "nodeType": "SourceUnit",
33
33
  "src": "32:1349:79",
34
34
  "nodes": [
35
35
  {
36
- "id": 38281,
36
+ "id": 38882,
37
37
  "nodeType": "PragmaDirective",
38
38
  "src": "32:24:79",
39
39
  "nodes": [],
@@ -45,23 +45,23 @@
45
45
  ]
46
46
  },
47
47
  {
48
- "id": 38283,
48
+ "id": 38884,
49
49
  "nodeType": "ImportDirective",
50
50
  "src": "58:58:79",
51
51
  "nodes": [],
52
52
  "absolutePath": "node_modules/@latticexyz/store/src/IStore.sol",
53
53
  "file": "@latticexyz/store/src/IStore.sol",
54
54
  "nameLocation": "-1:-1:-1",
55
- "scope": 38352,
56
- "sourceUnit": 17412,
55
+ "scope": 38953,
56
+ "sourceUnit": 17685,
57
57
  "symbolAliases": [
58
58
  {
59
59
  "foreign": {
60
- "id": 38282,
60
+ "id": 38883,
61
61
  "name": "IStore",
62
62
  "nodeType": "Identifier",
63
63
  "overloadedDeclarations": [],
64
- "referencedDeclaration": 17368,
64
+ "referencedDeclaration": 17641,
65
65
  "src": "67:6:79",
66
66
  "typeDescriptions": {}
67
67
  },
@@ -71,23 +71,23 @@
71
71
  "unitAlias": ""
72
72
  },
73
73
  {
74
- "id": 38285,
74
+ "id": 38886,
75
75
  "nodeType": "ImportDirective",
76
76
  "src": "118:51:79",
77
77
  "nodes": [],
78
78
  "absolutePath": "src/modules/keyswithvalue/constants.sol",
79
79
  "file": "./constants.sol",
80
80
  "nameLocation": "-1:-1:-1",
81
- "scope": 38352,
82
- "sourceUnit": 38280,
81
+ "scope": 38953,
82
+ "sourceUnit": 38881,
83
83
  "symbolAliases": [
84
84
  {
85
85
  "foreign": {
86
- "id": 38284,
86
+ "id": 38885,
87
87
  "name": "MODULE_NAMESPACE",
88
88
  "nodeType": "Identifier",
89
89
  "overloadedDeclarations": [],
90
- "referencedDeclaration": 38279,
90
+ "referencedDeclaration": 38880,
91
91
  "src": "127:16:79",
92
92
  "typeDescriptions": {}
93
93
  },
@@ -97,23 +97,23 @@
97
97
  "unitAlias": ""
98
98
  },
99
99
  {
100
- "id": 38287,
100
+ "id": 38888,
101
101
  "nodeType": "ImportDirective",
102
102
  "src": "170:59:79",
103
103
  "nodes": [],
104
104
  "absolutePath": "src/modules/keyswithvalue/tables/KeysWithValue.sol",
105
105
  "file": "./tables/KeysWithValue.sol",
106
106
  "nameLocation": "-1:-1:-1",
107
- "scope": 38352,
108
- "sourceUnit": 39085,
107
+ "scope": 38953,
108
+ "sourceUnit": 39686,
109
109
  "symbolAliases": [
110
110
  {
111
111
  "foreign": {
112
- "id": 38286,
112
+ "id": 38887,
113
113
  "name": "KeysWithValue",
114
114
  "nodeType": "Identifier",
115
115
  "overloadedDeclarations": [],
116
- "referencedDeclaration": 39084,
116
+ "referencedDeclaration": 39685,
117
117
  "src": "179:13:79",
118
118
  "typeDescriptions": {}
119
119
  },
@@ -123,23 +123,23 @@
123
123
  "unitAlias": ""
124
124
  },
125
125
  {
126
- "id": 38289,
126
+ "id": 38890,
127
127
  "nodeType": "ImportDirective",
128
128
  "src": "230:77:79",
129
129
  "nodes": [],
130
130
  "absolutePath": "src/modules/utils/getTargetTableSelector.sol",
131
131
  "file": "../utils/getTargetTableSelector.sol",
132
132
  "nameLocation": "-1:-1:-1",
133
- "scope": 38352,
134
- "sourceUnit": 39872,
133
+ "scope": 38953,
134
+ "sourceUnit": 40473,
135
135
  "symbolAliases": [
136
136
  {
137
137
  "foreign": {
138
- "id": 38288,
138
+ "id": 38889,
139
139
  "name": "getTargetTableSelector",
140
140
  "nodeType": "Identifier",
141
141
  "overloadedDeclarations": [],
142
- "referencedDeclaration": 39871,
142
+ "referencedDeclaration": 40472,
143
143
  "src": "239:22:79",
144
144
  "typeDescriptions": {}
145
145
  },
@@ -149,29 +149,29 @@
149
149
  "unitAlias": ""
150
150
  },
151
151
  {
152
- "id": 38318,
152
+ "id": 38919,
153
153
  "nodeType": "FunctionDefinition",
154
154
  "src": "553:362:79",
155
155
  "nodes": [],
156
156
  "body": {
157
- "id": 38317,
157
+ "id": 38918,
158
158
  "nodeType": "Block",
159
159
  "src": "662:253:79",
160
160
  "nodes": [],
161
161
  "statements": [
162
162
  {
163
163
  "assignments": [
164
- 38301
164
+ 38902
165
165
  ],
166
166
  "declarations": [
167
167
  {
168
168
  "constant": false,
169
- "id": 38301,
169
+ "id": 38902,
170
170
  "mutability": "mutable",
171
171
  "name": "keysWithValueTableId",
172
172
  "nameLocation": "723:20:79",
173
173
  "nodeType": "VariableDeclaration",
174
- "scope": 38317,
174
+ "scope": 38918,
175
175
  "src": "715:28:79",
176
176
  "stateVariable": false,
177
177
  "storageLocation": "default",
@@ -180,7 +180,7 @@
180
180
  "typeString": "bytes32"
181
181
  },
182
182
  "typeName": {
183
- "id": 38300,
183
+ "id": 38901,
184
184
  "name": "bytes32",
185
185
  "nodeType": "ElementaryTypeName",
186
186
  "src": "715:7:79",
@@ -192,15 +192,15 @@
192
192
  "visibility": "internal"
193
193
  }
194
194
  ],
195
- "id": 38306,
195
+ "id": 38907,
196
196
  "initialValue": {
197
197
  "arguments": [
198
198
  {
199
- "id": 38303,
199
+ "id": 38904,
200
200
  "name": "MODULE_NAMESPACE",
201
201
  "nodeType": "Identifier",
202
202
  "overloadedDeclarations": [],
203
- "referencedDeclaration": 38279,
203
+ "referencedDeclaration": 38880,
204
204
  "src": "769:16:79",
205
205
  "typeDescriptions": {
206
206
  "typeIdentifier": "t_bytes8",
@@ -208,11 +208,11 @@
208
208
  }
209
209
  },
210
210
  {
211
- "id": 38304,
211
+ "id": 38905,
212
212
  "name": "tableId",
213
213
  "nodeType": "Identifier",
214
214
  "overloadedDeclarations": [],
215
- "referencedDeclaration": 38292,
215
+ "referencedDeclaration": 38893,
216
216
  "src": "787:7:79",
217
217
  "typeDescriptions": {
218
218
  "typeIdentifier": "t_bytes32",
@@ -231,18 +231,18 @@
231
231
  "typeString": "bytes32"
232
232
  }
233
233
  ],
234
- "id": 38302,
234
+ "id": 38903,
235
235
  "name": "getTargetTableSelector",
236
236
  "nodeType": "Identifier",
237
237
  "overloadedDeclarations": [],
238
- "referencedDeclaration": 39871,
238
+ "referencedDeclaration": 40472,
239
239
  "src": "746:22:79",
240
240
  "typeDescriptions": {
241
241
  "typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_bytes32_$returns$_t_bytes32_$",
242
242
  "typeString": "function (bytes8,bytes32) pure returns (bytes32)"
243
243
  }
244
244
  },
245
- "id": 38305,
245
+ "id": 38906,
246
246
  "isConstant": false,
247
247
  "isLValue": false,
248
248
  "isPure": false,
@@ -262,17 +262,17 @@
262
262
  },
263
263
  {
264
264
  "expression": {
265
- "id": 38315,
265
+ "id": 38916,
266
266
  "isConstant": false,
267
267
  "isLValue": false,
268
268
  "isPure": false,
269
269
  "lValueRequested": false,
270
270
  "leftHandSide": {
271
- "id": 38307,
271
+ "id": 38908,
272
272
  "name": "keysWithValue",
273
273
  "nodeType": "Identifier",
274
274
  "overloadedDeclarations": [],
275
- "referencedDeclaration": 38298,
275
+ "referencedDeclaration": 38899,
276
276
  "src": "839:13:79",
277
277
  "typeDescriptions": {
278
278
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -284,11 +284,11 @@
284
284
  "rightHandSide": {
285
285
  "arguments": [
286
286
  {
287
- "id": 38310,
287
+ "id": 38911,
288
288
  "name": "keysWithValueTableId",
289
289
  "nodeType": "Identifier",
290
290
  "overloadedDeclarations": [],
291
- "referencedDeclaration": 38301,
291
+ "referencedDeclaration": 38902,
292
292
  "src": "873:20:79",
293
293
  "typeDescriptions": {
294
294
  "typeIdentifier": "t_bytes32",
@@ -298,11 +298,11 @@
298
298
  {
299
299
  "arguments": [
300
300
  {
301
- "id": 38312,
301
+ "id": 38913,
302
302
  "name": "value",
303
303
  "nodeType": "Identifier",
304
304
  "overloadedDeclarations": [],
305
- "referencedDeclaration": 38294,
305
+ "referencedDeclaration": 38895,
306
306
  "src": "905:5:79",
307
307
  "typeDescriptions": {
308
308
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -317,7 +317,7 @@
317
317
  "typeString": "bytes memory"
318
318
  }
319
319
  ],
320
- "id": 38311,
320
+ "id": 38912,
321
321
  "name": "keccak256",
322
322
  "nodeType": "Identifier",
323
323
  "overloadedDeclarations": [],
@@ -328,7 +328,7 @@
328
328
  "typeString": "function (bytes memory) pure returns (bytes32)"
329
329
  }
330
330
  },
331
- "id": 38313,
331
+ "id": 38914,
332
332
  "isConstant": false,
333
333
  "isLValue": false,
334
334
  "isPure": false,
@@ -356,32 +356,32 @@
356
356
  }
357
357
  ],
358
358
  "expression": {
359
- "id": 38308,
359
+ "id": 38909,
360
360
  "name": "KeysWithValue",
361
361
  "nodeType": "Identifier",
362
362
  "overloadedDeclarations": [],
363
- "referencedDeclaration": 39084,
363
+ "referencedDeclaration": 39685,
364
364
  "src": "855:13:79",
365
365
  "typeDescriptions": {
366
- "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$39084_$",
366
+ "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$39685_$",
367
367
  "typeString": "type(library KeysWithValue)"
368
368
  }
369
369
  },
370
- "id": 38309,
370
+ "id": 38910,
371
371
  "isConstant": false,
372
372
  "isLValue": false,
373
373
  "isPure": false,
374
374
  "lValueRequested": false,
375
375
  "memberName": "get",
376
376
  "nodeType": "MemberAccess",
377
- "referencedDeclaration": 38608,
377
+ "referencedDeclaration": 39209,
378
378
  "src": "855:17:79",
379
379
  "typeDescriptions": {
380
380
  "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_bytes32_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
381
381
  "typeString": "function (bytes32,bytes32) view returns (bytes32[] memory)"
382
382
  }
383
383
  },
384
- "id": 38314,
384
+ "id": 38915,
385
385
  "isConstant": false,
386
386
  "isLValue": false,
387
387
  "isPure": false,
@@ -402,14 +402,14 @@
402
402
  "typeString": "bytes32[] memory"
403
403
  }
404
404
  },
405
- "id": 38316,
405
+ "id": 38917,
406
406
  "nodeType": "ExpressionStatement",
407
407
  "src": "839:73:79"
408
408
  }
409
409
  ]
410
410
  },
411
411
  "documentation": {
412
- "id": 38290,
412
+ "id": 38891,
413
413
  "nodeType": "StructuredDocumentation",
414
414
  "src": "309:243:79",
415
415
  "text": " Get a list of keys with the given value.\n Note: this util can only be called within the context of a Store (e.g. from a System or Module).\n For usage outside of a Store, use the overload that takes an explicit store argument."
@@ -420,17 +420,17 @@
420
420
  "name": "getKeysWithValue",
421
421
  "nameLocation": "562:16:79",
422
422
  "parameters": {
423
- "id": 38295,
423
+ "id": 38896,
424
424
  "nodeType": "ParameterList",
425
425
  "parameters": [
426
426
  {
427
427
  "constant": false,
428
- "id": 38292,
428
+ "id": 38893,
429
429
  "mutability": "mutable",
430
430
  "name": "tableId",
431
431
  "nameLocation": "587:7:79",
432
432
  "nodeType": "VariableDeclaration",
433
- "scope": 38318,
433
+ "scope": 38919,
434
434
  "src": "579:15:79",
435
435
  "stateVariable": false,
436
436
  "storageLocation": "default",
@@ -439,7 +439,7 @@
439
439
  "typeString": "bytes32"
440
440
  },
441
441
  "typeName": {
442
- "id": 38291,
442
+ "id": 38892,
443
443
  "name": "bytes32",
444
444
  "nodeType": "ElementaryTypeName",
445
445
  "src": "579:7:79",
@@ -452,12 +452,12 @@
452
452
  },
453
453
  {
454
454
  "constant": false,
455
- "id": 38294,
455
+ "id": 38895,
456
456
  "mutability": "mutable",
457
457
  "name": "value",
458
458
  "nameLocation": "609:5:79",
459
459
  "nodeType": "VariableDeclaration",
460
- "scope": 38318,
460
+ "scope": 38919,
461
461
  "src": "596:18:79",
462
462
  "stateVariable": false,
463
463
  "storageLocation": "memory",
@@ -466,7 +466,7 @@
466
466
  "typeString": "bytes"
467
467
  },
468
468
  "typeName": {
469
- "id": 38293,
469
+ "id": 38894,
470
470
  "name": "bytes",
471
471
  "nodeType": "ElementaryTypeName",
472
472
  "src": "596:5:79",
@@ -481,17 +481,17 @@
481
481
  "src": "578:37:79"
482
482
  },
483
483
  "returnParameters": {
484
- "id": 38299,
484
+ "id": 38900,
485
485
  "nodeType": "ParameterList",
486
486
  "parameters": [
487
487
  {
488
488
  "constant": false,
489
- "id": 38298,
489
+ "id": 38899,
490
490
  "mutability": "mutable",
491
491
  "name": "keysWithValue",
492
492
  "nameLocation": "647:13:79",
493
493
  "nodeType": "VariableDeclaration",
494
- "scope": 38318,
494
+ "scope": 38919,
495
495
  "src": "630:30:79",
496
496
  "stateVariable": false,
497
497
  "storageLocation": "memory",
@@ -501,7 +501,7 @@
501
501
  },
502
502
  "typeName": {
503
503
  "baseType": {
504
- "id": 38296,
504
+ "id": 38897,
505
505
  "name": "bytes32",
506
506
  "nodeType": "ElementaryTypeName",
507
507
  "src": "630:7:79",
@@ -510,7 +510,7 @@
510
510
  "typeString": "bytes32"
511
511
  }
512
512
  },
513
- "id": 38297,
513
+ "id": 38898,
514
514
  "nodeType": "ArrayTypeName",
515
515
  "src": "630:9:79",
516
516
  "typeDescriptions": {
@@ -523,35 +523,35 @@
523
523
  ],
524
524
  "src": "629:32:79"
525
525
  },
526
- "scope": 38352,
526
+ "scope": 38953,
527
527
  "stateMutability": "view",
528
528
  "virtual": false,
529
529
  "visibility": "internal"
530
530
  },
531
531
  {
532
- "id": 38351,
532
+ "id": 38952,
533
533
  "nodeType": "FunctionDefinition",
534
534
  "src": "989:391:79",
535
535
  "nodes": [],
536
536
  "body": {
537
- "id": 38350,
537
+ "id": 38951,
538
538
  "nodeType": "Block",
539
539
  "src": "1120:260:79",
540
540
  "nodes": [],
541
541
  "statements": [
542
542
  {
543
543
  "assignments": [
544
- 38333
544
+ 38934
545
545
  ],
546
546
  "declarations": [
547
547
  {
548
548
  "constant": false,
549
- "id": 38333,
549
+ "id": 38934,
550
550
  "mutability": "mutable",
551
551
  "name": "keysWithValueTableId",
552
552
  "nameLocation": "1181:20:79",
553
553
  "nodeType": "VariableDeclaration",
554
- "scope": 38350,
554
+ "scope": 38951,
555
555
  "src": "1173:28:79",
556
556
  "stateVariable": false,
557
557
  "storageLocation": "default",
@@ -560,7 +560,7 @@
560
560
  "typeString": "bytes32"
561
561
  },
562
562
  "typeName": {
563
- "id": 38332,
563
+ "id": 38933,
564
564
  "name": "bytes32",
565
565
  "nodeType": "ElementaryTypeName",
566
566
  "src": "1173:7:79",
@@ -572,15 +572,15 @@
572
572
  "visibility": "internal"
573
573
  }
574
574
  ],
575
- "id": 38338,
575
+ "id": 38939,
576
576
  "initialValue": {
577
577
  "arguments": [
578
578
  {
579
- "id": 38335,
579
+ "id": 38936,
580
580
  "name": "MODULE_NAMESPACE",
581
581
  "nodeType": "Identifier",
582
582
  "overloadedDeclarations": [],
583
- "referencedDeclaration": 38279,
583
+ "referencedDeclaration": 38880,
584
584
  "src": "1227:16:79",
585
585
  "typeDescriptions": {
586
586
  "typeIdentifier": "t_bytes8",
@@ -588,11 +588,11 @@
588
588
  }
589
589
  },
590
590
  {
591
- "id": 38336,
591
+ "id": 38937,
592
592
  "name": "tableId",
593
593
  "nodeType": "Identifier",
594
594
  "overloadedDeclarations": [],
595
- "referencedDeclaration": 38324,
595
+ "referencedDeclaration": 38925,
596
596
  "src": "1245:7:79",
597
597
  "typeDescriptions": {
598
598
  "typeIdentifier": "t_bytes32",
@@ -611,18 +611,18 @@
611
611
  "typeString": "bytes32"
612
612
  }
613
613
  ],
614
- "id": 38334,
614
+ "id": 38935,
615
615
  "name": "getTargetTableSelector",
616
616
  "nodeType": "Identifier",
617
617
  "overloadedDeclarations": [],
618
- "referencedDeclaration": 39871,
618
+ "referencedDeclaration": 40472,
619
619
  "src": "1204:22:79",
620
620
  "typeDescriptions": {
621
621
  "typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_bytes32_$returns$_t_bytes32_$",
622
622
  "typeString": "function (bytes8,bytes32) pure returns (bytes32)"
623
623
  }
624
624
  },
625
- "id": 38337,
625
+ "id": 38938,
626
626
  "isConstant": false,
627
627
  "isLValue": false,
628
628
  "isPure": false,
@@ -642,17 +642,17 @@
642
642
  },
643
643
  {
644
644
  "expression": {
645
- "id": 38348,
645
+ "id": 38949,
646
646
  "isConstant": false,
647
647
  "isLValue": false,
648
648
  "isPure": false,
649
649
  "lValueRequested": false,
650
650
  "leftHandSide": {
651
- "id": 38339,
651
+ "id": 38940,
652
652
  "name": "keysWithValue",
653
653
  "nodeType": "Identifier",
654
654
  "overloadedDeclarations": [],
655
- "referencedDeclaration": 38330,
655
+ "referencedDeclaration": 38931,
656
656
  "src": "1297:13:79",
657
657
  "typeDescriptions": {
658
658
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -664,23 +664,23 @@
664
664
  "rightHandSide": {
665
665
  "arguments": [
666
666
  {
667
- "id": 38342,
667
+ "id": 38943,
668
668
  "name": "store",
669
669
  "nodeType": "Identifier",
670
670
  "overloadedDeclarations": [],
671
- "referencedDeclaration": 38322,
671
+ "referencedDeclaration": 38923,
672
672
  "src": "1331:5:79",
673
673
  "typeDescriptions": {
674
- "typeIdentifier": "t_contract$_IStore_$17368",
674
+ "typeIdentifier": "t_contract$_IStore_$17641",
675
675
  "typeString": "contract IStore"
676
676
  }
677
677
  },
678
678
  {
679
- "id": 38343,
679
+ "id": 38944,
680
680
  "name": "keysWithValueTableId",
681
681
  "nodeType": "Identifier",
682
682
  "overloadedDeclarations": [],
683
- "referencedDeclaration": 38333,
683
+ "referencedDeclaration": 38934,
684
684
  "src": "1338:20:79",
685
685
  "typeDescriptions": {
686
686
  "typeIdentifier": "t_bytes32",
@@ -690,11 +690,11 @@
690
690
  {
691
691
  "arguments": [
692
692
  {
693
- "id": 38345,
693
+ "id": 38946,
694
694
  "name": "value",
695
695
  "nodeType": "Identifier",
696
696
  "overloadedDeclarations": [],
697
- "referencedDeclaration": 38326,
697
+ "referencedDeclaration": 38927,
698
698
  "src": "1370:5:79",
699
699
  "typeDescriptions": {
700
700
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -709,7 +709,7 @@
709
709
  "typeString": "bytes memory"
710
710
  }
711
711
  ],
712
- "id": 38344,
712
+ "id": 38945,
713
713
  "name": "keccak256",
714
714
  "nodeType": "Identifier",
715
715
  "overloadedDeclarations": [],
@@ -720,7 +720,7 @@
720
720
  "typeString": "function (bytes memory) pure returns (bytes32)"
721
721
  }
722
722
  },
723
- "id": 38346,
723
+ "id": 38947,
724
724
  "isConstant": false,
725
725
  "isLValue": false,
726
726
  "isPure": false,
@@ -739,7 +739,7 @@
739
739
  "expression": {
740
740
  "argumentTypes": [
741
741
  {
742
- "typeIdentifier": "t_contract$_IStore_$17368",
742
+ "typeIdentifier": "t_contract$_IStore_$17641",
743
743
  "typeString": "contract IStore"
744
744
  },
745
745
  {
@@ -752,32 +752,32 @@
752
752
  }
753
753
  ],
754
754
  "expression": {
755
- "id": 38340,
755
+ "id": 38941,
756
756
  "name": "KeysWithValue",
757
757
  "nodeType": "Identifier",
758
758
  "overloadedDeclarations": [],
759
- "referencedDeclaration": 39084,
759
+ "referencedDeclaration": 39685,
760
760
  "src": "1313:13:79",
761
761
  "typeDescriptions": {
762
- "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$39084_$",
762
+ "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$39685_$",
763
763
  "typeString": "type(library KeysWithValue)"
764
764
  }
765
765
  },
766
- "id": 38341,
766
+ "id": 38942,
767
767
  "isConstant": false,
768
768
  "isLValue": false,
769
769
  "isPure": false,
770
770
  "lValueRequested": false,
771
771
  "memberName": "get",
772
772
  "nodeType": "MemberAccess",
773
- "referencedDeclaration": 38664,
773
+ "referencedDeclaration": 39265,
774
774
  "src": "1313:17:79",
775
775
  "typeDescriptions": {
776
- "typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$17368_$_t_bytes32_$_t_bytes32_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
776
+ "typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$17641_$_t_bytes32_$_t_bytes32_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
777
777
  "typeString": "function (contract IStore,bytes32,bytes32) view returns (bytes32[] memory)"
778
778
  }
779
779
  },
780
- "id": 38347,
780
+ "id": 38948,
781
781
  "isConstant": false,
782
782
  "isLValue": false,
783
783
  "isPure": false,
@@ -798,14 +798,14 @@
798
798
  "typeString": "bytes32[] memory"
799
799
  }
800
800
  },
801
- "id": 38349,
801
+ "id": 38950,
802
802
  "nodeType": "ExpressionStatement",
803
803
  "src": "1297:80:79"
804
804
  }
805
805
  ]
806
806
  },
807
807
  "documentation": {
808
- "id": 38319,
808
+ "id": 38920,
809
809
  "nodeType": "StructuredDocumentation",
810
810
  "src": "917:71:79",
811
811
  "text": " Get a list of keys with the given value for the given store."
@@ -816,38 +816,38 @@
816
816
  "name": "getKeysWithValue",
817
817
  "nameLocation": "998:16:79",
818
818
  "parameters": {
819
- "id": 38327,
819
+ "id": 38928,
820
820
  "nodeType": "ParameterList",
821
821
  "parameters": [
822
822
  {
823
823
  "constant": false,
824
- "id": 38322,
824
+ "id": 38923,
825
825
  "mutability": "mutable",
826
826
  "name": "store",
827
827
  "nameLocation": "1025:5:79",
828
828
  "nodeType": "VariableDeclaration",
829
- "scope": 38351,
829
+ "scope": 38952,
830
830
  "src": "1018:12:79",
831
831
  "stateVariable": false,
832
832
  "storageLocation": "default",
833
833
  "typeDescriptions": {
834
- "typeIdentifier": "t_contract$_IStore_$17368",
834
+ "typeIdentifier": "t_contract$_IStore_$17641",
835
835
  "typeString": "contract IStore"
836
836
  },
837
837
  "typeName": {
838
- "id": 38321,
838
+ "id": 38922,
839
839
  "nodeType": "UserDefinedTypeName",
840
840
  "pathNode": {
841
- "id": 38320,
841
+ "id": 38921,
842
842
  "name": "IStore",
843
843
  "nodeType": "IdentifierPath",
844
- "referencedDeclaration": 17368,
844
+ "referencedDeclaration": 17641,
845
845
  "src": "1018:6:79"
846
846
  },
847
- "referencedDeclaration": 17368,
847
+ "referencedDeclaration": 17641,
848
848
  "src": "1018:6:79",
849
849
  "typeDescriptions": {
850
- "typeIdentifier": "t_contract$_IStore_$17368",
850
+ "typeIdentifier": "t_contract$_IStore_$17641",
851
851
  "typeString": "contract IStore"
852
852
  }
853
853
  },
@@ -855,12 +855,12 @@
855
855
  },
856
856
  {
857
857
  "constant": false,
858
- "id": 38324,
858
+ "id": 38925,
859
859
  "mutability": "mutable",
860
860
  "name": "tableId",
861
861
  "nameLocation": "1042:7:79",
862
862
  "nodeType": "VariableDeclaration",
863
- "scope": 38351,
863
+ "scope": 38952,
864
864
  "src": "1034:15:79",
865
865
  "stateVariable": false,
866
866
  "storageLocation": "default",
@@ -869,7 +869,7 @@
869
869
  "typeString": "bytes32"
870
870
  },
871
871
  "typeName": {
872
- "id": 38323,
872
+ "id": 38924,
873
873
  "name": "bytes32",
874
874
  "nodeType": "ElementaryTypeName",
875
875
  "src": "1034:7:79",
@@ -882,12 +882,12 @@
882
882
  },
883
883
  {
884
884
  "constant": false,
885
- "id": 38326,
885
+ "id": 38927,
886
886
  "mutability": "mutable",
887
887
  "name": "value",
888
888
  "nameLocation": "1066:5:79",
889
889
  "nodeType": "VariableDeclaration",
890
- "scope": 38351,
890
+ "scope": 38952,
891
891
  "src": "1053:18:79",
892
892
  "stateVariable": false,
893
893
  "storageLocation": "memory",
@@ -896,7 +896,7 @@
896
896
  "typeString": "bytes"
897
897
  },
898
898
  "typeName": {
899
- "id": 38325,
899
+ "id": 38926,
900
900
  "name": "bytes",
901
901
  "nodeType": "ElementaryTypeName",
902
902
  "src": "1053:5:79",
@@ -911,17 +911,17 @@
911
911
  "src": "1014:59:79"
912
912
  },
913
913
  "returnParameters": {
914
- "id": 38331,
914
+ "id": 38932,
915
915
  "nodeType": "ParameterList",
916
916
  "parameters": [
917
917
  {
918
918
  "constant": false,
919
- "id": 38330,
919
+ "id": 38931,
920
920
  "mutability": "mutable",
921
921
  "name": "keysWithValue",
922
922
  "nameLocation": "1105:13:79",
923
923
  "nodeType": "VariableDeclaration",
924
- "scope": 38351,
924
+ "scope": 38952,
925
925
  "src": "1088:30:79",
926
926
  "stateVariable": false,
927
927
  "storageLocation": "memory",
@@ -931,7 +931,7 @@
931
931
  },
932
932
  "typeName": {
933
933
  "baseType": {
934
- "id": 38328,
934
+ "id": 38929,
935
935
  "name": "bytes32",
936
936
  "nodeType": "ElementaryTypeName",
937
937
  "src": "1088:7:79",
@@ -940,7 +940,7 @@
940
940
  "typeString": "bytes32"
941
941
  }
942
942
  },
943
- "id": 38329,
943
+ "id": 38930,
944
944
  "nodeType": "ArrayTypeName",
945
945
  "src": "1088:9:79",
946
946
  "typeDescriptions": {
@@ -953,7 +953,7 @@
953
953
  ],
954
954
  "src": "1087:32:79"
955
955
  },
956
- "scope": 38352,
956
+ "scope": 38953,
957
957
  "stateMutability": "view",
958
958
  "virtual": false,
959
959
  "visibility": "internal"