@latticexyz/world 2.0.0-alpha.63 → 2.0.0-alpha.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abi/AccessControl.json +15 -15
- package/abi/AccessControlTest.json +273 -273
- package/abi/AddressArray.json +782 -782
- package/abi/ArrayLib.json +139 -139
- package/abi/Bool.json +539 -539
- package/abi/Call.json +6 -6
- package/abi/CommonBase.json +125 -125
- package/abi/CoreModule.json +259 -111
- package/abi/DecodeSlice.json +3187 -3187
- package/abi/FunctionSelectors.json +1412 -1412
- package/abi/Hooks.json +773 -773
- package/abi/IBaseWorld.json +7 -7
- package/abi/IErrors.json +48 -48
- package/abi/IMulticall3.json +283 -283
- package/abi/IRegistrationSystem.json +1 -1
- package/abi/IWorldTestSystem.json +5366 -5366
- package/abi/InstalledModules.json +1139 -1139
- package/abi/KeysWithValue.json +782 -782
- package/abi/KeysWithValueHook.json +369 -369
- package/abi/KeysWithValueModule.json +216 -216
- package/abi/KeysWithValueModuleTest.json +1274 -1274
- package/abi/NamespaceOwner.json +613 -613
- package/abi/PayableFallbackSystem.json +5368 -5368
- package/abi/RegistrationModule.json +307 -307
- package/abi/RegistrationSystem.json +885 -885
- package/abi/ResourceAccess.json +750 -750
- package/abi/ResourceType.json +627 -627
- package/abi/ScriptBase.json +125 -125
- package/abi/StdAssertions.json +1894 -1894
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +336 -336
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +488 -488
- package/abi/StoreView.json +7 -7
- package/abi/SystemRegistry.json +625 -625
- package/abi/SystemTest.json +146 -146
- package/abi/Systems.json +1180 -1180
- package/abi/TableId.json +27 -27
- package/abi/Test.json +52 -52
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +146 -146
- package/abi/TightCoder.json +240 -240
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +55 -55
- package/abi/WorldTest.json +5368 -5368
- package/abi/WorldTestSystem.json +5368 -5368
- package/abi/WorldTestTableHook.json +5368 -5368
- package/abi/console2.json +11459 -11459
- package/abi/constants.json +7 -7
- package/abi/getKeysWithValue.json +125 -125
- package/abi/getTargetTableSelector.json +72 -72
- package/abi/stdError.json +78 -78
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +5 -5
- package/src/modules/core/CoreModule.sol +1 -0
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModuleTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/PayableFallbackSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +1 -1
package/abi/ResourceType.json
CHANGED
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
},
|
|
233
233
|
"ast": {
|
|
234
234
|
"absolutePath": "src/modules/registration/tables/ResourceType.sol",
|
|
235
|
-
"id":
|
|
235
|
+
"id": 60144,
|
|
236
236
|
"exportedSymbols": {
|
|
237
237
|
"Bytes": [
|
|
238
238
|
1002
|
|
@@ -256,10 +256,10 @@
|
|
|
256
256
|
56388
|
|
257
257
|
],
|
|
258
258
|
"ResourceType": [
|
|
259
|
-
|
|
259
|
+
60143
|
|
260
260
|
],
|
|
261
261
|
"ResourceTypeTableId": [
|
|
262
|
-
|
|
262
|
+
59684
|
|
263
263
|
],
|
|
264
264
|
"Schema": [
|
|
265
265
|
1713
|
|
@@ -280,14 +280,14 @@
|
|
|
280
280
|
5294
|
|
281
281
|
],
|
|
282
282
|
"_tableId": [
|
|
283
|
-
|
|
283
|
+
59681
|
|
284
284
|
]
|
|
285
285
|
},
|
|
286
286
|
"nodeType": "SourceUnit",
|
|
287
287
|
"src": "32:4682:110",
|
|
288
288
|
"nodes": [
|
|
289
289
|
{
|
|
290
|
-
"id":
|
|
290
|
+
"id": 59638,
|
|
291
291
|
"nodeType": "PragmaDirective",
|
|
292
292
|
"src": "32:24:110",
|
|
293
293
|
"nodes": [],
|
|
@@ -299,19 +299,19 @@
|
|
|
299
299
|
]
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
|
-
"id":
|
|
302
|
+
"id": 59640,
|
|
303
303
|
"nodeType": "ImportDirective",
|
|
304
304
|
"src": "129:81:110",
|
|
305
305
|
"nodes": [],
|
|
306
306
|
"absolutePath": "../../node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol",
|
|
307
307
|
"file": "@latticexyz/schema-type/src/solidity/SchemaType.sol",
|
|
308
308
|
"nameLocation": "-1:-1:-1",
|
|
309
|
-
"scope":
|
|
309
|
+
"scope": 60144,
|
|
310
310
|
"sourceUnit": 271,
|
|
311
311
|
"symbolAliases": [
|
|
312
312
|
{
|
|
313
313
|
"foreign": {
|
|
314
|
-
"id":
|
|
314
|
+
"id": 59639,
|
|
315
315
|
"name": "SchemaType",
|
|
316
316
|
"nodeType": "Identifier",
|
|
317
317
|
"overloadedDeclarations": [],
|
|
@@ -325,19 +325,19 @@
|
|
|
325
325
|
"unitAlias": ""
|
|
326
326
|
},
|
|
327
327
|
{
|
|
328
|
-
"id":
|
|
328
|
+
"id": 59642,
|
|
329
329
|
"nodeType": "ImportDirective",
|
|
330
330
|
"src": "238:58:110",
|
|
331
331
|
"nodes": [],
|
|
332
332
|
"absolutePath": "../../node_modules/@latticexyz/store/src/IStore.sol",
|
|
333
333
|
"file": "@latticexyz/store/src/IStore.sol",
|
|
334
334
|
"nameLocation": "-1:-1:-1",
|
|
335
|
-
"scope":
|
|
335
|
+
"scope": 60144,
|
|
336
336
|
"sourceUnit": 1207,
|
|
337
337
|
"symbolAliases": [
|
|
338
338
|
{
|
|
339
339
|
"foreign": {
|
|
340
|
-
"id":
|
|
340
|
+
"id": 59641,
|
|
341
341
|
"name": "IStore",
|
|
342
342
|
"nodeType": "Identifier",
|
|
343
343
|
"overloadedDeclarations": [],
|
|
@@ -351,19 +351,19 @@
|
|
|
351
351
|
"unitAlias": ""
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
|
-
"id":
|
|
354
|
+
"id": 59644,
|
|
355
355
|
"nodeType": "ImportDirective",
|
|
356
356
|
"src": "297:68:110",
|
|
357
357
|
"nodes": [],
|
|
358
358
|
"absolutePath": "../../node_modules/@latticexyz/store/src/StoreSwitch.sol",
|
|
359
359
|
"file": "@latticexyz/store/src/StoreSwitch.sol",
|
|
360
360
|
"nameLocation": "-1:-1:-1",
|
|
361
|
-
"scope":
|
|
361
|
+
"scope": 60144,
|
|
362
362
|
"sourceUnit": 5295,
|
|
363
363
|
"symbolAliases": [
|
|
364
364
|
{
|
|
365
365
|
"foreign": {
|
|
366
|
-
"id":
|
|
366
|
+
"id": 59643,
|
|
367
367
|
"name": "StoreSwitch",
|
|
368
368
|
"nodeType": "Identifier",
|
|
369
369
|
"overloadedDeclarations": [],
|
|
@@ -377,19 +377,19 @@
|
|
|
377
377
|
"unitAlias": ""
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
|
-
"id":
|
|
380
|
+
"id": 59646,
|
|
381
381
|
"nodeType": "ImportDirective",
|
|
382
382
|
"src": "366:64:110",
|
|
383
383
|
"nodes": [],
|
|
384
384
|
"absolutePath": "../../node_modules/@latticexyz/store/src/StoreCore.sol",
|
|
385
385
|
"file": "@latticexyz/store/src/StoreCore.sol",
|
|
386
386
|
"nameLocation": "-1:-1:-1",
|
|
387
|
-
"scope":
|
|
387
|
+
"scope": 60144,
|
|
388
388
|
"sourceUnit": 4870,
|
|
389
389
|
"symbolAliases": [
|
|
390
390
|
{
|
|
391
391
|
"foreign": {
|
|
392
|
-
"id":
|
|
392
|
+
"id": 59645,
|
|
393
393
|
"name": "StoreCore",
|
|
394
394
|
"nodeType": "Identifier",
|
|
395
395
|
"overloadedDeclarations": [],
|
|
@@ -403,19 +403,19 @@
|
|
|
403
403
|
"unitAlias": ""
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
|
-
"id":
|
|
406
|
+
"id": 59648,
|
|
407
407
|
"nodeType": "ImportDirective",
|
|
408
408
|
"src": "431:56:110",
|
|
409
409
|
"nodes": [],
|
|
410
410
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Bytes.sol",
|
|
411
411
|
"file": "@latticexyz/store/src/Bytes.sol",
|
|
412
412
|
"nameLocation": "-1:-1:-1",
|
|
413
|
-
"scope":
|
|
413
|
+
"scope": 60144,
|
|
414
414
|
"sourceUnit": 1003,
|
|
415
415
|
"symbolAliases": [
|
|
416
416
|
{
|
|
417
417
|
"foreign": {
|
|
418
|
-
"id":
|
|
418
|
+
"id": 59647,
|
|
419
419
|
"name": "Bytes",
|
|
420
420
|
"nodeType": "Identifier",
|
|
421
421
|
"overloadedDeclarations": [],
|
|
@@ -429,19 +429,19 @@
|
|
|
429
429
|
"unitAlias": ""
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
|
-
"id":
|
|
432
|
+
"id": 59650,
|
|
433
433
|
"nodeType": "ImportDirective",
|
|
434
434
|
"src": "488:58:110",
|
|
435
435
|
"nodes": [],
|
|
436
436
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Memory.sol",
|
|
437
437
|
"file": "@latticexyz/store/src/Memory.sol",
|
|
438
438
|
"nameLocation": "-1:-1:-1",
|
|
439
|
-
"scope":
|
|
439
|
+
"scope": 60144,
|
|
440
440
|
"sourceUnit": 1284,
|
|
441
441
|
"symbolAliases": [
|
|
442
442
|
{
|
|
443
443
|
"foreign": {
|
|
444
|
-
"id":
|
|
444
|
+
"id": 59649,
|
|
445
445
|
"name": "Memory",
|
|
446
446
|
"nodeType": "Identifier",
|
|
447
447
|
"overloadedDeclarations": [],
|
|
@@ -455,19 +455,19 @@
|
|
|
455
455
|
"unitAlias": ""
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
|
-
"id":
|
|
458
|
+
"id": 59652,
|
|
459
459
|
"nodeType": "ImportDirective",
|
|
460
460
|
"src": "547:59:110",
|
|
461
461
|
"nodes": [],
|
|
462
462
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Slice.sol",
|
|
463
463
|
"file": "@latticexyz/store/src/Slice.sol",
|
|
464
464
|
"nameLocation": "-1:-1:-1",
|
|
465
|
-
"scope":
|
|
465
|
+
"scope": 60144,
|
|
466
466
|
"sourceUnit": 2730,
|
|
467
467
|
"symbolAliases": [
|
|
468
468
|
{
|
|
469
469
|
"foreign": {
|
|
470
|
-
"id":
|
|
470
|
+
"id": 59651,
|
|
471
471
|
"name": "SliceLib",
|
|
472
472
|
"nodeType": "Identifier",
|
|
473
473
|
"overloadedDeclarations": [],
|
|
@@ -481,19 +481,19 @@
|
|
|
481
481
|
"unitAlias": ""
|
|
482
482
|
},
|
|
483
483
|
{
|
|
484
|
-
"id":
|
|
484
|
+
"id": 59654,
|
|
485
485
|
"nodeType": "ImportDirective",
|
|
486
486
|
"src": "607:79:110",
|
|
487
487
|
"nodes": [],
|
|
488
488
|
"absolutePath": "../../node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol",
|
|
489
489
|
"file": "@latticexyz/store/src/tightcoder/EncodeArray.sol",
|
|
490
490
|
"nameLocation": "-1:-1:-1",
|
|
491
|
-
"scope":
|
|
491
|
+
"scope": 60144,
|
|
492
492
|
"sourceUnit": 9039,
|
|
493
493
|
"symbolAliases": [
|
|
494
494
|
{
|
|
495
495
|
"foreign": {
|
|
496
|
-
"id":
|
|
496
|
+
"id": 59653,
|
|
497
497
|
"name": "EncodeArray",
|
|
498
498
|
"nodeType": "Identifier",
|
|
499
499
|
"overloadedDeclarations": [],
|
|
@@ -507,19 +507,19 @@
|
|
|
507
507
|
"unitAlias": ""
|
|
508
508
|
},
|
|
509
509
|
{
|
|
510
|
-
"id":
|
|
510
|
+
"id": 59657,
|
|
511
511
|
"nodeType": "ImportDirective",
|
|
512
512
|
"src": "687:69:110",
|
|
513
513
|
"nodes": [],
|
|
514
514
|
"absolutePath": "../../node_modules/@latticexyz/store/src/Schema.sol",
|
|
515
515
|
"file": "@latticexyz/store/src/Schema.sol",
|
|
516
516
|
"nameLocation": "-1:-1:-1",
|
|
517
|
-
"scope":
|
|
517
|
+
"scope": 60144,
|
|
518
518
|
"sourceUnit": 2481,
|
|
519
519
|
"symbolAliases": [
|
|
520
520
|
{
|
|
521
521
|
"foreign": {
|
|
522
|
-
"id":
|
|
522
|
+
"id": 59655,
|
|
523
523
|
"name": "Schema",
|
|
524
524
|
"nodeType": "Identifier",
|
|
525
525
|
"overloadedDeclarations": [],
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
},
|
|
532
532
|
{
|
|
533
533
|
"foreign": {
|
|
534
|
-
"id":
|
|
534
|
+
"id": 59656,
|
|
535
535
|
"name": "SchemaLib",
|
|
536
536
|
"nodeType": "Identifier",
|
|
537
537
|
"overloadedDeclarations": [],
|
|
@@ -545,19 +545,19 @@
|
|
|
545
545
|
"unitAlias": ""
|
|
546
546
|
},
|
|
547
547
|
{
|
|
548
|
-
"id":
|
|
548
|
+
"id": 59660,
|
|
549
549
|
"nodeType": "ImportDirective",
|
|
550
550
|
"src": "757:90:110",
|
|
551
551
|
"nodes": [],
|
|
552
552
|
"absolutePath": "../../node_modules/@latticexyz/store/src/PackedCounter.sol",
|
|
553
553
|
"file": "@latticexyz/store/src/PackedCounter.sol",
|
|
554
554
|
"nameLocation": "-1:-1:-1",
|
|
555
|
-
"scope":
|
|
555
|
+
"scope": 60144,
|
|
556
556
|
"sourceUnit": 1706,
|
|
557
557
|
"symbolAliases": [
|
|
558
558
|
{
|
|
559
559
|
"foreign": {
|
|
560
|
-
"id":
|
|
560
|
+
"id": 59658,
|
|
561
561
|
"name": "PackedCounter",
|
|
562
562
|
"nodeType": "Identifier",
|
|
563
563
|
"overloadedDeclarations": [],
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
571
|
"foreign": {
|
|
572
|
-
"id":
|
|
572
|
+
"id": 59659,
|
|
573
573
|
"name": "PackedCounterLib",
|
|
574
574
|
"nodeType": "Identifier",
|
|
575
575
|
"overloadedDeclarations": [],
|
|
@@ -583,19 +583,19 @@
|
|
|
583
583
|
"unitAlias": ""
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
|
-
"id":
|
|
586
|
+
"id": 59662,
|
|
587
587
|
"nodeType": "ImportDirective",
|
|
588
588
|
"src": "870:48:110",
|
|
589
589
|
"nodes": [],
|
|
590
590
|
"absolutePath": "src/Types.sol",
|
|
591
591
|
"file": "./../../../Types.sol",
|
|
592
592
|
"nameLocation": "-1:-1:-1",
|
|
593
|
-
"scope":
|
|
593
|
+
"scope": 60144,
|
|
594
594
|
"sourceUnit": 56389,
|
|
595
595
|
"symbolAliases": [
|
|
596
596
|
{
|
|
597
597
|
"foreign": {
|
|
598
|
-
"id":
|
|
598
|
+
"id": 59661,
|
|
599
599
|
"name": "Resource",
|
|
600
600
|
"nodeType": "Identifier",
|
|
601
601
|
"overloadedDeclarations": [],
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
"unitAlias": ""
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
|
-
"id":
|
|
612
|
+
"id": 59681,
|
|
613
613
|
"nodeType": "VariableDeclaration",
|
|
614
614
|
"src": "920:100:110",
|
|
615
615
|
"nodes": [],
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
"mutability": "constant",
|
|
618
618
|
"name": "_tableId",
|
|
619
619
|
"nameLocation": "937:8:110",
|
|
620
|
-
"scope":
|
|
620
|
+
"scope": 60144,
|
|
621
621
|
"stateVariable": false,
|
|
622
622
|
"storageLocation": "default",
|
|
623
623
|
"typeDescriptions": {
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
"typeString": "uint256"
|
|
626
626
|
},
|
|
627
627
|
"typeName": {
|
|
628
|
-
"id":
|
|
628
|
+
"id": 59663,
|
|
629
629
|
"name": "uint256",
|
|
630
630
|
"nodeType": "ElementaryTypeName",
|
|
631
631
|
"src": "920:7:110",
|
|
@@ -644,7 +644,7 @@
|
|
|
644
644
|
"arguments": [
|
|
645
645
|
{
|
|
646
646
|
"hexValue": "",
|
|
647
|
-
"id":
|
|
647
|
+
"id": 59672,
|
|
648
648
|
"isConstant": false,
|
|
649
649
|
"isLValue": false,
|
|
650
650
|
"isPure": true,
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
"typeString": "literal_string \"\""
|
|
667
667
|
}
|
|
668
668
|
],
|
|
669
|
-
"id":
|
|
669
|
+
"id": 59671,
|
|
670
670
|
"isConstant": false,
|
|
671
671
|
"isLValue": false,
|
|
672
672
|
"isPure": true,
|
|
@@ -678,14 +678,14 @@
|
|
|
678
678
|
"typeString": "type(bytes16)"
|
|
679
679
|
},
|
|
680
680
|
"typeName": {
|
|
681
|
-
"id":
|
|
681
|
+
"id": 59670,
|
|
682
682
|
"name": "bytes16",
|
|
683
683
|
"nodeType": "ElementaryTypeName",
|
|
684
684
|
"src": "981:7:110",
|
|
685
685
|
"typeDescriptions": {}
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
|
-
"id":
|
|
688
|
+
"id": 59673,
|
|
689
689
|
"isConstant": false,
|
|
690
690
|
"isLValue": false,
|
|
691
691
|
"isPure": true,
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
"arguments": [
|
|
705
705
|
{
|
|
706
706
|
"hexValue": "5265736f7572636554797065",
|
|
707
|
-
"id":
|
|
707
|
+
"id": 59676,
|
|
708
708
|
"isConstant": false,
|
|
709
709
|
"isLValue": false,
|
|
710
710
|
"isPure": true,
|
|
@@ -726,7 +726,7 @@
|
|
|
726
726
|
"typeString": "literal_string \"ResourceType\""
|
|
727
727
|
}
|
|
728
728
|
],
|
|
729
|
-
"id":
|
|
729
|
+
"id": 59675,
|
|
730
730
|
"isConstant": false,
|
|
731
731
|
"isLValue": false,
|
|
732
732
|
"isPure": true,
|
|
@@ -738,14 +738,14 @@
|
|
|
738
738
|
"typeString": "type(bytes16)"
|
|
739
739
|
},
|
|
740
740
|
"typeName": {
|
|
741
|
-
"id":
|
|
741
|
+
"id": 59674,
|
|
742
742
|
"name": "bytes16",
|
|
743
743
|
"nodeType": "ElementaryTypeName",
|
|
744
744
|
"src": "994:7:110",
|
|
745
745
|
"typeDescriptions": {}
|
|
746
746
|
}
|
|
747
747
|
},
|
|
748
|
-
"id":
|
|
748
|
+
"id": 59677,
|
|
749
749
|
"isConstant": false,
|
|
750
750
|
"isLValue": false,
|
|
751
751
|
"isPure": true,
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
}
|
|
774
774
|
],
|
|
775
775
|
"expression": {
|
|
776
|
-
"id":
|
|
776
|
+
"id": 59668,
|
|
777
777
|
"name": "abi",
|
|
778
778
|
"nodeType": "Identifier",
|
|
779
779
|
"overloadedDeclarations": [],
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
"typeString": "abi"
|
|
785
785
|
}
|
|
786
786
|
},
|
|
787
|
-
"id":
|
|
787
|
+
"id": 59669,
|
|
788
788
|
"isConstant": false,
|
|
789
789
|
"isLValue": false,
|
|
790
790
|
"isPure": true,
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
"typeString": "function () pure returns (bytes memory)"
|
|
798
798
|
}
|
|
799
799
|
},
|
|
800
|
-
"id":
|
|
800
|
+
"id": 59678,
|
|
801
801
|
"isConstant": false,
|
|
802
802
|
"isLValue": false,
|
|
803
803
|
"isPure": true,
|
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
"typeString": "bytes memory"
|
|
821
821
|
}
|
|
822
822
|
],
|
|
823
|
-
"id":
|
|
823
|
+
"id": 59667,
|
|
824
824
|
"isConstant": false,
|
|
825
825
|
"isLValue": false,
|
|
826
826
|
"isPure": true,
|
|
@@ -832,14 +832,14 @@
|
|
|
832
832
|
"typeString": "type(bytes32)"
|
|
833
833
|
},
|
|
834
834
|
"typeName": {
|
|
835
|
-
"id":
|
|
835
|
+
"id": 59666,
|
|
836
836
|
"name": "bytes32",
|
|
837
837
|
"nodeType": "ElementaryTypeName",
|
|
838
838
|
"src": "956:7:110",
|
|
839
839
|
"typeDescriptions": {}
|
|
840
840
|
}
|
|
841
841
|
},
|
|
842
|
-
"id":
|
|
842
|
+
"id": 59679,
|
|
843
843
|
"isConstant": false,
|
|
844
844
|
"isLValue": false,
|
|
845
845
|
"isPure": true,
|
|
@@ -862,7 +862,7 @@
|
|
|
862
862
|
"typeString": "bytes32"
|
|
863
863
|
}
|
|
864
864
|
],
|
|
865
|
-
"id":
|
|
865
|
+
"id": 59665,
|
|
866
866
|
"isConstant": false,
|
|
867
867
|
"isLValue": false,
|
|
868
868
|
"isPure": true,
|
|
@@ -874,14 +874,14 @@
|
|
|
874
874
|
"typeString": "type(uint256)"
|
|
875
875
|
},
|
|
876
876
|
"typeName": {
|
|
877
|
-
"id":
|
|
877
|
+
"id": 59664,
|
|
878
878
|
"name": "uint256",
|
|
879
879
|
"nodeType": "ElementaryTypeName",
|
|
880
880
|
"src": "948:7:110",
|
|
881
881
|
"typeDescriptions": {}
|
|
882
882
|
}
|
|
883
883
|
},
|
|
884
|
-
"id":
|
|
884
|
+
"id": 59680,
|
|
885
885
|
"isConstant": false,
|
|
886
886
|
"isLValue": false,
|
|
887
887
|
"isPure": true,
|
|
@@ -899,7 +899,7 @@
|
|
|
899
899
|
"visibility": "internal"
|
|
900
900
|
},
|
|
901
901
|
{
|
|
902
|
-
"id":
|
|
902
|
+
"id": 59684,
|
|
903
903
|
"nodeType": "VariableDeclaration",
|
|
904
904
|
"src": "1022:47:110",
|
|
905
905
|
"nodes": [],
|
|
@@ -907,7 +907,7 @@
|
|
|
907
907
|
"mutability": "constant",
|
|
908
908
|
"name": "ResourceTypeTableId",
|
|
909
909
|
"nameLocation": "1039:19:110",
|
|
910
|
-
"scope":
|
|
910
|
+
"scope": 60144,
|
|
911
911
|
"stateVariable": false,
|
|
912
912
|
"storageLocation": "default",
|
|
913
913
|
"typeDescriptions": {
|
|
@@ -915,7 +915,7 @@
|
|
|
915
915
|
"typeString": "uint256"
|
|
916
916
|
},
|
|
917
917
|
"typeName": {
|
|
918
|
-
"id":
|
|
918
|
+
"id": 59682,
|
|
919
919
|
"name": "uint256",
|
|
920
920
|
"nodeType": "ElementaryTypeName",
|
|
921
921
|
"src": "1022:7:110",
|
|
@@ -925,11 +925,11 @@
|
|
|
925
925
|
}
|
|
926
926
|
},
|
|
927
927
|
"value": {
|
|
928
|
-
"id":
|
|
928
|
+
"id": 59683,
|
|
929
929
|
"name": "_tableId",
|
|
930
930
|
"nodeType": "Identifier",
|
|
931
931
|
"overloadedDeclarations": [],
|
|
932
|
-
"referencedDeclaration":
|
|
932
|
+
"referencedDeclaration": 59681,
|
|
933
933
|
"src": "1061:8:110",
|
|
934
934
|
"typeDescriptions": {
|
|
935
935
|
"typeIdentifier": "t_uint256",
|
|
@@ -939,34 +939,34 @@
|
|
|
939
939
|
"visibility": "internal"
|
|
940
940
|
},
|
|
941
941
|
{
|
|
942
|
-
"id":
|
|
942
|
+
"id": 60143,
|
|
943
943
|
"nodeType": "ContractDefinition",
|
|
944
944
|
"src": "1072:3641:110",
|
|
945
945
|
"nodes": [
|
|
946
946
|
{
|
|
947
|
-
"id":
|
|
947
|
+
"id": 59716,
|
|
948
948
|
"nodeType": "FunctionDefinition",
|
|
949
949
|
"src": "1129:186:110",
|
|
950
950
|
"nodes": [],
|
|
951
951
|
"body": {
|
|
952
|
-
"id":
|
|
952
|
+
"id": 59715,
|
|
953
953
|
"nodeType": "Block",
|
|
954
954
|
"src": "1181:134:110",
|
|
955
955
|
"nodes": [],
|
|
956
956
|
"statements": [
|
|
957
957
|
{
|
|
958
958
|
"assignments": [
|
|
959
|
-
|
|
959
|
+
59695
|
|
960
960
|
],
|
|
961
961
|
"declarations": [
|
|
962
962
|
{
|
|
963
963
|
"constant": false,
|
|
964
|
-
"id":
|
|
964
|
+
"id": 59695,
|
|
965
965
|
"mutability": "mutable",
|
|
966
966
|
"name": "_schema",
|
|
967
967
|
"nameLocation": "1207:7:110",
|
|
968
968
|
"nodeType": "VariableDeclaration",
|
|
969
|
-
"scope":
|
|
969
|
+
"scope": 59715,
|
|
970
970
|
"src": "1187:27:110",
|
|
971
971
|
"stateVariable": false,
|
|
972
972
|
"storageLocation": "memory",
|
|
@@ -976,10 +976,10 @@
|
|
|
976
976
|
},
|
|
977
977
|
"typeName": {
|
|
978
978
|
"baseType": {
|
|
979
|
-
"id":
|
|
979
|
+
"id": 59693,
|
|
980
980
|
"nodeType": "UserDefinedTypeName",
|
|
981
981
|
"pathNode": {
|
|
982
|
-
"id":
|
|
982
|
+
"id": 59692,
|
|
983
983
|
"name": "SchemaType",
|
|
984
984
|
"nodeType": "IdentifierPath",
|
|
985
985
|
"referencedDeclaration": 204,
|
|
@@ -992,7 +992,7 @@
|
|
|
992
992
|
"typeString": "enum SchemaType"
|
|
993
993
|
}
|
|
994
994
|
},
|
|
995
|
-
"id":
|
|
995
|
+
"id": 59694,
|
|
996
996
|
"nodeType": "ArrayTypeName",
|
|
997
997
|
"src": "1187:12:110",
|
|
998
998
|
"typeDescriptions": {
|
|
@@ -1003,12 +1003,12 @@
|
|
|
1003
1003
|
"visibility": "internal"
|
|
1004
1004
|
}
|
|
1005
1005
|
],
|
|
1006
|
-
"id":
|
|
1006
|
+
"id": 59702,
|
|
1007
1007
|
"initialValue": {
|
|
1008
1008
|
"arguments": [
|
|
1009
1009
|
{
|
|
1010
1010
|
"hexValue": "31",
|
|
1011
|
-
"id":
|
|
1011
|
+
"id": 59700,
|
|
1012
1012
|
"isConstant": false,
|
|
1013
1013
|
"isLValue": false,
|
|
1014
1014
|
"isPure": true,
|
|
@@ -1030,7 +1030,7 @@
|
|
|
1030
1030
|
"typeString": "int_const 1"
|
|
1031
1031
|
}
|
|
1032
1032
|
],
|
|
1033
|
-
"id":
|
|
1033
|
+
"id": 59699,
|
|
1034
1034
|
"isConstant": false,
|
|
1035
1035
|
"isLValue": false,
|
|
1036
1036
|
"isPure": true,
|
|
@@ -1043,10 +1043,10 @@
|
|
|
1043
1043
|
},
|
|
1044
1044
|
"typeName": {
|
|
1045
1045
|
"baseType": {
|
|
1046
|
-
"id":
|
|
1046
|
+
"id": 59697,
|
|
1047
1047
|
"nodeType": "UserDefinedTypeName",
|
|
1048
1048
|
"pathNode": {
|
|
1049
|
-
"id":
|
|
1049
|
+
"id": 59696,
|
|
1050
1050
|
"name": "SchemaType",
|
|
1051
1051
|
"nodeType": "IdentifierPath",
|
|
1052
1052
|
"referencedDeclaration": 204,
|
|
@@ -1059,7 +1059,7 @@
|
|
|
1059
1059
|
"typeString": "enum SchemaType"
|
|
1060
1060
|
}
|
|
1061
1061
|
},
|
|
1062
|
-
"id":
|
|
1062
|
+
"id": 59698,
|
|
1063
1063
|
"nodeType": "ArrayTypeName",
|
|
1064
1064
|
"src": "1221:12:110",
|
|
1065
1065
|
"typeDescriptions": {
|
|
@@ -1068,7 +1068,7 @@
|
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
},
|
|
1071
|
-
"id":
|
|
1071
|
+
"id": 59701,
|
|
1072
1072
|
"isConstant": false,
|
|
1073
1073
|
"isLValue": false,
|
|
1074
1074
|
"isPure": true,
|
|
@@ -1088,28 +1088,28 @@
|
|
|
1088
1088
|
},
|
|
1089
1089
|
{
|
|
1090
1090
|
"expression": {
|
|
1091
|
-
"id":
|
|
1091
|
+
"id": 59708,
|
|
1092
1092
|
"isConstant": false,
|
|
1093
1093
|
"isLValue": false,
|
|
1094
1094
|
"isPure": false,
|
|
1095
1095
|
"lValueRequested": false,
|
|
1096
1096
|
"leftHandSide": {
|
|
1097
1097
|
"baseExpression": {
|
|
1098
|
-
"id":
|
|
1098
|
+
"id": 59703,
|
|
1099
1099
|
"name": "_schema",
|
|
1100
1100
|
"nodeType": "Identifier",
|
|
1101
1101
|
"overloadedDeclarations": [],
|
|
1102
|
-
"referencedDeclaration":
|
|
1102
|
+
"referencedDeclaration": 59695,
|
|
1103
1103
|
"src": "1242:7:110",
|
|
1104
1104
|
"typeDescriptions": {
|
|
1105
1105
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr",
|
|
1106
1106
|
"typeString": "enum SchemaType[] memory"
|
|
1107
1107
|
}
|
|
1108
1108
|
},
|
|
1109
|
-
"id":
|
|
1109
|
+
"id": 59705,
|
|
1110
1110
|
"indexExpression": {
|
|
1111
1111
|
"hexValue": "30",
|
|
1112
|
-
"id":
|
|
1112
|
+
"id": 59704,
|
|
1113
1113
|
"isConstant": false,
|
|
1114
1114
|
"isLValue": false,
|
|
1115
1115
|
"isPure": true,
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
"operator": "=",
|
|
1139
1139
|
"rightHandSide": {
|
|
1140
1140
|
"expression": {
|
|
1141
|
-
"id":
|
|
1141
|
+
"id": 59706,
|
|
1142
1142
|
"name": "SchemaType",
|
|
1143
1143
|
"nodeType": "Identifier",
|
|
1144
1144
|
"overloadedDeclarations": [],
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
"typeString": "type(enum SchemaType)"
|
|
1150
1150
|
}
|
|
1151
1151
|
},
|
|
1152
|
-
"id":
|
|
1152
|
+
"id": 59707,
|
|
1153
1153
|
"isConstant": false,
|
|
1154
1154
|
"isLValue": false,
|
|
1155
1155
|
"isPure": true,
|
|
@@ -1169,7 +1169,7 @@
|
|
|
1169
1169
|
"typeString": "enum SchemaType"
|
|
1170
1170
|
}
|
|
1171
1171
|
},
|
|
1172
|
-
"id":
|
|
1172
|
+
"id": 59709,
|
|
1173
1173
|
"nodeType": "ExpressionStatement",
|
|
1174
1174
|
"src": "1242:29:110"
|
|
1175
1175
|
},
|
|
@@ -1177,11 +1177,11 @@
|
|
|
1177
1177
|
"expression": {
|
|
1178
1178
|
"arguments": [
|
|
1179
1179
|
{
|
|
1180
|
-
"id":
|
|
1180
|
+
"id": 59712,
|
|
1181
1181
|
"name": "_schema",
|
|
1182
1182
|
"nodeType": "Identifier",
|
|
1183
1183
|
"overloadedDeclarations": [],
|
|
1184
|
-
"referencedDeclaration":
|
|
1184
|
+
"referencedDeclaration": 59695,
|
|
1185
1185
|
"src": "1302:7:110",
|
|
1186
1186
|
"typeDescriptions": {
|
|
1187
1187
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr",
|
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
}
|
|
1198
1198
|
],
|
|
1199
1199
|
"expression": {
|
|
1200
|
-
"id":
|
|
1200
|
+
"id": 59710,
|
|
1201
1201
|
"name": "SchemaLib",
|
|
1202
1202
|
"nodeType": "Identifier",
|
|
1203
1203
|
"overloadedDeclarations": [],
|
|
@@ -1208,7 +1208,7 @@
|
|
|
1208
1208
|
"typeString": "type(library SchemaLib)"
|
|
1209
1209
|
}
|
|
1210
1210
|
},
|
|
1211
|
-
"id":
|
|
1211
|
+
"id": 59711,
|
|
1212
1212
|
"isConstant": false,
|
|
1213
1213
|
"isLValue": false,
|
|
1214
1214
|
"isPure": false,
|
|
@@ -1222,7 +1222,7 @@
|
|
|
1222
1222
|
"typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
|
|
1223
1223
|
}
|
|
1224
1224
|
},
|
|
1225
|
-
"id":
|
|
1225
|
+
"id": 59713,
|
|
1226
1226
|
"isConstant": false,
|
|
1227
1227
|
"isLValue": false,
|
|
1228
1228
|
"isPure": false,
|
|
@@ -1237,15 +1237,15 @@
|
|
|
1237
1237
|
"typeString": "Schema"
|
|
1238
1238
|
}
|
|
1239
1239
|
},
|
|
1240
|
-
"functionReturnParameters":
|
|
1241
|
-
"id":
|
|
1240
|
+
"functionReturnParameters": 59690,
|
|
1241
|
+
"id": 59714,
|
|
1242
1242
|
"nodeType": "Return",
|
|
1243
1243
|
"src": "1278:32:110"
|
|
1244
1244
|
}
|
|
1245
1245
|
]
|
|
1246
1246
|
},
|
|
1247
1247
|
"documentation": {
|
|
1248
|
-
"id":
|
|
1248
|
+
"id": 59685,
|
|
1249
1249
|
"nodeType": "StructuredDocumentation",
|
|
1250
1250
|
"src": "1097:29:110",
|
|
1251
1251
|
"text": "Get the table's schema "
|
|
@@ -1256,23 +1256,23 @@
|
|
|
1256
1256
|
"name": "getSchema",
|
|
1257
1257
|
"nameLocation": "1138:9:110",
|
|
1258
1258
|
"parameters": {
|
|
1259
|
-
"id":
|
|
1259
|
+
"id": 59686,
|
|
1260
1260
|
"nodeType": "ParameterList",
|
|
1261
1261
|
"parameters": [],
|
|
1262
1262
|
"src": "1147:2:110"
|
|
1263
1263
|
},
|
|
1264
1264
|
"returnParameters": {
|
|
1265
|
-
"id":
|
|
1265
|
+
"id": 59690,
|
|
1266
1266
|
"nodeType": "ParameterList",
|
|
1267
1267
|
"parameters": [
|
|
1268
1268
|
{
|
|
1269
1269
|
"constant": false,
|
|
1270
|
-
"id":
|
|
1270
|
+
"id": 59689,
|
|
1271
1271
|
"mutability": "mutable",
|
|
1272
1272
|
"name": "",
|
|
1273
1273
|
"nameLocation": "-1:-1:-1",
|
|
1274
1274
|
"nodeType": "VariableDeclaration",
|
|
1275
|
-
"scope":
|
|
1275
|
+
"scope": 59716,
|
|
1276
1276
|
"src": "1173:6:110",
|
|
1277
1277
|
"stateVariable": false,
|
|
1278
1278
|
"storageLocation": "default",
|
|
@@ -1281,10 +1281,10 @@
|
|
|
1281
1281
|
"typeString": "Schema"
|
|
1282
1282
|
},
|
|
1283
1283
|
"typeName": {
|
|
1284
|
-
"id":
|
|
1284
|
+
"id": 59688,
|
|
1285
1285
|
"nodeType": "UserDefinedTypeName",
|
|
1286
1286
|
"pathNode": {
|
|
1287
|
-
"id":
|
|
1287
|
+
"id": 59687,
|
|
1288
1288
|
"name": "Schema",
|
|
1289
1289
|
"nodeType": "IdentifierPath",
|
|
1290
1290
|
"referencedDeclaration": 1713,
|
|
@@ -1302,35 +1302,35 @@
|
|
|
1302
1302
|
],
|
|
1303
1303
|
"src": "1172:8:110"
|
|
1304
1304
|
},
|
|
1305
|
-
"scope":
|
|
1305
|
+
"scope": 60143,
|
|
1306
1306
|
"stateMutability": "pure",
|
|
1307
1307
|
"virtual": false,
|
|
1308
1308
|
"visibility": "internal"
|
|
1309
1309
|
},
|
|
1310
1310
|
{
|
|
1311
|
-
"id":
|
|
1311
|
+
"id": 59747,
|
|
1312
1312
|
"nodeType": "FunctionDefinition",
|
|
1313
1313
|
"src": "1319:191:110",
|
|
1314
1314
|
"nodes": [],
|
|
1315
1315
|
"body": {
|
|
1316
|
-
"id":
|
|
1316
|
+
"id": 59746,
|
|
1317
1317
|
"nodeType": "Block",
|
|
1318
1318
|
"src": "1374:136:110",
|
|
1319
1319
|
"nodes": [],
|
|
1320
1320
|
"statements": [
|
|
1321
1321
|
{
|
|
1322
1322
|
"assignments": [
|
|
1323
|
-
|
|
1323
|
+
59726
|
|
1324
1324
|
],
|
|
1325
1325
|
"declarations": [
|
|
1326
1326
|
{
|
|
1327
1327
|
"constant": false,
|
|
1328
|
-
"id":
|
|
1328
|
+
"id": 59726,
|
|
1329
1329
|
"mutability": "mutable",
|
|
1330
1330
|
"name": "_schema",
|
|
1331
1331
|
"nameLocation": "1400:7:110",
|
|
1332
1332
|
"nodeType": "VariableDeclaration",
|
|
1333
|
-
"scope":
|
|
1333
|
+
"scope": 59746,
|
|
1334
1334
|
"src": "1380:27:110",
|
|
1335
1335
|
"stateVariable": false,
|
|
1336
1336
|
"storageLocation": "memory",
|
|
@@ -1340,10 +1340,10 @@
|
|
|
1340
1340
|
},
|
|
1341
1341
|
"typeName": {
|
|
1342
1342
|
"baseType": {
|
|
1343
|
-
"id":
|
|
1343
|
+
"id": 59724,
|
|
1344
1344
|
"nodeType": "UserDefinedTypeName",
|
|
1345
1345
|
"pathNode": {
|
|
1346
|
-
"id":
|
|
1346
|
+
"id": 59723,
|
|
1347
1347
|
"name": "SchemaType",
|
|
1348
1348
|
"nodeType": "IdentifierPath",
|
|
1349
1349
|
"referencedDeclaration": 204,
|
|
@@ -1356,7 +1356,7 @@
|
|
|
1356
1356
|
"typeString": "enum SchemaType"
|
|
1357
1357
|
}
|
|
1358
1358
|
},
|
|
1359
|
-
"id":
|
|
1359
|
+
"id": 59725,
|
|
1360
1360
|
"nodeType": "ArrayTypeName",
|
|
1361
1361
|
"src": "1380:12:110",
|
|
1362
1362
|
"typeDescriptions": {
|
|
@@ -1367,12 +1367,12 @@
|
|
|
1367
1367
|
"visibility": "internal"
|
|
1368
1368
|
}
|
|
1369
1369
|
],
|
|
1370
|
-
"id":
|
|
1370
|
+
"id": 59733,
|
|
1371
1371
|
"initialValue": {
|
|
1372
1372
|
"arguments": [
|
|
1373
1373
|
{
|
|
1374
1374
|
"hexValue": "31",
|
|
1375
|
-
"id":
|
|
1375
|
+
"id": 59731,
|
|
1376
1376
|
"isConstant": false,
|
|
1377
1377
|
"isLValue": false,
|
|
1378
1378
|
"isPure": true,
|
|
@@ -1394,7 +1394,7 @@
|
|
|
1394
1394
|
"typeString": "int_const 1"
|
|
1395
1395
|
}
|
|
1396
1396
|
],
|
|
1397
|
-
"id":
|
|
1397
|
+
"id": 59730,
|
|
1398
1398
|
"isConstant": false,
|
|
1399
1399
|
"isLValue": false,
|
|
1400
1400
|
"isPure": true,
|
|
@@ -1407,10 +1407,10 @@
|
|
|
1407
1407
|
},
|
|
1408
1408
|
"typeName": {
|
|
1409
1409
|
"baseType": {
|
|
1410
|
-
"id":
|
|
1410
|
+
"id": 59728,
|
|
1411
1411
|
"nodeType": "UserDefinedTypeName",
|
|
1412
1412
|
"pathNode": {
|
|
1413
|
-
"id":
|
|
1413
|
+
"id": 59727,
|
|
1414
1414
|
"name": "SchemaType",
|
|
1415
1415
|
"nodeType": "IdentifierPath",
|
|
1416
1416
|
"referencedDeclaration": 204,
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
"typeString": "enum SchemaType"
|
|
1424
1424
|
}
|
|
1425
1425
|
},
|
|
1426
|
-
"id":
|
|
1426
|
+
"id": 59729,
|
|
1427
1427
|
"nodeType": "ArrayTypeName",
|
|
1428
1428
|
"src": "1414:12:110",
|
|
1429
1429
|
"typeDescriptions": {
|
|
@@ -1432,7 +1432,7 @@
|
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
1434
|
},
|
|
1435
|
-
"id":
|
|
1435
|
+
"id": 59732,
|
|
1436
1436
|
"isConstant": false,
|
|
1437
1437
|
"isLValue": false,
|
|
1438
1438
|
"isPure": true,
|
|
@@ -1452,28 +1452,28 @@
|
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
1454
|
"expression": {
|
|
1455
|
-
"id":
|
|
1455
|
+
"id": 59739,
|
|
1456
1456
|
"isConstant": false,
|
|
1457
1457
|
"isLValue": false,
|
|
1458
1458
|
"isPure": false,
|
|
1459
1459
|
"lValueRequested": false,
|
|
1460
1460
|
"leftHandSide": {
|
|
1461
1461
|
"baseExpression": {
|
|
1462
|
-
"id":
|
|
1462
|
+
"id": 59734,
|
|
1463
1463
|
"name": "_schema",
|
|
1464
1464
|
"nodeType": "Identifier",
|
|
1465
1465
|
"overloadedDeclarations": [],
|
|
1466
|
-
"referencedDeclaration":
|
|
1466
|
+
"referencedDeclaration": 59726,
|
|
1467
1467
|
"src": "1435:7:110",
|
|
1468
1468
|
"typeDescriptions": {
|
|
1469
1469
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr",
|
|
1470
1470
|
"typeString": "enum SchemaType[] memory"
|
|
1471
1471
|
}
|
|
1472
1472
|
},
|
|
1473
|
-
"id":
|
|
1473
|
+
"id": 59736,
|
|
1474
1474
|
"indexExpression": {
|
|
1475
1475
|
"hexValue": "30",
|
|
1476
|
-
"id":
|
|
1476
|
+
"id": 59735,
|
|
1477
1477
|
"isConstant": false,
|
|
1478
1478
|
"isLValue": false,
|
|
1479
1479
|
"isPure": true,
|
|
@@ -1502,7 +1502,7 @@
|
|
|
1502
1502
|
"operator": "=",
|
|
1503
1503
|
"rightHandSide": {
|
|
1504
1504
|
"expression": {
|
|
1505
|
-
"id":
|
|
1505
|
+
"id": 59737,
|
|
1506
1506
|
"name": "SchemaType",
|
|
1507
1507
|
"nodeType": "Identifier",
|
|
1508
1508
|
"overloadedDeclarations": [],
|
|
@@ -1513,7 +1513,7 @@
|
|
|
1513
1513
|
"typeString": "type(enum SchemaType)"
|
|
1514
1514
|
}
|
|
1515
1515
|
},
|
|
1516
|
-
"id":
|
|
1516
|
+
"id": 59738,
|
|
1517
1517
|
"isConstant": false,
|
|
1518
1518
|
"isLValue": false,
|
|
1519
1519
|
"isPure": true,
|
|
@@ -1533,7 +1533,7 @@
|
|
|
1533
1533
|
"typeString": "enum SchemaType"
|
|
1534
1534
|
}
|
|
1535
1535
|
},
|
|
1536
|
-
"id":
|
|
1536
|
+
"id": 59740,
|
|
1537
1537
|
"nodeType": "ExpressionStatement",
|
|
1538
1538
|
"src": "1435:31:110"
|
|
1539
1539
|
},
|
|
@@ -1541,11 +1541,11 @@
|
|
|
1541
1541
|
"expression": {
|
|
1542
1542
|
"arguments": [
|
|
1543
1543
|
{
|
|
1544
|
-
"id":
|
|
1544
|
+
"id": 59743,
|
|
1545
1545
|
"name": "_schema",
|
|
1546
1546
|
"nodeType": "Identifier",
|
|
1547
1547
|
"overloadedDeclarations": [],
|
|
1548
|
-
"referencedDeclaration":
|
|
1548
|
+
"referencedDeclaration": 59726,
|
|
1549
1549
|
"src": "1497:7:110",
|
|
1550
1550
|
"typeDescriptions": {
|
|
1551
1551
|
"typeIdentifier": "t_array$_t_enum$_SchemaType_$204_$dyn_memory_ptr",
|
|
@@ -1561,7 +1561,7 @@
|
|
|
1561
1561
|
}
|
|
1562
1562
|
],
|
|
1563
1563
|
"expression": {
|
|
1564
|
-
"id":
|
|
1564
|
+
"id": 59741,
|
|
1565
1565
|
"name": "SchemaLib",
|
|
1566
1566
|
"nodeType": "Identifier",
|
|
1567
1567
|
"overloadedDeclarations": [],
|
|
@@ -1572,7 +1572,7 @@
|
|
|
1572
1572
|
"typeString": "type(library SchemaLib)"
|
|
1573
1573
|
}
|
|
1574
1574
|
},
|
|
1575
|
-
"id":
|
|
1575
|
+
"id": 59742,
|
|
1576
1576
|
"isConstant": false,
|
|
1577
1577
|
"isLValue": false,
|
|
1578
1578
|
"isPure": false,
|
|
@@ -1586,7 +1586,7 @@
|
|
|
1586
1586
|
"typeString": "function (enum SchemaType[] memory) pure returns (Schema)"
|
|
1587
1587
|
}
|
|
1588
1588
|
},
|
|
1589
|
-
"id":
|
|
1589
|
+
"id": 59744,
|
|
1590
1590
|
"isConstant": false,
|
|
1591
1591
|
"isLValue": false,
|
|
1592
1592
|
"isPure": false,
|
|
@@ -1601,8 +1601,8 @@
|
|
|
1601
1601
|
"typeString": "Schema"
|
|
1602
1602
|
}
|
|
1603
1603
|
},
|
|
1604
|
-
"functionReturnParameters":
|
|
1605
|
-
"id":
|
|
1604
|
+
"functionReturnParameters": 59721,
|
|
1605
|
+
"id": 59745,
|
|
1606
1606
|
"nodeType": "Return",
|
|
1607
1607
|
"src": "1473:32:110"
|
|
1608
1608
|
}
|
|
@@ -1614,23 +1614,23 @@
|
|
|
1614
1614
|
"name": "getKeySchema",
|
|
1615
1615
|
"nameLocation": "1328:12:110",
|
|
1616
1616
|
"parameters": {
|
|
1617
|
-
"id":
|
|
1617
|
+
"id": 59717,
|
|
1618
1618
|
"nodeType": "ParameterList",
|
|
1619
1619
|
"parameters": [],
|
|
1620
1620
|
"src": "1340:2:110"
|
|
1621
1621
|
},
|
|
1622
1622
|
"returnParameters": {
|
|
1623
|
-
"id":
|
|
1623
|
+
"id": 59721,
|
|
1624
1624
|
"nodeType": "ParameterList",
|
|
1625
1625
|
"parameters": [
|
|
1626
1626
|
{
|
|
1627
1627
|
"constant": false,
|
|
1628
|
-
"id":
|
|
1628
|
+
"id": 59720,
|
|
1629
1629
|
"mutability": "mutable",
|
|
1630
1630
|
"name": "",
|
|
1631
1631
|
"nameLocation": "-1:-1:-1",
|
|
1632
1632
|
"nodeType": "VariableDeclaration",
|
|
1633
|
-
"scope":
|
|
1633
|
+
"scope": 59747,
|
|
1634
1634
|
"src": "1366:6:110",
|
|
1635
1635
|
"stateVariable": false,
|
|
1636
1636
|
"storageLocation": "default",
|
|
@@ -1639,10 +1639,10 @@
|
|
|
1639
1639
|
"typeString": "Schema"
|
|
1640
1640
|
},
|
|
1641
1641
|
"typeName": {
|
|
1642
|
-
"id":
|
|
1642
|
+
"id": 59719,
|
|
1643
1643
|
"nodeType": "UserDefinedTypeName",
|
|
1644
1644
|
"pathNode": {
|
|
1645
|
-
"id":
|
|
1645
|
+
"id": 59718,
|
|
1646
1646
|
"name": "Schema",
|
|
1647
1647
|
"nodeType": "IdentifierPath",
|
|
1648
1648
|
"referencedDeclaration": 1713,
|
|
@@ -1660,35 +1660,35 @@
|
|
|
1660
1660
|
],
|
|
1661
1661
|
"src": "1365:8:110"
|
|
1662
1662
|
},
|
|
1663
|
-
"scope":
|
|
1663
|
+
"scope": 60143,
|
|
1664
1664
|
"stateMutability": "pure",
|
|
1665
1665
|
"virtual": false,
|
|
1666
1666
|
"visibility": "internal"
|
|
1667
1667
|
},
|
|
1668
1668
|
{
|
|
1669
|
-
"id":
|
|
1669
|
+
"id": 59778,
|
|
1670
1670
|
"nodeType": "FunctionDefinition",
|
|
1671
1671
|
"src": "1548:213:110",
|
|
1672
1672
|
"nodes": [],
|
|
1673
1673
|
"body": {
|
|
1674
|
-
"id":
|
|
1674
|
+
"id": 59777,
|
|
1675
1675
|
"nodeType": "Block",
|
|
1676
1676
|
"src": "1626:135:110",
|
|
1677
1677
|
"nodes": [],
|
|
1678
1678
|
"statements": [
|
|
1679
1679
|
{
|
|
1680
1680
|
"assignments": [
|
|
1681
|
-
|
|
1681
|
+
59760
|
|
1682
1682
|
],
|
|
1683
1683
|
"declarations": [
|
|
1684
1684
|
{
|
|
1685
1685
|
"constant": false,
|
|
1686
|
-
"id":
|
|
1686
|
+
"id": 59760,
|
|
1687
1687
|
"mutability": "mutable",
|
|
1688
1688
|
"name": "_fieldNames",
|
|
1689
1689
|
"nameLocation": "1648:11:110",
|
|
1690
1690
|
"nodeType": "VariableDeclaration",
|
|
1691
|
-
"scope":
|
|
1691
|
+
"scope": 59777,
|
|
1692
1692
|
"src": "1632:27:110",
|
|
1693
1693
|
"stateVariable": false,
|
|
1694
1694
|
"storageLocation": "memory",
|
|
@@ -1698,7 +1698,7 @@
|
|
|
1698
1698
|
},
|
|
1699
1699
|
"typeName": {
|
|
1700
1700
|
"baseType": {
|
|
1701
|
-
"id":
|
|
1701
|
+
"id": 59758,
|
|
1702
1702
|
"name": "string",
|
|
1703
1703
|
"nodeType": "ElementaryTypeName",
|
|
1704
1704
|
"src": "1632:6:110",
|
|
@@ -1707,7 +1707,7 @@
|
|
|
1707
1707
|
"typeString": "string"
|
|
1708
1708
|
}
|
|
1709
1709
|
},
|
|
1710
|
-
"id":
|
|
1710
|
+
"id": 59759,
|
|
1711
1711
|
"nodeType": "ArrayTypeName",
|
|
1712
1712
|
"src": "1632:8:110",
|
|
1713
1713
|
"typeDescriptions": {
|
|
@@ -1718,12 +1718,12 @@
|
|
|
1718
1718
|
"visibility": "internal"
|
|
1719
1719
|
}
|
|
1720
1720
|
],
|
|
1721
|
-
"id":
|
|
1721
|
+
"id": 59766,
|
|
1722
1722
|
"initialValue": {
|
|
1723
1723
|
"arguments": [
|
|
1724
1724
|
{
|
|
1725
1725
|
"hexValue": "31",
|
|
1726
|
-
"id":
|
|
1726
|
+
"id": 59764,
|
|
1727
1727
|
"isConstant": false,
|
|
1728
1728
|
"isLValue": false,
|
|
1729
1729
|
"isPure": true,
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
"typeString": "int_const 1"
|
|
1746
1746
|
}
|
|
1747
1747
|
],
|
|
1748
|
-
"id":
|
|
1748
|
+
"id": 59763,
|
|
1749
1749
|
"isConstant": false,
|
|
1750
1750
|
"isLValue": false,
|
|
1751
1751
|
"isPure": true,
|
|
@@ -1758,7 +1758,7 @@
|
|
|
1758
1758
|
},
|
|
1759
1759
|
"typeName": {
|
|
1760
1760
|
"baseType": {
|
|
1761
|
-
"id":
|
|
1761
|
+
"id": 59761,
|
|
1762
1762
|
"name": "string",
|
|
1763
1763
|
"nodeType": "ElementaryTypeName",
|
|
1764
1764
|
"src": "1666:6:110",
|
|
@@ -1767,7 +1767,7 @@
|
|
|
1767
1767
|
"typeString": "string"
|
|
1768
1768
|
}
|
|
1769
1769
|
},
|
|
1770
|
-
"id":
|
|
1770
|
+
"id": 59762,
|
|
1771
1771
|
"nodeType": "ArrayTypeName",
|
|
1772
1772
|
"src": "1666:8:110",
|
|
1773
1773
|
"typeDescriptions": {
|
|
@@ -1776,7 +1776,7 @@
|
|
|
1776
1776
|
}
|
|
1777
1777
|
}
|
|
1778
1778
|
},
|
|
1779
|
-
"id":
|
|
1779
|
+
"id": 59765,
|
|
1780
1780
|
"isConstant": false,
|
|
1781
1781
|
"isLValue": false,
|
|
1782
1782
|
"isPure": true,
|
|
@@ -1796,28 +1796,28 @@
|
|
|
1796
1796
|
},
|
|
1797
1797
|
{
|
|
1798
1798
|
"expression": {
|
|
1799
|
-
"id":
|
|
1799
|
+
"id": 59771,
|
|
1800
1800
|
"isConstant": false,
|
|
1801
1801
|
"isLValue": false,
|
|
1802
1802
|
"isPure": false,
|
|
1803
1803
|
"lValueRequested": false,
|
|
1804
1804
|
"leftHandSide": {
|
|
1805
1805
|
"baseExpression": {
|
|
1806
|
-
"id":
|
|
1806
|
+
"id": 59767,
|
|
1807
1807
|
"name": "_fieldNames",
|
|
1808
1808
|
"nodeType": "Identifier",
|
|
1809
1809
|
"overloadedDeclarations": [],
|
|
1810
|
-
"referencedDeclaration":
|
|
1810
|
+
"referencedDeclaration": 59760,
|
|
1811
1811
|
"src": "1683:11:110",
|
|
1812
1812
|
"typeDescriptions": {
|
|
1813
1813
|
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
1814
1814
|
"typeString": "string memory[] memory"
|
|
1815
1815
|
}
|
|
1816
1816
|
},
|
|
1817
|
-
"id":
|
|
1817
|
+
"id": 59769,
|
|
1818
1818
|
"indexExpression": {
|
|
1819
1819
|
"hexValue": "30",
|
|
1820
|
-
"id":
|
|
1820
|
+
"id": 59768,
|
|
1821
1821
|
"isConstant": false,
|
|
1822
1822
|
"isLValue": false,
|
|
1823
1823
|
"isPure": true,
|
|
@@ -1846,7 +1846,7 @@
|
|
|
1846
1846
|
"operator": "=",
|
|
1847
1847
|
"rightHandSide": {
|
|
1848
1848
|
"hexValue": "7265736f7572636554797065",
|
|
1849
|
-
"id":
|
|
1849
|
+
"id": 59770,
|
|
1850
1850
|
"isConstant": false,
|
|
1851
1851
|
"isLValue": false,
|
|
1852
1852
|
"isPure": true,
|
|
@@ -1866,7 +1866,7 @@
|
|
|
1866
1866
|
"typeString": "string memory"
|
|
1867
1867
|
}
|
|
1868
1868
|
},
|
|
1869
|
-
"id":
|
|
1869
|
+
"id": 59772,
|
|
1870
1870
|
"nodeType": "ExpressionStatement",
|
|
1871
1871
|
"src": "1683:31:110"
|
|
1872
1872
|
},
|
|
@@ -1875,7 +1875,7 @@
|
|
|
1875
1875
|
"components": [
|
|
1876
1876
|
{
|
|
1877
1877
|
"hexValue": "5265736f7572636554797065",
|
|
1878
|
-
"id":
|
|
1878
|
+
"id": 59773,
|
|
1879
1879
|
"isConstant": false,
|
|
1880
1880
|
"isLValue": false,
|
|
1881
1881
|
"isPure": true,
|
|
@@ -1890,11 +1890,11 @@
|
|
|
1890
1890
|
"value": "ResourceType"
|
|
1891
1891
|
},
|
|
1892
1892
|
{
|
|
1893
|
-
"id":
|
|
1893
|
+
"id": 59774,
|
|
1894
1894
|
"name": "_fieldNames",
|
|
1895
1895
|
"nodeType": "Identifier",
|
|
1896
1896
|
"overloadedDeclarations": [],
|
|
1897
|
-
"referencedDeclaration":
|
|
1897
|
+
"referencedDeclaration": 59760,
|
|
1898
1898
|
"src": "1744:11:110",
|
|
1899
1899
|
"typeDescriptions": {
|
|
1900
1900
|
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
@@ -1902,7 +1902,7 @@
|
|
|
1902
1902
|
}
|
|
1903
1903
|
}
|
|
1904
1904
|
],
|
|
1905
|
-
"id":
|
|
1905
|
+
"id": 59775,
|
|
1906
1906
|
"isConstant": false,
|
|
1907
1907
|
"isInlineArray": false,
|
|
1908
1908
|
"isLValue": false,
|
|
@@ -1915,15 +1915,15 @@
|
|
|
1915
1915
|
"typeString": "tuple(literal_string \"ResourceType\",string memory[] memory)"
|
|
1916
1916
|
}
|
|
1917
1917
|
},
|
|
1918
|
-
"functionReturnParameters":
|
|
1919
|
-
"id":
|
|
1918
|
+
"functionReturnParameters": 59755,
|
|
1919
|
+
"id": 59776,
|
|
1920
1920
|
"nodeType": "Return",
|
|
1921
1921
|
"src": "1720:36:110"
|
|
1922
1922
|
}
|
|
1923
1923
|
]
|
|
1924
1924
|
},
|
|
1925
1925
|
"documentation": {
|
|
1926
|
-
"id":
|
|
1926
|
+
"id": 59748,
|
|
1927
1927
|
"nodeType": "StructuredDocumentation",
|
|
1928
1928
|
"src": "1514:31:110",
|
|
1929
1929
|
"text": "Get the table's metadata "
|
|
@@ -1934,23 +1934,23 @@
|
|
|
1934
1934
|
"name": "getMetadata",
|
|
1935
1935
|
"nameLocation": "1557:11:110",
|
|
1936
1936
|
"parameters": {
|
|
1937
|
-
"id":
|
|
1937
|
+
"id": 59749,
|
|
1938
1938
|
"nodeType": "ParameterList",
|
|
1939
1939
|
"parameters": [],
|
|
1940
1940
|
"src": "1568:2:110"
|
|
1941
1941
|
},
|
|
1942
1942
|
"returnParameters": {
|
|
1943
|
-
"id":
|
|
1943
|
+
"id": 59755,
|
|
1944
1944
|
"nodeType": "ParameterList",
|
|
1945
1945
|
"parameters": [
|
|
1946
1946
|
{
|
|
1947
1947
|
"constant": false,
|
|
1948
|
-
"id":
|
|
1948
|
+
"id": 59751,
|
|
1949
1949
|
"mutability": "mutable",
|
|
1950
1950
|
"name": "",
|
|
1951
1951
|
"nameLocation": "-1:-1:-1",
|
|
1952
1952
|
"nodeType": "VariableDeclaration",
|
|
1953
|
-
"scope":
|
|
1953
|
+
"scope": 59778,
|
|
1954
1954
|
"src": "1594:13:110",
|
|
1955
1955
|
"stateVariable": false,
|
|
1956
1956
|
"storageLocation": "memory",
|
|
@@ -1959,7 +1959,7 @@
|
|
|
1959
1959
|
"typeString": "string"
|
|
1960
1960
|
},
|
|
1961
1961
|
"typeName": {
|
|
1962
|
-
"id":
|
|
1962
|
+
"id": 59750,
|
|
1963
1963
|
"name": "string",
|
|
1964
1964
|
"nodeType": "ElementaryTypeName",
|
|
1965
1965
|
"src": "1594:6:110",
|
|
@@ -1972,12 +1972,12 @@
|
|
|
1972
1972
|
},
|
|
1973
1973
|
{
|
|
1974
1974
|
"constant": false,
|
|
1975
|
-
"id":
|
|
1975
|
+
"id": 59754,
|
|
1976
1976
|
"mutability": "mutable",
|
|
1977
1977
|
"name": "",
|
|
1978
1978
|
"nameLocation": "-1:-1:-1",
|
|
1979
1979
|
"nodeType": "VariableDeclaration",
|
|
1980
|
-
"scope":
|
|
1980
|
+
"scope": 59778,
|
|
1981
1981
|
"src": "1609:15:110",
|
|
1982
1982
|
"stateVariable": false,
|
|
1983
1983
|
"storageLocation": "memory",
|
|
@@ -1987,7 +1987,7 @@
|
|
|
1987
1987
|
},
|
|
1988
1988
|
"typeName": {
|
|
1989
1989
|
"baseType": {
|
|
1990
|
-
"id":
|
|
1990
|
+
"id": 59752,
|
|
1991
1991
|
"name": "string",
|
|
1992
1992
|
"nodeType": "ElementaryTypeName",
|
|
1993
1993
|
"src": "1609:6:110",
|
|
@@ -1996,7 +1996,7 @@
|
|
|
1996
1996
|
"typeString": "string"
|
|
1997
1997
|
}
|
|
1998
1998
|
},
|
|
1999
|
-
"id":
|
|
1999
|
+
"id": 59753,
|
|
2000
2000
|
"nodeType": "ArrayTypeName",
|
|
2001
2001
|
"src": "1609:8:110",
|
|
2002
2002
|
"typeDescriptions": {
|
|
@@ -2009,18 +2009,18 @@
|
|
|
2009
2009
|
],
|
|
2010
2010
|
"src": "1593:32:110"
|
|
2011
2011
|
},
|
|
2012
|
-
"scope":
|
|
2012
|
+
"scope": 60143,
|
|
2013
2013
|
"stateMutability": "pure",
|
|
2014
2014
|
"virtual": false,
|
|
2015
2015
|
"visibility": "internal"
|
|
2016
2016
|
},
|
|
2017
2017
|
{
|
|
2018
|
-
"id":
|
|
2018
|
+
"id": 59793,
|
|
2019
2019
|
"nodeType": "FunctionDefinition",
|
|
2020
2020
|
"src": "1802:111:110",
|
|
2021
2021
|
"nodes": [],
|
|
2022
2022
|
"body": {
|
|
2023
|
-
"id":
|
|
2023
|
+
"id": 59792,
|
|
2024
2024
|
"nodeType": "Block",
|
|
2025
2025
|
"src": "1837:76:110",
|
|
2026
2026
|
"nodes": [],
|
|
@@ -2029,11 +2029,11 @@
|
|
|
2029
2029
|
"expression": {
|
|
2030
2030
|
"arguments": [
|
|
2031
2031
|
{
|
|
2032
|
-
"id":
|
|
2032
|
+
"id": 59785,
|
|
2033
2033
|
"name": "_tableId",
|
|
2034
2034
|
"nodeType": "Identifier",
|
|
2035
2035
|
"overloadedDeclarations": [],
|
|
2036
|
-
"referencedDeclaration":
|
|
2036
|
+
"referencedDeclaration": 59681,
|
|
2037
2037
|
"src": "1870:8:110",
|
|
2038
2038
|
"typeDescriptions": {
|
|
2039
2039
|
"typeIdentifier": "t_uint256",
|
|
@@ -2044,18 +2044,18 @@
|
|
|
2044
2044
|
"arguments": [],
|
|
2045
2045
|
"expression": {
|
|
2046
2046
|
"argumentTypes": [],
|
|
2047
|
-
"id":
|
|
2047
|
+
"id": 59786,
|
|
2048
2048
|
"name": "getSchema",
|
|
2049
2049
|
"nodeType": "Identifier",
|
|
2050
2050
|
"overloadedDeclarations": [],
|
|
2051
|
-
"referencedDeclaration":
|
|
2051
|
+
"referencedDeclaration": 59716,
|
|
2052
2052
|
"src": "1880:9:110",
|
|
2053
2053
|
"typeDescriptions": {
|
|
2054
2054
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_userDefinedValueType$_Schema_$1713_$",
|
|
2055
2055
|
"typeString": "function () pure returns (Schema)"
|
|
2056
2056
|
}
|
|
2057
2057
|
},
|
|
2058
|
-
"id":
|
|
2058
|
+
"id": 59787,
|
|
2059
2059
|
"isConstant": false,
|
|
2060
2060
|
"isLValue": false,
|
|
2061
2061
|
"isPure": false,
|
|
@@ -2074,18 +2074,18 @@
|
|
|
2074
2074
|
"arguments": [],
|
|
2075
2075
|
"expression": {
|
|
2076
2076
|
"argumentTypes": [],
|
|
2077
|
-
"id":
|
|
2077
|
+
"id": 59788,
|
|
2078
2078
|
"name": "getKeySchema",
|
|
2079
2079
|
"nodeType": "Identifier",
|
|
2080
2080
|
"overloadedDeclarations": [],
|
|
2081
|
-
"referencedDeclaration":
|
|
2081
|
+
"referencedDeclaration": 59747,
|
|
2082
2082
|
"src": "1893:12:110",
|
|
2083
2083
|
"typeDescriptions": {
|
|
2084
2084
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_userDefinedValueType$_Schema_$1713_$",
|
|
2085
2085
|
"typeString": "function () pure returns (Schema)"
|
|
2086
2086
|
}
|
|
2087
2087
|
},
|
|
2088
|
-
"id":
|
|
2088
|
+
"id": 59789,
|
|
2089
2089
|
"isConstant": false,
|
|
2090
2090
|
"isLValue": false,
|
|
2091
2091
|
"isPure": false,
|
|
@@ -2117,7 +2117,7 @@
|
|
|
2117
2117
|
}
|
|
2118
2118
|
],
|
|
2119
2119
|
"expression": {
|
|
2120
|
-
"id":
|
|
2120
|
+
"id": 59782,
|
|
2121
2121
|
"name": "StoreSwitch",
|
|
2122
2122
|
"nodeType": "Identifier",
|
|
2123
2123
|
"overloadedDeclarations": [],
|
|
@@ -2128,7 +2128,7 @@
|
|
|
2128
2128
|
"typeString": "type(library StoreSwitch)"
|
|
2129
2129
|
}
|
|
2130
2130
|
},
|
|
2131
|
-
"id":
|
|
2131
|
+
"id": 59784,
|
|
2132
2132
|
"isConstant": false,
|
|
2133
2133
|
"isLValue": false,
|
|
2134
2134
|
"isPure": false,
|
|
@@ -2142,7 +2142,7 @@
|
|
|
2142
2142
|
"typeString": "function (uint256,Schema,Schema)"
|
|
2143
2143
|
}
|
|
2144
2144
|
},
|
|
2145
|
-
"id":
|
|
2145
|
+
"id": 59790,
|
|
2146
2146
|
"isConstant": false,
|
|
2147
2147
|
"isLValue": false,
|
|
2148
2148
|
"isPure": false,
|
|
@@ -2157,14 +2157,14 @@
|
|
|
2157
2157
|
"typeString": "tuple()"
|
|
2158
2158
|
}
|
|
2159
2159
|
},
|
|
2160
|
-
"id":
|
|
2160
|
+
"id": 59791,
|
|
2161
2161
|
"nodeType": "ExpressionStatement",
|
|
2162
2162
|
"src": "1843:65:110"
|
|
2163
2163
|
}
|
|
2164
2164
|
]
|
|
2165
2165
|
},
|
|
2166
2166
|
"documentation": {
|
|
2167
|
-
"id":
|
|
2167
|
+
"id": 59779,
|
|
2168
2168
|
"nodeType": "StructuredDocumentation",
|
|
2169
2169
|
"src": "1765:34:110",
|
|
2170
2170
|
"text": "Register the table's schema "
|
|
@@ -2175,29 +2175,29 @@
|
|
|
2175
2175
|
"name": "registerSchema",
|
|
2176
2176
|
"nameLocation": "1811:14:110",
|
|
2177
2177
|
"parameters": {
|
|
2178
|
-
"id":
|
|
2178
|
+
"id": 59780,
|
|
2179
2179
|
"nodeType": "ParameterList",
|
|
2180
2180
|
"parameters": [],
|
|
2181
2181
|
"src": "1825:2:110"
|
|
2182
2182
|
},
|
|
2183
2183
|
"returnParameters": {
|
|
2184
|
-
"id":
|
|
2184
|
+
"id": 59781,
|
|
2185
2185
|
"nodeType": "ParameterList",
|
|
2186
2186
|
"parameters": [],
|
|
2187
2187
|
"src": "1837:0:110"
|
|
2188
2188
|
},
|
|
2189
|
-
"scope":
|
|
2189
|
+
"scope": 60143,
|
|
2190
2190
|
"stateMutability": "nonpayable",
|
|
2191
2191
|
"virtual": false,
|
|
2192
2192
|
"visibility": "internal"
|
|
2193
2193
|
},
|
|
2194
2194
|
{
|
|
2195
|
-
"id":
|
|
2195
|
+
"id": 59811,
|
|
2196
2196
|
"nodeType": "FunctionDefinition",
|
|
2197
2197
|
"src": "1982:119:110",
|
|
2198
2198
|
"nodes": [],
|
|
2199
2199
|
"body": {
|
|
2200
|
-
"id":
|
|
2200
|
+
"id": 59810,
|
|
2201
2201
|
"nodeType": "Block",
|
|
2202
2202
|
"src": "2030:71:110",
|
|
2203
2203
|
"nodes": [],
|
|
@@ -2206,11 +2206,11 @@
|
|
|
2206
2206
|
"expression": {
|
|
2207
2207
|
"arguments": [
|
|
2208
2208
|
{
|
|
2209
|
-
"id":
|
|
2209
|
+
"id": 59803,
|
|
2210
2210
|
"name": "_tableId",
|
|
2211
2211
|
"nodeType": "Identifier",
|
|
2212
2212
|
"overloadedDeclarations": [],
|
|
2213
|
-
"referencedDeclaration":
|
|
2213
|
+
"referencedDeclaration": 59681,
|
|
2214
2214
|
"src": "2058:8:110",
|
|
2215
2215
|
"typeDescriptions": {
|
|
2216
2216
|
"typeIdentifier": "t_uint256",
|
|
@@ -2221,18 +2221,18 @@
|
|
|
2221
2221
|
"arguments": [],
|
|
2222
2222
|
"expression": {
|
|
2223
2223
|
"argumentTypes": [],
|
|
2224
|
-
"id":
|
|
2224
|
+
"id": 59804,
|
|
2225
2225
|
"name": "getSchema",
|
|
2226
2226
|
"nodeType": "Identifier",
|
|
2227
2227
|
"overloadedDeclarations": [],
|
|
2228
|
-
"referencedDeclaration":
|
|
2228
|
+
"referencedDeclaration": 59716,
|
|
2229
2229
|
"src": "2068:9:110",
|
|
2230
2230
|
"typeDescriptions": {
|
|
2231
2231
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_userDefinedValueType$_Schema_$1713_$",
|
|
2232
2232
|
"typeString": "function () pure returns (Schema)"
|
|
2233
2233
|
}
|
|
2234
2234
|
},
|
|
2235
|
-
"id":
|
|
2235
|
+
"id": 59805,
|
|
2236
2236
|
"isConstant": false,
|
|
2237
2237
|
"isLValue": false,
|
|
2238
2238
|
"isPure": false,
|
|
@@ -2251,18 +2251,18 @@
|
|
|
2251
2251
|
"arguments": [],
|
|
2252
2252
|
"expression": {
|
|
2253
2253
|
"argumentTypes": [],
|
|
2254
|
-
"id":
|
|
2254
|
+
"id": 59806,
|
|
2255
2255
|
"name": "getKeySchema",
|
|
2256
2256
|
"nodeType": "Identifier",
|
|
2257
2257
|
"overloadedDeclarations": [],
|
|
2258
|
-
"referencedDeclaration":
|
|
2258
|
+
"referencedDeclaration": 59747,
|
|
2259
2259
|
"src": "2081:12:110",
|
|
2260
2260
|
"typeDescriptions": {
|
|
2261
2261
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_userDefinedValueType$_Schema_$1713_$",
|
|
2262
2262
|
"typeString": "function () pure returns (Schema)"
|
|
2263
2263
|
}
|
|
2264
2264
|
},
|
|
2265
|
-
"id":
|
|
2265
|
+
"id": 59807,
|
|
2266
2266
|
"isConstant": false,
|
|
2267
2267
|
"isLValue": false,
|
|
2268
2268
|
"isPure": false,
|
|
@@ -2294,18 +2294,18 @@
|
|
|
2294
2294
|
}
|
|
2295
2295
|
],
|
|
2296
2296
|
"expression": {
|
|
2297
|
-
"id":
|
|
2297
|
+
"id": 59800,
|
|
2298
2298
|
"name": "_store",
|
|
2299
2299
|
"nodeType": "Identifier",
|
|
2300
2300
|
"overloadedDeclarations": [],
|
|
2301
|
-
"referencedDeclaration":
|
|
2301
|
+
"referencedDeclaration": 59797,
|
|
2302
2302
|
"src": "2036:6:110",
|
|
2303
2303
|
"typeDescriptions": {
|
|
2304
2304
|
"typeIdentifier": "t_contract$_IStore_$1163",
|
|
2305
2305
|
"typeString": "contract IStore"
|
|
2306
2306
|
}
|
|
2307
2307
|
},
|
|
2308
|
-
"id":
|
|
2308
|
+
"id": 59802,
|
|
2309
2309
|
"isConstant": false,
|
|
2310
2310
|
"isLValue": false,
|
|
2311
2311
|
"isPure": false,
|
|
@@ -2319,7 +2319,7 @@
|
|
|
2319
2319
|
"typeString": "function (uint256,Schema,Schema) external"
|
|
2320
2320
|
}
|
|
2321
2321
|
},
|
|
2322
|
-
"id":
|
|
2322
|
+
"id": 59808,
|
|
2323
2323
|
"isConstant": false,
|
|
2324
2324
|
"isLValue": false,
|
|
2325
2325
|
"isPure": false,
|
|
@@ -2334,14 +2334,14 @@
|
|
|
2334
2334
|
"typeString": "tuple()"
|
|
2335
2335
|
}
|
|
2336
2336
|
},
|
|
2337
|
-
"id":
|
|
2337
|
+
"id": 59809,
|
|
2338
2338
|
"nodeType": "ExpressionStatement",
|
|
2339
2339
|
"src": "2036:60:110"
|
|
2340
2340
|
}
|
|
2341
2341
|
]
|
|
2342
2342
|
},
|
|
2343
2343
|
"documentation": {
|
|
2344
|
-
"id":
|
|
2344
|
+
"id": 59794,
|
|
2345
2345
|
"nodeType": "StructuredDocumentation",
|
|
2346
2346
|
"src": "1917:62:110",
|
|
2347
2347
|
"text": "Register the table's schema (using the specified store) "
|
|
@@ -2352,17 +2352,17 @@
|
|
|
2352
2352
|
"name": "registerSchema",
|
|
2353
2353
|
"nameLocation": "1991:14:110",
|
|
2354
2354
|
"parameters": {
|
|
2355
|
-
"id":
|
|
2355
|
+
"id": 59798,
|
|
2356
2356
|
"nodeType": "ParameterList",
|
|
2357
2357
|
"parameters": [
|
|
2358
2358
|
{
|
|
2359
2359
|
"constant": false,
|
|
2360
|
-
"id":
|
|
2360
|
+
"id": 59797,
|
|
2361
2361
|
"mutability": "mutable",
|
|
2362
2362
|
"name": "_store",
|
|
2363
2363
|
"nameLocation": "2013:6:110",
|
|
2364
2364
|
"nodeType": "VariableDeclaration",
|
|
2365
|
-
"scope":
|
|
2365
|
+
"scope": 59811,
|
|
2366
2366
|
"src": "2006:13:110",
|
|
2367
2367
|
"stateVariable": false,
|
|
2368
2368
|
"storageLocation": "default",
|
|
@@ -2371,10 +2371,10 @@
|
|
|
2371
2371
|
"typeString": "contract IStore"
|
|
2372
2372
|
},
|
|
2373
2373
|
"typeName": {
|
|
2374
|
-
"id":
|
|
2374
|
+
"id": 59796,
|
|
2375
2375
|
"nodeType": "UserDefinedTypeName",
|
|
2376
2376
|
"pathNode": {
|
|
2377
|
-
"id":
|
|
2377
|
+
"id": 59795,
|
|
2378
2378
|
"name": "IStore",
|
|
2379
2379
|
"nodeType": "IdentifierPath",
|
|
2380
2380
|
"referencedDeclaration": 1163,
|
|
@@ -2393,41 +2393,41 @@
|
|
|
2393
2393
|
"src": "2005:15:110"
|
|
2394
2394
|
},
|
|
2395
2395
|
"returnParameters": {
|
|
2396
|
-
"id":
|
|
2396
|
+
"id": 59799,
|
|
2397
2397
|
"nodeType": "ParameterList",
|
|
2398
2398
|
"parameters": [],
|
|
2399
2399
|
"src": "2030:0:110"
|
|
2400
2400
|
},
|
|
2401
|
-
"scope":
|
|
2401
|
+
"scope": 60143,
|
|
2402
2402
|
"stateMutability": "nonpayable",
|
|
2403
2403
|
"virtual": false,
|
|
2404
2404
|
"visibility": "internal"
|
|
2405
2405
|
},
|
|
2406
2406
|
{
|
|
2407
|
-
"id":
|
|
2407
|
+
"id": 59832,
|
|
2408
2408
|
"nodeType": "FunctionDefinition",
|
|
2409
2409
|
"src": "2139:178:110",
|
|
2410
2410
|
"nodes": [],
|
|
2411
2411
|
"body": {
|
|
2412
|
-
"id":
|
|
2412
|
+
"id": 59831,
|
|
2413
2413
|
"nodeType": "Block",
|
|
2414
2414
|
"src": "2171:146:110",
|
|
2415
2415
|
"nodes": [],
|
|
2416
2416
|
"statements": [
|
|
2417
2417
|
{
|
|
2418
2418
|
"assignments": [
|
|
2419
|
-
|
|
2420
|
-
|
|
2419
|
+
59816,
|
|
2420
|
+
59819
|
|
2421
2421
|
],
|
|
2422
2422
|
"declarations": [
|
|
2423
2423
|
{
|
|
2424
2424
|
"constant": false,
|
|
2425
|
-
"id":
|
|
2425
|
+
"id": 59816,
|
|
2426
2426
|
"mutability": "mutable",
|
|
2427
2427
|
"name": "_tableName",
|
|
2428
2428
|
"nameLocation": "2192:10:110",
|
|
2429
2429
|
"nodeType": "VariableDeclaration",
|
|
2430
|
-
"scope":
|
|
2430
|
+
"scope": 59831,
|
|
2431
2431
|
"src": "2178:24:110",
|
|
2432
2432
|
"stateVariable": false,
|
|
2433
2433
|
"storageLocation": "memory",
|
|
@@ -2436,7 +2436,7 @@
|
|
|
2436
2436
|
"typeString": "string"
|
|
2437
2437
|
},
|
|
2438
2438
|
"typeName": {
|
|
2439
|
-
"id":
|
|
2439
|
+
"id": 59815,
|
|
2440
2440
|
"name": "string",
|
|
2441
2441
|
"nodeType": "ElementaryTypeName",
|
|
2442
2442
|
"src": "2178:6:110",
|
|
@@ -2449,12 +2449,12 @@
|
|
|
2449
2449
|
},
|
|
2450
2450
|
{
|
|
2451
2451
|
"constant": false,
|
|
2452
|
-
"id":
|
|
2452
|
+
"id": 59819,
|
|
2453
2453
|
"mutability": "mutable",
|
|
2454
2454
|
"name": "_fieldNames",
|
|
2455
2455
|
"nameLocation": "2220:11:110",
|
|
2456
2456
|
"nodeType": "VariableDeclaration",
|
|
2457
|
-
"scope":
|
|
2457
|
+
"scope": 59831,
|
|
2458
2458
|
"src": "2204:27:110",
|
|
2459
2459
|
"stateVariable": false,
|
|
2460
2460
|
"storageLocation": "memory",
|
|
@@ -2464,7 +2464,7 @@
|
|
|
2464
2464
|
},
|
|
2465
2465
|
"typeName": {
|
|
2466
2466
|
"baseType": {
|
|
2467
|
-
"id":
|
|
2467
|
+
"id": 59817,
|
|
2468
2468
|
"name": "string",
|
|
2469
2469
|
"nodeType": "ElementaryTypeName",
|
|
2470
2470
|
"src": "2204:6:110",
|
|
@@ -2473,7 +2473,7 @@
|
|
|
2473
2473
|
"typeString": "string"
|
|
2474
2474
|
}
|
|
2475
2475
|
},
|
|
2476
|
-
"id":
|
|
2476
|
+
"id": 59818,
|
|
2477
2477
|
"nodeType": "ArrayTypeName",
|
|
2478
2478
|
"src": "2204:8:110",
|
|
2479
2479
|
"typeDescriptions": {
|
|
@@ -2484,23 +2484,23 @@
|
|
|
2484
2484
|
"visibility": "internal"
|
|
2485
2485
|
}
|
|
2486
2486
|
],
|
|
2487
|
-
"id":
|
|
2487
|
+
"id": 59822,
|
|
2488
2488
|
"initialValue": {
|
|
2489
2489
|
"arguments": [],
|
|
2490
2490
|
"expression": {
|
|
2491
2491
|
"argumentTypes": [],
|
|
2492
|
-
"id":
|
|
2492
|
+
"id": 59820,
|
|
2493
2493
|
"name": "getMetadata",
|
|
2494
2494
|
"nodeType": "Identifier",
|
|
2495
2495
|
"overloadedDeclarations": [],
|
|
2496
|
-
"referencedDeclaration":
|
|
2496
|
+
"referencedDeclaration": 59778,
|
|
2497
2497
|
"src": "2235:11:110",
|
|
2498
2498
|
"typeDescriptions": {
|
|
2499
2499
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
|
|
2500
2500
|
"typeString": "function () pure returns (string memory,string memory[] memory)"
|
|
2501
2501
|
}
|
|
2502
2502
|
},
|
|
2503
|
-
"id":
|
|
2503
|
+
"id": 59821,
|
|
2504
2504
|
"isConstant": false,
|
|
2505
2505
|
"isLValue": false,
|
|
2506
2506
|
"isPure": false,
|
|
@@ -2522,11 +2522,11 @@
|
|
|
2522
2522
|
"expression": {
|
|
2523
2523
|
"arguments": [
|
|
2524
2524
|
{
|
|
2525
|
-
"id":
|
|
2525
|
+
"id": 59826,
|
|
2526
2526
|
"name": "_tableId",
|
|
2527
2527
|
"nodeType": "Identifier",
|
|
2528
2528
|
"overloadedDeclarations": [],
|
|
2529
|
-
"referencedDeclaration":
|
|
2529
|
+
"referencedDeclaration": 59681,
|
|
2530
2530
|
"src": "2278:8:110",
|
|
2531
2531
|
"typeDescriptions": {
|
|
2532
2532
|
"typeIdentifier": "t_uint256",
|
|
@@ -2534,11 +2534,11 @@
|
|
|
2534
2534
|
}
|
|
2535
2535
|
},
|
|
2536
2536
|
{
|
|
2537
|
-
"id":
|
|
2537
|
+
"id": 59827,
|
|
2538
2538
|
"name": "_tableName",
|
|
2539
2539
|
"nodeType": "Identifier",
|
|
2540
2540
|
"overloadedDeclarations": [],
|
|
2541
|
-
"referencedDeclaration":
|
|
2541
|
+
"referencedDeclaration": 59816,
|
|
2542
2542
|
"src": "2288:10:110",
|
|
2543
2543
|
"typeDescriptions": {
|
|
2544
2544
|
"typeIdentifier": "t_string_memory_ptr",
|
|
@@ -2546,11 +2546,11 @@
|
|
|
2546
2546
|
}
|
|
2547
2547
|
},
|
|
2548
2548
|
{
|
|
2549
|
-
"id":
|
|
2549
|
+
"id": 59828,
|
|
2550
2550
|
"name": "_fieldNames",
|
|
2551
2551
|
"nodeType": "Identifier",
|
|
2552
2552
|
"overloadedDeclarations": [],
|
|
2553
|
-
"referencedDeclaration":
|
|
2553
|
+
"referencedDeclaration": 59819,
|
|
2554
2554
|
"src": "2300:11:110",
|
|
2555
2555
|
"typeDescriptions": {
|
|
2556
2556
|
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
@@ -2574,7 +2574,7 @@
|
|
|
2574
2574
|
}
|
|
2575
2575
|
],
|
|
2576
2576
|
"expression": {
|
|
2577
|
-
"id":
|
|
2577
|
+
"id": 59823,
|
|
2578
2578
|
"name": "StoreSwitch",
|
|
2579
2579
|
"nodeType": "Identifier",
|
|
2580
2580
|
"overloadedDeclarations": [],
|
|
@@ -2585,7 +2585,7 @@
|
|
|
2585
2585
|
"typeString": "type(library StoreSwitch)"
|
|
2586
2586
|
}
|
|
2587
2587
|
},
|
|
2588
|
-
"id":
|
|
2588
|
+
"id": 59825,
|
|
2589
2589
|
"isConstant": false,
|
|
2590
2590
|
"isLValue": false,
|
|
2591
2591
|
"isPure": false,
|
|
@@ -2599,7 +2599,7 @@
|
|
|
2599
2599
|
"typeString": "function (uint256,string memory,string memory[] memory)"
|
|
2600
2600
|
}
|
|
2601
2601
|
},
|
|
2602
|
-
"id":
|
|
2602
|
+
"id": 59829,
|
|
2603
2603
|
"isConstant": false,
|
|
2604
2604
|
"isLValue": false,
|
|
2605
2605
|
"isPure": false,
|
|
@@ -2614,14 +2614,14 @@
|
|
|
2614
2614
|
"typeString": "tuple()"
|
|
2615
2615
|
}
|
|
2616
2616
|
},
|
|
2617
|
-
"id":
|
|
2617
|
+
"id": 59830,
|
|
2618
2618
|
"nodeType": "ExpressionStatement",
|
|
2619
2619
|
"src": "2254:58:110"
|
|
2620
2620
|
}
|
|
2621
2621
|
]
|
|
2622
2622
|
},
|
|
2623
2623
|
"documentation": {
|
|
2624
|
-
"id":
|
|
2624
|
+
"id": 59812,
|
|
2625
2625
|
"nodeType": "StructuredDocumentation",
|
|
2626
2626
|
"src": "2105:31:110",
|
|
2627
2627
|
"text": "Set the table's metadata "
|
|
@@ -2632,47 +2632,47 @@
|
|
|
2632
2632
|
"name": "setMetadata",
|
|
2633
2633
|
"nameLocation": "2148:11:110",
|
|
2634
2634
|
"parameters": {
|
|
2635
|
-
"id":
|
|
2635
|
+
"id": 59813,
|
|
2636
2636
|
"nodeType": "ParameterList",
|
|
2637
2637
|
"parameters": [],
|
|
2638
2638
|
"src": "2159:2:110"
|
|
2639
2639
|
},
|
|
2640
2640
|
"returnParameters": {
|
|
2641
|
-
"id":
|
|
2641
|
+
"id": 59814,
|
|
2642
2642
|
"nodeType": "ParameterList",
|
|
2643
2643
|
"parameters": [],
|
|
2644
2644
|
"src": "2171:0:110"
|
|
2645
2645
|
},
|
|
2646
|
-
"scope":
|
|
2646
|
+
"scope": 60143,
|
|
2647
2647
|
"stateMutability": "nonpayable",
|
|
2648
2648
|
"virtual": false,
|
|
2649
2649
|
"visibility": "internal"
|
|
2650
2650
|
},
|
|
2651
2651
|
{
|
|
2652
|
-
"id":
|
|
2652
|
+
"id": 59856,
|
|
2653
2653
|
"nodeType": "FunctionDefinition",
|
|
2654
2654
|
"src": "2383:186:110",
|
|
2655
2655
|
"nodes": [],
|
|
2656
2656
|
"body": {
|
|
2657
|
-
"id":
|
|
2657
|
+
"id": 59855,
|
|
2658
2658
|
"nodeType": "Block",
|
|
2659
2659
|
"src": "2428:141:110",
|
|
2660
2660
|
"nodes": [],
|
|
2661
2661
|
"statements": [
|
|
2662
2662
|
{
|
|
2663
2663
|
"assignments": [
|
|
2664
|
-
|
|
2665
|
-
|
|
2664
|
+
59840,
|
|
2665
|
+
59843
|
|
2666
2666
|
],
|
|
2667
2667
|
"declarations": [
|
|
2668
2668
|
{
|
|
2669
2669
|
"constant": false,
|
|
2670
|
-
"id":
|
|
2670
|
+
"id": 59840,
|
|
2671
2671
|
"mutability": "mutable",
|
|
2672
2672
|
"name": "_tableName",
|
|
2673
2673
|
"nameLocation": "2449:10:110",
|
|
2674
2674
|
"nodeType": "VariableDeclaration",
|
|
2675
|
-
"scope":
|
|
2675
|
+
"scope": 59855,
|
|
2676
2676
|
"src": "2435:24:110",
|
|
2677
2677
|
"stateVariable": false,
|
|
2678
2678
|
"storageLocation": "memory",
|
|
@@ -2681,7 +2681,7 @@
|
|
|
2681
2681
|
"typeString": "string"
|
|
2682
2682
|
},
|
|
2683
2683
|
"typeName": {
|
|
2684
|
-
"id":
|
|
2684
|
+
"id": 59839,
|
|
2685
2685
|
"name": "string",
|
|
2686
2686
|
"nodeType": "ElementaryTypeName",
|
|
2687
2687
|
"src": "2435:6:110",
|
|
@@ -2694,12 +2694,12 @@
|
|
|
2694
2694
|
},
|
|
2695
2695
|
{
|
|
2696
2696
|
"constant": false,
|
|
2697
|
-
"id":
|
|
2697
|
+
"id": 59843,
|
|
2698
2698
|
"mutability": "mutable",
|
|
2699
2699
|
"name": "_fieldNames",
|
|
2700
2700
|
"nameLocation": "2477:11:110",
|
|
2701
2701
|
"nodeType": "VariableDeclaration",
|
|
2702
|
-
"scope":
|
|
2702
|
+
"scope": 59855,
|
|
2703
2703
|
"src": "2461:27:110",
|
|
2704
2704
|
"stateVariable": false,
|
|
2705
2705
|
"storageLocation": "memory",
|
|
@@ -2709,7 +2709,7 @@
|
|
|
2709
2709
|
},
|
|
2710
2710
|
"typeName": {
|
|
2711
2711
|
"baseType": {
|
|
2712
|
-
"id":
|
|
2712
|
+
"id": 59841,
|
|
2713
2713
|
"name": "string",
|
|
2714
2714
|
"nodeType": "ElementaryTypeName",
|
|
2715
2715
|
"src": "2461:6:110",
|
|
@@ -2718,7 +2718,7 @@
|
|
|
2718
2718
|
"typeString": "string"
|
|
2719
2719
|
}
|
|
2720
2720
|
},
|
|
2721
|
-
"id":
|
|
2721
|
+
"id": 59842,
|
|
2722
2722
|
"nodeType": "ArrayTypeName",
|
|
2723
2723
|
"src": "2461:8:110",
|
|
2724
2724
|
"typeDescriptions": {
|
|
@@ -2729,23 +2729,23 @@
|
|
|
2729
2729
|
"visibility": "internal"
|
|
2730
2730
|
}
|
|
2731
2731
|
],
|
|
2732
|
-
"id":
|
|
2732
|
+
"id": 59846,
|
|
2733
2733
|
"initialValue": {
|
|
2734
2734
|
"arguments": [],
|
|
2735
2735
|
"expression": {
|
|
2736
2736
|
"argumentTypes": [],
|
|
2737
|
-
"id":
|
|
2737
|
+
"id": 59844,
|
|
2738
2738
|
"name": "getMetadata",
|
|
2739
2739
|
"nodeType": "Identifier",
|
|
2740
2740
|
"overloadedDeclarations": [],
|
|
2741
|
-
"referencedDeclaration":
|
|
2741
|
+
"referencedDeclaration": 59778,
|
|
2742
2742
|
"src": "2492:11:110",
|
|
2743
2743
|
"typeDescriptions": {
|
|
2744
2744
|
"typeIdentifier": "t_function_internal_pure$__$returns$_t_string_memory_ptr_$_t_array$_t_string_memory_ptr_$dyn_memory_ptr_$",
|
|
2745
2745
|
"typeString": "function () pure returns (string memory,string memory[] memory)"
|
|
2746
2746
|
}
|
|
2747
2747
|
},
|
|
2748
|
-
"id":
|
|
2748
|
+
"id": 59845,
|
|
2749
2749
|
"isConstant": false,
|
|
2750
2750
|
"isLValue": false,
|
|
2751
2751
|
"isPure": false,
|
|
@@ -2767,11 +2767,11 @@
|
|
|
2767
2767
|
"expression": {
|
|
2768
2768
|
"arguments": [
|
|
2769
2769
|
{
|
|
2770
|
-
"id":
|
|
2770
|
+
"id": 59850,
|
|
2771
2771
|
"name": "_tableId",
|
|
2772
2772
|
"nodeType": "Identifier",
|
|
2773
2773
|
"overloadedDeclarations": [],
|
|
2774
|
-
"referencedDeclaration":
|
|
2774
|
+
"referencedDeclaration": 59681,
|
|
2775
2775
|
"src": "2530:8:110",
|
|
2776
2776
|
"typeDescriptions": {
|
|
2777
2777
|
"typeIdentifier": "t_uint256",
|
|
@@ -2779,11 +2779,11 @@
|
|
|
2779
2779
|
}
|
|
2780
2780
|
},
|
|
2781
2781
|
{
|
|
2782
|
-
"id":
|
|
2782
|
+
"id": 59851,
|
|
2783
2783
|
"name": "_tableName",
|
|
2784
2784
|
"nodeType": "Identifier",
|
|
2785
2785
|
"overloadedDeclarations": [],
|
|
2786
|
-
"referencedDeclaration":
|
|
2786
|
+
"referencedDeclaration": 59840,
|
|
2787
2787
|
"src": "2540:10:110",
|
|
2788
2788
|
"typeDescriptions": {
|
|
2789
2789
|
"typeIdentifier": "t_string_memory_ptr",
|
|
@@ -2791,11 +2791,11 @@
|
|
|
2791
2791
|
}
|
|
2792
2792
|
},
|
|
2793
2793
|
{
|
|
2794
|
-
"id":
|
|
2794
|
+
"id": 59852,
|
|
2795
2795
|
"name": "_fieldNames",
|
|
2796
2796
|
"nodeType": "Identifier",
|
|
2797
2797
|
"overloadedDeclarations": [],
|
|
2798
|
-
"referencedDeclaration":
|
|
2798
|
+
"referencedDeclaration": 59843,
|
|
2799
2799
|
"src": "2552:11:110",
|
|
2800
2800
|
"typeDescriptions": {
|
|
2801
2801
|
"typeIdentifier": "t_array$_t_string_memory_ptr_$dyn_memory_ptr",
|
|
@@ -2819,18 +2819,18 @@
|
|
|
2819
2819
|
}
|
|
2820
2820
|
],
|
|
2821
2821
|
"expression": {
|
|
2822
|
-
"id":
|
|
2822
|
+
"id": 59847,
|
|
2823
2823
|
"name": "_store",
|
|
2824
2824
|
"nodeType": "Identifier",
|
|
2825
2825
|
"overloadedDeclarations": [],
|
|
2826
|
-
"referencedDeclaration":
|
|
2826
|
+
"referencedDeclaration": 59836,
|
|
2827
2827
|
"src": "2511:6:110",
|
|
2828
2828
|
"typeDescriptions": {
|
|
2829
2829
|
"typeIdentifier": "t_contract$_IStore_$1163",
|
|
2830
2830
|
"typeString": "contract IStore"
|
|
2831
2831
|
}
|
|
2832
2832
|
},
|
|
2833
|
-
"id":
|
|
2833
|
+
"id": 59849,
|
|
2834
2834
|
"isConstant": false,
|
|
2835
2835
|
"isLValue": false,
|
|
2836
2836
|
"isPure": false,
|
|
@@ -2844,7 +2844,7 @@
|
|
|
2844
2844
|
"typeString": "function (uint256,string memory,string memory[] memory) external"
|
|
2845
2845
|
}
|
|
2846
2846
|
},
|
|
2847
|
-
"id":
|
|
2847
|
+
"id": 59853,
|
|
2848
2848
|
"isConstant": false,
|
|
2849
2849
|
"isLValue": false,
|
|
2850
2850
|
"isPure": false,
|
|
@@ -2859,14 +2859,14 @@
|
|
|
2859
2859
|
"typeString": "tuple()"
|
|
2860
2860
|
}
|
|
2861
2861
|
},
|
|
2862
|
-
"id":
|
|
2862
|
+
"id": 59854,
|
|
2863
2863
|
"nodeType": "ExpressionStatement",
|
|
2864
2864
|
"src": "2511:53:110"
|
|
2865
2865
|
}
|
|
2866
2866
|
]
|
|
2867
2867
|
},
|
|
2868
2868
|
"documentation": {
|
|
2869
|
-
"id":
|
|
2869
|
+
"id": 59833,
|
|
2870
2870
|
"nodeType": "StructuredDocumentation",
|
|
2871
2871
|
"src": "2321:59:110",
|
|
2872
2872
|
"text": "Set the table's metadata (using the specified store) "
|
|
@@ -2877,17 +2877,17 @@
|
|
|
2877
2877
|
"name": "setMetadata",
|
|
2878
2878
|
"nameLocation": "2392:11:110",
|
|
2879
2879
|
"parameters": {
|
|
2880
|
-
"id":
|
|
2880
|
+
"id": 59837,
|
|
2881
2881
|
"nodeType": "ParameterList",
|
|
2882
2882
|
"parameters": [
|
|
2883
2883
|
{
|
|
2884
2884
|
"constant": false,
|
|
2885
|
-
"id":
|
|
2885
|
+
"id": 59836,
|
|
2886
2886
|
"mutability": "mutable",
|
|
2887
2887
|
"name": "_store",
|
|
2888
2888
|
"nameLocation": "2411:6:110",
|
|
2889
2889
|
"nodeType": "VariableDeclaration",
|
|
2890
|
-
"scope":
|
|
2890
|
+
"scope": 59856,
|
|
2891
2891
|
"src": "2404:13:110",
|
|
2892
2892
|
"stateVariable": false,
|
|
2893
2893
|
"storageLocation": "default",
|
|
@@ -2896,10 +2896,10 @@
|
|
|
2896
2896
|
"typeString": "contract IStore"
|
|
2897
2897
|
},
|
|
2898
2898
|
"typeName": {
|
|
2899
|
-
"id":
|
|
2899
|
+
"id": 59835,
|
|
2900
2900
|
"nodeType": "UserDefinedTypeName",
|
|
2901
2901
|
"pathNode": {
|
|
2902
|
-
"id":
|
|
2902
|
+
"id": 59834,
|
|
2903
2903
|
"name": "IStore",
|
|
2904
2904
|
"nodeType": "IdentifierPath",
|
|
2905
2905
|
"referencedDeclaration": 1163,
|
|
@@ -2918,40 +2918,40 @@
|
|
|
2918
2918
|
"src": "2403:15:110"
|
|
2919
2919
|
},
|
|
2920
2920
|
"returnParameters": {
|
|
2921
|
-
"id":
|
|
2921
|
+
"id": 59838,
|
|
2922
2922
|
"nodeType": "ParameterList",
|
|
2923
2923
|
"parameters": [],
|
|
2924
2924
|
"src": "2428:0:110"
|
|
2925
2925
|
},
|
|
2926
|
-
"scope":
|
|
2926
|
+
"scope": 60143,
|
|
2927
2927
|
"stateMutability": "nonpayable",
|
|
2928
2928
|
"virtual": false,
|
|
2929
2929
|
"visibility": "internal"
|
|
2930
2930
|
},
|
|
2931
2931
|
{
|
|
2932
|
-
"id":
|
|
2932
|
+
"id": 59907,
|
|
2933
2933
|
"nodeType": "FunctionDefinition",
|
|
2934
2934
|
"src": "2599:322:110",
|
|
2935
2935
|
"nodes": [],
|
|
2936
2936
|
"body": {
|
|
2937
|
-
"id":
|
|
2937
|
+
"id": 59906,
|
|
2938
2938
|
"nodeType": "Block",
|
|
2939
2939
|
"src": "2684:237:110",
|
|
2940
2940
|
"nodes": [],
|
|
2941
2941
|
"statements": [
|
|
2942
2942
|
{
|
|
2943
2943
|
"assignments": [
|
|
2944
|
-
|
|
2944
|
+
59869
|
|
2945
2945
|
],
|
|
2946
2946
|
"declarations": [
|
|
2947
2947
|
{
|
|
2948
2948
|
"constant": false,
|
|
2949
|
-
"id":
|
|
2949
|
+
"id": 59869,
|
|
2950
2950
|
"mutability": "mutable",
|
|
2951
2951
|
"name": "_primaryKeys",
|
|
2952
2952
|
"nameLocation": "2707:12:110",
|
|
2953
2953
|
"nodeType": "VariableDeclaration",
|
|
2954
|
-
"scope":
|
|
2954
|
+
"scope": 59906,
|
|
2955
2955
|
"src": "2690:29:110",
|
|
2956
2956
|
"stateVariable": false,
|
|
2957
2957
|
"storageLocation": "memory",
|
|
@@ -2961,7 +2961,7 @@
|
|
|
2961
2961
|
},
|
|
2962
2962
|
"typeName": {
|
|
2963
2963
|
"baseType": {
|
|
2964
|
-
"id":
|
|
2964
|
+
"id": 59867,
|
|
2965
2965
|
"name": "bytes32",
|
|
2966
2966
|
"nodeType": "ElementaryTypeName",
|
|
2967
2967
|
"src": "2690:7:110",
|
|
@@ -2970,7 +2970,7 @@
|
|
|
2970
2970
|
"typeString": "bytes32"
|
|
2971
2971
|
}
|
|
2972
2972
|
},
|
|
2973
|
-
"id":
|
|
2973
|
+
"id": 59868,
|
|
2974
2974
|
"nodeType": "ArrayTypeName",
|
|
2975
2975
|
"src": "2690:9:110",
|
|
2976
2976
|
"typeDescriptions": {
|
|
@@ -2981,12 +2981,12 @@
|
|
|
2981
2981
|
"visibility": "internal"
|
|
2982
2982
|
}
|
|
2983
2983
|
],
|
|
2984
|
-
"id":
|
|
2984
|
+
"id": 59875,
|
|
2985
2985
|
"initialValue": {
|
|
2986
2986
|
"arguments": [
|
|
2987
2987
|
{
|
|
2988
2988
|
"hexValue": "31",
|
|
2989
|
-
"id":
|
|
2989
|
+
"id": 59873,
|
|
2990
2990
|
"isConstant": false,
|
|
2991
2991
|
"isLValue": false,
|
|
2992
2992
|
"isPure": true,
|
|
@@ -3008,7 +3008,7 @@
|
|
|
3008
3008
|
"typeString": "int_const 1"
|
|
3009
3009
|
}
|
|
3010
3010
|
],
|
|
3011
|
-
"id":
|
|
3011
|
+
"id": 59872,
|
|
3012
3012
|
"isConstant": false,
|
|
3013
3013
|
"isLValue": false,
|
|
3014
3014
|
"isPure": true,
|
|
@@ -3021,7 +3021,7 @@
|
|
|
3021
3021
|
},
|
|
3022
3022
|
"typeName": {
|
|
3023
3023
|
"baseType": {
|
|
3024
|
-
"id":
|
|
3024
|
+
"id": 59870,
|
|
3025
3025
|
"name": "bytes32",
|
|
3026
3026
|
"nodeType": "ElementaryTypeName",
|
|
3027
3027
|
"src": "2726:7:110",
|
|
@@ -3030,7 +3030,7 @@
|
|
|
3030
3030
|
"typeString": "bytes32"
|
|
3031
3031
|
}
|
|
3032
3032
|
},
|
|
3033
|
-
"id":
|
|
3033
|
+
"id": 59871,
|
|
3034
3034
|
"nodeType": "ArrayTypeName",
|
|
3035
3035
|
"src": "2726:9:110",
|
|
3036
3036
|
"typeDescriptions": {
|
|
@@ -3039,7 +3039,7 @@
|
|
|
3039
3039
|
}
|
|
3040
3040
|
}
|
|
3041
3041
|
},
|
|
3042
|
-
"id":
|
|
3042
|
+
"id": 59874,
|
|
3043
3043
|
"isConstant": false,
|
|
3044
3044
|
"isLValue": false,
|
|
3045
3045
|
"isPure": true,
|
|
@@ -3059,28 +3059,28 @@
|
|
|
3059
3059
|
},
|
|
3060
3060
|
{
|
|
3061
3061
|
"expression": {
|
|
3062
|
-
"id":
|
|
3062
|
+
"id": 59884,
|
|
3063
3063
|
"isConstant": false,
|
|
3064
3064
|
"isLValue": false,
|
|
3065
3065
|
"isPure": false,
|
|
3066
3066
|
"lValueRequested": false,
|
|
3067
3067
|
"leftHandSide": {
|
|
3068
3068
|
"baseExpression": {
|
|
3069
|
-
"id":
|
|
3069
|
+
"id": 59876,
|
|
3070
3070
|
"name": "_primaryKeys",
|
|
3071
3071
|
"nodeType": "Identifier",
|
|
3072
3072
|
"overloadedDeclarations": [],
|
|
3073
|
-
"referencedDeclaration":
|
|
3073
|
+
"referencedDeclaration": 59869,
|
|
3074
3074
|
"src": "2744:12:110",
|
|
3075
3075
|
"typeDescriptions": {
|
|
3076
3076
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
3077
3077
|
"typeString": "bytes32[] memory"
|
|
3078
3078
|
}
|
|
3079
3079
|
},
|
|
3080
|
-
"id":
|
|
3080
|
+
"id": 59878,
|
|
3081
3081
|
"indexExpression": {
|
|
3082
3082
|
"hexValue": "30",
|
|
3083
|
-
"id":
|
|
3083
|
+
"id": 59877,
|
|
3084
3084
|
"isConstant": false,
|
|
3085
3085
|
"isLValue": false,
|
|
3086
3086
|
"isPure": true,
|
|
@@ -3112,11 +3112,11 @@
|
|
|
3112
3112
|
{
|
|
3113
3113
|
"components": [
|
|
3114
3114
|
{
|
|
3115
|
-
"id":
|
|
3115
|
+
"id": 59881,
|
|
3116
3116
|
"name": "resourceSelector",
|
|
3117
3117
|
"nodeType": "Identifier",
|
|
3118
3118
|
"overloadedDeclarations": [],
|
|
3119
|
-
"referencedDeclaration":
|
|
3119
|
+
"referencedDeclaration": 59859,
|
|
3120
3120
|
"src": "2771:16:110",
|
|
3121
3121
|
"typeDescriptions": {
|
|
3122
3122
|
"typeIdentifier": "t_bytes32",
|
|
@@ -3124,7 +3124,7 @@
|
|
|
3124
3124
|
}
|
|
3125
3125
|
}
|
|
3126
3126
|
],
|
|
3127
|
-
"id":
|
|
3127
|
+
"id": 59882,
|
|
3128
3128
|
"isConstant": false,
|
|
3129
3129
|
"isInlineArray": false,
|
|
3130
3130
|
"isLValue": false,
|
|
@@ -3145,7 +3145,7 @@
|
|
|
3145
3145
|
"typeString": "bytes32"
|
|
3146
3146
|
}
|
|
3147
3147
|
],
|
|
3148
|
-
"id":
|
|
3148
|
+
"id": 59880,
|
|
3149
3149
|
"isConstant": false,
|
|
3150
3150
|
"isLValue": false,
|
|
3151
3151
|
"isPure": true,
|
|
@@ -3157,14 +3157,14 @@
|
|
|
3157
3157
|
"typeString": "type(bytes32)"
|
|
3158
3158
|
},
|
|
3159
3159
|
"typeName": {
|
|
3160
|
-
"id":
|
|
3160
|
+
"id": 59879,
|
|
3161
3161
|
"name": "bytes32",
|
|
3162
3162
|
"nodeType": "ElementaryTypeName",
|
|
3163
3163
|
"src": "2762:7:110",
|
|
3164
3164
|
"typeDescriptions": {}
|
|
3165
3165
|
}
|
|
3166
3166
|
},
|
|
3167
|
-
"id":
|
|
3167
|
+
"id": 59883,
|
|
3168
3168
|
"isConstant": false,
|
|
3169
3169
|
"isLValue": false,
|
|
3170
3170
|
"isPure": false,
|
|
@@ -3185,23 +3185,23 @@
|
|
|
3185
3185
|
"typeString": "bytes32"
|
|
3186
3186
|
}
|
|
3187
3187
|
},
|
|
3188
|
-
"id":
|
|
3188
|
+
"id": 59885,
|
|
3189
3189
|
"nodeType": "ExpressionStatement",
|
|
3190
3190
|
"src": "2744:45:110"
|
|
3191
3191
|
},
|
|
3192
3192
|
{
|
|
3193
3193
|
"assignments": [
|
|
3194
|
-
|
|
3194
|
+
59887
|
|
3195
3195
|
],
|
|
3196
3196
|
"declarations": [
|
|
3197
3197
|
{
|
|
3198
3198
|
"constant": false,
|
|
3199
|
-
"id":
|
|
3199
|
+
"id": 59887,
|
|
3200
3200
|
"mutability": "mutable",
|
|
3201
3201
|
"name": "_blob",
|
|
3202
3202
|
"nameLocation": "2809:5:110",
|
|
3203
3203
|
"nodeType": "VariableDeclaration",
|
|
3204
|
-
"scope":
|
|
3204
|
+
"scope": 59906,
|
|
3205
3205
|
"src": "2796:18:110",
|
|
3206
3206
|
"stateVariable": false,
|
|
3207
3207
|
"storageLocation": "memory",
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
"typeString": "bytes"
|
|
3211
3211
|
},
|
|
3212
3212
|
"typeName": {
|
|
3213
|
-
"id":
|
|
3213
|
+
"id": 59886,
|
|
3214
3214
|
"name": "bytes",
|
|
3215
3215
|
"nodeType": "ElementaryTypeName",
|
|
3216
3216
|
"src": "2796:5:110",
|
|
@@ -3222,15 +3222,15 @@
|
|
|
3222
3222
|
"visibility": "internal"
|
|
3223
3223
|
}
|
|
3224
3224
|
],
|
|
3225
|
-
"id":
|
|
3225
|
+
"id": 59894,
|
|
3226
3226
|
"initialValue": {
|
|
3227
3227
|
"arguments": [
|
|
3228
3228
|
{
|
|
3229
|
-
"id":
|
|
3229
|
+
"id": 59890,
|
|
3230
3230
|
"name": "_tableId",
|
|
3231
3231
|
"nodeType": "Identifier",
|
|
3232
3232
|
"overloadedDeclarations": [],
|
|
3233
|
-
"referencedDeclaration":
|
|
3233
|
+
"referencedDeclaration": 59681,
|
|
3234
3234
|
"src": "2838:8:110",
|
|
3235
3235
|
"typeDescriptions": {
|
|
3236
3236
|
"typeIdentifier": "t_uint256",
|
|
@@ -3238,11 +3238,11 @@
|
|
|
3238
3238
|
}
|
|
3239
3239
|
},
|
|
3240
3240
|
{
|
|
3241
|
-
"id":
|
|
3241
|
+
"id": 59891,
|
|
3242
3242
|
"name": "_primaryKeys",
|
|
3243
3243
|
"nodeType": "Identifier",
|
|
3244
3244
|
"overloadedDeclarations": [],
|
|
3245
|
-
"referencedDeclaration":
|
|
3245
|
+
"referencedDeclaration": 59869,
|
|
3246
3246
|
"src": "2848:12:110",
|
|
3247
3247
|
"typeDescriptions": {
|
|
3248
3248
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -3251,7 +3251,7 @@
|
|
|
3251
3251
|
},
|
|
3252
3252
|
{
|
|
3253
3253
|
"hexValue": "30",
|
|
3254
|
-
"id":
|
|
3254
|
+
"id": 59892,
|
|
3255
3255
|
"isConstant": false,
|
|
3256
3256
|
"isLValue": false,
|
|
3257
3257
|
"isPure": true,
|
|
@@ -3282,7 +3282,7 @@
|
|
|
3282
3282
|
}
|
|
3283
3283
|
],
|
|
3284
3284
|
"expression": {
|
|
3285
|
-
"id":
|
|
3285
|
+
"id": 59888,
|
|
3286
3286
|
"name": "StoreSwitch",
|
|
3287
3287
|
"nodeType": "Identifier",
|
|
3288
3288
|
"overloadedDeclarations": [],
|
|
@@ -3293,7 +3293,7 @@
|
|
|
3293
3293
|
"typeString": "type(library StoreSwitch)"
|
|
3294
3294
|
}
|
|
3295
3295
|
},
|
|
3296
|
-
"id":
|
|
3296
|
+
"id": 59889,
|
|
3297
3297
|
"isConstant": false,
|
|
3298
3298
|
"isLValue": false,
|
|
3299
3299
|
"isPure": false,
|
|
@@ -3307,7 +3307,7 @@
|
|
|
3307
3307
|
"typeString": "function (uint256,bytes32[] memory,uint8) view returns (bytes memory)"
|
|
3308
3308
|
}
|
|
3309
3309
|
},
|
|
3310
|
-
"id":
|
|
3310
|
+
"id": 59893,
|
|
3311
3311
|
"isConstant": false,
|
|
3312
3312
|
"isLValue": false,
|
|
3313
3313
|
"isPure": false,
|
|
@@ -3333,11 +3333,11 @@
|
|
|
3333
3333
|
{
|
|
3334
3334
|
"arguments": [
|
|
3335
3335
|
{
|
|
3336
|
-
"id":
|
|
3336
|
+
"id": 59900,
|
|
3337
3337
|
"name": "_blob",
|
|
3338
3338
|
"nodeType": "Identifier",
|
|
3339
3339
|
"overloadedDeclarations": [],
|
|
3340
|
-
"referencedDeclaration":
|
|
3340
|
+
"referencedDeclaration": 59887,
|
|
3341
3341
|
"src": "2905:5:110",
|
|
3342
3342
|
"typeDescriptions": {
|
|
3343
3343
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -3346,7 +3346,7 @@
|
|
|
3346
3346
|
},
|
|
3347
3347
|
{
|
|
3348
3348
|
"hexValue": "30",
|
|
3349
|
-
"id":
|
|
3349
|
+
"id": 59901,
|
|
3350
3350
|
"isConstant": false,
|
|
3351
3351
|
"isLValue": false,
|
|
3352
3352
|
"isPure": true,
|
|
@@ -3373,7 +3373,7 @@
|
|
|
3373
3373
|
}
|
|
3374
3374
|
],
|
|
3375
3375
|
"expression": {
|
|
3376
|
-
"id":
|
|
3376
|
+
"id": 59898,
|
|
3377
3377
|
"name": "Bytes",
|
|
3378
3378
|
"nodeType": "Identifier",
|
|
3379
3379
|
"overloadedDeclarations": [],
|
|
@@ -3384,7 +3384,7 @@
|
|
|
3384
3384
|
"typeString": "type(library Bytes)"
|
|
3385
3385
|
}
|
|
3386
3386
|
},
|
|
3387
|
-
"id":
|
|
3387
|
+
"id": 59899,
|
|
3388
3388
|
"isConstant": false,
|
|
3389
3389
|
"isLValue": false,
|
|
3390
3390
|
"isPure": false,
|
|
@@ -3398,7 +3398,7 @@
|
|
|
3398
3398
|
"typeString": "function (bytes memory,uint256) pure returns (bytes1)"
|
|
3399
3399
|
}
|
|
3400
3400
|
},
|
|
3401
|
-
"id":
|
|
3401
|
+
"id": 59902,
|
|
3402
3402
|
"isConstant": false,
|
|
3403
3403
|
"isLValue": false,
|
|
3404
3404
|
"isPure": false,
|
|
@@ -3421,7 +3421,7 @@
|
|
|
3421
3421
|
"typeString": "bytes1"
|
|
3422
3422
|
}
|
|
3423
3423
|
],
|
|
3424
|
-
"id":
|
|
3424
|
+
"id": 59897,
|
|
3425
3425
|
"isConstant": false,
|
|
3426
3426
|
"isLValue": false,
|
|
3427
3427
|
"isPure": true,
|
|
@@ -3433,14 +3433,14 @@
|
|
|
3433
3433
|
"typeString": "type(uint8)"
|
|
3434
3434
|
},
|
|
3435
3435
|
"typeName": {
|
|
3436
|
-
"id":
|
|
3436
|
+
"id": 59896,
|
|
3437
3437
|
"name": "uint8",
|
|
3438
3438
|
"nodeType": "ElementaryTypeName",
|
|
3439
3439
|
"src": "2886:5:110",
|
|
3440
3440
|
"typeDescriptions": {}
|
|
3441
3441
|
}
|
|
3442
3442
|
},
|
|
3443
|
-
"id":
|
|
3443
|
+
"id": 59903,
|
|
3444
3444
|
"isConstant": false,
|
|
3445
3445
|
"isLValue": false,
|
|
3446
3446
|
"isPure": false,
|
|
@@ -3463,7 +3463,7 @@
|
|
|
3463
3463
|
"typeString": "uint8"
|
|
3464
3464
|
}
|
|
3465
3465
|
],
|
|
3466
|
-
"id":
|
|
3466
|
+
"id": 59895,
|
|
3467
3467
|
"name": "Resource",
|
|
3468
3468
|
"nodeType": "Identifier",
|
|
3469
3469
|
"overloadedDeclarations": [],
|
|
@@ -3474,7 +3474,7 @@
|
|
|
3474
3474
|
"typeString": "type(enum Resource)"
|
|
3475
3475
|
}
|
|
3476
3476
|
},
|
|
3477
|
-
"id":
|
|
3477
|
+
"id": 59904,
|
|
3478
3478
|
"isConstant": false,
|
|
3479
3479
|
"isLValue": false,
|
|
3480
3480
|
"isPure": false,
|
|
@@ -3489,15 +3489,15 @@
|
|
|
3489
3489
|
"typeString": "enum Resource"
|
|
3490
3490
|
}
|
|
3491
3491
|
},
|
|
3492
|
-
"functionReturnParameters":
|
|
3493
|
-
"id":
|
|
3492
|
+
"functionReturnParameters": 59864,
|
|
3493
|
+
"id": 59905,
|
|
3494
3494
|
"nodeType": "Return",
|
|
3495
3495
|
"src": "2870:46:110"
|
|
3496
3496
|
}
|
|
3497
3497
|
]
|
|
3498
3498
|
},
|
|
3499
3499
|
"documentation": {
|
|
3500
|
-
"id":
|
|
3500
|
+
"id": 59857,
|
|
3501
3501
|
"nodeType": "StructuredDocumentation",
|
|
3502
3502
|
"src": "2573:23:110",
|
|
3503
3503
|
"text": "Get resourceType "
|
|
@@ -3508,17 +3508,17 @@
|
|
|
3508
3508
|
"name": "get",
|
|
3509
3509
|
"nameLocation": "2608:3:110",
|
|
3510
3510
|
"parameters": {
|
|
3511
|
-
"id":
|
|
3511
|
+
"id": 59860,
|
|
3512
3512
|
"nodeType": "ParameterList",
|
|
3513
3513
|
"parameters": [
|
|
3514
3514
|
{
|
|
3515
3515
|
"constant": false,
|
|
3516
|
-
"id":
|
|
3516
|
+
"id": 59859,
|
|
3517
3517
|
"mutability": "mutable",
|
|
3518
3518
|
"name": "resourceSelector",
|
|
3519
3519
|
"nameLocation": "2620:16:110",
|
|
3520
3520
|
"nodeType": "VariableDeclaration",
|
|
3521
|
-
"scope":
|
|
3521
|
+
"scope": 59907,
|
|
3522
3522
|
"src": "2612:24:110",
|
|
3523
3523
|
"stateVariable": false,
|
|
3524
3524
|
"storageLocation": "default",
|
|
@@ -3527,7 +3527,7 @@
|
|
|
3527
3527
|
"typeString": "bytes32"
|
|
3528
3528
|
},
|
|
3529
3529
|
"typeName": {
|
|
3530
|
-
"id":
|
|
3530
|
+
"id": 59858,
|
|
3531
3531
|
"name": "bytes32",
|
|
3532
3532
|
"nodeType": "ElementaryTypeName",
|
|
3533
3533
|
"src": "2612:7:110",
|
|
@@ -3542,17 +3542,17 @@
|
|
|
3542
3542
|
"src": "2611:26:110"
|
|
3543
3543
|
},
|
|
3544
3544
|
"returnParameters": {
|
|
3545
|
-
"id":
|
|
3545
|
+
"id": 59864,
|
|
3546
3546
|
"nodeType": "ParameterList",
|
|
3547
3547
|
"parameters": [
|
|
3548
3548
|
{
|
|
3549
3549
|
"constant": false,
|
|
3550
|
-
"id":
|
|
3550
|
+
"id": 59863,
|
|
3551
3551
|
"mutability": "mutable",
|
|
3552
3552
|
"name": "resourceType",
|
|
3553
3553
|
"nameLocation": "2670:12:110",
|
|
3554
3554
|
"nodeType": "VariableDeclaration",
|
|
3555
|
-
"scope":
|
|
3555
|
+
"scope": 59907,
|
|
3556
3556
|
"src": "2661:21:110",
|
|
3557
3557
|
"stateVariable": false,
|
|
3558
3558
|
"storageLocation": "default",
|
|
@@ -3561,10 +3561,10 @@
|
|
|
3561
3561
|
"typeString": "enum Resource"
|
|
3562
3562
|
},
|
|
3563
3563
|
"typeName": {
|
|
3564
|
-
"id":
|
|
3564
|
+
"id": 59862,
|
|
3565
3565
|
"nodeType": "UserDefinedTypeName",
|
|
3566
3566
|
"pathNode": {
|
|
3567
|
-
"id":
|
|
3567
|
+
"id": 59861,
|
|
3568
3568
|
"name": "Resource",
|
|
3569
3569
|
"nodeType": "IdentifierPath",
|
|
3570
3570
|
"referencedDeclaration": 56388,
|
|
@@ -3582,35 +3582,35 @@
|
|
|
3582
3582
|
],
|
|
3583
3583
|
"src": "2660:23:110"
|
|
3584
3584
|
},
|
|
3585
|
-
"scope":
|
|
3585
|
+
"scope": 60143,
|
|
3586
3586
|
"stateMutability": "view",
|
|
3587
3587
|
"virtual": false,
|
|
3588
3588
|
"visibility": "internal"
|
|
3589
3589
|
},
|
|
3590
3590
|
{
|
|
3591
|
-
"id":
|
|
3591
|
+
"id": 59961,
|
|
3592
3592
|
"nodeType": "FunctionDefinition",
|
|
3593
3593
|
"src": "2979:332:110",
|
|
3594
3594
|
"nodes": [],
|
|
3595
3595
|
"body": {
|
|
3596
|
-
"id":
|
|
3596
|
+
"id": 59960,
|
|
3597
3597
|
"nodeType": "Block",
|
|
3598
3598
|
"src": "3079:232:110",
|
|
3599
3599
|
"nodes": [],
|
|
3600
3600
|
"statements": [
|
|
3601
3601
|
{
|
|
3602
3602
|
"assignments": [
|
|
3603
|
-
|
|
3603
|
+
59923
|
|
3604
3604
|
],
|
|
3605
3605
|
"declarations": [
|
|
3606
3606
|
{
|
|
3607
3607
|
"constant": false,
|
|
3608
|
-
"id":
|
|
3608
|
+
"id": 59923,
|
|
3609
3609
|
"mutability": "mutable",
|
|
3610
3610
|
"name": "_primaryKeys",
|
|
3611
3611
|
"nameLocation": "3102:12:110",
|
|
3612
3612
|
"nodeType": "VariableDeclaration",
|
|
3613
|
-
"scope":
|
|
3613
|
+
"scope": 59960,
|
|
3614
3614
|
"src": "3085:29:110",
|
|
3615
3615
|
"stateVariable": false,
|
|
3616
3616
|
"storageLocation": "memory",
|
|
@@ -3620,7 +3620,7 @@
|
|
|
3620
3620
|
},
|
|
3621
3621
|
"typeName": {
|
|
3622
3622
|
"baseType": {
|
|
3623
|
-
"id":
|
|
3623
|
+
"id": 59921,
|
|
3624
3624
|
"name": "bytes32",
|
|
3625
3625
|
"nodeType": "ElementaryTypeName",
|
|
3626
3626
|
"src": "3085:7:110",
|
|
@@ -3629,7 +3629,7 @@
|
|
|
3629
3629
|
"typeString": "bytes32"
|
|
3630
3630
|
}
|
|
3631
3631
|
},
|
|
3632
|
-
"id":
|
|
3632
|
+
"id": 59922,
|
|
3633
3633
|
"nodeType": "ArrayTypeName",
|
|
3634
3634
|
"src": "3085:9:110",
|
|
3635
3635
|
"typeDescriptions": {
|
|
@@ -3640,12 +3640,12 @@
|
|
|
3640
3640
|
"visibility": "internal"
|
|
3641
3641
|
}
|
|
3642
3642
|
],
|
|
3643
|
-
"id":
|
|
3643
|
+
"id": 59929,
|
|
3644
3644
|
"initialValue": {
|
|
3645
3645
|
"arguments": [
|
|
3646
3646
|
{
|
|
3647
3647
|
"hexValue": "31",
|
|
3648
|
-
"id":
|
|
3648
|
+
"id": 59927,
|
|
3649
3649
|
"isConstant": false,
|
|
3650
3650
|
"isLValue": false,
|
|
3651
3651
|
"isPure": true,
|
|
@@ -3667,7 +3667,7 @@
|
|
|
3667
3667
|
"typeString": "int_const 1"
|
|
3668
3668
|
}
|
|
3669
3669
|
],
|
|
3670
|
-
"id":
|
|
3670
|
+
"id": 59926,
|
|
3671
3671
|
"isConstant": false,
|
|
3672
3672
|
"isLValue": false,
|
|
3673
3673
|
"isPure": true,
|
|
@@ -3680,7 +3680,7 @@
|
|
|
3680
3680
|
},
|
|
3681
3681
|
"typeName": {
|
|
3682
3682
|
"baseType": {
|
|
3683
|
-
"id":
|
|
3683
|
+
"id": 59924,
|
|
3684
3684
|
"name": "bytes32",
|
|
3685
3685
|
"nodeType": "ElementaryTypeName",
|
|
3686
3686
|
"src": "3121:7:110",
|
|
@@ -3689,7 +3689,7 @@
|
|
|
3689
3689
|
"typeString": "bytes32"
|
|
3690
3690
|
}
|
|
3691
3691
|
},
|
|
3692
|
-
"id":
|
|
3692
|
+
"id": 59925,
|
|
3693
3693
|
"nodeType": "ArrayTypeName",
|
|
3694
3694
|
"src": "3121:9:110",
|
|
3695
3695
|
"typeDescriptions": {
|
|
@@ -3698,7 +3698,7 @@
|
|
|
3698
3698
|
}
|
|
3699
3699
|
}
|
|
3700
3700
|
},
|
|
3701
|
-
"id":
|
|
3701
|
+
"id": 59928,
|
|
3702
3702
|
"isConstant": false,
|
|
3703
3703
|
"isLValue": false,
|
|
3704
3704
|
"isPure": true,
|
|
@@ -3718,28 +3718,28 @@
|
|
|
3718
3718
|
},
|
|
3719
3719
|
{
|
|
3720
3720
|
"expression": {
|
|
3721
|
-
"id":
|
|
3721
|
+
"id": 59938,
|
|
3722
3722
|
"isConstant": false,
|
|
3723
3723
|
"isLValue": false,
|
|
3724
3724
|
"isPure": false,
|
|
3725
3725
|
"lValueRequested": false,
|
|
3726
3726
|
"leftHandSide": {
|
|
3727
3727
|
"baseExpression": {
|
|
3728
|
-
"id":
|
|
3728
|
+
"id": 59930,
|
|
3729
3729
|
"name": "_primaryKeys",
|
|
3730
3730
|
"nodeType": "Identifier",
|
|
3731
3731
|
"overloadedDeclarations": [],
|
|
3732
|
-
"referencedDeclaration":
|
|
3732
|
+
"referencedDeclaration": 59923,
|
|
3733
3733
|
"src": "3139:12:110",
|
|
3734
3734
|
"typeDescriptions": {
|
|
3735
3735
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
3736
3736
|
"typeString": "bytes32[] memory"
|
|
3737
3737
|
}
|
|
3738
3738
|
},
|
|
3739
|
-
"id":
|
|
3739
|
+
"id": 59932,
|
|
3740
3740
|
"indexExpression": {
|
|
3741
3741
|
"hexValue": "30",
|
|
3742
|
-
"id":
|
|
3742
|
+
"id": 59931,
|
|
3743
3743
|
"isConstant": false,
|
|
3744
3744
|
"isLValue": false,
|
|
3745
3745
|
"isPure": true,
|
|
@@ -3771,11 +3771,11 @@
|
|
|
3771
3771
|
{
|
|
3772
3772
|
"components": [
|
|
3773
3773
|
{
|
|
3774
|
-
"id":
|
|
3774
|
+
"id": 59935,
|
|
3775
3775
|
"name": "resourceSelector",
|
|
3776
3776
|
"nodeType": "Identifier",
|
|
3777
3777
|
"overloadedDeclarations": [],
|
|
3778
|
-
"referencedDeclaration":
|
|
3778
|
+
"referencedDeclaration": 59913,
|
|
3779
3779
|
"src": "3166:16:110",
|
|
3780
3780
|
"typeDescriptions": {
|
|
3781
3781
|
"typeIdentifier": "t_bytes32",
|
|
@@ -3783,7 +3783,7 @@
|
|
|
3783
3783
|
}
|
|
3784
3784
|
}
|
|
3785
3785
|
],
|
|
3786
|
-
"id":
|
|
3786
|
+
"id": 59936,
|
|
3787
3787
|
"isConstant": false,
|
|
3788
3788
|
"isInlineArray": false,
|
|
3789
3789
|
"isLValue": false,
|
|
@@ -3804,7 +3804,7 @@
|
|
|
3804
3804
|
"typeString": "bytes32"
|
|
3805
3805
|
}
|
|
3806
3806
|
],
|
|
3807
|
-
"id":
|
|
3807
|
+
"id": 59934,
|
|
3808
3808
|
"isConstant": false,
|
|
3809
3809
|
"isLValue": false,
|
|
3810
3810
|
"isPure": true,
|
|
@@ -3816,14 +3816,14 @@
|
|
|
3816
3816
|
"typeString": "type(bytes32)"
|
|
3817
3817
|
},
|
|
3818
3818
|
"typeName": {
|
|
3819
|
-
"id":
|
|
3819
|
+
"id": 59933,
|
|
3820
3820
|
"name": "bytes32",
|
|
3821
3821
|
"nodeType": "ElementaryTypeName",
|
|
3822
3822
|
"src": "3157:7:110",
|
|
3823
3823
|
"typeDescriptions": {}
|
|
3824
3824
|
}
|
|
3825
3825
|
},
|
|
3826
|
-
"id":
|
|
3826
|
+
"id": 59937,
|
|
3827
3827
|
"isConstant": false,
|
|
3828
3828
|
"isLValue": false,
|
|
3829
3829
|
"isPure": false,
|
|
@@ -3844,23 +3844,23 @@
|
|
|
3844
3844
|
"typeString": "bytes32"
|
|
3845
3845
|
}
|
|
3846
3846
|
},
|
|
3847
|
-
"id":
|
|
3847
|
+
"id": 59939,
|
|
3848
3848
|
"nodeType": "ExpressionStatement",
|
|
3849
3849
|
"src": "3139:45:110"
|
|
3850
3850
|
},
|
|
3851
3851
|
{
|
|
3852
3852
|
"assignments": [
|
|
3853
|
-
|
|
3853
|
+
59941
|
|
3854
3854
|
],
|
|
3855
3855
|
"declarations": [
|
|
3856
3856
|
{
|
|
3857
3857
|
"constant": false,
|
|
3858
|
-
"id":
|
|
3858
|
+
"id": 59941,
|
|
3859
3859
|
"mutability": "mutable",
|
|
3860
3860
|
"name": "_blob",
|
|
3861
3861
|
"nameLocation": "3204:5:110",
|
|
3862
3862
|
"nodeType": "VariableDeclaration",
|
|
3863
|
-
"scope":
|
|
3863
|
+
"scope": 59960,
|
|
3864
3864
|
"src": "3191:18:110",
|
|
3865
3865
|
"stateVariable": false,
|
|
3866
3866
|
"storageLocation": "memory",
|
|
@@ -3869,7 +3869,7 @@
|
|
|
3869
3869
|
"typeString": "bytes"
|
|
3870
3870
|
},
|
|
3871
3871
|
"typeName": {
|
|
3872
|
-
"id":
|
|
3872
|
+
"id": 59940,
|
|
3873
3873
|
"name": "bytes",
|
|
3874
3874
|
"nodeType": "ElementaryTypeName",
|
|
3875
3875
|
"src": "3191:5:110",
|
|
@@ -3881,15 +3881,15 @@
|
|
|
3881
3881
|
"visibility": "internal"
|
|
3882
3882
|
}
|
|
3883
3883
|
],
|
|
3884
|
-
"id":
|
|
3884
|
+
"id": 59948,
|
|
3885
3885
|
"initialValue": {
|
|
3886
3886
|
"arguments": [
|
|
3887
3887
|
{
|
|
3888
|
-
"id":
|
|
3888
|
+
"id": 59944,
|
|
3889
3889
|
"name": "_tableId",
|
|
3890
3890
|
"nodeType": "Identifier",
|
|
3891
3891
|
"overloadedDeclarations": [],
|
|
3892
|
-
"referencedDeclaration":
|
|
3892
|
+
"referencedDeclaration": 59681,
|
|
3893
3893
|
"src": "3228:8:110",
|
|
3894
3894
|
"typeDescriptions": {
|
|
3895
3895
|
"typeIdentifier": "t_uint256",
|
|
@@ -3897,11 +3897,11 @@
|
|
|
3897
3897
|
}
|
|
3898
3898
|
},
|
|
3899
3899
|
{
|
|
3900
|
-
"id":
|
|
3900
|
+
"id": 59945,
|
|
3901
3901
|
"name": "_primaryKeys",
|
|
3902
3902
|
"nodeType": "Identifier",
|
|
3903
3903
|
"overloadedDeclarations": [],
|
|
3904
|
-
"referencedDeclaration":
|
|
3904
|
+
"referencedDeclaration": 59923,
|
|
3905
3905
|
"src": "3238:12:110",
|
|
3906
3906
|
"typeDescriptions": {
|
|
3907
3907
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -3910,7 +3910,7 @@
|
|
|
3910
3910
|
},
|
|
3911
3911
|
{
|
|
3912
3912
|
"hexValue": "30",
|
|
3913
|
-
"id":
|
|
3913
|
+
"id": 59946,
|
|
3914
3914
|
"isConstant": false,
|
|
3915
3915
|
"isLValue": false,
|
|
3916
3916
|
"isPure": true,
|
|
@@ -3941,18 +3941,18 @@
|
|
|
3941
3941
|
}
|
|
3942
3942
|
],
|
|
3943
3943
|
"expression": {
|
|
3944
|
-
"id":
|
|
3944
|
+
"id": 59942,
|
|
3945
3945
|
"name": "_store",
|
|
3946
3946
|
"nodeType": "Identifier",
|
|
3947
3947
|
"overloadedDeclarations": [],
|
|
3948
|
-
"referencedDeclaration":
|
|
3948
|
+
"referencedDeclaration": 59911,
|
|
3949
3949
|
"src": "3212:6:110",
|
|
3950
3950
|
"typeDescriptions": {
|
|
3951
3951
|
"typeIdentifier": "t_contract$_IStore_$1163",
|
|
3952
3952
|
"typeString": "contract IStore"
|
|
3953
3953
|
}
|
|
3954
3954
|
},
|
|
3955
|
-
"id":
|
|
3955
|
+
"id": 59943,
|
|
3956
3956
|
"isConstant": false,
|
|
3957
3957
|
"isLValue": false,
|
|
3958
3958
|
"isPure": false,
|
|
@@ -3966,7 +3966,7 @@
|
|
|
3966
3966
|
"typeString": "function (uint256,bytes32[] memory,uint8) view external returns (bytes memory)"
|
|
3967
3967
|
}
|
|
3968
3968
|
},
|
|
3969
|
-
"id":
|
|
3969
|
+
"id": 59947,
|
|
3970
3970
|
"isConstant": false,
|
|
3971
3971
|
"isLValue": false,
|
|
3972
3972
|
"isPure": false,
|
|
@@ -3992,11 +3992,11 @@
|
|
|
3992
3992
|
{
|
|
3993
3993
|
"arguments": [
|
|
3994
3994
|
{
|
|
3995
|
-
"id":
|
|
3995
|
+
"id": 59954,
|
|
3996
3996
|
"name": "_blob",
|
|
3997
3997
|
"nodeType": "Identifier",
|
|
3998
3998
|
"overloadedDeclarations": [],
|
|
3999
|
-
"referencedDeclaration":
|
|
3999
|
+
"referencedDeclaration": 59941,
|
|
4000
4000
|
"src": "3295:5:110",
|
|
4001
4001
|
"typeDescriptions": {
|
|
4002
4002
|
"typeIdentifier": "t_bytes_memory_ptr",
|
|
@@ -4005,7 +4005,7 @@
|
|
|
4005
4005
|
},
|
|
4006
4006
|
{
|
|
4007
4007
|
"hexValue": "30",
|
|
4008
|
-
"id":
|
|
4008
|
+
"id": 59955,
|
|
4009
4009
|
"isConstant": false,
|
|
4010
4010
|
"isLValue": false,
|
|
4011
4011
|
"isPure": true,
|
|
@@ -4032,7 +4032,7 @@
|
|
|
4032
4032
|
}
|
|
4033
4033
|
],
|
|
4034
4034
|
"expression": {
|
|
4035
|
-
"id":
|
|
4035
|
+
"id": 59952,
|
|
4036
4036
|
"name": "Bytes",
|
|
4037
4037
|
"nodeType": "Identifier",
|
|
4038
4038
|
"overloadedDeclarations": [],
|
|
@@ -4043,7 +4043,7 @@
|
|
|
4043
4043
|
"typeString": "type(library Bytes)"
|
|
4044
4044
|
}
|
|
4045
4045
|
},
|
|
4046
|
-
"id":
|
|
4046
|
+
"id": 59953,
|
|
4047
4047
|
"isConstant": false,
|
|
4048
4048
|
"isLValue": false,
|
|
4049
4049
|
"isPure": false,
|
|
@@ -4057,7 +4057,7 @@
|
|
|
4057
4057
|
"typeString": "function (bytes memory,uint256) pure returns (bytes1)"
|
|
4058
4058
|
}
|
|
4059
4059
|
},
|
|
4060
|
-
"id":
|
|
4060
|
+
"id": 59956,
|
|
4061
4061
|
"isConstant": false,
|
|
4062
4062
|
"isLValue": false,
|
|
4063
4063
|
"isPure": false,
|
|
@@ -4080,7 +4080,7 @@
|
|
|
4080
4080
|
"typeString": "bytes1"
|
|
4081
4081
|
}
|
|
4082
4082
|
],
|
|
4083
|
-
"id":
|
|
4083
|
+
"id": 59951,
|
|
4084
4084
|
"isConstant": false,
|
|
4085
4085
|
"isLValue": false,
|
|
4086
4086
|
"isPure": true,
|
|
@@ -4092,14 +4092,14 @@
|
|
|
4092
4092
|
"typeString": "type(uint8)"
|
|
4093
4093
|
},
|
|
4094
4094
|
"typeName": {
|
|
4095
|
-
"id":
|
|
4095
|
+
"id": 59950,
|
|
4096
4096
|
"name": "uint8",
|
|
4097
4097
|
"nodeType": "ElementaryTypeName",
|
|
4098
4098
|
"src": "3276:5:110",
|
|
4099
4099
|
"typeDescriptions": {}
|
|
4100
4100
|
}
|
|
4101
4101
|
},
|
|
4102
|
-
"id":
|
|
4102
|
+
"id": 59957,
|
|
4103
4103
|
"isConstant": false,
|
|
4104
4104
|
"isLValue": false,
|
|
4105
4105
|
"isPure": false,
|
|
@@ -4122,7 +4122,7 @@
|
|
|
4122
4122
|
"typeString": "uint8"
|
|
4123
4123
|
}
|
|
4124
4124
|
],
|
|
4125
|
-
"id":
|
|
4125
|
+
"id": 59949,
|
|
4126
4126
|
"name": "Resource",
|
|
4127
4127
|
"nodeType": "Identifier",
|
|
4128
4128
|
"overloadedDeclarations": [],
|
|
@@ -4133,7 +4133,7 @@
|
|
|
4133
4133
|
"typeString": "type(enum Resource)"
|
|
4134
4134
|
}
|
|
4135
4135
|
},
|
|
4136
|
-
"id":
|
|
4136
|
+
"id": 59958,
|
|
4137
4137
|
"isConstant": false,
|
|
4138
4138
|
"isLValue": false,
|
|
4139
4139
|
"isPure": false,
|
|
@@ -4148,15 +4148,15 @@
|
|
|
4148
4148
|
"typeString": "enum Resource"
|
|
4149
4149
|
}
|
|
4150
4150
|
},
|
|
4151
|
-
"functionReturnParameters":
|
|
4152
|
-
"id":
|
|
4151
|
+
"functionReturnParameters": 59918,
|
|
4152
|
+
"id": 59959,
|
|
4153
4153
|
"nodeType": "Return",
|
|
4154
4154
|
"src": "3260:46:110"
|
|
4155
4155
|
}
|
|
4156
4156
|
]
|
|
4157
4157
|
},
|
|
4158
4158
|
"documentation": {
|
|
4159
|
-
"id":
|
|
4159
|
+
"id": 59908,
|
|
4160
4160
|
"nodeType": "StructuredDocumentation",
|
|
4161
4161
|
"src": "2925:51:110",
|
|
4162
4162
|
"text": "Get resourceType (using the specified store) "
|
|
@@ -4167,17 +4167,17 @@
|
|
|
4167
4167
|
"name": "get",
|
|
4168
4168
|
"nameLocation": "2988:3:110",
|
|
4169
4169
|
"parameters": {
|
|
4170
|
-
"id":
|
|
4170
|
+
"id": 59914,
|
|
4171
4171
|
"nodeType": "ParameterList",
|
|
4172
4172
|
"parameters": [
|
|
4173
4173
|
{
|
|
4174
4174
|
"constant": false,
|
|
4175
|
-
"id":
|
|
4175
|
+
"id": 59911,
|
|
4176
4176
|
"mutability": "mutable",
|
|
4177
4177
|
"name": "_store",
|
|
4178
4178
|
"nameLocation": "2999:6:110",
|
|
4179
4179
|
"nodeType": "VariableDeclaration",
|
|
4180
|
-
"scope":
|
|
4180
|
+
"scope": 59961,
|
|
4181
4181
|
"src": "2992:13:110",
|
|
4182
4182
|
"stateVariable": false,
|
|
4183
4183
|
"storageLocation": "default",
|
|
@@ -4186,10 +4186,10 @@
|
|
|
4186
4186
|
"typeString": "contract IStore"
|
|
4187
4187
|
},
|
|
4188
4188
|
"typeName": {
|
|
4189
|
-
"id":
|
|
4189
|
+
"id": 59910,
|
|
4190
4190
|
"nodeType": "UserDefinedTypeName",
|
|
4191
4191
|
"pathNode": {
|
|
4192
|
-
"id":
|
|
4192
|
+
"id": 59909,
|
|
4193
4193
|
"name": "IStore",
|
|
4194
4194
|
"nodeType": "IdentifierPath",
|
|
4195
4195
|
"referencedDeclaration": 1163,
|
|
@@ -4206,12 +4206,12 @@
|
|
|
4206
4206
|
},
|
|
4207
4207
|
{
|
|
4208
4208
|
"constant": false,
|
|
4209
|
-
"id":
|
|
4209
|
+
"id": 59913,
|
|
4210
4210
|
"mutability": "mutable",
|
|
4211
4211
|
"name": "resourceSelector",
|
|
4212
4212
|
"nameLocation": "3015:16:110",
|
|
4213
4213
|
"nodeType": "VariableDeclaration",
|
|
4214
|
-
"scope":
|
|
4214
|
+
"scope": 59961,
|
|
4215
4215
|
"src": "3007:24:110",
|
|
4216
4216
|
"stateVariable": false,
|
|
4217
4217
|
"storageLocation": "default",
|
|
@@ -4220,7 +4220,7 @@
|
|
|
4220
4220
|
"typeString": "bytes32"
|
|
4221
4221
|
},
|
|
4222
4222
|
"typeName": {
|
|
4223
|
-
"id":
|
|
4223
|
+
"id": 59912,
|
|
4224
4224
|
"name": "bytes32",
|
|
4225
4225
|
"nodeType": "ElementaryTypeName",
|
|
4226
4226
|
"src": "3007:7:110",
|
|
@@ -4235,17 +4235,17 @@
|
|
|
4235
4235
|
"src": "2991:41:110"
|
|
4236
4236
|
},
|
|
4237
4237
|
"returnParameters": {
|
|
4238
|
-
"id":
|
|
4238
|
+
"id": 59918,
|
|
4239
4239
|
"nodeType": "ParameterList",
|
|
4240
4240
|
"parameters": [
|
|
4241
4241
|
{
|
|
4242
4242
|
"constant": false,
|
|
4243
|
-
"id":
|
|
4243
|
+
"id": 59917,
|
|
4244
4244
|
"mutability": "mutable",
|
|
4245
4245
|
"name": "resourceType",
|
|
4246
4246
|
"nameLocation": "3065:12:110",
|
|
4247
4247
|
"nodeType": "VariableDeclaration",
|
|
4248
|
-
"scope":
|
|
4248
|
+
"scope": 59961,
|
|
4249
4249
|
"src": "3056:21:110",
|
|
4250
4250
|
"stateVariable": false,
|
|
4251
4251
|
"storageLocation": "default",
|
|
@@ -4254,10 +4254,10 @@
|
|
|
4254
4254
|
"typeString": "enum Resource"
|
|
4255
4255
|
},
|
|
4256
4256
|
"typeName": {
|
|
4257
|
-
"id":
|
|
4257
|
+
"id": 59916,
|
|
4258
4258
|
"nodeType": "UserDefinedTypeName",
|
|
4259
4259
|
"pathNode": {
|
|
4260
|
-
"id":
|
|
4260
|
+
"id": 59915,
|
|
4261
4261
|
"name": "Resource",
|
|
4262
4262
|
"nodeType": "IdentifierPath",
|
|
4263
4263
|
"referencedDeclaration": 56388,
|
|
@@ -4275,35 +4275,35 @@
|
|
|
4275
4275
|
],
|
|
4276
4276
|
"src": "3055:23:110"
|
|
4277
4277
|
},
|
|
4278
|
-
"scope":
|
|
4278
|
+
"scope": 60143,
|
|
4279
4279
|
"stateMutability": "view",
|
|
4280
4280
|
"virtual": false,
|
|
4281
4281
|
"visibility": "internal"
|
|
4282
4282
|
},
|
|
4283
4283
|
{
|
|
4284
|
-
"id":
|
|
4284
|
+
"id": 60007,
|
|
4285
4285
|
"nodeType": "FunctionDefinition",
|
|
4286
4286
|
"src": "3341:274:110",
|
|
4287
4287
|
"nodes": [],
|
|
4288
4288
|
"body": {
|
|
4289
|
-
"id":
|
|
4289
|
+
"id": 60006,
|
|
4290
4290
|
"nodeType": "Block",
|
|
4291
4291
|
"src": "3412:203:110",
|
|
4292
4292
|
"nodes": [],
|
|
4293
4293
|
"statements": [
|
|
4294
4294
|
{
|
|
4295
4295
|
"assignments": [
|
|
4296
|
-
|
|
4296
|
+
59974
|
|
4297
4297
|
],
|
|
4298
4298
|
"declarations": [
|
|
4299
4299
|
{
|
|
4300
4300
|
"constant": false,
|
|
4301
|
-
"id":
|
|
4301
|
+
"id": 59974,
|
|
4302
4302
|
"mutability": "mutable",
|
|
4303
4303
|
"name": "_primaryKeys",
|
|
4304
4304
|
"nameLocation": "3435:12:110",
|
|
4305
4305
|
"nodeType": "VariableDeclaration",
|
|
4306
|
-
"scope":
|
|
4306
|
+
"scope": 60006,
|
|
4307
4307
|
"src": "3418:29:110",
|
|
4308
4308
|
"stateVariable": false,
|
|
4309
4309
|
"storageLocation": "memory",
|
|
@@ -4313,7 +4313,7 @@
|
|
|
4313
4313
|
},
|
|
4314
4314
|
"typeName": {
|
|
4315
4315
|
"baseType": {
|
|
4316
|
-
"id":
|
|
4316
|
+
"id": 59972,
|
|
4317
4317
|
"name": "bytes32",
|
|
4318
4318
|
"nodeType": "ElementaryTypeName",
|
|
4319
4319
|
"src": "3418:7:110",
|
|
@@ -4322,7 +4322,7 @@
|
|
|
4322
4322
|
"typeString": "bytes32"
|
|
4323
4323
|
}
|
|
4324
4324
|
},
|
|
4325
|
-
"id":
|
|
4325
|
+
"id": 59973,
|
|
4326
4326
|
"nodeType": "ArrayTypeName",
|
|
4327
4327
|
"src": "3418:9:110",
|
|
4328
4328
|
"typeDescriptions": {
|
|
@@ -4333,12 +4333,12 @@
|
|
|
4333
4333
|
"visibility": "internal"
|
|
4334
4334
|
}
|
|
4335
4335
|
],
|
|
4336
|
-
"id":
|
|
4336
|
+
"id": 59980,
|
|
4337
4337
|
"initialValue": {
|
|
4338
4338
|
"arguments": [
|
|
4339
4339
|
{
|
|
4340
4340
|
"hexValue": "31",
|
|
4341
|
-
"id":
|
|
4341
|
+
"id": 59978,
|
|
4342
4342
|
"isConstant": false,
|
|
4343
4343
|
"isLValue": false,
|
|
4344
4344
|
"isPure": true,
|
|
@@ -4360,7 +4360,7 @@
|
|
|
4360
4360
|
"typeString": "int_const 1"
|
|
4361
4361
|
}
|
|
4362
4362
|
],
|
|
4363
|
-
"id":
|
|
4363
|
+
"id": 59977,
|
|
4364
4364
|
"isConstant": false,
|
|
4365
4365
|
"isLValue": false,
|
|
4366
4366
|
"isPure": true,
|
|
@@ -4373,7 +4373,7 @@
|
|
|
4373
4373
|
},
|
|
4374
4374
|
"typeName": {
|
|
4375
4375
|
"baseType": {
|
|
4376
|
-
"id":
|
|
4376
|
+
"id": 59975,
|
|
4377
4377
|
"name": "bytes32",
|
|
4378
4378
|
"nodeType": "ElementaryTypeName",
|
|
4379
4379
|
"src": "3454:7:110",
|
|
@@ -4382,7 +4382,7 @@
|
|
|
4382
4382
|
"typeString": "bytes32"
|
|
4383
4383
|
}
|
|
4384
4384
|
},
|
|
4385
|
-
"id":
|
|
4385
|
+
"id": 59976,
|
|
4386
4386
|
"nodeType": "ArrayTypeName",
|
|
4387
4387
|
"src": "3454:9:110",
|
|
4388
4388
|
"typeDescriptions": {
|
|
@@ -4391,7 +4391,7 @@
|
|
|
4391
4391
|
}
|
|
4392
4392
|
}
|
|
4393
4393
|
},
|
|
4394
|
-
"id":
|
|
4394
|
+
"id": 59979,
|
|
4395
4395
|
"isConstant": false,
|
|
4396
4396
|
"isLValue": false,
|
|
4397
4397
|
"isPure": true,
|
|
@@ -4411,28 +4411,28 @@
|
|
|
4411
4411
|
},
|
|
4412
4412
|
{
|
|
4413
4413
|
"expression": {
|
|
4414
|
-
"id":
|
|
4414
|
+
"id": 59989,
|
|
4415
4415
|
"isConstant": false,
|
|
4416
4416
|
"isLValue": false,
|
|
4417
4417
|
"isPure": false,
|
|
4418
4418
|
"lValueRequested": false,
|
|
4419
4419
|
"leftHandSide": {
|
|
4420
4420
|
"baseExpression": {
|
|
4421
|
-
"id":
|
|
4421
|
+
"id": 59981,
|
|
4422
4422
|
"name": "_primaryKeys",
|
|
4423
4423
|
"nodeType": "Identifier",
|
|
4424
4424
|
"overloadedDeclarations": [],
|
|
4425
|
-
"referencedDeclaration":
|
|
4425
|
+
"referencedDeclaration": 59974,
|
|
4426
4426
|
"src": "3472:12:110",
|
|
4427
4427
|
"typeDescriptions": {
|
|
4428
4428
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
4429
4429
|
"typeString": "bytes32[] memory"
|
|
4430
4430
|
}
|
|
4431
4431
|
},
|
|
4432
|
-
"id":
|
|
4432
|
+
"id": 59983,
|
|
4433
4433
|
"indexExpression": {
|
|
4434
4434
|
"hexValue": "30",
|
|
4435
|
-
"id":
|
|
4435
|
+
"id": 59982,
|
|
4436
4436
|
"isConstant": false,
|
|
4437
4437
|
"isLValue": false,
|
|
4438
4438
|
"isPure": true,
|
|
@@ -4464,11 +4464,11 @@
|
|
|
4464
4464
|
{
|
|
4465
4465
|
"components": [
|
|
4466
4466
|
{
|
|
4467
|
-
"id":
|
|
4467
|
+
"id": 59986,
|
|
4468
4468
|
"name": "resourceSelector",
|
|
4469
4469
|
"nodeType": "Identifier",
|
|
4470
4470
|
"overloadedDeclarations": [],
|
|
4471
|
-
"referencedDeclaration":
|
|
4471
|
+
"referencedDeclaration": 59964,
|
|
4472
4472
|
"src": "3499:16:110",
|
|
4473
4473
|
"typeDescriptions": {
|
|
4474
4474
|
"typeIdentifier": "t_bytes32",
|
|
@@ -4476,7 +4476,7 @@
|
|
|
4476
4476
|
}
|
|
4477
4477
|
}
|
|
4478
4478
|
],
|
|
4479
|
-
"id":
|
|
4479
|
+
"id": 59987,
|
|
4480
4480
|
"isConstant": false,
|
|
4481
4481
|
"isInlineArray": false,
|
|
4482
4482
|
"isLValue": false,
|
|
@@ -4497,7 +4497,7 @@
|
|
|
4497
4497
|
"typeString": "bytes32"
|
|
4498
4498
|
}
|
|
4499
4499
|
],
|
|
4500
|
-
"id":
|
|
4500
|
+
"id": 59985,
|
|
4501
4501
|
"isConstant": false,
|
|
4502
4502
|
"isLValue": false,
|
|
4503
4503
|
"isPure": true,
|
|
@@ -4509,14 +4509,14 @@
|
|
|
4509
4509
|
"typeString": "type(bytes32)"
|
|
4510
4510
|
},
|
|
4511
4511
|
"typeName": {
|
|
4512
|
-
"id":
|
|
4512
|
+
"id": 59984,
|
|
4513
4513
|
"name": "bytes32",
|
|
4514
4514
|
"nodeType": "ElementaryTypeName",
|
|
4515
4515
|
"src": "3490:7:110",
|
|
4516
4516
|
"typeDescriptions": {}
|
|
4517
4517
|
}
|
|
4518
4518
|
},
|
|
4519
|
-
"id":
|
|
4519
|
+
"id": 59988,
|
|
4520
4520
|
"isConstant": false,
|
|
4521
4521
|
"isLValue": false,
|
|
4522
4522
|
"isPure": false,
|
|
@@ -4537,7 +4537,7 @@
|
|
|
4537
4537
|
"typeString": "bytes32"
|
|
4538
4538
|
}
|
|
4539
4539
|
},
|
|
4540
|
-
"id":
|
|
4540
|
+
"id": 59990,
|
|
4541
4541
|
"nodeType": "ExpressionStatement",
|
|
4542
4542
|
"src": "3472:45:110"
|
|
4543
4543
|
},
|
|
@@ -4545,11 +4545,11 @@
|
|
|
4545
4545
|
"expression": {
|
|
4546
4546
|
"arguments": [
|
|
4547
4547
|
{
|
|
4548
|
-
"id":
|
|
4548
|
+
"id": 59994,
|
|
4549
4549
|
"name": "_tableId",
|
|
4550
4550
|
"nodeType": "Identifier",
|
|
4551
4551
|
"overloadedDeclarations": [],
|
|
4552
|
-
"referencedDeclaration":
|
|
4552
|
+
"referencedDeclaration": 59681,
|
|
4553
4553
|
"src": "3545:8:110",
|
|
4554
4554
|
"typeDescriptions": {
|
|
4555
4555
|
"typeIdentifier": "t_uint256",
|
|
@@ -4557,11 +4557,11 @@
|
|
|
4557
4557
|
}
|
|
4558
4558
|
},
|
|
4559
4559
|
{
|
|
4560
|
-
"id":
|
|
4560
|
+
"id": 59995,
|
|
4561
4561
|
"name": "_primaryKeys",
|
|
4562
4562
|
"nodeType": "Identifier",
|
|
4563
4563
|
"overloadedDeclarations": [],
|
|
4564
|
-
"referencedDeclaration":
|
|
4564
|
+
"referencedDeclaration": 59974,
|
|
4565
4565
|
"src": "3555:12:110",
|
|
4566
4566
|
"typeDescriptions": {
|
|
4567
4567
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -4570,7 +4570,7 @@
|
|
|
4570
4570
|
},
|
|
4571
4571
|
{
|
|
4572
4572
|
"hexValue": "30",
|
|
4573
|
-
"id":
|
|
4573
|
+
"id": 59996,
|
|
4574
4574
|
"isConstant": false,
|
|
4575
4575
|
"isLValue": false,
|
|
4576
4576
|
"isPure": true,
|
|
@@ -4589,11 +4589,11 @@
|
|
|
4589
4589
|
{
|
|
4590
4590
|
"arguments": [
|
|
4591
4591
|
{
|
|
4592
|
-
"id":
|
|
4592
|
+
"id": 60001,
|
|
4593
4593
|
"name": "resourceType",
|
|
4594
4594
|
"nodeType": "Identifier",
|
|
4595
4595
|
"overloadedDeclarations": [],
|
|
4596
|
-
"referencedDeclaration":
|
|
4596
|
+
"referencedDeclaration": 59967,
|
|
4597
4597
|
"src": "3595:12:110",
|
|
4598
4598
|
"typeDescriptions": {
|
|
4599
4599
|
"typeIdentifier": "t_enum$_Resource_$56388",
|
|
@@ -4608,7 +4608,7 @@
|
|
|
4608
4608
|
"typeString": "enum Resource"
|
|
4609
4609
|
}
|
|
4610
4610
|
],
|
|
4611
|
-
"id":
|
|
4611
|
+
"id": 60000,
|
|
4612
4612
|
"isConstant": false,
|
|
4613
4613
|
"isLValue": false,
|
|
4614
4614
|
"isPure": true,
|
|
@@ -4620,14 +4620,14 @@
|
|
|
4620
4620
|
"typeString": "type(uint8)"
|
|
4621
4621
|
},
|
|
4622
4622
|
"typeName": {
|
|
4623
|
-
"id":
|
|
4623
|
+
"id": 59999,
|
|
4624
4624
|
"name": "uint8",
|
|
4625
4625
|
"nodeType": "ElementaryTypeName",
|
|
4626
4626
|
"src": "3589:5:110",
|
|
4627
4627
|
"typeDescriptions": {}
|
|
4628
4628
|
}
|
|
4629
4629
|
},
|
|
4630
|
-
"id":
|
|
4630
|
+
"id": 60002,
|
|
4631
4631
|
"isConstant": false,
|
|
4632
4632
|
"isLValue": false,
|
|
4633
4633
|
"isPure": false,
|
|
@@ -4651,7 +4651,7 @@
|
|
|
4651
4651
|
}
|
|
4652
4652
|
],
|
|
4653
4653
|
"expression": {
|
|
4654
|
-
"id":
|
|
4654
|
+
"id": 59997,
|
|
4655
4655
|
"name": "abi",
|
|
4656
4656
|
"nodeType": "Identifier",
|
|
4657
4657
|
"overloadedDeclarations": [],
|
|
@@ -4662,7 +4662,7 @@
|
|
|
4662
4662
|
"typeString": "abi"
|
|
4663
4663
|
}
|
|
4664
4664
|
},
|
|
4665
|
-
"id":
|
|
4665
|
+
"id": 59998,
|
|
4666
4666
|
"isConstant": false,
|
|
4667
4667
|
"isLValue": false,
|
|
4668
4668
|
"isPure": true,
|
|
@@ -4675,7 +4675,7 @@
|
|
|
4675
4675
|
"typeString": "function () pure returns (bytes memory)"
|
|
4676
4676
|
}
|
|
4677
4677
|
},
|
|
4678
|
-
"id":
|
|
4678
|
+
"id": 60003,
|
|
4679
4679
|
"isConstant": false,
|
|
4680
4680
|
"isLValue": false,
|
|
4681
4681
|
"isPure": false,
|
|
@@ -4711,7 +4711,7 @@
|
|
|
4711
4711
|
}
|
|
4712
4712
|
],
|
|
4713
4713
|
"expression": {
|
|
4714
|
-
"id":
|
|
4714
|
+
"id": 59991,
|
|
4715
4715
|
"name": "StoreSwitch",
|
|
4716
4716
|
"nodeType": "Identifier",
|
|
4717
4717
|
"overloadedDeclarations": [],
|
|
@@ -4722,7 +4722,7 @@
|
|
|
4722
4722
|
"typeString": "type(library StoreSwitch)"
|
|
4723
4723
|
}
|
|
4724
4724
|
},
|
|
4725
|
-
"id":
|
|
4725
|
+
"id": 59993,
|
|
4726
4726
|
"isConstant": false,
|
|
4727
4727
|
"isLValue": false,
|
|
4728
4728
|
"isPure": false,
|
|
@@ -4736,7 +4736,7 @@
|
|
|
4736
4736
|
"typeString": "function (uint256,bytes32[] memory,uint8,bytes memory)"
|
|
4737
4737
|
}
|
|
4738
4738
|
},
|
|
4739
|
-
"id":
|
|
4739
|
+
"id": 60004,
|
|
4740
4740
|
"isConstant": false,
|
|
4741
4741
|
"isLValue": false,
|
|
4742
4742
|
"isPure": false,
|
|
@@ -4751,14 +4751,14 @@
|
|
|
4751
4751
|
"typeString": "tuple()"
|
|
4752
4752
|
}
|
|
4753
4753
|
},
|
|
4754
|
-
"id":
|
|
4754
|
+
"id": 60005,
|
|
4755
4755
|
"nodeType": "ExpressionStatement",
|
|
4756
4756
|
"src": "3524:86:110"
|
|
4757
4757
|
}
|
|
4758
4758
|
]
|
|
4759
4759
|
},
|
|
4760
4760
|
"documentation": {
|
|
4761
|
-
"id":
|
|
4761
|
+
"id": 59962,
|
|
4762
4762
|
"nodeType": "StructuredDocumentation",
|
|
4763
4763
|
"src": "3315:23:110",
|
|
4764
4764
|
"text": "Set resourceType "
|
|
@@ -4769,17 +4769,17 @@
|
|
|
4769
4769
|
"name": "set",
|
|
4770
4770
|
"nameLocation": "3350:3:110",
|
|
4771
4771
|
"parameters": {
|
|
4772
|
-
"id":
|
|
4772
|
+
"id": 59968,
|
|
4773
4773
|
"nodeType": "ParameterList",
|
|
4774
4774
|
"parameters": [
|
|
4775
4775
|
{
|
|
4776
4776
|
"constant": false,
|
|
4777
|
-
"id":
|
|
4777
|
+
"id": 59964,
|
|
4778
4778
|
"mutability": "mutable",
|
|
4779
4779
|
"name": "resourceSelector",
|
|
4780
4780
|
"nameLocation": "3362:16:110",
|
|
4781
4781
|
"nodeType": "VariableDeclaration",
|
|
4782
|
-
"scope":
|
|
4782
|
+
"scope": 60007,
|
|
4783
4783
|
"src": "3354:24:110",
|
|
4784
4784
|
"stateVariable": false,
|
|
4785
4785
|
"storageLocation": "default",
|
|
@@ -4788,7 +4788,7 @@
|
|
|
4788
4788
|
"typeString": "bytes32"
|
|
4789
4789
|
},
|
|
4790
4790
|
"typeName": {
|
|
4791
|
-
"id":
|
|
4791
|
+
"id": 59963,
|
|
4792
4792
|
"name": "bytes32",
|
|
4793
4793
|
"nodeType": "ElementaryTypeName",
|
|
4794
4794
|
"src": "3354:7:110",
|
|
@@ -4801,12 +4801,12 @@
|
|
|
4801
4801
|
},
|
|
4802
4802
|
{
|
|
4803
4803
|
"constant": false,
|
|
4804
|
-
"id":
|
|
4804
|
+
"id": 59967,
|
|
4805
4805
|
"mutability": "mutable",
|
|
4806
4806
|
"name": "resourceType",
|
|
4807
4807
|
"nameLocation": "3389:12:110",
|
|
4808
4808
|
"nodeType": "VariableDeclaration",
|
|
4809
|
-
"scope":
|
|
4809
|
+
"scope": 60007,
|
|
4810
4810
|
"src": "3380:21:110",
|
|
4811
4811
|
"stateVariable": false,
|
|
4812
4812
|
"storageLocation": "default",
|
|
@@ -4815,10 +4815,10 @@
|
|
|
4815
4815
|
"typeString": "enum Resource"
|
|
4816
4816
|
},
|
|
4817
4817
|
"typeName": {
|
|
4818
|
-
"id":
|
|
4818
|
+
"id": 59966,
|
|
4819
4819
|
"nodeType": "UserDefinedTypeName",
|
|
4820
4820
|
"pathNode": {
|
|
4821
|
-
"id":
|
|
4821
|
+
"id": 59965,
|
|
4822
4822
|
"name": "Resource",
|
|
4823
4823
|
"nodeType": "IdentifierPath",
|
|
4824
4824
|
"referencedDeclaration": 56388,
|
|
@@ -4837,40 +4837,40 @@
|
|
|
4837
4837
|
"src": "3353:49:110"
|
|
4838
4838
|
},
|
|
4839
4839
|
"returnParameters": {
|
|
4840
|
-
"id":
|
|
4840
|
+
"id": 59969,
|
|
4841
4841
|
"nodeType": "ParameterList",
|
|
4842
4842
|
"parameters": [],
|
|
4843
4843
|
"src": "3412:0:110"
|
|
4844
4844
|
},
|
|
4845
|
-
"scope":
|
|
4845
|
+
"scope": 60143,
|
|
4846
4846
|
"stateMutability": "nonpayable",
|
|
4847
4847
|
"virtual": false,
|
|
4848
4848
|
"visibility": "internal"
|
|
4849
4849
|
},
|
|
4850
4850
|
{
|
|
4851
|
-
"id":
|
|
4851
|
+
"id": 60056,
|
|
4852
4852
|
"nodeType": "FunctionDefinition",
|
|
4853
4853
|
"src": "3673:284:110",
|
|
4854
4854
|
"nodes": [],
|
|
4855
4855
|
"body": {
|
|
4856
|
-
"id":
|
|
4856
|
+
"id": 60055,
|
|
4857
4857
|
"nodeType": "Block",
|
|
4858
4858
|
"src": "3759:198:110",
|
|
4859
4859
|
"nodes": [],
|
|
4860
4860
|
"statements": [
|
|
4861
4861
|
{
|
|
4862
4862
|
"assignments": [
|
|
4863
|
-
|
|
4863
|
+
60023
|
|
4864
4864
|
],
|
|
4865
4865
|
"declarations": [
|
|
4866
4866
|
{
|
|
4867
4867
|
"constant": false,
|
|
4868
|
-
"id":
|
|
4868
|
+
"id": 60023,
|
|
4869
4869
|
"mutability": "mutable",
|
|
4870
4870
|
"name": "_primaryKeys",
|
|
4871
4871
|
"nameLocation": "3782:12:110",
|
|
4872
4872
|
"nodeType": "VariableDeclaration",
|
|
4873
|
-
"scope":
|
|
4873
|
+
"scope": 60055,
|
|
4874
4874
|
"src": "3765:29:110",
|
|
4875
4875
|
"stateVariable": false,
|
|
4876
4876
|
"storageLocation": "memory",
|
|
@@ -4880,7 +4880,7 @@
|
|
|
4880
4880
|
},
|
|
4881
4881
|
"typeName": {
|
|
4882
4882
|
"baseType": {
|
|
4883
|
-
"id":
|
|
4883
|
+
"id": 60021,
|
|
4884
4884
|
"name": "bytes32",
|
|
4885
4885
|
"nodeType": "ElementaryTypeName",
|
|
4886
4886
|
"src": "3765:7:110",
|
|
@@ -4889,7 +4889,7 @@
|
|
|
4889
4889
|
"typeString": "bytes32"
|
|
4890
4890
|
}
|
|
4891
4891
|
},
|
|
4892
|
-
"id":
|
|
4892
|
+
"id": 60022,
|
|
4893
4893
|
"nodeType": "ArrayTypeName",
|
|
4894
4894
|
"src": "3765:9:110",
|
|
4895
4895
|
"typeDescriptions": {
|
|
@@ -4900,12 +4900,12 @@
|
|
|
4900
4900
|
"visibility": "internal"
|
|
4901
4901
|
}
|
|
4902
4902
|
],
|
|
4903
|
-
"id":
|
|
4903
|
+
"id": 60029,
|
|
4904
4904
|
"initialValue": {
|
|
4905
4905
|
"arguments": [
|
|
4906
4906
|
{
|
|
4907
4907
|
"hexValue": "31",
|
|
4908
|
-
"id":
|
|
4908
|
+
"id": 60027,
|
|
4909
4909
|
"isConstant": false,
|
|
4910
4910
|
"isLValue": false,
|
|
4911
4911
|
"isPure": true,
|
|
@@ -4927,7 +4927,7 @@
|
|
|
4927
4927
|
"typeString": "int_const 1"
|
|
4928
4928
|
}
|
|
4929
4929
|
],
|
|
4930
|
-
"id":
|
|
4930
|
+
"id": 60026,
|
|
4931
4931
|
"isConstant": false,
|
|
4932
4932
|
"isLValue": false,
|
|
4933
4933
|
"isPure": true,
|
|
@@ -4940,7 +4940,7 @@
|
|
|
4940
4940
|
},
|
|
4941
4941
|
"typeName": {
|
|
4942
4942
|
"baseType": {
|
|
4943
|
-
"id":
|
|
4943
|
+
"id": 60024,
|
|
4944
4944
|
"name": "bytes32",
|
|
4945
4945
|
"nodeType": "ElementaryTypeName",
|
|
4946
4946
|
"src": "3801:7:110",
|
|
@@ -4949,7 +4949,7 @@
|
|
|
4949
4949
|
"typeString": "bytes32"
|
|
4950
4950
|
}
|
|
4951
4951
|
},
|
|
4952
|
-
"id":
|
|
4952
|
+
"id": 60025,
|
|
4953
4953
|
"nodeType": "ArrayTypeName",
|
|
4954
4954
|
"src": "3801:9:110",
|
|
4955
4955
|
"typeDescriptions": {
|
|
@@ -4958,7 +4958,7 @@
|
|
|
4958
4958
|
}
|
|
4959
4959
|
}
|
|
4960
4960
|
},
|
|
4961
|
-
"id":
|
|
4961
|
+
"id": 60028,
|
|
4962
4962
|
"isConstant": false,
|
|
4963
4963
|
"isLValue": false,
|
|
4964
4964
|
"isPure": true,
|
|
@@ -4978,28 +4978,28 @@
|
|
|
4978
4978
|
},
|
|
4979
4979
|
{
|
|
4980
4980
|
"expression": {
|
|
4981
|
-
"id":
|
|
4981
|
+
"id": 60038,
|
|
4982
4982
|
"isConstant": false,
|
|
4983
4983
|
"isLValue": false,
|
|
4984
4984
|
"isPure": false,
|
|
4985
4985
|
"lValueRequested": false,
|
|
4986
4986
|
"leftHandSide": {
|
|
4987
4987
|
"baseExpression": {
|
|
4988
|
-
"id":
|
|
4988
|
+
"id": 60030,
|
|
4989
4989
|
"name": "_primaryKeys",
|
|
4990
4990
|
"nodeType": "Identifier",
|
|
4991
4991
|
"overloadedDeclarations": [],
|
|
4992
|
-
"referencedDeclaration":
|
|
4992
|
+
"referencedDeclaration": 60023,
|
|
4993
4993
|
"src": "3819:12:110",
|
|
4994
4994
|
"typeDescriptions": {
|
|
4995
4995
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
4996
4996
|
"typeString": "bytes32[] memory"
|
|
4997
4997
|
}
|
|
4998
4998
|
},
|
|
4999
|
-
"id":
|
|
4999
|
+
"id": 60032,
|
|
5000
5000
|
"indexExpression": {
|
|
5001
5001
|
"hexValue": "30",
|
|
5002
|
-
"id":
|
|
5002
|
+
"id": 60031,
|
|
5003
5003
|
"isConstant": false,
|
|
5004
5004
|
"isLValue": false,
|
|
5005
5005
|
"isPure": true,
|
|
@@ -5031,11 +5031,11 @@
|
|
|
5031
5031
|
{
|
|
5032
5032
|
"components": [
|
|
5033
5033
|
{
|
|
5034
|
-
"id":
|
|
5034
|
+
"id": 60035,
|
|
5035
5035
|
"name": "resourceSelector",
|
|
5036
5036
|
"nodeType": "Identifier",
|
|
5037
5037
|
"overloadedDeclarations": [],
|
|
5038
|
-
"referencedDeclaration":
|
|
5038
|
+
"referencedDeclaration": 60013,
|
|
5039
5039
|
"src": "3846:16:110",
|
|
5040
5040
|
"typeDescriptions": {
|
|
5041
5041
|
"typeIdentifier": "t_bytes32",
|
|
@@ -5043,7 +5043,7 @@
|
|
|
5043
5043
|
}
|
|
5044
5044
|
}
|
|
5045
5045
|
],
|
|
5046
|
-
"id":
|
|
5046
|
+
"id": 60036,
|
|
5047
5047
|
"isConstant": false,
|
|
5048
5048
|
"isInlineArray": false,
|
|
5049
5049
|
"isLValue": false,
|
|
@@ -5064,7 +5064,7 @@
|
|
|
5064
5064
|
"typeString": "bytes32"
|
|
5065
5065
|
}
|
|
5066
5066
|
],
|
|
5067
|
-
"id":
|
|
5067
|
+
"id": 60034,
|
|
5068
5068
|
"isConstant": false,
|
|
5069
5069
|
"isLValue": false,
|
|
5070
5070
|
"isPure": true,
|
|
@@ -5076,14 +5076,14 @@
|
|
|
5076
5076
|
"typeString": "type(bytes32)"
|
|
5077
5077
|
},
|
|
5078
5078
|
"typeName": {
|
|
5079
|
-
"id":
|
|
5079
|
+
"id": 60033,
|
|
5080
5080
|
"name": "bytes32",
|
|
5081
5081
|
"nodeType": "ElementaryTypeName",
|
|
5082
5082
|
"src": "3837:7:110",
|
|
5083
5083
|
"typeDescriptions": {}
|
|
5084
5084
|
}
|
|
5085
5085
|
},
|
|
5086
|
-
"id":
|
|
5086
|
+
"id": 60037,
|
|
5087
5087
|
"isConstant": false,
|
|
5088
5088
|
"isLValue": false,
|
|
5089
5089
|
"isPure": false,
|
|
@@ -5104,7 +5104,7 @@
|
|
|
5104
5104
|
"typeString": "bytes32"
|
|
5105
5105
|
}
|
|
5106
5106
|
},
|
|
5107
|
-
"id":
|
|
5107
|
+
"id": 60039,
|
|
5108
5108
|
"nodeType": "ExpressionStatement",
|
|
5109
5109
|
"src": "3819:45:110"
|
|
5110
5110
|
},
|
|
@@ -5112,11 +5112,11 @@
|
|
|
5112
5112
|
"expression": {
|
|
5113
5113
|
"arguments": [
|
|
5114
5114
|
{
|
|
5115
|
-
"id":
|
|
5115
|
+
"id": 60043,
|
|
5116
5116
|
"name": "_tableId",
|
|
5117
5117
|
"nodeType": "Identifier",
|
|
5118
5118
|
"overloadedDeclarations": [],
|
|
5119
|
-
"referencedDeclaration":
|
|
5119
|
+
"referencedDeclaration": 59681,
|
|
5120
5120
|
"src": "3887:8:110",
|
|
5121
5121
|
"typeDescriptions": {
|
|
5122
5122
|
"typeIdentifier": "t_uint256",
|
|
@@ -5124,11 +5124,11 @@
|
|
|
5124
5124
|
}
|
|
5125
5125
|
},
|
|
5126
5126
|
{
|
|
5127
|
-
"id":
|
|
5127
|
+
"id": 60044,
|
|
5128
5128
|
"name": "_primaryKeys",
|
|
5129
5129
|
"nodeType": "Identifier",
|
|
5130
5130
|
"overloadedDeclarations": [],
|
|
5131
|
-
"referencedDeclaration":
|
|
5131
|
+
"referencedDeclaration": 60023,
|
|
5132
5132
|
"src": "3897:12:110",
|
|
5133
5133
|
"typeDescriptions": {
|
|
5134
5134
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -5137,7 +5137,7 @@
|
|
|
5137
5137
|
},
|
|
5138
5138
|
{
|
|
5139
5139
|
"hexValue": "30",
|
|
5140
|
-
"id":
|
|
5140
|
+
"id": 60045,
|
|
5141
5141
|
"isConstant": false,
|
|
5142
5142
|
"isLValue": false,
|
|
5143
5143
|
"isPure": true,
|
|
@@ -5156,11 +5156,11 @@
|
|
|
5156
5156
|
{
|
|
5157
5157
|
"arguments": [
|
|
5158
5158
|
{
|
|
5159
|
-
"id":
|
|
5159
|
+
"id": 60050,
|
|
5160
5160
|
"name": "resourceType",
|
|
5161
5161
|
"nodeType": "Identifier",
|
|
5162
5162
|
"overloadedDeclarations": [],
|
|
5163
|
-
"referencedDeclaration":
|
|
5163
|
+
"referencedDeclaration": 60016,
|
|
5164
5164
|
"src": "3937:12:110",
|
|
5165
5165
|
"typeDescriptions": {
|
|
5166
5166
|
"typeIdentifier": "t_enum$_Resource_$56388",
|
|
@@ -5175,7 +5175,7 @@
|
|
|
5175
5175
|
"typeString": "enum Resource"
|
|
5176
5176
|
}
|
|
5177
5177
|
],
|
|
5178
|
-
"id":
|
|
5178
|
+
"id": 60049,
|
|
5179
5179
|
"isConstant": false,
|
|
5180
5180
|
"isLValue": false,
|
|
5181
5181
|
"isPure": true,
|
|
@@ -5187,14 +5187,14 @@
|
|
|
5187
5187
|
"typeString": "type(uint8)"
|
|
5188
5188
|
},
|
|
5189
5189
|
"typeName": {
|
|
5190
|
-
"id":
|
|
5190
|
+
"id": 60048,
|
|
5191
5191
|
"name": "uint8",
|
|
5192
5192
|
"nodeType": "ElementaryTypeName",
|
|
5193
5193
|
"src": "3931:5:110",
|
|
5194
5194
|
"typeDescriptions": {}
|
|
5195
5195
|
}
|
|
5196
5196
|
},
|
|
5197
|
-
"id":
|
|
5197
|
+
"id": 60051,
|
|
5198
5198
|
"isConstant": false,
|
|
5199
5199
|
"isLValue": false,
|
|
5200
5200
|
"isPure": false,
|
|
@@ -5218,7 +5218,7 @@
|
|
|
5218
5218
|
}
|
|
5219
5219
|
],
|
|
5220
5220
|
"expression": {
|
|
5221
|
-
"id":
|
|
5221
|
+
"id": 60046,
|
|
5222
5222
|
"name": "abi",
|
|
5223
5223
|
"nodeType": "Identifier",
|
|
5224
5224
|
"overloadedDeclarations": [],
|
|
@@ -5229,7 +5229,7 @@
|
|
|
5229
5229
|
"typeString": "abi"
|
|
5230
5230
|
}
|
|
5231
5231
|
},
|
|
5232
|
-
"id":
|
|
5232
|
+
"id": 60047,
|
|
5233
5233
|
"isConstant": false,
|
|
5234
5234
|
"isLValue": false,
|
|
5235
5235
|
"isPure": true,
|
|
@@ -5242,7 +5242,7 @@
|
|
|
5242
5242
|
"typeString": "function () pure returns (bytes memory)"
|
|
5243
5243
|
}
|
|
5244
5244
|
},
|
|
5245
|
-
"id":
|
|
5245
|
+
"id": 60052,
|
|
5246
5246
|
"isConstant": false,
|
|
5247
5247
|
"isLValue": false,
|
|
5248
5248
|
"isPure": false,
|
|
@@ -5278,18 +5278,18 @@
|
|
|
5278
5278
|
}
|
|
5279
5279
|
],
|
|
5280
5280
|
"expression": {
|
|
5281
|
-
"id":
|
|
5281
|
+
"id": 60040,
|
|
5282
5282
|
"name": "_store",
|
|
5283
5283
|
"nodeType": "Identifier",
|
|
5284
5284
|
"overloadedDeclarations": [],
|
|
5285
|
-
"referencedDeclaration":
|
|
5285
|
+
"referencedDeclaration": 60011,
|
|
5286
5286
|
"src": "3871:6:110",
|
|
5287
5287
|
"typeDescriptions": {
|
|
5288
5288
|
"typeIdentifier": "t_contract$_IStore_$1163",
|
|
5289
5289
|
"typeString": "contract IStore"
|
|
5290
5290
|
}
|
|
5291
5291
|
},
|
|
5292
|
-
"id":
|
|
5292
|
+
"id": 60042,
|
|
5293
5293
|
"isConstant": false,
|
|
5294
5294
|
"isLValue": false,
|
|
5295
5295
|
"isPure": false,
|
|
@@ -5303,7 +5303,7 @@
|
|
|
5303
5303
|
"typeString": "function (uint256,bytes32[] memory,uint8,bytes memory) external"
|
|
5304
5304
|
}
|
|
5305
5305
|
},
|
|
5306
|
-
"id":
|
|
5306
|
+
"id": 60053,
|
|
5307
5307
|
"isConstant": false,
|
|
5308
5308
|
"isLValue": false,
|
|
5309
5309
|
"isPure": false,
|
|
@@ -5318,14 +5318,14 @@
|
|
|
5318
5318
|
"typeString": "tuple()"
|
|
5319
5319
|
}
|
|
5320
5320
|
},
|
|
5321
|
-
"id":
|
|
5321
|
+
"id": 60054,
|
|
5322
5322
|
"nodeType": "ExpressionStatement",
|
|
5323
5323
|
"src": "3871:81:110"
|
|
5324
5324
|
}
|
|
5325
5325
|
]
|
|
5326
5326
|
},
|
|
5327
5327
|
"documentation": {
|
|
5328
|
-
"id":
|
|
5328
|
+
"id": 60008,
|
|
5329
5329
|
"nodeType": "StructuredDocumentation",
|
|
5330
5330
|
"src": "3619:51:110",
|
|
5331
5331
|
"text": "Set resourceType (using the specified store) "
|
|
@@ -5336,17 +5336,17 @@
|
|
|
5336
5336
|
"name": "set",
|
|
5337
5337
|
"nameLocation": "3682:3:110",
|
|
5338
5338
|
"parameters": {
|
|
5339
|
-
"id":
|
|
5339
|
+
"id": 60017,
|
|
5340
5340
|
"nodeType": "ParameterList",
|
|
5341
5341
|
"parameters": [
|
|
5342
5342
|
{
|
|
5343
5343
|
"constant": false,
|
|
5344
|
-
"id":
|
|
5344
|
+
"id": 60011,
|
|
5345
5345
|
"mutability": "mutable",
|
|
5346
5346
|
"name": "_store",
|
|
5347
5347
|
"nameLocation": "3693:6:110",
|
|
5348
5348
|
"nodeType": "VariableDeclaration",
|
|
5349
|
-
"scope":
|
|
5349
|
+
"scope": 60056,
|
|
5350
5350
|
"src": "3686:13:110",
|
|
5351
5351
|
"stateVariable": false,
|
|
5352
5352
|
"storageLocation": "default",
|
|
@@ -5355,10 +5355,10 @@
|
|
|
5355
5355
|
"typeString": "contract IStore"
|
|
5356
5356
|
},
|
|
5357
5357
|
"typeName": {
|
|
5358
|
-
"id":
|
|
5358
|
+
"id": 60010,
|
|
5359
5359
|
"nodeType": "UserDefinedTypeName",
|
|
5360
5360
|
"pathNode": {
|
|
5361
|
-
"id":
|
|
5361
|
+
"id": 60009,
|
|
5362
5362
|
"name": "IStore",
|
|
5363
5363
|
"nodeType": "IdentifierPath",
|
|
5364
5364
|
"referencedDeclaration": 1163,
|
|
@@ -5375,12 +5375,12 @@
|
|
|
5375
5375
|
},
|
|
5376
5376
|
{
|
|
5377
5377
|
"constant": false,
|
|
5378
|
-
"id":
|
|
5378
|
+
"id": 60013,
|
|
5379
5379
|
"mutability": "mutable",
|
|
5380
5380
|
"name": "resourceSelector",
|
|
5381
5381
|
"nameLocation": "3709:16:110",
|
|
5382
5382
|
"nodeType": "VariableDeclaration",
|
|
5383
|
-
"scope":
|
|
5383
|
+
"scope": 60056,
|
|
5384
5384
|
"src": "3701:24:110",
|
|
5385
5385
|
"stateVariable": false,
|
|
5386
5386
|
"storageLocation": "default",
|
|
@@ -5389,7 +5389,7 @@
|
|
|
5389
5389
|
"typeString": "bytes32"
|
|
5390
5390
|
},
|
|
5391
5391
|
"typeName": {
|
|
5392
|
-
"id":
|
|
5392
|
+
"id": 60012,
|
|
5393
5393
|
"name": "bytes32",
|
|
5394
5394
|
"nodeType": "ElementaryTypeName",
|
|
5395
5395
|
"src": "3701:7:110",
|
|
@@ -5402,12 +5402,12 @@
|
|
|
5402
5402
|
},
|
|
5403
5403
|
{
|
|
5404
5404
|
"constant": false,
|
|
5405
|
-
"id":
|
|
5405
|
+
"id": 60016,
|
|
5406
5406
|
"mutability": "mutable",
|
|
5407
5407
|
"name": "resourceType",
|
|
5408
5408
|
"nameLocation": "3736:12:110",
|
|
5409
5409
|
"nodeType": "VariableDeclaration",
|
|
5410
|
-
"scope":
|
|
5410
|
+
"scope": 60056,
|
|
5411
5411
|
"src": "3727:21:110",
|
|
5412
5412
|
"stateVariable": false,
|
|
5413
5413
|
"storageLocation": "default",
|
|
@@ -5416,10 +5416,10 @@
|
|
|
5416
5416
|
"typeString": "enum Resource"
|
|
5417
5417
|
},
|
|
5418
5418
|
"typeName": {
|
|
5419
|
-
"id":
|
|
5419
|
+
"id": 60015,
|
|
5420
5420
|
"nodeType": "UserDefinedTypeName",
|
|
5421
5421
|
"pathNode": {
|
|
5422
|
-
"id":
|
|
5422
|
+
"id": 60014,
|
|
5423
5423
|
"name": "Resource",
|
|
5424
5424
|
"nodeType": "IdentifierPath",
|
|
5425
5425
|
"referencedDeclaration": 56388,
|
|
@@ -5438,23 +5438,23 @@
|
|
|
5438
5438
|
"src": "3685:64:110"
|
|
5439
5439
|
},
|
|
5440
5440
|
"returnParameters": {
|
|
5441
|
-
"id":
|
|
5441
|
+
"id": 60018,
|
|
5442
5442
|
"nodeType": "ParameterList",
|
|
5443
5443
|
"parameters": [],
|
|
5444
5444
|
"src": "3759:0:110"
|
|
5445
5445
|
},
|
|
5446
|
-
"scope":
|
|
5446
|
+
"scope": 60143,
|
|
5447
5447
|
"stateMutability": "nonpayable",
|
|
5448
5448
|
"virtual": false,
|
|
5449
5449
|
"visibility": "internal"
|
|
5450
5450
|
},
|
|
5451
5451
|
{
|
|
5452
|
-
"id":
|
|
5452
|
+
"id": 60071,
|
|
5453
5453
|
"nodeType": "FunctionDefinition",
|
|
5454
5454
|
"src": "4019:124:110",
|
|
5455
5455
|
"nodes": [],
|
|
5456
5456
|
"body": {
|
|
5457
|
-
"id":
|
|
5457
|
+
"id": 60070,
|
|
5458
5458
|
"nodeType": "Block",
|
|
5459
5459
|
"src": "4095:48:110",
|
|
5460
5460
|
"nodes": [],
|
|
@@ -5463,11 +5463,11 @@
|
|
|
5463
5463
|
"expression": {
|
|
5464
5464
|
"arguments": [
|
|
5465
5465
|
{
|
|
5466
|
-
"id":
|
|
5466
|
+
"id": 60067,
|
|
5467
5467
|
"name": "resourceType",
|
|
5468
5468
|
"nodeType": "Identifier",
|
|
5469
5469
|
"overloadedDeclarations": [],
|
|
5470
|
-
"referencedDeclaration":
|
|
5470
|
+
"referencedDeclaration": 60060,
|
|
5471
5471
|
"src": "4125:12:110",
|
|
5472
5472
|
"typeDescriptions": {
|
|
5473
5473
|
"typeIdentifier": "t_enum$_Resource_$56388",
|
|
@@ -5483,7 +5483,7 @@
|
|
|
5483
5483
|
}
|
|
5484
5484
|
],
|
|
5485
5485
|
"expression": {
|
|
5486
|
-
"id":
|
|
5486
|
+
"id": 60065,
|
|
5487
5487
|
"name": "abi",
|
|
5488
5488
|
"nodeType": "Identifier",
|
|
5489
5489
|
"overloadedDeclarations": [],
|
|
@@ -5494,7 +5494,7 @@
|
|
|
5494
5494
|
"typeString": "abi"
|
|
5495
5495
|
}
|
|
5496
5496
|
},
|
|
5497
|
-
"id":
|
|
5497
|
+
"id": 60066,
|
|
5498
5498
|
"isConstant": false,
|
|
5499
5499
|
"isLValue": false,
|
|
5500
5500
|
"isPure": true,
|
|
@@ -5507,7 +5507,7 @@
|
|
|
5507
5507
|
"typeString": "function () pure returns (bytes memory)"
|
|
5508
5508
|
}
|
|
5509
5509
|
},
|
|
5510
|
-
"id":
|
|
5510
|
+
"id": 60068,
|
|
5511
5511
|
"isConstant": false,
|
|
5512
5512
|
"isLValue": false,
|
|
5513
5513
|
"isPure": false,
|
|
@@ -5522,15 +5522,15 @@
|
|
|
5522
5522
|
"typeString": "bytes memory"
|
|
5523
5523
|
}
|
|
5524
5524
|
},
|
|
5525
|
-
"functionReturnParameters":
|
|
5526
|
-
"id":
|
|
5525
|
+
"functionReturnParameters": 60064,
|
|
5526
|
+
"id": 60069,
|
|
5527
5527
|
"nodeType": "Return",
|
|
5528
5528
|
"src": "4101:37:110"
|
|
5529
5529
|
}
|
|
5530
5530
|
]
|
|
5531
5531
|
},
|
|
5532
5532
|
"documentation": {
|
|
5533
|
-
"id":
|
|
5533
|
+
"id": 60057,
|
|
5534
5534
|
"nodeType": "StructuredDocumentation",
|
|
5535
5535
|
"src": "3961:55:110",
|
|
5536
5536
|
"text": "Tightly pack full data using this table's schema "
|
|
@@ -5541,17 +5541,17 @@
|
|
|
5541
5541
|
"name": "encode",
|
|
5542
5542
|
"nameLocation": "4028:6:110",
|
|
5543
5543
|
"parameters": {
|
|
5544
|
-
"id":
|
|
5544
|
+
"id": 60061,
|
|
5545
5545
|
"nodeType": "ParameterList",
|
|
5546
5546
|
"parameters": [
|
|
5547
5547
|
{
|
|
5548
5548
|
"constant": false,
|
|
5549
|
-
"id":
|
|
5549
|
+
"id": 60060,
|
|
5550
5550
|
"mutability": "mutable",
|
|
5551
5551
|
"name": "resourceType",
|
|
5552
5552
|
"nameLocation": "4044:12:110",
|
|
5553
5553
|
"nodeType": "VariableDeclaration",
|
|
5554
|
-
"scope":
|
|
5554
|
+
"scope": 60071,
|
|
5555
5555
|
"src": "4035:21:110",
|
|
5556
5556
|
"stateVariable": false,
|
|
5557
5557
|
"storageLocation": "default",
|
|
@@ -5560,10 +5560,10 @@
|
|
|
5560
5560
|
"typeString": "enum Resource"
|
|
5561
5561
|
},
|
|
5562
5562
|
"typeName": {
|
|
5563
|
-
"id":
|
|
5563
|
+
"id": 60059,
|
|
5564
5564
|
"nodeType": "UserDefinedTypeName",
|
|
5565
5565
|
"pathNode": {
|
|
5566
|
-
"id":
|
|
5566
|
+
"id": 60058,
|
|
5567
5567
|
"name": "Resource",
|
|
5568
5568
|
"nodeType": "IdentifierPath",
|
|
5569
5569
|
"referencedDeclaration": 56388,
|
|
@@ -5582,17 +5582,17 @@
|
|
|
5582
5582
|
"src": "4034:23:110"
|
|
5583
5583
|
},
|
|
5584
5584
|
"returnParameters": {
|
|
5585
|
-
"id":
|
|
5585
|
+
"id": 60064,
|
|
5586
5586
|
"nodeType": "ParameterList",
|
|
5587
5587
|
"parameters": [
|
|
5588
5588
|
{
|
|
5589
5589
|
"constant": false,
|
|
5590
|
-
"id":
|
|
5590
|
+
"id": 60063,
|
|
5591
5591
|
"mutability": "mutable",
|
|
5592
5592
|
"name": "",
|
|
5593
5593
|
"nameLocation": "-1:-1:-1",
|
|
5594
5594
|
"nodeType": "VariableDeclaration",
|
|
5595
|
-
"scope":
|
|
5595
|
+
"scope": 60071,
|
|
5596
5596
|
"src": "4081:12:110",
|
|
5597
5597
|
"stateVariable": false,
|
|
5598
5598
|
"storageLocation": "memory",
|
|
@@ -5601,7 +5601,7 @@
|
|
|
5601
5601
|
"typeString": "bytes"
|
|
5602
5602
|
},
|
|
5603
5603
|
"typeName": {
|
|
5604
|
-
"id":
|
|
5604
|
+
"id": 60062,
|
|
5605
5605
|
"name": "bytes",
|
|
5606
5606
|
"nodeType": "ElementaryTypeName",
|
|
5607
5607
|
"src": "4081:5:110",
|
|
@@ -5615,35 +5615,35 @@
|
|
|
5615
5615
|
],
|
|
5616
5616
|
"src": "4080:14:110"
|
|
5617
5617
|
},
|
|
5618
|
-
"scope":
|
|
5618
|
+
"scope": 60143,
|
|
5619
5619
|
"stateMutability": "view",
|
|
5620
5620
|
"virtual": false,
|
|
5621
5621
|
"visibility": "internal"
|
|
5622
5622
|
},
|
|
5623
5623
|
{
|
|
5624
|
-
"id":
|
|
5624
|
+
"id": 60105,
|
|
5625
5625
|
"nodeType": "FunctionDefinition",
|
|
5626
5626
|
"src": "4186:222:110",
|
|
5627
5627
|
"nodes": [],
|
|
5628
5628
|
"body": {
|
|
5629
|
-
"id":
|
|
5629
|
+
"id": 60104,
|
|
5630
5630
|
"nodeType": "Block",
|
|
5631
5631
|
"src": "4243:165:110",
|
|
5632
5632
|
"nodes": [],
|
|
5633
5633
|
"statements": [
|
|
5634
5634
|
{
|
|
5635
5635
|
"assignments": [
|
|
5636
|
-
|
|
5636
|
+
60080
|
|
5637
5637
|
],
|
|
5638
5638
|
"declarations": [
|
|
5639
5639
|
{
|
|
5640
5640
|
"constant": false,
|
|
5641
|
-
"id":
|
|
5641
|
+
"id": 60080,
|
|
5642
5642
|
"mutability": "mutable",
|
|
5643
5643
|
"name": "_primaryKeys",
|
|
5644
5644
|
"nameLocation": "4266:12:110",
|
|
5645
5645
|
"nodeType": "VariableDeclaration",
|
|
5646
|
-
"scope":
|
|
5646
|
+
"scope": 60104,
|
|
5647
5647
|
"src": "4249:29:110",
|
|
5648
5648
|
"stateVariable": false,
|
|
5649
5649
|
"storageLocation": "memory",
|
|
@@ -5653,7 +5653,7 @@
|
|
|
5653
5653
|
},
|
|
5654
5654
|
"typeName": {
|
|
5655
5655
|
"baseType": {
|
|
5656
|
-
"id":
|
|
5656
|
+
"id": 60078,
|
|
5657
5657
|
"name": "bytes32",
|
|
5658
5658
|
"nodeType": "ElementaryTypeName",
|
|
5659
5659
|
"src": "4249:7:110",
|
|
@@ -5662,7 +5662,7 @@
|
|
|
5662
5662
|
"typeString": "bytes32"
|
|
5663
5663
|
}
|
|
5664
5664
|
},
|
|
5665
|
-
"id":
|
|
5665
|
+
"id": 60079,
|
|
5666
5666
|
"nodeType": "ArrayTypeName",
|
|
5667
5667
|
"src": "4249:9:110",
|
|
5668
5668
|
"typeDescriptions": {
|
|
@@ -5673,12 +5673,12 @@
|
|
|
5673
5673
|
"visibility": "internal"
|
|
5674
5674
|
}
|
|
5675
5675
|
],
|
|
5676
|
-
"id":
|
|
5676
|
+
"id": 60086,
|
|
5677
5677
|
"initialValue": {
|
|
5678
5678
|
"arguments": [
|
|
5679
5679
|
{
|
|
5680
5680
|
"hexValue": "31",
|
|
5681
|
-
"id":
|
|
5681
|
+
"id": 60084,
|
|
5682
5682
|
"isConstant": false,
|
|
5683
5683
|
"isLValue": false,
|
|
5684
5684
|
"isPure": true,
|
|
@@ -5700,7 +5700,7 @@
|
|
|
5700
5700
|
"typeString": "int_const 1"
|
|
5701
5701
|
}
|
|
5702
5702
|
],
|
|
5703
|
-
"id":
|
|
5703
|
+
"id": 60083,
|
|
5704
5704
|
"isConstant": false,
|
|
5705
5705
|
"isLValue": false,
|
|
5706
5706
|
"isPure": true,
|
|
@@ -5713,7 +5713,7 @@
|
|
|
5713
5713
|
},
|
|
5714
5714
|
"typeName": {
|
|
5715
5715
|
"baseType": {
|
|
5716
|
-
"id":
|
|
5716
|
+
"id": 60081,
|
|
5717
5717
|
"name": "bytes32",
|
|
5718
5718
|
"nodeType": "ElementaryTypeName",
|
|
5719
5719
|
"src": "4285:7:110",
|
|
@@ -5722,7 +5722,7 @@
|
|
|
5722
5722
|
"typeString": "bytes32"
|
|
5723
5723
|
}
|
|
5724
5724
|
},
|
|
5725
|
-
"id":
|
|
5725
|
+
"id": 60082,
|
|
5726
5726
|
"nodeType": "ArrayTypeName",
|
|
5727
5727
|
"src": "4285:9:110",
|
|
5728
5728
|
"typeDescriptions": {
|
|
@@ -5731,7 +5731,7 @@
|
|
|
5731
5731
|
}
|
|
5732
5732
|
}
|
|
5733
5733
|
},
|
|
5734
|
-
"id":
|
|
5734
|
+
"id": 60085,
|
|
5735
5735
|
"isConstant": false,
|
|
5736
5736
|
"isLValue": false,
|
|
5737
5737
|
"isPure": true,
|
|
@@ -5751,28 +5751,28 @@
|
|
|
5751
5751
|
},
|
|
5752
5752
|
{
|
|
5753
5753
|
"expression": {
|
|
5754
|
-
"id":
|
|
5754
|
+
"id": 60095,
|
|
5755
5755
|
"isConstant": false,
|
|
5756
5756
|
"isLValue": false,
|
|
5757
5757
|
"isPure": false,
|
|
5758
5758
|
"lValueRequested": false,
|
|
5759
5759
|
"leftHandSide": {
|
|
5760
5760
|
"baseExpression": {
|
|
5761
|
-
"id":
|
|
5761
|
+
"id": 60087,
|
|
5762
5762
|
"name": "_primaryKeys",
|
|
5763
5763
|
"nodeType": "Identifier",
|
|
5764
5764
|
"overloadedDeclarations": [],
|
|
5765
|
-
"referencedDeclaration":
|
|
5765
|
+
"referencedDeclaration": 60080,
|
|
5766
5766
|
"src": "4303:12:110",
|
|
5767
5767
|
"typeDescriptions": {
|
|
5768
5768
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
5769
5769
|
"typeString": "bytes32[] memory"
|
|
5770
5770
|
}
|
|
5771
5771
|
},
|
|
5772
|
-
"id":
|
|
5772
|
+
"id": 60089,
|
|
5773
5773
|
"indexExpression": {
|
|
5774
5774
|
"hexValue": "30",
|
|
5775
|
-
"id":
|
|
5775
|
+
"id": 60088,
|
|
5776
5776
|
"isConstant": false,
|
|
5777
5777
|
"isLValue": false,
|
|
5778
5778
|
"isPure": true,
|
|
@@ -5804,11 +5804,11 @@
|
|
|
5804
5804
|
{
|
|
5805
5805
|
"components": [
|
|
5806
5806
|
{
|
|
5807
|
-
"id":
|
|
5807
|
+
"id": 60092,
|
|
5808
5808
|
"name": "resourceSelector",
|
|
5809
5809
|
"nodeType": "Identifier",
|
|
5810
5810
|
"overloadedDeclarations": [],
|
|
5811
|
-
"referencedDeclaration":
|
|
5811
|
+
"referencedDeclaration": 60073,
|
|
5812
5812
|
"src": "4330:16:110",
|
|
5813
5813
|
"typeDescriptions": {
|
|
5814
5814
|
"typeIdentifier": "t_bytes32",
|
|
@@ -5816,7 +5816,7 @@
|
|
|
5816
5816
|
}
|
|
5817
5817
|
}
|
|
5818
5818
|
],
|
|
5819
|
-
"id":
|
|
5819
|
+
"id": 60093,
|
|
5820
5820
|
"isConstant": false,
|
|
5821
5821
|
"isInlineArray": false,
|
|
5822
5822
|
"isLValue": false,
|
|
@@ -5837,7 +5837,7 @@
|
|
|
5837
5837
|
"typeString": "bytes32"
|
|
5838
5838
|
}
|
|
5839
5839
|
],
|
|
5840
|
-
"id":
|
|
5840
|
+
"id": 60091,
|
|
5841
5841
|
"isConstant": false,
|
|
5842
5842
|
"isLValue": false,
|
|
5843
5843
|
"isPure": true,
|
|
@@ -5849,14 +5849,14 @@
|
|
|
5849
5849
|
"typeString": "type(bytes32)"
|
|
5850
5850
|
},
|
|
5851
5851
|
"typeName": {
|
|
5852
|
-
"id":
|
|
5852
|
+
"id": 60090,
|
|
5853
5853
|
"name": "bytes32",
|
|
5854
5854
|
"nodeType": "ElementaryTypeName",
|
|
5855
5855
|
"src": "4321:7:110",
|
|
5856
5856
|
"typeDescriptions": {}
|
|
5857
5857
|
}
|
|
5858
5858
|
},
|
|
5859
|
-
"id":
|
|
5859
|
+
"id": 60094,
|
|
5860
5860
|
"isConstant": false,
|
|
5861
5861
|
"isLValue": false,
|
|
5862
5862
|
"isPure": false,
|
|
@@ -5877,7 +5877,7 @@
|
|
|
5877
5877
|
"typeString": "bytes32"
|
|
5878
5878
|
}
|
|
5879
5879
|
},
|
|
5880
|
-
"id":
|
|
5880
|
+
"id": 60096,
|
|
5881
5881
|
"nodeType": "ExpressionStatement",
|
|
5882
5882
|
"src": "4303:45:110"
|
|
5883
5883
|
},
|
|
@@ -5885,11 +5885,11 @@
|
|
|
5885
5885
|
"expression": {
|
|
5886
5886
|
"arguments": [
|
|
5887
5887
|
{
|
|
5888
|
-
"id":
|
|
5888
|
+
"id": 60100,
|
|
5889
5889
|
"name": "_tableId",
|
|
5890
5890
|
"nodeType": "Identifier",
|
|
5891
5891
|
"overloadedDeclarations": [],
|
|
5892
|
-
"referencedDeclaration":
|
|
5892
|
+
"referencedDeclaration": 59681,
|
|
5893
5893
|
"src": "4380:8:110",
|
|
5894
5894
|
"typeDescriptions": {
|
|
5895
5895
|
"typeIdentifier": "t_uint256",
|
|
@@ -5897,11 +5897,11 @@
|
|
|
5897
5897
|
}
|
|
5898
5898
|
},
|
|
5899
5899
|
{
|
|
5900
|
-
"id":
|
|
5900
|
+
"id": 60101,
|
|
5901
5901
|
"name": "_primaryKeys",
|
|
5902
5902
|
"nodeType": "Identifier",
|
|
5903
5903
|
"overloadedDeclarations": [],
|
|
5904
|
-
"referencedDeclaration":
|
|
5904
|
+
"referencedDeclaration": 60080,
|
|
5905
5905
|
"src": "4390:12:110",
|
|
5906
5906
|
"typeDescriptions": {
|
|
5907
5907
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -5921,7 +5921,7 @@
|
|
|
5921
5921
|
}
|
|
5922
5922
|
],
|
|
5923
5923
|
"expression": {
|
|
5924
|
-
"id":
|
|
5924
|
+
"id": 60097,
|
|
5925
5925
|
"name": "StoreSwitch",
|
|
5926
5926
|
"nodeType": "Identifier",
|
|
5927
5927
|
"overloadedDeclarations": [],
|
|
@@ -5932,7 +5932,7 @@
|
|
|
5932
5932
|
"typeString": "type(library StoreSwitch)"
|
|
5933
5933
|
}
|
|
5934
5934
|
},
|
|
5935
|
-
"id":
|
|
5935
|
+
"id": 60099,
|
|
5936
5936
|
"isConstant": false,
|
|
5937
5937
|
"isLValue": false,
|
|
5938
5938
|
"isPure": false,
|
|
@@ -5946,7 +5946,7 @@
|
|
|
5946
5946
|
"typeString": "function (uint256,bytes32[] memory)"
|
|
5947
5947
|
}
|
|
5948
5948
|
},
|
|
5949
|
-
"id":
|
|
5949
|
+
"id": 60102,
|
|
5950
5950
|
"isConstant": false,
|
|
5951
5951
|
"isLValue": false,
|
|
5952
5952
|
"isPure": false,
|
|
@@ -5961,7 +5961,7 @@
|
|
|
5961
5961
|
"typeString": "tuple()"
|
|
5962
5962
|
}
|
|
5963
5963
|
},
|
|
5964
|
-
"id":
|
|
5964
|
+
"id": 60103,
|
|
5965
5965
|
"nodeType": "ExpressionStatement",
|
|
5966
5966
|
"src": "4355:48:110"
|
|
5967
5967
|
}
|
|
@@ -5973,17 +5973,17 @@
|
|
|
5973
5973
|
"name": "deleteRecord",
|
|
5974
5974
|
"nameLocation": "4195:12:110",
|
|
5975
5975
|
"parameters": {
|
|
5976
|
-
"id":
|
|
5976
|
+
"id": 60074,
|
|
5977
5977
|
"nodeType": "ParameterList",
|
|
5978
5978
|
"parameters": [
|
|
5979
5979
|
{
|
|
5980
5980
|
"constant": false,
|
|
5981
|
-
"id":
|
|
5981
|
+
"id": 60073,
|
|
5982
5982
|
"mutability": "mutable",
|
|
5983
5983
|
"name": "resourceSelector",
|
|
5984
5984
|
"nameLocation": "4216:16:110",
|
|
5985
5985
|
"nodeType": "VariableDeclaration",
|
|
5986
|
-
"scope":
|
|
5986
|
+
"scope": 60105,
|
|
5987
5987
|
"src": "4208:24:110",
|
|
5988
5988
|
"stateVariable": false,
|
|
5989
5989
|
"storageLocation": "default",
|
|
@@ -5992,7 +5992,7 @@
|
|
|
5992
5992
|
"typeString": "bytes32"
|
|
5993
5993
|
},
|
|
5994
5994
|
"typeName": {
|
|
5995
|
-
"id":
|
|
5995
|
+
"id": 60072,
|
|
5996
5996
|
"name": "bytes32",
|
|
5997
5997
|
"nodeType": "ElementaryTypeName",
|
|
5998
5998
|
"src": "4208:7:110",
|
|
@@ -6007,40 +6007,40 @@
|
|
|
6007
6007
|
"src": "4207:26:110"
|
|
6008
6008
|
},
|
|
6009
6009
|
"returnParameters": {
|
|
6010
|
-
"id":
|
|
6010
|
+
"id": 60075,
|
|
6011
6011
|
"nodeType": "ParameterList",
|
|
6012
6012
|
"parameters": [],
|
|
6013
6013
|
"src": "4243:0:110"
|
|
6014
6014
|
},
|
|
6015
|
-
"scope":
|
|
6015
|
+
"scope": 60143,
|
|
6016
6016
|
"stateMutability": "nonpayable",
|
|
6017
6017
|
"virtual": false,
|
|
6018
6018
|
"visibility": "internal"
|
|
6019
6019
|
},
|
|
6020
6020
|
{
|
|
6021
|
-
"id":
|
|
6021
|
+
"id": 60142,
|
|
6022
6022
|
"nodeType": "FunctionDefinition",
|
|
6023
6023
|
"src": "4479:232:110",
|
|
6024
6024
|
"nodes": [],
|
|
6025
6025
|
"body": {
|
|
6026
|
-
"id":
|
|
6026
|
+
"id": 60141,
|
|
6027
6027
|
"nodeType": "Block",
|
|
6028
6028
|
"src": "4551:160:110",
|
|
6029
6029
|
"nodes": [],
|
|
6030
6030
|
"statements": [
|
|
6031
6031
|
{
|
|
6032
6032
|
"assignments": [
|
|
6033
|
-
|
|
6033
|
+
60117
|
|
6034
6034
|
],
|
|
6035
6035
|
"declarations": [
|
|
6036
6036
|
{
|
|
6037
6037
|
"constant": false,
|
|
6038
|
-
"id":
|
|
6038
|
+
"id": 60117,
|
|
6039
6039
|
"mutability": "mutable",
|
|
6040
6040
|
"name": "_primaryKeys",
|
|
6041
6041
|
"nameLocation": "4574:12:110",
|
|
6042
6042
|
"nodeType": "VariableDeclaration",
|
|
6043
|
-
"scope":
|
|
6043
|
+
"scope": 60141,
|
|
6044
6044
|
"src": "4557:29:110",
|
|
6045
6045
|
"stateVariable": false,
|
|
6046
6046
|
"storageLocation": "memory",
|
|
@@ -6050,7 +6050,7 @@
|
|
|
6050
6050
|
},
|
|
6051
6051
|
"typeName": {
|
|
6052
6052
|
"baseType": {
|
|
6053
|
-
"id":
|
|
6053
|
+
"id": 60115,
|
|
6054
6054
|
"name": "bytes32",
|
|
6055
6055
|
"nodeType": "ElementaryTypeName",
|
|
6056
6056
|
"src": "4557:7:110",
|
|
@@ -6059,7 +6059,7 @@
|
|
|
6059
6059
|
"typeString": "bytes32"
|
|
6060
6060
|
}
|
|
6061
6061
|
},
|
|
6062
|
-
"id":
|
|
6062
|
+
"id": 60116,
|
|
6063
6063
|
"nodeType": "ArrayTypeName",
|
|
6064
6064
|
"src": "4557:9:110",
|
|
6065
6065
|
"typeDescriptions": {
|
|
@@ -6070,12 +6070,12 @@
|
|
|
6070
6070
|
"visibility": "internal"
|
|
6071
6071
|
}
|
|
6072
6072
|
],
|
|
6073
|
-
"id":
|
|
6073
|
+
"id": 60123,
|
|
6074
6074
|
"initialValue": {
|
|
6075
6075
|
"arguments": [
|
|
6076
6076
|
{
|
|
6077
6077
|
"hexValue": "31",
|
|
6078
|
-
"id":
|
|
6078
|
+
"id": 60121,
|
|
6079
6079
|
"isConstant": false,
|
|
6080
6080
|
"isLValue": false,
|
|
6081
6081
|
"isPure": true,
|
|
@@ -6097,7 +6097,7 @@
|
|
|
6097
6097
|
"typeString": "int_const 1"
|
|
6098
6098
|
}
|
|
6099
6099
|
],
|
|
6100
|
-
"id":
|
|
6100
|
+
"id": 60120,
|
|
6101
6101
|
"isConstant": false,
|
|
6102
6102
|
"isLValue": false,
|
|
6103
6103
|
"isPure": true,
|
|
@@ -6110,7 +6110,7 @@
|
|
|
6110
6110
|
},
|
|
6111
6111
|
"typeName": {
|
|
6112
6112
|
"baseType": {
|
|
6113
|
-
"id":
|
|
6113
|
+
"id": 60118,
|
|
6114
6114
|
"name": "bytes32",
|
|
6115
6115
|
"nodeType": "ElementaryTypeName",
|
|
6116
6116
|
"src": "4593:7:110",
|
|
@@ -6119,7 +6119,7 @@
|
|
|
6119
6119
|
"typeString": "bytes32"
|
|
6120
6120
|
}
|
|
6121
6121
|
},
|
|
6122
|
-
"id":
|
|
6122
|
+
"id": 60119,
|
|
6123
6123
|
"nodeType": "ArrayTypeName",
|
|
6124
6124
|
"src": "4593:9:110",
|
|
6125
6125
|
"typeDescriptions": {
|
|
@@ -6128,7 +6128,7 @@
|
|
|
6128
6128
|
}
|
|
6129
6129
|
}
|
|
6130
6130
|
},
|
|
6131
|
-
"id":
|
|
6131
|
+
"id": 60122,
|
|
6132
6132
|
"isConstant": false,
|
|
6133
6133
|
"isLValue": false,
|
|
6134
6134
|
"isPure": true,
|
|
@@ -6148,28 +6148,28 @@
|
|
|
6148
6148
|
},
|
|
6149
6149
|
{
|
|
6150
6150
|
"expression": {
|
|
6151
|
-
"id":
|
|
6151
|
+
"id": 60132,
|
|
6152
6152
|
"isConstant": false,
|
|
6153
6153
|
"isLValue": false,
|
|
6154
6154
|
"isPure": false,
|
|
6155
6155
|
"lValueRequested": false,
|
|
6156
6156
|
"leftHandSide": {
|
|
6157
6157
|
"baseExpression": {
|
|
6158
|
-
"id":
|
|
6158
|
+
"id": 60124,
|
|
6159
6159
|
"name": "_primaryKeys",
|
|
6160
6160
|
"nodeType": "Identifier",
|
|
6161
6161
|
"overloadedDeclarations": [],
|
|
6162
|
-
"referencedDeclaration":
|
|
6162
|
+
"referencedDeclaration": 60117,
|
|
6163
6163
|
"src": "4611:12:110",
|
|
6164
6164
|
"typeDescriptions": {
|
|
6165
6165
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
6166
6166
|
"typeString": "bytes32[] memory"
|
|
6167
6167
|
}
|
|
6168
6168
|
},
|
|
6169
|
-
"id":
|
|
6169
|
+
"id": 60126,
|
|
6170
6170
|
"indexExpression": {
|
|
6171
6171
|
"hexValue": "30",
|
|
6172
|
-
"id":
|
|
6172
|
+
"id": 60125,
|
|
6173
6173
|
"isConstant": false,
|
|
6174
6174
|
"isLValue": false,
|
|
6175
6175
|
"isPure": true,
|
|
@@ -6201,11 +6201,11 @@
|
|
|
6201
6201
|
{
|
|
6202
6202
|
"components": [
|
|
6203
6203
|
{
|
|
6204
|
-
"id":
|
|
6204
|
+
"id": 60129,
|
|
6205
6205
|
"name": "resourceSelector",
|
|
6206
6206
|
"nodeType": "Identifier",
|
|
6207
6207
|
"overloadedDeclarations": [],
|
|
6208
|
-
"referencedDeclaration":
|
|
6208
|
+
"referencedDeclaration": 60110,
|
|
6209
6209
|
"src": "4638:16:110",
|
|
6210
6210
|
"typeDescriptions": {
|
|
6211
6211
|
"typeIdentifier": "t_bytes32",
|
|
@@ -6213,7 +6213,7 @@
|
|
|
6213
6213
|
}
|
|
6214
6214
|
}
|
|
6215
6215
|
],
|
|
6216
|
-
"id":
|
|
6216
|
+
"id": 60130,
|
|
6217
6217
|
"isConstant": false,
|
|
6218
6218
|
"isInlineArray": false,
|
|
6219
6219
|
"isLValue": false,
|
|
@@ -6234,7 +6234,7 @@
|
|
|
6234
6234
|
"typeString": "bytes32"
|
|
6235
6235
|
}
|
|
6236
6236
|
],
|
|
6237
|
-
"id":
|
|
6237
|
+
"id": 60128,
|
|
6238
6238
|
"isConstant": false,
|
|
6239
6239
|
"isLValue": false,
|
|
6240
6240
|
"isPure": true,
|
|
@@ -6246,14 +6246,14 @@
|
|
|
6246
6246
|
"typeString": "type(bytes32)"
|
|
6247
6247
|
},
|
|
6248
6248
|
"typeName": {
|
|
6249
|
-
"id":
|
|
6249
|
+
"id": 60127,
|
|
6250
6250
|
"name": "bytes32",
|
|
6251
6251
|
"nodeType": "ElementaryTypeName",
|
|
6252
6252
|
"src": "4629:7:110",
|
|
6253
6253
|
"typeDescriptions": {}
|
|
6254
6254
|
}
|
|
6255
6255
|
},
|
|
6256
|
-
"id":
|
|
6256
|
+
"id": 60131,
|
|
6257
6257
|
"isConstant": false,
|
|
6258
6258
|
"isLValue": false,
|
|
6259
6259
|
"isPure": false,
|
|
@@ -6274,7 +6274,7 @@
|
|
|
6274
6274
|
"typeString": "bytes32"
|
|
6275
6275
|
}
|
|
6276
6276
|
},
|
|
6277
|
-
"id":
|
|
6277
|
+
"id": 60133,
|
|
6278
6278
|
"nodeType": "ExpressionStatement",
|
|
6279
6279
|
"src": "4611:45:110"
|
|
6280
6280
|
},
|
|
@@ -6282,11 +6282,11 @@
|
|
|
6282
6282
|
"expression": {
|
|
6283
6283
|
"arguments": [
|
|
6284
6284
|
{
|
|
6285
|
-
"id":
|
|
6285
|
+
"id": 60137,
|
|
6286
6286
|
"name": "_tableId",
|
|
6287
6287
|
"nodeType": "Identifier",
|
|
6288
6288
|
"overloadedDeclarations": [],
|
|
6289
|
-
"referencedDeclaration":
|
|
6289
|
+
"referencedDeclaration": 59681,
|
|
6290
6290
|
"src": "4683:8:110",
|
|
6291
6291
|
"typeDescriptions": {
|
|
6292
6292
|
"typeIdentifier": "t_uint256",
|
|
@@ -6294,11 +6294,11 @@
|
|
|
6294
6294
|
}
|
|
6295
6295
|
},
|
|
6296
6296
|
{
|
|
6297
|
-
"id":
|
|
6297
|
+
"id": 60138,
|
|
6298
6298
|
"name": "_primaryKeys",
|
|
6299
6299
|
"nodeType": "Identifier",
|
|
6300
6300
|
"overloadedDeclarations": [],
|
|
6301
|
-
"referencedDeclaration":
|
|
6301
|
+
"referencedDeclaration": 60117,
|
|
6302
6302
|
"src": "4693:12:110",
|
|
6303
6303
|
"typeDescriptions": {
|
|
6304
6304
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -6318,18 +6318,18 @@
|
|
|
6318
6318
|
}
|
|
6319
6319
|
],
|
|
6320
6320
|
"expression": {
|
|
6321
|
-
"id":
|
|
6321
|
+
"id": 60134,
|
|
6322
6322
|
"name": "_store",
|
|
6323
6323
|
"nodeType": "Identifier",
|
|
6324
6324
|
"overloadedDeclarations": [],
|
|
6325
|
-
"referencedDeclaration":
|
|
6325
|
+
"referencedDeclaration": 60108,
|
|
6326
6326
|
"src": "4663:6:110",
|
|
6327
6327
|
"typeDescriptions": {
|
|
6328
6328
|
"typeIdentifier": "t_contract$_IStore_$1163",
|
|
6329
6329
|
"typeString": "contract IStore"
|
|
6330
6330
|
}
|
|
6331
6331
|
},
|
|
6332
|
-
"id":
|
|
6332
|
+
"id": 60136,
|
|
6333
6333
|
"isConstant": false,
|
|
6334
6334
|
"isLValue": false,
|
|
6335
6335
|
"isPure": false,
|
|
@@ -6343,7 +6343,7 @@
|
|
|
6343
6343
|
"typeString": "function (uint256,bytes32[] memory) external"
|
|
6344
6344
|
}
|
|
6345
6345
|
},
|
|
6346
|
-
"id":
|
|
6346
|
+
"id": 60139,
|
|
6347
6347
|
"isConstant": false,
|
|
6348
6348
|
"isLValue": false,
|
|
6349
6349
|
"isPure": false,
|
|
@@ -6358,7 +6358,7 @@
|
|
|
6358
6358
|
"typeString": "tuple()"
|
|
6359
6359
|
}
|
|
6360
6360
|
},
|
|
6361
|
-
"id":
|
|
6361
|
+
"id": 60140,
|
|
6362
6362
|
"nodeType": "ExpressionStatement",
|
|
6363
6363
|
"src": "4663:43:110"
|
|
6364
6364
|
}
|
|
@@ -6370,17 +6370,17 @@
|
|
|
6370
6370
|
"name": "deleteRecord",
|
|
6371
6371
|
"nameLocation": "4488:12:110",
|
|
6372
6372
|
"parameters": {
|
|
6373
|
-
"id":
|
|
6373
|
+
"id": 60111,
|
|
6374
6374
|
"nodeType": "ParameterList",
|
|
6375
6375
|
"parameters": [
|
|
6376
6376
|
{
|
|
6377
6377
|
"constant": false,
|
|
6378
|
-
"id":
|
|
6378
|
+
"id": 60108,
|
|
6379
6379
|
"mutability": "mutable",
|
|
6380
6380
|
"name": "_store",
|
|
6381
6381
|
"nameLocation": "4508:6:110",
|
|
6382
6382
|
"nodeType": "VariableDeclaration",
|
|
6383
|
-
"scope":
|
|
6383
|
+
"scope": 60142,
|
|
6384
6384
|
"src": "4501:13:110",
|
|
6385
6385
|
"stateVariable": false,
|
|
6386
6386
|
"storageLocation": "default",
|
|
@@ -6389,10 +6389,10 @@
|
|
|
6389
6389
|
"typeString": "contract IStore"
|
|
6390
6390
|
},
|
|
6391
6391
|
"typeName": {
|
|
6392
|
-
"id":
|
|
6392
|
+
"id": 60107,
|
|
6393
6393
|
"nodeType": "UserDefinedTypeName",
|
|
6394
6394
|
"pathNode": {
|
|
6395
|
-
"id":
|
|
6395
|
+
"id": 60106,
|
|
6396
6396
|
"name": "IStore",
|
|
6397
6397
|
"nodeType": "IdentifierPath",
|
|
6398
6398
|
"referencedDeclaration": 1163,
|
|
@@ -6409,12 +6409,12 @@
|
|
|
6409
6409
|
},
|
|
6410
6410
|
{
|
|
6411
6411
|
"constant": false,
|
|
6412
|
-
"id":
|
|
6412
|
+
"id": 60110,
|
|
6413
6413
|
"mutability": "mutable",
|
|
6414
6414
|
"name": "resourceSelector",
|
|
6415
6415
|
"nameLocation": "4524:16:110",
|
|
6416
6416
|
"nodeType": "VariableDeclaration",
|
|
6417
|
-
"scope":
|
|
6417
|
+
"scope": 60142,
|
|
6418
6418
|
"src": "4516:24:110",
|
|
6419
6419
|
"stateVariable": false,
|
|
6420
6420
|
"storageLocation": "default",
|
|
@@ -6423,7 +6423,7 @@
|
|
|
6423
6423
|
"typeString": "bytes32"
|
|
6424
6424
|
},
|
|
6425
6425
|
"typeName": {
|
|
6426
|
-
"id":
|
|
6426
|
+
"id": 60109,
|
|
6427
6427
|
"name": "bytes32",
|
|
6428
6428
|
"nodeType": "ElementaryTypeName",
|
|
6429
6429
|
"src": "4516:7:110",
|
|
@@ -6438,12 +6438,12 @@
|
|
|
6438
6438
|
"src": "4500:41:110"
|
|
6439
6439
|
},
|
|
6440
6440
|
"returnParameters": {
|
|
6441
|
-
"id":
|
|
6441
|
+
"id": 60112,
|
|
6442
6442
|
"nodeType": "ParameterList",
|
|
6443
6443
|
"parameters": [],
|
|
6444
6444
|
"src": "4551:0:110"
|
|
6445
6445
|
},
|
|
6446
|
-
"scope":
|
|
6446
|
+
"scope": 60143,
|
|
6447
6447
|
"stateMutability": "nonpayable",
|
|
6448
6448
|
"virtual": false,
|
|
6449
6449
|
"visibility": "internal"
|
|
@@ -6456,11 +6456,11 @@
|
|
|
6456
6456
|
"contractKind": "library",
|
|
6457
6457
|
"fullyImplemented": true,
|
|
6458
6458
|
"linearizedBaseContracts": [
|
|
6459
|
-
|
|
6459
|
+
60143
|
|
6460
6460
|
],
|
|
6461
6461
|
"name": "ResourceType",
|
|
6462
6462
|
"nameLocation": "1080:12:110",
|
|
6463
|
-
"scope":
|
|
6463
|
+
"scope": 60144,
|
|
6464
6464
|
"usedErrors": []
|
|
6465
6465
|
}
|
|
6466
6466
|
],
|