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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/abi/AccessControl.sol/AccessControl.json +241 -241
  2. package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
  3. package/abi/AddressArray.sol/AddressArray.json +1124 -1124
  4. package/abi/ArrayLib.sol/ArrayLib.json +139 -139
  5. package/abi/Bool.sol/Bool.json +704 -704
  6. package/abi/Bytes.sol/Bytes.json +6 -6
  7. package/abi/Call.sol/Call.json +112 -112
  8. package/abi/Callbacks.sol/Callbacks.json +1100 -1100
  9. package/abi/CoreModule.sol/CoreModule.json +542 -542
  10. package/abi/CoreSystem.sol/CoreSystem.json +92 -92
  11. package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
  12. package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
  13. package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
  14. package/abi/Hooks.sol/Hooks.json +1100 -1100
  15. package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
  16. package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
  17. package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
  18. package/abi/IModule.sol/IModule.json +28 -28
  19. package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
  20. package/abi/IStore.sol/IStore.json +551 -349
  21. package/abi/IStore.sol/IStoreData.json +551 -349
  22. package/abi/IStore.sol/IStoreHook.json +495 -349
  23. package/abi/IStore.sol/IStoreRead.json +495 -349
  24. package/abi/IStore.sol/IStoreRegistration.json +495 -349
  25. package/abi/IStore.sol/IStoreWrite.json +551 -349
  26. package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
  27. package/abi/ISystemHook.sol/ISystemHook.json +19 -19
  28. package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  29. package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
  30. package/abi/IWorldKernel.sol/IWorldData.json +524 -276
  31. package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
  32. package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
  33. package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  34. package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
  35. package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
  36. package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
  37. package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
  38. package/abi/Memory.sol/Memory.json +131 -131
  39. package/abi/Mixed.sol/Mixed.json +2781 -2781
  40. package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
  41. package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
  42. package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
  43. package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
  44. package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
  45. package/abi/ResourceType.sol/ResourceType.json +831 -831
  46. package/abi/Schema.sol/SchemaLib.json +1469 -1469
  47. package/abi/SchemaType.sol/SchemaType.json +315 -315
  48. package/abi/Slice.sol/SliceInstance.json +429 -429
  49. package/abi/Slice.sol/SliceLib.json +429 -429
  50. package/abi/Storage.sol/Storage.json +1024 -1061
  51. package/abi/StoreCore.sol/StoreCore.json +10434 -7652
  52. package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
  53. package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
  54. package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
  55. package/abi/StoreRead.sol/StoreRead.json +247 -247
  56. package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
  57. package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
  58. package/abi/System.sol/System.json +31 -31
  59. package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
  60. package/abi/Systems.sol/Systems.json +1412 -1412
  61. package/abi/TableId.sol/TableId.json +27 -27
  62. package/abi/Tables.sol/Tables.json +92 -92
  63. package/abi/TightCoder.sol/TightCoder.json +275 -275
  64. package/abi/Types.sol/Types.json +8 -8
  65. package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
  66. package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
  67. package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  68. package/abi/Utils.sol/Utils.json +67 -67
  69. package/abi/Vector2.sol/Vector2.json +1473 -1473
  70. package/abi/World.sol/World.json +2426 -1491
  71. package/abi/WorldContext.sol/WorldContext.json +65 -65
  72. package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
  73. package/abi/console.sol/console.json +11417 -11417
  74. package/abi/constants.sol/constants.json +34 -34
  75. package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
  76. package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
  77. package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  78. package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
  79. package/abi/src/Bytes.sol/Bytes.json +1225 -1225
  80. package/abi/src/IStore.sol/IStore.json +727 -525
  81. package/abi/src/IStore.sol/IStoreData.json +727 -525
  82. package/abi/src/IStore.sol/IStoreHook.json +671 -525
  83. package/abi/src/IStore.sol/IStoreRead.json +671 -525
  84. package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
  85. package/abi/src/IStore.sol/IStoreWrite.json +727 -525
  86. package/abi/src/Memory.sol/Memory.json +131 -131
  87. package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
  88. package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
  89. package/abi/src/Slice.sol/SliceInstance.json +429 -429
  90. package/abi/src/Slice.sol/SliceLib.json +429 -429
  91. package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
  92. package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
  93. package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
  94. package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
  95. package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
  96. package/package.json +6 -6
  97. package/src/World.sol +32 -0
  98. package/src/interfaces/IWorldKernel.sol +12 -0
  99. package/types/ethers-contracts/IBaseWorld.ts +116 -0
  100. package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
  101. package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
  102. package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
  103. package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
  104. package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
  105. package/types/ethers-contracts/World.ts +116 -0
  106. package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
  107. package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
  108. package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
  109. package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
  110. package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
  111. package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
  112. package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
  113. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
  114. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
  115. package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
  116. package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
  117. package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
  118. package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
  119. package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
  120. package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
  121. package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
  122. package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
  123. package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
  124. package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
  125. package/types/ethers-contracts/factories/World__factory.ts +62 -1
  126. package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
  127. package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
  128. package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
  129. package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
  130. package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
  131. package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
  132. package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
  133. package/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +55 -0
@@ -135,32 +135,32 @@
135
135
  },
136
136
  "ast": {
137
137
  "absolutePath": "src/ResourceSelector.sol",
138
- "id": 32526,
138
+ "id": 33050,
139
139
  "exportedSymbols": {
140
140
  "Bytes": [
141
- 17181
141
+ 17442
142
142
  ],
143
143
  "ROOT_NAME": [
144
- 33169
144
+ 33755
145
145
  ],
146
146
  "ROOT_NAMESPACE": [
147
- 33166
147
+ 33752
148
148
  ],
149
149
  "ROOT_NAMESPACE_STRING": [
150
- 32365
150
+ 32889
151
151
  ],
152
152
  "ROOT_NAME_STRING": [
153
- 32371
153
+ 32895
154
154
  ],
155
155
  "ResourceSelector": [
156
- 32525
156
+ 33049
157
157
  ]
158
158
  },
159
159
  "nodeType": "SourceUnit",
160
160
  "src": "32:2174:47",
161
161
  "nodes": [
162
162
  {
163
- "id": 32354,
163
+ "id": 32878,
164
164
  "nodeType": "PragmaDirective",
165
165
  "src": "32:24:47",
166
166
  "nodes": [],
@@ -172,23 +172,23 @@
172
172
  ]
173
173
  },
174
174
  {
175
- "id": 32357,
175
+ "id": 32881,
176
176
  "nodeType": "ImportDirective",
177
177
  "src": "57:60:47",
178
178
  "nodes": [],
179
179
  "absolutePath": "src/constants.sol",
180
180
  "file": "./constants.sol",
181
181
  "nameLocation": "-1:-1:-1",
182
- "scope": 32526,
183
- "sourceUnit": 33170,
182
+ "scope": 33050,
183
+ "sourceUnit": 33756,
184
184
  "symbolAliases": [
185
185
  {
186
186
  "foreign": {
187
- "id": 32355,
187
+ "id": 32879,
188
188
  "name": "ROOT_NAMESPACE",
189
189
  "nodeType": "Identifier",
190
190
  "overloadedDeclarations": [],
191
- "referencedDeclaration": 33166,
191
+ "referencedDeclaration": 33752,
192
192
  "src": "66:14:47",
193
193
  "typeDescriptions": {}
194
194
  },
@@ -196,11 +196,11 @@
196
196
  },
197
197
  {
198
198
  "foreign": {
199
- "id": 32356,
199
+ "id": 32880,
200
200
  "name": "ROOT_NAME",
201
201
  "nodeType": "Identifier",
202
202
  "overloadedDeclarations": [],
203
- "referencedDeclaration": 33169,
203
+ "referencedDeclaration": 33755,
204
204
  "src": "82:9:47",
205
205
  "typeDescriptions": {}
206
206
  },
@@ -210,23 +210,23 @@
210
210
  "unitAlias": ""
211
211
  },
212
212
  {
213
- "id": 32359,
213
+ "id": 32883,
214
214
  "nodeType": "ImportDirective",
215
215
  "src": "118:56:47",
216
216
  "nodes": [],
217
217
  "absolutePath": "node_modules/@latticexyz/store/src/Bytes.sol",
218
218
  "file": "@latticexyz/store/src/Bytes.sol",
219
219
  "nameLocation": "-1:-1:-1",
220
- "scope": 32526,
221
- "sourceUnit": 17182,
220
+ "scope": 33050,
221
+ "sourceUnit": 17443,
222
222
  "symbolAliases": [
223
223
  {
224
224
  "foreign": {
225
- "id": 32358,
225
+ "id": 32882,
226
226
  "name": "Bytes",
227
227
  "nodeType": "Identifier",
228
228
  "overloadedDeclarations": [],
229
- "referencedDeclaration": 17181,
229
+ "referencedDeclaration": 17442,
230
230
  "src": "127:5:47",
231
231
  "typeDescriptions": {}
232
232
  },
@@ -236,7 +236,7 @@
236
236
  "unitAlias": ""
237
237
  },
238
238
  {
239
- "id": 32365,
239
+ "id": 32889,
240
240
  "nodeType": "VariableDeclaration",
241
241
  "src": "176:66:47",
242
242
  "nodes": [],
@@ -244,7 +244,7 @@
244
244
  "mutability": "constant",
245
245
  "name": "ROOT_NAMESPACE_STRING",
246
246
  "nameLocation": "193:21:47",
247
- "scope": 32526,
247
+ "scope": 33050,
248
248
  "stateVariable": false,
249
249
  "storageLocation": "default",
250
250
  "typeDescriptions": {
@@ -252,7 +252,7 @@
252
252
  "typeString": "bytes16"
253
253
  },
254
254
  "typeName": {
255
- "id": 32360,
255
+ "id": 32884,
256
256
  "name": "bytes16",
257
257
  "nodeType": "ElementaryTypeName",
258
258
  "src": "176:7:47",
@@ -265,7 +265,7 @@
265
265
  "arguments": [
266
266
  {
267
267
  "hexValue": "524f4f545f4e414d455350414345",
268
- "id": 32363,
268
+ "id": 32887,
269
269
  "isConstant": false,
270
270
  "isLValue": false,
271
271
  "isPure": true,
@@ -287,7 +287,7 @@
287
287
  "typeString": "literal_string \"ROOT_NAMESPACE\""
288
288
  }
289
289
  ],
290
- "id": 32362,
290
+ "id": 32886,
291
291
  "isConstant": false,
292
292
  "isLValue": false,
293
293
  "isPure": true,
@@ -299,14 +299,14 @@
299
299
  "typeString": "type(bytes16)"
300
300
  },
301
301
  "typeName": {
302
- "id": 32361,
302
+ "id": 32885,
303
303
  "name": "bytes16",
304
304
  "nodeType": "ElementaryTypeName",
305
305
  "src": "217:7:47",
306
306
  "typeDescriptions": {}
307
307
  }
308
308
  },
309
- "id": 32364,
309
+ "id": 32888,
310
310
  "isConstant": false,
311
311
  "isLValue": false,
312
312
  "isPure": true,
@@ -324,7 +324,7 @@
324
324
  "visibility": "internal"
325
325
  },
326
326
  {
327
- "id": 32371,
327
+ "id": 32895,
328
328
  "nodeType": "VariableDeclaration",
329
329
  "src": "244:56:47",
330
330
  "nodes": [],
@@ -332,7 +332,7 @@
332
332
  "mutability": "constant",
333
333
  "name": "ROOT_NAME_STRING",
334
334
  "nameLocation": "261:16:47",
335
- "scope": 32526,
335
+ "scope": 33050,
336
336
  "stateVariable": false,
337
337
  "storageLocation": "default",
338
338
  "typeDescriptions": {
@@ -340,7 +340,7 @@
340
340
  "typeString": "bytes16"
341
341
  },
342
342
  "typeName": {
343
- "id": 32366,
343
+ "id": 32890,
344
344
  "name": "bytes16",
345
345
  "nodeType": "ElementaryTypeName",
346
346
  "src": "244:7:47",
@@ -353,7 +353,7 @@
353
353
  "arguments": [
354
354
  {
355
355
  "hexValue": "524f4f545f4e414d45",
356
- "id": 32369,
356
+ "id": 32893,
357
357
  "isConstant": false,
358
358
  "isLValue": false,
359
359
  "isPure": true,
@@ -375,7 +375,7 @@
375
375
  "typeString": "literal_string \"ROOT_NAME\""
376
376
  }
377
377
  ],
378
- "id": 32368,
378
+ "id": 32892,
379
379
  "isConstant": false,
380
380
  "isLValue": false,
381
381
  "isPure": true,
@@ -387,14 +387,14 @@
387
387
  "typeString": "type(bytes16)"
388
388
  },
389
389
  "typeName": {
390
- "id": 32367,
390
+ "id": 32891,
391
391
  "name": "bytes16",
392
392
  "nodeType": "ElementaryTypeName",
393
393
  "src": "280:7:47",
394
394
  "typeDescriptions": {}
395
395
  }
396
396
  },
397
- "id": 32370,
397
+ "id": 32894,
398
398
  "isConstant": false,
399
399
  "isLValue": false,
400
400
  "isPure": true,
@@ -412,17 +412,17 @@
412
412
  "visibility": "internal"
413
413
  },
414
414
  {
415
- "id": 32525,
415
+ "id": 33049,
416
416
  "nodeType": "ContractDefinition",
417
417
  "src": "303:1902:47",
418
418
  "nodes": [
419
419
  {
420
- "id": 32395,
420
+ "id": 32919,
421
421
  "nodeType": "FunctionDefinition",
422
422
  "src": "585:140:47",
423
423
  "nodes": [],
424
424
  "body": {
425
- "id": 32394,
425
+ "id": 32918,
426
426
  "nodeType": "Block",
427
427
  "src": "664:61:47",
428
428
  "nodes": [],
@@ -433,7 +433,7 @@
433
433
  "typeIdentifier": "t_bytes32",
434
434
  "typeString": "bytes32"
435
435
  },
436
- "id": 32392,
436
+ "id": 32916,
437
437
  "isConstant": false,
438
438
  "isLValue": false,
439
439
  "isPure": false,
@@ -441,11 +441,11 @@
441
441
  "leftExpression": {
442
442
  "arguments": [
443
443
  {
444
- "id": 32383,
444
+ "id": 32907,
445
445
  "name": "namespace",
446
446
  "nodeType": "Identifier",
447
447
  "overloadedDeclarations": [],
448
- "referencedDeclaration": 32374,
448
+ "referencedDeclaration": 32898,
449
449
  "src": "685:9:47",
450
450
  "typeDescriptions": {
451
451
  "typeIdentifier": "t_bytes16",
@@ -460,7 +460,7 @@
460
460
  "typeString": "bytes16"
461
461
  }
462
462
  ],
463
- "id": 32382,
463
+ "id": 32906,
464
464
  "isConstant": false,
465
465
  "isLValue": false,
466
466
  "isPure": true,
@@ -472,14 +472,14 @@
472
472
  "typeString": "type(bytes32)"
473
473
  },
474
474
  "typeName": {
475
- "id": 32381,
475
+ "id": 32905,
476
476
  "name": "bytes32",
477
477
  "nodeType": "ElementaryTypeName",
478
478
  "src": "677:7:47",
479
479
  "typeDescriptions": {}
480
480
  }
481
481
  },
482
- "id": 32384,
482
+ "id": 32908,
483
483
  "isConstant": false,
484
484
  "isLValue": false,
485
485
  "isPure": false,
@@ -503,7 +503,7 @@
503
503
  "typeIdentifier": "t_bytes32",
504
504
  "typeString": "bytes32"
505
505
  },
506
- "id": 32390,
506
+ "id": 32914,
507
507
  "isConstant": false,
508
508
  "isLValue": false,
509
509
  "isPure": false,
@@ -511,11 +511,11 @@
511
511
  "leftExpression": {
512
512
  "arguments": [
513
513
  {
514
- "id": 32387,
514
+ "id": 32911,
515
515
  "name": "name",
516
516
  "nodeType": "Identifier",
517
517
  "overloadedDeclarations": [],
518
- "referencedDeclaration": 32376,
518
+ "referencedDeclaration": 32900,
519
519
  "src": "707:4:47",
520
520
  "typeDescriptions": {
521
521
  "typeIdentifier": "t_bytes16",
@@ -530,7 +530,7 @@
530
530
  "typeString": "bytes16"
531
531
  }
532
532
  ],
533
- "id": 32386,
533
+ "id": 32910,
534
534
  "isConstant": false,
535
535
  "isLValue": false,
536
536
  "isPure": true,
@@ -542,14 +542,14 @@
542
542
  "typeString": "type(bytes32)"
543
543
  },
544
544
  "typeName": {
545
- "id": 32385,
545
+ "id": 32909,
546
546
  "name": "bytes32",
547
547
  "nodeType": "ElementaryTypeName",
548
548
  "src": "699:7:47",
549
549
  "typeDescriptions": {}
550
550
  }
551
551
  },
552
- "id": 32388,
552
+ "id": 32912,
553
553
  "isConstant": false,
554
554
  "isLValue": false,
555
555
  "isPure": false,
@@ -568,7 +568,7 @@
568
568
  "operator": ">>",
569
569
  "rightExpression": {
570
570
  "hexValue": "313238",
571
- "id": 32389,
571
+ "id": 32913,
572
572
  "isConstant": false,
573
573
  "isLValue": false,
574
574
  "isPure": true,
@@ -589,7 +589,7 @@
589
589
  }
590
590
  }
591
591
  ],
592
- "id": 32391,
592
+ "id": 32915,
593
593
  "isConstant": false,
594
594
  "isInlineArray": false,
595
595
  "isLValue": false,
@@ -608,15 +608,15 @@
608
608
  "typeString": "bytes32"
609
609
  }
610
610
  },
611
- "functionReturnParameters": 32380,
612
- "id": 32393,
611
+ "functionReturnParameters": 32904,
612
+ "id": 32917,
613
613
  "nodeType": "Return",
614
614
  "src": "670:50:47"
615
615
  }
616
616
  ]
617
617
  },
618
618
  "documentation": {
619
- "id": 32372,
619
+ "id": 32896,
620
620
  "nodeType": "StructuredDocumentation",
621
621
  "src": "332:250:47",
622
622
  "text": " Create a 32-byte resource selector from a namespace and a name.\n A ResourceSelector is a 32-byte value that uniquely identifies a resource.\n The first 16 bytes represent the namespace, the last 16 bytes represent the name."
@@ -627,17 +627,17 @@
627
627
  "name": "from",
628
628
  "nameLocation": "594:4:47",
629
629
  "parameters": {
630
- "id": 32377,
630
+ "id": 32901,
631
631
  "nodeType": "ParameterList",
632
632
  "parameters": [
633
633
  {
634
634
  "constant": false,
635
- "id": 32374,
635
+ "id": 32898,
636
636
  "mutability": "mutable",
637
637
  "name": "namespace",
638
638
  "nameLocation": "607:9:47",
639
639
  "nodeType": "VariableDeclaration",
640
- "scope": 32395,
640
+ "scope": 32919,
641
641
  "src": "599:17:47",
642
642
  "stateVariable": false,
643
643
  "storageLocation": "default",
@@ -646,7 +646,7 @@
646
646
  "typeString": "bytes16"
647
647
  },
648
648
  "typeName": {
649
- "id": 32373,
649
+ "id": 32897,
650
650
  "name": "bytes16",
651
651
  "nodeType": "ElementaryTypeName",
652
652
  "src": "599:7:47",
@@ -659,12 +659,12 @@
659
659
  },
660
660
  {
661
661
  "constant": false,
662
- "id": 32376,
662
+ "id": 32900,
663
663
  "mutability": "mutable",
664
664
  "name": "name",
665
665
  "nameLocation": "626:4:47",
666
666
  "nodeType": "VariableDeclaration",
667
- "scope": 32395,
667
+ "scope": 32919,
668
668
  "src": "618:12:47",
669
669
  "stateVariable": false,
670
670
  "storageLocation": "default",
@@ -673,7 +673,7 @@
673
673
  "typeString": "bytes16"
674
674
  },
675
675
  "typeName": {
676
- "id": 32375,
676
+ "id": 32899,
677
677
  "name": "bytes16",
678
678
  "nodeType": "ElementaryTypeName",
679
679
  "src": "618:7:47",
@@ -688,17 +688,17 @@
688
688
  "src": "598:33:47"
689
689
  },
690
690
  "returnParameters": {
691
- "id": 32380,
691
+ "id": 32904,
692
692
  "nodeType": "ParameterList",
693
693
  "parameters": [
694
694
  {
695
695
  "constant": false,
696
- "id": 32379,
696
+ "id": 32903,
697
697
  "mutability": "mutable",
698
698
  "name": "",
699
699
  "nameLocation": "-1:-1:-1",
700
700
  "nodeType": "VariableDeclaration",
701
- "scope": 32395,
701
+ "scope": 32919,
702
702
  "src": "655:7:47",
703
703
  "stateVariable": false,
704
704
  "storageLocation": "default",
@@ -707,7 +707,7 @@
707
707
  "typeString": "bytes32"
708
708
  },
709
709
  "typeName": {
710
- "id": 32378,
710
+ "id": 32902,
711
711
  "name": "bytes32",
712
712
  "nodeType": "ElementaryTypeName",
713
713
  "src": "655:7:47",
@@ -721,18 +721,18 @@
721
721
  ],
722
722
  "src": "654:9:47"
723
723
  },
724
- "scope": 32525,
724
+ "scope": 33049,
725
725
  "stateMutability": "pure",
726
726
  "virtual": false,
727
727
  "visibility": "internal"
728
728
  },
729
729
  {
730
- "id": 32409,
730
+ "id": 32933,
731
731
  "nodeType": "FunctionDefinition",
732
732
  "src": "849:101:47",
733
733
  "nodes": [],
734
734
  "body": {
735
- "id": 32408,
735
+ "id": 32932,
736
736
  "nodeType": "Block",
737
737
  "src": "914:36:47",
738
738
  "nodes": [],
@@ -741,11 +741,11 @@
741
741
  "expression": {
742
742
  "arguments": [
743
743
  {
744
- "id": 32405,
744
+ "id": 32929,
745
745
  "name": "namespace",
746
746
  "nodeType": "Identifier",
747
747
  "overloadedDeclarations": [],
748
- "referencedDeclaration": 32398,
748
+ "referencedDeclaration": 32922,
749
749
  "src": "935:9:47",
750
750
  "typeDescriptions": {
751
751
  "typeIdentifier": "t_bytes16",
@@ -760,7 +760,7 @@
760
760
  "typeString": "bytes16"
761
761
  }
762
762
  ],
763
- "id": 32404,
763
+ "id": 32928,
764
764
  "isConstant": false,
765
765
  "isLValue": false,
766
766
  "isPure": true,
@@ -772,14 +772,14 @@
772
772
  "typeString": "type(bytes32)"
773
773
  },
774
774
  "typeName": {
775
- "id": 32403,
775
+ "id": 32927,
776
776
  "name": "bytes32",
777
777
  "nodeType": "ElementaryTypeName",
778
778
  "src": "927:7:47",
779
779
  "typeDescriptions": {}
780
780
  }
781
781
  },
782
- "id": 32406,
782
+ "id": 32930,
783
783
  "isConstant": false,
784
784
  "isLValue": false,
785
785
  "isPure": false,
@@ -794,15 +794,15 @@
794
794
  "typeString": "bytes32"
795
795
  }
796
796
  },
797
- "functionReturnParameters": 32402,
798
- "id": 32407,
797
+ "functionReturnParameters": 32926,
798
+ "id": 32931,
799
799
  "nodeType": "Return",
800
800
  "src": "920:25:47"
801
801
  }
802
802
  ]
803
803
  },
804
804
  "documentation": {
805
- "id": 32396,
805
+ "id": 32920,
806
806
  "nodeType": "StructuredDocumentation",
807
807
  "src": "729:117:47",
808
808
  "text": " Create a 32-byte resource selector from a namespace. The selector points to the namespace's root name."
@@ -813,17 +813,17 @@
813
813
  "name": "from",
814
814
  "nameLocation": "858:4:47",
815
815
  "parameters": {
816
- "id": 32399,
816
+ "id": 32923,
817
817
  "nodeType": "ParameterList",
818
818
  "parameters": [
819
819
  {
820
820
  "constant": false,
821
- "id": 32398,
821
+ "id": 32922,
822
822
  "mutability": "mutable",
823
823
  "name": "namespace",
824
824
  "nameLocation": "871:9:47",
825
825
  "nodeType": "VariableDeclaration",
826
- "scope": 32409,
826
+ "scope": 32933,
827
827
  "src": "863:17:47",
828
828
  "stateVariable": false,
829
829
  "storageLocation": "default",
@@ -832,7 +832,7 @@
832
832
  "typeString": "bytes16"
833
833
  },
834
834
  "typeName": {
835
- "id": 32397,
835
+ "id": 32921,
836
836
  "name": "bytes16",
837
837
  "nodeType": "ElementaryTypeName",
838
838
  "src": "863:7:47",
@@ -847,17 +847,17 @@
847
847
  "src": "862:19:47"
848
848
  },
849
849
  "returnParameters": {
850
- "id": 32402,
850
+ "id": 32926,
851
851
  "nodeType": "ParameterList",
852
852
  "parameters": [
853
853
  {
854
854
  "constant": false,
855
- "id": 32401,
855
+ "id": 32925,
856
856
  "mutability": "mutable",
857
857
  "name": "",
858
858
  "nameLocation": "-1:-1:-1",
859
859
  "nodeType": "VariableDeclaration",
860
- "scope": 32409,
860
+ "scope": 32933,
861
861
  "src": "905:7:47",
862
862
  "stateVariable": false,
863
863
  "storageLocation": "default",
@@ -866,7 +866,7 @@
866
866
  "typeString": "bytes32"
867
867
  },
868
868
  "typeName": {
869
- "id": 32400,
869
+ "id": 32924,
870
870
  "name": "bytes32",
871
871
  "nodeType": "ElementaryTypeName",
872
872
  "src": "905:7:47",
@@ -880,18 +880,18 @@
880
880
  ],
881
881
  "src": "904:9:47"
882
882
  },
883
- "scope": 32525,
883
+ "scope": 33049,
884
884
  "stateMutability": "pure",
885
885
  "virtual": false,
886
886
  "visibility": "internal"
887
887
  },
888
888
  {
889
- "id": 32423,
889
+ "id": 32947,
890
890
  "nodeType": "FunctionDefinition",
891
891
  "src": "1012:123:47",
892
892
  "nodes": [],
893
893
  "body": {
894
- "id": 32422,
894
+ "id": 32946,
895
895
  "nodeType": "Block",
896
896
  "src": "1092:43:47",
897
897
  "nodes": [],
@@ -900,11 +900,11 @@
900
900
  "expression": {
901
901
  "arguments": [
902
902
  {
903
- "id": 32419,
903
+ "id": 32943,
904
904
  "name": "resourceSelector",
905
905
  "nodeType": "Identifier",
906
906
  "overloadedDeclarations": [],
907
- "referencedDeclaration": 32412,
907
+ "referencedDeclaration": 32936,
908
908
  "src": "1113:16:47",
909
909
  "typeDescriptions": {
910
910
  "typeIdentifier": "t_bytes32",
@@ -919,7 +919,7 @@
919
919
  "typeString": "bytes32"
920
920
  }
921
921
  ],
922
- "id": 32418,
922
+ "id": 32942,
923
923
  "isConstant": false,
924
924
  "isLValue": false,
925
925
  "isPure": true,
@@ -931,14 +931,14 @@
931
931
  "typeString": "type(bytes16)"
932
932
  },
933
933
  "typeName": {
934
- "id": 32417,
934
+ "id": 32941,
935
935
  "name": "bytes16",
936
936
  "nodeType": "ElementaryTypeName",
937
937
  "src": "1105:7:47",
938
938
  "typeDescriptions": {}
939
939
  }
940
940
  },
941
- "id": 32420,
941
+ "id": 32944,
942
942
  "isConstant": false,
943
943
  "isLValue": false,
944
944
  "isPure": false,
@@ -953,15 +953,15 @@
953
953
  "typeString": "bytes16"
954
954
  }
955
955
  },
956
- "functionReturnParameters": 32416,
957
- "id": 32421,
956
+ "functionReturnParameters": 32940,
957
+ "id": 32945,
958
958
  "nodeType": "Return",
959
959
  "src": "1098:32:47"
960
960
  }
961
961
  ]
962
962
  },
963
963
  "documentation": {
964
- "id": 32410,
964
+ "id": 32934,
965
965
  "nodeType": "StructuredDocumentation",
966
966
  "src": "954:55:47",
967
967
  "text": " Get the namespace of a ResourceSelector."
@@ -972,17 +972,17 @@
972
972
  "name": "getNamespace",
973
973
  "nameLocation": "1021:12:47",
974
974
  "parameters": {
975
- "id": 32413,
975
+ "id": 32937,
976
976
  "nodeType": "ParameterList",
977
977
  "parameters": [
978
978
  {
979
979
  "constant": false,
980
- "id": 32412,
980
+ "id": 32936,
981
981
  "mutability": "mutable",
982
982
  "name": "resourceSelector",
983
983
  "nameLocation": "1042:16:47",
984
984
  "nodeType": "VariableDeclaration",
985
- "scope": 32423,
985
+ "scope": 32947,
986
986
  "src": "1034:24:47",
987
987
  "stateVariable": false,
988
988
  "storageLocation": "default",
@@ -991,7 +991,7 @@
991
991
  "typeString": "bytes32"
992
992
  },
993
993
  "typeName": {
994
- "id": 32411,
994
+ "id": 32935,
995
995
  "name": "bytes32",
996
996
  "nodeType": "ElementaryTypeName",
997
997
  "src": "1034:7:47",
@@ -1006,17 +1006,17 @@
1006
1006
  "src": "1033:26:47"
1007
1007
  },
1008
1008
  "returnParameters": {
1009
- "id": 32416,
1009
+ "id": 32940,
1010
1010
  "nodeType": "ParameterList",
1011
1011
  "parameters": [
1012
1012
  {
1013
1013
  "constant": false,
1014
- "id": 32415,
1014
+ "id": 32939,
1015
1015
  "mutability": "mutable",
1016
1016
  "name": "",
1017
1017
  "nameLocation": "-1:-1:-1",
1018
1018
  "nodeType": "VariableDeclaration",
1019
- "scope": 32423,
1019
+ "scope": 32947,
1020
1020
  "src": "1083:7:47",
1021
1021
  "stateVariable": false,
1022
1022
  "storageLocation": "default",
@@ -1025,7 +1025,7 @@
1025
1025
  "typeString": "bytes16"
1026
1026
  },
1027
1027
  "typeName": {
1028
- "id": 32414,
1028
+ "id": 32938,
1029
1029
  "name": "bytes16",
1030
1030
  "nodeType": "ElementaryTypeName",
1031
1031
  "src": "1083:7:47",
@@ -1039,18 +1039,18 @@
1039
1039
  ],
1040
1040
  "src": "1082:9:47"
1041
1041
  },
1042
- "scope": 32525,
1042
+ "scope": 33049,
1043
1043
  "stateMutability": "pure",
1044
1044
  "virtual": false,
1045
1045
  "visibility": "internal"
1046
1046
  },
1047
1047
  {
1048
- "id": 32439,
1048
+ "id": 32963,
1049
1049
  "nodeType": "FunctionDefinition",
1050
1050
  "src": "1192:125:47",
1051
1051
  "nodes": [],
1052
1052
  "body": {
1053
- "id": 32438,
1053
+ "id": 32962,
1054
1054
  "nodeType": "Block",
1055
1055
  "src": "1267:50:47",
1056
1056
  "nodes": [],
@@ -1063,17 +1063,17 @@
1063
1063
  "typeIdentifier": "t_bytes32",
1064
1064
  "typeString": "bytes32"
1065
1065
  },
1066
- "id": 32435,
1066
+ "id": 32959,
1067
1067
  "isConstant": false,
1068
1068
  "isLValue": false,
1069
1069
  "isPure": false,
1070
1070
  "lValueRequested": false,
1071
1071
  "leftExpression": {
1072
- "id": 32433,
1072
+ "id": 32957,
1073
1073
  "name": "resourceSelector",
1074
1074
  "nodeType": "Identifier",
1075
1075
  "overloadedDeclarations": [],
1076
- "referencedDeclaration": 32426,
1076
+ "referencedDeclaration": 32950,
1077
1077
  "src": "1288:16:47",
1078
1078
  "typeDescriptions": {
1079
1079
  "typeIdentifier": "t_bytes32",
@@ -1084,7 +1084,7 @@
1084
1084
  "operator": "<<",
1085
1085
  "rightExpression": {
1086
1086
  "hexValue": "313238",
1087
- "id": 32434,
1087
+ "id": 32958,
1088
1088
  "isConstant": false,
1089
1089
  "isLValue": false,
1090
1090
  "isPure": true,
@@ -1112,7 +1112,7 @@
1112
1112
  "typeString": "bytes32"
1113
1113
  }
1114
1114
  ],
1115
- "id": 32432,
1115
+ "id": 32956,
1116
1116
  "isConstant": false,
1117
1117
  "isLValue": false,
1118
1118
  "isPure": true,
@@ -1124,14 +1124,14 @@
1124
1124
  "typeString": "type(bytes16)"
1125
1125
  },
1126
1126
  "typeName": {
1127
- "id": 32431,
1127
+ "id": 32955,
1128
1128
  "name": "bytes16",
1129
1129
  "nodeType": "ElementaryTypeName",
1130
1130
  "src": "1280:7:47",
1131
1131
  "typeDescriptions": {}
1132
1132
  }
1133
1133
  },
1134
- "id": 32436,
1134
+ "id": 32960,
1135
1135
  "isConstant": false,
1136
1136
  "isLValue": false,
1137
1137
  "isPure": false,
@@ -1146,15 +1146,15 @@
1146
1146
  "typeString": "bytes16"
1147
1147
  }
1148
1148
  },
1149
- "functionReturnParameters": 32430,
1150
- "id": 32437,
1149
+ "functionReturnParameters": 32954,
1150
+ "id": 32961,
1151
1151
  "nodeType": "Return",
1152
1152
  "src": "1273:39:47"
1153
1153
  }
1154
1154
  ]
1155
1155
  },
1156
1156
  "documentation": {
1157
- "id": 32424,
1157
+ "id": 32948,
1158
1158
  "nodeType": "StructuredDocumentation",
1159
1159
  "src": "1139:50:47",
1160
1160
  "text": " Get the name of a ResourceSelector."
@@ -1165,17 +1165,17 @@
1165
1165
  "name": "getName",
1166
1166
  "nameLocation": "1201:7:47",
1167
1167
  "parameters": {
1168
- "id": 32427,
1168
+ "id": 32951,
1169
1169
  "nodeType": "ParameterList",
1170
1170
  "parameters": [
1171
1171
  {
1172
1172
  "constant": false,
1173
- "id": 32426,
1173
+ "id": 32950,
1174
1174
  "mutability": "mutable",
1175
1175
  "name": "resourceSelector",
1176
1176
  "nameLocation": "1217:16:47",
1177
1177
  "nodeType": "VariableDeclaration",
1178
- "scope": 32439,
1178
+ "scope": 32963,
1179
1179
  "src": "1209:24:47",
1180
1180
  "stateVariable": false,
1181
1181
  "storageLocation": "default",
@@ -1184,7 +1184,7 @@
1184
1184
  "typeString": "bytes32"
1185
1185
  },
1186
1186
  "typeName": {
1187
- "id": 32425,
1187
+ "id": 32949,
1188
1188
  "name": "bytes32",
1189
1189
  "nodeType": "ElementaryTypeName",
1190
1190
  "src": "1209:7:47",
@@ -1199,17 +1199,17 @@
1199
1199
  "src": "1208:26:47"
1200
1200
  },
1201
1201
  "returnParameters": {
1202
- "id": 32430,
1202
+ "id": 32954,
1203
1203
  "nodeType": "ParameterList",
1204
1204
  "parameters": [
1205
1205
  {
1206
1206
  "constant": false,
1207
- "id": 32429,
1207
+ "id": 32953,
1208
1208
  "mutability": "mutable",
1209
1209
  "name": "",
1210
1210
  "nameLocation": "-1:-1:-1",
1211
1211
  "nodeType": "VariableDeclaration",
1212
- "scope": 32439,
1212
+ "scope": 32963,
1213
1213
  "src": "1258:7:47",
1214
1214
  "stateVariable": false,
1215
1215
  "storageLocation": "default",
@@ -1218,7 +1218,7 @@
1218
1218
  "typeString": "bytes16"
1219
1219
  },
1220
1220
  "typeName": {
1221
- "id": 32428,
1221
+ "id": 32952,
1222
1222
  "name": "bytes16",
1223
1223
  "nodeType": "ElementaryTypeName",
1224
1224
  "src": "1258:7:47",
@@ -1232,35 +1232,35 @@
1232
1232
  ],
1233
1233
  "src": "1257:9:47"
1234
1234
  },
1235
- "scope": 32525,
1235
+ "scope": 33049,
1236
1236
  "stateMutability": "pure",
1237
1237
  "virtual": false,
1238
1238
  "visibility": "internal"
1239
1239
  },
1240
1240
  {
1241
- "id": 32480,
1241
+ "id": 33004,
1242
1242
  "nodeType": "FunctionDefinition",
1243
1243
  "src": "1392:403:47",
1244
1244
  "nodes": [],
1245
1245
  "body": {
1246
- "id": 32479,
1246
+ "id": 33003,
1247
1247
  "nodeType": "Block",
1248
1248
  "src": "1474:321:47",
1249
1249
  "nodes": [],
1250
1250
  "statements": [
1251
1251
  {
1252
1252
  "assignments": [
1253
- 32448
1253
+ 32972
1254
1254
  ],
1255
1255
  "declarations": [
1256
1256
  {
1257
1257
  "constant": false,
1258
- "id": 32448,
1258
+ "id": 32972,
1259
1259
  "mutability": "mutable",
1260
1260
  "name": "namespace",
1261
1261
  "nameLocation": "1488:9:47",
1262
1262
  "nodeType": "VariableDeclaration",
1263
- "scope": 32479,
1263
+ "scope": 33003,
1264
1264
  "src": "1480:17:47",
1265
1265
  "stateVariable": false,
1266
1266
  "storageLocation": "default",
@@ -1269,7 +1269,7 @@
1269
1269
  "typeString": "bytes16"
1270
1270
  },
1271
1271
  "typeName": {
1272
- "id": 32447,
1272
+ "id": 32971,
1273
1273
  "name": "bytes16",
1274
1274
  "nodeType": "ElementaryTypeName",
1275
1275
  "src": "1480:7:47",
@@ -1281,15 +1281,15 @@
1281
1281
  "visibility": "internal"
1282
1282
  }
1283
1283
  ],
1284
- "id": 32452,
1284
+ "id": 32976,
1285
1285
  "initialValue": {
1286
1286
  "arguments": [
1287
1287
  {
1288
- "id": 32450,
1288
+ "id": 32974,
1289
1289
  "name": "resourceSelector",
1290
1290
  "nodeType": "Identifier",
1291
1291
  "overloadedDeclarations": [],
1292
- "referencedDeclaration": 32442,
1292
+ "referencedDeclaration": 32966,
1293
1293
  "src": "1513:16:47",
1294
1294
  "typeDescriptions": {
1295
1295
  "typeIdentifier": "t_bytes32",
@@ -1304,18 +1304,18 @@
1304
1304
  "typeString": "bytes32"
1305
1305
  }
1306
1306
  ],
1307
- "id": 32449,
1307
+ "id": 32973,
1308
1308
  "name": "getNamespace",
1309
1309
  "nodeType": "Identifier",
1310
1310
  "overloadedDeclarations": [],
1311
- "referencedDeclaration": 32423,
1311
+ "referencedDeclaration": 32947,
1312
1312
  "src": "1500:12:47",
1313
1313
  "typeDescriptions": {
1314
1314
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes16_$",
1315
1315
  "typeString": "function (bytes32) pure returns (bytes16)"
1316
1316
  }
1317
1317
  },
1318
- "id": 32451,
1318
+ "id": 32975,
1319
1319
  "isConstant": false,
1320
1320
  "isLValue": false,
1321
1321
  "isPure": false,
@@ -1335,17 +1335,17 @@
1335
1335
  },
1336
1336
  {
1337
1337
  "assignments": [
1338
- 32454
1338
+ 32978
1339
1339
  ],
1340
1340
  "declarations": [
1341
1341
  {
1342
1342
  "constant": false,
1343
- "id": 32454,
1343
+ "id": 32978,
1344
1344
  "mutability": "mutable",
1345
1345
  "name": "name",
1346
1346
  "nameLocation": "1544:4:47",
1347
1347
  "nodeType": "VariableDeclaration",
1348
- "scope": 32479,
1348
+ "scope": 33003,
1349
1349
  "src": "1536:12:47",
1350
1350
  "stateVariable": false,
1351
1351
  "storageLocation": "default",
@@ -1354,7 +1354,7 @@
1354
1354
  "typeString": "bytes16"
1355
1355
  },
1356
1356
  "typeName": {
1357
- "id": 32453,
1357
+ "id": 32977,
1358
1358
  "name": "bytes16",
1359
1359
  "nodeType": "ElementaryTypeName",
1360
1360
  "src": "1536:7:47",
@@ -1366,15 +1366,15 @@
1366
1366
  "visibility": "internal"
1367
1367
  }
1368
1368
  ],
1369
- "id": 32458,
1369
+ "id": 32982,
1370
1370
  "initialValue": {
1371
1371
  "arguments": [
1372
1372
  {
1373
- "id": 32456,
1373
+ "id": 32980,
1374
1374
  "name": "resourceSelector",
1375
1375
  "nodeType": "Identifier",
1376
1376
  "overloadedDeclarations": [],
1377
- "referencedDeclaration": 32442,
1377
+ "referencedDeclaration": 32966,
1378
1378
  "src": "1559:16:47",
1379
1379
  "typeDescriptions": {
1380
1380
  "typeIdentifier": "t_bytes32",
@@ -1389,18 +1389,18 @@
1389
1389
  "typeString": "bytes32"
1390
1390
  }
1391
1391
  ],
1392
- "id": 32455,
1392
+ "id": 32979,
1393
1393
  "name": "getName",
1394
1394
  "nodeType": "Identifier",
1395
1395
  "overloadedDeclarations": [],
1396
- "referencedDeclaration": 32439,
1396
+ "referencedDeclaration": 32963,
1397
1397
  "src": "1551:7:47",
1398
1398
  "typeDescriptions": {
1399
1399
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$returns$_t_bytes16_$",
1400
1400
  "typeString": "function (bytes32) pure returns (bytes16)"
1401
1401
  }
1402
1402
  },
1403
- "id": 32457,
1403
+ "id": 32981,
1404
1404
  "isConstant": false,
1405
1405
  "isLValue": false,
1406
1406
  "isPure": false,
@@ -1429,17 +1429,17 @@
1429
1429
  "typeIdentifier": "t_bytes16",
1430
1430
  "typeString": "bytes16"
1431
1431
  },
1432
- "id": 32465,
1432
+ "id": 32989,
1433
1433
  "isConstant": false,
1434
1434
  "isLValue": false,
1435
1435
  "isPure": false,
1436
1436
  "lValueRequested": false,
1437
1437
  "leftExpression": {
1438
- "id": 32463,
1438
+ "id": 32987,
1439
1439
  "name": "namespace",
1440
1440
  "nodeType": "Identifier",
1441
1441
  "overloadedDeclarations": [],
1442
- "referencedDeclaration": 32448,
1442
+ "referencedDeclaration": 32972,
1443
1443
  "src": "1639:9:47",
1444
1444
  "typeDescriptions": {
1445
1445
  "typeIdentifier": "t_bytes16",
@@ -1449,11 +1449,11 @@
1449
1449
  "nodeType": "BinaryOperation",
1450
1450
  "operator": "==",
1451
1451
  "rightExpression": {
1452
- "id": 32464,
1452
+ "id": 32988,
1453
1453
  "name": "ROOT_NAMESPACE",
1454
1454
  "nodeType": "Identifier",
1455
1455
  "overloadedDeclarations": [],
1456
- "referencedDeclaration": 33166,
1456
+ "referencedDeclaration": 33752,
1457
1457
  "src": "1652:14:47",
1458
1458
  "typeDescriptions": {
1459
1459
  "typeIdentifier": "t_bytes16",
@@ -1467,18 +1467,18 @@
1467
1467
  }
1468
1468
  },
1469
1469
  "falseExpression": {
1470
- "id": 32467,
1470
+ "id": 32991,
1471
1471
  "name": "namespace",
1472
1472
  "nodeType": "Identifier",
1473
1473
  "overloadedDeclarations": [],
1474
- "referencedDeclaration": 32448,
1474
+ "referencedDeclaration": 32972,
1475
1475
  "src": "1693:9:47",
1476
1476
  "typeDescriptions": {
1477
1477
  "typeIdentifier": "t_bytes16",
1478
1478
  "typeString": "bytes16"
1479
1479
  }
1480
1480
  },
1481
- "id": 32468,
1481
+ "id": 32992,
1482
1482
  "isConstant": false,
1483
1483
  "isLValue": false,
1484
1484
  "isPure": false,
@@ -1486,11 +1486,11 @@
1486
1486
  "nodeType": "Conditional",
1487
1487
  "src": "1639:63:47",
1488
1488
  "trueExpression": {
1489
- "id": 32466,
1489
+ "id": 32990,
1490
1490
  "name": "ROOT_NAMESPACE_STRING",
1491
1491
  "nodeType": "Identifier",
1492
1492
  "overloadedDeclarations": [],
1493
- "referencedDeclaration": 32365,
1493
+ "referencedDeclaration": 32889,
1494
1494
  "src": "1669:21:47",
1495
1495
  "typeDescriptions": {
1496
1496
  "typeIdentifier": "t_bytes16",
@@ -1504,7 +1504,7 @@
1504
1504
  },
1505
1505
  {
1506
1506
  "hexValue": "2f",
1507
- "id": 32469,
1507
+ "id": 32993,
1508
1508
  "isConstant": false,
1509
1509
  "isLValue": false,
1510
1510
  "isPure": true,
@@ -1524,17 +1524,17 @@
1524
1524
  "typeIdentifier": "t_bytes16",
1525
1525
  "typeString": "bytes16"
1526
1526
  },
1527
- "id": 32472,
1527
+ "id": 32996,
1528
1528
  "isConstant": false,
1529
1529
  "isLValue": false,
1530
1530
  "isPure": false,
1531
1531
  "lValueRequested": false,
1532
1532
  "leftExpression": {
1533
- "id": 32470,
1533
+ "id": 32994,
1534
1534
  "name": "name",
1535
1535
  "nodeType": "Identifier",
1536
1536
  "overloadedDeclarations": [],
1537
- "referencedDeclaration": 32454,
1537
+ "referencedDeclaration": 32978,
1538
1538
  "src": "1729:4:47",
1539
1539
  "typeDescriptions": {
1540
1540
  "typeIdentifier": "t_bytes16",
@@ -1544,11 +1544,11 @@
1544
1544
  "nodeType": "BinaryOperation",
1545
1545
  "operator": "==",
1546
1546
  "rightExpression": {
1547
- "id": 32471,
1547
+ "id": 32995,
1548
1548
  "name": "ROOT_NAME",
1549
1549
  "nodeType": "Identifier",
1550
1550
  "overloadedDeclarations": [],
1551
- "referencedDeclaration": 33169,
1551
+ "referencedDeclaration": 33755,
1552
1552
  "src": "1737:9:47",
1553
1553
  "typeDescriptions": {
1554
1554
  "typeIdentifier": "t_bytes16",
@@ -1562,18 +1562,18 @@
1562
1562
  }
1563
1563
  },
1564
1564
  "falseExpression": {
1565
- "id": 32474,
1565
+ "id": 32998,
1566
1566
  "name": "name",
1567
1567
  "nodeType": "Identifier",
1568
1568
  "overloadedDeclarations": [],
1569
- "referencedDeclaration": 32454,
1569
+ "referencedDeclaration": 32978,
1570
1570
  "src": "1768:4:47",
1571
1571
  "typeDescriptions": {
1572
1572
  "typeIdentifier": "t_bytes16",
1573
1573
  "typeString": "bytes16"
1574
1574
  }
1575
1575
  },
1576
- "id": 32475,
1576
+ "id": 32999,
1577
1577
  "isConstant": false,
1578
1578
  "isLValue": false,
1579
1579
  "isPure": false,
@@ -1581,11 +1581,11 @@
1581
1581
  "nodeType": "Conditional",
1582
1582
  "src": "1729:43:47",
1583
1583
  "trueExpression": {
1584
- "id": 32473,
1584
+ "id": 32997,
1585
1585
  "name": "ROOT_NAME_STRING",
1586
1586
  "nodeType": "Identifier",
1587
1587
  "overloadedDeclarations": [],
1588
- "referencedDeclaration": 32371,
1588
+ "referencedDeclaration": 32895,
1589
1589
  "src": "1749:16:47",
1590
1590
  "typeDescriptions": {
1591
1591
  "typeIdentifier": "t_bytes16",
@@ -1614,7 +1614,7 @@
1614
1614
  }
1615
1615
  ],
1616
1616
  "expression": {
1617
- "id": 32461,
1617
+ "id": 32985,
1618
1618
  "name": "abi",
1619
1619
  "nodeType": "Identifier",
1620
1620
  "overloadedDeclarations": [],
@@ -1625,7 +1625,7 @@
1625
1625
  "typeString": "abi"
1626
1626
  }
1627
1627
  },
1628
- "id": 32462,
1628
+ "id": 32986,
1629
1629
  "isConstant": false,
1630
1630
  "isLValue": false,
1631
1631
  "isPure": true,
@@ -1638,7 +1638,7 @@
1638
1638
  "typeString": "function () pure returns (bytes memory)"
1639
1639
  }
1640
1640
  },
1641
- "id": 32476,
1641
+ "id": 33000,
1642
1642
  "isConstant": false,
1643
1643
  "isLValue": false,
1644
1644
  "isPure": false,
@@ -1661,7 +1661,7 @@
1661
1661
  "typeString": "bytes memory"
1662
1662
  }
1663
1663
  ],
1664
- "id": 32460,
1664
+ "id": 32984,
1665
1665
  "isConstant": false,
1666
1666
  "isLValue": false,
1667
1667
  "isPure": true,
@@ -1673,14 +1673,14 @@
1673
1673
  "typeString": "type(string storage pointer)"
1674
1674
  },
1675
1675
  "typeName": {
1676
- "id": 32459,
1676
+ "id": 32983,
1677
1677
  "name": "string",
1678
1678
  "nodeType": "ElementaryTypeName",
1679
1679
  "src": "1595:6:47",
1680
1680
  "typeDescriptions": {}
1681
1681
  }
1682
1682
  },
1683
- "id": 32477,
1683
+ "id": 33001,
1684
1684
  "isConstant": false,
1685
1685
  "isLValue": false,
1686
1686
  "isPure": false,
@@ -1695,15 +1695,15 @@
1695
1695
  "typeString": "string memory"
1696
1696
  }
1697
1697
  },
1698
- "functionReturnParameters": 32446,
1699
- "id": 32478,
1698
+ "functionReturnParameters": 32970,
1699
+ "id": 33002,
1700
1700
  "nodeType": "Return",
1701
1701
  "src": "1582:208:47"
1702
1702
  }
1703
1703
  ]
1704
1704
  },
1705
1705
  "documentation": {
1706
- "id": 32440,
1706
+ "id": 32964,
1707
1707
  "nodeType": "StructuredDocumentation",
1708
1708
  "src": "1321:68:47",
1709
1709
  "text": " Convert a selector to a string for more readable logs"
@@ -1714,17 +1714,17 @@
1714
1714
  "name": "toString",
1715
1715
  "nameLocation": "1401:8:47",
1716
1716
  "parameters": {
1717
- "id": 32443,
1717
+ "id": 32967,
1718
1718
  "nodeType": "ParameterList",
1719
1719
  "parameters": [
1720
1720
  {
1721
1721
  "constant": false,
1722
- "id": 32442,
1722
+ "id": 32966,
1723
1723
  "mutability": "mutable",
1724
1724
  "name": "resourceSelector",
1725
1725
  "nameLocation": "1418:16:47",
1726
1726
  "nodeType": "VariableDeclaration",
1727
- "scope": 32480,
1727
+ "scope": 33004,
1728
1728
  "src": "1410:24:47",
1729
1729
  "stateVariable": false,
1730
1730
  "storageLocation": "default",
@@ -1733,7 +1733,7 @@
1733
1733
  "typeString": "bytes32"
1734
1734
  },
1735
1735
  "typeName": {
1736
- "id": 32441,
1736
+ "id": 32965,
1737
1737
  "name": "bytes32",
1738
1738
  "nodeType": "ElementaryTypeName",
1739
1739
  "src": "1410:7:47",
@@ -1748,17 +1748,17 @@
1748
1748
  "src": "1409:26:47"
1749
1749
  },
1750
1750
  "returnParameters": {
1751
- "id": 32446,
1751
+ "id": 32970,
1752
1752
  "nodeType": "ParameterList",
1753
1753
  "parameters": [
1754
1754
  {
1755
1755
  "constant": false,
1756
- "id": 32445,
1756
+ "id": 32969,
1757
1757
  "mutability": "mutable",
1758
1758
  "name": "",
1759
1759
  "nameLocation": "-1:-1:-1",
1760
1760
  "nodeType": "VariableDeclaration",
1761
- "scope": 32480,
1761
+ "scope": 33004,
1762
1762
  "src": "1459:13:47",
1763
1763
  "stateVariable": false,
1764
1764
  "storageLocation": "memory",
@@ -1767,7 +1767,7 @@
1767
1767
  "typeString": "string"
1768
1768
  },
1769
1769
  "typeName": {
1770
- "id": 32444,
1770
+ "id": 32968,
1771
1771
  "name": "string",
1772
1772
  "nodeType": "ElementaryTypeName",
1773
1773
  "src": "1459:6:47",
@@ -1781,35 +1781,35 @@
1781
1781
  ],
1782
1782
  "src": "1458:15:47"
1783
1783
  },
1784
- "scope": 32525,
1784
+ "scope": 33049,
1785
1785
  "stateMutability": "pure",
1786
1786
  "virtual": false,
1787
1787
  "visibility": "internal"
1788
1788
  },
1789
1789
  {
1790
- "id": 32524,
1790
+ "id": 33048,
1791
1791
  "nodeType": "FunctionDefinition",
1792
1792
  "src": "1893:310:47",
1793
1793
  "nodes": [],
1794
1794
  "body": {
1795
- "id": 32523,
1795
+ "id": 33047,
1796
1796
  "nodeType": "Block",
1797
1797
  "src": "1974:229:47",
1798
1798
  "nodes": [],
1799
1799
  "statements": [
1800
1800
  {
1801
1801
  "assignments": [
1802
- 32489
1802
+ 33013
1803
1803
  ],
1804
1804
  "declarations": [
1805
1805
  {
1806
1806
  "constant": false,
1807
- "id": 32489,
1807
+ "id": 33013,
1808
1808
  "mutability": "mutable",
1809
1809
  "name": "length",
1810
1810
  "nameLocation": "1988:6:47",
1811
1811
  "nodeType": "VariableDeclaration",
1812
- "scope": 32523,
1812
+ "scope": 33047,
1813
1813
  "src": "1980:14:47",
1814
1814
  "stateVariable": false,
1815
1815
  "storageLocation": "default",
@@ -1818,7 +1818,7 @@
1818
1818
  "typeString": "uint256"
1819
1819
  },
1820
1820
  "typeName": {
1821
- "id": 32488,
1821
+ "id": 33012,
1822
1822
  "name": "uint256",
1823
1823
  "nodeType": "ElementaryTypeName",
1824
1824
  "src": "1980:7:47",
@@ -1830,7 +1830,7 @@
1830
1830
  "visibility": "internal"
1831
1831
  }
1832
1832
  ],
1833
- "id": 32490,
1833
+ "id": 33014,
1834
1834
  "nodeType": "VariableDeclarationStatement",
1835
1835
  "src": "1980:14:47"
1836
1836
  },
@@ -1841,7 +1841,7 @@
1841
1841
  "typeIdentifier": "t_bytes1",
1842
1842
  "typeString": "bytes1"
1843
1843
  },
1844
- "id": 32503,
1844
+ "id": 33027,
1845
1845
  "isConstant": false,
1846
1846
  "isLValue": false,
1847
1847
  "isPure": false,
@@ -1849,11 +1849,11 @@
1849
1849
  "leftExpression": {
1850
1850
  "arguments": [
1851
1851
  {
1852
- "id": 32499,
1852
+ "id": 33023,
1853
1853
  "name": "selector",
1854
1854
  "nodeType": "Identifier",
1855
1855
  "overloadedDeclarations": [],
1856
- "referencedDeclaration": 32483,
1856
+ "referencedDeclaration": 33007,
1857
1857
  "src": "2047:8:47",
1858
1858
  "typeDescriptions": {
1859
1859
  "typeIdentifier": "t_bytes16",
@@ -1861,11 +1861,11 @@
1861
1861
  }
1862
1862
  },
1863
1863
  {
1864
- "id": 32500,
1864
+ "id": 33024,
1865
1865
  "name": "length",
1866
1866
  "nodeType": "Identifier",
1867
1867
  "overloadedDeclarations": [],
1868
- "referencedDeclaration": 32489,
1868
+ "referencedDeclaration": 33013,
1869
1869
  "src": "2057:6:47",
1870
1870
  "typeDescriptions": {
1871
1871
  "typeIdentifier": "t_uint256",
@@ -1885,32 +1885,32 @@
1885
1885
  }
1886
1886
  ],
1887
1887
  "expression": {
1888
- "id": 32497,
1888
+ "id": 33021,
1889
1889
  "name": "Bytes",
1890
1890
  "nodeType": "Identifier",
1891
1891
  "overloadedDeclarations": [],
1892
- "referencedDeclaration": 17181,
1892
+ "referencedDeclaration": 17442,
1893
1893
  "src": "2034:5:47",
1894
1894
  "typeDescriptions": {
1895
- "typeIdentifier": "t_type$_t_contract$_Bytes_$17181_$",
1895
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$17442_$",
1896
1896
  "typeString": "type(library Bytes)"
1897
1897
  }
1898
1898
  },
1899
- "id": 32498,
1899
+ "id": 33022,
1900
1900
  "isConstant": false,
1901
1901
  "isLValue": false,
1902
1902
  "isPure": false,
1903
1903
  "lValueRequested": false,
1904
1904
  "memberName": "slice1",
1905
1905
  "nodeType": "MemberAccess",
1906
- "referencedDeclaration": 16621,
1906
+ "referencedDeclaration": 16882,
1907
1907
  "src": "2034:12:47",
1908
1908
  "typeDescriptions": {
1909
1909
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint256_$returns$_t_bytes1_$",
1910
1910
  "typeString": "function (bytes32,uint256) pure returns (bytes1)"
1911
1911
  }
1912
1912
  },
1913
- "id": 32501,
1913
+ "id": 33025,
1914
1914
  "isConstant": false,
1915
1915
  "isLValue": false,
1916
1916
  "isPure": false,
@@ -1929,7 +1929,7 @@
1929
1929
  "operator": "==",
1930
1930
  "rightExpression": {
1931
1931
  "hexValue": "30",
1932
- "id": 32502,
1932
+ "id": 33026,
1933
1933
  "isConstant": false,
1934
1934
  "isLValue": false,
1935
1935
  "isPure": true,
@@ -1949,11 +1949,11 @@
1949
1949
  "typeString": "bool"
1950
1950
  }
1951
1951
  },
1952
- "id": 32505,
1952
+ "id": 33029,
1953
1953
  "nodeType": "IfStatement",
1954
1954
  "src": "2030:46:47",
1955
1955
  "trueBody": {
1956
- "id": 32504,
1956
+ "id": 33028,
1957
1957
  "nodeType": "Break",
1958
1958
  "src": "2071:5:47"
1959
1959
  }
@@ -1963,17 +1963,17 @@
1963
1963
  "typeIdentifier": "t_uint256",
1964
1964
  "typeString": "uint256"
1965
1965
  },
1966
- "id": 32493,
1966
+ "id": 33017,
1967
1967
  "isConstant": false,
1968
1968
  "isLValue": false,
1969
1969
  "isPure": false,
1970
1970
  "lValueRequested": false,
1971
1971
  "leftExpression": {
1972
- "id": 32491,
1972
+ "id": 33015,
1973
1973
  "name": "length",
1974
1974
  "nodeType": "Identifier",
1975
1975
  "overloadedDeclarations": [],
1976
- "referencedDeclaration": 32489,
1976
+ "referencedDeclaration": 33013,
1977
1977
  "src": "2007:6:47",
1978
1978
  "typeDescriptions": {
1979
1979
  "typeIdentifier": "t_uint256",
@@ -1984,7 +1984,7 @@
1984
1984
  "operator": "<",
1985
1985
  "rightExpression": {
1986
1986
  "hexValue": "3136",
1987
- "id": 32492,
1987
+ "id": 33016,
1988
1988
  "isConstant": false,
1989
1989
  "isLValue": false,
1990
1990
  "isPure": true,
@@ -2004,10 +2004,10 @@
2004
2004
  "typeString": "bool"
2005
2005
  }
2006
2006
  },
2007
- "id": 32506,
2007
+ "id": 33030,
2008
2008
  "loopExpression": {
2009
2009
  "expression": {
2010
- "id": 32495,
2010
+ "id": 33019,
2011
2011
  "isConstant": false,
2012
2012
  "isLValue": false,
2013
2013
  "isPure": false,
@@ -2017,11 +2017,11 @@
2017
2017
  "prefix": false,
2018
2018
  "src": "2020:8:47",
2019
2019
  "subExpression": {
2020
- "id": 32494,
2020
+ "id": 33018,
2021
2021
  "name": "length",
2022
2022
  "nodeType": "Identifier",
2023
2023
  "overloadedDeclarations": [],
2024
- "referencedDeclaration": 32489,
2024
+ "referencedDeclaration": 33013,
2025
2025
  "src": "2020:6:47",
2026
2026
  "typeDescriptions": {
2027
2027
  "typeIdentifier": "t_uint256",
@@ -2033,7 +2033,7 @@
2033
2033
  "typeString": "uint256"
2034
2034
  }
2035
2035
  },
2036
- "id": 32496,
2036
+ "id": 33020,
2037
2037
  "nodeType": "ExpressionStatement",
2038
2038
  "src": "2020:8:47"
2039
2039
  },
@@ -2042,17 +2042,17 @@
2042
2042
  },
2043
2043
  {
2044
2044
  "assignments": [
2045
- 32508
2045
+ 33032
2046
2046
  ],
2047
2047
  "declarations": [
2048
2048
  {
2049
2049
  "constant": false,
2050
- "id": 32508,
2050
+ "id": 33032,
2051
2051
  "mutability": "mutable",
2052
2052
  "name": "packedSelector",
2053
2053
  "nameLocation": "2095:14:47",
2054
2054
  "nodeType": "VariableDeclaration",
2055
- "scope": 32523,
2055
+ "scope": 33047,
2056
2056
  "src": "2082:27:47",
2057
2057
  "stateVariable": false,
2058
2058
  "storageLocation": "memory",
@@ -2061,7 +2061,7 @@
2061
2061
  "typeString": "bytes"
2062
2062
  },
2063
2063
  "typeName": {
2064
- "id": 32507,
2064
+ "id": 33031,
2065
2065
  "name": "bytes",
2066
2066
  "nodeType": "ElementaryTypeName",
2067
2067
  "src": "2082:5:47",
@@ -2073,15 +2073,15 @@
2073
2073
  "visibility": "internal"
2074
2074
  }
2075
2075
  ],
2076
- "id": 32513,
2076
+ "id": 33037,
2077
2077
  "initialValue": {
2078
2078
  "arguments": [
2079
2079
  {
2080
- "id": 32511,
2080
+ "id": 33035,
2081
2081
  "name": "selector",
2082
2082
  "nodeType": "Identifier",
2083
2083
  "overloadedDeclarations": [],
2084
- "referencedDeclaration": 32483,
2084
+ "referencedDeclaration": 33007,
2085
2085
  "src": "2129:8:47",
2086
2086
  "typeDescriptions": {
2087
2087
  "typeIdentifier": "t_bytes16",
@@ -2097,7 +2097,7 @@
2097
2097
  }
2098
2098
  ],
2099
2099
  "expression": {
2100
- "id": 32509,
2100
+ "id": 33033,
2101
2101
  "name": "abi",
2102
2102
  "nodeType": "Identifier",
2103
2103
  "overloadedDeclarations": [],
@@ -2108,7 +2108,7 @@
2108
2108
  "typeString": "abi"
2109
2109
  }
2110
2110
  },
2111
- "id": 32510,
2111
+ "id": 33034,
2112
2112
  "isConstant": false,
2113
2113
  "isLValue": false,
2114
2114
  "isPure": true,
@@ -2121,7 +2121,7 @@
2121
2121
  "typeString": "function () pure returns (bytes memory)"
2122
2122
  }
2123
2123
  },
2124
- "id": 32512,
2124
+ "id": 33036,
2125
2125
  "isConstant": false,
2126
2126
  "isLValue": false,
2127
2127
  "isPure": false,
@@ -2145,11 +2145,11 @@
2145
2145
  {
2146
2146
  "arguments": [
2147
2147
  {
2148
- "id": 32518,
2148
+ "id": 33042,
2149
2149
  "name": "packedSelector",
2150
2150
  "nodeType": "Identifier",
2151
2151
  "overloadedDeclarations": [],
2152
- "referencedDeclaration": 32508,
2152
+ "referencedDeclaration": 33032,
2153
2153
  "src": "2174:14:47",
2154
2154
  "typeDescriptions": {
2155
2155
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -2157,11 +2157,11 @@
2157
2157
  }
2158
2158
  },
2159
2159
  {
2160
- "id": 32519,
2160
+ "id": 33043,
2161
2161
  "name": "length",
2162
2162
  "nodeType": "Identifier",
2163
2163
  "overloadedDeclarations": [],
2164
- "referencedDeclaration": 32489,
2164
+ "referencedDeclaration": 33013,
2165
2165
  "src": "2190:6:47",
2166
2166
  "typeDescriptions": {
2167
2167
  "typeIdentifier": "t_uint256",
@@ -2181,32 +2181,32 @@
2181
2181
  }
2182
2182
  ],
2183
2183
  "expression": {
2184
- "id": 32516,
2184
+ "id": 33040,
2185
2185
  "name": "Bytes",
2186
2186
  "nodeType": "Identifier",
2187
2187
  "overloadedDeclarations": [],
2188
- "referencedDeclaration": 17181,
2188
+ "referencedDeclaration": 17442,
2189
2189
  "src": "2158:5:47",
2190
2190
  "typeDescriptions": {
2191
- "typeIdentifier": "t_type$_t_contract$_Bytes_$17181_$",
2191
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$17442_$",
2192
2192
  "typeString": "type(library Bytes)"
2193
2193
  }
2194
2194
  },
2195
- "id": 32517,
2195
+ "id": 33041,
2196
2196
  "isConstant": false,
2197
2197
  "isLValue": false,
2198
2198
  "isPure": false,
2199
2199
  "lValueRequested": false,
2200
2200
  "memberName": "setLength",
2201
2201
  "nodeType": "MemberAccess",
2202
- "referencedDeclaration": 16508,
2202
+ "referencedDeclaration": 16769,
2203
2203
  "src": "2158:15:47",
2204
2204
  "typeDescriptions": {
2205
2205
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
2206
2206
  "typeString": "function (bytes memory,uint256) pure returns (bytes memory)"
2207
2207
  }
2208
2208
  },
2209
- "id": 32520,
2209
+ "id": 33044,
2210
2210
  "isConstant": false,
2211
2211
  "isLValue": false,
2212
2212
  "isPure": false,
@@ -2229,7 +2229,7 @@
2229
2229
  "typeString": "bytes memory"
2230
2230
  }
2231
2231
  ],
2232
- "id": 32515,
2232
+ "id": 33039,
2233
2233
  "isConstant": false,
2234
2234
  "isLValue": false,
2235
2235
  "isPure": true,
@@ -2241,14 +2241,14 @@
2241
2241
  "typeString": "type(string storage pointer)"
2242
2242
  },
2243
2243
  "typeName": {
2244
- "id": 32514,
2244
+ "id": 33038,
2245
2245
  "name": "string",
2246
2246
  "nodeType": "ElementaryTypeName",
2247
2247
  "src": "2151:6:47",
2248
2248
  "typeDescriptions": {}
2249
2249
  }
2250
2250
  },
2251
- "id": 32521,
2251
+ "id": 33045,
2252
2252
  "isConstant": false,
2253
2253
  "isLValue": false,
2254
2254
  "isPure": false,
@@ -2263,15 +2263,15 @@
2263
2263
  "typeString": "string memory"
2264
2264
  }
2265
2265
  },
2266
- "functionReturnParameters": 32487,
2267
- "id": 32522,
2266
+ "functionReturnParameters": 33011,
2267
+ "id": 33046,
2268
2268
  "nodeType": "Return",
2269
2269
  "src": "2144:54:47"
2270
2270
  }
2271
2271
  ]
2272
2272
  },
2273
2273
  "documentation": {
2274
- "id": 32481,
2274
+ "id": 33005,
2275
2275
  "nodeType": "StructuredDocumentation",
2276
2276
  "src": "1799:91:47",
2277
2277
  "text": " Convert a selector to a trimmed string (no trailing `null` ASCII characters)"
@@ -2282,17 +2282,17 @@
2282
2282
  "name": "toTrimmedString",
2283
2283
  "nameLocation": "1902:15:47",
2284
2284
  "parameters": {
2285
- "id": 32484,
2285
+ "id": 33008,
2286
2286
  "nodeType": "ParameterList",
2287
2287
  "parameters": [
2288
2288
  {
2289
2289
  "constant": false,
2290
- "id": 32483,
2290
+ "id": 33007,
2291
2291
  "mutability": "mutable",
2292
2292
  "name": "selector",
2293
2293
  "nameLocation": "1926:8:47",
2294
2294
  "nodeType": "VariableDeclaration",
2295
- "scope": 32524,
2295
+ "scope": 33048,
2296
2296
  "src": "1918:16:47",
2297
2297
  "stateVariable": false,
2298
2298
  "storageLocation": "default",
@@ -2301,7 +2301,7 @@
2301
2301
  "typeString": "bytes16"
2302
2302
  },
2303
2303
  "typeName": {
2304
- "id": 32482,
2304
+ "id": 33006,
2305
2305
  "name": "bytes16",
2306
2306
  "nodeType": "ElementaryTypeName",
2307
2307
  "src": "1918:7:47",
@@ -2316,17 +2316,17 @@
2316
2316
  "src": "1917:18:47"
2317
2317
  },
2318
2318
  "returnParameters": {
2319
- "id": 32487,
2319
+ "id": 33011,
2320
2320
  "nodeType": "ParameterList",
2321
2321
  "parameters": [
2322
2322
  {
2323
2323
  "constant": false,
2324
- "id": 32486,
2324
+ "id": 33010,
2325
2325
  "mutability": "mutable",
2326
2326
  "name": "",
2327
2327
  "nameLocation": "-1:-1:-1",
2328
2328
  "nodeType": "VariableDeclaration",
2329
- "scope": 32524,
2329
+ "scope": 33048,
2330
2330
  "src": "1959:13:47",
2331
2331
  "stateVariable": false,
2332
2332
  "storageLocation": "memory",
@@ -2335,7 +2335,7 @@
2335
2335
  "typeString": "string"
2336
2336
  },
2337
2337
  "typeName": {
2338
- "id": 32485,
2338
+ "id": 33009,
2339
2339
  "name": "string",
2340
2340
  "nodeType": "ElementaryTypeName",
2341
2341
  "src": "1959:6:47",
@@ -2349,7 +2349,7 @@
2349
2349
  ],
2350
2350
  "src": "1958:15:47"
2351
2351
  },
2352
- "scope": 32525,
2352
+ "scope": 33049,
2353
2353
  "stateMutability": "pure",
2354
2354
  "virtual": false,
2355
2355
  "visibility": "internal"
@@ -2362,11 +2362,11 @@
2362
2362
  "contractKind": "library",
2363
2363
  "fullyImplemented": true,
2364
2364
  "linearizedBaseContracts": [
2365
- 32525
2365
+ 33049
2366
2366
  ],
2367
2367
  "name": "ResourceSelector",
2368
2368
  "nameLocation": "311:16:47",
2369
- "scope": 32526,
2369
+ "scope": 33050,
2370
2370
  "usedErrors": []
2371
2371
  }
2372
2372
  ],