@latticexyz/world-modules 2.0.0-main-f99e8898 → 2.0.0-main-e4e7d774
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/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1651 -0
- package/out/ArrayLib.sol/ArrayLib.json +477 -477
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +13002 -0
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
- package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
- package/out/DelegationControl.sol/DelegationControl.json +135 -135
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +17874 -0
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
- package/out/IBaseWorld.sol/IBaseWorld.json +81 -81
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +15 -15
- package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
- package/out/ISystemHook.sol/ISystemHook.json +12 -12
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
- package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
- package/out/IWorldKernel.sol/IWorldCall.json +10 -10
- package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +39 -39
- package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
- package/out/KeysInTableModule.sol/KeysInTableModule.json +838 -838
- package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1557 -1557
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +650 -650
- package/out/Module.sol/Module.json +119 -119
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +13016 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +17296 -0
- 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 +729 -729
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +448 -448
- package/out/StoreHook.sol/StoreHook.json +639 -639
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +32 -32
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +32460 -0
- package/out/SystemSwitch.sol/SystemSwitch.abi.json +1 -0
- package/out/SystemSwitch.sol/SystemSwitch.json +2879 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +18508 -0
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
- package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +482 -482
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4590 -4590
- package/out/WorldContext.sol/WorldContextConsumer.json +14 -14
- package/out/WorldContext.sol/WorldContextConsumerLib.json +14 -14
- package/out/WorldContext.sol/WorldContextProviderLib.json +14 -14
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +194 -194
- package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
- package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
- package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
- package/out/getUniqueEntity.sol/getUniqueEntity.json +389 -240
- package/out/hasKey.sol/hasKey.json +215 -215
- package/out/index.sol/index.json +73 -73
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +171 -171
- package/out/query.sol/query.json +1892 -1892
- package/out/revertWithBytes.sol/revertWithBytes.json +52 -52
- package/out/src/Bytes.sol/Bytes.json +3766 -3766
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +1204 -1204
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +1204 -1204
- package/out/src/Hook.sol/HookInstance.abi.json +1 -0
- package/out/src/Hook.sol/HookInstance.json +2823 -0
- package/out/src/Hook.sol/HookLib.abi.json +1 -0
- package/out/src/Hook.sol/HookLib.json +2823 -0
- package/out/src/IStore.sol/IStore.json +73 -73
- package/out/src/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/src/ISystemHook.sol/ISystemHook.abi.json.d.ts +68 -0
- package/out/src/ISystemHook.sol/ISystemHook.json +852 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json +189 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +190 -0
- package/out/src/IWorldErrors.sol/IWorldErrors.json +1463 -0
- package/out/src/IWorldKernel.sol/IWorldCall.json +258 -258
- package/out/src/IWorldKernel.sol/IWorldKernel.json +258 -258
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +258 -258
- package/out/src/Memory.sol/Memory.json +242 -242
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +1633 -1633
- package/out/src/PackedCounter.sol/PackedCounterLib.json +1633 -1633
- package/out/src/ResourceId.sol/ResourceIdInstance.json +206 -206
- package/out/src/ResourceId.sol/ResourceIdLib.json +206 -206
- package/out/src/Schema.sol/SchemaInstance.json +1351 -1351
- package/out/src/Schema.sol/SchemaLib.json +1351 -1351
- package/out/src/Slice.sol/SliceInstance.json +802 -802
- package/out/src/Slice.sol/SliceLib.json +802 -802
- package/out/src/StoreCore.sol/StoreCore.json +7412 -7412
- package/out/src/StoreCore.sol/StoreCoreInternal.json +7412 -7412
- package/out/src/StoreSwitch.sol/StoreSwitch.json +4064 -4064
- package/out/src/WorldContext.sol/WorldContextConsumer.json +805 -805
- package/out/src/WorldContext.sol/WorldContextConsumerLib.json +807 -807
- package/out/src/WorldContext.sol/WorldContextProviderLib.json +807 -807
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +809 -809
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +809 -809
- package/out/storeHookTypes.sol/storeHookTypes.json +204 -204
- package/out/storeResourceTypes.sol/storeResourceTypes.json +23 -23
- package/out/systemHookTypes.sol/systemHookTypes.json +270 -0
- package/out/tables/ResourceIds.sol/ResourceIds.json +2922 -2922
- package/out/tables/Tables.sol/Tables.json +12189 -12189
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +6883 -6883
- package/out/types.sol/types.json +71 -71
- package/out/worldResourceTypes.sol/worldResourceTypes.json +92 -92
- package/package.json +8 -8
- package/src/modules/uniqueentity/getUniqueEntity.sol +5 -3
- package/src/utils/SystemSwitch.sol +82 -0
@@ -618,37 +618,37 @@
|
|
618
618
|
},
|
619
619
|
"ast": {
|
620
620
|
"absolutePath": "node_modules/@latticexyz/world/src/DelegationControl.sol",
|
621
|
-
"id":
|
621
|
+
"id": 41685,
|
622
622
|
"exportedSymbols": {
|
623
623
|
"DELEGATION_CONTROL_INTERFACE_ID": [
|
624
|
-
|
624
|
+
75563
|
625
625
|
],
|
626
626
|
"DelegationControl": [
|
627
|
-
|
627
|
+
41684
|
628
628
|
],
|
629
629
|
"ERC165_INTERFACE_ID": [
|
630
|
-
|
630
|
+
75587
|
631
631
|
],
|
632
632
|
"IDelegationControl": [
|
633
|
-
|
633
|
+
75579
|
634
634
|
],
|
635
635
|
"IERC165": [
|
636
|
-
|
636
|
+
75597
|
637
637
|
],
|
638
638
|
"WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
|
639
|
-
|
639
|
+
75618
|
640
640
|
],
|
641
641
|
"WorldContextConsumer": [
|
642
|
-
|
642
|
+
42014
|
643
643
|
]
|
644
644
|
},
|
645
645
|
"nodeType": "SourceUnit",
|
646
|
-
"src": "32:1244:
|
646
|
+
"src": "32:1244:90",
|
647
647
|
"nodes": [
|
648
648
|
{
|
649
|
-
"id":
|
649
|
+
"id": 41644,
|
650
650
|
"nodeType": "PragmaDirective",
|
651
|
-
"src": "32:25:
|
651
|
+
"src": "32:25:90",
|
652
652
|
"nodes": [],
|
653
653
|
"literals": [
|
654
654
|
"solidity",
|
@@ -658,24 +658,24 @@
|
|
658
658
|
]
|
659
659
|
},
|
660
660
|
{
|
661
|
-
"id":
|
661
|
+
"id": 41646,
|
662
662
|
"nodeType": "ImportDirective",
|
663
|
-
"src": "59:58:
|
663
|
+
"src": "59:58:90",
|
664
664
|
"nodes": [],
|
665
665
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldContext.sol",
|
666
666
|
"file": "./WorldContext.sol",
|
667
667
|
"nameLocation": "-1:-1:-1",
|
668
|
-
"scope":
|
669
|
-
"sourceUnit":
|
668
|
+
"scope": 41685,
|
669
|
+
"sourceUnit": 42209,
|
670
670
|
"symbolAliases": [
|
671
671
|
{
|
672
672
|
"foreign": {
|
673
|
-
"id":
|
673
|
+
"id": 41645,
|
674
674
|
"name": "WorldContextConsumer",
|
675
675
|
"nodeType": "Identifier",
|
676
676
|
"overloadedDeclarations": [],
|
677
|
-
"referencedDeclaration":
|
678
|
-
"src": "68:20:
|
677
|
+
"referencedDeclaration": 42014,
|
678
|
+
"src": "68:20:90",
|
679
679
|
"typeDescriptions": {}
|
680
680
|
},
|
681
681
|
"nameLocation": "-1:-1:-1"
|
@@ -684,36 +684,36 @@
|
|
684
684
|
"unitAlias": ""
|
685
685
|
},
|
686
686
|
{
|
687
|
-
"id":
|
687
|
+
"id": 41649,
|
688
688
|
"nodeType": "ImportDirective",
|
689
|
-
"src": "118:95:
|
689
|
+
"src": "118:95:90",
|
690
690
|
"nodes": [],
|
691
691
|
"absolutePath": "node_modules/@latticexyz/world/src/IDelegationControl.sol",
|
692
692
|
"file": "./IDelegationControl.sol",
|
693
693
|
"nameLocation": "-1:-1:-1",
|
694
|
-
"scope":
|
695
|
-
"sourceUnit":
|
694
|
+
"scope": 41685,
|
695
|
+
"sourceUnit": 75580,
|
696
696
|
"symbolAliases": [
|
697
697
|
{
|
698
698
|
"foreign": {
|
699
|
-
"id":
|
699
|
+
"id": 41647,
|
700
700
|
"name": "IDelegationControl",
|
701
701
|
"nodeType": "Identifier",
|
702
702
|
"overloadedDeclarations": [],
|
703
|
-
"referencedDeclaration":
|
704
|
-
"src": "127:18:
|
703
|
+
"referencedDeclaration": 75579,
|
704
|
+
"src": "127:18:90",
|
705
705
|
"typeDescriptions": {}
|
706
706
|
},
|
707
707
|
"nameLocation": "-1:-1:-1"
|
708
708
|
},
|
709
709
|
{
|
710
710
|
"foreign": {
|
711
|
-
"id":
|
711
|
+
"id": 41648,
|
712
712
|
"name": "DELEGATION_CONTROL_INTERFACE_ID",
|
713
713
|
"nodeType": "Identifier",
|
714
714
|
"overloadedDeclarations": [],
|
715
|
-
"referencedDeclaration":
|
716
|
-
"src": "147:31:
|
715
|
+
"referencedDeclaration": 75563,
|
716
|
+
"src": "147:31:90",
|
717
717
|
"typeDescriptions": {}
|
718
718
|
},
|
719
719
|
"nameLocation": "-1:-1:-1"
|
@@ -722,24 +722,24 @@
|
|
722
722
|
"unitAlias": ""
|
723
723
|
},
|
724
724
|
{
|
725
|
-
"id":
|
725
|
+
"id": 41651,
|
726
726
|
"nodeType": "ImportDirective",
|
727
|
-
"src": "214:82:
|
727
|
+
"src": "214:82:90",
|
728
728
|
"nodes": [],
|
729
729
|
"absolutePath": "node_modules/@latticexyz/world/src/IWorldContextConsumer.sol",
|
730
730
|
"file": "./IWorldContextConsumer.sol",
|
731
731
|
"nameLocation": "-1:-1:-1",
|
732
|
-
"scope":
|
733
|
-
"sourceUnit":
|
732
|
+
"scope": 41685,
|
733
|
+
"sourceUnit": 75641,
|
734
734
|
"symbolAliases": [
|
735
735
|
{
|
736
736
|
"foreign": {
|
737
|
-
"id":
|
737
|
+
"id": 41650,
|
738
738
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
739
739
|
"nodeType": "Identifier",
|
740
740
|
"overloadedDeclarations": [],
|
741
|
-
"referencedDeclaration":
|
742
|
-
"src": "223:35:
|
741
|
+
"referencedDeclaration": 75618,
|
742
|
+
"src": "223:35:90",
|
743
743
|
"typeDescriptions": {}
|
744
744
|
},
|
745
745
|
"nameLocation": "-1:-1:-1"
|
@@ -748,36 +748,36 @@
|
|
748
748
|
"unitAlias": ""
|
749
749
|
},
|
750
750
|
{
|
751
|
-
"id":
|
751
|
+
"id": 41654,
|
752
752
|
"nodeType": "ImportDirective",
|
753
|
-
"src": "297:61:
|
753
|
+
"src": "297:61:90",
|
754
754
|
"nodes": [],
|
755
755
|
"absolutePath": "node_modules/@latticexyz/world/src/IERC165.sol",
|
756
756
|
"file": "./IERC165.sol",
|
757
757
|
"nameLocation": "-1:-1:-1",
|
758
|
-
"scope":
|
759
|
-
"sourceUnit":
|
758
|
+
"scope": 41685,
|
759
|
+
"sourceUnit": 75598,
|
760
760
|
"symbolAliases": [
|
761
761
|
{
|
762
762
|
"foreign": {
|
763
|
-
"id":
|
763
|
+
"id": 41652,
|
764
764
|
"name": "IERC165",
|
765
765
|
"nodeType": "Identifier",
|
766
766
|
"overloadedDeclarations": [],
|
767
|
-
"referencedDeclaration":
|
768
|
-
"src": "306:7:
|
767
|
+
"referencedDeclaration": 75597,
|
768
|
+
"src": "306:7:90",
|
769
769
|
"typeDescriptions": {}
|
770
770
|
},
|
771
771
|
"nameLocation": "-1:-1:-1"
|
772
772
|
},
|
773
773
|
{
|
774
774
|
"foreign": {
|
775
|
-
"id":
|
775
|
+
"id": 41653,
|
776
776
|
"name": "ERC165_INTERFACE_ID",
|
777
777
|
"nodeType": "Identifier",
|
778
778
|
"overloadedDeclarations": [],
|
779
|
-
"referencedDeclaration":
|
780
|
-
"src": "315:19:
|
779
|
+
"referencedDeclaration": 75587,
|
780
|
+
"src": "315:19:90",
|
781
781
|
"typeDescriptions": {}
|
782
782
|
},
|
783
783
|
"nameLocation": "-1:-1:-1"
|
@@ -786,19 +786,19 @@
|
|
786
786
|
"unitAlias": ""
|
787
787
|
},
|
788
788
|
{
|
789
|
-
"id":
|
789
|
+
"id": 41684,
|
790
790
|
"nodeType": "ContractDefinition",
|
791
|
-
"src": "556:719:
|
791
|
+
"src": "556:719:90",
|
792
792
|
"nodes": [
|
793
793
|
{
|
794
|
-
"id":
|
794
|
+
"id": 41683,
|
795
795
|
"nodeType": "FunctionDefinition",
|
796
|
-
"src": "969:304:
|
796
|
+
"src": "969:304:90",
|
797
797
|
"nodes": [],
|
798
798
|
"body": {
|
799
|
-
"id":
|
799
|
+
"id": 41682,
|
800
800
|
"nodeType": "Block",
|
801
|
-
"src": "1099:174:
|
801
|
+
"src": "1099:174:90",
|
802
802
|
"nodes": [],
|
803
803
|
"statements": [
|
804
804
|
{
|
@@ -807,7 +807,7 @@
|
|
807
807
|
"typeIdentifier": "t_bool",
|
808
808
|
"typeString": "bool"
|
809
809
|
},
|
810
|
-
"id":
|
810
|
+
"id": 41680,
|
811
811
|
"isConstant": false,
|
812
812
|
"isLValue": false,
|
813
813
|
"isPure": false,
|
@@ -817,7 +817,7 @@
|
|
817
817
|
"typeIdentifier": "t_bool",
|
818
818
|
"typeString": "bool"
|
819
819
|
},
|
820
|
-
"id":
|
820
|
+
"id": 41676,
|
821
821
|
"isConstant": false,
|
822
822
|
"isLValue": false,
|
823
823
|
"isPure": false,
|
@@ -827,18 +827,18 @@
|
|
827
827
|
"typeIdentifier": "t_bytes4",
|
828
828
|
"typeString": "bytes4"
|
829
829
|
},
|
830
|
-
"id":
|
830
|
+
"id": 41672,
|
831
831
|
"isConstant": false,
|
832
832
|
"isLValue": false,
|
833
833
|
"isPure": false,
|
834
834
|
"lValueRequested": false,
|
835
835
|
"leftExpression": {
|
836
|
-
"id":
|
836
|
+
"id": 41670,
|
837
837
|
"name": "interfaceId",
|
838
838
|
"nodeType": "Identifier",
|
839
839
|
"overloadedDeclarations": [],
|
840
|
-
"referencedDeclaration":
|
841
|
-
"src": "1118:11:
|
840
|
+
"referencedDeclaration": 41662,
|
841
|
+
"src": "1118:11:90",
|
842
842
|
"typeDescriptions": {
|
843
843
|
"typeIdentifier": "t_bytes4",
|
844
844
|
"typeString": "bytes4"
|
@@ -847,18 +847,18 @@
|
|
847
847
|
"nodeType": "BinaryOperation",
|
848
848
|
"operator": "==",
|
849
849
|
"rightExpression": {
|
850
|
-
"id":
|
850
|
+
"id": 41671,
|
851
851
|
"name": "DELEGATION_CONTROL_INTERFACE_ID",
|
852
852
|
"nodeType": "Identifier",
|
853
853
|
"overloadedDeclarations": [],
|
854
|
-
"referencedDeclaration":
|
855
|
-
"src": "1133:31:
|
854
|
+
"referencedDeclaration": 75563,
|
855
|
+
"src": "1133:31:90",
|
856
856
|
"typeDescriptions": {
|
857
857
|
"typeIdentifier": "t_bytes4",
|
858
858
|
"typeString": "bytes4"
|
859
859
|
}
|
860
860
|
},
|
861
|
-
"src": "1118:46:
|
861
|
+
"src": "1118:46:90",
|
862
862
|
"typeDescriptions": {
|
863
863
|
"typeIdentifier": "t_bool",
|
864
864
|
"typeString": "bool"
|
@@ -871,18 +871,18 @@
|
|
871
871
|
"typeIdentifier": "t_bytes4",
|
872
872
|
"typeString": "bytes4"
|
873
873
|
},
|
874
|
-
"id":
|
874
|
+
"id": 41675,
|
875
875
|
"isConstant": false,
|
876
876
|
"isLValue": false,
|
877
877
|
"isPure": false,
|
878
878
|
"lValueRequested": false,
|
879
879
|
"leftExpression": {
|
880
|
-
"id":
|
880
|
+
"id": 41673,
|
881
881
|
"name": "interfaceId",
|
882
882
|
"nodeType": "Identifier",
|
883
883
|
"overloadedDeclarations": [],
|
884
|
-
"referencedDeclaration":
|
885
|
-
"src": "1174:11:
|
884
|
+
"referencedDeclaration": 41662,
|
885
|
+
"src": "1174:11:90",
|
886
886
|
"typeDescriptions": {
|
887
887
|
"typeIdentifier": "t_bytes4",
|
888
888
|
"typeString": "bytes4"
|
@@ -891,24 +891,24 @@
|
|
891
891
|
"nodeType": "BinaryOperation",
|
892
892
|
"operator": "==",
|
893
893
|
"rightExpression": {
|
894
|
-
"id":
|
894
|
+
"id": 41674,
|
895
895
|
"name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
|
896
896
|
"nodeType": "Identifier",
|
897
897
|
"overloadedDeclarations": [],
|
898
|
-
"referencedDeclaration":
|
899
|
-
"src": "1189:35:
|
898
|
+
"referencedDeclaration": 75618,
|
899
|
+
"src": "1189:35:90",
|
900
900
|
"typeDescriptions": {
|
901
901
|
"typeIdentifier": "t_bytes4",
|
902
902
|
"typeString": "bytes4"
|
903
903
|
}
|
904
904
|
},
|
905
|
-
"src": "1174:50:
|
905
|
+
"src": "1174:50:90",
|
906
906
|
"typeDescriptions": {
|
907
907
|
"typeIdentifier": "t_bool",
|
908
908
|
"typeString": "bool"
|
909
909
|
}
|
910
910
|
},
|
911
|
-
"src": "1118:106:
|
911
|
+
"src": "1118:106:90",
|
912
912
|
"typeDescriptions": {
|
913
913
|
"typeIdentifier": "t_bool",
|
914
914
|
"typeString": "bool"
|
@@ -921,18 +921,18 @@
|
|
921
921
|
"typeIdentifier": "t_bytes4",
|
922
922
|
"typeString": "bytes4"
|
923
923
|
},
|
924
|
-
"id":
|
924
|
+
"id": 41679,
|
925
925
|
"isConstant": false,
|
926
926
|
"isLValue": false,
|
927
927
|
"isPure": false,
|
928
928
|
"lValueRequested": false,
|
929
929
|
"leftExpression": {
|
930
|
-
"id":
|
930
|
+
"id": 41677,
|
931
931
|
"name": "interfaceId",
|
932
932
|
"nodeType": "Identifier",
|
933
933
|
"overloadedDeclarations": [],
|
934
|
-
"referencedDeclaration":
|
935
|
-
"src": "1234:11:
|
934
|
+
"referencedDeclaration": 41662,
|
935
|
+
"src": "1234:11:90",
|
936
936
|
"typeDescriptions": {
|
937
937
|
"typeIdentifier": "t_bytes4",
|
938
938
|
"typeString": "bytes4"
|
@@ -941,44 +941,44 @@
|
|
941
941
|
"nodeType": "BinaryOperation",
|
942
942
|
"operator": "==",
|
943
943
|
"rightExpression": {
|
944
|
-
"id":
|
944
|
+
"id": 41678,
|
945
945
|
"name": "ERC165_INTERFACE_ID",
|
946
946
|
"nodeType": "Identifier",
|
947
947
|
"overloadedDeclarations": [],
|
948
|
-
"referencedDeclaration":
|
949
|
-
"src": "1249:19:
|
948
|
+
"referencedDeclaration": 75587,
|
949
|
+
"src": "1249:19:90",
|
950
950
|
"typeDescriptions": {
|
951
951
|
"typeIdentifier": "t_bytes4",
|
952
952
|
"typeString": "bytes4"
|
953
953
|
}
|
954
954
|
},
|
955
|
-
"src": "1234:34:
|
955
|
+
"src": "1234:34:90",
|
956
956
|
"typeDescriptions": {
|
957
957
|
"typeIdentifier": "t_bool",
|
958
958
|
"typeString": "bool"
|
959
959
|
}
|
960
960
|
},
|
961
|
-
"src": "1118:150:
|
961
|
+
"src": "1118:150:90",
|
962
962
|
"typeDescriptions": {
|
963
963
|
"typeIdentifier": "t_bool",
|
964
964
|
"typeString": "bool"
|
965
965
|
}
|
966
966
|
},
|
967
|
-
"functionReturnParameters":
|
968
|
-
"id":
|
967
|
+
"functionReturnParameters": 41669,
|
968
|
+
"id": 41681,
|
969
969
|
"nodeType": "Return",
|
970
|
-
"src": "1105:163:
|
970
|
+
"src": "1105:163:90"
|
971
971
|
}
|
972
972
|
]
|
973
973
|
},
|
974
974
|
"baseFunctions": [
|
975
|
-
|
976
|
-
|
975
|
+
42013,
|
976
|
+
75596
|
977
977
|
],
|
978
978
|
"documentation": {
|
979
|
-
"id":
|
979
|
+
"id": 41660,
|
980
980
|
"nodeType": "StructuredDocumentation",
|
981
|
-
"src": "640:326:
|
981
|
+
"src": "640:326:90",
|
982
982
|
"text": " @notice Check if the given interfaceId is supported by this contract.\n @dev Overrides the functionality from IERC165 and WorldContextConsumer to check for supported interfaces.\n @param interfaceId The bytes4 identifier for the interface.\n @return true if the interface is supported, false otherwise."
|
983
983
|
},
|
984
984
|
"functionSelector": "01ffc9a7",
|
@@ -986,47 +986,47 @@
|
|
986
986
|
"kind": "function",
|
987
987
|
"modifiers": [],
|
988
988
|
"name": "supportsInterface",
|
989
|
-
"nameLocation": "978:17:
|
989
|
+
"nameLocation": "978:17:90",
|
990
990
|
"overrides": {
|
991
|
-
"id":
|
991
|
+
"id": 41666,
|
992
992
|
"nodeType": "OverrideSpecifier",
|
993
993
|
"overrides": [
|
994
994
|
{
|
995
|
-
"id":
|
995
|
+
"id": 41664,
|
996
996
|
"name": "IERC165",
|
997
997
|
"nameLocations": [
|
998
|
-
"1053:7:
|
998
|
+
"1053:7:90"
|
999
999
|
],
|
1000
1000
|
"nodeType": "IdentifierPath",
|
1001
|
-
"referencedDeclaration":
|
1002
|
-
"src": "1053:7:
|
1001
|
+
"referencedDeclaration": 75597,
|
1002
|
+
"src": "1053:7:90"
|
1003
1003
|
},
|
1004
1004
|
{
|
1005
|
-
"id":
|
1005
|
+
"id": 41665,
|
1006
1006
|
"name": "WorldContextConsumer",
|
1007
1007
|
"nameLocations": [
|
1008
|
-
"1062:20:
|
1008
|
+
"1062:20:90"
|
1009
1009
|
],
|
1010
1010
|
"nodeType": "IdentifierPath",
|
1011
|
-
"referencedDeclaration":
|
1012
|
-
"src": "1062:20:
|
1011
|
+
"referencedDeclaration": 42014,
|
1012
|
+
"src": "1062:20:90"
|
1013
1013
|
}
|
1014
1014
|
],
|
1015
|
-
"src": "1044:39:
|
1015
|
+
"src": "1044:39:90"
|
1016
1016
|
},
|
1017
1017
|
"parameters": {
|
1018
|
-
"id":
|
1018
|
+
"id": 41663,
|
1019
1019
|
"nodeType": "ParameterList",
|
1020
1020
|
"parameters": [
|
1021
1021
|
{
|
1022
1022
|
"constant": false,
|
1023
|
-
"id":
|
1023
|
+
"id": 41662,
|
1024
1024
|
"mutability": "mutable",
|
1025
1025
|
"name": "interfaceId",
|
1026
|
-
"nameLocation": "1008:11:
|
1026
|
+
"nameLocation": "1008:11:90",
|
1027
1027
|
"nodeType": "VariableDeclaration",
|
1028
|
-
"scope":
|
1029
|
-
"src": "1001:18:
|
1028
|
+
"scope": 41683,
|
1029
|
+
"src": "1001:18:90",
|
1030
1030
|
"stateVariable": false,
|
1031
1031
|
"storageLocation": "default",
|
1032
1032
|
"typeDescriptions": {
|
@@ -1034,10 +1034,10 @@
|
|
1034
1034
|
"typeString": "bytes4"
|
1035
1035
|
},
|
1036
1036
|
"typeName": {
|
1037
|
-
"id":
|
1037
|
+
"id": 41661,
|
1038
1038
|
"name": "bytes4",
|
1039
1039
|
"nodeType": "ElementaryTypeName",
|
1040
|
-
"src": "1001:6:
|
1040
|
+
"src": "1001:6:90",
|
1041
1041
|
"typeDescriptions": {
|
1042
1042
|
"typeIdentifier": "t_bytes4",
|
1043
1043
|
"typeString": "bytes4"
|
@@ -1046,21 +1046,21 @@
|
|
1046
1046
|
"visibility": "internal"
|
1047
1047
|
}
|
1048
1048
|
],
|
1049
|
-
"src": "995:28:
|
1049
|
+
"src": "995:28:90"
|
1050
1050
|
},
|
1051
1051
|
"returnParameters": {
|
1052
|
-
"id":
|
1052
|
+
"id": 41669,
|
1053
1053
|
"nodeType": "ParameterList",
|
1054
1054
|
"parameters": [
|
1055
1055
|
{
|
1056
1056
|
"constant": false,
|
1057
|
-
"id":
|
1057
|
+
"id": 41668,
|
1058
1058
|
"mutability": "mutable",
|
1059
1059
|
"name": "",
|
1060
1060
|
"nameLocation": "-1:-1:-1",
|
1061
1061
|
"nodeType": "VariableDeclaration",
|
1062
|
-
"scope":
|
1063
|
-
"src": "1093:4:
|
1062
|
+
"scope": 41683,
|
1063
|
+
"src": "1093:4:90",
|
1064
1064
|
"stateVariable": false,
|
1065
1065
|
"storageLocation": "default",
|
1066
1066
|
"typeDescriptions": {
|
@@ -1068,10 +1068,10 @@
|
|
1068
1068
|
"typeString": "bool"
|
1069
1069
|
},
|
1070
1070
|
"typeName": {
|
1071
|
-
"id":
|
1071
|
+
"id": 41667,
|
1072
1072
|
"name": "bool",
|
1073
1073
|
"nodeType": "ElementaryTypeName",
|
1074
|
-
"src": "1093:4:
|
1074
|
+
"src": "1093:4:90",
|
1075
1075
|
"typeDescriptions": {
|
1076
1076
|
"typeIdentifier": "t_bool",
|
1077
1077
|
"typeString": "bool"
|
@@ -1080,9 +1080,9 @@
|
|
1080
1080
|
"visibility": "internal"
|
1081
1081
|
}
|
1082
1082
|
],
|
1083
|
-
"src": "1092:6:
|
1083
|
+
"src": "1092:6:90"
|
1084
1084
|
},
|
1085
|
-
"scope":
|
1085
|
+
"scope": 41684,
|
1086
1086
|
"stateMutability": "pure",
|
1087
1087
|
"virtual": true,
|
1088
1088
|
"visibility": "public"
|
@@ -1092,60 +1092,60 @@
|
|
1092
1092
|
"baseContracts": [
|
1093
1093
|
{
|
1094
1094
|
"baseName": {
|
1095
|
-
"id":
|
1095
|
+
"id": 41656,
|
1096
1096
|
"name": "WorldContextConsumer",
|
1097
1097
|
"nameLocations": [
|
1098
|
-
"595:20:
|
1098
|
+
"595:20:90"
|
1099
1099
|
],
|
1100
1100
|
"nodeType": "IdentifierPath",
|
1101
|
-
"referencedDeclaration":
|
1102
|
-
"src": "595:20:
|
1101
|
+
"referencedDeclaration": 42014,
|
1102
|
+
"src": "595:20:90"
|
1103
1103
|
},
|
1104
|
-
"id":
|
1104
|
+
"id": 41657,
|
1105
1105
|
"nodeType": "InheritanceSpecifier",
|
1106
|
-
"src": "595:20:
|
1106
|
+
"src": "595:20:90"
|
1107
1107
|
},
|
1108
1108
|
{
|
1109
1109
|
"baseName": {
|
1110
|
-
"id":
|
1110
|
+
"id": 41658,
|
1111
1111
|
"name": "IDelegationControl",
|
1112
1112
|
"nameLocations": [
|
1113
|
-
"617:18:
|
1113
|
+
"617:18:90"
|
1114
1114
|
],
|
1115
1115
|
"nodeType": "IdentifierPath",
|
1116
|
-
"referencedDeclaration":
|
1117
|
-
"src": "617:18:
|
1116
|
+
"referencedDeclaration": 75579,
|
1117
|
+
"src": "617:18:90"
|
1118
1118
|
},
|
1119
|
-
"id":
|
1119
|
+
"id": 41659,
|
1120
1120
|
"nodeType": "InheritanceSpecifier",
|
1121
|
-
"src": "617:18:
|
1121
|
+
"src": "617:18:90"
|
1122
1122
|
}
|
1123
1123
|
],
|
1124
1124
|
"canonicalName": "DelegationControl",
|
1125
1125
|
"contractDependencies": [],
|
1126
1126
|
"contractKind": "contract",
|
1127
1127
|
"documentation": {
|
1128
|
-
"id":
|
1128
|
+
"id": 41655,
|
1129
1129
|
"nodeType": "StructuredDocumentation",
|
1130
|
-
"src": "360:195:
|
1130
|
+
"src": "360:195:90",
|
1131
1131
|
"text": " @title DelegationControl\n @dev Abstract contract to manage delegations and check interface support.\n Inherits functionalities from WorldContextConsumer and IDelegationControl."
|
1132
1132
|
},
|
1133
1133
|
"fullyImplemented": false,
|
1134
1134
|
"linearizedBaseContracts": [
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1135
|
+
41684,
|
1136
|
+
75579,
|
1137
|
+
42014,
|
1138
|
+
75640,
|
1139
|
+
75597
|
1140
1140
|
],
|
1141
1141
|
"name": "DelegationControl",
|
1142
|
-
"nameLocation": "574:17:
|
1143
|
-
"scope":
|
1142
|
+
"nameLocation": "574:17:90",
|
1143
|
+
"scope": 41685,
|
1144
1144
|
"usedErrors": [],
|
1145
1145
|
"usedEvents": []
|
1146
1146
|
}
|
1147
1147
|
],
|
1148
1148
|
"license": "MIT"
|
1149
1149
|
},
|
1150
|
-
"id":
|
1150
|
+
"id": 90
|
1151
1151
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
[]
|