@latticexyz/world 2.0.0-alpha.64 → 2.0.0-alpha.65
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.
- package/abi/AccessControl.json +15 -15
- package/abi/AccessControlTest.json +273 -273
- package/abi/AddressArray.json +782 -782
- package/abi/ArrayLib.json +139 -139
- package/abi/Bool.json +539 -539
- package/abi/Call.json +6 -6
- package/abi/CommonBase.json +125 -125
- package/abi/CoreModule.json +259 -111
- package/abi/DecodeSlice.json +3187 -3187
- package/abi/FunctionSelectors.json +1412 -1412
- package/abi/Hooks.json +773 -773
- package/abi/IBaseWorld.json +7 -7
- package/abi/IErrors.json +48 -48
- package/abi/IMulticall3.json +283 -283
- package/abi/IRegistrationSystem.json +1 -1
- package/abi/IWorldTestSystem.json +5366 -5366
- package/abi/InstalledModules.json +1139 -1139
- package/abi/KeysWithValue.json +782 -782
- package/abi/KeysWithValueHook.json +369 -369
- package/abi/KeysWithValueModule.json +216 -216
- package/abi/KeysWithValueModuleTest.json +1274 -1274
- package/abi/NamespaceOwner.json +613 -613
- package/abi/PayableFallbackSystem.json +5368 -5368
- package/abi/RegistrationModule.json +307 -307
- package/abi/RegistrationSystem.json +885 -885
- package/abi/ResourceAccess.json +750 -750
- package/abi/ResourceType.json +627 -627
- package/abi/ScriptBase.json +125 -125
- package/abi/StdAssertions.json +1894 -1894
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +336 -336
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +488 -488
- package/abi/StoreView.json +7 -7
- package/abi/SystemRegistry.json +625 -625
- package/abi/SystemTest.json +146 -146
- package/abi/Systems.json +1180 -1180
- package/abi/TableId.json +27 -27
- package/abi/Test.json +52 -52
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +146 -146
- package/abi/TightCoder.json +240 -240
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +55 -55
- package/abi/WorldTest.json +5368 -5368
- package/abi/WorldTestSystem.json +5368 -5368
- package/abi/WorldTestTableHook.json +5368 -5368
- package/abi/console2.json +11459 -11459
- package/abi/constants.json +7 -7
- package/abi/getKeysWithValue.json +125 -125
- package/abi/getTargetTableSelector.json +72 -72
- package/abi/stdError.json +78 -78
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +5 -5
- package/src/modules/core/CoreModule.sol +1 -0
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModuleTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/PayableFallbackSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +1 -1
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
},
|
|
11
11
|
"ast": {
|
|
12
12
|
"absolutePath": "src/modules/utils/getTargetTableSelector.sol",
|
|
13
|
-
"id":
|
|
13
|
+
"id": 60804,
|
|
14
14
|
"exportedSymbols": {
|
|
15
15
|
"ResourceSelector": [
|
|
16
16
|
56374
|
|
17
17
|
],
|
|
18
18
|
"getTargetTableSelector": [
|
|
19
|
-
|
|
19
|
+
60803
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"nodeType": "SourceUnit",
|
|
23
23
|
"src": "32:991:113",
|
|
24
24
|
"nodes": [
|
|
25
25
|
{
|
|
26
|
-
"id":
|
|
26
|
+
"id": 60749,
|
|
27
27
|
"nodeType": "PragmaDirective",
|
|
28
28
|
"src": "32:24:113",
|
|
29
29
|
"nodes": [],
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
"id":
|
|
38
|
+
"id": 60751,
|
|
39
39
|
"nodeType": "ImportDirective",
|
|
40
40
|
"src": "57:62:113",
|
|
41
41
|
"nodes": [],
|
|
42
42
|
"absolutePath": "src/ResourceSelector.sol",
|
|
43
43
|
"file": "../../ResourceSelector.sol",
|
|
44
44
|
"nameLocation": "-1:-1:-1",
|
|
45
|
-
"scope":
|
|
45
|
+
"scope": 60804,
|
|
46
46
|
"sourceUnit": 56375,
|
|
47
47
|
"symbolAliases": [
|
|
48
48
|
{
|
|
49
49
|
"foreign": {
|
|
50
|
-
"id":
|
|
50
|
+
"id": 60750,
|
|
51
51
|
"name": "ResourceSelector",
|
|
52
52
|
"nodeType": "Identifier",
|
|
53
53
|
"overloadedDeclarations": [],
|
|
@@ -61,29 +61,29 @@
|
|
|
61
61
|
"unitAlias": ""
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
"id":
|
|
64
|
+
"id": 60803,
|
|
65
65
|
"nodeType": "FunctionDefinition",
|
|
66
66
|
"src": "676:346:113",
|
|
67
67
|
"nodes": [],
|
|
68
68
|
"body": {
|
|
69
|
-
"id":
|
|
69
|
+
"id": 60802,
|
|
70
70
|
"nodeType": "Block",
|
|
71
71
|
"src": "778:244:113",
|
|
72
72
|
"nodes": [],
|
|
73
73
|
"statements": [
|
|
74
74
|
{
|
|
75
75
|
"assignments": [
|
|
76
|
-
|
|
76
|
+
60762
|
|
77
77
|
],
|
|
78
78
|
"declarations": [
|
|
79
79
|
{
|
|
80
80
|
"constant": false,
|
|
81
|
-
"id":
|
|
81
|
+
"id": 60762,
|
|
82
82
|
"mutability": "mutable",
|
|
83
83
|
"name": "tableName",
|
|
84
84
|
"nameLocation": "790:9:113",
|
|
85
85
|
"nodeType": "VariableDeclaration",
|
|
86
|
-
"scope":
|
|
86
|
+
"scope": 60802,
|
|
87
87
|
"src": "782:17:113",
|
|
88
88
|
"stateVariable": false,
|
|
89
89
|
"storageLocation": "default",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"typeString": "bytes16"
|
|
93
93
|
},
|
|
94
94
|
"typeName": {
|
|
95
|
-
"id":
|
|
95
|
+
"id": 60761,
|
|
96
96
|
"name": "bytes16",
|
|
97
97
|
"nodeType": "ElementaryTypeName",
|
|
98
98
|
"src": "782:7:113",
|
|
@@ -104,17 +104,17 @@
|
|
|
104
104
|
"visibility": "internal"
|
|
105
105
|
}
|
|
106
106
|
],
|
|
107
|
-
"id":
|
|
107
|
+
"id": 60770,
|
|
108
108
|
"initialValue": {
|
|
109
109
|
"arguments": [
|
|
110
110
|
{
|
|
111
111
|
"arguments": [
|
|
112
112
|
{
|
|
113
|
-
"id":
|
|
113
|
+
"id": 60767,
|
|
114
114
|
"name": "sourceTableId",
|
|
115
115
|
"nodeType": "Identifier",
|
|
116
116
|
"overloadedDeclarations": [],
|
|
117
|
-
"referencedDeclaration":
|
|
117
|
+
"referencedDeclaration": 60756,
|
|
118
118
|
"src": "835:13:113",
|
|
119
119
|
"typeDescriptions": {
|
|
120
120
|
"typeIdentifier": "t_uint256",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"typeString": "uint256"
|
|
130
130
|
}
|
|
131
131
|
],
|
|
132
|
-
"id":
|
|
132
|
+
"id": 60766,
|
|
133
133
|
"isConstant": false,
|
|
134
134
|
"isLValue": false,
|
|
135
135
|
"isPure": true,
|
|
@@ -141,14 +141,14 @@
|
|
|
141
141
|
"typeString": "type(bytes32)"
|
|
142
142
|
},
|
|
143
143
|
"typeName": {
|
|
144
|
-
"id":
|
|
144
|
+
"id": 60765,
|
|
145
145
|
"name": "bytes32",
|
|
146
146
|
"nodeType": "ElementaryTypeName",
|
|
147
147
|
"src": "827:7:113",
|
|
148
148
|
"typeDescriptions": {}
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
-
"id":
|
|
151
|
+
"id": 60768,
|
|
152
152
|
"isConstant": false,
|
|
153
153
|
"isLValue": false,
|
|
154
154
|
"isPure": false,
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
}
|
|
173
173
|
],
|
|
174
174
|
"expression": {
|
|
175
|
-
"id":
|
|
175
|
+
"id": 60763,
|
|
176
176
|
"name": "ResourceSelector",
|
|
177
177
|
"nodeType": "Identifier",
|
|
178
178
|
"overloadedDeclarations": [],
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"typeString": "type(library ResourceSelector)"
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
|
-
"id":
|
|
186
|
+
"id": 60764,
|
|
187
187
|
"isConstant": false,
|
|
188
188
|
"isLValue": false,
|
|
189
189
|
"isPure": false,
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"typeString": "function (bytes32) pure returns (bytes16)"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
|
-
"id":
|
|
200
|
+
"id": 60769,
|
|
201
201
|
"isConstant": false,
|
|
202
202
|
"isLValue": false,
|
|
203
203
|
"isPure": false,
|
|
@@ -217,17 +217,17 @@
|
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"assignments": [
|
|
220
|
-
|
|
220
|
+
60772
|
|
221
221
|
],
|
|
222
222
|
"declarations": [
|
|
223
223
|
{
|
|
224
224
|
"constant": false,
|
|
225
|
-
"id":
|
|
225
|
+
"id": 60772,
|
|
226
226
|
"mutability": "mutable",
|
|
227
227
|
"name": "sourceTableNamespace",
|
|
228
228
|
"nameLocation": "861:20:113",
|
|
229
229
|
"nodeType": "VariableDeclaration",
|
|
230
|
-
"scope":
|
|
230
|
+
"scope": 60802,
|
|
231
231
|
"src": "854:27:113",
|
|
232
232
|
"stateVariable": false,
|
|
233
233
|
"storageLocation": "default",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"typeString": "bytes8"
|
|
237
237
|
},
|
|
238
238
|
"typeName": {
|
|
239
|
-
"id":
|
|
239
|
+
"id": 60771,
|
|
240
240
|
"name": "bytes8",
|
|
241
241
|
"nodeType": "ElementaryTypeName",
|
|
242
242
|
"src": "854:6:113",
|
|
@@ -248,17 +248,17 @@
|
|
|
248
248
|
"visibility": "internal"
|
|
249
249
|
}
|
|
250
250
|
],
|
|
251
|
-
"id":
|
|
251
|
+
"id": 60780,
|
|
252
252
|
"initialValue": {
|
|
253
253
|
"arguments": [
|
|
254
254
|
{
|
|
255
255
|
"arguments": [
|
|
256
256
|
{
|
|
257
|
-
"id":
|
|
257
|
+
"id": 60777,
|
|
258
258
|
"name": "sourceTableId",
|
|
259
259
|
"nodeType": "Identifier",
|
|
260
260
|
"overloadedDeclarations": [],
|
|
261
|
-
"referencedDeclaration":
|
|
261
|
+
"referencedDeclaration": 60756,
|
|
262
262
|
"src": "899:13:113",
|
|
263
263
|
"typeDescriptions": {
|
|
264
264
|
"typeIdentifier": "t_uint256",
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"typeString": "uint256"
|
|
274
274
|
}
|
|
275
275
|
],
|
|
276
|
-
"id":
|
|
276
|
+
"id": 60776,
|
|
277
277
|
"isConstant": false,
|
|
278
278
|
"isLValue": false,
|
|
279
279
|
"isPure": true,
|
|
@@ -285,14 +285,14 @@
|
|
|
285
285
|
"typeString": "type(bytes32)"
|
|
286
286
|
},
|
|
287
287
|
"typeName": {
|
|
288
|
-
"id":
|
|
288
|
+
"id": 60775,
|
|
289
289
|
"name": "bytes32",
|
|
290
290
|
"nodeType": "ElementaryTypeName",
|
|
291
291
|
"src": "891:7:113",
|
|
292
292
|
"typeDescriptions": {}
|
|
293
293
|
}
|
|
294
294
|
},
|
|
295
|
-
"id":
|
|
295
|
+
"id": 60778,
|
|
296
296
|
"isConstant": false,
|
|
297
297
|
"isLValue": false,
|
|
298
298
|
"isPure": false,
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
"typeString": "bytes32"
|
|
316
316
|
}
|
|
317
317
|
],
|
|
318
|
-
"id":
|
|
318
|
+
"id": 60774,
|
|
319
319
|
"isConstant": false,
|
|
320
320
|
"isLValue": false,
|
|
321
321
|
"isPure": true,
|
|
@@ -327,14 +327,14 @@
|
|
|
327
327
|
"typeString": "type(bytes8)"
|
|
328
328
|
},
|
|
329
329
|
"typeName": {
|
|
330
|
-
"id":
|
|
330
|
+
"id": 60773,
|
|
331
331
|
"name": "bytes8",
|
|
332
332
|
"nodeType": "ElementaryTypeName",
|
|
333
333
|
"src": "884:6:113",
|
|
334
334
|
"typeDescriptions": {}
|
|
335
335
|
}
|
|
336
336
|
},
|
|
337
|
-
"id":
|
|
337
|
+
"id": 60779,
|
|
338
338
|
"isConstant": false,
|
|
339
339
|
"isLValue": false,
|
|
340
340
|
"isPure": false,
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
"typeIdentifier": "t_bytes32",
|
|
359
359
|
"typeString": "bytes32"
|
|
360
360
|
},
|
|
361
|
-
"id":
|
|
361
|
+
"id": 60800,
|
|
362
362
|
"isConstant": false,
|
|
363
363
|
"isLValue": false,
|
|
364
364
|
"isPure": false,
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
"typeIdentifier": "t_bytes32",
|
|
369
369
|
"typeString": "bytes32"
|
|
370
370
|
},
|
|
371
|
-
"id":
|
|
371
|
+
"id": 60792,
|
|
372
372
|
"isConstant": false,
|
|
373
373
|
"isLValue": false,
|
|
374
374
|
"isPure": false,
|
|
@@ -376,11 +376,11 @@
|
|
|
376
376
|
"leftExpression": {
|
|
377
377
|
"arguments": [
|
|
378
378
|
{
|
|
379
|
-
"id":
|
|
379
|
+
"id": 60783,
|
|
380
380
|
"name": "moduleNamespace",
|
|
381
381
|
"nodeType": "Identifier",
|
|
382
382
|
"overloadedDeclarations": [],
|
|
383
|
-
"referencedDeclaration":
|
|
383
|
+
"referencedDeclaration": 60754,
|
|
384
384
|
"src": "933:15:113",
|
|
385
385
|
"typeDescriptions": {
|
|
386
386
|
"typeIdentifier": "t_bytes8",
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
"typeString": "bytes8"
|
|
396
396
|
}
|
|
397
397
|
],
|
|
398
|
-
"id":
|
|
398
|
+
"id": 60782,
|
|
399
399
|
"isConstant": false,
|
|
400
400
|
"isLValue": false,
|
|
401
401
|
"isPure": true,
|
|
@@ -407,14 +407,14 @@
|
|
|
407
407
|
"typeString": "type(bytes32)"
|
|
408
408
|
},
|
|
409
409
|
"typeName": {
|
|
410
|
-
"id":
|
|
410
|
+
"id": 60781,
|
|
411
411
|
"name": "bytes32",
|
|
412
412
|
"nodeType": "ElementaryTypeName",
|
|
413
413
|
"src": "925:7:113",
|
|
414
414
|
"typeDescriptions": {}
|
|
415
415
|
}
|
|
416
416
|
},
|
|
417
|
-
"id":
|
|
417
|
+
"id": 60784,
|
|
418
418
|
"isConstant": false,
|
|
419
419
|
"isLValue": false,
|
|
420
420
|
"isPure": false,
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
"typeIdentifier": "t_bytes32",
|
|
439
439
|
"typeString": "bytes32"
|
|
440
440
|
},
|
|
441
|
-
"id":
|
|
441
|
+
"id": 60790,
|
|
442
442
|
"isConstant": false,
|
|
443
443
|
"isLValue": false,
|
|
444
444
|
"isPure": false,
|
|
@@ -446,11 +446,11 @@
|
|
|
446
446
|
"leftExpression": {
|
|
447
447
|
"arguments": [
|
|
448
448
|
{
|
|
449
|
-
"id":
|
|
449
|
+
"id": 60787,
|
|
450
450
|
"name": "sourceTableNamespace",
|
|
451
451
|
"nodeType": "Identifier",
|
|
452
452
|
"overloadedDeclarations": [],
|
|
453
|
-
"referencedDeclaration":
|
|
453
|
+
"referencedDeclaration": 60772,
|
|
454
454
|
"src": "961:20:113",
|
|
455
455
|
"typeDescriptions": {
|
|
456
456
|
"typeIdentifier": "t_bytes8",
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
"typeString": "bytes8"
|
|
466
466
|
}
|
|
467
467
|
],
|
|
468
|
-
"id":
|
|
468
|
+
"id": 60786,
|
|
469
469
|
"isConstant": false,
|
|
470
470
|
"isLValue": false,
|
|
471
471
|
"isPure": true,
|
|
@@ -477,14 +477,14 @@
|
|
|
477
477
|
"typeString": "type(bytes32)"
|
|
478
478
|
},
|
|
479
479
|
"typeName": {
|
|
480
|
-
"id":
|
|
480
|
+
"id": 60785,
|
|
481
481
|
"name": "bytes32",
|
|
482
482
|
"nodeType": "ElementaryTypeName",
|
|
483
483
|
"src": "953:7:113",
|
|
484
484
|
"typeDescriptions": {}
|
|
485
485
|
}
|
|
486
486
|
},
|
|
487
|
-
"id":
|
|
487
|
+
"id": 60788,
|
|
488
488
|
"isConstant": false,
|
|
489
489
|
"isLValue": false,
|
|
490
490
|
"isPure": false,
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
"operator": ">>",
|
|
504
504
|
"rightExpression": {
|
|
505
505
|
"hexValue": "3634",
|
|
506
|
-
"id":
|
|
506
|
+
"id": 60789,
|
|
507
507
|
"isConstant": false,
|
|
508
508
|
"isLValue": false,
|
|
509
509
|
"isPure": true,
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
],
|
|
527
|
-
"id":
|
|
527
|
+
"id": 60791,
|
|
528
528
|
"isConstant": false,
|
|
529
529
|
"isInlineArray": false,
|
|
530
530
|
"isLValue": false,
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
"typeIdentifier": "t_bytes32",
|
|
553
553
|
"typeString": "bytes32"
|
|
554
554
|
},
|
|
555
|
-
"id":
|
|
555
|
+
"id": 60798,
|
|
556
556
|
"isConstant": false,
|
|
557
557
|
"isLValue": false,
|
|
558
558
|
"isPure": false,
|
|
@@ -560,11 +560,11 @@
|
|
|
560
560
|
"leftExpression": {
|
|
561
561
|
"arguments": [
|
|
562
562
|
{
|
|
563
|
-
"id":
|
|
563
|
+
"id": 60795,
|
|
564
564
|
"name": "tableName",
|
|
565
565
|
"nodeType": "Identifier",
|
|
566
566
|
"overloadedDeclarations": [],
|
|
567
|
-
"referencedDeclaration":
|
|
567
|
+
"referencedDeclaration": 60762,
|
|
568
568
|
"src": "1001:9:113",
|
|
569
569
|
"typeDescriptions": {
|
|
570
570
|
"typeIdentifier": "t_bytes16",
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
"typeString": "bytes16"
|
|
580
580
|
}
|
|
581
581
|
],
|
|
582
|
-
"id":
|
|
582
|
+
"id": 60794,
|
|
583
583
|
"isConstant": false,
|
|
584
584
|
"isLValue": false,
|
|
585
585
|
"isPure": true,
|
|
@@ -591,14 +591,14 @@
|
|
|
591
591
|
"typeString": "type(bytes32)"
|
|
592
592
|
},
|
|
593
593
|
"typeName": {
|
|
594
|
-
"id":
|
|
594
|
+
"id": 60793,
|
|
595
595
|
"name": "bytes32",
|
|
596
596
|
"nodeType": "ElementaryTypeName",
|
|
597
597
|
"src": "993:7:113",
|
|
598
598
|
"typeDescriptions": {}
|
|
599
599
|
}
|
|
600
600
|
},
|
|
601
|
-
"id":
|
|
601
|
+
"id": 60796,
|
|
602
602
|
"isConstant": false,
|
|
603
603
|
"isLValue": false,
|
|
604
604
|
"isPure": false,
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
"operator": ">>",
|
|
618
618
|
"rightExpression": {
|
|
619
619
|
"hexValue": "313238",
|
|
620
|
-
"id":
|
|
620
|
+
"id": 60797,
|
|
621
621
|
"isConstant": false,
|
|
622
622
|
"isLValue": false,
|
|
623
623
|
"isPure": true,
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
],
|
|
641
|
-
"id":
|
|
641
|
+
"id": 60799,
|
|
642
642
|
"isConstant": false,
|
|
643
643
|
"isInlineArray": false,
|
|
644
644
|
"isLValue": false,
|
|
@@ -657,15 +657,15 @@
|
|
|
657
657
|
"typeString": "bytes32"
|
|
658
658
|
}
|
|
659
659
|
},
|
|
660
|
-
"functionReturnParameters":
|
|
661
|
-
"id":
|
|
660
|
+
"functionReturnParameters": 60760,
|
|
661
|
+
"id": 60801,
|
|
662
662
|
"nodeType": "Return",
|
|
663
663
|
"src": "918:101:113"
|
|
664
664
|
}
|
|
665
665
|
]
|
|
666
666
|
},
|
|
667
667
|
"documentation": {
|
|
668
|
-
"id":
|
|
668
|
+
"id": 60752,
|
|
669
669
|
"nodeType": "StructuredDocumentation",
|
|
670
670
|
"src": "121:554:113",
|
|
671
671
|
"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"
|
|
@@ -676,17 +676,17 @@
|
|
|
676
676
|
"name": "getTargetTableSelector",
|
|
677
677
|
"nameLocation": "685:22:113",
|
|
678
678
|
"parameters": {
|
|
679
|
-
"id":
|
|
679
|
+
"id": 60757,
|
|
680
680
|
"nodeType": "ParameterList",
|
|
681
681
|
"parameters": [
|
|
682
682
|
{
|
|
683
683
|
"constant": false,
|
|
684
|
-
"id":
|
|
684
|
+
"id": 60754,
|
|
685
685
|
"mutability": "mutable",
|
|
686
686
|
"name": "moduleNamespace",
|
|
687
687
|
"nameLocation": "715:15:113",
|
|
688
688
|
"nodeType": "VariableDeclaration",
|
|
689
|
-
"scope":
|
|
689
|
+
"scope": 60803,
|
|
690
690
|
"src": "708:22:113",
|
|
691
691
|
"stateVariable": false,
|
|
692
692
|
"storageLocation": "default",
|
|
@@ -695,7 +695,7 @@
|
|
|
695
695
|
"typeString": "bytes8"
|
|
696
696
|
},
|
|
697
697
|
"typeName": {
|
|
698
|
-
"id":
|
|
698
|
+
"id": 60753,
|
|
699
699
|
"name": "bytes8",
|
|
700
700
|
"nodeType": "ElementaryTypeName",
|
|
701
701
|
"src": "708:6:113",
|
|
@@ -708,12 +708,12 @@
|
|
|
708
708
|
},
|
|
709
709
|
{
|
|
710
710
|
"constant": false,
|
|
711
|
-
"id":
|
|
711
|
+
"id": 60756,
|
|
712
712
|
"mutability": "mutable",
|
|
713
713
|
"name": "sourceTableId",
|
|
714
714
|
"nameLocation": "740:13:113",
|
|
715
715
|
"nodeType": "VariableDeclaration",
|
|
716
|
-
"scope":
|
|
716
|
+
"scope": 60803,
|
|
717
717
|
"src": "732:21:113",
|
|
718
718
|
"stateVariable": false,
|
|
719
719
|
"storageLocation": "default",
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
"typeString": "uint256"
|
|
723
723
|
},
|
|
724
724
|
"typeName": {
|
|
725
|
-
"id":
|
|
725
|
+
"id": 60755,
|
|
726
726
|
"name": "uint256",
|
|
727
727
|
"nodeType": "ElementaryTypeName",
|
|
728
728
|
"src": "732:7:113",
|
|
@@ -737,17 +737,17 @@
|
|
|
737
737
|
"src": "707:47:113"
|
|
738
738
|
},
|
|
739
739
|
"returnParameters": {
|
|
740
|
-
"id":
|
|
740
|
+
"id": 60760,
|
|
741
741
|
"nodeType": "ParameterList",
|
|
742
742
|
"parameters": [
|
|
743
743
|
{
|
|
744
744
|
"constant": false,
|
|
745
|
-
"id":
|
|
745
|
+
"id": 60759,
|
|
746
746
|
"mutability": "mutable",
|
|
747
747
|
"name": "",
|
|
748
748
|
"nameLocation": "-1:-1:-1",
|
|
749
749
|
"nodeType": "VariableDeclaration",
|
|
750
|
-
"scope":
|
|
750
|
+
"scope": 60803,
|
|
751
751
|
"src": "769:7:113",
|
|
752
752
|
"stateVariable": false,
|
|
753
753
|
"storageLocation": "default",
|
|
@@ -756,7 +756,7 @@
|
|
|
756
756
|
"typeString": "bytes32"
|
|
757
757
|
},
|
|
758
758
|
"typeName": {
|
|
759
|
-
"id":
|
|
759
|
+
"id": 60758,
|
|
760
760
|
"name": "bytes32",
|
|
761
761
|
"nodeType": "ElementaryTypeName",
|
|
762
762
|
"src": "769:7:113",
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
],
|
|
771
771
|
"src": "768:9:113"
|
|
772
772
|
},
|
|
773
|
-
"scope":
|
|
773
|
+
"scope": 60804,
|
|
774
774
|
"stateMutability": "pure",
|
|
775
775
|
"virtual": false,
|
|
776
776
|
"visibility": "internal"
|