@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-7987c94d
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/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +215 -215
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2599 -2599
- package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
- package/out/DelegationControl.sol/DelegationControl.json +94 -94
- package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
- package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
- package/out/Hook.sol/HookInstance.json +13 -13
- package/out/Hook.sol/HookLib.json +13 -13
- package/out/Hooks.sol/Hooks.json +3393 -3393
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +58 -58
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +54 -54
- package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +52 -52
- package/out/ICoreSystem.sol/ICoreSystem.json +7 -7
- package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +28 -28
- package/out/ISystemHook.sol/ISystemHook.json +86 -86
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
- package/out/IWorldKernel.sol/IWorldCall.json +154 -154
- package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +190 -190
- package/out/KeysInTable.sol/KeysInTable.json +10672 -10672
- package/out/KeysInTableHook.sol/KeysInTableHook.json +867 -867
- package/out/KeysInTableModule.sol/KeysInTableModule.json +538 -538
- package/out/KeysWithValue.sol/KeysWithValue.json +3832 -3832
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +993 -993
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +426 -426
- package/out/Memory.sol/Memory.json +4 -4
- package/out/Module.sol/Module.json +84 -84
- package/out/ResourceIds.sol/ResourceIds.json +1363 -1363
- package/out/Schema.sol/SchemaInstance.json +72 -72
- package/out/Schema.sol/SchemaLib.json +72 -72
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +4 -4
- package/out/Slice.sol/SliceLib.json +4 -4
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +303 -303
- package/out/Storage.sol/Storage.json +7 -7
- package/out/StoreCore.sol/StoreCore.json +708 -737
- package/out/StoreCore.sol/StoreCoreInternal.json +710 -739
- package/out/StoreHook.sol/StoreHook.json +368 -368
- package/out/StoreHooks.sol/StoreHooks.json +3232 -3232
- package/out/StoreSwitch.sol/StoreSwitch.json +1885 -1885
- package/out/System.sol/System.json +31 -31
- package/out/Tables.sol/Tables.json +5585 -5585
- package/out/TightCoder.sol/TightCoder.json +124 -124
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +119 -119
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1990 -1990
- package/out/UniqueEntity.sol/UniqueEntity.json +1406 -1406
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +327 -327
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +93 -93
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2727 -2727
- package/out/WorldContext.sol/WorldContextConsumer.json +1380 -988
- package/out/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1381 -989
- package/out/WorldContext.sol/WorldContextProviderLib.json +3910 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/constants.sol/LayoutOffsets.json +79 -79
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +131 -131
- package/out/leftMask.sol/leftMask.json +31 -31
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1338 -1338
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +153 -153
- package/out/src/IWorldKernel.sol/IWorldKernel.json +153 -153
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +153 -153
- package/out/src/Memory.sol/Memory.json +91 -91
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
- package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
- package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
- package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
- package/out/src/Schema.sol/SchemaInstance.json +790 -790
- package/out/src/Schema.sol/SchemaLib.json +790 -790
- package/out/src/Slice.sol/SliceInstance.json +430 -430
- package/out/src/Slice.sol/SliceLib.json +430 -430
- package/out/src/StoreCore.sol/StoreCore.json +4695 -4724
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4697 -4726
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2487 -2487
- package/out/src/WorldContext.sol/WorldContextConsumer.json +1291 -899
- package/out/src/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
- package/out/src/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1292 -900
- package/out/src/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +3910 -0
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1751 -1751
- package/out/tables/Tables.sol/Tables.json +7292 -7292
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
- package/out/types.sol/types.json +41 -41
- package/out/version.sol/version.json +7 -7
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- /package/out/WorldContext.sol/{WorldContextProvider.abi.json → WorldContextConsumerLib.abi.json} +0 -0
- /package/out/{src/WorldContext.sol/WorldContextProvider.abi.json → WorldContext.sol/WorldContextProviderLib.abi.json} +0 -0
@@ -10,41 +10,41 @@
|
|
10
10
|
},
|
11
11
|
"ast": {
|
12
12
|
"absolutePath": "src/modules/keyswithvalue/getTargetTableId.sol",
|
13
|
-
"id":
|
13
|
+
"id": 50809,
|
14
14
|
"exportedSymbols": {
|
15
15
|
"MODULE_NAMESPACE_BITS": [
|
16
|
-
|
16
|
+
50728
|
17
17
|
],
|
18
18
|
"NAME_BITS": [
|
19
|
-
|
19
|
+
39479
|
20
20
|
],
|
21
21
|
"RESOURCE_TABLE": [
|
22
|
-
|
22
|
+
36666
|
23
23
|
],
|
24
24
|
"ResourceId": [
|
25
|
-
|
25
|
+
26605
|
26
26
|
],
|
27
27
|
"TABLE_NAMESPACE_BITS": [
|
28
|
-
|
28
|
+
50733
|
29
29
|
],
|
30
30
|
"TABLE_NAME_BITS": [
|
31
|
-
|
31
|
+
50738
|
32
32
|
],
|
33
33
|
"TYPE_BITS": [
|
34
|
-
|
34
|
+
26611
|
35
35
|
],
|
36
36
|
"WorldResourceIdInstance": [
|
37
|
-
|
37
|
+
39739
|
38
38
|
],
|
39
39
|
"getTargetTableId": [
|
40
|
-
|
40
|
+
50808
|
41
41
|
]
|
42
42
|
},
|
43
43
|
"nodeType": "SourceUnit",
|
44
44
|
"src": "32:1580:125",
|
45
45
|
"nodes": [
|
46
46
|
{
|
47
|
-
"id":
|
47
|
+
"id": 50715,
|
48
48
|
"nodeType": "PragmaDirective",
|
49
49
|
"src": "32:25:125",
|
50
50
|
"nodes": [],
|
@@ -56,23 +56,23 @@
|
|
56
56
|
]
|
57
57
|
},
|
58
58
|
{
|
59
|
-
"id":
|
59
|
+
"id": 50717,
|
60
60
|
"nodeType": "ImportDirective",
|
61
61
|
"src": "59:65:125",
|
62
62
|
"nodes": [],
|
63
63
|
"absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
|
64
64
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
65
65
|
"nameLocation": "-1:-1:-1",
|
66
|
-
"scope":
|
67
|
-
"sourceUnit":
|
66
|
+
"scope": 50809,
|
67
|
+
"sourceUnit": 26677,
|
68
68
|
"symbolAliases": [
|
69
69
|
{
|
70
70
|
"foreign": {
|
71
|
-
"id":
|
71
|
+
"id": 50716,
|
72
72
|
"name": "TYPE_BITS",
|
73
73
|
"nodeType": "Identifier",
|
74
74
|
"overloadedDeclarations": [],
|
75
|
-
"referencedDeclaration":
|
75
|
+
"referencedDeclaration": 26611,
|
76
76
|
"src": "68:9:125",
|
77
77
|
"typeDescriptions": {}
|
78
78
|
},
|
@@ -82,23 +82,23 @@
|
|
82
82
|
"unitAlias": ""
|
83
83
|
},
|
84
84
|
{
|
85
|
-
"id":
|
85
|
+
"id": 50721,
|
86
86
|
"nodeType": "ImportDirective",
|
87
87
|
"src": "125:107:125",
|
88
88
|
"nodes": [],
|
89
89
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
|
90
90
|
"file": "@latticexyz/world/src/WorldResourceId.sol",
|
91
91
|
"nameLocation": "-1:-1:-1",
|
92
|
-
"scope":
|
93
|
-
"sourceUnit":
|
92
|
+
"scope": 50809,
|
93
|
+
"sourceUnit": 39740,
|
94
94
|
"symbolAliases": [
|
95
95
|
{
|
96
96
|
"foreign": {
|
97
|
-
"id":
|
97
|
+
"id": 50718,
|
98
98
|
"name": "ResourceId",
|
99
99
|
"nodeType": "Identifier",
|
100
100
|
"overloadedDeclarations": [],
|
101
|
-
"referencedDeclaration":
|
101
|
+
"referencedDeclaration": 26605,
|
102
102
|
"src": "134:10:125",
|
103
103
|
"typeDescriptions": {}
|
104
104
|
},
|
@@ -106,11 +106,11 @@
|
|
106
106
|
},
|
107
107
|
{
|
108
108
|
"foreign": {
|
109
|
-
"id":
|
109
|
+
"id": 50719,
|
110
110
|
"name": "WorldResourceIdInstance",
|
111
111
|
"nodeType": "Identifier",
|
112
112
|
"overloadedDeclarations": [],
|
113
|
-
"referencedDeclaration":
|
113
|
+
"referencedDeclaration": 39739,
|
114
114
|
"src": "146:23:125",
|
115
115
|
"typeDescriptions": {}
|
116
116
|
},
|
@@ -118,11 +118,11 @@
|
|
118
118
|
},
|
119
119
|
{
|
120
120
|
"foreign": {
|
121
|
-
"id":
|
121
|
+
"id": 50720,
|
122
122
|
"name": "NAME_BITS",
|
123
123
|
"nodeType": "Identifier",
|
124
124
|
"overloadedDeclarations": [],
|
125
|
-
"referencedDeclaration":
|
125
|
+
"referencedDeclaration": 39479,
|
126
126
|
"src": "171:9:125",
|
127
127
|
"typeDescriptions": {}
|
128
128
|
},
|
@@ -132,23 +132,23 @@
|
|
132
132
|
"unitAlias": ""
|
133
133
|
},
|
134
134
|
{
|
135
|
-
"id":
|
135
|
+
"id": 50723,
|
136
136
|
"nodeType": "ImportDirective",
|
137
137
|
"src": "233:78:125",
|
138
138
|
"nodes": [],
|
139
139
|
"absolutePath": "node_modules/@latticexyz/world/src/worldResourceTypes.sol",
|
140
140
|
"file": "@latticexyz/world/src/worldResourceTypes.sol",
|
141
141
|
"nameLocation": "-1:-1:-1",
|
142
|
-
"scope":
|
143
|
-
"sourceUnit":
|
142
|
+
"scope": 50809,
|
143
|
+
"sourceUnit": 39883,
|
144
144
|
"symbolAliases": [
|
145
145
|
{
|
146
146
|
"foreign": {
|
147
|
-
"id":
|
147
|
+
"id": 50722,
|
148
148
|
"name": "RESOURCE_TABLE",
|
149
149
|
"nodeType": "Identifier",
|
150
150
|
"overloadedDeclarations": [],
|
151
|
-
"referencedDeclaration":
|
151
|
+
"referencedDeclaration": 36666,
|
152
152
|
"src": "242:14:125",
|
153
153
|
"typeDescriptions": {}
|
154
154
|
},
|
@@ -158,7 +158,7 @@
|
|
158
158
|
"unitAlias": ""
|
159
159
|
},
|
160
160
|
{
|
161
|
-
"id":
|
161
|
+
"id": 50728,
|
162
162
|
"nodeType": "VariableDeclaration",
|
163
163
|
"src": "313:46:125",
|
164
164
|
"nodes": [],
|
@@ -166,7 +166,7 @@
|
|
166
166
|
"mutability": "constant",
|
167
167
|
"name": "MODULE_NAMESPACE_BITS",
|
168
168
|
"nameLocation": "330:21:125",
|
169
|
-
"scope":
|
169
|
+
"scope": 50809,
|
170
170
|
"stateVariable": false,
|
171
171
|
"storageLocation": "default",
|
172
172
|
"typeDescriptions": {
|
@@ -174,7 +174,7 @@
|
|
174
174
|
"typeString": "uint256"
|
175
175
|
},
|
176
176
|
"typeName": {
|
177
|
-
"id":
|
177
|
+
"id": 50724,
|
178
178
|
"name": "uint256",
|
179
179
|
"nodeType": "ElementaryTypeName",
|
180
180
|
"src": "313:7:125",
|
@@ -188,14 +188,14 @@
|
|
188
188
|
"typeIdentifier": "t_rational_56_by_1",
|
189
189
|
"typeString": "int_const 56"
|
190
190
|
},
|
191
|
-
"id":
|
191
|
+
"id": 50727,
|
192
192
|
"isConstant": false,
|
193
193
|
"isLValue": false,
|
194
194
|
"isPure": true,
|
195
195
|
"lValueRequested": false,
|
196
196
|
"leftExpression": {
|
197
197
|
"hexValue": "37",
|
198
|
-
"id":
|
198
|
+
"id": 50725,
|
199
199
|
"isConstant": false,
|
200
200
|
"isLValue": false,
|
201
201
|
"isPure": true,
|
@@ -213,7 +213,7 @@
|
|
213
213
|
"operator": "*",
|
214
214
|
"rightExpression": {
|
215
215
|
"hexValue": "38",
|
216
|
-
"id":
|
216
|
+
"id": 50726,
|
217
217
|
"isConstant": false,
|
218
218
|
"isLValue": false,
|
219
219
|
"isPure": true,
|
@@ -236,7 +236,7 @@
|
|
236
236
|
"visibility": "internal"
|
237
237
|
},
|
238
238
|
{
|
239
|
-
"id":
|
239
|
+
"id": 50733,
|
240
240
|
"nodeType": "VariableDeclaration",
|
241
241
|
"src": "361:45:125",
|
242
242
|
"nodes": [],
|
@@ -244,7 +244,7 @@
|
|
244
244
|
"mutability": "constant",
|
245
245
|
"name": "TABLE_NAMESPACE_BITS",
|
246
246
|
"nameLocation": "378:20:125",
|
247
|
-
"scope":
|
247
|
+
"scope": 50809,
|
248
248
|
"stateVariable": false,
|
249
249
|
"storageLocation": "default",
|
250
250
|
"typeDescriptions": {
|
@@ -252,7 +252,7 @@
|
|
252
252
|
"typeString": "uint256"
|
253
253
|
},
|
254
254
|
"typeName": {
|
255
|
-
"id":
|
255
|
+
"id": 50729,
|
256
256
|
"name": "uint256",
|
257
257
|
"nodeType": "ElementaryTypeName",
|
258
258
|
"src": "361:7:125",
|
@@ -266,14 +266,14 @@
|
|
266
266
|
"typeIdentifier": "t_rational_56_by_1",
|
267
267
|
"typeString": "int_const 56"
|
268
268
|
},
|
269
|
-
"id":
|
269
|
+
"id": 50732,
|
270
270
|
"isConstant": false,
|
271
271
|
"isLValue": false,
|
272
272
|
"isPure": true,
|
273
273
|
"lValueRequested": false,
|
274
274
|
"leftExpression": {
|
275
275
|
"hexValue": "37",
|
276
|
-
"id":
|
276
|
+
"id": 50730,
|
277
277
|
"isConstant": false,
|
278
278
|
"isLValue": false,
|
279
279
|
"isPure": true,
|
@@ -291,7 +291,7 @@
|
|
291
291
|
"operator": "*",
|
292
292
|
"rightExpression": {
|
293
293
|
"hexValue": "38",
|
294
|
-
"id":
|
294
|
+
"id": 50731,
|
295
295
|
"isConstant": false,
|
296
296
|
"isLValue": false,
|
297
297
|
"isPure": true,
|
@@ -314,7 +314,7 @@
|
|
314
314
|
"visibility": "internal"
|
315
315
|
},
|
316
316
|
{
|
317
|
-
"id":
|
317
|
+
"id": 50738,
|
318
318
|
"nodeType": "VariableDeclaration",
|
319
319
|
"src": "408:41:125",
|
320
320
|
"nodes": [],
|
@@ -322,7 +322,7 @@
|
|
322
322
|
"mutability": "constant",
|
323
323
|
"name": "TABLE_NAME_BITS",
|
324
324
|
"nameLocation": "425:15:125",
|
325
|
-
"scope":
|
325
|
+
"scope": 50809,
|
326
326
|
"stateVariable": false,
|
327
327
|
"storageLocation": "default",
|
328
328
|
"typeDescriptions": {
|
@@ -330,7 +330,7 @@
|
|
330
330
|
"typeString": "uint256"
|
331
331
|
},
|
332
332
|
"typeName": {
|
333
|
-
"id":
|
333
|
+
"id": 50734,
|
334
334
|
"name": "uint256",
|
335
335
|
"nodeType": "ElementaryTypeName",
|
336
336
|
"src": "408:7:125",
|
@@ -344,14 +344,14 @@
|
|
344
344
|
"typeIdentifier": "t_rational_128_by_1",
|
345
345
|
"typeString": "int_const 128"
|
346
346
|
},
|
347
|
-
"id":
|
347
|
+
"id": 50737,
|
348
348
|
"isConstant": false,
|
349
349
|
"isLValue": false,
|
350
350
|
"isPure": true,
|
351
351
|
"lValueRequested": false,
|
352
352
|
"leftExpression": {
|
353
353
|
"hexValue": "3136",
|
354
|
-
"id":
|
354
|
+
"id": 50735,
|
355
355
|
"isConstant": false,
|
356
356
|
"isLValue": false,
|
357
357
|
"isPure": true,
|
@@ -369,7 +369,7 @@
|
|
369
369
|
"operator": "*",
|
370
370
|
"rightExpression": {
|
371
371
|
"hexValue": "38",
|
372
|
-
"id":
|
372
|
+
"id": 50736,
|
373
373
|
"isConstant": false,
|
374
374
|
"isLValue": false,
|
375
375
|
"isPure": true,
|
@@ -392,29 +392,29 @@
|
|
392
392
|
"visibility": "internal"
|
393
393
|
},
|
394
394
|
{
|
395
|
-
"id":
|
395
|
+
"id": 50808,
|
396
396
|
"nodeType": "FunctionDefinition",
|
397
397
|
"src": "1052:559:125",
|
398
398
|
"nodes": [],
|
399
399
|
"body": {
|
400
|
-
"id":
|
400
|
+
"id": 50807,
|
401
401
|
"nodeType": "Block",
|
402
402
|
"src": "1154:457:125",
|
403
403
|
"nodes": [],
|
404
404
|
"statements": [
|
405
405
|
{
|
406
406
|
"assignments": [
|
407
|
-
|
407
|
+
50751
|
408
408
|
],
|
409
409
|
"declarations": [
|
410
410
|
{
|
411
411
|
"constant": false,
|
412
|
-
"id":
|
412
|
+
"id": 50751,
|
413
413
|
"mutability": "mutable",
|
414
414
|
"name": "tableName",
|
415
415
|
"nameLocation": "1166:9:125",
|
416
416
|
"nodeType": "VariableDeclaration",
|
417
|
-
"scope":
|
417
|
+
"scope": 50807,
|
418
418
|
"src": "1158:17:125",
|
419
419
|
"stateVariable": false,
|
420
420
|
"storageLocation": "default",
|
@@ -423,7 +423,7 @@
|
|
423
423
|
"typeString": "bytes16"
|
424
424
|
},
|
425
425
|
"typeName": {
|
426
|
-
"id":
|
426
|
+
"id": 50750,
|
427
427
|
"name": "bytes16",
|
428
428
|
"nodeType": "ElementaryTypeName",
|
429
429
|
"src": "1158:7:125",
|
@@ -435,18 +435,18 @@
|
|
435
435
|
"visibility": "internal"
|
436
436
|
}
|
437
437
|
],
|
438
|
-
"id":
|
438
|
+
"id": 50756,
|
439
439
|
"initialValue": {
|
440
440
|
"arguments": [
|
441
441
|
{
|
442
|
-
"id":
|
442
|
+
"id": 50754,
|
443
443
|
"name": "sourceTableId",
|
444
444
|
"nodeType": "Identifier",
|
445
445
|
"overloadedDeclarations": [],
|
446
|
-
"referencedDeclaration":
|
446
|
+
"referencedDeclaration": 50744,
|
447
447
|
"src": "1210:13:125",
|
448
448
|
"typeDescriptions": {
|
449
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
449
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
450
450
|
"typeString": "ResourceId"
|
451
451
|
}
|
452
452
|
}
|
@@ -454,23 +454,23 @@
|
|
454
454
|
"expression": {
|
455
455
|
"argumentTypes": [
|
456
456
|
{
|
457
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
457
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
458
458
|
"typeString": "ResourceId"
|
459
459
|
}
|
460
460
|
],
|
461
461
|
"expression": {
|
462
|
-
"id":
|
462
|
+
"id": 50752,
|
463
463
|
"name": "WorldResourceIdInstance",
|
464
464
|
"nodeType": "Identifier",
|
465
465
|
"overloadedDeclarations": [],
|
466
|
-
"referencedDeclaration":
|
466
|
+
"referencedDeclaration": 39739,
|
467
467
|
"src": "1178:23:125",
|
468
468
|
"typeDescriptions": {
|
469
|
-
"typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$
|
469
|
+
"typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$39739_$",
|
470
470
|
"typeString": "type(library WorldResourceIdInstance)"
|
471
471
|
}
|
472
472
|
},
|
473
|
-
"id":
|
473
|
+
"id": 50753,
|
474
474
|
"isConstant": false,
|
475
475
|
"isLValue": false,
|
476
476
|
"isPure": false,
|
@@ -478,14 +478,14 @@
|
|
478
478
|
"memberLocation": "1202:7:125",
|
479
479
|
"memberName": "getName",
|
480
480
|
"nodeType": "MemberAccess",
|
481
|
-
"referencedDeclaration":
|
481
|
+
"referencedDeclaration": 39687,
|
482
482
|
"src": "1178:31:125",
|
483
483
|
"typeDescriptions": {
|
484
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$
|
484
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26605_$returns$_t_bytes16_$",
|
485
485
|
"typeString": "function (ResourceId) pure returns (bytes16)"
|
486
486
|
}
|
487
487
|
},
|
488
|
-
"id":
|
488
|
+
"id": 50755,
|
489
489
|
"isConstant": false,
|
490
490
|
"isLValue": false,
|
491
491
|
"isPure": false,
|
@@ -506,17 +506,17 @@
|
|
506
506
|
},
|
507
507
|
{
|
508
508
|
"assignments": [
|
509
|
-
|
509
|
+
50758
|
510
510
|
],
|
511
511
|
"declarations": [
|
512
512
|
{
|
513
513
|
"constant": false,
|
514
|
-
"id":
|
514
|
+
"id": 50758,
|
515
515
|
"mutability": "mutable",
|
516
516
|
"name": "sourceTableNamespace",
|
517
517
|
"nameLocation": "1235:20:125",
|
518
518
|
"nodeType": "VariableDeclaration",
|
519
|
-
"scope":
|
519
|
+
"scope": 50807,
|
520
520
|
"src": "1228:27:125",
|
521
521
|
"stateVariable": false,
|
522
522
|
"storageLocation": "default",
|
@@ -525,7 +525,7 @@
|
|
525
525
|
"typeString": "bytes7"
|
526
526
|
},
|
527
527
|
"typeName": {
|
528
|
-
"id":
|
528
|
+
"id": 50757,
|
529
529
|
"name": "bytes7",
|
530
530
|
"nodeType": "ElementaryTypeName",
|
531
531
|
"src": "1228:6:125",
|
@@ -537,20 +537,20 @@
|
|
537
537
|
"visibility": "internal"
|
538
538
|
}
|
539
539
|
],
|
540
|
-
"id":
|
540
|
+
"id": 50766,
|
541
541
|
"initialValue": {
|
542
542
|
"arguments": [
|
543
543
|
{
|
544
544
|
"arguments": [
|
545
545
|
{
|
546
|
-
"id":
|
546
|
+
"id": 50763,
|
547
547
|
"name": "sourceTableId",
|
548
548
|
"nodeType": "Identifier",
|
549
549
|
"overloadedDeclarations": [],
|
550
|
-
"referencedDeclaration":
|
550
|
+
"referencedDeclaration": 50744,
|
551
551
|
"src": "1302:13:125",
|
552
552
|
"typeDescriptions": {
|
553
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
553
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
554
554
|
"typeString": "ResourceId"
|
555
555
|
}
|
556
556
|
}
|
@@ -558,23 +558,23 @@
|
|
558
558
|
"expression": {
|
559
559
|
"argumentTypes": [
|
560
560
|
{
|
561
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
561
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
562
562
|
"typeString": "ResourceId"
|
563
563
|
}
|
564
564
|
],
|
565
565
|
"expression": {
|
566
|
-
"id":
|
566
|
+
"id": 50761,
|
567
567
|
"name": "WorldResourceIdInstance",
|
568
568
|
"nodeType": "Identifier",
|
569
569
|
"overloadedDeclarations": [],
|
570
|
-
"referencedDeclaration":
|
570
|
+
"referencedDeclaration": 39739,
|
571
571
|
"src": "1265:23:125",
|
572
572
|
"typeDescriptions": {
|
573
|
-
"typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$
|
573
|
+
"typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$39739_$",
|
574
574
|
"typeString": "type(library WorldResourceIdInstance)"
|
575
575
|
}
|
576
576
|
},
|
577
|
-
"id":
|
577
|
+
"id": 50762,
|
578
578
|
"isConstant": false,
|
579
579
|
"isLValue": false,
|
580
580
|
"isPure": false,
|
@@ -582,14 +582,14 @@
|
|
582
582
|
"memberLocation": "1289:12:125",
|
583
583
|
"memberName": "getNamespace",
|
584
584
|
"nodeType": "MemberAccess",
|
585
|
-
"referencedDeclaration":
|
585
|
+
"referencedDeclaration": 39640,
|
586
586
|
"src": "1265:36:125",
|
587
587
|
"typeDescriptions": {
|
588
|
-
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$
|
588
|
+
"typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26605_$returns$_t_bytes14_$",
|
589
589
|
"typeString": "function (ResourceId) pure returns (bytes14)"
|
590
590
|
}
|
591
591
|
},
|
592
|
-
"id":
|
592
|
+
"id": 50764,
|
593
593
|
"isConstant": false,
|
594
594
|
"isLValue": false,
|
595
595
|
"isPure": false,
|
@@ -613,7 +613,7 @@
|
|
613
613
|
"typeString": "bytes14"
|
614
614
|
}
|
615
615
|
],
|
616
|
-
"id":
|
616
|
+
"id": 50760,
|
617
617
|
"isConstant": false,
|
618
618
|
"isLValue": false,
|
619
619
|
"isPure": true,
|
@@ -625,14 +625,14 @@
|
|
625
625
|
"typeString": "type(bytes7)"
|
626
626
|
},
|
627
627
|
"typeName": {
|
628
|
-
"id":
|
628
|
+
"id": 50759,
|
629
629
|
"name": "bytes7",
|
630
630
|
"nodeType": "ElementaryTypeName",
|
631
631
|
"src": "1258:6:125",
|
632
632
|
"typeDescriptions": {}
|
633
633
|
}
|
634
634
|
},
|
635
|
-
"id":
|
635
|
+
"id": 50765,
|
636
636
|
"isConstant": false,
|
637
637
|
"isLValue": false,
|
638
638
|
"isPure": false,
|
@@ -659,7 +659,7 @@
|
|
659
659
|
"typeIdentifier": "t_bytes32",
|
660
660
|
"typeString": "bytes32"
|
661
661
|
},
|
662
|
-
"id":
|
662
|
+
"id": 50804,
|
663
663
|
"isConstant": false,
|
664
664
|
"isLValue": false,
|
665
665
|
"isPure": false,
|
@@ -669,7 +669,7 @@
|
|
669
669
|
"typeIdentifier": "t_bytes32",
|
670
670
|
"typeString": "bytes32"
|
671
671
|
},
|
672
|
-
"id":
|
672
|
+
"id": 50791,
|
673
673
|
"isConstant": false,
|
674
674
|
"isLValue": false,
|
675
675
|
"isPure": false,
|
@@ -679,7 +679,7 @@
|
|
679
679
|
"typeIdentifier": "t_bytes32",
|
680
680
|
"typeString": "bytes32"
|
681
681
|
},
|
682
|
-
"id":
|
682
|
+
"id": 50780,
|
683
683
|
"isConstant": false,
|
684
684
|
"isLValue": false,
|
685
685
|
"isPure": false,
|
@@ -687,11 +687,11 @@
|
|
687
687
|
"leftExpression": {
|
688
688
|
"arguments": [
|
689
689
|
{
|
690
|
-
"id":
|
690
|
+
"id": 50771,
|
691
691
|
"name": "RESOURCE_TABLE",
|
692
692
|
"nodeType": "Identifier",
|
693
693
|
"overloadedDeclarations": [],
|
694
|
-
"referencedDeclaration":
|
694
|
+
"referencedDeclaration": 36666,
|
695
695
|
"src": "1363:14:125",
|
696
696
|
"typeDescriptions": {
|
697
697
|
"typeIdentifier": "t_bytes2",
|
@@ -706,7 +706,7 @@
|
|
706
706
|
"typeString": "bytes2"
|
707
707
|
}
|
708
708
|
],
|
709
|
-
"id":
|
709
|
+
"id": 50770,
|
710
710
|
"isConstant": false,
|
711
711
|
"isLValue": false,
|
712
712
|
"isPure": true,
|
@@ -718,14 +718,14 @@
|
|
718
718
|
"typeString": "type(bytes32)"
|
719
719
|
},
|
720
720
|
"typeName": {
|
721
|
-
"id":
|
721
|
+
"id": 50769,
|
722
722
|
"name": "bytes32",
|
723
723
|
"nodeType": "ElementaryTypeName",
|
724
724
|
"src": "1355:7:125",
|
725
725
|
"typeDescriptions": {}
|
726
726
|
}
|
727
727
|
},
|
728
|
-
"id":
|
728
|
+
"id": 50772,
|
729
729
|
"isConstant": false,
|
730
730
|
"isLValue": false,
|
731
731
|
"isPure": true,
|
@@ -750,7 +750,7 @@
|
|
750
750
|
"typeIdentifier": "t_bytes32",
|
751
751
|
"typeString": "bytes32"
|
752
752
|
},
|
753
|
-
"id":
|
753
|
+
"id": 50778,
|
754
754
|
"isConstant": false,
|
755
755
|
"isLValue": false,
|
756
756
|
"isPure": false,
|
@@ -758,11 +758,11 @@
|
|
758
758
|
"leftExpression": {
|
759
759
|
"arguments": [
|
760
760
|
{
|
761
|
-
"id":
|
761
|
+
"id": 50775,
|
762
762
|
"name": "moduleNamespace",
|
763
763
|
"nodeType": "Identifier",
|
764
764
|
"overloadedDeclarations": [],
|
765
|
-
"referencedDeclaration":
|
765
|
+
"referencedDeclaration": 50741,
|
766
766
|
"src": "1398:15:125",
|
767
767
|
"typeDescriptions": {
|
768
768
|
"typeIdentifier": "t_bytes7",
|
@@ -777,7 +777,7 @@
|
|
777
777
|
"typeString": "bytes7"
|
778
778
|
}
|
779
779
|
],
|
780
|
-
"id":
|
780
|
+
"id": 50774,
|
781
781
|
"isConstant": false,
|
782
782
|
"isLValue": false,
|
783
783
|
"isPure": true,
|
@@ -789,14 +789,14 @@
|
|
789
789
|
"typeString": "type(bytes32)"
|
790
790
|
},
|
791
791
|
"typeName": {
|
792
|
-
"id":
|
792
|
+
"id": 50773,
|
793
793
|
"name": "bytes32",
|
794
794
|
"nodeType": "ElementaryTypeName",
|
795
795
|
"src": "1390:7:125",
|
796
796
|
"typeDescriptions": {}
|
797
797
|
}
|
798
798
|
},
|
799
|
-
"id":
|
799
|
+
"id": 50776,
|
800
800
|
"isConstant": false,
|
801
801
|
"isLValue": false,
|
802
802
|
"isPure": false,
|
@@ -815,11 +815,11 @@
|
|
815
815
|
"nodeType": "BinaryOperation",
|
816
816
|
"operator": ">>",
|
817
817
|
"rightExpression": {
|
818
|
-
"id":
|
818
|
+
"id": 50777,
|
819
819
|
"name": "TYPE_BITS",
|
820
820
|
"nodeType": "Identifier",
|
821
821
|
"overloadedDeclarations": [],
|
822
|
-
"referencedDeclaration":
|
822
|
+
"referencedDeclaration": 26611,
|
823
823
|
"src": "1418:9:125",
|
824
824
|
"typeDescriptions": {
|
825
825
|
"typeIdentifier": "t_uint256",
|
@@ -833,7 +833,7 @@
|
|
833
833
|
}
|
834
834
|
}
|
835
835
|
],
|
836
|
-
"id":
|
836
|
+
"id": 50779,
|
837
837
|
"isConstant": false,
|
838
838
|
"isInlineArray": false,
|
839
839
|
"isLValue": false,
|
@@ -861,7 +861,7 @@
|
|
861
861
|
"typeIdentifier": "t_bytes32",
|
862
862
|
"typeString": "bytes32"
|
863
863
|
},
|
864
|
-
"id":
|
864
|
+
"id": 50789,
|
865
865
|
"isConstant": false,
|
866
866
|
"isLValue": false,
|
867
867
|
"isPure": false,
|
@@ -869,11 +869,11 @@
|
|
869
869
|
"leftExpression": {
|
870
870
|
"arguments": [
|
871
871
|
{
|
872
|
-
"id":
|
872
|
+
"id": 50783,
|
873
873
|
"name": "sourceTableNamespace",
|
874
874
|
"nodeType": "Identifier",
|
875
875
|
"overloadedDeclarations": [],
|
876
|
-
"referencedDeclaration":
|
876
|
+
"referencedDeclaration": 50758,
|
877
877
|
"src": "1448:20:125",
|
878
878
|
"typeDescriptions": {
|
879
879
|
"typeIdentifier": "t_bytes7",
|
@@ -888,7 +888,7 @@
|
|
888
888
|
"typeString": "bytes7"
|
889
889
|
}
|
890
890
|
],
|
891
|
-
"id":
|
891
|
+
"id": 50782,
|
892
892
|
"isConstant": false,
|
893
893
|
"isLValue": false,
|
894
894
|
"isPure": true,
|
@@ -900,14 +900,14 @@
|
|
900
900
|
"typeString": "type(bytes32)"
|
901
901
|
},
|
902
902
|
"typeName": {
|
903
|
-
"id":
|
903
|
+
"id": 50781,
|
904
904
|
"name": "bytes32",
|
905
905
|
"nodeType": "ElementaryTypeName",
|
906
906
|
"src": "1440:7:125",
|
907
907
|
"typeDescriptions": {}
|
908
908
|
}
|
909
909
|
},
|
910
|
-
"id":
|
910
|
+
"id": 50784,
|
911
911
|
"isConstant": false,
|
912
912
|
"isLValue": false,
|
913
913
|
"isPure": false,
|
@@ -932,17 +932,17 @@
|
|
932
932
|
"typeIdentifier": "t_uint256",
|
933
933
|
"typeString": "uint256"
|
934
934
|
},
|
935
|
-
"id":
|
935
|
+
"id": 50787,
|
936
936
|
"isConstant": false,
|
937
937
|
"isLValue": false,
|
938
938
|
"isPure": true,
|
939
939
|
"lValueRequested": false,
|
940
940
|
"leftExpression": {
|
941
|
-
"id":
|
941
|
+
"id": 50785,
|
942
942
|
"name": "TYPE_BITS",
|
943
943
|
"nodeType": "Identifier",
|
944
944
|
"overloadedDeclarations": [],
|
945
|
-
"referencedDeclaration":
|
945
|
+
"referencedDeclaration": 26611,
|
946
946
|
"src": "1474:9:125",
|
947
947
|
"typeDescriptions": {
|
948
948
|
"typeIdentifier": "t_uint256",
|
@@ -952,11 +952,11 @@
|
|
952
952
|
"nodeType": "BinaryOperation",
|
953
953
|
"operator": "+",
|
954
954
|
"rightExpression": {
|
955
|
-
"id":
|
955
|
+
"id": 50786,
|
956
956
|
"name": "MODULE_NAMESPACE_BITS",
|
957
957
|
"nodeType": "Identifier",
|
958
958
|
"overloadedDeclarations": [],
|
959
|
-
"referencedDeclaration":
|
959
|
+
"referencedDeclaration": 50728,
|
960
960
|
"src": "1486:21:125",
|
961
961
|
"typeDescriptions": {
|
962
962
|
"typeIdentifier": "t_uint256",
|
@@ -970,7 +970,7 @@
|
|
970
970
|
}
|
971
971
|
}
|
972
972
|
],
|
973
|
-
"id":
|
973
|
+
"id": 50788,
|
974
974
|
"isConstant": false,
|
975
975
|
"isInlineArray": false,
|
976
976
|
"isLValue": false,
|
@@ -990,7 +990,7 @@
|
|
990
990
|
}
|
991
991
|
}
|
992
992
|
],
|
993
|
-
"id":
|
993
|
+
"id": 50790,
|
994
994
|
"isConstant": false,
|
995
995
|
"isInlineArray": false,
|
996
996
|
"isLValue": false,
|
@@ -1018,7 +1018,7 @@
|
|
1018
1018
|
"typeIdentifier": "t_bytes32",
|
1019
1019
|
"typeString": "bytes32"
|
1020
1020
|
},
|
1021
|
-
"id":
|
1021
|
+
"id": 50802,
|
1022
1022
|
"isConstant": false,
|
1023
1023
|
"isLValue": false,
|
1024
1024
|
"isPure": false,
|
@@ -1026,11 +1026,11 @@
|
|
1026
1026
|
"leftExpression": {
|
1027
1027
|
"arguments": [
|
1028
1028
|
{
|
1029
|
-
"id":
|
1029
|
+
"id": 50794,
|
1030
1030
|
"name": "tableName",
|
1031
1031
|
"nodeType": "Identifier",
|
1032
1032
|
"overloadedDeclarations": [],
|
1033
|
-
"referencedDeclaration":
|
1033
|
+
"referencedDeclaration": 50751,
|
1034
1034
|
"src": "1529:9:125",
|
1035
1035
|
"typeDescriptions": {
|
1036
1036
|
"typeIdentifier": "t_bytes16",
|
@@ -1045,7 +1045,7 @@
|
|
1045
1045
|
"typeString": "bytes16"
|
1046
1046
|
}
|
1047
1047
|
],
|
1048
|
-
"id":
|
1048
|
+
"id": 50793,
|
1049
1049
|
"isConstant": false,
|
1050
1050
|
"isLValue": false,
|
1051
1051
|
"isPure": true,
|
@@ -1057,14 +1057,14 @@
|
|
1057
1057
|
"typeString": "type(bytes32)"
|
1058
1058
|
},
|
1059
1059
|
"typeName": {
|
1060
|
-
"id":
|
1060
|
+
"id": 50792,
|
1061
1061
|
"name": "bytes32",
|
1062
1062
|
"nodeType": "ElementaryTypeName",
|
1063
1063
|
"src": "1521:7:125",
|
1064
1064
|
"typeDescriptions": {}
|
1065
1065
|
}
|
1066
1066
|
},
|
1067
|
-
"id":
|
1067
|
+
"id": 50795,
|
1068
1068
|
"isConstant": false,
|
1069
1069
|
"isLValue": false,
|
1070
1070
|
"isPure": false,
|
@@ -1089,7 +1089,7 @@
|
|
1089
1089
|
"typeIdentifier": "t_uint256",
|
1090
1090
|
"typeString": "uint256"
|
1091
1091
|
},
|
1092
|
-
"id":
|
1092
|
+
"id": 50800,
|
1093
1093
|
"isConstant": false,
|
1094
1094
|
"isLValue": false,
|
1095
1095
|
"isPure": true,
|
@@ -1099,17 +1099,17 @@
|
|
1099
1099
|
"typeIdentifier": "t_uint256",
|
1100
1100
|
"typeString": "uint256"
|
1101
1101
|
},
|
1102
|
-
"id":
|
1102
|
+
"id": 50798,
|
1103
1103
|
"isConstant": false,
|
1104
1104
|
"isLValue": false,
|
1105
1105
|
"isPure": true,
|
1106
1106
|
"lValueRequested": false,
|
1107
1107
|
"leftExpression": {
|
1108
|
-
"id":
|
1108
|
+
"id": 50796,
|
1109
1109
|
"name": "TYPE_BITS",
|
1110
1110
|
"nodeType": "Identifier",
|
1111
1111
|
"overloadedDeclarations": [],
|
1112
|
-
"referencedDeclaration":
|
1112
|
+
"referencedDeclaration": 26611,
|
1113
1113
|
"src": "1544:9:125",
|
1114
1114
|
"typeDescriptions": {
|
1115
1115
|
"typeIdentifier": "t_uint256",
|
@@ -1119,11 +1119,11 @@
|
|
1119
1119
|
"nodeType": "BinaryOperation",
|
1120
1120
|
"operator": "+",
|
1121
1121
|
"rightExpression": {
|
1122
|
-
"id":
|
1122
|
+
"id": 50797,
|
1123
1123
|
"name": "MODULE_NAMESPACE_BITS",
|
1124
1124
|
"nodeType": "Identifier",
|
1125
1125
|
"overloadedDeclarations": [],
|
1126
|
-
"referencedDeclaration":
|
1126
|
+
"referencedDeclaration": 50728,
|
1127
1127
|
"src": "1556:21:125",
|
1128
1128
|
"typeDescriptions": {
|
1129
1129
|
"typeIdentifier": "t_uint256",
|
@@ -1139,11 +1139,11 @@
|
|
1139
1139
|
"nodeType": "BinaryOperation",
|
1140
1140
|
"operator": "+",
|
1141
1141
|
"rightExpression": {
|
1142
|
-
"id":
|
1142
|
+
"id": 50799,
|
1143
1143
|
"name": "TABLE_NAMESPACE_BITS",
|
1144
1144
|
"nodeType": "Identifier",
|
1145
1145
|
"overloadedDeclarations": [],
|
1146
|
-
"referencedDeclaration":
|
1146
|
+
"referencedDeclaration": 50733,
|
1147
1147
|
"src": "1580:20:125",
|
1148
1148
|
"typeDescriptions": {
|
1149
1149
|
"typeIdentifier": "t_uint256",
|
@@ -1157,7 +1157,7 @@
|
|
1157
1157
|
}
|
1158
1158
|
}
|
1159
1159
|
],
|
1160
|
-
"id":
|
1160
|
+
"id": 50801,
|
1161
1161
|
"isConstant": false,
|
1162
1162
|
"isInlineArray": false,
|
1163
1163
|
"isLValue": false,
|
@@ -1177,7 +1177,7 @@
|
|
1177
1177
|
}
|
1178
1178
|
}
|
1179
1179
|
],
|
1180
|
-
"id":
|
1180
|
+
"id": 50803,
|
1181
1181
|
"isConstant": false,
|
1182
1182
|
"isInlineArray": false,
|
1183
1183
|
"isLValue": false,
|
@@ -1205,18 +1205,18 @@
|
|
1205
1205
|
}
|
1206
1206
|
],
|
1207
1207
|
"expression": {
|
1208
|
-
"id":
|
1208
|
+
"id": 50767,
|
1209
1209
|
"name": "ResourceId",
|
1210
1210
|
"nodeType": "Identifier",
|
1211
1211
|
"overloadedDeclarations": [],
|
1212
|
-
"referencedDeclaration":
|
1212
|
+
"referencedDeclaration": 26605,
|
1213
1213
|
"src": "1332:10:125",
|
1214
1214
|
"typeDescriptions": {
|
1215
|
-
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$
|
1215
|
+
"typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26605_$",
|
1216
1216
|
"typeString": "type(ResourceId)"
|
1217
1217
|
}
|
1218
1218
|
},
|
1219
|
-
"id":
|
1219
|
+
"id": 50768,
|
1220
1220
|
"isConstant": false,
|
1221
1221
|
"isLValue": false,
|
1222
1222
|
"isPure": true,
|
@@ -1226,11 +1226,11 @@
|
|
1226
1226
|
"nodeType": "MemberAccess",
|
1227
1227
|
"src": "1332:15:125",
|
1228
1228
|
"typeDescriptions": {
|
1229
|
-
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$
|
1229
|
+
"typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26605_$",
|
1230
1230
|
"typeString": "function (bytes32) pure returns (ResourceId)"
|
1231
1231
|
}
|
1232
1232
|
},
|
1233
|
-
"id":
|
1233
|
+
"id": 50805,
|
1234
1234
|
"isConstant": false,
|
1235
1235
|
"isLValue": false,
|
1236
1236
|
"isPure": false,
|
@@ -1242,19 +1242,19 @@
|
|
1242
1242
|
"src": "1332:276:125",
|
1243
1243
|
"tryCall": false,
|
1244
1244
|
"typeDescriptions": {
|
1245
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1245
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
1246
1246
|
"typeString": "ResourceId"
|
1247
1247
|
}
|
1248
1248
|
},
|
1249
|
-
"functionReturnParameters":
|
1250
|
-
"id":
|
1249
|
+
"functionReturnParameters": 50749,
|
1250
|
+
"id": 50806,
|
1251
1251
|
"nodeType": "Return",
|
1252
1252
|
"src": "1321:287:125"
|
1253
1253
|
}
|
1254
1254
|
]
|
1255
1255
|
},
|
1256
1256
|
"documentation": {
|
1257
|
-
"id":
|
1257
|
+
"id": 50739,
|
1258
1258
|
"nodeType": "StructuredDocumentation",
|
1259
1259
|
"src": "452:599:125",
|
1260
1260
|
"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 2 bytes are the resource type\n - The next 7 bytes are the module namespace\n - The next 7 bytes are the first 7 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 7 bytes of the namespace are the same, in which case installing the module fails)\n - The last 16 bytes are the source table name"
|
@@ -1265,17 +1265,17 @@
|
|
1265
1265
|
"name": "getTargetTableId",
|
1266
1266
|
"nameLocation": "1061:16:125",
|
1267
1267
|
"parameters": {
|
1268
|
-
"id":
|
1268
|
+
"id": 50745,
|
1269
1269
|
"nodeType": "ParameterList",
|
1270
1270
|
"parameters": [
|
1271
1271
|
{
|
1272
1272
|
"constant": false,
|
1273
|
-
"id":
|
1273
|
+
"id": 50741,
|
1274
1274
|
"mutability": "mutable",
|
1275
1275
|
"name": "moduleNamespace",
|
1276
1276
|
"nameLocation": "1085:15:125",
|
1277
1277
|
"nodeType": "VariableDeclaration",
|
1278
|
-
"scope":
|
1278
|
+
"scope": 50808,
|
1279
1279
|
"src": "1078:22:125",
|
1280
1280
|
"stateVariable": false,
|
1281
1281
|
"storageLocation": "default",
|
@@ -1284,7 +1284,7 @@
|
|
1284
1284
|
"typeString": "bytes7"
|
1285
1285
|
},
|
1286
1286
|
"typeName": {
|
1287
|
-
"id":
|
1287
|
+
"id": 50740,
|
1288
1288
|
"name": "bytes7",
|
1289
1289
|
"nodeType": "ElementaryTypeName",
|
1290
1290
|
"src": "1078:6:125",
|
@@ -1297,36 +1297,36 @@
|
|
1297
1297
|
},
|
1298
1298
|
{
|
1299
1299
|
"constant": false,
|
1300
|
-
"id":
|
1300
|
+
"id": 50744,
|
1301
1301
|
"mutability": "mutable",
|
1302
1302
|
"name": "sourceTableId",
|
1303
1303
|
"nameLocation": "1113:13:125",
|
1304
1304
|
"nodeType": "VariableDeclaration",
|
1305
|
-
"scope":
|
1305
|
+
"scope": 50808,
|
1306
1306
|
"src": "1102:24:125",
|
1307
1307
|
"stateVariable": false,
|
1308
1308
|
"storageLocation": "default",
|
1309
1309
|
"typeDescriptions": {
|
1310
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1310
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
1311
1311
|
"typeString": "ResourceId"
|
1312
1312
|
},
|
1313
1313
|
"typeName": {
|
1314
|
-
"id":
|
1314
|
+
"id": 50743,
|
1315
1315
|
"nodeType": "UserDefinedTypeName",
|
1316
1316
|
"pathNode": {
|
1317
|
-
"id":
|
1317
|
+
"id": 50742,
|
1318
1318
|
"name": "ResourceId",
|
1319
1319
|
"nameLocations": [
|
1320
1320
|
"1102:10:125"
|
1321
1321
|
],
|
1322
1322
|
"nodeType": "IdentifierPath",
|
1323
|
-
"referencedDeclaration":
|
1323
|
+
"referencedDeclaration": 26605,
|
1324
1324
|
"src": "1102:10:125"
|
1325
1325
|
},
|
1326
|
-
"referencedDeclaration":
|
1326
|
+
"referencedDeclaration": 26605,
|
1327
1327
|
"src": "1102:10:125",
|
1328
1328
|
"typeDescriptions": {
|
1329
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1329
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
1330
1330
|
"typeString": "ResourceId"
|
1331
1331
|
}
|
1332
1332
|
},
|
@@ -1336,41 +1336,41 @@
|
|
1336
1336
|
"src": "1077:50:125"
|
1337
1337
|
},
|
1338
1338
|
"returnParameters": {
|
1339
|
-
"id":
|
1339
|
+
"id": 50749,
|
1340
1340
|
"nodeType": "ParameterList",
|
1341
1341
|
"parameters": [
|
1342
1342
|
{
|
1343
1343
|
"constant": false,
|
1344
|
-
"id":
|
1344
|
+
"id": 50748,
|
1345
1345
|
"mutability": "mutable",
|
1346
1346
|
"name": "",
|
1347
1347
|
"nameLocation": "-1:-1:-1",
|
1348
1348
|
"nodeType": "VariableDeclaration",
|
1349
|
-
"scope":
|
1349
|
+
"scope": 50808,
|
1350
1350
|
"src": "1142:10:125",
|
1351
1351
|
"stateVariable": false,
|
1352
1352
|
"storageLocation": "default",
|
1353
1353
|
"typeDescriptions": {
|
1354
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1354
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
1355
1355
|
"typeString": "ResourceId"
|
1356
1356
|
},
|
1357
1357
|
"typeName": {
|
1358
|
-
"id":
|
1358
|
+
"id": 50747,
|
1359
1359
|
"nodeType": "UserDefinedTypeName",
|
1360
1360
|
"pathNode": {
|
1361
|
-
"id":
|
1361
|
+
"id": 50746,
|
1362
1362
|
"name": "ResourceId",
|
1363
1363
|
"nameLocations": [
|
1364
1364
|
"1142:10:125"
|
1365
1365
|
],
|
1366
1366
|
"nodeType": "IdentifierPath",
|
1367
|
-
"referencedDeclaration":
|
1367
|
+
"referencedDeclaration": 26605,
|
1368
1368
|
"src": "1142:10:125"
|
1369
1369
|
},
|
1370
|
-
"referencedDeclaration":
|
1370
|
+
"referencedDeclaration": 26605,
|
1371
1371
|
"src": "1142:10:125",
|
1372
1372
|
"typeDescriptions": {
|
1373
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1373
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
|
1374
1374
|
"typeString": "ResourceId"
|
1375
1375
|
}
|
1376
1376
|
},
|
@@ -1379,7 +1379,7 @@
|
|
1379
1379
|
],
|
1380
1380
|
"src": "1141:12:125"
|
1381
1381
|
},
|
1382
|
-
"scope":
|
1382
|
+
"scope": 50809,
|
1383
1383
|
"stateMutability": "pure",
|
1384
1384
|
"virtual": false,
|
1385
1385
|
"visibility": "internal"
|