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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/out/AccessControl.sol/AccessControl.abi.json +1 -0
  2. package/out/AccessControl.sol/AccessControl.json +1651 -0
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/Balances.sol/Balances.abi.json +1 -0
  5. package/out/Balances.sol/Balances.json +13002 -0
  6. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +354 -354
  7. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  8. package/out/DelegationControl.sol/DelegationControl.json +139 -139
  9. package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  10. package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
  11. package/out/Hooks.sol/Hooks.json +45 -45
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +18 -18
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  14. package/out/IBaseWorld.sol/IBaseWorld.json +85 -85
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
  16. package/out/IDelegationControl.sol/IDelegationControl.json +11 -11
  17. package/out/ISystemHook.sol/ISystemHook.json +16 -16
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
  19. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  20. package/out/IWorldKernel.sol/IWorldCall.json +14 -14
  21. package/out/IWorldKernel.sol/IWorldKernel.json +14 -14
  22. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +14 -14
  23. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +43 -43
  24. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  25. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  26. package/out/KeysInTableModule.sol/KeysInTableModule.json +842 -842
  27. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  28. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1561 -1561
  29. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +654 -654
  30. package/out/Module.sol/Module.json +119 -119
  31. package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  32. package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
  33. package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  34. package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
  35. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  36. package/out/Schema.sol/SchemaInstance.json +30 -30
  37. package/out/Schema.sol/SchemaLib.json +30 -30
  38. package/out/SchemaType.sol/SchemaType.json +729 -729
  39. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +452 -452
  40. package/out/StoreHook.sol/StoreHook.json +639 -639
  41. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  42. package/out/System.sol/System.json +32 -32
  43. package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
  44. package/out/SystemHooks.sol/SystemHooks.json +32460 -0
  45. package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
  46. package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
  47. package/out/Systems.sol/Systems.abi.json +1 -0
  48. package/out/Systems.sol/Systems.json +18508 -0
  49. package/out/Tables.sol/Tables.json +73 -73
  50. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +187 -187
  51. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  52. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  53. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
  54. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +132 -132
  55. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
  56. package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
  57. package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
  58. package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
  59. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +107 -107
  60. package/out/WorldResourceId.sol/WorldResourceIdLib.json +107 -107
  61. package/out/constants.sol/constants.json +477 -194
  62. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  63. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  64. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  65. package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
  66. package/out/hasKey.sol/hasKey.json +215 -215
  67. package/out/index.sol/index.json +73 -73
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +175 -175
  69. package/out/query.sol/query.json +1892 -1892
  70. package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
  71. package/out/src/Bytes.sol/Bytes.json +3766 -3766
  72. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
  73. package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
  74. package/out/src/Hook.sol/HookInstance.abi.json +1 -0
  75. package/out/src/Hook.sol/HookInstance.json +2823 -0
  76. package/out/src/Hook.sol/HookLib.abi.json +1 -0
  77. package/out/src/Hook.sol/HookLib.json +2823 -0
  78. package/out/src/IStore.sol/IStore.json +73 -73
  79. package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
  80. package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
  81. package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
  82. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
  83. package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
  84. package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
  85. package/out/src/IWorldKernel.sol/IWorldCall.json +262 -262
  86. package/out/src/IWorldKernel.sol/IWorldKernel.json +262 -262
  87. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +262 -262
  88. package/out/src/Memory.sol/Memory.json +242 -242
  89. package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
  90. package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
  91. package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
  92. package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
  93. package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
  94. package/out/src/Schema.sol/SchemaLib.json +1351 -1351
  95. package/out/src/Slice.sol/SliceInstance.json +802 -802
  96. package/out/src/Slice.sol/SliceLib.json +802 -802
  97. package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
  98. package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
  99. package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
  100. package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
  101. package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
  102. package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
  103. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +813 -813
  104. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +813 -813
  105. package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
  106. package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
  107. package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
  108. package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
  109. package/out/tables/Tables.sol/Tables.json +12189 -12189
  110. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
  111. package/out/types.sol/types.json +71 -71
  112. package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
  113. package/package.json +8 -8
  114. package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
  115. package/src/utils/SystemSwitch.sol +82 -0
@@ -10,43 +10,43 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/modules/keyswithvalue/getTargetTableId.sol",
13
- "id": 50809,
13
+ "id": 59987,
14
14
  "exportedSymbols": {
15
15
  "MODULE_NAMESPACE_BITS": [
16
- 50728
16
+ 59906
17
17
  ],
18
18
  "NAME_BITS": [
19
- 39479
19
+ 42250
20
20
  ],
21
21
  "RESOURCE_TABLE": [
22
- 36666
22
+ 39200
23
23
  ],
24
24
  "ResourceId": [
25
- 26605
25
+ 29139
26
26
  ],
27
27
  "TABLE_NAMESPACE_BITS": [
28
- 50733
28
+ 59911
29
29
  ],
30
30
  "TABLE_NAME_BITS": [
31
- 50738
31
+ 59916
32
32
  ],
33
33
  "TYPE_BITS": [
34
- 26611
34
+ 29145
35
35
  ],
36
36
  "WorldResourceIdInstance": [
37
- 39739
37
+ 42510
38
38
  ],
39
39
  "getTargetTableId": [
40
- 50808
40
+ 59986
41
41
  ]
42
42
  },
43
43
  "nodeType": "SourceUnit",
44
- "src": "32:1580:125",
44
+ "src": "32:1580:135",
45
45
  "nodes": [
46
46
  {
47
- "id": 50715,
47
+ "id": 59893,
48
48
  "nodeType": "PragmaDirective",
49
- "src": "32:25:125",
49
+ "src": "32:25:135",
50
50
  "nodes": [],
51
51
  "literals": [
52
52
  "solidity",
@@ -56,24 +56,24 @@
56
56
  ]
57
57
  },
58
58
  {
59
- "id": 50717,
59
+ "id": 59895,
60
60
  "nodeType": "ImportDirective",
61
- "src": "59:65:125",
61
+ "src": "59:65:135",
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": 50809,
67
- "sourceUnit": 26677,
66
+ "scope": 59987,
67
+ "sourceUnit": 29211,
68
68
  "symbolAliases": [
69
69
  {
70
70
  "foreign": {
71
- "id": 50716,
71
+ "id": 59894,
72
72
  "name": "TYPE_BITS",
73
73
  "nodeType": "Identifier",
74
74
  "overloadedDeclarations": [],
75
- "referencedDeclaration": 26611,
76
- "src": "68:9:125",
75
+ "referencedDeclaration": 29145,
76
+ "src": "68:9:135",
77
77
  "typeDescriptions": {}
78
78
  },
79
79
  "nameLocation": "-1:-1:-1"
@@ -82,48 +82,48 @@
82
82
  "unitAlias": ""
83
83
  },
84
84
  {
85
- "id": 50721,
85
+ "id": 59899,
86
86
  "nodeType": "ImportDirective",
87
- "src": "125:107:125",
87
+ "src": "125:107:135",
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": 50809,
93
- "sourceUnit": 39740,
92
+ "scope": 59987,
93
+ "sourceUnit": 42511,
94
94
  "symbolAliases": [
95
95
  {
96
96
  "foreign": {
97
- "id": 50718,
97
+ "id": 59896,
98
98
  "name": "ResourceId",
99
99
  "nodeType": "Identifier",
100
100
  "overloadedDeclarations": [],
101
- "referencedDeclaration": 26605,
102
- "src": "134:10:125",
101
+ "referencedDeclaration": 29139,
102
+ "src": "134:10:135",
103
103
  "typeDescriptions": {}
104
104
  },
105
105
  "nameLocation": "-1:-1:-1"
106
106
  },
107
107
  {
108
108
  "foreign": {
109
- "id": 50719,
109
+ "id": 59897,
110
110
  "name": "WorldResourceIdInstance",
111
111
  "nodeType": "Identifier",
112
112
  "overloadedDeclarations": [],
113
- "referencedDeclaration": 39739,
114
- "src": "146:23:125",
113
+ "referencedDeclaration": 42510,
114
+ "src": "146:23:135",
115
115
  "typeDescriptions": {}
116
116
  },
117
117
  "nameLocation": "-1:-1:-1"
118
118
  },
119
119
  {
120
120
  "foreign": {
121
- "id": 50720,
121
+ "id": 59898,
122
122
  "name": "NAME_BITS",
123
123
  "nodeType": "Identifier",
124
124
  "overloadedDeclarations": [],
125
- "referencedDeclaration": 39479,
126
- "src": "171:9:125",
125
+ "referencedDeclaration": 42250,
126
+ "src": "171:9:135",
127
127
  "typeDescriptions": {}
128
128
  },
129
129
  "nameLocation": "-1:-1:-1"
@@ -132,24 +132,24 @@
132
132
  "unitAlias": ""
133
133
  },
134
134
  {
135
- "id": 50723,
135
+ "id": 59901,
136
136
  "nodeType": "ImportDirective",
137
- "src": "233:78:125",
137
+ "src": "233:78:135",
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": 50809,
143
- "sourceUnit": 39883,
142
+ "scope": 59987,
143
+ "sourceUnit": 49061,
144
144
  "symbolAliases": [
145
145
  {
146
146
  "foreign": {
147
- "id": 50722,
147
+ "id": 59900,
148
148
  "name": "RESOURCE_TABLE",
149
149
  "nodeType": "Identifier",
150
150
  "overloadedDeclarations": [],
151
- "referencedDeclaration": 36666,
152
- "src": "242:14:125",
151
+ "referencedDeclaration": 39200,
152
+ "src": "242:14:135",
153
153
  "typeDescriptions": {}
154
154
  },
155
155
  "nameLocation": "-1:-1:-1"
@@ -158,15 +158,15 @@
158
158
  "unitAlias": ""
159
159
  },
160
160
  {
161
- "id": 50728,
161
+ "id": 59906,
162
162
  "nodeType": "VariableDeclaration",
163
- "src": "313:46:125",
163
+ "src": "313:46:135",
164
164
  "nodes": [],
165
165
  "constant": true,
166
166
  "mutability": "constant",
167
167
  "name": "MODULE_NAMESPACE_BITS",
168
- "nameLocation": "330:21:125",
169
- "scope": 50809,
168
+ "nameLocation": "330:21:135",
169
+ "scope": 59987,
170
170
  "stateVariable": false,
171
171
  "storageLocation": "default",
172
172
  "typeDescriptions": {
@@ -174,10 +174,10 @@
174
174
  "typeString": "uint256"
175
175
  },
176
176
  "typeName": {
177
- "id": 50724,
177
+ "id": 59902,
178
178
  "name": "uint256",
179
179
  "nodeType": "ElementaryTypeName",
180
- "src": "313:7:125",
180
+ "src": "313:7:135",
181
181
  "typeDescriptions": {
182
182
  "typeIdentifier": "t_uint256",
183
183
  "typeString": "uint256"
@@ -188,21 +188,21 @@
188
188
  "typeIdentifier": "t_rational_56_by_1",
189
189
  "typeString": "int_const 56"
190
190
  },
191
- "id": 50727,
191
+ "id": 59905,
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": 50725,
198
+ "id": 59903,
199
199
  "isConstant": false,
200
200
  "isLValue": false,
201
201
  "isPure": true,
202
202
  "kind": "number",
203
203
  "lValueRequested": false,
204
204
  "nodeType": "Literal",
205
- "src": "354:1:125",
205
+ "src": "354:1:135",
206
206
  "typeDescriptions": {
207
207
  "typeIdentifier": "t_rational_7_by_1",
208
208
  "typeString": "int_const 7"
@@ -213,21 +213,21 @@
213
213
  "operator": "*",
214
214
  "rightExpression": {
215
215
  "hexValue": "38",
216
- "id": 50726,
216
+ "id": 59904,
217
217
  "isConstant": false,
218
218
  "isLValue": false,
219
219
  "isPure": true,
220
220
  "kind": "number",
221
221
  "lValueRequested": false,
222
222
  "nodeType": "Literal",
223
- "src": "358:1:125",
223
+ "src": "358:1:135",
224
224
  "typeDescriptions": {
225
225
  "typeIdentifier": "t_rational_8_by_1",
226
226
  "typeString": "int_const 8"
227
227
  },
228
228
  "value": "8"
229
229
  },
230
- "src": "354:5:125",
230
+ "src": "354:5:135",
231
231
  "typeDescriptions": {
232
232
  "typeIdentifier": "t_rational_56_by_1",
233
233
  "typeString": "int_const 56"
@@ -236,15 +236,15 @@
236
236
  "visibility": "internal"
237
237
  },
238
238
  {
239
- "id": 50733,
239
+ "id": 59911,
240
240
  "nodeType": "VariableDeclaration",
241
- "src": "361:45:125",
241
+ "src": "361:45:135",
242
242
  "nodes": [],
243
243
  "constant": true,
244
244
  "mutability": "constant",
245
245
  "name": "TABLE_NAMESPACE_BITS",
246
- "nameLocation": "378:20:125",
247
- "scope": 50809,
246
+ "nameLocation": "378:20:135",
247
+ "scope": 59987,
248
248
  "stateVariable": false,
249
249
  "storageLocation": "default",
250
250
  "typeDescriptions": {
@@ -252,10 +252,10 @@
252
252
  "typeString": "uint256"
253
253
  },
254
254
  "typeName": {
255
- "id": 50729,
255
+ "id": 59907,
256
256
  "name": "uint256",
257
257
  "nodeType": "ElementaryTypeName",
258
- "src": "361:7:125",
258
+ "src": "361:7:135",
259
259
  "typeDescriptions": {
260
260
  "typeIdentifier": "t_uint256",
261
261
  "typeString": "uint256"
@@ -266,21 +266,21 @@
266
266
  "typeIdentifier": "t_rational_56_by_1",
267
267
  "typeString": "int_const 56"
268
268
  },
269
- "id": 50732,
269
+ "id": 59910,
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": 50730,
276
+ "id": 59908,
277
277
  "isConstant": false,
278
278
  "isLValue": false,
279
279
  "isPure": true,
280
280
  "kind": "number",
281
281
  "lValueRequested": false,
282
282
  "nodeType": "Literal",
283
- "src": "401:1:125",
283
+ "src": "401:1:135",
284
284
  "typeDescriptions": {
285
285
  "typeIdentifier": "t_rational_7_by_1",
286
286
  "typeString": "int_const 7"
@@ -291,21 +291,21 @@
291
291
  "operator": "*",
292
292
  "rightExpression": {
293
293
  "hexValue": "38",
294
- "id": 50731,
294
+ "id": 59909,
295
295
  "isConstant": false,
296
296
  "isLValue": false,
297
297
  "isPure": true,
298
298
  "kind": "number",
299
299
  "lValueRequested": false,
300
300
  "nodeType": "Literal",
301
- "src": "405:1:125",
301
+ "src": "405:1:135",
302
302
  "typeDescriptions": {
303
303
  "typeIdentifier": "t_rational_8_by_1",
304
304
  "typeString": "int_const 8"
305
305
  },
306
306
  "value": "8"
307
307
  },
308
- "src": "401:5:125",
308
+ "src": "401:5:135",
309
309
  "typeDescriptions": {
310
310
  "typeIdentifier": "t_rational_56_by_1",
311
311
  "typeString": "int_const 56"
@@ -314,15 +314,15 @@
314
314
  "visibility": "internal"
315
315
  },
316
316
  {
317
- "id": 50738,
317
+ "id": 59916,
318
318
  "nodeType": "VariableDeclaration",
319
- "src": "408:41:125",
319
+ "src": "408:41:135",
320
320
  "nodes": [],
321
321
  "constant": true,
322
322
  "mutability": "constant",
323
323
  "name": "TABLE_NAME_BITS",
324
- "nameLocation": "425:15:125",
325
- "scope": 50809,
324
+ "nameLocation": "425:15:135",
325
+ "scope": 59987,
326
326
  "stateVariable": false,
327
327
  "storageLocation": "default",
328
328
  "typeDescriptions": {
@@ -330,10 +330,10 @@
330
330
  "typeString": "uint256"
331
331
  },
332
332
  "typeName": {
333
- "id": 50734,
333
+ "id": 59912,
334
334
  "name": "uint256",
335
335
  "nodeType": "ElementaryTypeName",
336
- "src": "408:7:125",
336
+ "src": "408:7:135",
337
337
  "typeDescriptions": {
338
338
  "typeIdentifier": "t_uint256",
339
339
  "typeString": "uint256"
@@ -344,21 +344,21 @@
344
344
  "typeIdentifier": "t_rational_128_by_1",
345
345
  "typeString": "int_const 128"
346
346
  },
347
- "id": 50737,
347
+ "id": 59915,
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": 50735,
354
+ "id": 59913,
355
355
  "isConstant": false,
356
356
  "isLValue": false,
357
357
  "isPure": true,
358
358
  "kind": "number",
359
359
  "lValueRequested": false,
360
360
  "nodeType": "Literal",
361
- "src": "443:2:125",
361
+ "src": "443:2:135",
362
362
  "typeDescriptions": {
363
363
  "typeIdentifier": "t_rational_16_by_1",
364
364
  "typeString": "int_const 16"
@@ -369,21 +369,21 @@
369
369
  "operator": "*",
370
370
  "rightExpression": {
371
371
  "hexValue": "38",
372
- "id": 50736,
372
+ "id": 59914,
373
373
  "isConstant": false,
374
374
  "isLValue": false,
375
375
  "isPure": true,
376
376
  "kind": "number",
377
377
  "lValueRequested": false,
378
378
  "nodeType": "Literal",
379
- "src": "448:1:125",
379
+ "src": "448:1:135",
380
380
  "typeDescriptions": {
381
381
  "typeIdentifier": "t_rational_8_by_1",
382
382
  "typeString": "int_const 8"
383
383
  },
384
384
  "value": "8"
385
385
  },
386
- "src": "443:6:125",
386
+ "src": "443:6:135",
387
387
  "typeDescriptions": {
388
388
  "typeIdentifier": "t_rational_128_by_1",
389
389
  "typeString": "int_const 128"
@@ -392,30 +392,30 @@
392
392
  "visibility": "internal"
393
393
  },
394
394
  {
395
- "id": 50808,
395
+ "id": 59986,
396
396
  "nodeType": "FunctionDefinition",
397
- "src": "1052:559:125",
397
+ "src": "1052:559:135",
398
398
  "nodes": [],
399
399
  "body": {
400
- "id": 50807,
400
+ "id": 59985,
401
401
  "nodeType": "Block",
402
- "src": "1154:457:125",
402
+ "src": "1154:457:135",
403
403
  "nodes": [],
404
404
  "statements": [
405
405
  {
406
406
  "assignments": [
407
- 50751
407
+ 59929
408
408
  ],
409
409
  "declarations": [
410
410
  {
411
411
  "constant": false,
412
- "id": 50751,
412
+ "id": 59929,
413
413
  "mutability": "mutable",
414
414
  "name": "tableName",
415
- "nameLocation": "1166:9:125",
415
+ "nameLocation": "1166:9:135",
416
416
  "nodeType": "VariableDeclaration",
417
- "scope": 50807,
418
- "src": "1158:17:125",
417
+ "scope": 59985,
418
+ "src": "1158:17:135",
419
419
  "stateVariable": false,
420
420
  "storageLocation": "default",
421
421
  "typeDescriptions": {
@@ -423,10 +423,10 @@
423
423
  "typeString": "bytes16"
424
424
  },
425
425
  "typeName": {
426
- "id": 50750,
426
+ "id": 59928,
427
427
  "name": "bytes16",
428
428
  "nodeType": "ElementaryTypeName",
429
- "src": "1158:7:125",
429
+ "src": "1158:7:135",
430
430
  "typeDescriptions": {
431
431
  "typeIdentifier": "t_bytes16",
432
432
  "typeString": "bytes16"
@@ -435,18 +435,18 @@
435
435
  "visibility": "internal"
436
436
  }
437
437
  ],
438
- "id": 50756,
438
+ "id": 59934,
439
439
  "initialValue": {
440
440
  "arguments": [
441
441
  {
442
- "id": 50754,
442
+ "id": 59932,
443
443
  "name": "sourceTableId",
444
444
  "nodeType": "Identifier",
445
445
  "overloadedDeclarations": [],
446
- "referencedDeclaration": 50744,
447
- "src": "1210:13:125",
446
+ "referencedDeclaration": 59922,
447
+ "src": "1210:13:135",
448
448
  "typeDescriptions": {
449
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
449
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
450
450
  "typeString": "ResourceId"
451
451
  }
452
452
  }
@@ -454,38 +454,38 @@
454
454
  "expression": {
455
455
  "argumentTypes": [
456
456
  {
457
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
457
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
458
458
  "typeString": "ResourceId"
459
459
  }
460
460
  ],
461
461
  "expression": {
462
- "id": 50752,
462
+ "id": 59930,
463
463
  "name": "WorldResourceIdInstance",
464
464
  "nodeType": "Identifier",
465
465
  "overloadedDeclarations": [],
466
- "referencedDeclaration": 39739,
467
- "src": "1178:23:125",
466
+ "referencedDeclaration": 42510,
467
+ "src": "1178:23:135",
468
468
  "typeDescriptions": {
469
- "typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$39739_$",
469
+ "typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$42510_$",
470
470
  "typeString": "type(library WorldResourceIdInstance)"
471
471
  }
472
472
  },
473
- "id": 50753,
473
+ "id": 59931,
474
474
  "isConstant": false,
475
475
  "isLValue": false,
476
476
  "isPure": false,
477
477
  "lValueRequested": false,
478
- "memberLocation": "1202:7:125",
478
+ "memberLocation": "1202:7:135",
479
479
  "memberName": "getName",
480
480
  "nodeType": "MemberAccess",
481
- "referencedDeclaration": 39687,
482
- "src": "1178:31:125",
481
+ "referencedDeclaration": 42458,
482
+ "src": "1178:31:135",
483
483
  "typeDescriptions": {
484
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26605_$returns$_t_bytes16_$",
484
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_bytes16_$",
485
485
  "typeString": "function (ResourceId) pure returns (bytes16)"
486
486
  }
487
487
  },
488
- "id": 50755,
488
+ "id": 59933,
489
489
  "isConstant": false,
490
490
  "isLValue": false,
491
491
  "isPure": false,
@@ -494,7 +494,7 @@
494
494
  "nameLocations": [],
495
495
  "names": [],
496
496
  "nodeType": "FunctionCall",
497
- "src": "1178:46:125",
497
+ "src": "1178:46:135",
498
498
  "tryCall": false,
499
499
  "typeDescriptions": {
500
500
  "typeIdentifier": "t_bytes16",
@@ -502,22 +502,22 @@
502
502
  }
503
503
  },
504
504
  "nodeType": "VariableDeclarationStatement",
505
- "src": "1158:66:125"
505
+ "src": "1158:66:135"
506
506
  },
507
507
  {
508
508
  "assignments": [
509
- 50758
509
+ 59936
510
510
  ],
511
511
  "declarations": [
512
512
  {
513
513
  "constant": false,
514
- "id": 50758,
514
+ "id": 59936,
515
515
  "mutability": "mutable",
516
516
  "name": "sourceTableNamespace",
517
- "nameLocation": "1235:20:125",
517
+ "nameLocation": "1235:20:135",
518
518
  "nodeType": "VariableDeclaration",
519
- "scope": 50807,
520
- "src": "1228:27:125",
519
+ "scope": 59985,
520
+ "src": "1228:27:135",
521
521
  "stateVariable": false,
522
522
  "storageLocation": "default",
523
523
  "typeDescriptions": {
@@ -525,10 +525,10 @@
525
525
  "typeString": "bytes7"
526
526
  },
527
527
  "typeName": {
528
- "id": 50757,
528
+ "id": 59935,
529
529
  "name": "bytes7",
530
530
  "nodeType": "ElementaryTypeName",
531
- "src": "1228:6:125",
531
+ "src": "1228:6:135",
532
532
  "typeDescriptions": {
533
533
  "typeIdentifier": "t_bytes7",
534
534
  "typeString": "bytes7"
@@ -537,20 +537,20 @@
537
537
  "visibility": "internal"
538
538
  }
539
539
  ],
540
- "id": 50766,
540
+ "id": 59944,
541
541
  "initialValue": {
542
542
  "arguments": [
543
543
  {
544
544
  "arguments": [
545
545
  {
546
- "id": 50763,
546
+ "id": 59941,
547
547
  "name": "sourceTableId",
548
548
  "nodeType": "Identifier",
549
549
  "overloadedDeclarations": [],
550
- "referencedDeclaration": 50744,
551
- "src": "1302:13:125",
550
+ "referencedDeclaration": 59922,
551
+ "src": "1302:13:135",
552
552
  "typeDescriptions": {
553
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
553
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
554
554
  "typeString": "ResourceId"
555
555
  }
556
556
  }
@@ -558,38 +558,38 @@
558
558
  "expression": {
559
559
  "argumentTypes": [
560
560
  {
561
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
561
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
562
562
  "typeString": "ResourceId"
563
563
  }
564
564
  ],
565
565
  "expression": {
566
- "id": 50761,
566
+ "id": 59939,
567
567
  "name": "WorldResourceIdInstance",
568
568
  "nodeType": "Identifier",
569
569
  "overloadedDeclarations": [],
570
- "referencedDeclaration": 39739,
571
- "src": "1265:23:125",
570
+ "referencedDeclaration": 42510,
571
+ "src": "1265:23:135",
572
572
  "typeDescriptions": {
573
- "typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$39739_$",
573
+ "typeIdentifier": "t_type$_t_contract$_WorldResourceIdInstance_$42510_$",
574
574
  "typeString": "type(library WorldResourceIdInstance)"
575
575
  }
576
576
  },
577
- "id": 50762,
577
+ "id": 59940,
578
578
  "isConstant": false,
579
579
  "isLValue": false,
580
580
  "isPure": false,
581
581
  "lValueRequested": false,
582
- "memberLocation": "1289:12:125",
582
+ "memberLocation": "1289:12:135",
583
583
  "memberName": "getNamespace",
584
584
  "nodeType": "MemberAccess",
585
- "referencedDeclaration": 39640,
586
- "src": "1265:36:125",
585
+ "referencedDeclaration": 42411,
586
+ "src": "1265:36:135",
587
587
  "typeDescriptions": {
588
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26605_$returns$_t_bytes14_$",
588
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$29139_$returns$_t_bytes14_$",
589
589
  "typeString": "function (ResourceId) pure returns (bytes14)"
590
590
  }
591
591
  },
592
- "id": 50764,
592
+ "id": 59942,
593
593
  "isConstant": false,
594
594
  "isLValue": false,
595
595
  "isPure": false,
@@ -598,7 +598,7 @@
598
598
  "nameLocations": [],
599
599
  "names": [],
600
600
  "nodeType": "FunctionCall",
601
- "src": "1265:51:125",
601
+ "src": "1265:51:135",
602
602
  "tryCall": false,
603
603
  "typeDescriptions": {
604
604
  "typeIdentifier": "t_bytes14",
@@ -613,26 +613,26 @@
613
613
  "typeString": "bytes14"
614
614
  }
615
615
  ],
616
- "id": 50760,
616
+ "id": 59938,
617
617
  "isConstant": false,
618
618
  "isLValue": false,
619
619
  "isPure": true,
620
620
  "lValueRequested": false,
621
621
  "nodeType": "ElementaryTypeNameExpression",
622
- "src": "1258:6:125",
622
+ "src": "1258:6:135",
623
623
  "typeDescriptions": {
624
624
  "typeIdentifier": "t_type$_t_bytes7_$",
625
625
  "typeString": "type(bytes7)"
626
626
  },
627
627
  "typeName": {
628
- "id": 50759,
628
+ "id": 59937,
629
629
  "name": "bytes7",
630
630
  "nodeType": "ElementaryTypeName",
631
- "src": "1258:6:125",
631
+ "src": "1258:6:135",
632
632
  "typeDescriptions": {}
633
633
  }
634
634
  },
635
- "id": 50765,
635
+ "id": 59943,
636
636
  "isConstant": false,
637
637
  "isLValue": false,
638
638
  "isPure": false,
@@ -641,7 +641,7 @@
641
641
  "nameLocations": [],
642
642
  "names": [],
643
643
  "nodeType": "FunctionCall",
644
- "src": "1258:59:125",
644
+ "src": "1258:59:135",
645
645
  "tryCall": false,
646
646
  "typeDescriptions": {
647
647
  "typeIdentifier": "t_bytes7",
@@ -649,7 +649,7 @@
649
649
  }
650
650
  },
651
651
  "nodeType": "VariableDeclarationStatement",
652
- "src": "1228:89:125"
652
+ "src": "1228:89:135"
653
653
  },
654
654
  {
655
655
  "expression": {
@@ -659,7 +659,7 @@
659
659
  "typeIdentifier": "t_bytes32",
660
660
  "typeString": "bytes32"
661
661
  },
662
- "id": 50804,
662
+ "id": 59982,
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": 50791,
672
+ "id": 59969,
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": 50780,
682
+ "id": 59958,
683
683
  "isConstant": false,
684
684
  "isLValue": false,
685
685
  "isPure": false,
@@ -687,12 +687,12 @@
687
687
  "leftExpression": {
688
688
  "arguments": [
689
689
  {
690
- "id": 50771,
690
+ "id": 59949,
691
691
  "name": "RESOURCE_TABLE",
692
692
  "nodeType": "Identifier",
693
693
  "overloadedDeclarations": [],
694
- "referencedDeclaration": 36666,
695
- "src": "1363:14:125",
694
+ "referencedDeclaration": 39200,
695
+ "src": "1363:14:135",
696
696
  "typeDescriptions": {
697
697
  "typeIdentifier": "t_bytes2",
698
698
  "typeString": "bytes2"
@@ -706,26 +706,26 @@
706
706
  "typeString": "bytes2"
707
707
  }
708
708
  ],
709
- "id": 50770,
709
+ "id": 59948,
710
710
  "isConstant": false,
711
711
  "isLValue": false,
712
712
  "isPure": true,
713
713
  "lValueRequested": false,
714
714
  "nodeType": "ElementaryTypeNameExpression",
715
- "src": "1355:7:125",
715
+ "src": "1355:7:135",
716
716
  "typeDescriptions": {
717
717
  "typeIdentifier": "t_type$_t_bytes32_$",
718
718
  "typeString": "type(bytes32)"
719
719
  },
720
720
  "typeName": {
721
- "id": 50769,
721
+ "id": 59947,
722
722
  "name": "bytes32",
723
723
  "nodeType": "ElementaryTypeName",
724
- "src": "1355:7:125",
724
+ "src": "1355:7:135",
725
725
  "typeDescriptions": {}
726
726
  }
727
727
  },
728
- "id": 50772,
728
+ "id": 59950,
729
729
  "isConstant": false,
730
730
  "isLValue": false,
731
731
  "isPure": true,
@@ -734,7 +734,7 @@
734
734
  "nameLocations": [],
735
735
  "names": [],
736
736
  "nodeType": "FunctionCall",
737
- "src": "1355:23:125",
737
+ "src": "1355:23:135",
738
738
  "tryCall": false,
739
739
  "typeDescriptions": {
740
740
  "typeIdentifier": "t_bytes32",
@@ -750,7 +750,7 @@
750
750
  "typeIdentifier": "t_bytes32",
751
751
  "typeString": "bytes32"
752
752
  },
753
- "id": 50778,
753
+ "id": 59956,
754
754
  "isConstant": false,
755
755
  "isLValue": false,
756
756
  "isPure": false,
@@ -758,12 +758,12 @@
758
758
  "leftExpression": {
759
759
  "arguments": [
760
760
  {
761
- "id": 50775,
761
+ "id": 59953,
762
762
  "name": "moduleNamespace",
763
763
  "nodeType": "Identifier",
764
764
  "overloadedDeclarations": [],
765
- "referencedDeclaration": 50741,
766
- "src": "1398:15:125",
765
+ "referencedDeclaration": 59919,
766
+ "src": "1398:15:135",
767
767
  "typeDescriptions": {
768
768
  "typeIdentifier": "t_bytes7",
769
769
  "typeString": "bytes7"
@@ -777,26 +777,26 @@
777
777
  "typeString": "bytes7"
778
778
  }
779
779
  ],
780
- "id": 50774,
780
+ "id": 59952,
781
781
  "isConstant": false,
782
782
  "isLValue": false,
783
783
  "isPure": true,
784
784
  "lValueRequested": false,
785
785
  "nodeType": "ElementaryTypeNameExpression",
786
- "src": "1390:7:125",
786
+ "src": "1390:7:135",
787
787
  "typeDescriptions": {
788
788
  "typeIdentifier": "t_type$_t_bytes32_$",
789
789
  "typeString": "type(bytes32)"
790
790
  },
791
791
  "typeName": {
792
- "id": 50773,
792
+ "id": 59951,
793
793
  "name": "bytes32",
794
794
  "nodeType": "ElementaryTypeName",
795
- "src": "1390:7:125",
795
+ "src": "1390:7:135",
796
796
  "typeDescriptions": {}
797
797
  }
798
798
  },
799
- "id": 50776,
799
+ "id": 59954,
800
800
  "isConstant": false,
801
801
  "isLValue": false,
802
802
  "isPure": false,
@@ -805,7 +805,7 @@
805
805
  "nameLocations": [],
806
806
  "names": [],
807
807
  "nodeType": "FunctionCall",
808
- "src": "1390:24:125",
808
+ "src": "1390:24:135",
809
809
  "tryCall": false,
810
810
  "typeDescriptions": {
811
811
  "typeIdentifier": "t_bytes32",
@@ -815,38 +815,38 @@
815
815
  "nodeType": "BinaryOperation",
816
816
  "operator": ">>",
817
817
  "rightExpression": {
818
- "id": 50777,
818
+ "id": 59955,
819
819
  "name": "TYPE_BITS",
820
820
  "nodeType": "Identifier",
821
821
  "overloadedDeclarations": [],
822
- "referencedDeclaration": 26611,
823
- "src": "1418:9:125",
822
+ "referencedDeclaration": 29145,
823
+ "src": "1418:9:135",
824
824
  "typeDescriptions": {
825
825
  "typeIdentifier": "t_uint256",
826
826
  "typeString": "uint256"
827
827
  }
828
828
  },
829
- "src": "1390:37:125",
829
+ "src": "1390:37:135",
830
830
  "typeDescriptions": {
831
831
  "typeIdentifier": "t_bytes32",
832
832
  "typeString": "bytes32"
833
833
  }
834
834
  }
835
835
  ],
836
- "id": 50779,
836
+ "id": 59957,
837
837
  "isConstant": false,
838
838
  "isInlineArray": false,
839
839
  "isLValue": false,
840
840
  "isPure": false,
841
841
  "lValueRequested": false,
842
842
  "nodeType": "TupleExpression",
843
- "src": "1389:39:125",
843
+ "src": "1389:39:135",
844
844
  "typeDescriptions": {
845
845
  "typeIdentifier": "t_bytes32",
846
846
  "typeString": "bytes32"
847
847
  }
848
848
  },
849
- "src": "1355:73:125",
849
+ "src": "1355:73:135",
850
850
  "typeDescriptions": {
851
851
  "typeIdentifier": "t_bytes32",
852
852
  "typeString": "bytes32"
@@ -861,7 +861,7 @@
861
861
  "typeIdentifier": "t_bytes32",
862
862
  "typeString": "bytes32"
863
863
  },
864
- "id": 50789,
864
+ "id": 59967,
865
865
  "isConstant": false,
866
866
  "isLValue": false,
867
867
  "isPure": false,
@@ -869,12 +869,12 @@
869
869
  "leftExpression": {
870
870
  "arguments": [
871
871
  {
872
- "id": 50783,
872
+ "id": 59961,
873
873
  "name": "sourceTableNamespace",
874
874
  "nodeType": "Identifier",
875
875
  "overloadedDeclarations": [],
876
- "referencedDeclaration": 50758,
877
- "src": "1448:20:125",
876
+ "referencedDeclaration": 59936,
877
+ "src": "1448:20:135",
878
878
  "typeDescriptions": {
879
879
  "typeIdentifier": "t_bytes7",
880
880
  "typeString": "bytes7"
@@ -888,26 +888,26 @@
888
888
  "typeString": "bytes7"
889
889
  }
890
890
  ],
891
- "id": 50782,
891
+ "id": 59960,
892
892
  "isConstant": false,
893
893
  "isLValue": false,
894
894
  "isPure": true,
895
895
  "lValueRequested": false,
896
896
  "nodeType": "ElementaryTypeNameExpression",
897
- "src": "1440:7:125",
897
+ "src": "1440:7:135",
898
898
  "typeDescriptions": {
899
899
  "typeIdentifier": "t_type$_t_bytes32_$",
900
900
  "typeString": "type(bytes32)"
901
901
  },
902
902
  "typeName": {
903
- "id": 50781,
903
+ "id": 59959,
904
904
  "name": "bytes32",
905
905
  "nodeType": "ElementaryTypeName",
906
- "src": "1440:7:125",
906
+ "src": "1440:7:135",
907
907
  "typeDescriptions": {}
908
908
  }
909
909
  },
910
- "id": 50784,
910
+ "id": 59962,
911
911
  "isConstant": false,
912
912
  "isLValue": false,
913
913
  "isPure": false,
@@ -916,7 +916,7 @@
916
916
  "nameLocations": [],
917
917
  "names": [],
918
918
  "nodeType": "FunctionCall",
919
- "src": "1440:29:125",
919
+ "src": "1440:29:135",
920
920
  "tryCall": false,
921
921
  "typeDescriptions": {
922
922
  "typeIdentifier": "t_bytes32",
@@ -932,18 +932,18 @@
932
932
  "typeIdentifier": "t_uint256",
933
933
  "typeString": "uint256"
934
934
  },
935
- "id": 50787,
935
+ "id": 59965,
936
936
  "isConstant": false,
937
937
  "isLValue": false,
938
938
  "isPure": true,
939
939
  "lValueRequested": false,
940
940
  "leftExpression": {
941
- "id": 50785,
941
+ "id": 59963,
942
942
  "name": "TYPE_BITS",
943
943
  "nodeType": "Identifier",
944
944
  "overloadedDeclarations": [],
945
- "referencedDeclaration": 26611,
946
- "src": "1474:9:125",
945
+ "referencedDeclaration": 29145,
946
+ "src": "1474:9:135",
947
947
  "typeDescriptions": {
948
948
  "typeIdentifier": "t_uint256",
949
949
  "typeString": "uint256"
@@ -952,58 +952,58 @@
952
952
  "nodeType": "BinaryOperation",
953
953
  "operator": "+",
954
954
  "rightExpression": {
955
- "id": 50786,
955
+ "id": 59964,
956
956
  "name": "MODULE_NAMESPACE_BITS",
957
957
  "nodeType": "Identifier",
958
958
  "overloadedDeclarations": [],
959
- "referencedDeclaration": 50728,
960
- "src": "1486:21:125",
959
+ "referencedDeclaration": 59906,
960
+ "src": "1486:21:135",
961
961
  "typeDescriptions": {
962
962
  "typeIdentifier": "t_uint256",
963
963
  "typeString": "uint256"
964
964
  }
965
965
  },
966
- "src": "1474:33:125",
966
+ "src": "1474:33:135",
967
967
  "typeDescriptions": {
968
968
  "typeIdentifier": "t_uint256",
969
969
  "typeString": "uint256"
970
970
  }
971
971
  }
972
972
  ],
973
- "id": 50788,
973
+ "id": 59966,
974
974
  "isConstant": false,
975
975
  "isInlineArray": false,
976
976
  "isLValue": false,
977
977
  "isPure": true,
978
978
  "lValueRequested": false,
979
979
  "nodeType": "TupleExpression",
980
- "src": "1473:35:125",
980
+ "src": "1473:35:135",
981
981
  "typeDescriptions": {
982
982
  "typeIdentifier": "t_uint256",
983
983
  "typeString": "uint256"
984
984
  }
985
985
  },
986
- "src": "1440:68:125",
986
+ "src": "1440:68:135",
987
987
  "typeDescriptions": {
988
988
  "typeIdentifier": "t_bytes32",
989
989
  "typeString": "bytes32"
990
990
  }
991
991
  }
992
992
  ],
993
- "id": 50790,
993
+ "id": 59968,
994
994
  "isConstant": false,
995
995
  "isInlineArray": false,
996
996
  "isLValue": false,
997
997
  "isPure": false,
998
998
  "lValueRequested": false,
999
999
  "nodeType": "TupleExpression",
1000
- "src": "1439:70:125",
1000
+ "src": "1439:70:135",
1001
1001
  "typeDescriptions": {
1002
1002
  "typeIdentifier": "t_bytes32",
1003
1003
  "typeString": "bytes32"
1004
1004
  }
1005
1005
  },
1006
- "src": "1355:154:125",
1006
+ "src": "1355:154:135",
1007
1007
  "typeDescriptions": {
1008
1008
  "typeIdentifier": "t_bytes32",
1009
1009
  "typeString": "bytes32"
@@ -1018,7 +1018,7 @@
1018
1018
  "typeIdentifier": "t_bytes32",
1019
1019
  "typeString": "bytes32"
1020
1020
  },
1021
- "id": 50802,
1021
+ "id": 59980,
1022
1022
  "isConstant": false,
1023
1023
  "isLValue": false,
1024
1024
  "isPure": false,
@@ -1026,12 +1026,12 @@
1026
1026
  "leftExpression": {
1027
1027
  "arguments": [
1028
1028
  {
1029
- "id": 50794,
1029
+ "id": 59972,
1030
1030
  "name": "tableName",
1031
1031
  "nodeType": "Identifier",
1032
1032
  "overloadedDeclarations": [],
1033
- "referencedDeclaration": 50751,
1034
- "src": "1529:9:125",
1033
+ "referencedDeclaration": 59929,
1034
+ "src": "1529:9:135",
1035
1035
  "typeDescriptions": {
1036
1036
  "typeIdentifier": "t_bytes16",
1037
1037
  "typeString": "bytes16"
@@ -1045,26 +1045,26 @@
1045
1045
  "typeString": "bytes16"
1046
1046
  }
1047
1047
  ],
1048
- "id": 50793,
1048
+ "id": 59971,
1049
1049
  "isConstant": false,
1050
1050
  "isLValue": false,
1051
1051
  "isPure": true,
1052
1052
  "lValueRequested": false,
1053
1053
  "nodeType": "ElementaryTypeNameExpression",
1054
- "src": "1521:7:125",
1054
+ "src": "1521:7:135",
1055
1055
  "typeDescriptions": {
1056
1056
  "typeIdentifier": "t_type$_t_bytes32_$",
1057
1057
  "typeString": "type(bytes32)"
1058
1058
  },
1059
1059
  "typeName": {
1060
- "id": 50792,
1060
+ "id": 59970,
1061
1061
  "name": "bytes32",
1062
1062
  "nodeType": "ElementaryTypeName",
1063
- "src": "1521:7:125",
1063
+ "src": "1521:7:135",
1064
1064
  "typeDescriptions": {}
1065
1065
  }
1066
1066
  },
1067
- "id": 50795,
1067
+ "id": 59973,
1068
1068
  "isConstant": false,
1069
1069
  "isLValue": false,
1070
1070
  "isPure": false,
@@ -1073,7 +1073,7 @@
1073
1073
  "nameLocations": [],
1074
1074
  "names": [],
1075
1075
  "nodeType": "FunctionCall",
1076
- "src": "1521:18:125",
1076
+ "src": "1521:18:135",
1077
1077
  "tryCall": false,
1078
1078
  "typeDescriptions": {
1079
1079
  "typeIdentifier": "t_bytes32",
@@ -1089,7 +1089,7 @@
1089
1089
  "typeIdentifier": "t_uint256",
1090
1090
  "typeString": "uint256"
1091
1091
  },
1092
- "id": 50800,
1092
+ "id": 59978,
1093
1093
  "isConstant": false,
1094
1094
  "isLValue": false,
1095
1095
  "isPure": true,
@@ -1099,18 +1099,18 @@
1099
1099
  "typeIdentifier": "t_uint256",
1100
1100
  "typeString": "uint256"
1101
1101
  },
1102
- "id": 50798,
1102
+ "id": 59976,
1103
1103
  "isConstant": false,
1104
1104
  "isLValue": false,
1105
1105
  "isPure": true,
1106
1106
  "lValueRequested": false,
1107
1107
  "leftExpression": {
1108
- "id": 50796,
1108
+ "id": 59974,
1109
1109
  "name": "TYPE_BITS",
1110
1110
  "nodeType": "Identifier",
1111
1111
  "overloadedDeclarations": [],
1112
- "referencedDeclaration": 26611,
1113
- "src": "1544:9:125",
1112
+ "referencedDeclaration": 29145,
1113
+ "src": "1544:9:135",
1114
1114
  "typeDescriptions": {
1115
1115
  "typeIdentifier": "t_uint256",
1116
1116
  "typeString": "uint256"
@@ -1119,18 +1119,18 @@
1119
1119
  "nodeType": "BinaryOperation",
1120
1120
  "operator": "+",
1121
1121
  "rightExpression": {
1122
- "id": 50797,
1122
+ "id": 59975,
1123
1123
  "name": "MODULE_NAMESPACE_BITS",
1124
1124
  "nodeType": "Identifier",
1125
1125
  "overloadedDeclarations": [],
1126
- "referencedDeclaration": 50728,
1127
- "src": "1556:21:125",
1126
+ "referencedDeclaration": 59906,
1127
+ "src": "1556:21:135",
1128
1128
  "typeDescriptions": {
1129
1129
  "typeIdentifier": "t_uint256",
1130
1130
  "typeString": "uint256"
1131
1131
  }
1132
1132
  },
1133
- "src": "1544:33:125",
1133
+ "src": "1544:33:135",
1134
1134
  "typeDescriptions": {
1135
1135
  "typeIdentifier": "t_uint256",
1136
1136
  "typeString": "uint256"
@@ -1139,58 +1139,58 @@
1139
1139
  "nodeType": "BinaryOperation",
1140
1140
  "operator": "+",
1141
1141
  "rightExpression": {
1142
- "id": 50799,
1142
+ "id": 59977,
1143
1143
  "name": "TABLE_NAMESPACE_BITS",
1144
1144
  "nodeType": "Identifier",
1145
1145
  "overloadedDeclarations": [],
1146
- "referencedDeclaration": 50733,
1147
- "src": "1580:20:125",
1146
+ "referencedDeclaration": 59911,
1147
+ "src": "1580:20:135",
1148
1148
  "typeDescriptions": {
1149
1149
  "typeIdentifier": "t_uint256",
1150
1150
  "typeString": "uint256"
1151
1151
  }
1152
1152
  },
1153
- "src": "1544:56:125",
1153
+ "src": "1544:56:135",
1154
1154
  "typeDescriptions": {
1155
1155
  "typeIdentifier": "t_uint256",
1156
1156
  "typeString": "uint256"
1157
1157
  }
1158
1158
  }
1159
1159
  ],
1160
- "id": 50801,
1160
+ "id": 59979,
1161
1161
  "isConstant": false,
1162
1162
  "isInlineArray": false,
1163
1163
  "isLValue": false,
1164
1164
  "isPure": true,
1165
1165
  "lValueRequested": false,
1166
1166
  "nodeType": "TupleExpression",
1167
- "src": "1543:58:125",
1167
+ "src": "1543:58:135",
1168
1168
  "typeDescriptions": {
1169
1169
  "typeIdentifier": "t_uint256",
1170
1170
  "typeString": "uint256"
1171
1171
  }
1172
1172
  },
1173
- "src": "1521:80:125",
1173
+ "src": "1521:80:135",
1174
1174
  "typeDescriptions": {
1175
1175
  "typeIdentifier": "t_bytes32",
1176
1176
  "typeString": "bytes32"
1177
1177
  }
1178
1178
  }
1179
1179
  ],
1180
- "id": 50803,
1180
+ "id": 59981,
1181
1181
  "isConstant": false,
1182
1182
  "isInlineArray": false,
1183
1183
  "isLValue": false,
1184
1184
  "isPure": false,
1185
1185
  "lValueRequested": false,
1186
1186
  "nodeType": "TupleExpression",
1187
- "src": "1520:82:125",
1187
+ "src": "1520:82:135",
1188
1188
  "typeDescriptions": {
1189
1189
  "typeIdentifier": "t_bytes32",
1190
1190
  "typeString": "bytes32"
1191
1191
  }
1192
1192
  },
1193
- "src": "1355:247:125",
1193
+ "src": "1355:247:135",
1194
1194
  "typeDescriptions": {
1195
1195
  "typeIdentifier": "t_bytes32",
1196
1196
  "typeString": "bytes32"
@@ -1205,32 +1205,32 @@
1205
1205
  }
1206
1206
  ],
1207
1207
  "expression": {
1208
- "id": 50767,
1208
+ "id": 59945,
1209
1209
  "name": "ResourceId",
1210
1210
  "nodeType": "Identifier",
1211
1211
  "overloadedDeclarations": [],
1212
- "referencedDeclaration": 26605,
1213
- "src": "1332:10:125",
1212
+ "referencedDeclaration": 29139,
1213
+ "src": "1332:10:135",
1214
1214
  "typeDescriptions": {
1215
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26605_$",
1215
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$29139_$",
1216
1216
  "typeString": "type(ResourceId)"
1217
1217
  }
1218
1218
  },
1219
- "id": 50768,
1219
+ "id": 59946,
1220
1220
  "isConstant": false,
1221
1221
  "isLValue": false,
1222
1222
  "isPure": true,
1223
1223
  "lValueRequested": false,
1224
- "memberLocation": "1343:4:125",
1224
+ "memberLocation": "1343:4:135",
1225
1225
  "memberName": "wrap",
1226
1226
  "nodeType": "MemberAccess",
1227
- "src": "1332:15:125",
1227
+ "src": "1332:15:135",
1228
1228
  "typeDescriptions": {
1229
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26605_$",
1229
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$29139_$",
1230
1230
  "typeString": "function (bytes32) pure returns (ResourceId)"
1231
1231
  }
1232
1232
  },
1233
- "id": 50805,
1233
+ "id": 59983,
1234
1234
  "isConstant": false,
1235
1235
  "isLValue": false,
1236
1236
  "isPure": false,
@@ -1239,44 +1239,44 @@
1239
1239
  "nameLocations": [],
1240
1240
  "names": [],
1241
1241
  "nodeType": "FunctionCall",
1242
- "src": "1332:276:125",
1242
+ "src": "1332:276:135",
1243
1243
  "tryCall": false,
1244
1244
  "typeDescriptions": {
1245
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1245
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1246
1246
  "typeString": "ResourceId"
1247
1247
  }
1248
1248
  },
1249
- "functionReturnParameters": 50749,
1250
- "id": 50806,
1249
+ "functionReturnParameters": 59927,
1250
+ "id": 59984,
1251
1251
  "nodeType": "Return",
1252
- "src": "1321:287:125"
1252
+ "src": "1321:287:135"
1253
1253
  }
1254
1254
  ]
1255
1255
  },
1256
1256
  "documentation": {
1257
- "id": 50739,
1257
+ "id": 59917,
1258
1258
  "nodeType": "StructuredDocumentation",
1259
- "src": "452:599:125",
1259
+ "src": "452:599:135",
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"
1261
1261
  },
1262
1262
  "implemented": true,
1263
1263
  "kind": "freeFunction",
1264
1264
  "modifiers": [],
1265
1265
  "name": "getTargetTableId",
1266
- "nameLocation": "1061:16:125",
1266
+ "nameLocation": "1061:16:135",
1267
1267
  "parameters": {
1268
- "id": 50745,
1268
+ "id": 59923,
1269
1269
  "nodeType": "ParameterList",
1270
1270
  "parameters": [
1271
1271
  {
1272
1272
  "constant": false,
1273
- "id": 50741,
1273
+ "id": 59919,
1274
1274
  "mutability": "mutable",
1275
1275
  "name": "moduleNamespace",
1276
- "nameLocation": "1085:15:125",
1276
+ "nameLocation": "1085:15:135",
1277
1277
  "nodeType": "VariableDeclaration",
1278
- "scope": 50808,
1279
- "src": "1078:22:125",
1278
+ "scope": 59986,
1279
+ "src": "1078:22:135",
1280
1280
  "stateVariable": false,
1281
1281
  "storageLocation": "default",
1282
1282
  "typeDescriptions": {
@@ -1284,10 +1284,10 @@
1284
1284
  "typeString": "bytes7"
1285
1285
  },
1286
1286
  "typeName": {
1287
- "id": 50740,
1287
+ "id": 59918,
1288
1288
  "name": "bytes7",
1289
1289
  "nodeType": "ElementaryTypeName",
1290
- "src": "1078:6:125",
1290
+ "src": "1078:6:135",
1291
1291
  "typeDescriptions": {
1292
1292
  "typeIdentifier": "t_bytes7",
1293
1293
  "typeString": "bytes7"
@@ -1297,89 +1297,89 @@
1297
1297
  },
1298
1298
  {
1299
1299
  "constant": false,
1300
- "id": 50744,
1300
+ "id": 59922,
1301
1301
  "mutability": "mutable",
1302
1302
  "name": "sourceTableId",
1303
- "nameLocation": "1113:13:125",
1303
+ "nameLocation": "1113:13:135",
1304
1304
  "nodeType": "VariableDeclaration",
1305
- "scope": 50808,
1306
- "src": "1102:24:125",
1305
+ "scope": 59986,
1306
+ "src": "1102:24:135",
1307
1307
  "stateVariable": false,
1308
1308
  "storageLocation": "default",
1309
1309
  "typeDescriptions": {
1310
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1310
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1311
1311
  "typeString": "ResourceId"
1312
1312
  },
1313
1313
  "typeName": {
1314
- "id": 50743,
1314
+ "id": 59921,
1315
1315
  "nodeType": "UserDefinedTypeName",
1316
1316
  "pathNode": {
1317
- "id": 50742,
1317
+ "id": 59920,
1318
1318
  "name": "ResourceId",
1319
1319
  "nameLocations": [
1320
- "1102:10:125"
1320
+ "1102:10:135"
1321
1321
  ],
1322
1322
  "nodeType": "IdentifierPath",
1323
- "referencedDeclaration": 26605,
1324
- "src": "1102:10:125"
1323
+ "referencedDeclaration": 29139,
1324
+ "src": "1102:10:135"
1325
1325
  },
1326
- "referencedDeclaration": 26605,
1327
- "src": "1102:10:125",
1326
+ "referencedDeclaration": 29139,
1327
+ "src": "1102:10:135",
1328
1328
  "typeDescriptions": {
1329
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1329
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1330
1330
  "typeString": "ResourceId"
1331
1331
  }
1332
1332
  },
1333
1333
  "visibility": "internal"
1334
1334
  }
1335
1335
  ],
1336
- "src": "1077:50:125"
1336
+ "src": "1077:50:135"
1337
1337
  },
1338
1338
  "returnParameters": {
1339
- "id": 50749,
1339
+ "id": 59927,
1340
1340
  "nodeType": "ParameterList",
1341
1341
  "parameters": [
1342
1342
  {
1343
1343
  "constant": false,
1344
- "id": 50748,
1344
+ "id": 59926,
1345
1345
  "mutability": "mutable",
1346
1346
  "name": "",
1347
1347
  "nameLocation": "-1:-1:-1",
1348
1348
  "nodeType": "VariableDeclaration",
1349
- "scope": 50808,
1350
- "src": "1142:10:125",
1349
+ "scope": 59986,
1350
+ "src": "1142:10:135",
1351
1351
  "stateVariable": false,
1352
1352
  "storageLocation": "default",
1353
1353
  "typeDescriptions": {
1354
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1354
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1355
1355
  "typeString": "ResourceId"
1356
1356
  },
1357
1357
  "typeName": {
1358
- "id": 50747,
1358
+ "id": 59925,
1359
1359
  "nodeType": "UserDefinedTypeName",
1360
1360
  "pathNode": {
1361
- "id": 50746,
1361
+ "id": 59924,
1362
1362
  "name": "ResourceId",
1363
1363
  "nameLocations": [
1364
- "1142:10:125"
1364
+ "1142:10:135"
1365
1365
  ],
1366
1366
  "nodeType": "IdentifierPath",
1367
- "referencedDeclaration": 26605,
1368
- "src": "1142:10:125"
1367
+ "referencedDeclaration": 29139,
1368
+ "src": "1142:10:135"
1369
1369
  },
1370
- "referencedDeclaration": 26605,
1371
- "src": "1142:10:125",
1370
+ "referencedDeclaration": 29139,
1371
+ "src": "1142:10:135",
1372
1372
  "typeDescriptions": {
1373
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
1373
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$29139",
1374
1374
  "typeString": "ResourceId"
1375
1375
  }
1376
1376
  },
1377
1377
  "visibility": "internal"
1378
1378
  }
1379
1379
  ],
1380
- "src": "1141:12:125"
1380
+ "src": "1141:12:135"
1381
1381
  },
1382
- "scope": 50809,
1382
+ "scope": 59987,
1383
1383
  "stateMutability": "pure",
1384
1384
  "virtual": false,
1385
1385
  "visibility": "internal"
@@ -1387,5 +1387,5 @@
1387
1387
  ],
1388
1388
  "license": "MIT"
1389
1389
  },
1390
- "id": 125
1390
+ "id": 135
1391
1391
  }