@latticexyz/world-modules 2.0.0-main-87235a21 → 2.0.0-main-fd10cff6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +228 -215
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +157 -131
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +57 -57
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +105 -99
- package/out/IModule.sol/IModule.json +181 -151
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
- package/out/ISystemHook.sol/ISystemHook.json +91 -91
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +75 -75
- package/out/IWorldErrors.sol/IWorldErrors.json +134 -134
- package/out/IWorldKernel.sol/IWorldCall.json +155 -155
- package/out/IWorldKernel.sol/IWorldKernel.json +155 -155
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +155 -155
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +186 -186
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +562 -537
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +992 -992
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +451 -426
- package/out/Module.sol/Module.json +162 -119
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +327 -308
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +23 -23
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +132 -119
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +345 -326
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +86 -86
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/WorldContext.sol/WorldContextProvider.json +357 -357
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +130 -130
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/src/WorldContext.sol/WorldContextProvider.json +357 -357
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +39 -39
- package/out/world/src/IERC165.sol/IERC165.json +63 -57
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -446,20 +446,20 @@
|
|
446
446
|
},
|
447
447
|
"ast": {
|
448
448
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/IWorldErrors.sol",
|
449
|
-
"id":
|
449
|
+
"id": 23144,
|
450
450
|
"exportedSymbols": {
|
451
451
|
"IWorldErrors": [
|
452
|
-
|
452
|
+
23143
|
453
453
|
],
|
454
454
|
"ResourceId": [
|
455
|
-
|
455
|
+
26198
|
456
456
|
]
|
457
457
|
},
|
458
458
|
"nodeType": "SourceUnit",
|
459
459
|
"src": "32:1079:38",
|
460
460
|
"nodes": [
|
461
461
|
{
|
462
|
-
"id":
|
462
|
+
"id": 23066,
|
463
463
|
"nodeType": "PragmaDirective",
|
464
464
|
"src": "32:25:38",
|
465
465
|
"nodes": [],
|
@@ -471,23 +471,23 @@
|
|
471
471
|
]
|
472
472
|
},
|
473
473
|
{
|
474
|
-
"id":
|
474
|
+
"id": 23068,
|
475
475
|
"nodeType": "ImportDirective",
|
476
476
|
"src": "59:66:38",
|
477
477
|
"nodes": [],
|
478
478
|
"absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
|
479
479
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
480
480
|
"nameLocation": "-1:-1:-1",
|
481
|
-
"scope":
|
482
|
-
"sourceUnit":
|
481
|
+
"scope": 23144,
|
482
|
+
"sourceUnit": 26263,
|
483
483
|
"symbolAliases": [
|
484
484
|
{
|
485
485
|
"foreign": {
|
486
|
-
"id":
|
486
|
+
"id": 23067,
|
487
487
|
"name": "ResourceId",
|
488
488
|
"nodeType": "Identifier",
|
489
489
|
"overloadedDeclarations": [],
|
490
|
-
"referencedDeclaration":
|
490
|
+
"referencedDeclaration": 26198,
|
491
491
|
"src": "68:10:38",
|
492
492
|
"typeDescriptions": {}
|
493
493
|
},
|
@@ -497,12 +497,12 @@
|
|
497
497
|
"unitAlias": ""
|
498
498
|
},
|
499
499
|
{
|
500
|
-
"id":
|
500
|
+
"id": 23143,
|
501
501
|
"nodeType": "ContractDefinition",
|
502
502
|
"src": "127:983:38",
|
503
503
|
"nodes": [
|
504
504
|
{
|
505
|
-
"id":
|
505
|
+
"id": 23070,
|
506
506
|
"nodeType": "ErrorDefinition",
|
507
507
|
"src": "154:33:38",
|
508
508
|
"nodes": [],
|
@@ -510,14 +510,14 @@
|
|
510
510
|
"name": "World_AlreadyInitialized",
|
511
511
|
"nameLocation": "160:24:38",
|
512
512
|
"parameters": {
|
513
|
-
"id":
|
513
|
+
"id": 23069,
|
514
514
|
"nodeType": "ParameterList",
|
515
515
|
"parameters": [],
|
516
516
|
"src": "184:2:38"
|
517
517
|
}
|
518
518
|
},
|
519
519
|
{
|
520
|
-
"id":
|
520
|
+
"id": 23077,
|
521
521
|
"nodeType": "ErrorDefinition",
|
522
522
|
"src": "190:82:38",
|
523
523
|
"nodes": [],
|
@@ -525,41 +525,41 @@
|
|
525
525
|
"name": "World_ResourceAlreadyExists",
|
526
526
|
"nameLocation": "196:27:38",
|
527
527
|
"parameters": {
|
528
|
-
"id":
|
528
|
+
"id": 23076,
|
529
529
|
"nodeType": "ParameterList",
|
530
530
|
"parameters": [
|
531
531
|
{
|
532
532
|
"constant": false,
|
533
|
-
"id":
|
533
|
+
"id": 23073,
|
534
534
|
"mutability": "mutable",
|
535
535
|
"name": "resourceId",
|
536
536
|
"nameLocation": "235:10:38",
|
537
537
|
"nodeType": "VariableDeclaration",
|
538
|
-
"scope":
|
538
|
+
"scope": 23077,
|
539
539
|
"src": "224:21:38",
|
540
540
|
"stateVariable": false,
|
541
541
|
"storageLocation": "default",
|
542
542
|
"typeDescriptions": {
|
543
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
543
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
544
544
|
"typeString": "ResourceId"
|
545
545
|
},
|
546
546
|
"typeName": {
|
547
|
-
"id":
|
547
|
+
"id": 23072,
|
548
548
|
"nodeType": "UserDefinedTypeName",
|
549
549
|
"pathNode": {
|
550
|
-
"id":
|
550
|
+
"id": 23071,
|
551
551
|
"name": "ResourceId",
|
552
552
|
"nameLocations": [
|
553
553
|
"224:10:38"
|
554
554
|
],
|
555
555
|
"nodeType": "IdentifierPath",
|
556
|
-
"referencedDeclaration":
|
556
|
+
"referencedDeclaration": 26198,
|
557
557
|
"src": "224:10:38"
|
558
558
|
},
|
559
|
-
"referencedDeclaration":
|
559
|
+
"referencedDeclaration": 26198,
|
560
560
|
"src": "224:10:38",
|
561
561
|
"typeDescriptions": {
|
562
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
562
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
563
563
|
"typeString": "ResourceId"
|
564
564
|
}
|
565
565
|
},
|
@@ -567,12 +567,12 @@
|
|
567
567
|
},
|
568
568
|
{
|
569
569
|
"constant": false,
|
570
|
-
"id":
|
570
|
+
"id": 23075,
|
571
571
|
"mutability": "mutable",
|
572
572
|
"name": "resourceIdString",
|
573
573
|
"nameLocation": "254:16:38",
|
574
574
|
"nodeType": "VariableDeclaration",
|
575
|
-
"scope":
|
575
|
+
"scope": 23077,
|
576
576
|
"src": "247:23:38",
|
577
577
|
"stateVariable": false,
|
578
578
|
"storageLocation": "default",
|
@@ -581,7 +581,7 @@
|
|
581
581
|
"typeString": "string"
|
582
582
|
},
|
583
583
|
"typeName": {
|
584
|
-
"id":
|
584
|
+
"id": 23074,
|
585
585
|
"name": "string",
|
586
586
|
"nodeType": "ElementaryTypeName",
|
587
587
|
"src": "247:6:38",
|
@@ -597,7 +597,7 @@
|
|
597
597
|
}
|
598
598
|
},
|
599
599
|
{
|
600
|
-
"id":
|
600
|
+
"id": 23084,
|
601
601
|
"nodeType": "ErrorDefinition",
|
602
602
|
"src": "275:77:38",
|
603
603
|
"nodes": [],
|
@@ -605,41 +605,41 @@
|
|
605
605
|
"name": "World_ResourceNotFound",
|
606
606
|
"nameLocation": "281:22:38",
|
607
607
|
"parameters": {
|
608
|
-
"id":
|
608
|
+
"id": 23083,
|
609
609
|
"nodeType": "ParameterList",
|
610
610
|
"parameters": [
|
611
611
|
{
|
612
612
|
"constant": false,
|
613
|
-
"id":
|
613
|
+
"id": 23080,
|
614
614
|
"mutability": "mutable",
|
615
615
|
"name": "resourceId",
|
616
616
|
"nameLocation": "315:10:38",
|
617
617
|
"nodeType": "VariableDeclaration",
|
618
|
-
"scope":
|
618
|
+
"scope": 23084,
|
619
619
|
"src": "304:21:38",
|
620
620
|
"stateVariable": false,
|
621
621
|
"storageLocation": "default",
|
622
622
|
"typeDescriptions": {
|
623
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
623
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
624
624
|
"typeString": "ResourceId"
|
625
625
|
},
|
626
626
|
"typeName": {
|
627
|
-
"id":
|
627
|
+
"id": 23079,
|
628
628
|
"nodeType": "UserDefinedTypeName",
|
629
629
|
"pathNode": {
|
630
|
-
"id":
|
630
|
+
"id": 23078,
|
631
631
|
"name": "ResourceId",
|
632
632
|
"nameLocations": [
|
633
633
|
"304:10:38"
|
634
634
|
],
|
635
635
|
"nodeType": "IdentifierPath",
|
636
|
-
"referencedDeclaration":
|
636
|
+
"referencedDeclaration": 26198,
|
637
637
|
"src": "304:10:38"
|
638
638
|
},
|
639
|
-
"referencedDeclaration":
|
639
|
+
"referencedDeclaration": 26198,
|
640
640
|
"src": "304:10:38",
|
641
641
|
"typeDescriptions": {
|
642
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
642
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
643
643
|
"typeString": "ResourceId"
|
644
644
|
}
|
645
645
|
},
|
@@ -647,12 +647,12 @@
|
|
647
647
|
},
|
648
648
|
{
|
649
649
|
"constant": false,
|
650
|
-
"id":
|
650
|
+
"id": 23082,
|
651
651
|
"mutability": "mutable",
|
652
652
|
"name": "resourceIdString",
|
653
653
|
"nameLocation": "334:16:38",
|
654
654
|
"nodeType": "VariableDeclaration",
|
655
|
-
"scope":
|
655
|
+
"scope": 23084,
|
656
656
|
"src": "327:23:38",
|
657
657
|
"stateVariable": false,
|
658
658
|
"storageLocation": "default",
|
@@ -661,7 +661,7 @@
|
|
661
661
|
"typeString": "string"
|
662
662
|
},
|
663
663
|
"typeName": {
|
664
|
-
"id":
|
664
|
+
"id": 23081,
|
665
665
|
"name": "string",
|
666
666
|
"nodeType": "ElementaryTypeName",
|
667
667
|
"src": "327:6:38",
|
@@ -677,7 +677,7 @@
|
|
677
677
|
}
|
678
678
|
},
|
679
679
|
{
|
680
|
-
"id":
|
680
|
+
"id": 23090,
|
681
681
|
"nodeType": "ErrorDefinition",
|
682
682
|
"src": "355:58:38",
|
683
683
|
"nodes": [],
|
@@ -685,17 +685,17 @@
|
|
685
685
|
"name": "World_AccessDenied",
|
686
686
|
"nameLocation": "361:18:38",
|
687
687
|
"parameters": {
|
688
|
-
"id":
|
688
|
+
"id": 23089,
|
689
689
|
"nodeType": "ParameterList",
|
690
690
|
"parameters": [
|
691
691
|
{
|
692
692
|
"constant": false,
|
693
|
-
"id":
|
693
|
+
"id": 23086,
|
694
694
|
"mutability": "mutable",
|
695
695
|
"name": "resource",
|
696
696
|
"nameLocation": "387:8:38",
|
697
697
|
"nodeType": "VariableDeclaration",
|
698
|
-
"scope":
|
698
|
+
"scope": 23090,
|
699
699
|
"src": "380:15:38",
|
700
700
|
"stateVariable": false,
|
701
701
|
"storageLocation": "default",
|
@@ -704,7 +704,7 @@
|
|
704
704
|
"typeString": "string"
|
705
705
|
},
|
706
706
|
"typeName": {
|
707
|
-
"id":
|
707
|
+
"id": 23085,
|
708
708
|
"name": "string",
|
709
709
|
"nodeType": "ElementaryTypeName",
|
710
710
|
"src": "380:6:38",
|
@@ -717,12 +717,12 @@
|
|
717
717
|
},
|
718
718
|
{
|
719
719
|
"constant": false,
|
720
|
-
"id":
|
720
|
+
"id": 23088,
|
721
721
|
"mutability": "mutable",
|
722
722
|
"name": "caller",
|
723
723
|
"nameLocation": "405:6:38",
|
724
724
|
"nodeType": "VariableDeclaration",
|
725
|
-
"scope":
|
725
|
+
"scope": 23090,
|
726
726
|
"src": "397:14:38",
|
727
727
|
"stateVariable": false,
|
728
728
|
"storageLocation": "default",
|
@@ -731,7 +731,7 @@
|
|
731
731
|
"typeString": "address"
|
732
732
|
},
|
733
733
|
"typeName": {
|
734
|
-
"id":
|
734
|
+
"id": 23087,
|
735
735
|
"name": "address",
|
736
736
|
"nodeType": "ElementaryTypeName",
|
737
737
|
"src": "397:7:38",
|
@@ -748,7 +748,7 @@
|
|
748
748
|
}
|
749
749
|
},
|
750
750
|
{
|
751
|
-
"id":
|
751
|
+
"id": 23097,
|
752
752
|
"nodeType": "ErrorDefinition",
|
753
753
|
"src": "416:78:38",
|
754
754
|
"nodes": [],
|
@@ -756,41 +756,41 @@
|
|
756
756
|
"name": "World_InvalidResourceId",
|
757
757
|
"nameLocation": "422:23:38",
|
758
758
|
"parameters": {
|
759
|
-
"id":
|
759
|
+
"id": 23096,
|
760
760
|
"nodeType": "ParameterList",
|
761
761
|
"parameters": [
|
762
762
|
{
|
763
763
|
"constant": false,
|
764
|
-
"id":
|
764
|
+
"id": 23093,
|
765
765
|
"mutability": "mutable",
|
766
766
|
"name": "resourceId",
|
767
767
|
"nameLocation": "457:10:38",
|
768
768
|
"nodeType": "VariableDeclaration",
|
769
|
-
"scope":
|
769
|
+
"scope": 23097,
|
770
770
|
"src": "446:21:38",
|
771
771
|
"stateVariable": false,
|
772
772
|
"storageLocation": "default",
|
773
773
|
"typeDescriptions": {
|
774
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
774
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
775
775
|
"typeString": "ResourceId"
|
776
776
|
},
|
777
777
|
"typeName": {
|
778
|
-
"id":
|
778
|
+
"id": 23092,
|
779
779
|
"nodeType": "UserDefinedTypeName",
|
780
780
|
"pathNode": {
|
781
|
-
"id":
|
781
|
+
"id": 23091,
|
782
782
|
"name": "ResourceId",
|
783
783
|
"nameLocations": [
|
784
784
|
"446:10:38"
|
785
785
|
],
|
786
786
|
"nodeType": "IdentifierPath",
|
787
|
-
"referencedDeclaration":
|
787
|
+
"referencedDeclaration": 26198,
|
788
788
|
"src": "446:10:38"
|
789
789
|
},
|
790
|
-
"referencedDeclaration":
|
790
|
+
"referencedDeclaration": 26198,
|
791
791
|
"src": "446:10:38",
|
792
792
|
"typeDescriptions": {
|
793
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
793
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
794
794
|
"typeString": "ResourceId"
|
795
795
|
}
|
796
796
|
},
|
@@ -798,12 +798,12 @@
|
|
798
798
|
},
|
799
799
|
{
|
800
800
|
"constant": false,
|
801
|
-
"id":
|
801
|
+
"id": 23095,
|
802
802
|
"mutability": "mutable",
|
803
803
|
"name": "resourceIdString",
|
804
804
|
"nameLocation": "476:16:38",
|
805
805
|
"nodeType": "VariableDeclaration",
|
806
|
-
"scope":
|
806
|
+
"scope": 23097,
|
807
807
|
"src": "469:23:38",
|
808
808
|
"stateVariable": false,
|
809
809
|
"storageLocation": "default",
|
@@ -812,7 +812,7 @@
|
|
812
812
|
"typeString": "string"
|
813
813
|
},
|
814
814
|
"typeName": {
|
815
|
-
"id":
|
815
|
+
"id": 23094,
|
816
816
|
"name": "string",
|
817
817
|
"nodeType": "ElementaryTypeName",
|
818
818
|
"src": "469:6:38",
|
@@ -828,7 +828,7 @@
|
|
828
828
|
}
|
829
829
|
},
|
830
830
|
{
|
831
|
-
"id":
|
831
|
+
"id": 23101,
|
832
832
|
"nodeType": "ErrorDefinition",
|
833
833
|
"src": "497:48:38",
|
834
834
|
"nodes": [],
|
@@ -836,17 +836,17 @@
|
|
836
836
|
"name": "World_SystemAlreadyExists",
|
837
837
|
"nameLocation": "503:25:38",
|
838
838
|
"parameters": {
|
839
|
-
"id":
|
839
|
+
"id": 23100,
|
840
840
|
"nodeType": "ParameterList",
|
841
841
|
"parameters": [
|
842
842
|
{
|
843
843
|
"constant": false,
|
844
|
-
"id":
|
844
|
+
"id": 23099,
|
845
845
|
"mutability": "mutable",
|
846
846
|
"name": "system",
|
847
847
|
"nameLocation": "537:6:38",
|
848
848
|
"nodeType": "VariableDeclaration",
|
849
|
-
"scope":
|
849
|
+
"scope": 23101,
|
850
850
|
"src": "529:14:38",
|
851
851
|
"stateVariable": false,
|
852
852
|
"storageLocation": "default",
|
@@ -855,7 +855,7 @@
|
|
855
855
|
"typeString": "address"
|
856
856
|
},
|
857
857
|
"typeName": {
|
858
|
-
"id":
|
858
|
+
"id": 23098,
|
859
859
|
"name": "address",
|
860
860
|
"nodeType": "ElementaryTypeName",
|
861
861
|
"src": "529:7:38",
|
@@ -872,7 +872,7 @@
|
|
872
872
|
}
|
873
873
|
},
|
874
874
|
{
|
875
|
-
"id":
|
875
|
+
"id": 23105,
|
876
876
|
"nodeType": "ErrorDefinition",
|
877
877
|
"src": "548:67:38",
|
878
878
|
"nodes": [],
|
@@ -880,17 +880,17 @@
|
|
880
880
|
"name": "World_FunctionSelectorAlreadyExists",
|
881
881
|
"nameLocation": "554:35:38",
|
882
882
|
"parameters": {
|
883
|
-
"id":
|
883
|
+
"id": 23104,
|
884
884
|
"nodeType": "ParameterList",
|
885
885
|
"parameters": [
|
886
886
|
{
|
887
887
|
"constant": false,
|
888
|
-
"id":
|
888
|
+
"id": 23103,
|
889
889
|
"mutability": "mutable",
|
890
890
|
"name": "functionSelector",
|
891
891
|
"nameLocation": "597:16:38",
|
892
892
|
"nodeType": "VariableDeclaration",
|
893
|
-
"scope":
|
893
|
+
"scope": 23105,
|
894
894
|
"src": "590:23:38",
|
895
895
|
"stateVariable": false,
|
896
896
|
"storageLocation": "default",
|
@@ -899,7 +899,7 @@
|
|
899
899
|
"typeString": "bytes4"
|
900
900
|
},
|
901
901
|
"typeName": {
|
902
|
-
"id":
|
902
|
+
"id": 23102,
|
903
903
|
"name": "bytes4",
|
904
904
|
"nodeType": "ElementaryTypeName",
|
905
905
|
"src": "590:6:38",
|
@@ -915,7 +915,7 @@
|
|
915
915
|
}
|
916
916
|
},
|
917
917
|
{
|
918
|
-
"id":
|
918
|
+
"id": 23109,
|
919
919
|
"nodeType": "ErrorDefinition",
|
920
920
|
"src": "618:62:38",
|
921
921
|
"nodes": [],
|
@@ -923,17 +923,17 @@
|
|
923
923
|
"name": "World_FunctionSelectorNotFound",
|
924
924
|
"nameLocation": "624:30:38",
|
925
925
|
"parameters": {
|
926
|
-
"id":
|
926
|
+
"id": 23108,
|
927
927
|
"nodeType": "ParameterList",
|
928
928
|
"parameters": [
|
929
929
|
{
|
930
930
|
"constant": false,
|
931
|
-
"id":
|
931
|
+
"id": 23107,
|
932
932
|
"mutability": "mutable",
|
933
933
|
"name": "functionSelector",
|
934
934
|
"nameLocation": "662:16:38",
|
935
935
|
"nodeType": "VariableDeclaration",
|
936
|
-
"scope":
|
936
|
+
"scope": 23109,
|
937
937
|
"src": "655:23:38",
|
938
938
|
"stateVariable": false,
|
939
939
|
"storageLocation": "default",
|
@@ -942,7 +942,7 @@
|
|
942
942
|
"typeString": "bytes4"
|
943
943
|
},
|
944
944
|
"typeName": {
|
945
|
-
"id":
|
945
|
+
"id": 23106,
|
946
946
|
"name": "bytes4",
|
947
947
|
"nodeType": "ElementaryTypeName",
|
948
948
|
"src": "655:6:38",
|
@@ -958,7 +958,7 @@
|
|
958
958
|
}
|
959
959
|
},
|
960
960
|
{
|
961
|
-
"id":
|
961
|
+
"id": 23115,
|
962
962
|
"nodeType": "ErrorDefinition",
|
963
963
|
"src": "683:69:38",
|
964
964
|
"nodes": [],
|
@@ -966,17 +966,17 @@
|
|
966
966
|
"name": "World_DelegationNotFound",
|
967
967
|
"nameLocation": "689:24:38",
|
968
968
|
"parameters": {
|
969
|
-
"id":
|
969
|
+
"id": 23114,
|
970
970
|
"nodeType": "ParameterList",
|
971
971
|
"parameters": [
|
972
972
|
{
|
973
973
|
"constant": false,
|
974
|
-
"id":
|
974
|
+
"id": 23111,
|
975
975
|
"mutability": "mutable",
|
976
976
|
"name": "delegator",
|
977
977
|
"nameLocation": "722:9:38",
|
978
978
|
"nodeType": "VariableDeclaration",
|
979
|
-
"scope":
|
979
|
+
"scope": 23115,
|
980
980
|
"src": "714:17:38",
|
981
981
|
"stateVariable": false,
|
982
982
|
"storageLocation": "default",
|
@@ -985,7 +985,7 @@
|
|
985
985
|
"typeString": "address"
|
986
986
|
},
|
987
987
|
"typeName": {
|
988
|
-
"id":
|
988
|
+
"id": 23110,
|
989
989
|
"name": "address",
|
990
990
|
"nodeType": "ElementaryTypeName",
|
991
991
|
"src": "714:7:38",
|
@@ -999,12 +999,12 @@
|
|
999
999
|
},
|
1000
1000
|
{
|
1001
1001
|
"constant": false,
|
1002
|
-
"id":
|
1002
|
+
"id": 23113,
|
1003
1003
|
"mutability": "mutable",
|
1004
1004
|
"name": "delegatee",
|
1005
1005
|
"nameLocation": "741:9:38",
|
1006
1006
|
"nodeType": "VariableDeclaration",
|
1007
|
-
"scope":
|
1007
|
+
"scope": 23115,
|
1008
1008
|
"src": "733:17:38",
|
1009
1009
|
"stateVariable": false,
|
1010
1010
|
"storageLocation": "default",
|
@@ -1013,7 +1013,7 @@
|
|
1013
1013
|
"typeString": "address"
|
1014
1014
|
},
|
1015
1015
|
"typeName": {
|
1016
|
-
"id":
|
1016
|
+
"id": 23112,
|
1017
1017
|
"name": "address",
|
1018
1018
|
"nodeType": "ElementaryTypeName",
|
1019
1019
|
"src": "733:7:38",
|
@@ -1030,7 +1030,7 @@
|
|
1030
1030
|
}
|
1031
1031
|
},
|
1032
1032
|
{
|
1033
|
-
"id":
|
1033
|
+
"id": 23117,
|
1034
1034
|
"nodeType": "ErrorDefinition",
|
1035
1035
|
"src": "755:44:38",
|
1036
1036
|
"nodes": [],
|
@@ -1038,14 +1038,14 @@
|
|
1038
1038
|
"name": "World_UnlimitedDelegationNotAllowed",
|
1039
1039
|
"nameLocation": "761:35:38",
|
1040
1040
|
"parameters": {
|
1041
|
-
"id":
|
1041
|
+
"id": 23116,
|
1042
1042
|
"nodeType": "ParameterList",
|
1043
1043
|
"parameters": [],
|
1044
1044
|
"src": "796:2:38"
|
1045
1045
|
}
|
1046
1046
|
},
|
1047
1047
|
{
|
1048
|
-
"id":
|
1048
|
+
"id": 23123,
|
1049
1049
|
"nodeType": "ErrorDefinition",
|
1050
1050
|
"src": "802:65:38",
|
1051
1051
|
"nodes": [],
|
@@ -1053,17 +1053,17 @@
|
|
1053
1053
|
"name": "World_InsufficientBalance",
|
1054
1054
|
"nameLocation": "808:25:38",
|
1055
1055
|
"parameters": {
|
1056
|
-
"id":
|
1056
|
+
"id": 23122,
|
1057
1057
|
"nodeType": "ParameterList",
|
1058
1058
|
"parameters": [
|
1059
1059
|
{
|
1060
1060
|
"constant": false,
|
1061
|
-
"id":
|
1061
|
+
"id": 23119,
|
1062
1062
|
"mutability": "mutable",
|
1063
1063
|
"name": "balance",
|
1064
1064
|
"nameLocation": "842:7:38",
|
1065
1065
|
"nodeType": "VariableDeclaration",
|
1066
|
-
"scope":
|
1066
|
+
"scope": 23123,
|
1067
1067
|
"src": "834:15:38",
|
1068
1068
|
"stateVariable": false,
|
1069
1069
|
"storageLocation": "default",
|
@@ -1072,7 +1072,7 @@
|
|
1072
1072
|
"typeString": "uint256"
|
1073
1073
|
},
|
1074
1074
|
"typeName": {
|
1075
|
-
"id":
|
1075
|
+
"id": 23118,
|
1076
1076
|
"name": "uint256",
|
1077
1077
|
"nodeType": "ElementaryTypeName",
|
1078
1078
|
"src": "834:7:38",
|
@@ -1085,12 +1085,12 @@
|
|
1085
1085
|
},
|
1086
1086
|
{
|
1087
1087
|
"constant": false,
|
1088
|
-
"id":
|
1088
|
+
"id": 23121,
|
1089
1089
|
"mutability": "mutable",
|
1090
1090
|
"name": "amount",
|
1091
1091
|
"nameLocation": "859:6:38",
|
1092
1092
|
"nodeType": "VariableDeclaration",
|
1093
|
-
"scope":
|
1093
|
+
"scope": 23123,
|
1094
1094
|
"src": "851:14:38",
|
1095
1095
|
"stateVariable": false,
|
1096
1096
|
"storageLocation": "default",
|
@@ -1099,7 +1099,7 @@
|
|
1099
1099
|
"typeString": "uint256"
|
1100
1100
|
},
|
1101
1101
|
"typeName": {
|
1102
|
-
"id":
|
1102
|
+
"id": 23120,
|
1103
1103
|
"name": "uint256",
|
1104
1104
|
"nodeType": "ElementaryTypeName",
|
1105
1105
|
"src": "851:7:38",
|
@@ -1115,7 +1115,7 @@
|
|
1115
1115
|
}
|
1116
1116
|
},
|
1117
1117
|
{
|
1118
|
-
"id":
|
1118
|
+
"id": 23129,
|
1119
1119
|
"nodeType": "ErrorDefinition",
|
1120
1120
|
"src": "870:79:38",
|
1121
1121
|
"nodes": [],
|
@@ -1123,17 +1123,17 @@
|
|
1123
1123
|
"name": "World_InterfaceNotSupported",
|
1124
1124
|
"nameLocation": "876:27:38",
|
1125
1125
|
"parameters": {
|
1126
|
-
"id":
|
1126
|
+
"id": 23128,
|
1127
1127
|
"nodeType": "ParameterList",
|
1128
1128
|
"parameters": [
|
1129
1129
|
{
|
1130
1130
|
"constant": false,
|
1131
|
-
"id":
|
1131
|
+
"id": 23125,
|
1132
1132
|
"mutability": "mutable",
|
1133
1133
|
"name": "contractAddress",
|
1134
1134
|
"nameLocation": "912:15:38",
|
1135
1135
|
"nodeType": "VariableDeclaration",
|
1136
|
-
"scope":
|
1136
|
+
"scope": 23129,
|
1137
1137
|
"src": "904:23:38",
|
1138
1138
|
"stateVariable": false,
|
1139
1139
|
"storageLocation": "default",
|
@@ -1142,7 +1142,7 @@
|
|
1142
1142
|
"typeString": "address"
|
1143
1143
|
},
|
1144
1144
|
"typeName": {
|
1145
|
-
"id":
|
1145
|
+
"id": 23124,
|
1146
1146
|
"name": "address",
|
1147
1147
|
"nodeType": "ElementaryTypeName",
|
1148
1148
|
"src": "904:7:38",
|
@@ -1156,12 +1156,12 @@
|
|
1156
1156
|
},
|
1157
1157
|
{
|
1158
1158
|
"constant": false,
|
1159
|
-
"id":
|
1159
|
+
"id": 23127,
|
1160
1160
|
"mutability": "mutable",
|
1161
1161
|
"name": "interfaceId",
|
1162
1162
|
"nameLocation": "936:11:38",
|
1163
1163
|
"nodeType": "VariableDeclaration",
|
1164
|
-
"scope":
|
1164
|
+
"scope": 23129,
|
1165
1165
|
"src": "929:18:38",
|
1166
1166
|
"stateVariable": false,
|
1167
1167
|
"storageLocation": "default",
|
@@ -1170,7 +1170,7 @@
|
|
1170
1170
|
"typeString": "bytes4"
|
1171
1171
|
},
|
1172
1172
|
"typeName": {
|
1173
|
-
"id":
|
1173
|
+
"id": 23126,
|
1174
1174
|
"name": "bytes4",
|
1175
1175
|
"nodeType": "ElementaryTypeName",
|
1176
1176
|
"src": "929:6:38",
|
@@ -1186,7 +1186,7 @@
|
|
1186
1186
|
}
|
1187
1187
|
},
|
1188
1188
|
{
|
1189
|
-
"id":
|
1189
|
+
"id": 23138,
|
1190
1190
|
"nodeType": "ErrorDefinition",
|
1191
1191
|
"src": "952:97:38",
|
1192
1192
|
"nodes": [],
|
@@ -1194,17 +1194,17 @@
|
|
1194
1194
|
"name": "World_InvalidResourceType",
|
1195
1195
|
"nameLocation": "958:25:38",
|
1196
1196
|
"parameters": {
|
1197
|
-
"id":
|
1197
|
+
"id": 23137,
|
1198
1198
|
"nodeType": "ParameterList",
|
1199
1199
|
"parameters": [
|
1200
1200
|
{
|
1201
1201
|
"constant": false,
|
1202
|
-
"id":
|
1202
|
+
"id": 23131,
|
1203
1203
|
"mutability": "mutable",
|
1204
1204
|
"name": "expected",
|
1205
1205
|
"nameLocation": "991:8:38",
|
1206
1206
|
"nodeType": "VariableDeclaration",
|
1207
|
-
"scope":
|
1207
|
+
"scope": 23138,
|
1208
1208
|
"src": "984:15:38",
|
1209
1209
|
"stateVariable": false,
|
1210
1210
|
"storageLocation": "default",
|
@@ -1213,7 +1213,7 @@
|
|
1213
1213
|
"typeString": "bytes2"
|
1214
1214
|
},
|
1215
1215
|
"typeName": {
|
1216
|
-
"id":
|
1216
|
+
"id": 23130,
|
1217
1217
|
"name": "bytes2",
|
1218
1218
|
"nodeType": "ElementaryTypeName",
|
1219
1219
|
"src": "984:6:38",
|
@@ -1226,36 +1226,36 @@
|
|
1226
1226
|
},
|
1227
1227
|
{
|
1228
1228
|
"constant": false,
|
1229
|
-
"id":
|
1229
|
+
"id": 23134,
|
1230
1230
|
"mutability": "mutable",
|
1231
1231
|
"name": "resourceId",
|
1232
1232
|
"nameLocation": "1012:10:38",
|
1233
1233
|
"nodeType": "VariableDeclaration",
|
1234
|
-
"scope":
|
1234
|
+
"scope": 23138,
|
1235
1235
|
"src": "1001:21:38",
|
1236
1236
|
"stateVariable": false,
|
1237
1237
|
"storageLocation": "default",
|
1238
1238
|
"typeDescriptions": {
|
1239
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1239
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
1240
1240
|
"typeString": "ResourceId"
|
1241
1241
|
},
|
1242
1242
|
"typeName": {
|
1243
|
-
"id":
|
1243
|
+
"id": 23133,
|
1244
1244
|
"nodeType": "UserDefinedTypeName",
|
1245
1245
|
"pathNode": {
|
1246
|
-
"id":
|
1246
|
+
"id": 23132,
|
1247
1247
|
"name": "ResourceId",
|
1248
1248
|
"nameLocations": [
|
1249
1249
|
"1001:10:38"
|
1250
1250
|
],
|
1251
1251
|
"nodeType": "IdentifierPath",
|
1252
|
-
"referencedDeclaration":
|
1252
|
+
"referencedDeclaration": 26198,
|
1253
1253
|
"src": "1001:10:38"
|
1254
1254
|
},
|
1255
|
-
"referencedDeclaration":
|
1255
|
+
"referencedDeclaration": 26198,
|
1256
1256
|
"src": "1001:10:38",
|
1257
1257
|
"typeDescriptions": {
|
1258
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1258
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
1259
1259
|
"typeString": "ResourceId"
|
1260
1260
|
}
|
1261
1261
|
},
|
@@ -1263,12 +1263,12 @@
|
|
1263
1263
|
},
|
1264
1264
|
{
|
1265
1265
|
"constant": false,
|
1266
|
-
"id":
|
1266
|
+
"id": 23136,
|
1267
1267
|
"mutability": "mutable",
|
1268
1268
|
"name": "resourceIdString",
|
1269
1269
|
"nameLocation": "1031:16:38",
|
1270
1270
|
"nodeType": "VariableDeclaration",
|
1271
|
-
"scope":
|
1271
|
+
"scope": 23138,
|
1272
1272
|
"src": "1024:23:38",
|
1273
1273
|
"stateVariable": false,
|
1274
1274
|
"storageLocation": "default",
|
@@ -1277,7 +1277,7 @@
|
|
1277
1277
|
"typeString": "string"
|
1278
1278
|
},
|
1279
1279
|
"typeName": {
|
1280
|
-
"id":
|
1280
|
+
"id": 23135,
|
1281
1281
|
"name": "string",
|
1282
1282
|
"nodeType": "ElementaryTypeName",
|
1283
1283
|
"src": "1024:6:38",
|
@@ -1293,7 +1293,7 @@
|
|
1293
1293
|
}
|
1294
1294
|
},
|
1295
1295
|
{
|
1296
|
-
"id":
|
1296
|
+
"id": 23142,
|
1297
1297
|
"nodeType": "ErrorDefinition",
|
1298
1298
|
"src": "1052:56:38",
|
1299
1299
|
"nodes": [],
|
@@ -1301,17 +1301,17 @@
|
|
1301
1301
|
"name": "World_CallbackNotAllowed",
|
1302
1302
|
"nameLocation": "1058:24:38",
|
1303
1303
|
"parameters": {
|
1304
|
-
"id":
|
1304
|
+
"id": 23141,
|
1305
1305
|
"nodeType": "ParameterList",
|
1306
1306
|
"parameters": [
|
1307
1307
|
{
|
1308
1308
|
"constant": false,
|
1309
|
-
"id":
|
1309
|
+
"id": 23140,
|
1310
1310
|
"mutability": "mutable",
|
1311
1311
|
"name": "functionSelector",
|
1312
1312
|
"nameLocation": "1090:16:38",
|
1313
1313
|
"nodeType": "VariableDeclaration",
|
1314
|
-
"scope":
|
1314
|
+
"scope": 23142,
|
1315
1315
|
"src": "1083:23:38",
|
1316
1316
|
"stateVariable": false,
|
1317
1317
|
"storageLocation": "default",
|
@@ -1320,7 +1320,7 @@
|
|
1320
1320
|
"typeString": "bytes4"
|
1321
1321
|
},
|
1322
1322
|
"typeName": {
|
1323
|
-
"id":
|
1323
|
+
"id": 23139,
|
1324
1324
|
"name": "bytes4",
|
1325
1325
|
"nodeType": "ElementaryTypeName",
|
1326
1326
|
"src": "1083:6:38",
|
@@ -1343,26 +1343,26 @@
|
|
1343
1343
|
"contractKind": "interface",
|
1344
1344
|
"fullyImplemented": true,
|
1345
1345
|
"linearizedBaseContracts": [
|
1346
|
-
|
1346
|
+
23143
|
1347
1347
|
],
|
1348
1348
|
"name": "IWorldErrors",
|
1349
1349
|
"nameLocation": "137:12:38",
|
1350
|
-
"scope":
|
1350
|
+
"scope": 23144,
|
1351
1351
|
"usedErrors": [
|
1352
|
-
23063,
|
1353
1352
|
23070,
|
1354
1353
|
23077,
|
1355
|
-
|
1354
|
+
23084,
|
1356
1355
|
23090,
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1356
|
+
23097,
|
1357
|
+
23101,
|
1358
|
+
23105,
|
1359
|
+
23109,
|
1360
|
+
23115,
|
1361
|
+
23117,
|
1362
|
+
23123,
|
1363
|
+
23129,
|
1364
|
+
23138,
|
1365
|
+
23142
|
1366
1366
|
],
|
1367
1367
|
"usedEvents": []
|
1368
1368
|
}
|