@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-c4f49240
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/Callbacks.sol/Callbacks.json +45 -45
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +83 -83
- 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 +64 -64
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
- package/out/IModule.sol/IModule.json +76 -76
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/ISystemHook.sol/ISystemHook.json +82 -82
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
- package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
- package/out/IWorldKernel.sol/IWorldCall.json +149 -149
- package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
- package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
- package/out/Mixed.sol/Mixed.json +66 -66
- package/out/Module.sol/Module.json +73 -73
- 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 +300 -300
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +18 -18
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/Vector2.sol/Vector2.json +52 -52
- package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
- package/out/WorldContext.sol/WorldContextProvider.json +28 -28
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
- package/out/constants.sol/constants.json +85 -85
- 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.abi.json +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
- package/out/interfaces/IERC165.sol/IERC165.json +27 -27
- package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
- package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
- 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 +886 -886
- package/out/src/IStore.sol/IStoreData.json +886 -886
- package/out/src/IStore.sol/IStoreRead.json +886 -886
- package/out/src/IStore.sol/IStoreRegistration.json +886 -886
- package/out/src/IStore.sol/IStoreWrite.json +886 -886
- 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 +4461 -4461
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
- package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
- 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 +131 -23
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
- package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
- package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -743,26 +743,26 @@
|
|
743
743
|
},
|
744
744
|
"ast": {
|
745
745
|
"absolutePath": "src/modules/std-delegations/TimeboundDelegationControl.sol",
|
746
|
-
"id":
|
746
|
+
"id": 63116,
|
747
747
|
"exportedSymbols": {
|
748
748
|
"DelegationControl": [
|
749
|
-
|
749
|
+
48683
|
750
750
|
],
|
751
751
|
"ResourceId": [
|
752
|
-
|
752
|
+
36384
|
753
753
|
],
|
754
754
|
"TimeboundDelegationControl": [
|
755
|
-
|
755
|
+
63115
|
756
756
|
],
|
757
757
|
"TimeboundDelegations": [
|
758
|
-
|
758
|
+
66251
|
759
759
|
]
|
760
760
|
},
|
761
761
|
"nodeType": "SourceUnit",
|
762
762
|
"src": "32:1240:129",
|
763
763
|
"nodes": [
|
764
764
|
{
|
765
|
-
"id":
|
765
|
+
"id": 63060,
|
766
766
|
"nodeType": "PragmaDirective",
|
767
767
|
"src": "32:25:129",
|
768
768
|
"nodes": [],
|
@@ -774,23 +774,23 @@
|
|
774
774
|
]
|
775
775
|
},
|
776
776
|
{
|
777
|
-
"id":
|
777
|
+
"id": 63062,
|
778
778
|
"nodeType": "ImportDirective",
|
779
779
|
"src": "59:80:129",
|
780
780
|
"nodes": [],
|
781
781
|
"absolutePath": "node_modules/@latticexyz/world/src/DelegationControl.sol",
|
782
782
|
"file": "@latticexyz/world/src/DelegationControl.sol",
|
783
783
|
"nameLocation": "-1:-1:-1",
|
784
|
-
"scope":
|
785
|
-
"sourceUnit":
|
784
|
+
"scope": 63116,
|
785
|
+
"sourceUnit": 48684,
|
786
786
|
"symbolAliases": [
|
787
787
|
{
|
788
788
|
"foreign": {
|
789
|
-
"id":
|
789
|
+
"id": 63061,
|
790
790
|
"name": "DelegationControl",
|
791
791
|
"nodeType": "Identifier",
|
792
792
|
"overloadedDeclarations": [],
|
793
|
-
"referencedDeclaration":
|
793
|
+
"referencedDeclaration": 48683,
|
794
794
|
"src": "68:17:129",
|
795
795
|
"typeDescriptions": {}
|
796
796
|
},
|
@@ -800,23 +800,23 @@
|
|
800
800
|
"unitAlias": ""
|
801
801
|
},
|
802
802
|
{
|
803
|
-
"id":
|
803
|
+
"id": 63064,
|
804
804
|
"nodeType": "ImportDirective",
|
805
805
|
"src": "140:71:129",
|
806
806
|
"nodes": [],
|
807
807
|
"absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
|
808
808
|
"file": "@latticexyz/world/src/WorldResourceId.sol",
|
809
809
|
"nameLocation": "-1:-1:-1",
|
810
|
-
"scope":
|
811
|
-
"sourceUnit":
|
810
|
+
"scope": 63116,
|
811
|
+
"sourceUnit": 49227,
|
812
812
|
"symbolAliases": [
|
813
813
|
{
|
814
814
|
"foreign": {
|
815
|
-
"id":
|
815
|
+
"id": 63063,
|
816
816
|
"name": "ResourceId",
|
817
817
|
"nodeType": "Identifier",
|
818
818
|
"overloadedDeclarations": [],
|
819
|
-
"referencedDeclaration":
|
819
|
+
"referencedDeclaration": 36384,
|
820
820
|
"src": "149:10:129",
|
821
821
|
"typeDescriptions": {}
|
822
822
|
},
|
@@ -826,23 +826,23 @@
|
|
826
826
|
"unitAlias": ""
|
827
827
|
},
|
828
828
|
{
|
829
|
-
"id":
|
829
|
+
"id": 63066,
|
830
830
|
"nodeType": "ImportDirective",
|
831
831
|
"src": "212:73:129",
|
832
832
|
"nodes": [],
|
833
833
|
"absolutePath": "src/modules/std-delegations/tables/TimeboundDelegations.sol",
|
834
834
|
"file": "./tables/TimeboundDelegations.sol",
|
835
835
|
"nameLocation": "-1:-1:-1",
|
836
|
-
"scope":
|
837
|
-
"sourceUnit":
|
836
|
+
"scope": 63116,
|
837
|
+
"sourceUnit": 66252,
|
838
838
|
"symbolAliases": [
|
839
839
|
{
|
840
840
|
"foreign": {
|
841
|
-
"id":
|
841
|
+
"id": 63065,
|
842
842
|
"name": "TimeboundDelegations",
|
843
843
|
"nodeType": "Identifier",
|
844
844
|
"overloadedDeclarations": [],
|
845
|
-
"referencedDeclaration":
|
845
|
+
"referencedDeclaration": 66251,
|
846
846
|
"src": "221:20:129",
|
847
847
|
"typeDescriptions": {}
|
848
848
|
},
|
@@ -852,34 +852,34 @@
|
|
852
852
|
"unitAlias": ""
|
853
853
|
},
|
854
854
|
{
|
855
|
-
"id":
|
855
|
+
"id": 63115,
|
856
856
|
"nodeType": "ContractDefinition",
|
857
857
|
"src": "287:984:129",
|
858
858
|
"nodes": [
|
859
859
|
{
|
860
|
-
"id":
|
860
|
+
"id": 63096,
|
861
861
|
"nodeType": "FunctionDefinition",
|
862
862
|
"src": "577:392:129",
|
863
863
|
"nodes": [],
|
864
864
|
"body": {
|
865
|
-
"id":
|
865
|
+
"id": 63095,
|
866
866
|
"nodeType": "Block",
|
867
867
|
"src": "665:304:129",
|
868
868
|
"nodes": [],
|
869
869
|
"statements": [
|
870
870
|
{
|
871
871
|
"assignments": [
|
872
|
-
|
872
|
+
63082
|
873
873
|
],
|
874
874
|
"declarations": [
|
875
875
|
{
|
876
876
|
"constant": false,
|
877
|
-
"id":
|
877
|
+
"id": 63082,
|
878
878
|
"mutability": "mutable",
|
879
879
|
"name": "maxTimestamp",
|
880
880
|
"nameLocation": "738:12:129",
|
881
881
|
"nodeType": "VariableDeclaration",
|
882
|
-
"scope":
|
882
|
+
"scope": 63095,
|
883
883
|
"src": "730:20:129",
|
884
884
|
"stateVariable": false,
|
885
885
|
"storageLocation": "default",
|
@@ -888,7 +888,7 @@
|
|
888
888
|
"typeString": "uint256"
|
889
889
|
},
|
890
890
|
"typeName": {
|
891
|
-
"id":
|
891
|
+
"id": 63081,
|
892
892
|
"name": "uint256",
|
893
893
|
"nodeType": "ElementaryTypeName",
|
894
894
|
"src": "730:7:129",
|
@@ -900,15 +900,15 @@
|
|
900
900
|
"visibility": "internal"
|
901
901
|
}
|
902
902
|
],
|
903
|
-
"id":
|
903
|
+
"id": 63089,
|
904
904
|
"initialValue": {
|
905
905
|
"arguments": [
|
906
906
|
{
|
907
|
-
"id":
|
907
|
+
"id": 63085,
|
908
908
|
"name": "delegator",
|
909
909
|
"nodeType": "Identifier",
|
910
910
|
"overloadedDeclarations": [],
|
911
|
-
"referencedDeclaration":
|
911
|
+
"referencedDeclaration": 63071,
|
912
912
|
"src": "791:9:129",
|
913
913
|
"typeDescriptions": {
|
914
914
|
"typeIdentifier": "t_address",
|
@@ -919,18 +919,18 @@
|
|
919
919
|
"arguments": [],
|
920
920
|
"expression": {
|
921
921
|
"argumentTypes": [],
|
922
|
-
"id":
|
922
|
+
"id": 63086,
|
923
923
|
"name": "_msgSender",
|
924
924
|
"nodeType": "Identifier",
|
925
925
|
"overloadedDeclarations": [],
|
926
|
-
"referencedDeclaration":
|
926
|
+
"referencedDeclaration": 48761,
|
927
927
|
"src": "813:10:129",
|
928
928
|
"typeDescriptions": {
|
929
929
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
930
930
|
"typeString": "function () view returns (address)"
|
931
931
|
}
|
932
932
|
},
|
933
|
-
"id":
|
933
|
+
"id": 63087,
|
934
934
|
"isConstant": false,
|
935
935
|
"isLValue": false,
|
936
936
|
"isPure": false,
|
@@ -959,18 +959,18 @@
|
|
959
959
|
}
|
960
960
|
],
|
961
961
|
"expression": {
|
962
|
-
"id":
|
962
|
+
"id": 63083,
|
963
963
|
"name": "TimeboundDelegations",
|
964
964
|
"nodeType": "Identifier",
|
965
965
|
"overloadedDeclarations": [],
|
966
|
-
"referencedDeclaration":
|
966
|
+
"referencedDeclaration": 66251,
|
967
967
|
"src": "753:20:129",
|
968
968
|
"typeDescriptions": {
|
969
|
-
"typeIdentifier": "t_type$_t_contract$_TimeboundDelegations_$
|
969
|
+
"typeIdentifier": "t_type$_t_contract$_TimeboundDelegations_$66251_$",
|
970
970
|
"typeString": "type(library TimeboundDelegations)"
|
971
971
|
}
|
972
972
|
},
|
973
|
-
"id":
|
973
|
+
"id": 63084,
|
974
974
|
"isConstant": false,
|
975
975
|
"isLValue": false,
|
976
976
|
"isPure": false,
|
@@ -978,14 +978,14 @@
|
|
978
978
|
"memberLocation": "774:3:129",
|
979
979
|
"memberName": "get",
|
980
980
|
"nodeType": "MemberAccess",
|
981
|
-
"referencedDeclaration":
|
981
|
+
"referencedDeclaration": 65427,
|
982
982
|
"src": "753:24:129",
|
983
983
|
"typeDescriptions": {
|
984
984
|
"typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_uint256_$",
|
985
985
|
"typeString": "function (address,address) view returns (uint256)"
|
986
986
|
}
|
987
987
|
},
|
988
|
-
"id":
|
988
|
+
"id": 63088,
|
989
989
|
"isConstant": false,
|
990
990
|
"isLValue": false,
|
991
991
|
"isPure": false,
|
@@ -1016,14 +1016,14 @@
|
|
1016
1016
|
"typeIdentifier": "t_uint256",
|
1017
1017
|
"typeString": "uint256"
|
1018
1018
|
},
|
1019
|
-
"id":
|
1019
|
+
"id": 63093,
|
1020
1020
|
"isConstant": false,
|
1021
1021
|
"isLValue": false,
|
1022
1022
|
"isPure": false,
|
1023
1023
|
"lValueRequested": false,
|
1024
1024
|
"leftExpression": {
|
1025
1025
|
"expression": {
|
1026
|
-
"id":
|
1026
|
+
"id": 63090,
|
1027
1027
|
"name": "block",
|
1028
1028
|
"nodeType": "Identifier",
|
1029
1029
|
"overloadedDeclarations": [],
|
@@ -1034,7 +1034,7 @@
|
|
1034
1034
|
"typeString": "block"
|
1035
1035
|
}
|
1036
1036
|
},
|
1037
|
-
"id":
|
1037
|
+
"id": 63091,
|
1038
1038
|
"isConstant": false,
|
1039
1039
|
"isLValue": false,
|
1040
1040
|
"isPure": false,
|
@@ -1051,11 +1051,11 @@
|
|
1051
1051
|
"nodeType": "BinaryOperation",
|
1052
1052
|
"operator": "<=",
|
1053
1053
|
"rightExpression": {
|
1054
|
-
"id":
|
1054
|
+
"id": 63092,
|
1055
1055
|
"name": "maxTimestamp",
|
1056
1056
|
"nodeType": "Identifier",
|
1057
1057
|
"overloadedDeclarations": [],
|
1058
|
-
"referencedDeclaration":
|
1058
|
+
"referencedDeclaration": 63082,
|
1059
1059
|
"src": "952:12:129",
|
1060
1060
|
"typeDescriptions": {
|
1061
1061
|
"typeIdentifier": "t_uint256",
|
@@ -1068,18 +1068,18 @@
|
|
1068
1068
|
"typeString": "bool"
|
1069
1069
|
}
|
1070
1070
|
},
|
1071
|
-
"functionReturnParameters":
|
1072
|
-
"id":
|
1071
|
+
"functionReturnParameters": 63080,
|
1072
|
+
"id": 63094,
|
1073
1073
|
"nodeType": "Return",
|
1074
1074
|
"src": "926:38:129"
|
1075
1075
|
}
|
1076
1076
|
]
|
1077
1077
|
},
|
1078
1078
|
"baseFunctions": [
|
1079
|
-
|
1079
|
+
70843
|
1080
1080
|
],
|
1081
1081
|
"documentation": {
|
1082
|
-
"id":
|
1082
|
+
"id": 63069,
|
1083
1083
|
"nodeType": "StructuredDocumentation",
|
1084
1084
|
"src": "348:226:129",
|
1085
1085
|
"text": " Verify a delegation by checking if the current block timestamp is not larger than the max valid timestamp for the delegation.\n Note: the delegation control check ignores the systemId and callData parameters."
|
@@ -1091,17 +1091,17 @@
|
|
1091
1091
|
"name": "verify",
|
1092
1092
|
"nameLocation": "586:6:129",
|
1093
1093
|
"parameters": {
|
1094
|
-
"id":
|
1094
|
+
"id": 63077,
|
1095
1095
|
"nodeType": "ParameterList",
|
1096
1096
|
"parameters": [
|
1097
1097
|
{
|
1098
1098
|
"constant": false,
|
1099
|
-
"id":
|
1099
|
+
"id": 63071,
|
1100
1100
|
"mutability": "mutable",
|
1101
1101
|
"name": "delegator",
|
1102
1102
|
"nameLocation": "601:9:129",
|
1103
1103
|
"nodeType": "VariableDeclaration",
|
1104
|
-
"scope":
|
1104
|
+
"scope": 63096,
|
1105
1105
|
"src": "593:17:129",
|
1106
1106
|
"stateVariable": false,
|
1107
1107
|
"storageLocation": "default",
|
@@ -1110,7 +1110,7 @@
|
|
1110
1110
|
"typeString": "address"
|
1111
1111
|
},
|
1112
1112
|
"typeName": {
|
1113
|
-
"id":
|
1113
|
+
"id": 63070,
|
1114
1114
|
"name": "address",
|
1115
1115
|
"nodeType": "ElementaryTypeName",
|
1116
1116
|
"src": "593:7:129",
|
@@ -1124,36 +1124,36 @@
|
|
1124
1124
|
},
|
1125
1125
|
{
|
1126
1126
|
"constant": false,
|
1127
|
-
"id":
|
1127
|
+
"id": 63074,
|
1128
1128
|
"mutability": "mutable",
|
1129
1129
|
"name": "",
|
1130
1130
|
"nameLocation": "-1:-1:-1",
|
1131
1131
|
"nodeType": "VariableDeclaration",
|
1132
|
-
"scope":
|
1132
|
+
"scope": 63096,
|
1133
1133
|
"src": "612:10:129",
|
1134
1134
|
"stateVariable": false,
|
1135
1135
|
"storageLocation": "default",
|
1136
1136
|
"typeDescriptions": {
|
1137
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1137
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
1138
1138
|
"typeString": "ResourceId"
|
1139
1139
|
},
|
1140
1140
|
"typeName": {
|
1141
|
-
"id":
|
1141
|
+
"id": 63073,
|
1142
1142
|
"nodeType": "UserDefinedTypeName",
|
1143
1143
|
"pathNode": {
|
1144
|
-
"id":
|
1144
|
+
"id": 63072,
|
1145
1145
|
"name": "ResourceId",
|
1146
1146
|
"nameLocations": [
|
1147
1147
|
"612:10:129"
|
1148
1148
|
],
|
1149
1149
|
"nodeType": "IdentifierPath",
|
1150
|
-
"referencedDeclaration":
|
1150
|
+
"referencedDeclaration": 36384,
|
1151
1151
|
"src": "612:10:129"
|
1152
1152
|
},
|
1153
|
-
"referencedDeclaration":
|
1153
|
+
"referencedDeclaration": 36384,
|
1154
1154
|
"src": "612:10:129",
|
1155
1155
|
"typeDescriptions": {
|
1156
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
1156
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
|
1157
1157
|
"typeString": "ResourceId"
|
1158
1158
|
}
|
1159
1159
|
},
|
@@ -1161,12 +1161,12 @@
|
|
1161
1161
|
},
|
1162
1162
|
{
|
1163
1163
|
"constant": false,
|
1164
|
-
"id":
|
1164
|
+
"id": 63076,
|
1165
1165
|
"mutability": "mutable",
|
1166
1166
|
"name": "",
|
1167
1167
|
"nameLocation": "-1:-1:-1",
|
1168
1168
|
"nodeType": "VariableDeclaration",
|
1169
|
-
"scope":
|
1169
|
+
"scope": 63096,
|
1170
1170
|
"src": "624:12:129",
|
1171
1171
|
"stateVariable": false,
|
1172
1172
|
"storageLocation": "memory",
|
@@ -1175,7 +1175,7 @@
|
|
1175
1175
|
"typeString": "bytes"
|
1176
1176
|
},
|
1177
1177
|
"typeName": {
|
1178
|
-
"id":
|
1178
|
+
"id": 63075,
|
1179
1179
|
"name": "bytes",
|
1180
1180
|
"nodeType": "ElementaryTypeName",
|
1181
1181
|
"src": "624:5:129",
|
@@ -1190,17 +1190,17 @@
|
|
1190
1190
|
"src": "592:45:129"
|
1191
1191
|
},
|
1192
1192
|
"returnParameters": {
|
1193
|
-
"id":
|
1193
|
+
"id": 63080,
|
1194
1194
|
"nodeType": "ParameterList",
|
1195
1195
|
"parameters": [
|
1196
1196
|
{
|
1197
1197
|
"constant": false,
|
1198
|
-
"id":
|
1198
|
+
"id": 63079,
|
1199
1199
|
"mutability": "mutable",
|
1200
1200
|
"name": "",
|
1201
1201
|
"nameLocation": "-1:-1:-1",
|
1202
1202
|
"nodeType": "VariableDeclaration",
|
1203
|
-
"scope":
|
1203
|
+
"scope": 63096,
|
1204
1204
|
"src": "659:4:129",
|
1205
1205
|
"stateVariable": false,
|
1206
1206
|
"storageLocation": "default",
|
@@ -1209,7 +1209,7 @@
|
|
1209
1209
|
"typeString": "bool"
|
1210
1210
|
},
|
1211
1211
|
"typeName": {
|
1212
|
-
"id":
|
1212
|
+
"id": 63078,
|
1213
1213
|
"name": "bool",
|
1214
1214
|
"nodeType": "ElementaryTypeName",
|
1215
1215
|
"src": "659:4:129",
|
@@ -1223,18 +1223,18 @@
|
|
1223
1223
|
],
|
1224
1224
|
"src": "658:6:129"
|
1225
1225
|
},
|
1226
|
-
"scope":
|
1226
|
+
"scope": 63115,
|
1227
1227
|
"stateMutability": "view",
|
1228
1228
|
"virtual": false,
|
1229
1229
|
"visibility": "public"
|
1230
1230
|
},
|
1231
1231
|
{
|
1232
|
-
"id":
|
1232
|
+
"id": 63114,
|
1233
1233
|
"nodeType": "FunctionDefinition",
|
1234
1234
|
"src": "1083:186:129",
|
1235
1235
|
"nodes": [],
|
1236
1236
|
"body": {
|
1237
|
-
"id":
|
1237
|
+
"id": 63113,
|
1238
1238
|
"nodeType": "Block",
|
1239
1239
|
"src": "1155:114:129",
|
1240
1240
|
"nodes": [],
|
@@ -1246,18 +1246,18 @@
|
|
1246
1246
|
"arguments": [],
|
1247
1247
|
"expression": {
|
1248
1248
|
"argumentTypes": [],
|
1249
|
-
"id":
|
1249
|
+
"id": 63107,
|
1250
1250
|
"name": "_msgSender",
|
1251
1251
|
"nodeType": "Identifier",
|
1252
1252
|
"overloadedDeclarations": [],
|
1253
|
-
"referencedDeclaration":
|
1253
|
+
"referencedDeclaration": 48761,
|
1254
1254
|
"src": "1199:10:129",
|
1255
1255
|
"typeDescriptions": {
|
1256
1256
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
1257
1257
|
"typeString": "function () view returns (address)"
|
1258
1258
|
}
|
1259
1259
|
},
|
1260
|
-
"id":
|
1260
|
+
"id": 63108,
|
1261
1261
|
"isConstant": false,
|
1262
1262
|
"isLValue": false,
|
1263
1263
|
"isPure": false,
|
@@ -1274,11 +1274,11 @@
|
|
1274
1274
|
}
|
1275
1275
|
},
|
1276
1276
|
{
|
1277
|
-
"id":
|
1277
|
+
"id": 63109,
|
1278
1278
|
"name": "delegatee",
|
1279
1279
|
"nodeType": "Identifier",
|
1280
1280
|
"overloadedDeclarations": [],
|
1281
|
-
"referencedDeclaration":
|
1281
|
+
"referencedDeclaration": 63099,
|
1282
1282
|
"src": "1224:9:129",
|
1283
1283
|
"typeDescriptions": {
|
1284
1284
|
"typeIdentifier": "t_address",
|
@@ -1286,11 +1286,11 @@
|
|
1286
1286
|
}
|
1287
1287
|
},
|
1288
1288
|
{
|
1289
|
-
"id":
|
1289
|
+
"id": 63110,
|
1290
1290
|
"name": "maxTimestamp",
|
1291
1291
|
"nodeType": "Identifier",
|
1292
1292
|
"overloadedDeclarations": [],
|
1293
|
-
"referencedDeclaration":
|
1293
|
+
"referencedDeclaration": 63101,
|
1294
1294
|
"src": "1249:12:129",
|
1295
1295
|
"typeDescriptions": {
|
1296
1296
|
"typeIdentifier": "t_uint256",
|
@@ -1314,18 +1314,18 @@
|
|
1314
1314
|
}
|
1315
1315
|
],
|
1316
1316
|
"expression": {
|
1317
|
-
"id":
|
1317
|
+
"id": 63104,
|
1318
1318
|
"name": "TimeboundDelegations",
|
1319
1319
|
"nodeType": "Identifier",
|
1320
1320
|
"overloadedDeclarations": [],
|
1321
|
-
"referencedDeclaration":
|
1321
|
+
"referencedDeclaration": 66251,
|
1322
1322
|
"src": "1161:20:129",
|
1323
1323
|
"typeDescriptions": {
|
1324
|
-
"typeIdentifier": "t_type$_t_contract$_TimeboundDelegations_$
|
1324
|
+
"typeIdentifier": "t_type$_t_contract$_TimeboundDelegations_$66251_$",
|
1325
1325
|
"typeString": "type(library TimeboundDelegations)"
|
1326
1326
|
}
|
1327
1327
|
},
|
1328
|
-
"id":
|
1328
|
+
"id": 63106,
|
1329
1329
|
"isConstant": false,
|
1330
1330
|
"isLValue": false,
|
1331
1331
|
"isPure": false,
|
@@ -1333,14 +1333,14 @@
|
|
1333
1333
|
"memberLocation": "1182:3:129",
|
1334
1334
|
"memberName": "set",
|
1335
1335
|
"nodeType": "MemberAccess",
|
1336
|
-
"referencedDeclaration":
|
1336
|
+
"referencedDeclaration": 65839,
|
1337
1337
|
"src": "1161:24:129",
|
1338
1338
|
"typeDescriptions": {
|
1339
1339
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$",
|
1340
1340
|
"typeString": "function (address,address,uint256)"
|
1341
1341
|
}
|
1342
1342
|
},
|
1343
|
-
"id":
|
1343
|
+
"id": 63111,
|
1344
1344
|
"isConstant": false,
|
1345
1345
|
"isLValue": false,
|
1346
1346
|
"isPure": false,
|
@@ -1364,14 +1364,14 @@
|
|
1364
1364
|
"typeString": "tuple()"
|
1365
1365
|
}
|
1366
1366
|
},
|
1367
|
-
"id":
|
1367
|
+
"id": 63112,
|
1368
1368
|
"nodeType": "ExpressionStatement",
|
1369
1369
|
"src": "1161:103:129"
|
1370
1370
|
}
|
1371
1371
|
]
|
1372
1372
|
},
|
1373
1373
|
"documentation": {
|
1374
|
-
"id":
|
1374
|
+
"id": 63097,
|
1375
1375
|
"nodeType": "StructuredDocumentation",
|
1376
1376
|
"src": "973:107:129",
|
1377
1377
|
"text": " Initialize a delegation by setting the max valid timestamp in the TimeboundDelegations table"
|
@@ -1383,17 +1383,17 @@
|
|
1383
1383
|
"name": "initDelegation",
|
1384
1384
|
"nameLocation": "1092:14:129",
|
1385
1385
|
"parameters": {
|
1386
|
-
"id":
|
1386
|
+
"id": 63102,
|
1387
1387
|
"nodeType": "ParameterList",
|
1388
1388
|
"parameters": [
|
1389
1389
|
{
|
1390
1390
|
"constant": false,
|
1391
|
-
"id":
|
1391
|
+
"id": 63099,
|
1392
1392
|
"mutability": "mutable",
|
1393
1393
|
"name": "delegatee",
|
1394
1394
|
"nameLocation": "1115:9:129",
|
1395
1395
|
"nodeType": "VariableDeclaration",
|
1396
|
-
"scope":
|
1396
|
+
"scope": 63114,
|
1397
1397
|
"src": "1107:17:129",
|
1398
1398
|
"stateVariable": false,
|
1399
1399
|
"storageLocation": "default",
|
@@ -1402,7 +1402,7 @@
|
|
1402
1402
|
"typeString": "address"
|
1403
1403
|
},
|
1404
1404
|
"typeName": {
|
1405
|
-
"id":
|
1405
|
+
"id": 63098,
|
1406
1406
|
"name": "address",
|
1407
1407
|
"nodeType": "ElementaryTypeName",
|
1408
1408
|
"src": "1107:7:129",
|
@@ -1416,12 +1416,12 @@
|
|
1416
1416
|
},
|
1417
1417
|
{
|
1418
1418
|
"constant": false,
|
1419
|
-
"id":
|
1419
|
+
"id": 63101,
|
1420
1420
|
"mutability": "mutable",
|
1421
1421
|
"name": "maxTimestamp",
|
1422
1422
|
"nameLocation": "1134:12:129",
|
1423
1423
|
"nodeType": "VariableDeclaration",
|
1424
|
-
"scope":
|
1424
|
+
"scope": 63114,
|
1425
1425
|
"src": "1126:20:129",
|
1426
1426
|
"stateVariable": false,
|
1427
1427
|
"storageLocation": "default",
|
@@ -1430,7 +1430,7 @@
|
|
1430
1430
|
"typeString": "uint256"
|
1431
1431
|
},
|
1432
1432
|
"typeName": {
|
1433
|
-
"id":
|
1433
|
+
"id": 63100,
|
1434
1434
|
"name": "uint256",
|
1435
1435
|
"nodeType": "ElementaryTypeName",
|
1436
1436
|
"src": "1126:7:129",
|
@@ -1445,12 +1445,12 @@
|
|
1445
1445
|
"src": "1106:41:129"
|
1446
1446
|
},
|
1447
1447
|
"returnParameters": {
|
1448
|
-
"id":
|
1448
|
+
"id": 63103,
|
1449
1449
|
"nodeType": "ParameterList",
|
1450
1450
|
"parameters": [],
|
1451
1451
|
"src": "1155:0:129"
|
1452
1452
|
},
|
1453
|
-
"scope":
|
1453
|
+
"scope": 63115,
|
1454
1454
|
"stateMutability": "nonpayable",
|
1455
1455
|
"virtual": false,
|
1456
1456
|
"visibility": "public"
|
@@ -1460,16 +1460,16 @@
|
|
1460
1460
|
"baseContracts": [
|
1461
1461
|
{
|
1462
1462
|
"baseName": {
|
1463
|
-
"id":
|
1463
|
+
"id": 63067,
|
1464
1464
|
"name": "DelegationControl",
|
1465
1465
|
"nameLocations": [
|
1466
1466
|
"326:17:129"
|
1467
1467
|
],
|
1468
1468
|
"nodeType": "IdentifierPath",
|
1469
|
-
"referencedDeclaration":
|
1469
|
+
"referencedDeclaration": 48683,
|
1470
1470
|
"src": "326:17:129"
|
1471
1471
|
},
|
1472
|
-
"id":
|
1472
|
+
"id": 63068,
|
1473
1473
|
"nodeType": "InheritanceSpecifier",
|
1474
1474
|
"src": "326:17:129"
|
1475
1475
|
}
|
@@ -1479,21 +1479,21 @@
|
|
1479
1479
|
"contractKind": "contract",
|
1480
1480
|
"fullyImplemented": true,
|
1481
1481
|
"linearizedBaseContracts": [
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1482
|
+
63115,
|
1483
|
+
48683,
|
1484
|
+
70844,
|
1485
|
+
48795,
|
1486
|
+
70898,
|
1487
|
+
70860
|
1488
1488
|
],
|
1489
1489
|
"name": "TimeboundDelegationControl",
|
1490
1490
|
"nameLocation": "296:26:129",
|
1491
|
-
"scope":
|
1491
|
+
"scope": 63116,
|
1492
1492
|
"usedErrors": [
|
1493
|
-
|
1493
|
+
36950
|
1494
1494
|
],
|
1495
1495
|
"usedEvents": [
|
1496
|
-
|
1496
|
+
37263
|
1497
1497
|
]
|
1498
1498
|
}
|
1499
1499
|
],
|