@latticexyz/world-modules 2.0.0-main-a38a9f25 → 2.0.0-main-cf2104eb

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 (84) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +85 -85
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  8. package/out/IBaseWorld.sol/IBaseWorld.json +60 -60
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +19 -19
  10. package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
  11. package/out/ISystemHook.sol/ISystemHook.json +12 -12
  12. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  13. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  14. package/out/IWorldKernel.sol/IWorldCall.json +10 -10
  15. package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
  16. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
  17. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +39 -39
  18. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  19. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  20. package/out/KeysInTableModule.sol/KeysInTableModule.json +527 -527
  21. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  22. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +989 -989
  23. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +416 -416
  24. package/out/Module.sol/Module.json +75 -75
  25. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  26. package/out/Schema.sol/SchemaInstance.json +30 -30
  27. package/out/Schema.sol/SchemaLib.json +30 -30
  28. package/out/SchemaType.sol/SchemaType.json +276 -276
  29. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +293 -293
  30. package/out/StoreHook.sol/StoreHook.json +368 -368
  31. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  32. package/out/System.sol/System.json +19 -19
  33. package/out/Tables.sol/Tables.json +73 -73
  34. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  35. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  36. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  37. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +317 -317
  38. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  39. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  40. package/out/WorldContext.sol/WorldContextConsumer.json +11 -11
  41. package/out/WorldContext.sol/WorldContextProvider.json +11 -11
  42. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +96 -96
  43. package/out/WorldResourceId.sol/WorldResourceIdLib.json +96 -96
  44. package/out/constants.sol/constants.json +35 -35
  45. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  46. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  47. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  48. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  49. package/out/hasKey.sol/hasKey.json +130 -130
  50. package/out/index.sol/index.json +53 -53
  51. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +124 -124
  52. package/out/query.sol/query.json +1154 -1154
  53. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  54. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  55. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  56. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  57. package/out/src/IStore.sol/IStore.json +52 -52
  58. package/out/src/IWorldKernel.sol/IWorldCall.json +150 -150
  59. package/out/src/IWorldKernel.sol/IWorldKernel.json +150 -150
  60. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +150 -150
  61. package/out/src/Memory.sol/Memory.json +91 -91
  62. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  63. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  64. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  65. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  66. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  67. package/out/src/Schema.sol/SchemaLib.json +790 -790
  68. package/out/src/Slice.sol/SliceInstance.json +430 -430
  69. package/out/src/Slice.sol/SliceLib.json +430 -430
  70. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  71. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  72. package/out/src/StoreSwitch.sol/StoreSwitch.json +2483 -2483
  73. package/out/src/WorldContext.sol/WorldContextConsumer.json +363 -363
  74. package/out/src/WorldContext.sol/WorldContextProvider.json +363 -363
  75. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  76. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  77. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  78. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  79. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  80. package/out/tables/Tables.sol/Tables.json +7288 -7288
  81. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  82. package/out/types.sol/types.json +72 -60
  83. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  84. package/package.json +8 -8
@@ -838,26 +838,26 @@
838
838
  },
839
839
  "ast": {
840
840
  "absolutePath": "src/modules/std-delegations/CallboundDelegationControl.sol",
841
- "id": 53258,
841
+ "id": 53265,
842
842
  "exportedSymbols": {
843
843
  "CallboundDelegationControl": [
844
- 53257
844
+ 53264
845
845
  ],
846
846
  "CallboundDelegations": [
847
- 55216
847
+ 55223
848
848
  ],
849
849
  "DelegationControl": [
850
- 38980
850
+ 38987
851
851
  ],
852
852
  "ResourceId": [
853
- 26521
853
+ 26528
854
854
  ]
855
855
  },
856
856
  "nodeType": "SourceUnit",
857
857
  "src": "32:2037:127",
858
858
  "nodes": [
859
859
  {
860
- "id": 53149,
860
+ "id": 53156,
861
861
  "nodeType": "PragmaDirective",
862
862
  "src": "32:25:127",
863
863
  "nodes": [],
@@ -869,23 +869,23 @@
869
869
  ]
870
870
  },
871
871
  {
872
- "id": 53151,
872
+ "id": 53158,
873
873
  "nodeType": "ImportDirective",
874
874
  "src": "59:80:127",
875
875
  "nodes": [],
876
876
  "absolutePath": "node_modules/@latticexyz/world/src/DelegationControl.sol",
877
877
  "file": "@latticexyz/world/src/DelegationControl.sol",
878
878
  "nameLocation": "-1:-1:-1",
879
- "scope": 53258,
880
- "sourceUnit": 38981,
879
+ "scope": 53265,
880
+ "sourceUnit": 38988,
881
881
  "symbolAliases": [
882
882
  {
883
883
  "foreign": {
884
- "id": 53150,
884
+ "id": 53157,
885
885
  "name": "DelegationControl",
886
886
  "nodeType": "Identifier",
887
887
  "overloadedDeclarations": [],
888
- "referencedDeclaration": 38980,
888
+ "referencedDeclaration": 38987,
889
889
  "src": "68:17:127",
890
890
  "typeDescriptions": {}
891
891
  },
@@ -895,23 +895,23 @@
895
895
  "unitAlias": ""
896
896
  },
897
897
  {
898
- "id": 53153,
898
+ "id": 53160,
899
899
  "nodeType": "ImportDirective",
900
900
  "src": "140:71:127",
901
901
  "nodes": [],
902
902
  "absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
903
903
  "file": "@latticexyz/world/src/WorldResourceId.sol",
904
904
  "nameLocation": "-1:-1:-1",
905
- "scope": 53258,
906
- "sourceUnit": 39616,
905
+ "scope": 53265,
906
+ "sourceUnit": 39623,
907
907
  "symbolAliases": [
908
908
  {
909
909
  "foreign": {
910
- "id": 53152,
910
+ "id": 53159,
911
911
  "name": "ResourceId",
912
912
  "nodeType": "Identifier",
913
913
  "overloadedDeclarations": [],
914
- "referencedDeclaration": 26521,
914
+ "referencedDeclaration": 26528,
915
915
  "src": "149:10:127",
916
916
  "typeDescriptions": {}
917
917
  },
@@ -921,23 +921,23 @@
921
921
  "unitAlias": ""
922
922
  },
923
923
  {
924
- "id": 53155,
924
+ "id": 53162,
925
925
  "nodeType": "ImportDirective",
926
926
  "src": "212:73:127",
927
927
  "nodes": [],
928
928
  "absolutePath": "src/modules/std-delegations/tables/CallboundDelegations.sol",
929
929
  "file": "./tables/CallboundDelegations.sol",
930
930
  "nameLocation": "-1:-1:-1",
931
- "scope": 53258,
932
- "sourceUnit": 55217,
931
+ "scope": 53265,
932
+ "sourceUnit": 55224,
933
933
  "symbolAliases": [
934
934
  {
935
935
  "foreign": {
936
- "id": 53154,
936
+ "id": 53161,
937
937
  "name": "CallboundDelegations",
938
938
  "nodeType": "Identifier",
939
939
  "overloadedDeclarations": [],
940
- "referencedDeclaration": 55216,
940
+ "referencedDeclaration": 55223,
941
941
  "src": "221:20:127",
942
942
  "typeDescriptions": {}
943
943
  },
@@ -947,34 +947,34 @@
947
947
  "unitAlias": ""
948
948
  },
949
949
  {
950
- "id": 53257,
950
+ "id": 53264,
951
951
  "nodeType": "ContractDefinition",
952
952
  "src": "287:1781:127",
953
953
  "nodes": [
954
954
  {
955
- "id": 53229,
955
+ "id": 53236,
956
956
  "nodeType": "FunctionDefinition",
957
957
  "src": "521:1112:127",
958
958
  "nodes": [],
959
959
  "body": {
960
- "id": 53228,
960
+ "id": 53235,
961
961
  "nodeType": "Block",
962
962
  "src": "622:1011:127",
963
963
  "nodes": [],
964
964
  "statements": [
965
965
  {
966
966
  "assignments": [
967
- 53171
967
+ 53178
968
968
  ],
969
969
  "declarations": [
970
970
  {
971
971
  "constant": false,
972
- "id": 53171,
972
+ "id": 53178,
973
973
  "mutability": "mutable",
974
974
  "name": "callDataHash",
975
975
  "nameLocation": "636:12:127",
976
976
  "nodeType": "VariableDeclaration",
977
- "scope": 53228,
977
+ "scope": 53235,
978
978
  "src": "628:20:127",
979
979
  "stateVariable": false,
980
980
  "storageLocation": "default",
@@ -983,7 +983,7 @@
983
983
  "typeString": "bytes32"
984
984
  },
985
985
  "typeName": {
986
- "id": 53170,
986
+ "id": 53177,
987
987
  "name": "bytes32",
988
988
  "nodeType": "ElementaryTypeName",
989
989
  "src": "628:7:127",
@@ -995,15 +995,15 @@
995
995
  "visibility": "internal"
996
996
  }
997
997
  ],
998
- "id": 53175,
998
+ "id": 53182,
999
999
  "initialValue": {
1000
1000
  "arguments": [
1001
1001
  {
1002
- "id": 53173,
1002
+ "id": 53180,
1003
1003
  "name": "callData",
1004
1004
  "nodeType": "Identifier",
1005
1005
  "overloadedDeclarations": [],
1006
- "referencedDeclaration": 53165,
1006
+ "referencedDeclaration": 53172,
1007
1007
  "src": "661:8:127",
1008
1008
  "typeDescriptions": {
1009
1009
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1018,7 +1018,7 @@
1018
1018
  "typeString": "bytes memory"
1019
1019
  }
1020
1020
  ],
1021
- "id": 53172,
1021
+ "id": 53179,
1022
1022
  "name": "keccak256",
1023
1023
  "nodeType": "Identifier",
1024
1024
  "overloadedDeclarations": [],
@@ -1029,7 +1029,7 @@
1029
1029
  "typeString": "function (bytes memory) pure returns (bytes32)"
1030
1030
  }
1031
1031
  },
1032
- "id": 53174,
1032
+ "id": 53181,
1033
1033
  "isConstant": false,
1034
1034
  "isLValue": false,
1035
1035
  "isPure": false,
@@ -1050,17 +1050,17 @@
1050
1050
  },
1051
1051
  {
1052
1052
  "assignments": [
1053
- 53177
1053
+ 53184
1054
1054
  ],
1055
1055
  "declarations": [
1056
1056
  {
1057
1057
  "constant": false,
1058
- "id": 53177,
1058
+ "id": 53184,
1059
1059
  "mutability": "mutable",
1060
1060
  "name": "availableCalls",
1061
1061
  "nameLocation": "773:14:127",
1062
1062
  "nodeType": "VariableDeclaration",
1063
- "scope": 53228,
1063
+ "scope": 53235,
1064
1064
  "src": "765:22:127",
1065
1065
  "stateVariable": false,
1066
1066
  "storageLocation": "default",
@@ -1069,7 +1069,7 @@
1069
1069
  "typeString": "uint256"
1070
1070
  },
1071
1071
  "typeName": {
1072
- "id": 53176,
1072
+ "id": 53183,
1073
1073
  "name": "uint256",
1074
1074
  "nodeType": "ElementaryTypeName",
1075
1075
  "src": "765:7:127",
@@ -1081,15 +1081,15 @@
1081
1081
  "visibility": "internal"
1082
1082
  }
1083
1083
  ],
1084
- "id": 53186,
1084
+ "id": 53193,
1085
1085
  "initialValue": {
1086
1086
  "arguments": [
1087
1087
  {
1088
- "id": 53180,
1088
+ "id": 53187,
1089
1089
  "name": "delegator",
1090
1090
  "nodeType": "Identifier",
1091
1091
  "overloadedDeclarations": [],
1092
- "referencedDeclaration": 53160,
1092
+ "referencedDeclaration": 53167,
1093
1093
  "src": "834:9:127",
1094
1094
  "typeDescriptions": {
1095
1095
  "typeIdentifier": "t_address",
@@ -1100,18 +1100,18 @@
1100
1100
  "arguments": [],
1101
1101
  "expression": {
1102
1102
  "argumentTypes": [],
1103
- "id": 53181,
1103
+ "id": 53188,
1104
1104
  "name": "_msgSender",
1105
1105
  "nodeType": "Identifier",
1106
1106
  "overloadedDeclarations": [],
1107
- "referencedDeclaration": 39140,
1107
+ "referencedDeclaration": 39147,
1108
1108
  "src": "862:10:127",
1109
1109
  "typeDescriptions": {
1110
1110
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1111
1111
  "typeString": "function () view returns (address)"
1112
1112
  }
1113
1113
  },
1114
- "id": 53182,
1114
+ "id": 53189,
1115
1115
  "isConstant": false,
1116
1116
  "isLValue": false,
1117
1117
  "isPure": false,
@@ -1128,23 +1128,23 @@
1128
1128
  }
1129
1129
  },
1130
1130
  {
1131
- "id": 53183,
1131
+ "id": 53190,
1132
1132
  "name": "systemId",
1133
1133
  "nodeType": "Identifier",
1134
1134
  "overloadedDeclarations": [],
1135
- "referencedDeclaration": 53163,
1135
+ "referencedDeclaration": 53170,
1136
1136
  "src": "892:8:127",
1137
1137
  "typeDescriptions": {
1138
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1138
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1139
1139
  "typeString": "ResourceId"
1140
1140
  }
1141
1141
  },
1142
1142
  {
1143
- "id": 53184,
1143
+ "id": 53191,
1144
1144
  "name": "callDataHash",
1145
1145
  "nodeType": "Identifier",
1146
1146
  "overloadedDeclarations": [],
1147
- "referencedDeclaration": 53171,
1147
+ "referencedDeclaration": 53178,
1148
1148
  "src": "922:12:127",
1149
1149
  "typeDescriptions": {
1150
1150
  "typeIdentifier": "t_bytes32",
@@ -1163,7 +1163,7 @@
1163
1163
  "typeString": "address"
1164
1164
  },
1165
1165
  {
1166
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1166
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1167
1167
  "typeString": "ResourceId"
1168
1168
  },
1169
1169
  {
@@ -1172,18 +1172,18 @@
1172
1172
  }
1173
1173
  ],
1174
1174
  "expression": {
1175
- "id": 53178,
1175
+ "id": 53185,
1176
1176
  "name": "CallboundDelegations",
1177
1177
  "nodeType": "Identifier",
1178
1178
  "overloadedDeclarations": [],
1179
- "referencedDeclaration": 55216,
1179
+ "referencedDeclaration": 55223,
1180
1180
  "src": "790:20:127",
1181
1181
  "typeDescriptions": {
1182
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55216_$",
1182
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55223_$",
1183
1183
  "typeString": "type(library CallboundDelegations)"
1184
1184
  }
1185
1185
  },
1186
- "id": 53179,
1186
+ "id": 53186,
1187
1187
  "isConstant": false,
1188
1188
  "isLValue": false,
1189
1189
  "isPure": false,
@@ -1191,14 +1191,14 @@
1191
1191
  "memberLocation": "811:3:127",
1192
1192
  "memberName": "get",
1193
1193
  "nodeType": "MemberAccess",
1194
- "referencedDeclaration": 54152,
1194
+ "referencedDeclaration": 54159,
1195
1195
  "src": "790:24:127",
1196
1196
  "typeDescriptions": {
1197
- "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26521_$_t_bytes32_$returns$_t_uint256_$",
1197
+ "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26528_$_t_bytes32_$returns$_t_uint256_$",
1198
1198
  "typeString": "function (address,address,ResourceId,bytes32) view returns (uint256)"
1199
1199
  }
1200
1200
  },
1201
- "id": 53185,
1201
+ "id": 53192,
1202
1202
  "isConstant": false,
1203
1203
  "isLValue": false,
1204
1204
  "isPure": false,
@@ -1233,17 +1233,17 @@
1233
1233
  "typeIdentifier": "t_uint256",
1234
1234
  "typeString": "uint256"
1235
1235
  },
1236
- "id": 53189,
1236
+ "id": 53196,
1237
1237
  "isConstant": false,
1238
1238
  "isLValue": false,
1239
1239
  "isPure": false,
1240
1240
  "lValueRequested": false,
1241
1241
  "leftExpression": {
1242
- "id": 53187,
1242
+ "id": 53194,
1243
1243
  "name": "availableCalls",
1244
1244
  "nodeType": "Identifier",
1245
1245
  "overloadedDeclarations": [],
1246
- "referencedDeclaration": 53177,
1246
+ "referencedDeclaration": 53184,
1247
1247
  "src": "952:14:127",
1248
1248
  "typeDescriptions": {
1249
1249
  "typeIdentifier": "t_uint256",
@@ -1254,7 +1254,7 @@
1254
1254
  "operator": "==",
1255
1255
  "rightExpression": {
1256
1256
  "hexValue": "31",
1257
- "id": 53188,
1257
+ "id": 53195,
1258
1258
  "isConstant": false,
1259
1259
  "isLValue": false,
1260
1260
  "isPure": true,
@@ -1274,11 +1274,11 @@
1274
1274
  "typeString": "bool"
1275
1275
  }
1276
1276
  },
1277
- "id": 53203,
1277
+ "id": 53210,
1278
1278
  "nodeType": "IfStatement",
1279
1279
  "src": "948:296:127",
1280
1280
  "trueBody": {
1281
- "id": 53202,
1281
+ "id": 53209,
1282
1282
  "nodeType": "Block",
1283
1283
  "src": "973:271:127",
1284
1284
  "statements": [
@@ -1286,11 +1286,11 @@
1286
1286
  "expression": {
1287
1287
  "arguments": [
1288
1288
  {
1289
- "id": 53193,
1289
+ "id": 53200,
1290
1290
  "name": "delegator",
1291
1291
  "nodeType": "Identifier",
1292
1292
  "overloadedDeclarations": [],
1293
- "referencedDeclaration": 53160,
1293
+ "referencedDeclaration": 53167,
1294
1294
  "src": "1103:9:127",
1295
1295
  "typeDescriptions": {
1296
1296
  "typeIdentifier": "t_address",
@@ -1301,18 +1301,18 @@
1301
1301
  "arguments": [],
1302
1302
  "expression": {
1303
1303
  "argumentTypes": [],
1304
- "id": 53194,
1304
+ "id": 53201,
1305
1305
  "name": "_msgSender",
1306
1306
  "nodeType": "Identifier",
1307
1307
  "overloadedDeclarations": [],
1308
- "referencedDeclaration": 39140,
1308
+ "referencedDeclaration": 39147,
1309
1309
  "src": "1133:10:127",
1310
1310
  "typeDescriptions": {
1311
1311
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1312
1312
  "typeString": "function () view returns (address)"
1313
1313
  }
1314
1314
  },
1315
- "id": 53195,
1315
+ "id": 53202,
1316
1316
  "isConstant": false,
1317
1317
  "isLValue": false,
1318
1318
  "isPure": false,
@@ -1329,23 +1329,23 @@
1329
1329
  }
1330
1330
  },
1331
1331
  {
1332
- "id": 53196,
1332
+ "id": 53203,
1333
1333
  "name": "systemId",
1334
1334
  "nodeType": "Identifier",
1335
1335
  "overloadedDeclarations": [],
1336
- "referencedDeclaration": 53163,
1336
+ "referencedDeclaration": 53170,
1337
1337
  "src": "1165:8:127",
1338
1338
  "typeDescriptions": {
1339
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1339
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1340
1340
  "typeString": "ResourceId"
1341
1341
  }
1342
1342
  },
1343
1343
  {
1344
- "id": 53197,
1344
+ "id": 53204,
1345
1345
  "name": "callDataHash",
1346
1346
  "nodeType": "Identifier",
1347
1347
  "overloadedDeclarations": [],
1348
- "referencedDeclaration": 53171,
1348
+ "referencedDeclaration": 53178,
1349
1349
  "src": "1197:12:127",
1350
1350
  "typeDescriptions": {
1351
1351
  "typeIdentifier": "t_bytes32",
@@ -1364,7 +1364,7 @@
1364
1364
  "typeString": "address"
1365
1365
  },
1366
1366
  {
1367
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1367
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1368
1368
  "typeString": "ResourceId"
1369
1369
  },
1370
1370
  {
@@ -1373,18 +1373,18 @@
1373
1373
  }
1374
1374
  ],
1375
1375
  "expression": {
1376
- "id": 53190,
1376
+ "id": 53197,
1377
1377
  "name": "CallboundDelegations",
1378
1378
  "nodeType": "Identifier",
1379
1379
  "overloadedDeclarations": [],
1380
- "referencedDeclaration": 55216,
1380
+ "referencedDeclaration": 55223,
1381
1381
  "src": "1048:20:127",
1382
1382
  "typeDescriptions": {
1383
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55216_$",
1383
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55223_$",
1384
1384
  "typeString": "type(library CallboundDelegations)"
1385
1385
  }
1386
1386
  },
1387
- "id": 53192,
1387
+ "id": 53199,
1388
1388
  "isConstant": false,
1389
1389
  "isLValue": false,
1390
1390
  "isPure": false,
@@ -1392,14 +1392,14 @@
1392
1392
  "memberLocation": "1069:12:127",
1393
1393
  "memberName": "deleteRecord",
1394
1394
  "nodeType": "MemberAccess",
1395
- "referencedDeclaration": 54936,
1395
+ "referencedDeclaration": 54943,
1396
1396
  "src": "1048:33:127",
1397
1397
  "typeDescriptions": {
1398
- "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26521_$_t_bytes32_$returns$__$",
1398
+ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26528_$_t_bytes32_$returns$__$",
1399
1399
  "typeString": "function (address,address,ResourceId,bytes32)"
1400
1400
  }
1401
1401
  },
1402
- "id": 53198,
1402
+ "id": 53205,
1403
1403
  "isConstant": false,
1404
1404
  "isLValue": false,
1405
1405
  "isPure": false,
@@ -1425,14 +1425,14 @@
1425
1425
  "typeString": "tuple()"
1426
1426
  }
1427
1427
  },
1428
- "id": 53199,
1428
+ "id": 53206,
1429
1429
  "nodeType": "ExpressionStatement",
1430
1430
  "src": "1048:170:127"
1431
1431
  },
1432
1432
  {
1433
1433
  "expression": {
1434
1434
  "hexValue": "74727565",
1435
- "id": 53200,
1435
+ "id": 53207,
1436
1436
  "isConstant": false,
1437
1437
  "isLValue": false,
1438
1438
  "isPure": true,
@@ -1446,8 +1446,8 @@
1446
1446
  },
1447
1447
  "value": "true"
1448
1448
  },
1449
- "functionReturnParameters": 53169,
1450
- "id": 53201,
1449
+ "functionReturnParameters": 53176,
1450
+ "id": 53208,
1451
1451
  "nodeType": "Return",
1452
1452
  "src": "1226:11:127"
1453
1453
  }
@@ -1460,17 +1460,17 @@
1460
1460
  "typeIdentifier": "t_uint256",
1461
1461
  "typeString": "uint256"
1462
1462
  },
1463
- "id": 53206,
1463
+ "id": 53213,
1464
1464
  "isConstant": false,
1465
1465
  "isLValue": false,
1466
1466
  "isPure": false,
1467
1467
  "lValueRequested": false,
1468
1468
  "leftExpression": {
1469
- "id": 53204,
1469
+ "id": 53211,
1470
1470
  "name": "availableCalls",
1471
1471
  "nodeType": "Identifier",
1472
1472
  "overloadedDeclarations": [],
1473
- "referencedDeclaration": 53177,
1473
+ "referencedDeclaration": 53184,
1474
1474
  "src": "1254:14:127",
1475
1475
  "typeDescriptions": {
1476
1476
  "typeIdentifier": "t_uint256",
@@ -1481,7 +1481,7 @@
1481
1481
  "operator": ">",
1482
1482
  "rightExpression": {
1483
1483
  "hexValue": "30",
1484
- "id": 53205,
1484
+ "id": 53212,
1485
1485
  "isConstant": false,
1486
1486
  "isLValue": false,
1487
1487
  "isPure": true,
@@ -1501,22 +1501,22 @@
1501
1501
  "typeString": "bool"
1502
1502
  }
1503
1503
  },
1504
- "id": 53225,
1504
+ "id": 53232,
1505
1505
  "nodeType": "IfStatement",
1506
1506
  "src": "1250:360:127",
1507
1507
  "trueBody": {
1508
- "id": 53224,
1508
+ "id": 53231,
1509
1509
  "nodeType": "Block",
1510
1510
  "src": "1274:336:127",
1511
1511
  "statements": [
1512
1512
  {
1513
- "id": 53210,
1513
+ "id": 53217,
1514
1514
  "nodeType": "UncheckedBlock",
1515
1515
  "src": "1331:45:127",
1516
1516
  "statements": [
1517
1517
  {
1518
1518
  "expression": {
1519
- "id": 53208,
1519
+ "id": 53215,
1520
1520
  "isConstant": false,
1521
1521
  "isLValue": false,
1522
1522
  "isPure": false,
@@ -1526,11 +1526,11 @@
1526
1526
  "prefix": false,
1527
1527
  "src": "1351:16:127",
1528
1528
  "subExpression": {
1529
- "id": 53207,
1529
+ "id": 53214,
1530
1530
  "name": "availableCalls",
1531
1531
  "nodeType": "Identifier",
1532
1532
  "overloadedDeclarations": [],
1533
- "referencedDeclaration": 53177,
1533
+ "referencedDeclaration": 53184,
1534
1534
  "src": "1351:14:127",
1535
1535
  "typeDescriptions": {
1536
1536
  "typeIdentifier": "t_uint256",
@@ -1542,7 +1542,7 @@
1542
1542
  "typeString": "uint256"
1543
1543
  }
1544
1544
  },
1545
- "id": 53209,
1545
+ "id": 53216,
1546
1546
  "nodeType": "ExpressionStatement",
1547
1547
  "src": "1351:16:127"
1548
1548
  }
@@ -1552,11 +1552,11 @@
1552
1552
  "expression": {
1553
1553
  "arguments": [
1554
1554
  {
1555
- "id": 53214,
1555
+ "id": 53221,
1556
1556
  "name": "delegator",
1557
1557
  "nodeType": "Identifier",
1558
1558
  "overloadedDeclarations": [],
1559
- "referencedDeclaration": 53160,
1559
+ "referencedDeclaration": 53167,
1560
1560
  "src": "1429:9:127",
1561
1561
  "typeDescriptions": {
1562
1562
  "typeIdentifier": "t_address",
@@ -1567,18 +1567,18 @@
1567
1567
  "arguments": [],
1568
1568
  "expression": {
1569
1569
  "argumentTypes": [],
1570
- "id": 53215,
1570
+ "id": 53222,
1571
1571
  "name": "_msgSender",
1572
1572
  "nodeType": "Identifier",
1573
1573
  "overloadedDeclarations": [],
1574
- "referencedDeclaration": 39140,
1574
+ "referencedDeclaration": 39147,
1575
1575
  "src": "1459:10:127",
1576
1576
  "typeDescriptions": {
1577
1577
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1578
1578
  "typeString": "function () view returns (address)"
1579
1579
  }
1580
1580
  },
1581
- "id": 53216,
1581
+ "id": 53223,
1582
1582
  "isConstant": false,
1583
1583
  "isLValue": false,
1584
1584
  "isPure": false,
@@ -1595,23 +1595,23 @@
1595
1595
  }
1596
1596
  },
1597
1597
  {
1598
- "id": 53217,
1598
+ "id": 53224,
1599
1599
  "name": "systemId",
1600
1600
  "nodeType": "Identifier",
1601
1601
  "overloadedDeclarations": [],
1602
- "referencedDeclaration": 53163,
1602
+ "referencedDeclaration": 53170,
1603
1603
  "src": "1491:8:127",
1604
1604
  "typeDescriptions": {
1605
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1605
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1606
1606
  "typeString": "ResourceId"
1607
1607
  }
1608
1608
  },
1609
1609
  {
1610
- "id": 53218,
1610
+ "id": 53225,
1611
1611
  "name": "callDataHash",
1612
1612
  "nodeType": "Identifier",
1613
1613
  "overloadedDeclarations": [],
1614
- "referencedDeclaration": 53171,
1614
+ "referencedDeclaration": 53178,
1615
1615
  "src": "1523:12:127",
1616
1616
  "typeDescriptions": {
1617
1617
  "typeIdentifier": "t_bytes32",
@@ -1619,11 +1619,11 @@
1619
1619
  }
1620
1620
  },
1621
1621
  {
1622
- "id": 53219,
1622
+ "id": 53226,
1623
1623
  "name": "availableCalls",
1624
1624
  "nodeType": "Identifier",
1625
1625
  "overloadedDeclarations": [],
1626
- "referencedDeclaration": 53177,
1626
+ "referencedDeclaration": 53184,
1627
1627
  "src": "1561:14:127",
1628
1628
  "typeDescriptions": {
1629
1629
  "typeIdentifier": "t_uint256",
@@ -1642,7 +1642,7 @@
1642
1642
  "typeString": "address"
1643
1643
  },
1644
1644
  {
1645
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1645
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1646
1646
  "typeString": "ResourceId"
1647
1647
  },
1648
1648
  {
@@ -1655,18 +1655,18 @@
1655
1655
  }
1656
1656
  ],
1657
1657
  "expression": {
1658
- "id": 53211,
1658
+ "id": 53218,
1659
1659
  "name": "CallboundDelegations",
1660
1660
  "nodeType": "Identifier",
1661
1661
  "overloadedDeclarations": [],
1662
- "referencedDeclaration": 55216,
1662
+ "referencedDeclaration": 55223,
1663
1663
  "src": "1383:20:127",
1664
1664
  "typeDescriptions": {
1665
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55216_$",
1665
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55223_$",
1666
1666
  "typeString": "type(library CallboundDelegations)"
1667
1667
  }
1668
1668
  },
1669
- "id": 53213,
1669
+ "id": 53220,
1670
1670
  "isConstant": false,
1671
1671
  "isLValue": false,
1672
1672
  "isPure": false,
@@ -1674,14 +1674,14 @@
1674
1674
  "memberLocation": "1404:3:127",
1675
1675
  "memberName": "set",
1676
1676
  "nodeType": "MemberAccess",
1677
- "referencedDeclaration": 54684,
1677
+ "referencedDeclaration": 54691,
1678
1678
  "src": "1383:24:127",
1679
1679
  "typeDescriptions": {
1680
- "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26521_$_t_bytes32_$_t_uint256_$returns$__$",
1680
+ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26528_$_t_bytes32_$_t_uint256_$returns$__$",
1681
1681
  "typeString": "function (address,address,ResourceId,bytes32,uint256)"
1682
1682
  }
1683
1683
  },
1684
- "id": 53220,
1684
+ "id": 53227,
1685
1685
  "isConstant": false,
1686
1686
  "isLValue": false,
1687
1687
  "isPure": false,
@@ -1709,14 +1709,14 @@
1709
1709
  "typeString": "tuple()"
1710
1710
  }
1711
1711
  },
1712
- "id": 53221,
1712
+ "id": 53228,
1713
1713
  "nodeType": "ExpressionStatement",
1714
1714
  "src": "1383:201:127"
1715
1715
  },
1716
1716
  {
1717
1717
  "expression": {
1718
1718
  "hexValue": "74727565",
1719
- "id": 53222,
1719
+ "id": 53229,
1720
1720
  "isConstant": false,
1721
1721
  "isLValue": false,
1722
1722
  "isPure": true,
@@ -1730,8 +1730,8 @@
1730
1730
  },
1731
1731
  "value": "true"
1732
1732
  },
1733
- "functionReturnParameters": 53169,
1734
- "id": 53223,
1733
+ "functionReturnParameters": 53176,
1734
+ "id": 53230,
1735
1735
  "nodeType": "Return",
1736
1736
  "src": "1592:11:127"
1737
1737
  }
@@ -1741,7 +1741,7 @@
1741
1741
  {
1742
1742
  "expression": {
1743
1743
  "hexValue": "66616c7365",
1744
- "id": 53226,
1744
+ "id": 53233,
1745
1745
  "isConstant": false,
1746
1746
  "isLValue": false,
1747
1747
  "isPure": true,
@@ -1755,18 +1755,18 @@
1755
1755
  },
1756
1756
  "value": "false"
1757
1757
  },
1758
- "functionReturnParameters": 53169,
1759
- "id": 53227,
1758
+ "functionReturnParameters": 53176,
1759
+ "id": 53234,
1760
1760
  "nodeType": "Return",
1761
1761
  "src": "1616:12:127"
1762
1762
  }
1763
1763
  ]
1764
1764
  },
1765
1765
  "baseFunctions": [
1766
- 61343
1766
+ 61350
1767
1767
  ],
1768
1768
  "documentation": {
1769
- "id": 53158,
1769
+ "id": 53165,
1770
1770
  "nodeType": "StructuredDocumentation",
1771
1771
  "src": "348:170:127",
1772
1772
  "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."
@@ -1778,17 +1778,17 @@
1778
1778
  "name": "verify",
1779
1779
  "nameLocation": "530:6:127",
1780
1780
  "parameters": {
1781
- "id": 53166,
1781
+ "id": 53173,
1782
1782
  "nodeType": "ParameterList",
1783
1783
  "parameters": [
1784
1784
  {
1785
1785
  "constant": false,
1786
- "id": 53160,
1786
+ "id": 53167,
1787
1787
  "mutability": "mutable",
1788
1788
  "name": "delegator",
1789
1789
  "nameLocation": "545:9:127",
1790
1790
  "nodeType": "VariableDeclaration",
1791
- "scope": 53229,
1791
+ "scope": 53236,
1792
1792
  "src": "537:17:127",
1793
1793
  "stateVariable": false,
1794
1794
  "storageLocation": "default",
@@ -1797,7 +1797,7 @@
1797
1797
  "typeString": "address"
1798
1798
  },
1799
1799
  "typeName": {
1800
- "id": 53159,
1800
+ "id": 53166,
1801
1801
  "name": "address",
1802
1802
  "nodeType": "ElementaryTypeName",
1803
1803
  "src": "537:7:127",
@@ -1811,36 +1811,36 @@
1811
1811
  },
1812
1812
  {
1813
1813
  "constant": false,
1814
- "id": 53163,
1814
+ "id": 53170,
1815
1815
  "mutability": "mutable",
1816
1816
  "name": "systemId",
1817
1817
  "nameLocation": "567:8:127",
1818
1818
  "nodeType": "VariableDeclaration",
1819
- "scope": 53229,
1819
+ "scope": 53236,
1820
1820
  "src": "556:19:127",
1821
1821
  "stateVariable": false,
1822
1822
  "storageLocation": "default",
1823
1823
  "typeDescriptions": {
1824
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1824
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1825
1825
  "typeString": "ResourceId"
1826
1826
  },
1827
1827
  "typeName": {
1828
- "id": 53162,
1828
+ "id": 53169,
1829
1829
  "nodeType": "UserDefinedTypeName",
1830
1830
  "pathNode": {
1831
- "id": 53161,
1831
+ "id": 53168,
1832
1832
  "name": "ResourceId",
1833
1833
  "nameLocations": [
1834
1834
  "556:10:127"
1835
1835
  ],
1836
1836
  "nodeType": "IdentifierPath",
1837
- "referencedDeclaration": 26521,
1837
+ "referencedDeclaration": 26528,
1838
1838
  "src": "556:10:127"
1839
1839
  },
1840
- "referencedDeclaration": 26521,
1840
+ "referencedDeclaration": 26528,
1841
1841
  "src": "556:10:127",
1842
1842
  "typeDescriptions": {
1843
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1843
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1844
1844
  "typeString": "ResourceId"
1845
1845
  }
1846
1846
  },
@@ -1848,12 +1848,12 @@
1848
1848
  },
1849
1849
  {
1850
1850
  "constant": false,
1851
- "id": 53165,
1851
+ "id": 53172,
1852
1852
  "mutability": "mutable",
1853
1853
  "name": "callData",
1854
1854
  "nameLocation": "590:8:127",
1855
1855
  "nodeType": "VariableDeclaration",
1856
- "scope": 53229,
1856
+ "scope": 53236,
1857
1857
  "src": "577:21:127",
1858
1858
  "stateVariable": false,
1859
1859
  "storageLocation": "memory",
@@ -1862,7 +1862,7 @@
1862
1862
  "typeString": "bytes"
1863
1863
  },
1864
1864
  "typeName": {
1865
- "id": 53164,
1865
+ "id": 53171,
1866
1866
  "name": "bytes",
1867
1867
  "nodeType": "ElementaryTypeName",
1868
1868
  "src": "577:5:127",
@@ -1877,17 +1877,17 @@
1877
1877
  "src": "536:63:127"
1878
1878
  },
1879
1879
  "returnParameters": {
1880
- "id": 53169,
1880
+ "id": 53176,
1881
1881
  "nodeType": "ParameterList",
1882
1882
  "parameters": [
1883
1883
  {
1884
1884
  "constant": false,
1885
- "id": 53168,
1885
+ "id": 53175,
1886
1886
  "mutability": "mutable",
1887
1887
  "name": "",
1888
1888
  "nameLocation": "-1:-1:-1",
1889
1889
  "nodeType": "VariableDeclaration",
1890
- "scope": 53229,
1890
+ "scope": 53236,
1891
1891
  "src": "616:4:127",
1892
1892
  "stateVariable": false,
1893
1893
  "storageLocation": "default",
@@ -1896,7 +1896,7 @@
1896
1896
  "typeString": "bool"
1897
1897
  },
1898
1898
  "typeName": {
1899
- "id": 53167,
1899
+ "id": 53174,
1900
1900
  "name": "bool",
1901
1901
  "nodeType": "ElementaryTypeName",
1902
1902
  "src": "616:4:127",
@@ -1910,18 +1910,18 @@
1910
1910
  ],
1911
1911
  "src": "615:6:127"
1912
1912
  },
1913
- "scope": 53257,
1913
+ "scope": 53264,
1914
1914
  "stateMutability": "nonpayable",
1915
1915
  "virtual": false,
1916
1916
  "visibility": "public"
1917
1917
  },
1918
1918
  {
1919
- "id": 53256,
1919
+ "id": 53263,
1920
1920
  "nodeType": "FunctionDefinition",
1921
1921
  "src": "1753:313:127",
1922
1922
  "nodes": [],
1923
1923
  "body": {
1924
- "id": 53255,
1924
+ "id": 53262,
1925
1925
  "nodeType": "Block",
1926
1926
  "src": "1865:201:127",
1927
1927
  "nodes": [],
@@ -1933,18 +1933,18 @@
1933
1933
  "arguments": [],
1934
1934
  "expression": {
1935
1935
  "argumentTypes": [],
1936
- "id": 53245,
1936
+ "id": 53252,
1937
1937
  "name": "_msgSender",
1938
1938
  "nodeType": "Identifier",
1939
1939
  "overloadedDeclarations": [],
1940
- "referencedDeclaration": 39140,
1940
+ "referencedDeclaration": 39147,
1941
1941
  "src": "1915:10:127",
1942
1942
  "typeDescriptions": {
1943
1943
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
1944
1944
  "typeString": "function () view returns (address)"
1945
1945
  }
1946
1946
  },
1947
- "id": 53246,
1947
+ "id": 53253,
1948
1948
  "isConstant": false,
1949
1949
  "isLValue": false,
1950
1950
  "isPure": false,
@@ -1961,11 +1961,11 @@
1961
1961
  }
1962
1962
  },
1963
1963
  {
1964
- "id": 53247,
1964
+ "id": 53254,
1965
1965
  "name": "delegatee",
1966
1966
  "nodeType": "Identifier",
1967
1967
  "overloadedDeclarations": [],
1968
- "referencedDeclaration": 53232,
1968
+ "referencedDeclaration": 53239,
1969
1969
  "src": "1946:9:127",
1970
1970
  "typeDescriptions": {
1971
1971
  "typeIdentifier": "t_address",
@@ -1973,25 +1973,25 @@
1973
1973
  }
1974
1974
  },
1975
1975
  {
1976
- "id": 53248,
1976
+ "id": 53255,
1977
1977
  "name": "systemId",
1978
1978
  "nodeType": "Identifier",
1979
1979
  "overloadedDeclarations": [],
1980
- "referencedDeclaration": 53235,
1980
+ "referencedDeclaration": 53242,
1981
1981
  "src": "1973:8:127",
1982
1982
  "typeDescriptions": {
1983
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
1983
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
1984
1984
  "typeString": "ResourceId"
1985
1985
  }
1986
1986
  },
1987
1987
  {
1988
1988
  "arguments": [
1989
1989
  {
1990
- "id": 53250,
1990
+ "id": 53257,
1991
1991
  "name": "callData",
1992
1992
  "nodeType": "Identifier",
1993
1993
  "overloadedDeclarations": [],
1994
- "referencedDeclaration": 53237,
1994
+ "referencedDeclaration": 53244,
1995
1995
  "src": "2013:8:127",
1996
1996
  "typeDescriptions": {
1997
1997
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -2006,7 +2006,7 @@
2006
2006
  "typeString": "bytes memory"
2007
2007
  }
2008
2008
  ],
2009
- "id": 53249,
2009
+ "id": 53256,
2010
2010
  "name": "keccak256",
2011
2011
  "nodeType": "Identifier",
2012
2012
  "overloadedDeclarations": [],
@@ -2017,7 +2017,7 @@
2017
2017
  "typeString": "function (bytes memory) pure returns (bytes32)"
2018
2018
  }
2019
2019
  },
2020
- "id": 53251,
2020
+ "id": 53258,
2021
2021
  "isConstant": false,
2022
2022
  "isLValue": false,
2023
2023
  "isPure": false,
@@ -2034,11 +2034,11 @@
2034
2034
  }
2035
2035
  },
2036
2036
  {
2037
- "id": 53252,
2037
+ "id": 53259,
2038
2038
  "name": "numCalls",
2039
2039
  "nodeType": "Identifier",
2040
2040
  "overloadedDeclarations": [],
2041
- "referencedDeclaration": 53239,
2041
+ "referencedDeclaration": 53246,
2042
2042
  "src": "2046:8:127",
2043
2043
  "typeDescriptions": {
2044
2044
  "typeIdentifier": "t_uint256",
@@ -2057,7 +2057,7 @@
2057
2057
  "typeString": "address"
2058
2058
  },
2059
2059
  {
2060
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
2060
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
2061
2061
  "typeString": "ResourceId"
2062
2062
  },
2063
2063
  {
@@ -2070,18 +2070,18 @@
2070
2070
  }
2071
2071
  ],
2072
2072
  "expression": {
2073
- "id": 53242,
2073
+ "id": 53249,
2074
2074
  "name": "CallboundDelegations",
2075
2075
  "nodeType": "Identifier",
2076
2076
  "overloadedDeclarations": [],
2077
- "referencedDeclaration": 55216,
2077
+ "referencedDeclaration": 55223,
2078
2078
  "src": "1871:20:127",
2079
2079
  "typeDescriptions": {
2080
- "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55216_$",
2080
+ "typeIdentifier": "t_type$_t_contract$_CallboundDelegations_$55223_$",
2081
2081
  "typeString": "type(library CallboundDelegations)"
2082
2082
  }
2083
2083
  },
2084
- "id": 53244,
2084
+ "id": 53251,
2085
2085
  "isConstant": false,
2086
2086
  "isLValue": false,
2087
2087
  "isPure": false,
@@ -2089,14 +2089,14 @@
2089
2089
  "memberLocation": "1892:3:127",
2090
2090
  "memberName": "set",
2091
2091
  "nodeType": "MemberAccess",
2092
- "referencedDeclaration": 54684,
2092
+ "referencedDeclaration": 54691,
2093
2093
  "src": "1871:24:127",
2094
2094
  "typeDescriptions": {
2095
- "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26521_$_t_bytes32_$_t_uint256_$returns$__$",
2095
+ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_userDefinedValueType$_ResourceId_$26528_$_t_bytes32_$_t_uint256_$returns$__$",
2096
2096
  "typeString": "function (address,address,ResourceId,bytes32,uint256)"
2097
2097
  }
2098
2098
  },
2099
- "id": 53253,
2099
+ "id": 53260,
2100
2100
  "isConstant": false,
2101
2101
  "isLValue": false,
2102
2102
  "isPure": false,
@@ -2124,14 +2124,14 @@
2124
2124
  "typeString": "tuple()"
2125
2125
  }
2126
2126
  },
2127
- "id": 53254,
2127
+ "id": 53261,
2128
2128
  "nodeType": "ExpressionStatement",
2129
2129
  "src": "1871:190:127"
2130
2130
  }
2131
2131
  ]
2132
2132
  },
2133
2133
  "documentation": {
2134
- "id": 53230,
2134
+ "id": 53237,
2135
2135
  "nodeType": "StructuredDocumentation",
2136
2136
  "src": "1637:113:127",
2137
2137
  "text": " Initialize a delegation by setting the number of available calls in the CallboundDelegations table"
@@ -2143,17 +2143,17 @@
2143
2143
  "name": "initDelegation",
2144
2144
  "nameLocation": "1762:14:127",
2145
2145
  "parameters": {
2146
- "id": 53240,
2146
+ "id": 53247,
2147
2147
  "nodeType": "ParameterList",
2148
2148
  "parameters": [
2149
2149
  {
2150
2150
  "constant": false,
2151
- "id": 53232,
2151
+ "id": 53239,
2152
2152
  "mutability": "mutable",
2153
2153
  "name": "delegatee",
2154
2154
  "nameLocation": "1785:9:127",
2155
2155
  "nodeType": "VariableDeclaration",
2156
- "scope": 53256,
2156
+ "scope": 53263,
2157
2157
  "src": "1777:17:127",
2158
2158
  "stateVariable": false,
2159
2159
  "storageLocation": "default",
@@ -2162,7 +2162,7 @@
2162
2162
  "typeString": "address"
2163
2163
  },
2164
2164
  "typeName": {
2165
- "id": 53231,
2165
+ "id": 53238,
2166
2166
  "name": "address",
2167
2167
  "nodeType": "ElementaryTypeName",
2168
2168
  "src": "1777:7:127",
@@ -2176,36 +2176,36 @@
2176
2176
  },
2177
2177
  {
2178
2178
  "constant": false,
2179
- "id": 53235,
2179
+ "id": 53242,
2180
2180
  "mutability": "mutable",
2181
2181
  "name": "systemId",
2182
2182
  "nameLocation": "1807:8:127",
2183
2183
  "nodeType": "VariableDeclaration",
2184
- "scope": 53256,
2184
+ "scope": 53263,
2185
2185
  "src": "1796:19:127",
2186
2186
  "stateVariable": false,
2187
2187
  "storageLocation": "default",
2188
2188
  "typeDescriptions": {
2189
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
2189
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
2190
2190
  "typeString": "ResourceId"
2191
2191
  },
2192
2192
  "typeName": {
2193
- "id": 53234,
2193
+ "id": 53241,
2194
2194
  "nodeType": "UserDefinedTypeName",
2195
2195
  "pathNode": {
2196
- "id": 53233,
2196
+ "id": 53240,
2197
2197
  "name": "ResourceId",
2198
2198
  "nameLocations": [
2199
2199
  "1796:10:127"
2200
2200
  ],
2201
2201
  "nodeType": "IdentifierPath",
2202
- "referencedDeclaration": 26521,
2202
+ "referencedDeclaration": 26528,
2203
2203
  "src": "1796:10:127"
2204
2204
  },
2205
- "referencedDeclaration": 26521,
2205
+ "referencedDeclaration": 26528,
2206
2206
  "src": "1796:10:127",
2207
2207
  "typeDescriptions": {
2208
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
2208
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
2209
2209
  "typeString": "ResourceId"
2210
2210
  }
2211
2211
  },
@@ -2213,12 +2213,12 @@
2213
2213
  },
2214
2214
  {
2215
2215
  "constant": false,
2216
- "id": 53237,
2216
+ "id": 53244,
2217
2217
  "mutability": "mutable",
2218
2218
  "name": "callData",
2219
2219
  "nameLocation": "1830:8:127",
2220
2220
  "nodeType": "VariableDeclaration",
2221
- "scope": 53256,
2221
+ "scope": 53263,
2222
2222
  "src": "1817:21:127",
2223
2223
  "stateVariable": false,
2224
2224
  "storageLocation": "memory",
@@ -2227,7 +2227,7 @@
2227
2227
  "typeString": "bytes"
2228
2228
  },
2229
2229
  "typeName": {
2230
- "id": 53236,
2230
+ "id": 53243,
2231
2231
  "name": "bytes",
2232
2232
  "nodeType": "ElementaryTypeName",
2233
2233
  "src": "1817:5:127",
@@ -2240,12 +2240,12 @@
2240
2240
  },
2241
2241
  {
2242
2242
  "constant": false,
2243
- "id": 53239,
2243
+ "id": 53246,
2244
2244
  "mutability": "mutable",
2245
2245
  "name": "numCalls",
2246
2246
  "nameLocation": "1848:8:127",
2247
2247
  "nodeType": "VariableDeclaration",
2248
- "scope": 53256,
2248
+ "scope": 53263,
2249
2249
  "src": "1840:16:127",
2250
2250
  "stateVariable": false,
2251
2251
  "storageLocation": "default",
@@ -2254,7 +2254,7 @@
2254
2254
  "typeString": "uint256"
2255
2255
  },
2256
2256
  "typeName": {
2257
- "id": 53238,
2257
+ "id": 53245,
2258
2258
  "name": "uint256",
2259
2259
  "nodeType": "ElementaryTypeName",
2260
2260
  "src": "1840:7:127",
@@ -2269,12 +2269,12 @@
2269
2269
  "src": "1776:81:127"
2270
2270
  },
2271
2271
  "returnParameters": {
2272
- "id": 53241,
2272
+ "id": 53248,
2273
2273
  "nodeType": "ParameterList",
2274
2274
  "parameters": [],
2275
2275
  "src": "1865:0:127"
2276
2276
  },
2277
- "scope": 53257,
2277
+ "scope": 53264,
2278
2278
  "stateMutability": "nonpayable",
2279
2279
  "virtual": false,
2280
2280
  "visibility": "public"
@@ -2284,16 +2284,16 @@
2284
2284
  "baseContracts": [
2285
2285
  {
2286
2286
  "baseName": {
2287
- "id": 53156,
2287
+ "id": 53163,
2288
2288
  "name": "DelegationControl",
2289
2289
  "nameLocations": [
2290
2290
  "326:17:127"
2291
2291
  ],
2292
2292
  "nodeType": "IdentifierPath",
2293
- "referencedDeclaration": 38980,
2293
+ "referencedDeclaration": 38987,
2294
2294
  "src": "326:17:127"
2295
2295
  },
2296
- "id": 53157,
2296
+ "id": 53164,
2297
2297
  "nodeType": "InheritanceSpecifier",
2298
2298
  "src": "326:17:127"
2299
2299
  }
@@ -2303,22 +2303,22 @@
2303
2303
  "contractKind": "contract",
2304
2304
  "fullyImplemented": true,
2305
2305
  "linearizedBaseContracts": [
2306
- 53257,
2307
- 38980,
2308
- 61344,
2309
- 39177,
2310
- 61405,
2311
- 61362
2306
+ 53264,
2307
+ 38987,
2308
+ 61351,
2309
+ 39184,
2310
+ 61412,
2311
+ 61369
2312
2312
  ],
2313
2313
  "name": "CallboundDelegationControl",
2314
2314
  "nameLocation": "296:26:127",
2315
- "scope": 53258,
2315
+ "scope": 53265,
2316
2316
  "usedErrors": [
2317
- 27097
2317
+ 27104
2318
2318
  ],
2319
2319
  "usedEvents": [
2320
- 27411,
2321
- 27436
2320
+ 27418,
2321
+ 27443
2322
2322
  ]
2323
2323
  }
2324
2324
  ],