@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-5741d53d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/Callbacks.sol/Callbacks.json +45 -45
  3. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  4. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  5. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  6. package/out/Hooks.sol/Hooks.json +45 -45
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  9. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  10. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  13. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  14. package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
  15. package/out/IModule.sol/IModule.json +76 -76
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  17. package/out/ISystemHook.sol/ISystemHook.json +82 -82
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  19. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
  20. package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
  21. package/out/IWorldKernel.sol/IWorldCall.json +149 -149
  22. package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
  23. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  24. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
  25. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  26. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  27. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  28. package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
  29. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  30. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
  31. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
  32. package/out/Mixed.sol/Mixed.json +66 -66
  33. package/out/Module.sol/Module.json +73 -73
  34. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  35. package/out/Schema.sol/SchemaInstance.json +30 -30
  36. package/out/Schema.sol/SchemaLib.json +30 -30
  37. package/out/SchemaType.sol/SchemaType.json +276 -276
  38. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
  39. package/out/StoreHook.sol/StoreHook.json +358 -358
  40. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  41. package/out/System.sol/System.json +18 -18
  42. package/out/Tables.sol/Tables.json +73 -73
  43. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  44. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  45. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  46. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
  47. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  48. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  49. package/out/Vector2.sol/Vector2.json +52 -52
  50. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  51. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  52. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  53. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  54. package/out/constants.sol/constants.json +85 -85
  55. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  56. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  57. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  58. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  59. package/out/hasKey.sol/hasKey.json +130 -130
  60. package/out/index.sol/index.json +53 -53
  61. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  62. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  63. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
  64. package/out/interfaces/IERC165.sol/IERC165.json +27 -27
  65. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
  66. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
  67. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
  68. package/out/query.sol/query.json +1154 -1154
  69. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  70. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  71. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  72. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  73. package/out/src/IStore.sol/IStore.json +886 -886
  74. package/out/src/IStore.sol/IStoreData.json +886 -886
  75. package/out/src/IStore.sol/IStoreRead.json +886 -886
  76. package/out/src/IStore.sol/IStoreRegistration.json +886 -886
  77. package/out/src/IStore.sol/IStoreWrite.json +886 -886
  78. package/out/src/Memory.sol/Memory.json +89 -89
  79. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  80. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  81. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  82. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  83. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  84. package/out/src/Schema.sol/SchemaLib.json +787 -787
  85. package/out/src/Slice.sol/SliceInstance.json +429 -429
  86. package/out/src/Slice.sol/SliceLib.json +429 -429
  87. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  88. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  89. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  90. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  91. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  92. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  93. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  94. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  95. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  96. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  97. package/out/tables/Tables.sol/Tables.json +7288 -7288
  98. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  99. package/out/types.sol/types.json +131 -23
  100. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  101. package/package.json +8 -8
  102. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  103. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  104. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -801,26 +801,26 @@
801
801
  },
802
802
  "ast": {
803
803
  "absolutePath": "src/modules/std-delegations/CallboundDelegationControl.sol",
804
- "id": 62905,
804
+ "id": 62924,
805
805
  "exportedSymbols": {
806
806
  "CallboundDelegationControl": [
807
- 62904
807
+ 62923
808
808
  ],
809
809
  "CallboundDelegations": [
810
- 64863
810
+ 64882
811
811
  ],
812
812
  "DelegationControl": [
813
- 48664
813
+ 48683
814
814
  ],
815
815
  "ResourceId": [
816
- 36365
816
+ 36384
817
817
  ]
818
818
  },
819
819
  "nodeType": "SourceUnit",
820
820
  "src": "32:2037:127",
821
821
  "nodes": [
822
822
  {
823
- "id": 62796,
823
+ "id": 62815,
824
824
  "nodeType": "PragmaDirective",
825
825
  "src": "32:25:127",
826
826
  "nodes": [],
@@ -832,23 +832,23 @@
832
832
  ]
833
833
  },
834
834
  {
835
- "id": 62798,
835
+ "id": 62817,
836
836
  "nodeType": "ImportDirective",
837
837
  "src": "59:80:127",
838
838
  "nodes": [],
839
839
  "absolutePath": "node_modules/@latticexyz/world/src/DelegationControl.sol",
840
840
  "file": "@latticexyz/world/src/DelegationControl.sol",
841
841
  "nameLocation": "-1:-1:-1",
842
- "scope": 62905,
843
- "sourceUnit": 48665,
842
+ "scope": 62924,
843
+ "sourceUnit": 48684,
844
844
  "symbolAliases": [
845
845
  {
846
846
  "foreign": {
847
- "id": 62797,
847
+ "id": 62816,
848
848
  "name": "DelegationControl",
849
849
  "nodeType": "Identifier",
850
850
  "overloadedDeclarations": [],
851
- "referencedDeclaration": 48664,
851
+ "referencedDeclaration": 48683,
852
852
  "src": "68:17:127",
853
853
  "typeDescriptions": {}
854
854
  },
@@ -858,23 +858,23 @@
858
858
  "unitAlias": ""
859
859
  },
860
860
  {
861
- "id": 62800,
861
+ "id": 62819,
862
862
  "nodeType": "ImportDirective",
863
863
  "src": "140:71:127",
864
864
  "nodes": [],
865
865
  "absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
866
866
  "file": "@latticexyz/world/src/WorldResourceId.sol",
867
867
  "nameLocation": "-1:-1:-1",
868
- "scope": 62905,
869
- "sourceUnit": 49208,
868
+ "scope": 62924,
869
+ "sourceUnit": 49227,
870
870
  "symbolAliases": [
871
871
  {
872
872
  "foreign": {
873
- "id": 62799,
873
+ "id": 62818,
874
874
  "name": "ResourceId",
875
875
  "nodeType": "Identifier",
876
876
  "overloadedDeclarations": [],
877
- "referencedDeclaration": 36365,
877
+ "referencedDeclaration": 36384,
878
878
  "src": "149:10:127",
879
879
  "typeDescriptions": {}
880
880
  },
@@ -884,23 +884,23 @@
884
884
  "unitAlias": ""
885
885
  },
886
886
  {
887
- "id": 62802,
887
+ "id": 62821,
888
888
  "nodeType": "ImportDirective",
889
889
  "src": "212:73:127",
890
890
  "nodes": [],
891
891
  "absolutePath": "src/modules/std-delegations/tables/CallboundDelegations.sol",
892
892
  "file": "./tables/CallboundDelegations.sol",
893
893
  "nameLocation": "-1:-1:-1",
894
- "scope": 62905,
895
- "sourceUnit": 64864,
894
+ "scope": 62924,
895
+ "sourceUnit": 64883,
896
896
  "symbolAliases": [
897
897
  {
898
898
  "foreign": {
899
- "id": 62801,
899
+ "id": 62820,
900
900
  "name": "CallboundDelegations",
901
901
  "nodeType": "Identifier",
902
902
  "overloadedDeclarations": [],
903
- "referencedDeclaration": 64863,
903
+ "referencedDeclaration": 64882,
904
904
  "src": "221:20:127",
905
905
  "typeDescriptions": {}
906
906
  },
@@ -910,34 +910,34 @@
910
910
  "unitAlias": ""
911
911
  },
912
912
  {
913
- "id": 62904,
913
+ "id": 62923,
914
914
  "nodeType": "ContractDefinition",
915
915
  "src": "287:1781:127",
916
916
  "nodes": [
917
917
  {
918
- "id": 62876,
918
+ "id": 62895,
919
919
  "nodeType": "FunctionDefinition",
920
920
  "src": "521:1112:127",
921
921
  "nodes": [],
922
922
  "body": {
923
- "id": 62875,
923
+ "id": 62894,
924
924
  "nodeType": "Block",
925
925
  "src": "622:1011:127",
926
926
  "nodes": [],
927
927
  "statements": [
928
928
  {
929
929
  "assignments": [
930
- 62818
930
+ 62837
931
931
  ],
932
932
  "declarations": [
933
933
  {
934
934
  "constant": false,
935
- "id": 62818,
935
+ "id": 62837,
936
936
  "mutability": "mutable",
937
937
  "name": "callDataHash",
938
938
  "nameLocation": "636:12:127",
939
939
  "nodeType": "VariableDeclaration",
940
- "scope": 62875,
940
+ "scope": 62894,
941
941
  "src": "628:20:127",
942
942
  "stateVariable": false,
943
943
  "storageLocation": "default",
@@ -946,7 +946,7 @@
946
946
  "typeString": "bytes32"
947
947
  },
948
948
  "typeName": {
949
- "id": 62817,
949
+ "id": 62836,
950
950
  "name": "bytes32",
951
951
  "nodeType": "ElementaryTypeName",
952
952
  "src": "628:7:127",
@@ -958,15 +958,15 @@
958
958
  "visibility": "internal"
959
959
  }
960
960
  ],
961
- "id": 62822,
961
+ "id": 62841,
962
962
  "initialValue": {
963
963
  "arguments": [
964
964
  {
965
- "id": 62820,
965
+ "id": 62839,
966
966
  "name": "callData",
967
967
  "nodeType": "Identifier",
968
968
  "overloadedDeclarations": [],
969
- "referencedDeclaration": 62812,
969
+ "referencedDeclaration": 62831,
970
970
  "src": "661:8:127",
971
971
  "typeDescriptions": {
972
972
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -981,7 +981,7 @@
981
981
  "typeString": "bytes memory"
982
982
  }
983
983
  ],
984
- "id": 62819,
984
+ "id": 62838,
985
985
  "name": "keccak256",
986
986
  "nodeType": "Identifier",
987
987
  "overloadedDeclarations": [],
@@ -992,7 +992,7 @@
992
992
  "typeString": "function (bytes memory) pure returns (bytes32)"
993
993
  }
994
994
  },
995
- "id": 62821,
995
+ "id": 62840,
996
996
  "isConstant": false,
997
997
  "isLValue": false,
998
998
  "isPure": false,
@@ -1013,17 +1013,17 @@
1013
1013
  },
1014
1014
  {
1015
1015
  "assignments": [
1016
- 62824
1016
+ 62843
1017
1017
  ],
1018
1018
  "declarations": [
1019
1019
  {
1020
1020
  "constant": false,
1021
- "id": 62824,
1021
+ "id": 62843,
1022
1022
  "mutability": "mutable",
1023
1023
  "name": "availableCalls",
1024
1024
  "nameLocation": "773:14:127",
1025
1025
  "nodeType": "VariableDeclaration",
1026
- "scope": 62875,
1026
+ "scope": 62894,
1027
1027
  "src": "765:22:127",
1028
1028
  "stateVariable": false,
1029
1029
  "storageLocation": "default",
@@ -1032,7 +1032,7 @@
1032
1032
  "typeString": "uint256"
1033
1033
  },
1034
1034
  "typeName": {
1035
- "id": 62823,
1035
+ "id": 62842,
1036
1036
  "name": "uint256",
1037
1037
  "nodeType": "ElementaryTypeName",
1038
1038
  "src": "765:7:127",
@@ -1044,15 +1044,15 @@
1044
1044
  "visibility": "internal"
1045
1045
  }
1046
1046
  ],
1047
- "id": 62833,
1047
+ "id": 62852,
1048
1048
  "initialValue": {
1049
1049
  "arguments": [
1050
1050
  {
1051
- "id": 62827,
1051
+ "id": 62846,
1052
1052
  "name": "delegator",
1053
1053
  "nodeType": "Identifier",
1054
1054
  "overloadedDeclarations": [],
1055
- "referencedDeclaration": 62807,
1055
+ "referencedDeclaration": 62826,
1056
1056
  "src": "834:9:127",
1057
1057
  "typeDescriptions": {
1058
1058
  "typeIdentifier": "t_address",
@@ -1063,18 +1063,18 @@
1063
1063
  "arguments": [],
1064
1064
  "expression": {
1065
1065
  "argumentTypes": [],
1066
- "id": 62828,
1066
+ "id": 62847,
1067
1067
  "name": "_msgSender",
1068
1068
  "nodeType": "Identifier",
1069
1069
  "overloadedDeclarations": [],
1070
- "referencedDeclaration": 48742,
1070
+ "referencedDeclaration": 48761,
1071
1071
  "src": "862:10:127",
1072
1072
  "typeDescriptions": {
1073
1073
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1074
1074
  "typeString": "function () view returns (address)"
1075
1075
  }
1076
1076
  },
1077
- "id": 62829,
1077
+ "id": 62848,
1078
1078
  "isConstant": false,
1079
1079
  "isLValue": false,
1080
1080
  "isPure": false,
@@ -1091,23 +1091,23 @@
1091
1091
  }
1092
1092
  },
1093
1093
  {
1094
- "id": 62830,
1094
+ "id": 62849,
1095
1095
  "name": "systemId",
1096
1096
  "nodeType": "Identifier",
1097
1097
  "overloadedDeclarations": [],
1098
- "referencedDeclaration": 62810,
1098
+ "referencedDeclaration": 62829,
1099
1099
  "src": "892:8:127",
1100
1100
  "typeDescriptions": {
1101
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1101
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1102
1102
  "typeString": "ResourceId"
1103
1103
  }
1104
1104
  },
1105
1105
  {
1106
- "id": 62831,
1106
+ "id": 62850,
1107
1107
  "name": "callDataHash",
1108
1108
  "nodeType": "Identifier",
1109
1109
  "overloadedDeclarations": [],
1110
- "referencedDeclaration": 62818,
1110
+ "referencedDeclaration": 62837,
1111
1111
  "src": "922:12:127",
1112
1112
  "typeDescriptions": {
1113
1113
  "typeIdentifier": "t_bytes32",
@@ -1126,7 +1126,7 @@
1126
1126
  "typeString": "address"
1127
1127
  },
1128
1128
  {
1129
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1129
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1130
1130
  "typeString": "ResourceId"
1131
1131
  },
1132
1132
  {
@@ -1135,18 +1135,18 @@
1135
1135
  }
1136
1136
  ],
1137
1137
  "expression": {
1138
- "id": 62825,
1138
+ "id": 62844,
1139
1139
  "name": "CallboundDelegations",
1140
1140
  "nodeType": "Identifier",
1141
1141
  "overloadedDeclarations": [],
1142
- "referencedDeclaration": 64863,
1142
+ "referencedDeclaration": 64882,
1143
1143
  "src": "790:20:127",
1144
1144
  "typeDescriptions": {
1145
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64863_$",
1145
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64882_$",
1146
1146
  "typeString": "type(library CallboundDelegations)"
1147
1147
  }
1148
1148
  },
1149
- "id": 62826,
1149
+ "id": 62845,
1150
1150
  "isConstant": false,
1151
1151
  "isLValue": false,
1152
1152
  "isPure": false,
@@ -1154,14 +1154,14 @@
1154
1154
  "memberLocation": "811:3:127",
1155
1155
  "memberName": "get",
1156
1156
  "nodeType": "MemberAccess",
1157
- "referencedDeclaration": 63799,
1157
+ "referencedDeclaration": 63818,
1158
1158
  "src": "790:24:127",
1159
1159
  "typeDescriptions": {
1160
- "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36365_$_t_bytes32_$returns$_t_uint256_$",
1160
+ "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36384_$_t_bytes32_$returns$_t_uint256_$",
1161
1161
  "typeString": "function (address,address,ResourceId,bytes32) view returns (uint256)"
1162
1162
  }
1163
1163
  },
1164
- "id": 62832,
1164
+ "id": 62851,
1165
1165
  "isConstant": false,
1166
1166
  "isLValue": false,
1167
1167
  "isPure": false,
@@ -1196,17 +1196,17 @@
1196
1196
  "typeIdentifier": "t_uint256",
1197
1197
  "typeString": "uint256"
1198
1198
  },
1199
- "id": 62836,
1199
+ "id": 62855,
1200
1200
  "isConstant": false,
1201
1201
  "isLValue": false,
1202
1202
  "isPure": false,
1203
1203
  "lValueRequested": false,
1204
1204
  "leftExpression": {
1205
- "id": 62834,
1205
+ "id": 62853,
1206
1206
  "name": "availableCalls",
1207
1207
  "nodeType": "Identifier",
1208
1208
  "overloadedDeclarations": [],
1209
- "referencedDeclaration": 62824,
1209
+ "referencedDeclaration": 62843,
1210
1210
  "src": "952:14:127",
1211
1211
  "typeDescriptions": {
1212
1212
  "typeIdentifier": "t_uint256",
@@ -1217,7 +1217,7 @@
1217
1217
  "operator": "==",
1218
1218
  "rightExpression": {
1219
1219
  "hexValue": "31",
1220
- "id": 62835,
1220
+ "id": 62854,
1221
1221
  "isConstant": false,
1222
1222
  "isLValue": false,
1223
1223
  "isPure": true,
@@ -1237,11 +1237,11 @@
1237
1237
  "typeString": "bool"
1238
1238
  }
1239
1239
  },
1240
- "id": 62850,
1240
+ "id": 62869,
1241
1241
  "nodeType": "IfStatement",
1242
1242
  "src": "948:296:127",
1243
1243
  "trueBody": {
1244
- "id": 62849,
1244
+ "id": 62868,
1245
1245
  "nodeType": "Block",
1246
1246
  "src": "973:271:127",
1247
1247
  "statements": [
@@ -1249,11 +1249,11 @@
1249
1249
  "expression": {
1250
1250
  "arguments": [
1251
1251
  {
1252
- "id": 62840,
1252
+ "id": 62859,
1253
1253
  "name": "delegator",
1254
1254
  "nodeType": "Identifier",
1255
1255
  "overloadedDeclarations": [],
1256
- "referencedDeclaration": 62807,
1256
+ "referencedDeclaration": 62826,
1257
1257
  "src": "1103:9:127",
1258
1258
  "typeDescriptions": {
1259
1259
  "typeIdentifier": "t_address",
@@ -1264,18 +1264,18 @@
1264
1264
  "arguments": [],
1265
1265
  "expression": {
1266
1266
  "argumentTypes": [],
1267
- "id": 62841,
1267
+ "id": 62860,
1268
1268
  "name": "_msgSender",
1269
1269
  "nodeType": "Identifier",
1270
1270
  "overloadedDeclarations": [],
1271
- "referencedDeclaration": 48742,
1271
+ "referencedDeclaration": 48761,
1272
1272
  "src": "1133:10:127",
1273
1273
  "typeDescriptions": {
1274
1274
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1275
1275
  "typeString": "function () view returns (address)"
1276
1276
  }
1277
1277
  },
1278
- "id": 62842,
1278
+ "id": 62861,
1279
1279
  "isConstant": false,
1280
1280
  "isLValue": false,
1281
1281
  "isPure": false,
@@ -1292,23 +1292,23 @@
1292
1292
  }
1293
1293
  },
1294
1294
  {
1295
- "id": 62843,
1295
+ "id": 62862,
1296
1296
  "name": "systemId",
1297
1297
  "nodeType": "Identifier",
1298
1298
  "overloadedDeclarations": [],
1299
- "referencedDeclaration": 62810,
1299
+ "referencedDeclaration": 62829,
1300
1300
  "src": "1165:8:127",
1301
1301
  "typeDescriptions": {
1302
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1302
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1303
1303
  "typeString": "ResourceId"
1304
1304
  }
1305
1305
  },
1306
1306
  {
1307
- "id": 62844,
1307
+ "id": 62863,
1308
1308
  "name": "callDataHash",
1309
1309
  "nodeType": "Identifier",
1310
1310
  "overloadedDeclarations": [],
1311
- "referencedDeclaration": 62818,
1311
+ "referencedDeclaration": 62837,
1312
1312
  "src": "1197:12:127",
1313
1313
  "typeDescriptions": {
1314
1314
  "typeIdentifier": "t_bytes32",
@@ -1327,7 +1327,7 @@
1327
1327
  "typeString": "address"
1328
1328
  },
1329
1329
  {
1330
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1330
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1331
1331
  "typeString": "ResourceId"
1332
1332
  },
1333
1333
  {
@@ -1336,18 +1336,18 @@
1336
1336
  }
1337
1337
  ],
1338
1338
  "expression": {
1339
- "id": 62837,
1339
+ "id": 62856,
1340
1340
  "name": "CallboundDelegations",
1341
1341
  "nodeType": "Identifier",
1342
1342
  "overloadedDeclarations": [],
1343
- "referencedDeclaration": 64863,
1343
+ "referencedDeclaration": 64882,
1344
1344
  "src": "1048:20:127",
1345
1345
  "typeDescriptions": {
1346
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64863_$",
1346
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64882_$",
1347
1347
  "typeString": "type(library CallboundDelegations)"
1348
1348
  }
1349
1349
  },
1350
- "id": 62839,
1350
+ "id": 62858,
1351
1351
  "isConstant": false,
1352
1352
  "isLValue": false,
1353
1353
  "isPure": false,
@@ -1355,14 +1355,14 @@
1355
1355
  "memberLocation": "1069:12:127",
1356
1356
  "memberName": "deleteRecord",
1357
1357
  "nodeType": "MemberAccess",
1358
- "referencedDeclaration": 64583,
1358
+ "referencedDeclaration": 64602,
1359
1359
  "src": "1048:33:127",
1360
1360
  "typeDescriptions": {
1361
- "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36365_$_t_bytes32_$returns$__$",
1361
+ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36384_$_t_bytes32_$returns$__$",
1362
1362
  "typeString": "function (address,address,ResourceId,bytes32)"
1363
1363
  }
1364
1364
  },
1365
- "id": 62845,
1365
+ "id": 62864,
1366
1366
  "isConstant": false,
1367
1367
  "isLValue": false,
1368
1368
  "isPure": false,
@@ -1388,14 +1388,14 @@
1388
1388
  "typeString": "tuple()"
1389
1389
  }
1390
1390
  },
1391
- "id": 62846,
1391
+ "id": 62865,
1392
1392
  "nodeType": "ExpressionStatement",
1393
1393
  "src": "1048:170:127"
1394
1394
  },
1395
1395
  {
1396
1396
  "expression": {
1397
1397
  "hexValue": "74727565",
1398
- "id": 62847,
1398
+ "id": 62866,
1399
1399
  "isConstant": false,
1400
1400
  "isLValue": false,
1401
1401
  "isPure": true,
@@ -1409,8 +1409,8 @@
1409
1409
  },
1410
1410
  "value": "true"
1411
1411
  },
1412
- "functionReturnParameters": 62816,
1413
- "id": 62848,
1412
+ "functionReturnParameters": 62835,
1413
+ "id": 62867,
1414
1414
  "nodeType": "Return",
1415
1415
  "src": "1226:11:127"
1416
1416
  }
@@ -1423,17 +1423,17 @@
1423
1423
  "typeIdentifier": "t_uint256",
1424
1424
  "typeString": "uint256"
1425
1425
  },
1426
- "id": 62853,
1426
+ "id": 62872,
1427
1427
  "isConstant": false,
1428
1428
  "isLValue": false,
1429
1429
  "isPure": false,
1430
1430
  "lValueRequested": false,
1431
1431
  "leftExpression": {
1432
- "id": 62851,
1432
+ "id": 62870,
1433
1433
  "name": "availableCalls",
1434
1434
  "nodeType": "Identifier",
1435
1435
  "overloadedDeclarations": [],
1436
- "referencedDeclaration": 62824,
1436
+ "referencedDeclaration": 62843,
1437
1437
  "src": "1254:14:127",
1438
1438
  "typeDescriptions": {
1439
1439
  "typeIdentifier": "t_uint256",
@@ -1444,7 +1444,7 @@
1444
1444
  "operator": ">",
1445
1445
  "rightExpression": {
1446
1446
  "hexValue": "30",
1447
- "id": 62852,
1447
+ "id": 62871,
1448
1448
  "isConstant": false,
1449
1449
  "isLValue": false,
1450
1450
  "isPure": true,
@@ -1464,22 +1464,22 @@
1464
1464
  "typeString": "bool"
1465
1465
  }
1466
1466
  },
1467
- "id": 62872,
1467
+ "id": 62891,
1468
1468
  "nodeType": "IfStatement",
1469
1469
  "src": "1250:360:127",
1470
1470
  "trueBody": {
1471
- "id": 62871,
1471
+ "id": 62890,
1472
1472
  "nodeType": "Block",
1473
1473
  "src": "1274:336:127",
1474
1474
  "statements": [
1475
1475
  {
1476
- "id": 62857,
1476
+ "id": 62876,
1477
1477
  "nodeType": "UncheckedBlock",
1478
1478
  "src": "1331:45:127",
1479
1479
  "statements": [
1480
1480
  {
1481
1481
  "expression": {
1482
- "id": 62855,
1482
+ "id": 62874,
1483
1483
  "isConstant": false,
1484
1484
  "isLValue": false,
1485
1485
  "isPure": false,
@@ -1489,11 +1489,11 @@
1489
1489
  "prefix": false,
1490
1490
  "src": "1351:16:127",
1491
1491
  "subExpression": {
1492
- "id": 62854,
1492
+ "id": 62873,
1493
1493
  "name": "availableCalls",
1494
1494
  "nodeType": "Identifier",
1495
1495
  "overloadedDeclarations": [],
1496
- "referencedDeclaration": 62824,
1496
+ "referencedDeclaration": 62843,
1497
1497
  "src": "1351:14:127",
1498
1498
  "typeDescriptions": {
1499
1499
  "typeIdentifier": "t_uint256",
@@ -1505,7 +1505,7 @@
1505
1505
  "typeString": "uint256"
1506
1506
  }
1507
1507
  },
1508
- "id": 62856,
1508
+ "id": 62875,
1509
1509
  "nodeType": "ExpressionStatement",
1510
1510
  "src": "1351:16:127"
1511
1511
  }
@@ -1515,11 +1515,11 @@
1515
1515
  "expression": {
1516
1516
  "arguments": [
1517
1517
  {
1518
- "id": 62861,
1518
+ "id": 62880,
1519
1519
  "name": "delegator",
1520
1520
  "nodeType": "Identifier",
1521
1521
  "overloadedDeclarations": [],
1522
- "referencedDeclaration": 62807,
1522
+ "referencedDeclaration": 62826,
1523
1523
  "src": "1429:9:127",
1524
1524
  "typeDescriptions": {
1525
1525
  "typeIdentifier": "t_address",
@@ -1530,18 +1530,18 @@
1530
1530
  "arguments": [],
1531
1531
  "expression": {
1532
1532
  "argumentTypes": [],
1533
- "id": 62862,
1533
+ "id": 62881,
1534
1534
  "name": "_msgSender",
1535
1535
  "nodeType": "Identifier",
1536
1536
  "overloadedDeclarations": [],
1537
- "referencedDeclaration": 48742,
1537
+ "referencedDeclaration": 48761,
1538
1538
  "src": "1459:10:127",
1539
1539
  "typeDescriptions": {
1540
1540
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1541
1541
  "typeString": "function () view returns (address)"
1542
1542
  }
1543
1543
  },
1544
- "id": 62863,
1544
+ "id": 62882,
1545
1545
  "isConstant": false,
1546
1546
  "isLValue": false,
1547
1547
  "isPure": false,
@@ -1558,23 +1558,23 @@
1558
1558
  }
1559
1559
  },
1560
1560
  {
1561
- "id": 62864,
1561
+ "id": 62883,
1562
1562
  "name": "systemId",
1563
1563
  "nodeType": "Identifier",
1564
1564
  "overloadedDeclarations": [],
1565
- "referencedDeclaration": 62810,
1565
+ "referencedDeclaration": 62829,
1566
1566
  "src": "1491:8:127",
1567
1567
  "typeDescriptions": {
1568
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1568
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1569
1569
  "typeString": "ResourceId"
1570
1570
  }
1571
1571
  },
1572
1572
  {
1573
- "id": 62865,
1573
+ "id": 62884,
1574
1574
  "name": "callDataHash",
1575
1575
  "nodeType": "Identifier",
1576
1576
  "overloadedDeclarations": [],
1577
- "referencedDeclaration": 62818,
1577
+ "referencedDeclaration": 62837,
1578
1578
  "src": "1523:12:127",
1579
1579
  "typeDescriptions": {
1580
1580
  "typeIdentifier": "t_bytes32",
@@ -1582,11 +1582,11 @@
1582
1582
  }
1583
1583
  },
1584
1584
  {
1585
- "id": 62866,
1585
+ "id": 62885,
1586
1586
  "name": "availableCalls",
1587
1587
  "nodeType": "Identifier",
1588
1588
  "overloadedDeclarations": [],
1589
- "referencedDeclaration": 62824,
1589
+ "referencedDeclaration": 62843,
1590
1590
  "src": "1561:14:127",
1591
1591
  "typeDescriptions": {
1592
1592
  "typeIdentifier": "t_uint256",
@@ -1605,7 +1605,7 @@
1605
1605
  "typeString": "address"
1606
1606
  },
1607
1607
  {
1608
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1608
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1609
1609
  "typeString": "ResourceId"
1610
1610
  },
1611
1611
  {
@@ -1618,18 +1618,18 @@
1618
1618
  }
1619
1619
  ],
1620
1620
  "expression": {
1621
- "id": 62858,
1621
+ "id": 62877,
1622
1622
  "name": "CallboundDelegations",
1623
1623
  "nodeType": "Identifier",
1624
1624
  "overloadedDeclarations": [],
1625
- "referencedDeclaration": 64863,
1625
+ "referencedDeclaration": 64882,
1626
1626
  "src": "1383:20:127",
1627
1627
  "typeDescriptions": {
1628
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64863_$",
1628
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64882_$",
1629
1629
  "typeString": "type(library CallboundDelegations)"
1630
1630
  }
1631
1631
  },
1632
- "id": 62860,
1632
+ "id": 62879,
1633
1633
  "isConstant": false,
1634
1634
  "isLValue": false,
1635
1635
  "isPure": false,
@@ -1637,14 +1637,14 @@
1637
1637
  "memberLocation": "1404:3:127",
1638
1638
  "memberName": "set",
1639
1639
  "nodeType": "MemberAccess",
1640
- "referencedDeclaration": 64331,
1640
+ "referencedDeclaration": 64350,
1641
1641
  "src": "1383:24:127",
1642
1642
  "typeDescriptions": {
1643
- "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36365_$_t_bytes32_$_t_uint256_$returns$__$",
1643
+ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36384_$_t_bytes32_$_t_uint256_$returns$__$",
1644
1644
  "typeString": "function (address,address,ResourceId,bytes32,uint256)"
1645
1645
  }
1646
1646
  },
1647
- "id": 62867,
1647
+ "id": 62886,
1648
1648
  "isConstant": false,
1649
1649
  "isLValue": false,
1650
1650
  "isPure": false,
@@ -1672,14 +1672,14 @@
1672
1672
  "typeString": "tuple()"
1673
1673
  }
1674
1674
  },
1675
- "id": 62868,
1675
+ "id": 62887,
1676
1676
  "nodeType": "ExpressionStatement",
1677
1677
  "src": "1383:201:127"
1678
1678
  },
1679
1679
  {
1680
1680
  "expression": {
1681
1681
  "hexValue": "74727565",
1682
- "id": 62869,
1682
+ "id": 62888,
1683
1683
  "isConstant": false,
1684
1684
  "isLValue": false,
1685
1685
  "isPure": true,
@@ -1693,8 +1693,8 @@
1693
1693
  },
1694
1694
  "value": "true"
1695
1695
  },
1696
- "functionReturnParameters": 62816,
1697
- "id": 62870,
1696
+ "functionReturnParameters": 62835,
1697
+ "id": 62889,
1698
1698
  "nodeType": "Return",
1699
1699
  "src": "1592:11:127"
1700
1700
  }
@@ -1704,7 +1704,7 @@
1704
1704
  {
1705
1705
  "expression": {
1706
1706
  "hexValue": "66616c7365",
1707
- "id": 62873,
1707
+ "id": 62892,
1708
1708
  "isConstant": false,
1709
1709
  "isLValue": false,
1710
1710
  "isPure": true,
@@ -1718,18 +1718,18 @@
1718
1718
  },
1719
1719
  "value": "false"
1720
1720
  },
1721
- "functionReturnParameters": 62816,
1722
- "id": 62874,
1721
+ "functionReturnParameters": 62835,
1722
+ "id": 62893,
1723
1723
  "nodeType": "Return",
1724
1724
  "src": "1616:12:127"
1725
1725
  }
1726
1726
  ]
1727
1727
  },
1728
1728
  "baseFunctions": [
1729
- 70824
1729
+ 70843
1730
1730
  ],
1731
1731
  "documentation": {
1732
- "id": 62805,
1732
+ "id": 62824,
1733
1733
  "nodeType": "StructuredDocumentation",
1734
1734
  "src": "348:170:127",
1735
1735
  "text": " Verify a delegation by checking if the delegator has any available calls left in the CallboundDelegations table and decrementing the available calls if so."
@@ -1741,17 +1741,17 @@
1741
1741
  "name": "verify",
1742
1742
  "nameLocation": "530:6:127",
1743
1743
  "parameters": {
1744
- "id": 62813,
1744
+ "id": 62832,
1745
1745
  "nodeType": "ParameterList",
1746
1746
  "parameters": [
1747
1747
  {
1748
1748
  "constant": false,
1749
- "id": 62807,
1749
+ "id": 62826,
1750
1750
  "mutability": "mutable",
1751
1751
  "name": "delegator",
1752
1752
  "nameLocation": "545:9:127",
1753
1753
  "nodeType": "VariableDeclaration",
1754
- "scope": 62876,
1754
+ "scope": 62895,
1755
1755
  "src": "537:17:127",
1756
1756
  "stateVariable": false,
1757
1757
  "storageLocation": "default",
@@ -1760,7 +1760,7 @@
1760
1760
  "typeString": "address"
1761
1761
  },
1762
1762
  "typeName": {
1763
- "id": 62806,
1763
+ "id": 62825,
1764
1764
  "name": "address",
1765
1765
  "nodeType": "ElementaryTypeName",
1766
1766
  "src": "537:7:127",
@@ -1774,36 +1774,36 @@
1774
1774
  },
1775
1775
  {
1776
1776
  "constant": false,
1777
- "id": 62810,
1777
+ "id": 62829,
1778
1778
  "mutability": "mutable",
1779
1779
  "name": "systemId",
1780
1780
  "nameLocation": "567:8:127",
1781
1781
  "nodeType": "VariableDeclaration",
1782
- "scope": 62876,
1782
+ "scope": 62895,
1783
1783
  "src": "556:19:127",
1784
1784
  "stateVariable": false,
1785
1785
  "storageLocation": "default",
1786
1786
  "typeDescriptions": {
1787
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1787
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1788
1788
  "typeString": "ResourceId"
1789
1789
  },
1790
1790
  "typeName": {
1791
- "id": 62809,
1791
+ "id": 62828,
1792
1792
  "nodeType": "UserDefinedTypeName",
1793
1793
  "pathNode": {
1794
- "id": 62808,
1794
+ "id": 62827,
1795
1795
  "name": "ResourceId",
1796
1796
  "nameLocations": [
1797
1797
  "556:10:127"
1798
1798
  ],
1799
1799
  "nodeType": "IdentifierPath",
1800
- "referencedDeclaration": 36365,
1800
+ "referencedDeclaration": 36384,
1801
1801
  "src": "556:10:127"
1802
1802
  },
1803
- "referencedDeclaration": 36365,
1803
+ "referencedDeclaration": 36384,
1804
1804
  "src": "556:10:127",
1805
1805
  "typeDescriptions": {
1806
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1806
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1807
1807
  "typeString": "ResourceId"
1808
1808
  }
1809
1809
  },
@@ -1811,12 +1811,12 @@
1811
1811
  },
1812
1812
  {
1813
1813
  "constant": false,
1814
- "id": 62812,
1814
+ "id": 62831,
1815
1815
  "mutability": "mutable",
1816
1816
  "name": "callData",
1817
1817
  "nameLocation": "590:8:127",
1818
1818
  "nodeType": "VariableDeclaration",
1819
- "scope": 62876,
1819
+ "scope": 62895,
1820
1820
  "src": "577:21:127",
1821
1821
  "stateVariable": false,
1822
1822
  "storageLocation": "memory",
@@ -1825,7 +1825,7 @@
1825
1825
  "typeString": "bytes"
1826
1826
  },
1827
1827
  "typeName": {
1828
- "id": 62811,
1828
+ "id": 62830,
1829
1829
  "name": "bytes",
1830
1830
  "nodeType": "ElementaryTypeName",
1831
1831
  "src": "577:5:127",
@@ -1840,17 +1840,17 @@
1840
1840
  "src": "536:63:127"
1841
1841
  },
1842
1842
  "returnParameters": {
1843
- "id": 62816,
1843
+ "id": 62835,
1844
1844
  "nodeType": "ParameterList",
1845
1845
  "parameters": [
1846
1846
  {
1847
1847
  "constant": false,
1848
- "id": 62815,
1848
+ "id": 62834,
1849
1849
  "mutability": "mutable",
1850
1850
  "name": "",
1851
1851
  "nameLocation": "-1:-1:-1",
1852
1852
  "nodeType": "VariableDeclaration",
1853
- "scope": 62876,
1853
+ "scope": 62895,
1854
1854
  "src": "616:4:127",
1855
1855
  "stateVariable": false,
1856
1856
  "storageLocation": "default",
@@ -1859,7 +1859,7 @@
1859
1859
  "typeString": "bool"
1860
1860
  },
1861
1861
  "typeName": {
1862
- "id": 62814,
1862
+ "id": 62833,
1863
1863
  "name": "bool",
1864
1864
  "nodeType": "ElementaryTypeName",
1865
1865
  "src": "616:4:127",
@@ -1873,18 +1873,18 @@
1873
1873
  ],
1874
1874
  "src": "615:6:127"
1875
1875
  },
1876
- "scope": 62904,
1876
+ "scope": 62923,
1877
1877
  "stateMutability": "nonpayable",
1878
1878
  "virtual": false,
1879
1879
  "visibility": "public"
1880
1880
  },
1881
1881
  {
1882
- "id": 62903,
1882
+ "id": 62922,
1883
1883
  "nodeType": "FunctionDefinition",
1884
1884
  "src": "1753:313:127",
1885
1885
  "nodes": [],
1886
1886
  "body": {
1887
- "id": 62902,
1887
+ "id": 62921,
1888
1888
  "nodeType": "Block",
1889
1889
  "src": "1865:201:127",
1890
1890
  "nodes": [],
@@ -1896,18 +1896,18 @@
1896
1896
  "arguments": [],
1897
1897
  "expression": {
1898
1898
  "argumentTypes": [],
1899
- "id": 62892,
1899
+ "id": 62911,
1900
1900
  "name": "_msgSender",
1901
1901
  "nodeType": "Identifier",
1902
1902
  "overloadedDeclarations": [],
1903
- "referencedDeclaration": 48742,
1903
+ "referencedDeclaration": 48761,
1904
1904
  "src": "1915:10:127",
1905
1905
  "typeDescriptions": {
1906
1906
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1907
1907
  "typeString": "function () view returns (address)"
1908
1908
  }
1909
1909
  },
1910
- "id": 62893,
1910
+ "id": 62912,
1911
1911
  "isConstant": false,
1912
1912
  "isLValue": false,
1913
1913
  "isPure": false,
@@ -1924,11 +1924,11 @@
1924
1924
  }
1925
1925
  },
1926
1926
  {
1927
- "id": 62894,
1927
+ "id": 62913,
1928
1928
  "name": "delegatee",
1929
1929
  "nodeType": "Identifier",
1930
1930
  "overloadedDeclarations": [],
1931
- "referencedDeclaration": 62879,
1931
+ "referencedDeclaration": 62898,
1932
1932
  "src": "1946:9:127",
1933
1933
  "typeDescriptions": {
1934
1934
  "typeIdentifier": "t_address",
@@ -1936,25 +1936,25 @@
1936
1936
  }
1937
1937
  },
1938
1938
  {
1939
- "id": 62895,
1939
+ "id": 62914,
1940
1940
  "name": "systemId",
1941
1941
  "nodeType": "Identifier",
1942
1942
  "overloadedDeclarations": [],
1943
- "referencedDeclaration": 62882,
1943
+ "referencedDeclaration": 62901,
1944
1944
  "src": "1973:8:127",
1945
1945
  "typeDescriptions": {
1946
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
1946
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
1947
1947
  "typeString": "ResourceId"
1948
1948
  }
1949
1949
  },
1950
1950
  {
1951
1951
  "arguments": [
1952
1952
  {
1953
- "id": 62897,
1953
+ "id": 62916,
1954
1954
  "name": "callData",
1955
1955
  "nodeType": "Identifier",
1956
1956
  "overloadedDeclarations": [],
1957
- "referencedDeclaration": 62884,
1957
+ "referencedDeclaration": 62903,
1958
1958
  "src": "2013:8:127",
1959
1959
  "typeDescriptions": {
1960
1960
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1969,7 +1969,7 @@
1969
1969
  "typeString": "bytes memory"
1970
1970
  }
1971
1971
  ],
1972
- "id": 62896,
1972
+ "id": 62915,
1973
1973
  "name": "keccak256",
1974
1974
  "nodeType": "Identifier",
1975
1975
  "overloadedDeclarations": [],
@@ -1980,7 +1980,7 @@
1980
1980
  "typeString": "function (bytes memory) pure returns (bytes32)"
1981
1981
  }
1982
1982
  },
1983
- "id": 62898,
1983
+ "id": 62917,
1984
1984
  "isConstant": false,
1985
1985
  "isLValue": false,
1986
1986
  "isPure": false,
@@ -1997,11 +1997,11 @@
1997
1997
  }
1998
1998
  },
1999
1999
  {
2000
- "id": 62899,
2000
+ "id": 62918,
2001
2001
  "name": "numCalls",
2002
2002
  "nodeType": "Identifier",
2003
2003
  "overloadedDeclarations": [],
2004
- "referencedDeclaration": 62886,
2004
+ "referencedDeclaration": 62905,
2005
2005
  "src": "2046:8:127",
2006
2006
  "typeDescriptions": {
2007
2007
  "typeIdentifier": "t_uint256",
@@ -2020,7 +2020,7 @@
2020
2020
  "typeString": "address"
2021
2021
  },
2022
2022
  {
2023
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
2023
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
2024
2024
  "typeString": "ResourceId"
2025
2025
  },
2026
2026
  {
@@ -2033,18 +2033,18 @@
2033
2033
  }
2034
2034
  ],
2035
2035
  "expression": {
2036
- "id": 62889,
2036
+ "id": 62908,
2037
2037
  "name": "CallboundDelegations",
2038
2038
  "nodeType": "Identifier",
2039
2039
  "overloadedDeclarations": [],
2040
- "referencedDeclaration": 64863,
2040
+ "referencedDeclaration": 64882,
2041
2041
  "src": "1871:20:127",
2042
2042
  "typeDescriptions": {
2043
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64863_$",
2043
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$64882_$",
2044
2044
  "typeString": "type(library CallboundDelegations)"
2045
2045
  }
2046
2046
  },
2047
- "id": 62891,
2047
+ "id": 62910,
2048
2048
  "isConstant": false,
2049
2049
  "isLValue": false,
2050
2050
  "isPure": false,
@@ -2052,14 +2052,14 @@
2052
2052
  "memberLocation": "1892:3:127",
2053
2053
  "memberName": "set",
2054
2054
  "nodeType": "MemberAccess",
2055
- "referencedDeclaration": 64331,
2055
+ "referencedDeclaration": 64350,
2056
2056
  "src": "1871:24:127",
2057
2057
  "typeDescriptions": {
2058
- "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36365_$_t_bytes32_$_t_uint256_$returns$__$",
2058
+ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$36384_$_t_bytes32_$_t_uint256_$returns$__$",
2059
2059
  "typeString": "function (address,address,ResourceId,bytes32,uint256)"
2060
2060
  }
2061
2061
  },
2062
- "id": 62900,
2062
+ "id": 62919,
2063
2063
  "isConstant": false,
2064
2064
  "isLValue": false,
2065
2065
  "isPure": false,
@@ -2087,14 +2087,14 @@
2087
2087
  "typeString": "tuple()"
2088
2088
  }
2089
2089
  },
2090
- "id": 62901,
2090
+ "id": 62920,
2091
2091
  "nodeType": "ExpressionStatement",
2092
2092
  "src": "1871:190:127"
2093
2093
  }
2094
2094
  ]
2095
2095
  },
2096
2096
  "documentation": {
2097
- "id": 62877,
2097
+ "id": 62896,
2098
2098
  "nodeType": "StructuredDocumentation",
2099
2099
  "src": "1637:113:127",
2100
2100
  "text": " Initialize a delegation by setting the number of available calls in the CallboundDelegations table"
@@ -2106,17 +2106,17 @@
2106
2106
  "name": "initDelegation",
2107
2107
  "nameLocation": "1762:14:127",
2108
2108
  "parameters": {
2109
- "id": 62887,
2109
+ "id": 62906,
2110
2110
  "nodeType": "ParameterList",
2111
2111
  "parameters": [
2112
2112
  {
2113
2113
  "constant": false,
2114
- "id": 62879,
2114
+ "id": 62898,
2115
2115
  "mutability": "mutable",
2116
2116
  "name": "delegatee",
2117
2117
  "nameLocation": "1785:9:127",
2118
2118
  "nodeType": "VariableDeclaration",
2119
- "scope": 62903,
2119
+ "scope": 62922,
2120
2120
  "src": "1777:17:127",
2121
2121
  "stateVariable": false,
2122
2122
  "storageLocation": "default",
@@ -2125,7 +2125,7 @@
2125
2125
  "typeString": "address"
2126
2126
  },
2127
2127
  "typeName": {
2128
- "id": 62878,
2128
+ "id": 62897,
2129
2129
  "name": "address",
2130
2130
  "nodeType": "ElementaryTypeName",
2131
2131
  "src": "1777:7:127",
@@ -2139,36 +2139,36 @@
2139
2139
  },
2140
2140
  {
2141
2141
  "constant": false,
2142
- "id": 62882,
2142
+ "id": 62901,
2143
2143
  "mutability": "mutable",
2144
2144
  "name": "systemId",
2145
2145
  "nameLocation": "1807:8:127",
2146
2146
  "nodeType": "VariableDeclaration",
2147
- "scope": 62903,
2147
+ "scope": 62922,
2148
2148
  "src": "1796:19:127",
2149
2149
  "stateVariable": false,
2150
2150
  "storageLocation": "default",
2151
2151
  "typeDescriptions": {
2152
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
2152
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
2153
2153
  "typeString": "ResourceId"
2154
2154
  },
2155
2155
  "typeName": {
2156
- "id": 62881,
2156
+ "id": 62900,
2157
2157
  "nodeType": "UserDefinedTypeName",
2158
2158
  "pathNode": {
2159
- "id": 62880,
2159
+ "id": 62899,
2160
2160
  "name": "ResourceId",
2161
2161
  "nameLocations": [
2162
2162
  "1796:10:127"
2163
2163
  ],
2164
2164
  "nodeType": "IdentifierPath",
2165
- "referencedDeclaration": 36365,
2165
+ "referencedDeclaration": 36384,
2166
2166
  "src": "1796:10:127"
2167
2167
  },
2168
- "referencedDeclaration": 36365,
2168
+ "referencedDeclaration": 36384,
2169
2169
  "src": "1796:10:127",
2170
2170
  "typeDescriptions": {
2171
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
2171
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
2172
2172
  "typeString": "ResourceId"
2173
2173
  }
2174
2174
  },
@@ -2176,12 +2176,12 @@
2176
2176
  },
2177
2177
  {
2178
2178
  "constant": false,
2179
- "id": 62884,
2179
+ "id": 62903,
2180
2180
  "mutability": "mutable",
2181
2181
  "name": "callData",
2182
2182
  "nameLocation": "1830:8:127",
2183
2183
  "nodeType": "VariableDeclaration",
2184
- "scope": 62903,
2184
+ "scope": 62922,
2185
2185
  "src": "1817:21:127",
2186
2186
  "stateVariable": false,
2187
2187
  "storageLocation": "memory",
@@ -2190,7 +2190,7 @@
2190
2190
  "typeString": "bytes"
2191
2191
  },
2192
2192
  "typeName": {
2193
- "id": 62883,
2193
+ "id": 62902,
2194
2194
  "name": "bytes",
2195
2195
  "nodeType": "ElementaryTypeName",
2196
2196
  "src": "1817:5:127",
@@ -2203,12 +2203,12 @@
2203
2203
  },
2204
2204
  {
2205
2205
  "constant": false,
2206
- "id": 62886,
2206
+ "id": 62905,
2207
2207
  "mutability": "mutable",
2208
2208
  "name": "numCalls",
2209
2209
  "nameLocation": "1848:8:127",
2210
2210
  "nodeType": "VariableDeclaration",
2211
- "scope": 62903,
2211
+ "scope": 62922,
2212
2212
  "src": "1840:16:127",
2213
2213
  "stateVariable": false,
2214
2214
  "storageLocation": "default",
@@ -2217,7 +2217,7 @@
2217
2217
  "typeString": "uint256"
2218
2218
  },
2219
2219
  "typeName": {
2220
- "id": 62885,
2220
+ "id": 62904,
2221
2221
  "name": "uint256",
2222
2222
  "nodeType": "ElementaryTypeName",
2223
2223
  "src": "1840:7:127",
@@ -2232,12 +2232,12 @@
2232
2232
  "src": "1776:81:127"
2233
2233
  },
2234
2234
  "returnParameters": {
2235
- "id": 62888,
2235
+ "id": 62907,
2236
2236
  "nodeType": "ParameterList",
2237
2237
  "parameters": [],
2238
2238
  "src": "1865:0:127"
2239
2239
  },
2240
- "scope": 62904,
2240
+ "scope": 62923,
2241
2241
  "stateMutability": "nonpayable",
2242
2242
  "virtual": false,
2243
2243
  "visibility": "public"
@@ -2247,16 +2247,16 @@
2247
2247
  "baseContracts": [
2248
2248
  {
2249
2249
  "baseName": {
2250
- "id": 62803,
2250
+ "id": 62822,
2251
2251
  "name": "DelegationControl",
2252
2252
  "nameLocations": [
2253
2253
  "326:17:127"
2254
2254
  ],
2255
2255
  "nodeType": "IdentifierPath",
2256
- "referencedDeclaration": 48664,
2256
+ "referencedDeclaration": 48683,
2257
2257
  "src": "326:17:127"
2258
2258
  },
2259
- "id": 62804,
2259
+ "id": 62823,
2260
2260
  "nodeType": "InheritanceSpecifier",
2261
2261
  "src": "326:17:127"
2262
2262
  }
@@ -2266,22 +2266,22 @@
2266
2266
  "contractKind": "contract",
2267
2267
  "fullyImplemented": true,
2268
2268
  "linearizedBaseContracts": [
2269
- 62904,
2270
- 48664,
2271
- 70825,
2272
- 48776,
2273
- 70879,
2274
- 70841
2269
+ 62923,
2270
+ 48683,
2271
+ 70844,
2272
+ 48795,
2273
+ 70898,
2274
+ 70860
2275
2275
  ],
2276
2276
  "name": "CallboundDelegationControl",
2277
2277
  "nameLocation": "296:26:127",
2278
- "scope": 62905,
2278
+ "scope": 62924,
2279
2279
  "usedErrors": [
2280
- 36931
2280
+ 36950
2281
2281
  ],
2282
2282
  "usedEvents": [
2283
- 37244,
2284
- 37269
2283
+ 37263,
2284
+ 37288
2285
2285
  ]
2286
2286
  }
2287
2287
  ],