@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,20 +10,20 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/modules/utils/getTargetTableSelector.sol",
13
- "id": 39872,
13
+ "id": 40473,
14
14
  "exportedSymbols": {
15
15
  "ResourceSelector": [
16
- 32525
16
+ 33049
17
17
  ],
18
18
  "getTargetTableSelector": [
19
- 39871
19
+ 40472
20
20
  ]
21
21
  },
22
22
  "nodeType": "SourceUnit",
23
23
  "src": "32:982:87",
24
24
  "nodes": [
25
25
  {
26
- "id": 39820,
26
+ "id": 40421,
27
27
  "nodeType": "PragmaDirective",
28
28
  "src": "32:24:87",
29
29
  "nodes": [],
@@ -35,23 +35,23 @@
35
35
  ]
36
36
  },
37
37
  {
38
- "id": 39822,
38
+ "id": 40423,
39
39
  "nodeType": "ImportDirective",
40
40
  "src": "57:62:87",
41
41
  "nodes": [],
42
42
  "absolutePath": "src/ResourceSelector.sol",
43
43
  "file": "../../ResourceSelector.sol",
44
44
  "nameLocation": "-1:-1:-1",
45
- "scope": 39872,
46
- "sourceUnit": 32526,
45
+ "scope": 40473,
46
+ "sourceUnit": 33050,
47
47
  "symbolAliases": [
48
48
  {
49
49
  "foreign": {
50
- "id": 39821,
50
+ "id": 40422,
51
51
  "name": "ResourceSelector",
52
52
  "nodeType": "Identifier",
53
53
  "overloadedDeclarations": [],
54
- "referencedDeclaration": 32525,
54
+ "referencedDeclaration": 33049,
55
55
  "src": "66:16:87",
56
56
  "typeDescriptions": {}
57
57
  },
@@ -61,29 +61,29 @@
61
61
  "unitAlias": ""
62
62
  },
63
63
  {
64
- "id": 39871,
64
+ "id": 40472,
65
65
  "nodeType": "FunctionDefinition",
66
66
  "src": "676:337:87",
67
67
  "nodes": [],
68
68
  "body": {
69
- "id": 39870,
69
+ "id": 40471,
70
70
  "nodeType": "Block",
71
71
  "src": "778:235:87",
72
72
  "nodes": [],
73
73
  "statements": [
74
74
  {
75
75
  "assignments": [
76
- 39833
76
+ 40434
77
77
  ],
78
78
  "declarations": [
79
79
  {
80
80
  "constant": false,
81
- "id": 39833,
81
+ "id": 40434,
82
82
  "mutability": "mutable",
83
83
  "name": "tableName",
84
84
  "nameLocation": "790:9:87",
85
85
  "nodeType": "VariableDeclaration",
86
- "scope": 39870,
86
+ "scope": 40471,
87
87
  "src": "782:17:87",
88
88
  "stateVariable": false,
89
89
  "storageLocation": "default",
@@ -92,7 +92,7 @@
92
92
  "typeString": "bytes16"
93
93
  },
94
94
  "typeName": {
95
- "id": 39832,
95
+ "id": 40433,
96
96
  "name": "bytes16",
97
97
  "nodeType": "ElementaryTypeName",
98
98
  "src": "782:7:87",
@@ -104,15 +104,15 @@
104
104
  "visibility": "internal"
105
105
  }
106
106
  ],
107
- "id": 39838,
107
+ "id": 40439,
108
108
  "initialValue": {
109
109
  "arguments": [
110
110
  {
111
- "id": 39836,
111
+ "id": 40437,
112
112
  "name": "sourceTableId",
113
113
  "nodeType": "Identifier",
114
114
  "overloadedDeclarations": [],
115
- "referencedDeclaration": 39827,
115
+ "referencedDeclaration": 40428,
116
116
  "src": "827:13:87",
117
117
  "typeDescriptions": {
118
118
  "typeIdentifier": "t_bytes32",
@@ -128,32 +128,32 @@
128
128
  }
129
129
  ],
130
130
  "expression": {
131
- "id": 39834,
131
+ "id": 40435,
132
132
  "name": "ResourceSelector",
133
133
  "nodeType": "Identifier",
134
134
  "overloadedDeclarations": [],
135
- "referencedDeclaration": 32525,
135
+ "referencedDeclaration": 33049,
136
136
  "src": "802:16:87",
137
137
  "typeDescriptions": {
138
- "typeIdentifier": "t_type$_t_contract$_ResourceSelector_$32525_$",
138
+ "typeIdentifier": "t_type$_t_contract$_ResourceSelector_$33049_$",
139
139
  "typeString": "type(library ResourceSelector)"
140
140
  }
141
141
  },
142
- "id": 39835,
142
+ "id": 40436,
143
143
  "isConstant": false,
144
144
  "isLValue": false,
145
145
  "isPure": false,
146
146
  "lValueRequested": false,
147
147
  "memberName": "getName",
148
148
  "nodeType": "MemberAccess",
149
- "referencedDeclaration": 32439,
149
+ "referencedDeclaration": 32963,
150
150
  "src": "802:24:87",
151
151
  "typeDescriptions": {
152
152
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes16_$",
153
153
  "typeString": "function (bytes32) pure returns (bytes16)"
154
154
  }
155
155
  },
156
- "id": 39837,
156
+ "id": 40438,
157
157
  "isConstant": false,
158
158
  "isLValue": false,
159
159
  "isPure": false,
@@ -173,17 +173,17 @@
173
173
  },
174
174
  {
175
175
  "assignments": [
176
- 39840
176
+ 40441
177
177
  ],
178
178
  "declarations": [
179
179
  {
180
180
  "constant": false,
181
- "id": 39840,
181
+ "id": 40441,
182
182
  "mutability": "mutable",
183
183
  "name": "sourceTableNamespace",
184
184
  "nameLocation": "852:20:87",
185
185
  "nodeType": "VariableDeclaration",
186
- "scope": 39870,
186
+ "scope": 40471,
187
187
  "src": "845:27:87",
188
188
  "stateVariable": false,
189
189
  "storageLocation": "default",
@@ -192,7 +192,7 @@
192
192
  "typeString": "bytes8"
193
193
  },
194
194
  "typeName": {
195
- "id": 39839,
195
+ "id": 40440,
196
196
  "name": "bytes8",
197
197
  "nodeType": "ElementaryTypeName",
198
198
  "src": "845:6:87",
@@ -204,17 +204,17 @@
204
204
  "visibility": "internal"
205
205
  }
206
206
  ],
207
- "id": 39848,
207
+ "id": 40449,
208
208
  "initialValue": {
209
209
  "arguments": [
210
210
  {
211
211
  "arguments": [
212
212
  {
213
- "id": 39845,
213
+ "id": 40446,
214
214
  "name": "sourceTableId",
215
215
  "nodeType": "Identifier",
216
216
  "overloadedDeclarations": [],
217
- "referencedDeclaration": 39827,
217
+ "referencedDeclaration": 40428,
218
218
  "src": "890:13:87",
219
219
  "typeDescriptions": {
220
220
  "typeIdentifier": "t_bytes32",
@@ -229,7 +229,7 @@
229
229
  "typeString": "bytes32"
230
230
  }
231
231
  ],
232
- "id": 39844,
232
+ "id": 40445,
233
233
  "isConstant": false,
234
234
  "isLValue": false,
235
235
  "isPure": true,
@@ -241,14 +241,14 @@
241
241
  "typeString": "type(bytes32)"
242
242
  },
243
243
  "typeName": {
244
- "id": 39843,
244
+ "id": 40444,
245
245
  "name": "bytes32",
246
246
  "nodeType": "ElementaryTypeName",
247
247
  "src": "882:7:87",
248
248
  "typeDescriptions": {}
249
249
  }
250
250
  },
251
- "id": 39846,
251
+ "id": 40447,
252
252
  "isConstant": false,
253
253
  "isLValue": false,
254
254
  "isPure": false,
@@ -271,7 +271,7 @@
271
271
  "typeString": "bytes32"
272
272
  }
273
273
  ],
274
- "id": 39842,
274
+ "id": 40443,
275
275
  "isConstant": false,
276
276
  "isLValue": false,
277
277
  "isPure": true,
@@ -283,14 +283,14 @@
283
283
  "typeString": "type(bytes8)"
284
284
  },
285
285
  "typeName": {
286
- "id": 39841,
286
+ "id": 40442,
287
287
  "name": "bytes8",
288
288
  "nodeType": "ElementaryTypeName",
289
289
  "src": "875:6:87",
290
290
  "typeDescriptions": {}
291
291
  }
292
292
  },
293
- "id": 39847,
293
+ "id": 40448,
294
294
  "isConstant": false,
295
295
  "isLValue": false,
296
296
  "isPure": false,
@@ -314,7 +314,7 @@
314
314
  "typeIdentifier": "t_bytes32",
315
315
  "typeString": "bytes32"
316
316
  },
317
- "id": 39868,
317
+ "id": 40469,
318
318
  "isConstant": false,
319
319
  "isLValue": false,
320
320
  "isPure": false,
@@ -324,7 +324,7 @@
324
324
  "typeIdentifier": "t_bytes32",
325
325
  "typeString": "bytes32"
326
326
  },
327
- "id": 39860,
327
+ "id": 40461,
328
328
  "isConstant": false,
329
329
  "isLValue": false,
330
330
  "isPure": false,
@@ -332,11 +332,11 @@
332
332
  "leftExpression": {
333
333
  "arguments": [
334
334
  {
335
- "id": 39851,
335
+ "id": 40452,
336
336
  "name": "moduleNamespace",
337
337
  "nodeType": "Identifier",
338
338
  "overloadedDeclarations": [],
339
- "referencedDeclaration": 39825,
339
+ "referencedDeclaration": 40426,
340
340
  "src": "924:15:87",
341
341
  "typeDescriptions": {
342
342
  "typeIdentifier": "t_bytes8",
@@ -351,7 +351,7 @@
351
351
  "typeString": "bytes8"
352
352
  }
353
353
  ],
354
- "id": 39850,
354
+ "id": 40451,
355
355
  "isConstant": false,
356
356
  "isLValue": false,
357
357
  "isPure": true,
@@ -363,14 +363,14 @@
363
363
  "typeString": "type(bytes32)"
364
364
  },
365
365
  "typeName": {
366
- "id": 39849,
366
+ "id": 40450,
367
367
  "name": "bytes32",
368
368
  "nodeType": "ElementaryTypeName",
369
369
  "src": "916:7:87",
370
370
  "typeDescriptions": {}
371
371
  }
372
372
  },
373
- "id": 39852,
373
+ "id": 40453,
374
374
  "isConstant": false,
375
375
  "isLValue": false,
376
376
  "isPure": false,
@@ -394,7 +394,7 @@
394
394
  "typeIdentifier": "t_bytes32",
395
395
  "typeString": "bytes32"
396
396
  },
397
- "id": 39858,
397
+ "id": 40459,
398
398
  "isConstant": false,
399
399
  "isLValue": false,
400
400
  "isPure": false,
@@ -402,11 +402,11 @@
402
402
  "leftExpression": {
403
403
  "arguments": [
404
404
  {
405
- "id": 39855,
405
+ "id": 40456,
406
406
  "name": "sourceTableNamespace",
407
407
  "nodeType": "Identifier",
408
408
  "overloadedDeclarations": [],
409
- "referencedDeclaration": 39840,
409
+ "referencedDeclaration": 40441,
410
410
  "src": "952:20:87",
411
411
  "typeDescriptions": {
412
412
  "typeIdentifier": "t_bytes8",
@@ -421,7 +421,7 @@
421
421
  "typeString": "bytes8"
422
422
  }
423
423
  ],
424
- "id": 39854,
424
+ "id": 40455,
425
425
  "isConstant": false,
426
426
  "isLValue": false,
427
427
  "isPure": true,
@@ -433,14 +433,14 @@
433
433
  "typeString": "type(bytes32)"
434
434
  },
435
435
  "typeName": {
436
- "id": 39853,
436
+ "id": 40454,
437
437
  "name": "bytes32",
438
438
  "nodeType": "ElementaryTypeName",
439
439
  "src": "944:7:87",
440
440
  "typeDescriptions": {}
441
441
  }
442
442
  },
443
- "id": 39856,
443
+ "id": 40457,
444
444
  "isConstant": false,
445
445
  "isLValue": false,
446
446
  "isPure": false,
@@ -459,7 +459,7 @@
459
459
  "operator": ">>",
460
460
  "rightExpression": {
461
461
  "hexValue": "3634",
462
- "id": 39857,
462
+ "id": 40458,
463
463
  "isConstant": false,
464
464
  "isLValue": false,
465
465
  "isPure": true,
@@ -480,7 +480,7 @@
480
480
  }
481
481
  }
482
482
  ],
483
- "id": 39859,
483
+ "id": 40460,
484
484
  "isConstant": false,
485
485
  "isInlineArray": false,
486
486
  "isLValue": false,
@@ -508,7 +508,7 @@
508
508
  "typeIdentifier": "t_bytes32",
509
509
  "typeString": "bytes32"
510
510
  },
511
- "id": 39866,
511
+ "id": 40467,
512
512
  "isConstant": false,
513
513
  "isLValue": false,
514
514
  "isPure": false,
@@ -516,11 +516,11 @@
516
516
  "leftExpression": {
517
517
  "arguments": [
518
518
  {
519
- "id": 39863,
519
+ "id": 40464,
520
520
  "name": "tableName",
521
521
  "nodeType": "Identifier",
522
522
  "overloadedDeclarations": [],
523
- "referencedDeclaration": 39833,
523
+ "referencedDeclaration": 40434,
524
524
  "src": "992:9:87",
525
525
  "typeDescriptions": {
526
526
  "typeIdentifier": "t_bytes16",
@@ -535,7 +535,7 @@
535
535
  "typeString": "bytes16"
536
536
  }
537
537
  ],
538
- "id": 39862,
538
+ "id": 40463,
539
539
  "isConstant": false,
540
540
  "isLValue": false,
541
541
  "isPure": true,
@@ -547,14 +547,14 @@
547
547
  "typeString": "type(bytes32)"
548
548
  },
549
549
  "typeName": {
550
- "id": 39861,
550
+ "id": 40462,
551
551
  "name": "bytes32",
552
552
  "nodeType": "ElementaryTypeName",
553
553
  "src": "984:7:87",
554
554
  "typeDescriptions": {}
555
555
  }
556
556
  },
557
- "id": 39864,
557
+ "id": 40465,
558
558
  "isConstant": false,
559
559
  "isLValue": false,
560
560
  "isPure": false,
@@ -573,7 +573,7 @@
573
573
  "operator": ">>",
574
574
  "rightExpression": {
575
575
  "hexValue": "313238",
576
- "id": 39865,
576
+ "id": 40466,
577
577
  "isConstant": false,
578
578
  "isLValue": false,
579
579
  "isPure": true,
@@ -594,7 +594,7 @@
594
594
  }
595
595
  }
596
596
  ],
597
- "id": 39867,
597
+ "id": 40468,
598
598
  "isConstant": false,
599
599
  "isInlineArray": false,
600
600
  "isLValue": false,
@@ -613,15 +613,15 @@
613
613
  "typeString": "bytes32"
614
614
  }
615
615
  },
616
- "functionReturnParameters": 39831,
617
- "id": 39869,
616
+ "functionReturnParameters": 40432,
617
+ "id": 40470,
618
618
  "nodeType": "Return",
619
619
  "src": "909:101:87"
620
620
  }
621
621
  ]
622
622
  },
623
623
  "documentation": {
624
- "id": 39823,
624
+ "id": 40424,
625
625
  "nodeType": "StructuredDocumentation",
626
626
  "src": "121:554:87",
627
627
  "text": " Get a deterministic selector for the reverse mapping table for the given source table.\n The selector is constructed as follows:\n - The first 8 bytes are the module namespace\n - The next 8 bytes are the first 8 bytes of the source table namespace\n -- This is to avoid collisions between tables with the same name in different namespaces\n (Note that collisions are still possible if the first 8 bytes of the namespace are the same, in which case installing the module fails)\n - The last 16 bytes are the source table name"
@@ -632,17 +632,17 @@
632
632
  "name": "getTargetTableSelector",
633
633
  "nameLocation": "685:22:87",
634
634
  "parameters": {
635
- "id": 39828,
635
+ "id": 40429,
636
636
  "nodeType": "ParameterList",
637
637
  "parameters": [
638
638
  {
639
639
  "constant": false,
640
- "id": 39825,
640
+ "id": 40426,
641
641
  "mutability": "mutable",
642
642
  "name": "moduleNamespace",
643
643
  "nameLocation": "715:15:87",
644
644
  "nodeType": "VariableDeclaration",
645
- "scope": 39871,
645
+ "scope": 40472,
646
646
  "src": "708:22:87",
647
647
  "stateVariable": false,
648
648
  "storageLocation": "default",
@@ -651,7 +651,7 @@
651
651
  "typeString": "bytes8"
652
652
  },
653
653
  "typeName": {
654
- "id": 39824,
654
+ "id": 40425,
655
655
  "name": "bytes8",
656
656
  "nodeType": "ElementaryTypeName",
657
657
  "src": "708:6:87",
@@ -664,12 +664,12 @@
664
664
  },
665
665
  {
666
666
  "constant": false,
667
- "id": 39827,
667
+ "id": 40428,
668
668
  "mutability": "mutable",
669
669
  "name": "sourceTableId",
670
670
  "nameLocation": "740:13:87",
671
671
  "nodeType": "VariableDeclaration",
672
- "scope": 39871,
672
+ "scope": 40472,
673
673
  "src": "732:21:87",
674
674
  "stateVariable": false,
675
675
  "storageLocation": "default",
@@ -678,7 +678,7 @@
678
678
  "typeString": "bytes32"
679
679
  },
680
680
  "typeName": {
681
- "id": 39826,
681
+ "id": 40427,
682
682
  "name": "bytes32",
683
683
  "nodeType": "ElementaryTypeName",
684
684
  "src": "732:7:87",
@@ -693,17 +693,17 @@
693
693
  "src": "707:47:87"
694
694
  },
695
695
  "returnParameters": {
696
- "id": 39831,
696
+ "id": 40432,
697
697
  "nodeType": "ParameterList",
698
698
  "parameters": [
699
699
  {
700
700
  "constant": false,
701
- "id": 39830,
701
+ "id": 40431,
702
702
  "mutability": "mutable",
703
703
  "name": "",
704
704
  "nameLocation": "-1:-1:-1",
705
705
  "nodeType": "VariableDeclaration",
706
- "scope": 39871,
706
+ "scope": 40472,
707
707
  "src": "769:7:87",
708
708
  "stateVariable": false,
709
709
  "storageLocation": "default",
@@ -712,7 +712,7 @@
712
712
  "typeString": "bytes32"
713
713
  },
714
714
  "typeName": {
715
- "id": 39829,
715
+ "id": 40430,
716
716
  "name": "bytes32",
717
717
  "nodeType": "ElementaryTypeName",
718
718
  "src": "769:7:87",
@@ -726,7 +726,7 @@
726
726
  ],
727
727
  "src": "768:9:87"
728
728
  },
729
- "scope": 39872,
729
+ "scope": 40473,
730
730
  "stateMutability": "pure",
731
731
  "virtual": false,
732
732
  "visibility": "internal"