@superfluid-finance/ethereum-contracts 1.4.1-dev.e675dbc.0 → 1.4.2-dev.e06ddfc.0

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 (115) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +28 -28
  5. package/build/contracts/AgreementLibrary.json +165 -165
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +208 -208
  8. package/build/contracts/BatchOperation.json +784 -784
  9. package/build/contracts/CFAv1Forwarder.json +2299 -2473
  10. package/build/contracts/CFAv1Library.json +2279 -2279
  11. package/build/contracts/CallUtils.json +198 -198
  12. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
  13. package/build/contracts/ConstantFlowAgreementV1.json +8579 -8423
  14. package/build/contracts/Context.json +1 -1
  15. package/build/contracts/ContextDefinitions.json +784 -784
  16. package/build/contracts/Create2.json +1 -1
  17. package/build/contracts/CustomSuperTokenBase.json +19 -19
  18. package/build/contracts/ERC165.json +1 -1
  19. package/build/contracts/ERC1820Implementer.json +1 -1
  20. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  21. package/build/contracts/ERC20.json +1 -1
  22. package/build/contracts/ERC20Burnable.json +1 -1
  23. package/build/contracts/ERC20Pausable.json +1 -1
  24. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +380 -380
  27. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  28. package/build/contracts/ERC777RecipientReverting.json +855 -855
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1545 -1545
  34. package/build/contracts/FlowOperatorDefinitions.json +784 -784
  35. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  36. package/build/contracts/IAccessControl.json +1 -1
  37. package/build/contracts/IAccessControlEnumerable.json +1 -1
  38. package/build/contracts/IConstantFlowAgreementV1.json +608 -608
  39. package/build/contracts/IDAv1Library.json +2611 -2611
  40. package/build/contracts/IERC165.json +1 -1
  41. package/build/contracts/IERC1820Implementer.json +1 -1
  42. package/build/contracts/IERC1820Registry.json +1 -1
  43. package/build/contracts/IERC20.json +1 -1
  44. package/build/contracts/IERC20Metadata.json +1 -1
  45. package/build/contracts/IERC20Permit.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +652 -652
  50. package/build/contracts/IMultiSigWallet.json +24 -24
  51. package/build/contracts/IPureSuperToken.json +47 -47
  52. package/build/contracts/IPureSuperTokenCustom.json +47 -47
  53. package/build/contracts/IRelayRecipient.json +27 -27
  54. package/build/contracts/IResolver.json +38 -38
  55. package/build/contracts/ISETH.json +52 -52
  56. package/build/contracts/ISETHCustom.json +52 -52
  57. package/build/contracts/ISuperAgreement.json +50 -50
  58. package/build/contracts/ISuperApp.json +191 -191
  59. package/build/contracts/ISuperToken.json +544 -544
  60. package/build/contracts/ISuperTokenFactory.json +166 -166
  61. package/build/contracts/ISuperfluid.json +874 -874
  62. package/build/contracts/ISuperfluidGovernance.json +254 -254
  63. package/build/contracts/ISuperfluidToken.json +395 -395
  64. package/build/contracts/ITOGAv1.json +1441 -1441
  65. package/build/contracts/ITOGAv2.json +1441 -1441
  66. package/build/contracts/Initializable.json +1 -1
  67. package/build/contracts/InstantDistributionAgreementV1.json +5893 -5893
  68. package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
  69. package/build/contracts/Ownable.json +1 -1
  70. package/build/contracts/Pausable.json +1 -1
  71. package/build/contracts/Proxy.json +1 -1
  72. package/build/contracts/PureSuperToken.json +106 -106
  73. package/build/contracts/Resolver.json +98 -98
  74. package/build/contracts/SETHProxy.json +224 -224
  75. package/build/contracts/SafeCast.json +1 -1
  76. package/build/contracts/SafeERC20.json +1 -1
  77. package/build/contracts/SafeMath.json +1 -1
  78. package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
  79. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  80. package/build/contracts/StreamRedirector.json +745 -745
  81. package/build/contracts/Strings.json +1 -1
  82. package/build/contracts/SuperAppBase.json +239 -239
  83. package/build/contracts/SuperAppDefinitions.json +784 -784
  84. package/build/contracts/SuperToken.json +2475 -2475
  85. package/build/contracts/SuperTokenFactory.json +774 -774
  86. package/build/contracts/SuperTokenFactoryBase.json +764 -764
  87. package/build/contracts/SuperTokenFactoryHelper.json +767 -767
  88. package/build/contracts/SuperUpgrader.json +437 -437
  89. package/build/contracts/Superfluid.json +5082 -5082
  90. package/build/contracts/SuperfluidErrors.json +784 -784
  91. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  92. package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
  93. package/build/contracts/SuperfluidGovernanceConfigs.json +784 -784
  94. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  95. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  96. package/build/contracts/SuperfluidLoader.json +207 -207
  97. package/build/contracts/SuperfluidToken.json +1471 -1471
  98. package/build/contracts/TOGA.json +1457 -1457
  99. package/build/contracts/TestGovernance.json +250 -250
  100. package/build/contracts/TestToken.json +93 -93
  101. package/build/contracts/TokenCustodian.json +214 -214
  102. package/build/contracts/TokenInfo.json +32 -32
  103. package/build/contracts/UUPSProxiable.json +139 -139
  104. package/build/contracts/UUPSProxy.json +81 -81
  105. package/build/contracts/UUPSUtils.json +37 -37
  106. package/build/contracts-sizes.txt +1 -1
  107. package/contracts/agreements/ConstantFlowAgreementV1.sol +8 -3
  108. package/contracts/utils/CFAv1Forwarder.sol +2 -6
  109. package/package.json +10 -6
  110. package/scripts/deploy-deterministically.js +35 -24
  111. package/scripts/deploy-framework.js +65 -38
  112. package/scripts/gov-upgrade-governance.js +87 -0
  113. package/scripts/info-print-contract-addresses.js +1 -1
  114. package/scripts/libs/common.js +2 -1
  115. package/scripts/libs/getConfig.js +1 -1
@@ -964,24 +964,24 @@
964
964
  "absolutePath": "project:/contracts/interfaces/agreements/IInstantDistributionAgreementV1.sol",
965
965
  "exportedSymbols": {
966
966
  "IInstantDistributionAgreementV1": [
967
- 18790
967
+ 18802
968
968
  ],
969
969
  "ISuperAgreement": [
970
- 19426
970
+ 19438
971
971
  ],
972
972
  "ISuperfluidToken": [
973
- 20935
973
+ 20947
974
974
  ],
975
975
  "SuperfluidErrors": [
976
- 19397
976
+ 19409
977
977
  ]
978
978
  },
979
- "id": 18791,
979
+ "id": 18803,
980
980
  "license": "AGPLv3",
981
981
  "nodeType": "SourceUnit",
982
982
  "nodes": [
983
983
  {
984
- "id": 18398,
984
+ "id": 18410,
985
985
  "literals": [
986
986
  "solidity",
987
987
  ">=",
@@ -994,20 +994,20 @@
994
994
  {
995
995
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperAgreement.sol",
996
996
  "file": "../superfluid/ISuperAgreement.sol",
997
- "id": 18400,
997
+ "id": 18412,
998
998
  "nameLocation": "-1:-1:-1",
999
999
  "nodeType": "ImportDirective",
1000
- "scope": 18791,
1001
- "sourceUnit": 19427,
1000
+ "scope": 18803,
1001
+ "sourceUnit": 19439,
1002
1002
  "src": "62:68:41",
1003
1003
  "symbolAliases": [
1004
1004
  {
1005
1005
  "foreign": {
1006
- "id": 18399,
1006
+ "id": 18411,
1007
1007
  "name": "ISuperAgreement",
1008
1008
  "nodeType": "Identifier",
1009
1009
  "overloadedDeclarations": [],
1010
- "referencedDeclaration": 19426,
1010
+ "referencedDeclaration": 19438,
1011
1011
  "src": "71:15:41",
1012
1012
  "typeDescriptions": {}
1013
1013
  },
@@ -1019,20 +1019,20 @@
1019
1019
  {
1020
1020
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
1021
1021
  "file": "../superfluid/ISuperfluidToken.sol",
1022
- "id": 18402,
1022
+ "id": 18414,
1023
1023
  "nameLocation": "-1:-1:-1",
1024
1024
  "nodeType": "ImportDirective",
1025
- "scope": 18791,
1026
- "sourceUnit": 20936,
1025
+ "scope": 18803,
1026
+ "sourceUnit": 20948,
1027
1027
  "src": "131:70:41",
1028
1028
  "symbolAliases": [
1029
1029
  {
1030
1030
  "foreign": {
1031
- "id": 18401,
1031
+ "id": 18413,
1032
1032
  "name": "ISuperfluidToken",
1033
1033
  "nodeType": "Identifier",
1034
1034
  "overloadedDeclarations": [],
1035
- "referencedDeclaration": 20935,
1035
+ "referencedDeclaration": 20947,
1036
1036
  "src": "140:16:41",
1037
1037
  "typeDescriptions": {}
1038
1038
  },
@@ -1044,20 +1044,20 @@
1044
1044
  {
1045
1045
  "absolutePath": "project:/contracts/interfaces/superfluid/Definitions.sol",
1046
1046
  "file": "../superfluid/Definitions.sol",
1047
- "id": 18404,
1047
+ "id": 18416,
1048
1048
  "nameLocation": "-1:-1:-1",
1049
1049
  "nodeType": "ImportDirective",
1050
- "scope": 18791,
1051
- "sourceUnit": 19398,
1050
+ "scope": 18803,
1051
+ "sourceUnit": 19410,
1052
1052
  "src": "202:65:41",
1053
1053
  "symbolAliases": [
1054
1054
  {
1055
1055
  "foreign": {
1056
- "id": 18403,
1056
+ "id": 18415,
1057
1057
  "name": "SuperfluidErrors",
1058
1058
  "nodeType": "Identifier",
1059
1059
  "overloadedDeclarations": [],
1060
- "referencedDeclaration": 19397,
1060
+ "referencedDeclaration": 19409,
1061
1061
  "src": "211:16:41",
1062
1062
  "typeDescriptions": {}
1063
1063
  },
@@ -1071,16 +1071,16 @@
1071
1071
  "baseContracts": [
1072
1072
  {
1073
1073
  "baseName": {
1074
- "id": 18406,
1074
+ "id": 18418,
1075
1075
  "name": "ISuperAgreement",
1076
1076
  "nameLocations": [
1077
1077
  "1903:15:41"
1078
1078
  ],
1079
1079
  "nodeType": "IdentifierPath",
1080
- "referencedDeclaration": 19426,
1080
+ "referencedDeclaration": 19438,
1081
1081
  "src": "1903:15:41"
1082
1082
  },
1083
- "id": 18407,
1083
+ "id": 18419,
1084
1084
  "nodeType": "InheritanceSpecifier",
1085
1085
  "src": "1903:15:41"
1086
1086
  }
@@ -1089,16 +1089,16 @@
1089
1089
  "contractDependencies": [],
1090
1090
  "contractKind": "contract",
1091
1091
  "documentation": {
1092
- "id": 18405,
1092
+ "id": 18417,
1093
1093
  "nodeType": "StructuredDocumentation",
1094
1094
  "src": "270:1579:41",
1095
1095
  "text": " @title Instant Distribution Agreement interface\n @author Superfluid\n @notice \n - A publisher can create as many as indices as possibly identifiable with `indexId`.\n - `indexId` is deliberately limited to 32 bits, to avoid the chance for sha-3 collision.\n Despite knowing sha-3 collision is only theoretical.\n - A publisher can create a subscription to an index for any subscriber.\n - A subscription consists of:\n - The index it subscribes to.\n - Number of units subscribed.\n - An index consists of:\n - Current value as `uint128 indexValue`.\n - Total units of the approved subscriptions as `uint128 totalUnitsApproved`.\n - Total units of the non approved subscription as `uint128 totalUnitsPending`.\n - A publisher can update an index with a new value that doesn't decrease.\n - A publisher can update a subscription with any number of units.\n - A publisher or a subscriber can delete a subscription and reset its units to zero.\n - A subscriber must approve the index in order to receive distributions from the publisher\n each time the index is updated.\n - The amount distributed is $$\\Delta{index} * units$$\n - Distributions to a non approved subscription stays in the publisher's deposit until:\n - the subscriber approves the subscription (side effect),\n - the publisher updates the subscription (side effect),\n - the subscriber deletes the subscription even if it is never approved (side effect),\n - or the subscriber can explicitly claim them."
1096
1096
  },
1097
1097
  "fullyImplemented": false,
1098
- "id": 18790,
1098
+ "id": 18802,
1099
1099
  "linearizedBaseContracts": [
1100
- 18790,
1101
- 19426
1100
+ 18802,
1101
+ 19438
1102
1102
  ],
1103
1103
  "name": "IInstantDistributionAgreementV1",
1104
1104
  "nameLocation": "1868:31:41",
@@ -1106,12 +1106,12 @@
1106
1106
  "nodes": [
1107
1107
  {
1108
1108
  "errorSelector": "cfdca725",
1109
- "id": 18409,
1109
+ "id": 18421,
1110
1110
  "name": "IDA_INDEX_SHOULD_GROW",
1111
1111
  "nameLocation": "2106:21:41",
1112
1112
  "nodeType": "ErrorDefinition",
1113
1113
  "parameters": {
1114
- "id": 18408,
1114
+ "id": 18420,
1115
1115
  "nodeType": "ParameterList",
1116
1116
  "parameters": [],
1117
1117
  "src": "2127:2:41"
@@ -1120,12 +1120,12 @@
1120
1120
  },
1121
1121
  {
1122
1122
  "errorSelector": "92da6d17",
1123
- "id": 18411,
1123
+ "id": 18423,
1124
1124
  "name": "IDA_OPERATION_NOT_ALLOWED",
1125
1125
  "nameLocation": "2180:25:41",
1126
1126
  "nodeType": "ErrorDefinition",
1127
1127
  "parameters": {
1128
- "id": 18410,
1128
+ "id": 18422,
1129
1129
  "nodeType": "ParameterList",
1130
1130
  "parameters": [],
1131
1131
  "src": "2205:2:41"
@@ -1134,10 +1134,10 @@
1134
1134
  },
1135
1135
  {
1136
1136
  "baseFunctions": [
1137
- 19408
1137
+ 19420
1138
1138
  ],
1139
1139
  "body": {
1140
- "id": 18422,
1140
+ "id": 18434,
1141
1141
  "nodeType": "Block",
1142
1142
  "src": "2371:102:41",
1143
1143
  "statements": [
@@ -1146,7 +1146,7 @@
1146
1146
  "arguments": [
1147
1147
  {
1148
1148
  "hexValue": "6f72672e7375706572666c7569642d66696e616e63652e61677265656d656e74732e496e7374616e74446973747269627574696f6e41677265656d656e742e7631",
1149
- "id": 18419,
1149
+ "id": 18431,
1150
1150
  "isConstant": false,
1151
1151
  "isLValue": false,
1152
1152
  "isPure": true,
@@ -1168,7 +1168,7 @@
1168
1168
  "typeString": "literal_string \"org.superfluid-finance.agreements.InstantDistributionAgreement.v1\""
1169
1169
  }
1170
1170
  ],
1171
- "id": 18418,
1171
+ "id": 18430,
1172
1172
  "name": "keccak256",
1173
1173
  "nodeType": "Identifier",
1174
1174
  "overloadedDeclarations": [],
@@ -1179,7 +1179,7 @@
1179
1179
  "typeString": "function (bytes memory) pure returns (bytes32)"
1180
1180
  }
1181
1181
  },
1182
- "id": 18420,
1182
+ "id": 18432,
1183
1183
  "isConstant": false,
1184
1184
  "isLValue": false,
1185
1185
  "isPure": true,
@@ -1195,21 +1195,21 @@
1195
1195
  "typeString": "bytes32"
1196
1196
  }
1197
1197
  },
1198
- "functionReturnParameters": 18417,
1199
- "id": 18421,
1198
+ "functionReturnParameters": 18429,
1199
+ "id": 18433,
1200
1200
  "nodeType": "Return",
1201
1201
  "src": "2381:85:41"
1202
1202
  }
1203
1203
  ]
1204
1204
  },
1205
1205
  "documentation": {
1206
- "id": 18412,
1206
+ "id": 18424,
1207
1207
  "nodeType": "StructuredDocumentation",
1208
1208
  "src": "2247:53:41",
1209
1209
  "text": "@dev ISuperAgreement.agreementType implementation"
1210
1210
  },
1211
1211
  "functionSelector": "7730599e",
1212
- "id": 18423,
1212
+ "id": 18435,
1213
1213
  "implemented": true,
1214
1214
  "kind": "function",
1215
1215
  "modifiers": [],
@@ -1217,29 +1217,29 @@
1217
1217
  "nameLocation": "2314:13:41",
1218
1218
  "nodeType": "FunctionDefinition",
1219
1219
  "overrides": {
1220
- "id": 18414,
1220
+ "id": 18426,
1221
1221
  "nodeType": "OverrideSpecifier",
1222
1222
  "overrides": [],
1223
1223
  "src": "2339:8:41"
1224
1224
  },
1225
1225
  "parameters": {
1226
- "id": 18413,
1226
+ "id": 18425,
1227
1227
  "nodeType": "ParameterList",
1228
1228
  "parameters": [],
1229
1229
  "src": "2327:2:41"
1230
1230
  },
1231
1231
  "returnParameters": {
1232
- "id": 18417,
1232
+ "id": 18429,
1233
1233
  "nodeType": "ParameterList",
1234
1234
  "parameters": [
1235
1235
  {
1236
1236
  "constant": false,
1237
- "id": 18416,
1237
+ "id": 18428,
1238
1238
  "mutability": "mutable",
1239
1239
  "name": "",
1240
1240
  "nameLocation": "-1:-1:-1",
1241
1241
  "nodeType": "VariableDeclaration",
1242
- "scope": 18423,
1242
+ "scope": 18435,
1243
1243
  "src": "2362:7:41",
1244
1244
  "stateVariable": false,
1245
1245
  "storageLocation": "default",
@@ -1248,7 +1248,7 @@
1248
1248
  "typeString": "bytes32"
1249
1249
  },
1250
1250
  "typeName": {
1251
- "id": 18415,
1251
+ "id": 18427,
1252
1252
  "name": "bytes32",
1253
1253
  "nodeType": "ElementaryTypeName",
1254
1254
  "src": "2362:7:41",
@@ -1262,7 +1262,7 @@
1262
1262
  ],
1263
1263
  "src": "2361:9:41"
1264
1264
  },
1265
- "scope": 18790,
1265
+ "scope": 18802,
1266
1266
  "src": "2305:168:41",
1267
1267
  "stateMutability": "pure",
1268
1268
  "virtual": false,
@@ -1270,13 +1270,13 @@
1270
1270
  },
1271
1271
  {
1272
1272
  "documentation": {
1273
- "id": 18424,
1273
+ "id": 18436,
1274
1274
  "nodeType": "StructuredDocumentation",
1275
1275
  "src": "2664:256:41",
1276
1276
  "text": " @dev Create a new index for the publisher\n @param token Super token address\n @param indexId Id of the index\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:callbacks \n None"
1277
1277
  },
1278
1278
  "functionSelector": "d787840a",
1279
- "id": 18436,
1279
+ "id": 18448,
1280
1280
  "implemented": false,
1281
1281
  "kind": "function",
1282
1282
  "modifiers": [],
@@ -1284,41 +1284,41 @@
1284
1284
  "nameLocation": "2934:11:41",
1285
1285
  "nodeType": "FunctionDefinition",
1286
1286
  "parameters": {
1287
- "id": 18432,
1287
+ "id": 18444,
1288
1288
  "nodeType": "ParameterList",
1289
1289
  "parameters": [
1290
1290
  {
1291
1291
  "constant": false,
1292
- "id": 18427,
1292
+ "id": 18439,
1293
1293
  "mutability": "mutable",
1294
1294
  "name": "token",
1295
1295
  "nameLocation": "2972:5:41",
1296
1296
  "nodeType": "VariableDeclaration",
1297
- "scope": 18436,
1297
+ "scope": 18448,
1298
1298
  "src": "2955:22:41",
1299
1299
  "stateVariable": false,
1300
1300
  "storageLocation": "default",
1301
1301
  "typeDescriptions": {
1302
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1302
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1303
1303
  "typeString": "contract ISuperfluidToken"
1304
1304
  },
1305
1305
  "typeName": {
1306
- "id": 18426,
1306
+ "id": 18438,
1307
1307
  "nodeType": "UserDefinedTypeName",
1308
1308
  "pathNode": {
1309
- "id": 18425,
1309
+ "id": 18437,
1310
1310
  "name": "ISuperfluidToken",
1311
1311
  "nameLocations": [
1312
1312
  "2955:16:41"
1313
1313
  ],
1314
1314
  "nodeType": "IdentifierPath",
1315
- "referencedDeclaration": 20935,
1315
+ "referencedDeclaration": 20947,
1316
1316
  "src": "2955:16:41"
1317
1317
  },
1318
- "referencedDeclaration": 20935,
1318
+ "referencedDeclaration": 20947,
1319
1319
  "src": "2955:16:41",
1320
1320
  "typeDescriptions": {
1321
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1321
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1322
1322
  "typeString": "contract ISuperfluidToken"
1323
1323
  }
1324
1324
  },
@@ -1326,12 +1326,12 @@
1326
1326
  },
1327
1327
  {
1328
1328
  "constant": false,
1329
- "id": 18429,
1329
+ "id": 18441,
1330
1330
  "mutability": "mutable",
1331
1331
  "name": "indexId",
1332
1332
  "nameLocation": "2994:7:41",
1333
1333
  "nodeType": "VariableDeclaration",
1334
- "scope": 18436,
1334
+ "scope": 18448,
1335
1335
  "src": "2987:14:41",
1336
1336
  "stateVariable": false,
1337
1337
  "storageLocation": "default",
@@ -1340,7 +1340,7 @@
1340
1340
  "typeString": "uint32"
1341
1341
  },
1342
1342
  "typeName": {
1343
- "id": 18428,
1343
+ "id": 18440,
1344
1344
  "name": "uint32",
1345
1345
  "nodeType": "ElementaryTypeName",
1346
1346
  "src": "2987:6:41",
@@ -1353,12 +1353,12 @@
1353
1353
  },
1354
1354
  {
1355
1355
  "constant": false,
1356
- "id": 18431,
1356
+ "id": 18443,
1357
1357
  "mutability": "mutable",
1358
1358
  "name": "ctx",
1359
1359
  "nameLocation": "3026:3:41",
1360
1360
  "nodeType": "VariableDeclaration",
1361
- "scope": 18436,
1361
+ "scope": 18448,
1362
1362
  "src": "3011:18:41",
1363
1363
  "stateVariable": false,
1364
1364
  "storageLocation": "calldata",
@@ -1367,7 +1367,7 @@
1367
1367
  "typeString": "bytes"
1368
1368
  },
1369
1369
  "typeName": {
1370
- "id": 18430,
1370
+ "id": 18442,
1371
1371
  "name": "bytes",
1372
1372
  "nodeType": "ElementaryTypeName",
1373
1373
  "src": "3011:5:41",
@@ -1382,17 +1382,17 @@
1382
1382
  "src": "2945:85:41"
1383
1383
  },
1384
1384
  "returnParameters": {
1385
- "id": 18435,
1385
+ "id": 18447,
1386
1386
  "nodeType": "ParameterList",
1387
1387
  "parameters": [
1388
1388
  {
1389
1389
  "constant": false,
1390
- "id": 18434,
1390
+ "id": 18446,
1391
1391
  "mutability": "mutable",
1392
1392
  "name": "newCtx",
1393
1393
  "nameLocation": "3105:6:41",
1394
1394
  "nodeType": "VariableDeclaration",
1395
- "scope": 18436,
1395
+ "scope": 18448,
1396
1396
  "src": "3092:19:41",
1397
1397
  "stateVariable": false,
1398
1398
  "storageLocation": "memory",
@@ -1401,7 +1401,7 @@
1401
1401
  "typeString": "bytes"
1402
1402
  },
1403
1403
  "typeName": {
1404
- "id": 18433,
1404
+ "id": 18445,
1405
1405
  "name": "bytes",
1406
1406
  "nodeType": "ElementaryTypeName",
1407
1407
  "src": "3092:5:41",
@@ -1415,7 +1415,7 @@
1415
1415
  ],
1416
1416
  "src": "3091:21:41"
1417
1417
  },
1418
- "scope": 18790,
1418
+ "scope": 18802,
1419
1419
  "src": "2925:188:41",
1420
1420
  "stateMutability": "nonpayable",
1421
1421
  "virtual": true,
@@ -1424,53 +1424,53 @@
1424
1424
  {
1425
1425
  "anonymous": false,
1426
1426
  "documentation": {
1427
- "id": 18437,
1427
+ "id": 18449,
1428
1428
  "nodeType": "StructuredDocumentation",
1429
1429
  "src": "3118:246:41",
1430
1430
  "text": " @dev Index created event\n @param token Super token address\n @param publisher Index creator and publisher\n @param indexId The specified indexId of the newly created index\n @param userData The user provided data"
1431
1431
  },
1432
1432
  "eventSelector": "01ab8663165edfb7390d9e5f75d960a66dacf4f01fa9787e3a731c870d0da921",
1433
- "id": 18448,
1433
+ "id": 18460,
1434
1434
  "name": "IndexCreated",
1435
1435
  "nameLocation": "3375:12:41",
1436
1436
  "nodeType": "EventDefinition",
1437
1437
  "parameters": {
1438
- "id": 18447,
1438
+ "id": 18459,
1439
1439
  "nodeType": "ParameterList",
1440
1440
  "parameters": [
1441
1441
  {
1442
1442
  "constant": false,
1443
- "id": 18440,
1443
+ "id": 18452,
1444
1444
  "indexed": true,
1445
1445
  "mutability": "mutable",
1446
1446
  "name": "token",
1447
1447
  "nameLocation": "3422:5:41",
1448
1448
  "nodeType": "VariableDeclaration",
1449
- "scope": 18448,
1449
+ "scope": 18460,
1450
1450
  "src": "3397:30:41",
1451
1451
  "stateVariable": false,
1452
1452
  "storageLocation": "default",
1453
1453
  "typeDescriptions": {
1454
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1454
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1455
1455
  "typeString": "contract ISuperfluidToken"
1456
1456
  },
1457
1457
  "typeName": {
1458
- "id": 18439,
1458
+ "id": 18451,
1459
1459
  "nodeType": "UserDefinedTypeName",
1460
1460
  "pathNode": {
1461
- "id": 18438,
1461
+ "id": 18450,
1462
1462
  "name": "ISuperfluidToken",
1463
1463
  "nameLocations": [
1464
1464
  "3397:16:41"
1465
1465
  ],
1466
1466
  "nodeType": "IdentifierPath",
1467
- "referencedDeclaration": 20935,
1467
+ "referencedDeclaration": 20947,
1468
1468
  "src": "3397:16:41"
1469
1469
  },
1470
- "referencedDeclaration": 20935,
1470
+ "referencedDeclaration": 20947,
1471
1471
  "src": "3397:16:41",
1472
1472
  "typeDescriptions": {
1473
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1473
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1474
1474
  "typeString": "contract ISuperfluidToken"
1475
1475
  }
1476
1476
  },
@@ -1478,13 +1478,13 @@
1478
1478
  },
1479
1479
  {
1480
1480
  "constant": false,
1481
- "id": 18442,
1481
+ "id": 18454,
1482
1482
  "indexed": true,
1483
1483
  "mutability": "mutable",
1484
1484
  "name": "publisher",
1485
1485
  "nameLocation": "3453:9:41",
1486
1486
  "nodeType": "VariableDeclaration",
1487
- "scope": 18448,
1487
+ "scope": 18460,
1488
1488
  "src": "3437:25:41",
1489
1489
  "stateVariable": false,
1490
1490
  "storageLocation": "default",
@@ -1493,7 +1493,7 @@
1493
1493
  "typeString": "address"
1494
1494
  },
1495
1495
  "typeName": {
1496
- "id": 18441,
1496
+ "id": 18453,
1497
1497
  "name": "address",
1498
1498
  "nodeType": "ElementaryTypeName",
1499
1499
  "src": "3437:7:41",
@@ -1507,13 +1507,13 @@
1507
1507
  },
1508
1508
  {
1509
1509
  "constant": false,
1510
- "id": 18444,
1510
+ "id": 18456,
1511
1511
  "indexed": true,
1512
1512
  "mutability": "mutable",
1513
1513
  "name": "indexId",
1514
1514
  "nameLocation": "3487:7:41",
1515
1515
  "nodeType": "VariableDeclaration",
1516
- "scope": 18448,
1516
+ "scope": 18460,
1517
1517
  "src": "3472:22:41",
1518
1518
  "stateVariable": false,
1519
1519
  "storageLocation": "default",
@@ -1522,7 +1522,7 @@
1522
1522
  "typeString": "uint32"
1523
1523
  },
1524
1524
  "typeName": {
1525
- "id": 18443,
1525
+ "id": 18455,
1526
1526
  "name": "uint32",
1527
1527
  "nodeType": "ElementaryTypeName",
1528
1528
  "src": "3472:6:41",
@@ -1535,13 +1535,13 @@
1535
1535
  },
1536
1536
  {
1537
1537
  "constant": false,
1538
- "id": 18446,
1538
+ "id": 18458,
1539
1539
  "indexed": false,
1540
1540
  "mutability": "mutable",
1541
1541
  "name": "userData",
1542
1542
  "nameLocation": "3510:8:41",
1543
1543
  "nodeType": "VariableDeclaration",
1544
- "scope": 18448,
1544
+ "scope": 18460,
1545
1545
  "src": "3504:14:41",
1546
1546
  "stateVariable": false,
1547
1547
  "storageLocation": "default",
@@ -1550,7 +1550,7 @@
1550
1550
  "typeString": "bytes"
1551
1551
  },
1552
1552
  "typeName": {
1553
- "id": 18445,
1553
+ "id": 18457,
1554
1554
  "name": "bytes",
1555
1555
  "nodeType": "ElementaryTypeName",
1556
1556
  "src": "3504:5:41",
@@ -1568,13 +1568,13 @@
1568
1568
  },
1569
1569
  {
1570
1570
  "documentation": {
1571
- "id": 18449,
1571
+ "id": 18461,
1572
1572
  "nodeType": "StructuredDocumentation",
1573
1573
  "src": "3526:418:41",
1574
1574
  "text": " @dev Query the data of a index\n @param token Super token address\n @param publisher The publisher of the index\n @param indexId Id of the index\n @return exist Does the index exist\n @return indexValue Value of the current index\n @return totalUnitsApproved Total units approved for the index\n @return totalUnitsPending Total units pending approval for the index"
1575
1575
  },
1576
1576
  "functionSelector": "23fc23f3",
1577
- "id": 18467,
1577
+ "id": 18479,
1578
1578
  "implemented": false,
1579
1579
  "kind": "function",
1580
1580
  "modifiers": [],
@@ -1582,41 +1582,41 @@
1582
1582
  "nameLocation": "3958:8:41",
1583
1583
  "nodeType": "FunctionDefinition",
1584
1584
  "parameters": {
1585
- "id": 18457,
1585
+ "id": 18469,
1586
1586
  "nodeType": "ParameterList",
1587
1587
  "parameters": [
1588
1588
  {
1589
1589
  "constant": false,
1590
- "id": 18452,
1590
+ "id": 18464,
1591
1591
  "mutability": "mutable",
1592
1592
  "name": "token",
1593
1593
  "nameLocation": "3993:5:41",
1594
1594
  "nodeType": "VariableDeclaration",
1595
- "scope": 18467,
1595
+ "scope": 18479,
1596
1596
  "src": "3976:22:41",
1597
1597
  "stateVariable": false,
1598
1598
  "storageLocation": "default",
1599
1599
  "typeDescriptions": {
1600
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1600
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1601
1601
  "typeString": "contract ISuperfluidToken"
1602
1602
  },
1603
1603
  "typeName": {
1604
- "id": 18451,
1604
+ "id": 18463,
1605
1605
  "nodeType": "UserDefinedTypeName",
1606
1606
  "pathNode": {
1607
- "id": 18450,
1607
+ "id": 18462,
1608
1608
  "name": "ISuperfluidToken",
1609
1609
  "nameLocations": [
1610
1610
  "3976:16:41"
1611
1611
  ],
1612
1612
  "nodeType": "IdentifierPath",
1613
- "referencedDeclaration": 20935,
1613
+ "referencedDeclaration": 20947,
1614
1614
  "src": "3976:16:41"
1615
1615
  },
1616
- "referencedDeclaration": 20935,
1616
+ "referencedDeclaration": 20947,
1617
1617
  "src": "3976:16:41",
1618
1618
  "typeDescriptions": {
1619
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1619
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1620
1620
  "typeString": "contract ISuperfluidToken"
1621
1621
  }
1622
1622
  },
@@ -1624,12 +1624,12 @@
1624
1624
  },
1625
1625
  {
1626
1626
  "constant": false,
1627
- "id": 18454,
1627
+ "id": 18466,
1628
1628
  "mutability": "mutable",
1629
1629
  "name": "publisher",
1630
1630
  "nameLocation": "4016:9:41",
1631
1631
  "nodeType": "VariableDeclaration",
1632
- "scope": 18467,
1632
+ "scope": 18479,
1633
1633
  "src": "4008:17:41",
1634
1634
  "stateVariable": false,
1635
1635
  "storageLocation": "default",
@@ -1638,7 +1638,7 @@
1638
1638
  "typeString": "address"
1639
1639
  },
1640
1640
  "typeName": {
1641
- "id": 18453,
1641
+ "id": 18465,
1642
1642
  "name": "address",
1643
1643
  "nodeType": "ElementaryTypeName",
1644
1644
  "src": "4008:7:41",
@@ -1652,12 +1652,12 @@
1652
1652
  },
1653
1653
  {
1654
1654
  "constant": false,
1655
- "id": 18456,
1655
+ "id": 18468,
1656
1656
  "mutability": "mutable",
1657
1657
  "name": "indexId",
1658
1658
  "nameLocation": "4042:7:41",
1659
1659
  "nodeType": "VariableDeclaration",
1660
- "scope": 18467,
1660
+ "scope": 18479,
1661
1661
  "src": "4035:14:41",
1662
1662
  "stateVariable": false,
1663
1663
  "storageLocation": "default",
@@ -1666,7 +1666,7 @@
1666
1666
  "typeString": "uint32"
1667
1667
  },
1668
1668
  "typeName": {
1669
- "id": 18455,
1669
+ "id": 18467,
1670
1670
  "name": "uint32",
1671
1671
  "nodeType": "ElementaryTypeName",
1672
1672
  "src": "4035:6:41",
@@ -1681,17 +1681,17 @@
1681
1681
  "src": "3966:84:41"
1682
1682
  },
1683
1683
  "returnParameters": {
1684
- "id": 18466,
1684
+ "id": 18478,
1685
1685
  "nodeType": "ParameterList",
1686
1686
  "parameters": [
1687
1687
  {
1688
1688
  "constant": false,
1689
- "id": 18459,
1689
+ "id": 18471,
1690
1690
  "mutability": "mutable",
1691
1691
  "name": "exist",
1692
1692
  "nameLocation": "4151:5:41",
1693
1693
  "nodeType": "VariableDeclaration",
1694
- "scope": 18467,
1694
+ "scope": 18479,
1695
1695
  "src": "4146:10:41",
1696
1696
  "stateVariable": false,
1697
1697
  "storageLocation": "default",
@@ -1700,7 +1700,7 @@
1700
1700
  "typeString": "bool"
1701
1701
  },
1702
1702
  "typeName": {
1703
- "id": 18458,
1703
+ "id": 18470,
1704
1704
  "name": "bool",
1705
1705
  "nodeType": "ElementaryTypeName",
1706
1706
  "src": "4146:4:41",
@@ -1713,12 +1713,12 @@
1713
1713
  },
1714
1714
  {
1715
1715
  "constant": false,
1716
- "id": 18461,
1716
+ "id": 18473,
1717
1717
  "mutability": "mutable",
1718
1718
  "name": "indexValue",
1719
1719
  "nameLocation": "4182:10:41",
1720
1720
  "nodeType": "VariableDeclaration",
1721
- "scope": 18467,
1721
+ "scope": 18479,
1722
1722
  "src": "4174:18:41",
1723
1723
  "stateVariable": false,
1724
1724
  "storageLocation": "default",
@@ -1727,7 +1727,7 @@
1727
1727
  "typeString": "uint128"
1728
1728
  },
1729
1729
  "typeName": {
1730
- "id": 18460,
1730
+ "id": 18472,
1731
1731
  "name": "uint128",
1732
1732
  "nodeType": "ElementaryTypeName",
1733
1733
  "src": "4174:7:41",
@@ -1740,12 +1740,12 @@
1740
1740
  },
1741
1741
  {
1742
1742
  "constant": false,
1743
- "id": 18463,
1743
+ "id": 18475,
1744
1744
  "mutability": "mutable",
1745
1745
  "name": "totalUnitsApproved",
1746
1746
  "nameLocation": "4218:18:41",
1747
1747
  "nodeType": "VariableDeclaration",
1748
- "scope": 18467,
1748
+ "scope": 18479,
1749
1749
  "src": "4210:26:41",
1750
1750
  "stateVariable": false,
1751
1751
  "storageLocation": "default",
@@ -1754,7 +1754,7 @@
1754
1754
  "typeString": "uint128"
1755
1755
  },
1756
1756
  "typeName": {
1757
- "id": 18462,
1757
+ "id": 18474,
1758
1758
  "name": "uint128",
1759
1759
  "nodeType": "ElementaryTypeName",
1760
1760
  "src": "4210:7:41",
@@ -1767,12 +1767,12 @@
1767
1767
  },
1768
1768
  {
1769
1769
  "constant": false,
1770
- "id": 18465,
1770
+ "id": 18477,
1771
1771
  "mutability": "mutable",
1772
1772
  "name": "totalUnitsPending",
1773
1773
  "nameLocation": "4262:17:41",
1774
1774
  "nodeType": "VariableDeclaration",
1775
- "scope": 18467,
1775
+ "scope": 18479,
1776
1776
  "src": "4254:25:41",
1777
1777
  "stateVariable": false,
1778
1778
  "storageLocation": "default",
@@ -1781,7 +1781,7 @@
1781
1781
  "typeString": "uint128"
1782
1782
  },
1783
1783
  "typeName": {
1784
- "id": 18464,
1784
+ "id": 18476,
1785
1785
  "name": "uint128",
1786
1786
  "nodeType": "ElementaryTypeName",
1787
1787
  "src": "4254:7:41",
@@ -1795,7 +1795,7 @@
1795
1795
  ],
1796
1796
  "src": "4128:152:41"
1797
1797
  },
1798
- "scope": 18790,
1798
+ "scope": 18802,
1799
1799
  "src": "3949:332:41",
1800
1800
  "stateMutability": "view",
1801
1801
  "virtual": true,
@@ -1803,13 +1803,13 @@
1803
1803
  },
1804
1804
  {
1805
1805
  "documentation": {
1806
- "id": 18468,
1806
+ "id": 18480,
1807
1807
  "nodeType": "StructuredDocumentation",
1808
1808
  "src": "4287:446:41",
1809
1809
  "text": " @dev Calculate actual distribution amount\n @param token Super token address\n @param publisher The publisher of the index\n @param indexId Id of the index\n @param amount The amount of tokens desired to be distributed\n @return actualAmount The amount to be distributed after ensuring no rounding errors\n @return newIndexValue The index value given the desired amount of tokens to be distributed"
1810
1810
  },
1811
1811
  "functionSelector": "899baaec",
1812
- "id": 18484,
1812
+ "id": 18496,
1813
1813
  "implemented": false,
1814
1814
  "kind": "function",
1815
1815
  "modifiers": [],
@@ -1817,41 +1817,41 @@
1817
1817
  "nameLocation": "4747:21:41",
1818
1818
  "nodeType": "FunctionDefinition",
1819
1819
  "parameters": {
1820
- "id": 18478,
1820
+ "id": 18490,
1821
1821
  "nodeType": "ParameterList",
1822
1822
  "parameters": [
1823
1823
  {
1824
1824
  "constant": false,
1825
- "id": 18471,
1825
+ "id": 18483,
1826
1826
  "mutability": "mutable",
1827
1827
  "name": "token",
1828
1828
  "nameLocation": "4794:5:41",
1829
1829
  "nodeType": "VariableDeclaration",
1830
- "scope": 18484,
1830
+ "scope": 18496,
1831
1831
  "src": "4777:22:41",
1832
1832
  "stateVariable": false,
1833
1833
  "storageLocation": "default",
1834
1834
  "typeDescriptions": {
1835
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1835
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1836
1836
  "typeString": "contract ISuperfluidToken"
1837
1837
  },
1838
1838
  "typeName": {
1839
- "id": 18470,
1839
+ "id": 18482,
1840
1840
  "nodeType": "UserDefinedTypeName",
1841
1841
  "pathNode": {
1842
- "id": 18469,
1842
+ "id": 18481,
1843
1843
  "name": "ISuperfluidToken",
1844
1844
  "nameLocations": [
1845
1845
  "4777:16:41"
1846
1846
  ],
1847
1847
  "nodeType": "IdentifierPath",
1848
- "referencedDeclaration": 20935,
1848
+ "referencedDeclaration": 20947,
1849
1849
  "src": "4777:16:41"
1850
1850
  },
1851
- "referencedDeclaration": 20935,
1851
+ "referencedDeclaration": 20947,
1852
1852
  "src": "4777:16:41",
1853
1853
  "typeDescriptions": {
1854
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
1854
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
1855
1855
  "typeString": "contract ISuperfluidToken"
1856
1856
  }
1857
1857
  },
@@ -1859,12 +1859,12 @@
1859
1859
  },
1860
1860
  {
1861
1861
  "constant": false,
1862
- "id": 18473,
1862
+ "id": 18485,
1863
1863
  "mutability": "mutable",
1864
1864
  "name": "publisher",
1865
1865
  "nameLocation": "4816:9:41",
1866
1866
  "nodeType": "VariableDeclaration",
1867
- "scope": 18484,
1867
+ "scope": 18496,
1868
1868
  "src": "4808:17:41",
1869
1869
  "stateVariable": false,
1870
1870
  "storageLocation": "default",
@@ -1873,7 +1873,7 @@
1873
1873
  "typeString": "address"
1874
1874
  },
1875
1875
  "typeName": {
1876
- "id": 18472,
1876
+ "id": 18484,
1877
1877
  "name": "address",
1878
1878
  "nodeType": "ElementaryTypeName",
1879
1879
  "src": "4808:7:41",
@@ -1887,12 +1887,12 @@
1887
1887
  },
1888
1888
  {
1889
1889
  "constant": false,
1890
- "id": 18475,
1890
+ "id": 18487,
1891
1891
  "mutability": "mutable",
1892
1892
  "name": "indexId",
1893
1893
  "nameLocation": "4841:7:41",
1894
1894
  "nodeType": "VariableDeclaration",
1895
- "scope": 18484,
1895
+ "scope": 18496,
1896
1896
  "src": "4834:14:41",
1897
1897
  "stateVariable": false,
1898
1898
  "storageLocation": "default",
@@ -1901,7 +1901,7 @@
1901
1901
  "typeString": "uint32"
1902
1902
  },
1903
1903
  "typeName": {
1904
- "id": 18474,
1904
+ "id": 18486,
1905
1905
  "name": "uint32",
1906
1906
  "nodeType": "ElementaryTypeName",
1907
1907
  "src": "4834:6:41",
@@ -1914,12 +1914,12 @@
1914
1914
  },
1915
1915
  {
1916
1916
  "constant": false,
1917
- "id": 18477,
1917
+ "id": 18489,
1918
1918
  "mutability": "mutable",
1919
1919
  "name": "amount",
1920
1920
  "nameLocation": "4865:6:41",
1921
1921
  "nodeType": "VariableDeclaration",
1922
- "scope": 18484,
1922
+ "scope": 18496,
1923
1923
  "src": "4857:14:41",
1924
1924
  "stateVariable": false,
1925
1925
  "storageLocation": "default",
@@ -1928,7 +1928,7 @@
1928
1928
  "typeString": "uint256"
1929
1929
  },
1930
1930
  "typeName": {
1931
- "id": 18476,
1931
+ "id": 18488,
1932
1932
  "name": "uint256",
1933
1933
  "nodeType": "ElementaryTypeName",
1934
1934
  "src": "4857:7:41",
@@ -1943,17 +1943,17 @@
1943
1943
  "src": "4768:104:41"
1944
1944
  },
1945
1945
  "returnParameters": {
1946
- "id": 18483,
1946
+ "id": 18495,
1947
1947
  "nodeType": "ParameterList",
1948
1948
  "parameters": [
1949
1949
  {
1950
1950
  "constant": false,
1951
- "id": 18480,
1951
+ "id": 18492,
1952
1952
  "mutability": "mutable",
1953
1953
  "name": "actualAmount",
1954
1954
  "nameLocation": "4960:12:41",
1955
1955
  "nodeType": "VariableDeclaration",
1956
- "scope": 18484,
1956
+ "scope": 18496,
1957
1957
  "src": "4952:20:41",
1958
1958
  "stateVariable": false,
1959
1959
  "storageLocation": "default",
@@ -1962,7 +1962,7 @@
1962
1962
  "typeString": "uint256"
1963
1963
  },
1964
1964
  "typeName": {
1965
- "id": 18479,
1965
+ "id": 18491,
1966
1966
  "name": "uint256",
1967
1967
  "nodeType": "ElementaryTypeName",
1968
1968
  "src": "4952:7:41",
@@ -1975,12 +1975,12 @@
1975
1975
  },
1976
1976
  {
1977
1977
  "constant": false,
1978
- "id": 18482,
1978
+ "id": 18494,
1979
1979
  "mutability": "mutable",
1980
1980
  "name": "newIndexValue",
1981
1981
  "nameLocation": "4997:13:41",
1982
1982
  "nodeType": "VariableDeclaration",
1983
- "scope": 18484,
1983
+ "scope": 18496,
1984
1984
  "src": "4989:21:41",
1985
1985
  "stateVariable": false,
1986
1986
  "storageLocation": "default",
@@ -1989,7 +1989,7 @@
1989
1989
  "typeString": "uint128"
1990
1990
  },
1991
1991
  "typeName": {
1992
- "id": 18481,
1992
+ "id": 18493,
1993
1993
  "name": "uint128",
1994
1994
  "nodeType": "ElementaryTypeName",
1995
1995
  "src": "4989:7:41",
@@ -2003,7 +2003,7 @@
2003
2003
  ],
2004
2004
  "src": "4935:76:41"
2005
2005
  },
2006
- "scope": 18790,
2006
+ "scope": 18802,
2007
2007
  "src": "4738:274:41",
2008
2008
  "stateMutability": "view",
2009
2009
  "virtual": true,
@@ -2011,13 +2011,13 @@
2011
2011
  },
2012
2012
  {
2013
2013
  "documentation": {
2014
- "id": 18485,
2014
+ "id": 18497,
2015
2015
  "nodeType": "StructuredDocumentation",
2016
2016
  "src": "5018:294:41",
2017
2017
  "text": " @dev Update index value of an index\n @param token Super token address\n @param indexId Id of the index\n @param indexValue Value of the index\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:callbacks \n None"
2018
2018
  },
2019
2019
  "functionSelector": "7fbc7639",
2020
- "id": 18499,
2020
+ "id": 18511,
2021
2021
  "implemented": false,
2022
2022
  "kind": "function",
2023
2023
  "modifiers": [],
@@ -2025,41 +2025,41 @@
2025
2025
  "nameLocation": "5326:11:41",
2026
2026
  "nodeType": "FunctionDefinition",
2027
2027
  "parameters": {
2028
- "id": 18495,
2028
+ "id": 18507,
2029
2029
  "nodeType": "ParameterList",
2030
2030
  "parameters": [
2031
2031
  {
2032
2032
  "constant": false,
2033
- "id": 18488,
2033
+ "id": 18500,
2034
2034
  "mutability": "mutable",
2035
2035
  "name": "token",
2036
2036
  "nameLocation": "5364:5:41",
2037
2037
  "nodeType": "VariableDeclaration",
2038
- "scope": 18499,
2038
+ "scope": 18511,
2039
2039
  "src": "5347:22:41",
2040
2040
  "stateVariable": false,
2041
2041
  "storageLocation": "default",
2042
2042
  "typeDescriptions": {
2043
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2043
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2044
2044
  "typeString": "contract ISuperfluidToken"
2045
2045
  },
2046
2046
  "typeName": {
2047
- "id": 18487,
2047
+ "id": 18499,
2048
2048
  "nodeType": "UserDefinedTypeName",
2049
2049
  "pathNode": {
2050
- "id": 18486,
2050
+ "id": 18498,
2051
2051
  "name": "ISuperfluidToken",
2052
2052
  "nameLocations": [
2053
2053
  "5347:16:41"
2054
2054
  ],
2055
2055
  "nodeType": "IdentifierPath",
2056
- "referencedDeclaration": 20935,
2056
+ "referencedDeclaration": 20947,
2057
2057
  "src": "5347:16:41"
2058
2058
  },
2059
- "referencedDeclaration": 20935,
2059
+ "referencedDeclaration": 20947,
2060
2060
  "src": "5347:16:41",
2061
2061
  "typeDescriptions": {
2062
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2062
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2063
2063
  "typeString": "contract ISuperfluidToken"
2064
2064
  }
2065
2065
  },
@@ -2067,12 +2067,12 @@
2067
2067
  },
2068
2068
  {
2069
2069
  "constant": false,
2070
- "id": 18490,
2070
+ "id": 18502,
2071
2071
  "mutability": "mutable",
2072
2072
  "name": "indexId",
2073
2073
  "nameLocation": "5386:7:41",
2074
2074
  "nodeType": "VariableDeclaration",
2075
- "scope": 18499,
2075
+ "scope": 18511,
2076
2076
  "src": "5379:14:41",
2077
2077
  "stateVariable": false,
2078
2078
  "storageLocation": "default",
@@ -2081,7 +2081,7 @@
2081
2081
  "typeString": "uint32"
2082
2082
  },
2083
2083
  "typeName": {
2084
- "id": 18489,
2084
+ "id": 18501,
2085
2085
  "name": "uint32",
2086
2086
  "nodeType": "ElementaryTypeName",
2087
2087
  "src": "5379:6:41",
@@ -2094,12 +2094,12 @@
2094
2094
  },
2095
2095
  {
2096
2096
  "constant": false,
2097
- "id": 18492,
2097
+ "id": 18504,
2098
2098
  "mutability": "mutable",
2099
2099
  "name": "indexValue",
2100
2100
  "nameLocation": "5411:10:41",
2101
2101
  "nodeType": "VariableDeclaration",
2102
- "scope": 18499,
2102
+ "scope": 18511,
2103
2103
  "src": "5403:18:41",
2104
2104
  "stateVariable": false,
2105
2105
  "storageLocation": "default",
@@ -2108,7 +2108,7 @@
2108
2108
  "typeString": "uint128"
2109
2109
  },
2110
2110
  "typeName": {
2111
- "id": 18491,
2111
+ "id": 18503,
2112
2112
  "name": "uint128",
2113
2113
  "nodeType": "ElementaryTypeName",
2114
2114
  "src": "5403:7:41",
@@ -2121,12 +2121,12 @@
2121
2121
  },
2122
2122
  {
2123
2123
  "constant": false,
2124
- "id": 18494,
2124
+ "id": 18506,
2125
2125
  "mutability": "mutable",
2126
2126
  "name": "ctx",
2127
2127
  "nameLocation": "5446:3:41",
2128
2128
  "nodeType": "VariableDeclaration",
2129
- "scope": 18499,
2129
+ "scope": 18511,
2130
2130
  "src": "5431:18:41",
2131
2131
  "stateVariable": false,
2132
2132
  "storageLocation": "calldata",
@@ -2135,7 +2135,7 @@
2135
2135
  "typeString": "bytes"
2136
2136
  },
2137
2137
  "typeName": {
2138
- "id": 18493,
2138
+ "id": 18505,
2139
2139
  "name": "bytes",
2140
2140
  "nodeType": "ElementaryTypeName",
2141
2141
  "src": "5431:5:41",
@@ -2150,17 +2150,17 @@
2150
2150
  "src": "5337:113:41"
2151
2151
  },
2152
2152
  "returnParameters": {
2153
- "id": 18498,
2153
+ "id": 18510,
2154
2154
  "nodeType": "ParameterList",
2155
2155
  "parameters": [
2156
2156
  {
2157
2157
  "constant": false,
2158
- "id": 18497,
2158
+ "id": 18509,
2159
2159
  "mutability": "mutable",
2160
2160
  "name": "newCtx",
2161
2161
  "nameLocation": "5525:6:41",
2162
2162
  "nodeType": "VariableDeclaration",
2163
- "scope": 18499,
2163
+ "scope": 18511,
2164
2164
  "src": "5512:19:41",
2165
2165
  "stateVariable": false,
2166
2166
  "storageLocation": "memory",
@@ -2169,7 +2169,7 @@
2169
2169
  "typeString": "bytes"
2170
2170
  },
2171
2171
  "typeName": {
2172
- "id": 18496,
2172
+ "id": 18508,
2173
2173
  "name": "bytes",
2174
2174
  "nodeType": "ElementaryTypeName",
2175
2175
  "src": "5512:5:41",
@@ -2183,7 +2183,7 @@
2183
2183
  ],
2184
2184
  "src": "5511:21:41"
2185
2185
  },
2186
- "scope": 18790,
2186
+ "scope": 18802,
2187
2187
  "src": "5317:216:41",
2188
2188
  "stateMutability": "nonpayable",
2189
2189
  "virtual": true,
@@ -2192,53 +2192,53 @@
2192
2192
  {
2193
2193
  "anonymous": false,
2194
2194
  "documentation": {
2195
- "id": 18500,
2195
+ "id": 18512,
2196
2196
  "nodeType": "StructuredDocumentation",
2197
2197
  "src": "5538:539:41",
2198
2198
  "text": " @dev Index updated event\n @param token Super token address\n @param publisher Index updater and publisher\n @param indexId The specified indexId of the updated index\n @param oldIndexValue The previous index value\n @param newIndexValue The updated index value\n @param totalUnitsPending The total units pending when the indexValue was updated\n @param totalUnitsApproved The total units approved when the indexValue was updated\n @param userData The user provided data"
2199
2199
  },
2200
2200
  "eventSelector": "81e37f3d9f16cbf29a62d6a1c21d79b23ef29b54124ec44af43a50fffb9304f3",
2201
- "id": 18519,
2201
+ "id": 18531,
2202
2202
  "name": "IndexUpdated",
2203
2203
  "nameLocation": "6088:12:41",
2204
2204
  "nodeType": "EventDefinition",
2205
2205
  "parameters": {
2206
- "id": 18518,
2206
+ "id": 18530,
2207
2207
  "nodeType": "ParameterList",
2208
2208
  "parameters": [
2209
2209
  {
2210
2210
  "constant": false,
2211
- "id": 18503,
2211
+ "id": 18515,
2212
2212
  "indexed": true,
2213
2213
  "mutability": "mutable",
2214
2214
  "name": "token",
2215
2215
  "nameLocation": "6135:5:41",
2216
2216
  "nodeType": "VariableDeclaration",
2217
- "scope": 18519,
2217
+ "scope": 18531,
2218
2218
  "src": "6110:30:41",
2219
2219
  "stateVariable": false,
2220
2220
  "storageLocation": "default",
2221
2221
  "typeDescriptions": {
2222
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2222
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2223
2223
  "typeString": "contract ISuperfluidToken"
2224
2224
  },
2225
2225
  "typeName": {
2226
- "id": 18502,
2226
+ "id": 18514,
2227
2227
  "nodeType": "UserDefinedTypeName",
2228
2228
  "pathNode": {
2229
- "id": 18501,
2229
+ "id": 18513,
2230
2230
  "name": "ISuperfluidToken",
2231
2231
  "nameLocations": [
2232
2232
  "6110:16:41"
2233
2233
  ],
2234
2234
  "nodeType": "IdentifierPath",
2235
- "referencedDeclaration": 20935,
2235
+ "referencedDeclaration": 20947,
2236
2236
  "src": "6110:16:41"
2237
2237
  },
2238
- "referencedDeclaration": 20935,
2238
+ "referencedDeclaration": 20947,
2239
2239
  "src": "6110:16:41",
2240
2240
  "typeDescriptions": {
2241
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2241
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2242
2242
  "typeString": "contract ISuperfluidToken"
2243
2243
  }
2244
2244
  },
@@ -2246,13 +2246,13 @@
2246
2246
  },
2247
2247
  {
2248
2248
  "constant": false,
2249
- "id": 18505,
2249
+ "id": 18517,
2250
2250
  "indexed": true,
2251
2251
  "mutability": "mutable",
2252
2252
  "name": "publisher",
2253
2253
  "nameLocation": "6166:9:41",
2254
2254
  "nodeType": "VariableDeclaration",
2255
- "scope": 18519,
2255
+ "scope": 18531,
2256
2256
  "src": "6150:25:41",
2257
2257
  "stateVariable": false,
2258
2258
  "storageLocation": "default",
@@ -2261,7 +2261,7 @@
2261
2261
  "typeString": "address"
2262
2262
  },
2263
2263
  "typeName": {
2264
- "id": 18504,
2264
+ "id": 18516,
2265
2265
  "name": "address",
2266
2266
  "nodeType": "ElementaryTypeName",
2267
2267
  "src": "6150:7:41",
@@ -2275,13 +2275,13 @@
2275
2275
  },
2276
2276
  {
2277
2277
  "constant": false,
2278
- "id": 18507,
2278
+ "id": 18519,
2279
2279
  "indexed": true,
2280
2280
  "mutability": "mutable",
2281
2281
  "name": "indexId",
2282
2282
  "nameLocation": "6200:7:41",
2283
2283
  "nodeType": "VariableDeclaration",
2284
- "scope": 18519,
2284
+ "scope": 18531,
2285
2285
  "src": "6185:22:41",
2286
2286
  "stateVariable": false,
2287
2287
  "storageLocation": "default",
@@ -2290,7 +2290,7 @@
2290
2290
  "typeString": "uint32"
2291
2291
  },
2292
2292
  "typeName": {
2293
- "id": 18506,
2293
+ "id": 18518,
2294
2294
  "name": "uint32",
2295
2295
  "nodeType": "ElementaryTypeName",
2296
2296
  "src": "6185:6:41",
@@ -2303,13 +2303,13 @@
2303
2303
  },
2304
2304
  {
2305
2305
  "constant": false,
2306
- "id": 18509,
2306
+ "id": 18521,
2307
2307
  "indexed": false,
2308
2308
  "mutability": "mutable",
2309
2309
  "name": "oldIndexValue",
2310
2310
  "nameLocation": "6225:13:41",
2311
2311
  "nodeType": "VariableDeclaration",
2312
- "scope": 18519,
2312
+ "scope": 18531,
2313
2313
  "src": "6217:21:41",
2314
2314
  "stateVariable": false,
2315
2315
  "storageLocation": "default",
@@ -2318,7 +2318,7 @@
2318
2318
  "typeString": "uint128"
2319
2319
  },
2320
2320
  "typeName": {
2321
- "id": 18508,
2321
+ "id": 18520,
2322
2322
  "name": "uint128",
2323
2323
  "nodeType": "ElementaryTypeName",
2324
2324
  "src": "6217:7:41",
@@ -2331,13 +2331,13 @@
2331
2331
  },
2332
2332
  {
2333
2333
  "constant": false,
2334
- "id": 18511,
2334
+ "id": 18523,
2335
2335
  "indexed": false,
2336
2336
  "mutability": "mutable",
2337
2337
  "name": "newIndexValue",
2338
2338
  "nameLocation": "6256:13:41",
2339
2339
  "nodeType": "VariableDeclaration",
2340
- "scope": 18519,
2340
+ "scope": 18531,
2341
2341
  "src": "6248:21:41",
2342
2342
  "stateVariable": false,
2343
2343
  "storageLocation": "default",
@@ -2346,7 +2346,7 @@
2346
2346
  "typeString": "uint128"
2347
2347
  },
2348
2348
  "typeName": {
2349
- "id": 18510,
2349
+ "id": 18522,
2350
2350
  "name": "uint128",
2351
2351
  "nodeType": "ElementaryTypeName",
2352
2352
  "src": "6248:7:41",
@@ -2359,13 +2359,13 @@
2359
2359
  },
2360
2360
  {
2361
2361
  "constant": false,
2362
- "id": 18513,
2362
+ "id": 18525,
2363
2363
  "indexed": false,
2364
2364
  "mutability": "mutable",
2365
2365
  "name": "totalUnitsPending",
2366
2366
  "nameLocation": "6287:17:41",
2367
2367
  "nodeType": "VariableDeclaration",
2368
- "scope": 18519,
2368
+ "scope": 18531,
2369
2369
  "src": "6279:25:41",
2370
2370
  "stateVariable": false,
2371
2371
  "storageLocation": "default",
@@ -2374,7 +2374,7 @@
2374
2374
  "typeString": "uint128"
2375
2375
  },
2376
2376
  "typeName": {
2377
- "id": 18512,
2377
+ "id": 18524,
2378
2378
  "name": "uint128",
2379
2379
  "nodeType": "ElementaryTypeName",
2380
2380
  "src": "6279:7:41",
@@ -2387,13 +2387,13 @@
2387
2387
  },
2388
2388
  {
2389
2389
  "constant": false,
2390
- "id": 18515,
2390
+ "id": 18527,
2391
2391
  "indexed": false,
2392
2392
  "mutability": "mutable",
2393
2393
  "name": "totalUnitsApproved",
2394
2394
  "nameLocation": "6322:18:41",
2395
2395
  "nodeType": "VariableDeclaration",
2396
- "scope": 18519,
2396
+ "scope": 18531,
2397
2397
  "src": "6314:26:41",
2398
2398
  "stateVariable": false,
2399
2399
  "storageLocation": "default",
@@ -2402,7 +2402,7 @@
2402
2402
  "typeString": "uint128"
2403
2403
  },
2404
2404
  "typeName": {
2405
- "id": 18514,
2405
+ "id": 18526,
2406
2406
  "name": "uint128",
2407
2407
  "nodeType": "ElementaryTypeName",
2408
2408
  "src": "6314:7:41",
@@ -2415,13 +2415,13 @@
2415
2415
  },
2416
2416
  {
2417
2417
  "constant": false,
2418
- "id": 18517,
2418
+ "id": 18529,
2419
2419
  "indexed": false,
2420
2420
  "mutability": "mutable",
2421
2421
  "name": "userData",
2422
2422
  "nameLocation": "6356:8:41",
2423
2423
  "nodeType": "VariableDeclaration",
2424
- "scope": 18519,
2424
+ "scope": 18531,
2425
2425
  "src": "6350:14:41",
2426
2426
  "stateVariable": false,
2427
2427
  "storageLocation": "default",
@@ -2430,7 +2430,7 @@
2430
2430
  "typeString": "bytes"
2431
2431
  },
2432
2432
  "typeName": {
2433
- "id": 18516,
2433
+ "id": 18528,
2434
2434
  "name": "bytes",
2435
2435
  "nodeType": "ElementaryTypeName",
2436
2436
  "src": "6350:5:41",
@@ -2448,13 +2448,13 @@
2448
2448
  },
2449
2449
  {
2450
2450
  "documentation": {
2451
- "id": 18520,
2451
+ "id": 18532,
2452
2452
  "nodeType": "StructuredDocumentation",
2453
2453
  "src": "6372:653:41",
2454
2454
  "text": " @dev Distribute tokens through the index\n @param token Super token address\n @param indexId Id of the index\n @param amount The amount of tokens desired to be distributed\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:note \n - This is a convenient version of updateIndex. It adds to the index\n a delta that equals to `amount / totalUnits`\n - The actual amount distributed could be obtained via\n `calculateDistribution`. This is due to precision error with index\n value and units data range\n @custom:callbacks \n None"
2455
2455
  },
2456
2456
  "functionSelector": "b96731c2",
2457
- "id": 18534,
2457
+ "id": 18546,
2458
2458
  "implemented": false,
2459
2459
  "kind": "function",
2460
2460
  "modifiers": [],
@@ -2462,41 +2462,41 @@
2462
2462
  "nameLocation": "7039:10:41",
2463
2463
  "nodeType": "FunctionDefinition",
2464
2464
  "parameters": {
2465
- "id": 18530,
2465
+ "id": 18542,
2466
2466
  "nodeType": "ParameterList",
2467
2467
  "parameters": [
2468
2468
  {
2469
2469
  "constant": false,
2470
- "id": 18523,
2470
+ "id": 18535,
2471
2471
  "mutability": "mutable",
2472
2472
  "name": "token",
2473
2473
  "nameLocation": "7076:5:41",
2474
2474
  "nodeType": "VariableDeclaration",
2475
- "scope": 18534,
2475
+ "scope": 18546,
2476
2476
  "src": "7059:22:41",
2477
2477
  "stateVariable": false,
2478
2478
  "storageLocation": "default",
2479
2479
  "typeDescriptions": {
2480
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2480
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2481
2481
  "typeString": "contract ISuperfluidToken"
2482
2482
  },
2483
2483
  "typeName": {
2484
- "id": 18522,
2484
+ "id": 18534,
2485
2485
  "nodeType": "UserDefinedTypeName",
2486
2486
  "pathNode": {
2487
- "id": 18521,
2487
+ "id": 18533,
2488
2488
  "name": "ISuperfluidToken",
2489
2489
  "nameLocations": [
2490
2490
  "7059:16:41"
2491
2491
  ],
2492
2492
  "nodeType": "IdentifierPath",
2493
- "referencedDeclaration": 20935,
2493
+ "referencedDeclaration": 20947,
2494
2494
  "src": "7059:16:41"
2495
2495
  },
2496
- "referencedDeclaration": 20935,
2496
+ "referencedDeclaration": 20947,
2497
2497
  "src": "7059:16:41",
2498
2498
  "typeDescriptions": {
2499
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2499
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2500
2500
  "typeString": "contract ISuperfluidToken"
2501
2501
  }
2502
2502
  },
@@ -2504,12 +2504,12 @@
2504
2504
  },
2505
2505
  {
2506
2506
  "constant": false,
2507
- "id": 18525,
2507
+ "id": 18537,
2508
2508
  "mutability": "mutable",
2509
2509
  "name": "indexId",
2510
2510
  "nameLocation": "7098:7:41",
2511
2511
  "nodeType": "VariableDeclaration",
2512
- "scope": 18534,
2512
+ "scope": 18546,
2513
2513
  "src": "7091:14:41",
2514
2514
  "stateVariable": false,
2515
2515
  "storageLocation": "default",
@@ -2518,7 +2518,7 @@
2518
2518
  "typeString": "uint32"
2519
2519
  },
2520
2520
  "typeName": {
2521
- "id": 18524,
2521
+ "id": 18536,
2522
2522
  "name": "uint32",
2523
2523
  "nodeType": "ElementaryTypeName",
2524
2524
  "src": "7091:6:41",
@@ -2531,12 +2531,12 @@
2531
2531
  },
2532
2532
  {
2533
2533
  "constant": false,
2534
- "id": 18527,
2534
+ "id": 18539,
2535
2535
  "mutability": "mutable",
2536
2536
  "name": "amount",
2537
2537
  "nameLocation": "7123:6:41",
2538
2538
  "nodeType": "VariableDeclaration",
2539
- "scope": 18534,
2539
+ "scope": 18546,
2540
2540
  "src": "7115:14:41",
2541
2541
  "stateVariable": false,
2542
2542
  "storageLocation": "default",
@@ -2545,7 +2545,7 @@
2545
2545
  "typeString": "uint256"
2546
2546
  },
2547
2547
  "typeName": {
2548
- "id": 18526,
2548
+ "id": 18538,
2549
2549
  "name": "uint256",
2550
2550
  "nodeType": "ElementaryTypeName",
2551
2551
  "src": "7115:7:41",
@@ -2558,12 +2558,12 @@
2558
2558
  },
2559
2559
  {
2560
2560
  "constant": false,
2561
- "id": 18529,
2561
+ "id": 18541,
2562
2562
  "mutability": "mutable",
2563
2563
  "name": "ctx",
2564
2564
  "nameLocation": "7154:3:41",
2565
2565
  "nodeType": "VariableDeclaration",
2566
- "scope": 18534,
2566
+ "scope": 18546,
2567
2567
  "src": "7139:18:41",
2568
2568
  "stateVariable": false,
2569
2569
  "storageLocation": "calldata",
@@ -2572,7 +2572,7 @@
2572
2572
  "typeString": "bytes"
2573
2573
  },
2574
2574
  "typeName": {
2575
- "id": 18528,
2575
+ "id": 18540,
2576
2576
  "name": "bytes",
2577
2577
  "nodeType": "ElementaryTypeName",
2578
2578
  "src": "7139:5:41",
@@ -2587,17 +2587,17 @@
2587
2587
  "src": "7049:109:41"
2588
2588
  },
2589
2589
  "returnParameters": {
2590
- "id": 18533,
2590
+ "id": 18545,
2591
2591
  "nodeType": "ParameterList",
2592
2592
  "parameters": [
2593
2593
  {
2594
2594
  "constant": false,
2595
- "id": 18532,
2595
+ "id": 18544,
2596
2596
  "mutability": "mutable",
2597
2597
  "name": "newCtx",
2598
2598
  "nameLocation": "7233:6:41",
2599
2599
  "nodeType": "VariableDeclaration",
2600
- "scope": 18534,
2600
+ "scope": 18546,
2601
2601
  "src": "7220:19:41",
2602
2602
  "stateVariable": false,
2603
2603
  "storageLocation": "memory",
@@ -2606,7 +2606,7 @@
2606
2606
  "typeString": "bytes"
2607
2607
  },
2608
2608
  "typeName": {
2609
- "id": 18531,
2609
+ "id": 18543,
2610
2610
  "name": "bytes",
2611
2611
  "nodeType": "ElementaryTypeName",
2612
2612
  "src": "7220:5:41",
@@ -2620,7 +2620,7 @@
2620
2620
  ],
2621
2621
  "src": "7219:21:41"
2622
2622
  },
2623
- "scope": 18790,
2623
+ "scope": 18802,
2624
2624
  "src": "7030:211:41",
2625
2625
  "stateMutability": "nonpayable",
2626
2626
  "virtual": true,
@@ -2628,13 +2628,13 @@
2628
2628
  },
2629
2629
  {
2630
2630
  "documentation": {
2631
- "id": 18535,
2631
+ "id": 18547,
2632
2632
  "nodeType": "StructuredDocumentation",
2633
2633
  "src": "7440:576:41",
2634
2634
  "text": " @dev Approve the subscription of an index\n @param token Super token address\n @param publisher The publisher of the index\n @param indexId Id of the index\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:callbacks \n - if subscription exist\n - AgreementCreated callback to the publisher:\n - agreementId is for the subscription\n - if subscription does not exist\n - AgreementUpdated callback to the publisher:\n - agreementId is for the subscription"
2635
2635
  },
2636
2636
  "functionSelector": "acf4a6c2",
2637
- "id": 18549,
2637
+ "id": 18561,
2638
2638
  "implemented": false,
2639
2639
  "kind": "function",
2640
2640
  "modifiers": [],
@@ -2642,41 +2642,41 @@
2642
2642
  "nameLocation": "8030:19:41",
2643
2643
  "nodeType": "FunctionDefinition",
2644
2644
  "parameters": {
2645
- "id": 18545,
2645
+ "id": 18557,
2646
2646
  "nodeType": "ParameterList",
2647
2647
  "parameters": [
2648
2648
  {
2649
2649
  "constant": false,
2650
- "id": 18538,
2650
+ "id": 18550,
2651
2651
  "mutability": "mutable",
2652
2652
  "name": "token",
2653
2653
  "nameLocation": "8076:5:41",
2654
2654
  "nodeType": "VariableDeclaration",
2655
- "scope": 18549,
2655
+ "scope": 18561,
2656
2656
  "src": "8059:22:41",
2657
2657
  "stateVariable": false,
2658
2658
  "storageLocation": "default",
2659
2659
  "typeDescriptions": {
2660
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2660
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2661
2661
  "typeString": "contract ISuperfluidToken"
2662
2662
  },
2663
2663
  "typeName": {
2664
- "id": 18537,
2664
+ "id": 18549,
2665
2665
  "nodeType": "UserDefinedTypeName",
2666
2666
  "pathNode": {
2667
- "id": 18536,
2667
+ "id": 18548,
2668
2668
  "name": "ISuperfluidToken",
2669
2669
  "nameLocations": [
2670
2670
  "8059:16:41"
2671
2671
  ],
2672
2672
  "nodeType": "IdentifierPath",
2673
- "referencedDeclaration": 20935,
2673
+ "referencedDeclaration": 20947,
2674
2674
  "src": "8059:16:41"
2675
2675
  },
2676
- "referencedDeclaration": 20935,
2676
+ "referencedDeclaration": 20947,
2677
2677
  "src": "8059:16:41",
2678
2678
  "typeDescriptions": {
2679
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2679
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2680
2680
  "typeString": "contract ISuperfluidToken"
2681
2681
  }
2682
2682
  },
@@ -2684,12 +2684,12 @@
2684
2684
  },
2685
2685
  {
2686
2686
  "constant": false,
2687
- "id": 18540,
2687
+ "id": 18552,
2688
2688
  "mutability": "mutable",
2689
2689
  "name": "publisher",
2690
2690
  "nameLocation": "8099:9:41",
2691
2691
  "nodeType": "VariableDeclaration",
2692
- "scope": 18549,
2692
+ "scope": 18561,
2693
2693
  "src": "8091:17:41",
2694
2694
  "stateVariable": false,
2695
2695
  "storageLocation": "default",
@@ -2698,7 +2698,7 @@
2698
2698
  "typeString": "address"
2699
2699
  },
2700
2700
  "typeName": {
2701
- "id": 18539,
2701
+ "id": 18551,
2702
2702
  "name": "address",
2703
2703
  "nodeType": "ElementaryTypeName",
2704
2704
  "src": "8091:7:41",
@@ -2712,12 +2712,12 @@
2712
2712
  },
2713
2713
  {
2714
2714
  "constant": false,
2715
- "id": 18542,
2715
+ "id": 18554,
2716
2716
  "mutability": "mutable",
2717
2717
  "name": "indexId",
2718
2718
  "nameLocation": "8125:7:41",
2719
2719
  "nodeType": "VariableDeclaration",
2720
- "scope": 18549,
2720
+ "scope": 18561,
2721
2721
  "src": "8118:14:41",
2722
2722
  "stateVariable": false,
2723
2723
  "storageLocation": "default",
@@ -2726,7 +2726,7 @@
2726
2726
  "typeString": "uint32"
2727
2727
  },
2728
2728
  "typeName": {
2729
- "id": 18541,
2729
+ "id": 18553,
2730
2730
  "name": "uint32",
2731
2731
  "nodeType": "ElementaryTypeName",
2732
2732
  "src": "8118:6:41",
@@ -2739,12 +2739,12 @@
2739
2739
  },
2740
2740
  {
2741
2741
  "constant": false,
2742
- "id": 18544,
2742
+ "id": 18556,
2743
2743
  "mutability": "mutable",
2744
2744
  "name": "ctx",
2745
2745
  "nameLocation": "8157:3:41",
2746
2746
  "nodeType": "VariableDeclaration",
2747
- "scope": 18549,
2747
+ "scope": 18561,
2748
2748
  "src": "8142:18:41",
2749
2749
  "stateVariable": false,
2750
2750
  "storageLocation": "calldata",
@@ -2753,7 +2753,7 @@
2753
2753
  "typeString": "bytes"
2754
2754
  },
2755
2755
  "typeName": {
2756
- "id": 18543,
2756
+ "id": 18555,
2757
2757
  "name": "bytes",
2758
2758
  "nodeType": "ElementaryTypeName",
2759
2759
  "src": "8142:5:41",
@@ -2768,17 +2768,17 @@
2768
2768
  "src": "8049:112:41"
2769
2769
  },
2770
2770
  "returnParameters": {
2771
- "id": 18548,
2771
+ "id": 18560,
2772
2772
  "nodeType": "ParameterList",
2773
2773
  "parameters": [
2774
2774
  {
2775
2775
  "constant": false,
2776
- "id": 18547,
2776
+ "id": 18559,
2777
2777
  "mutability": "mutable",
2778
2778
  "name": "newCtx",
2779
2779
  "nameLocation": "8236:6:41",
2780
2780
  "nodeType": "VariableDeclaration",
2781
- "scope": 18549,
2781
+ "scope": 18561,
2782
2782
  "src": "8223:19:41",
2783
2783
  "stateVariable": false,
2784
2784
  "storageLocation": "memory",
@@ -2787,7 +2787,7 @@
2787
2787
  "typeString": "bytes"
2788
2788
  },
2789
2789
  "typeName": {
2790
- "id": 18546,
2790
+ "id": 18558,
2791
2791
  "name": "bytes",
2792
2792
  "nodeType": "ElementaryTypeName",
2793
2793
  "src": "8223:5:41",
@@ -2801,7 +2801,7 @@
2801
2801
  ],
2802
2802
  "src": "8222:21:41"
2803
2803
  },
2804
- "scope": 18790,
2804
+ "scope": 18802,
2805
2805
  "src": "8021:223:41",
2806
2806
  "stateMutability": "nonpayable",
2807
2807
  "virtual": true,
@@ -2810,53 +2810,53 @@
2810
2810
  {
2811
2811
  "anonymous": false,
2812
2812
  "documentation": {
2813
- "id": 18550,
2813
+ "id": 18562,
2814
2814
  "nodeType": "StructuredDocumentation",
2815
2815
  "src": "8249:272:41",
2816
2816
  "text": " @dev Index subscribed event\n @param token Super token address\n @param publisher Index publisher\n @param indexId The specified indexId\n @param subscriber The approved subscriber\n @param userData The user provided data"
2817
2817
  },
2818
2818
  "eventSelector": "492d2641617cfaf24ac7328f85bc5bdf5113537d78dc7671afa4f49a73f053c2",
2819
- "id": 18563,
2819
+ "id": 18575,
2820
2820
  "name": "IndexSubscribed",
2821
2821
  "nameLocation": "8532:15:41",
2822
2822
  "nodeType": "EventDefinition",
2823
2823
  "parameters": {
2824
- "id": 18562,
2824
+ "id": 18574,
2825
2825
  "nodeType": "ParameterList",
2826
2826
  "parameters": [
2827
2827
  {
2828
2828
  "constant": false,
2829
- "id": 18553,
2829
+ "id": 18565,
2830
2830
  "indexed": true,
2831
2831
  "mutability": "mutable",
2832
2832
  "name": "token",
2833
2833
  "nameLocation": "8582:5:41",
2834
2834
  "nodeType": "VariableDeclaration",
2835
- "scope": 18563,
2835
+ "scope": 18575,
2836
2836
  "src": "8557:30:41",
2837
2837
  "stateVariable": false,
2838
2838
  "storageLocation": "default",
2839
2839
  "typeDescriptions": {
2840
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2840
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2841
2841
  "typeString": "contract ISuperfluidToken"
2842
2842
  },
2843
2843
  "typeName": {
2844
- "id": 18552,
2844
+ "id": 18564,
2845
2845
  "nodeType": "UserDefinedTypeName",
2846
2846
  "pathNode": {
2847
- "id": 18551,
2847
+ "id": 18563,
2848
2848
  "name": "ISuperfluidToken",
2849
2849
  "nameLocations": [
2850
2850
  "8557:16:41"
2851
2851
  ],
2852
2852
  "nodeType": "IdentifierPath",
2853
- "referencedDeclaration": 20935,
2853
+ "referencedDeclaration": 20947,
2854
2854
  "src": "8557:16:41"
2855
2855
  },
2856
- "referencedDeclaration": 20935,
2856
+ "referencedDeclaration": 20947,
2857
2857
  "src": "8557:16:41",
2858
2858
  "typeDescriptions": {
2859
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
2859
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
2860
2860
  "typeString": "contract ISuperfluidToken"
2861
2861
  }
2862
2862
  },
@@ -2864,13 +2864,13 @@
2864
2864
  },
2865
2865
  {
2866
2866
  "constant": false,
2867
- "id": 18555,
2867
+ "id": 18567,
2868
2868
  "indexed": true,
2869
2869
  "mutability": "mutable",
2870
2870
  "name": "publisher",
2871
2871
  "nameLocation": "8613:9:41",
2872
2872
  "nodeType": "VariableDeclaration",
2873
- "scope": 18563,
2873
+ "scope": 18575,
2874
2874
  "src": "8597:25:41",
2875
2875
  "stateVariable": false,
2876
2876
  "storageLocation": "default",
@@ -2879,7 +2879,7 @@
2879
2879
  "typeString": "address"
2880
2880
  },
2881
2881
  "typeName": {
2882
- "id": 18554,
2882
+ "id": 18566,
2883
2883
  "name": "address",
2884
2884
  "nodeType": "ElementaryTypeName",
2885
2885
  "src": "8597:7:41",
@@ -2893,13 +2893,13 @@
2893
2893
  },
2894
2894
  {
2895
2895
  "constant": false,
2896
- "id": 18557,
2896
+ "id": 18569,
2897
2897
  "indexed": true,
2898
2898
  "mutability": "mutable",
2899
2899
  "name": "indexId",
2900
2900
  "nameLocation": "8647:7:41",
2901
2901
  "nodeType": "VariableDeclaration",
2902
- "scope": 18563,
2902
+ "scope": 18575,
2903
2903
  "src": "8632:22:41",
2904
2904
  "stateVariable": false,
2905
2905
  "storageLocation": "default",
@@ -2908,7 +2908,7 @@
2908
2908
  "typeString": "uint32"
2909
2909
  },
2910
2910
  "typeName": {
2911
- "id": 18556,
2911
+ "id": 18568,
2912
2912
  "name": "uint32",
2913
2913
  "nodeType": "ElementaryTypeName",
2914
2914
  "src": "8632:6:41",
@@ -2921,13 +2921,13 @@
2921
2921
  },
2922
2922
  {
2923
2923
  "constant": false,
2924
- "id": 18559,
2924
+ "id": 18571,
2925
2925
  "indexed": false,
2926
2926
  "mutability": "mutable",
2927
2927
  "name": "subscriber",
2928
2928
  "nameLocation": "8672:10:41",
2929
2929
  "nodeType": "VariableDeclaration",
2930
- "scope": 18563,
2930
+ "scope": 18575,
2931
2931
  "src": "8664:18:41",
2932
2932
  "stateVariable": false,
2933
2933
  "storageLocation": "default",
@@ -2936,7 +2936,7 @@
2936
2936
  "typeString": "address"
2937
2937
  },
2938
2938
  "typeName": {
2939
- "id": 18558,
2939
+ "id": 18570,
2940
2940
  "name": "address",
2941
2941
  "nodeType": "ElementaryTypeName",
2942
2942
  "src": "8664:7:41",
@@ -2950,13 +2950,13 @@
2950
2950
  },
2951
2951
  {
2952
2952
  "constant": false,
2953
- "id": 18561,
2953
+ "id": 18573,
2954
2954
  "indexed": false,
2955
2955
  "mutability": "mutable",
2956
2956
  "name": "userData",
2957
2957
  "nameLocation": "8698:8:41",
2958
2958
  "nodeType": "VariableDeclaration",
2959
- "scope": 18563,
2959
+ "scope": 18575,
2960
2960
  "src": "8692:14:41",
2961
2961
  "stateVariable": false,
2962
2962
  "storageLocation": "default",
@@ -2965,7 +2965,7 @@
2965
2965
  "typeString": "bytes"
2966
2966
  },
2967
2967
  "typeName": {
2968
- "id": 18560,
2968
+ "id": 18572,
2969
2969
  "name": "bytes",
2970
2970
  "nodeType": "ElementaryTypeName",
2971
2971
  "src": "8692:5:41",
@@ -2984,53 +2984,53 @@
2984
2984
  {
2985
2985
  "anonymous": false,
2986
2986
  "documentation": {
2987
- "id": 18564,
2987
+ "id": 18576,
2988
2988
  "nodeType": "StructuredDocumentation",
2989
2989
  "src": "8714:277:41",
2990
2990
  "text": " @dev Subscription approved event\n @param token Super token address\n @param subscriber The approved subscriber\n @param publisher Index publisher\n @param indexId The specified indexId\n @param userData The user provided data"
2991
2991
  },
2992
2992
  "eventSelector": "c0b8396b655615cdb85fe462a9a1792480816f909cd46d9517a940b386dfbf6b",
2993
- "id": 18577,
2993
+ "id": 18589,
2994
2994
  "name": "SubscriptionApproved",
2995
2995
  "nameLocation": "9002:20:41",
2996
2996
  "nodeType": "EventDefinition",
2997
2997
  "parameters": {
2998
- "id": 18576,
2998
+ "id": 18588,
2999
2999
  "nodeType": "ParameterList",
3000
3000
  "parameters": [
3001
3001
  {
3002
3002
  "constant": false,
3003
- "id": 18567,
3003
+ "id": 18579,
3004
3004
  "indexed": true,
3005
3005
  "mutability": "mutable",
3006
3006
  "name": "token",
3007
3007
  "nameLocation": "9057:5:41",
3008
3008
  "nodeType": "VariableDeclaration",
3009
- "scope": 18577,
3009
+ "scope": 18589,
3010
3010
  "src": "9032:30:41",
3011
3011
  "stateVariable": false,
3012
3012
  "storageLocation": "default",
3013
3013
  "typeDescriptions": {
3014
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3014
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3015
3015
  "typeString": "contract ISuperfluidToken"
3016
3016
  },
3017
3017
  "typeName": {
3018
- "id": 18566,
3018
+ "id": 18578,
3019
3019
  "nodeType": "UserDefinedTypeName",
3020
3020
  "pathNode": {
3021
- "id": 18565,
3021
+ "id": 18577,
3022
3022
  "name": "ISuperfluidToken",
3023
3023
  "nameLocations": [
3024
3024
  "9032:16:41"
3025
3025
  ],
3026
3026
  "nodeType": "IdentifierPath",
3027
- "referencedDeclaration": 20935,
3027
+ "referencedDeclaration": 20947,
3028
3028
  "src": "9032:16:41"
3029
3029
  },
3030
- "referencedDeclaration": 20935,
3030
+ "referencedDeclaration": 20947,
3031
3031
  "src": "9032:16:41",
3032
3032
  "typeDescriptions": {
3033
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3033
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3034
3034
  "typeString": "contract ISuperfluidToken"
3035
3035
  }
3036
3036
  },
@@ -3038,13 +3038,13 @@
3038
3038
  },
3039
3039
  {
3040
3040
  "constant": false,
3041
- "id": 18569,
3041
+ "id": 18581,
3042
3042
  "indexed": true,
3043
3043
  "mutability": "mutable",
3044
3044
  "name": "subscriber",
3045
3045
  "nameLocation": "9088:10:41",
3046
3046
  "nodeType": "VariableDeclaration",
3047
- "scope": 18577,
3047
+ "scope": 18589,
3048
3048
  "src": "9072:26:41",
3049
3049
  "stateVariable": false,
3050
3050
  "storageLocation": "default",
@@ -3053,7 +3053,7 @@
3053
3053
  "typeString": "address"
3054
3054
  },
3055
3055
  "typeName": {
3056
- "id": 18568,
3056
+ "id": 18580,
3057
3057
  "name": "address",
3058
3058
  "nodeType": "ElementaryTypeName",
3059
3059
  "src": "9072:7:41",
@@ -3067,13 +3067,13 @@
3067
3067
  },
3068
3068
  {
3069
3069
  "constant": false,
3070
- "id": 18571,
3070
+ "id": 18583,
3071
3071
  "indexed": false,
3072
3072
  "mutability": "mutable",
3073
3073
  "name": "publisher",
3074
3074
  "nameLocation": "9116:9:41",
3075
3075
  "nodeType": "VariableDeclaration",
3076
- "scope": 18577,
3076
+ "scope": 18589,
3077
3077
  "src": "9108:17:41",
3078
3078
  "stateVariable": false,
3079
3079
  "storageLocation": "default",
@@ -3082,7 +3082,7 @@
3082
3082
  "typeString": "address"
3083
3083
  },
3084
3084
  "typeName": {
3085
- "id": 18570,
3085
+ "id": 18582,
3086
3086
  "name": "address",
3087
3087
  "nodeType": "ElementaryTypeName",
3088
3088
  "src": "9108:7:41",
@@ -3096,13 +3096,13 @@
3096
3096
  },
3097
3097
  {
3098
3098
  "constant": false,
3099
- "id": 18573,
3099
+ "id": 18585,
3100
3100
  "indexed": false,
3101
3101
  "mutability": "mutable",
3102
3102
  "name": "indexId",
3103
3103
  "nameLocation": "9142:7:41",
3104
3104
  "nodeType": "VariableDeclaration",
3105
- "scope": 18577,
3105
+ "scope": 18589,
3106
3106
  "src": "9135:14:41",
3107
3107
  "stateVariable": false,
3108
3108
  "storageLocation": "default",
@@ -3111,7 +3111,7 @@
3111
3111
  "typeString": "uint32"
3112
3112
  },
3113
3113
  "typeName": {
3114
- "id": 18572,
3114
+ "id": 18584,
3115
3115
  "name": "uint32",
3116
3116
  "nodeType": "ElementaryTypeName",
3117
3117
  "src": "9135:6:41",
@@ -3124,13 +3124,13 @@
3124
3124
  },
3125
3125
  {
3126
3126
  "constant": false,
3127
- "id": 18575,
3127
+ "id": 18587,
3128
3128
  "indexed": false,
3129
3129
  "mutability": "mutable",
3130
3130
  "name": "userData",
3131
3131
  "nameLocation": "9165:8:41",
3132
3132
  "nodeType": "VariableDeclaration",
3133
- "scope": 18577,
3133
+ "scope": 18589,
3134
3134
  "src": "9159:14:41",
3135
3135
  "stateVariable": false,
3136
3136
  "storageLocation": "default",
@@ -3139,7 +3139,7 @@
3139
3139
  "typeString": "bytes"
3140
3140
  },
3141
3141
  "typeName": {
3142
- "id": 18574,
3142
+ "id": 18586,
3143
3143
  "name": "bytes",
3144
3144
  "nodeType": "ElementaryTypeName",
3145
3145
  "src": "9159:5:41",
@@ -3157,13 +3157,13 @@
3157
3157
  },
3158
3158
  {
3159
3159
  "documentation": {
3160
- "id": 18578,
3160
+ "id": 18590,
3161
3161
  "nodeType": "StructuredDocumentation",
3162
3162
  "src": "9181:465:41",
3163
3163
  "text": " @notice Revoke the subscription of an index\n @dev \"Unapproves\" the subscription and moves approved units to pending\n @param token Super token address\n @param publisher The publisher of the index\n @param indexId Id of the index\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:callbacks \n - AgreementUpdated callback to the publisher:\n - agreementId is for the subscription"
3164
3164
  },
3165
3165
  "functionSelector": "6041ae96",
3166
- "id": 18592,
3166
+ "id": 18604,
3167
3167
  "implemented": false,
3168
3168
  "kind": "function",
3169
3169
  "modifiers": [],
@@ -3171,41 +3171,41 @@
3171
3171
  "nameLocation": "9660:18:41",
3172
3172
  "nodeType": "FunctionDefinition",
3173
3173
  "parameters": {
3174
- "id": 18588,
3174
+ "id": 18600,
3175
3175
  "nodeType": "ParameterList",
3176
3176
  "parameters": [
3177
3177
  {
3178
3178
  "constant": false,
3179
- "id": 18581,
3179
+ "id": 18593,
3180
3180
  "mutability": "mutable",
3181
3181
  "name": "token",
3182
3182
  "nameLocation": "9705:5:41",
3183
3183
  "nodeType": "VariableDeclaration",
3184
- "scope": 18592,
3184
+ "scope": 18604,
3185
3185
  "src": "9688:22:41",
3186
3186
  "stateVariable": false,
3187
3187
  "storageLocation": "default",
3188
3188
  "typeDescriptions": {
3189
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3189
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3190
3190
  "typeString": "contract ISuperfluidToken"
3191
3191
  },
3192
3192
  "typeName": {
3193
- "id": 18580,
3193
+ "id": 18592,
3194
3194
  "nodeType": "UserDefinedTypeName",
3195
3195
  "pathNode": {
3196
- "id": 18579,
3196
+ "id": 18591,
3197
3197
  "name": "ISuperfluidToken",
3198
3198
  "nameLocations": [
3199
3199
  "9688:16:41"
3200
3200
  ],
3201
3201
  "nodeType": "IdentifierPath",
3202
- "referencedDeclaration": 20935,
3202
+ "referencedDeclaration": 20947,
3203
3203
  "src": "9688:16:41"
3204
3204
  },
3205
- "referencedDeclaration": 20935,
3205
+ "referencedDeclaration": 20947,
3206
3206
  "src": "9688:16:41",
3207
3207
  "typeDescriptions": {
3208
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3208
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3209
3209
  "typeString": "contract ISuperfluidToken"
3210
3210
  }
3211
3211
  },
@@ -3213,12 +3213,12 @@
3213
3213
  },
3214
3214
  {
3215
3215
  "constant": false,
3216
- "id": 18583,
3216
+ "id": 18595,
3217
3217
  "mutability": "mutable",
3218
3218
  "name": "publisher",
3219
3219
  "nameLocation": "9728:9:41",
3220
3220
  "nodeType": "VariableDeclaration",
3221
- "scope": 18592,
3221
+ "scope": 18604,
3222
3222
  "src": "9720:17:41",
3223
3223
  "stateVariable": false,
3224
3224
  "storageLocation": "default",
@@ -3227,7 +3227,7 @@
3227
3227
  "typeString": "address"
3228
3228
  },
3229
3229
  "typeName": {
3230
- "id": 18582,
3230
+ "id": 18594,
3231
3231
  "name": "address",
3232
3232
  "nodeType": "ElementaryTypeName",
3233
3233
  "src": "9720:7:41",
@@ -3241,12 +3241,12 @@
3241
3241
  },
3242
3242
  {
3243
3243
  "constant": false,
3244
- "id": 18585,
3244
+ "id": 18597,
3245
3245
  "mutability": "mutable",
3246
3246
  "name": "indexId",
3247
3247
  "nameLocation": "9754:7:41",
3248
3248
  "nodeType": "VariableDeclaration",
3249
- "scope": 18592,
3249
+ "scope": 18604,
3250
3250
  "src": "9747:14:41",
3251
3251
  "stateVariable": false,
3252
3252
  "storageLocation": "default",
@@ -3255,7 +3255,7 @@
3255
3255
  "typeString": "uint32"
3256
3256
  },
3257
3257
  "typeName": {
3258
- "id": 18584,
3258
+ "id": 18596,
3259
3259
  "name": "uint32",
3260
3260
  "nodeType": "ElementaryTypeName",
3261
3261
  "src": "9747:6:41",
@@ -3268,12 +3268,12 @@
3268
3268
  },
3269
3269
  {
3270
3270
  "constant": false,
3271
- "id": 18587,
3271
+ "id": 18599,
3272
3272
  "mutability": "mutable",
3273
3273
  "name": "ctx",
3274
3274
  "nameLocation": "9786:3:41",
3275
3275
  "nodeType": "VariableDeclaration",
3276
- "scope": 18592,
3276
+ "scope": 18604,
3277
3277
  "src": "9771:18:41",
3278
3278
  "stateVariable": false,
3279
3279
  "storageLocation": "calldata",
@@ -3282,7 +3282,7 @@
3282
3282
  "typeString": "bytes"
3283
3283
  },
3284
3284
  "typeName": {
3285
- "id": 18586,
3285
+ "id": 18598,
3286
3286
  "name": "bytes",
3287
3287
  "nodeType": "ElementaryTypeName",
3288
3288
  "src": "9771:5:41",
@@ -3297,17 +3297,17 @@
3297
3297
  "src": "9678:112:41"
3298
3298
  },
3299
3299
  "returnParameters": {
3300
- "id": 18591,
3300
+ "id": 18603,
3301
3301
  "nodeType": "ParameterList",
3302
3302
  "parameters": [
3303
3303
  {
3304
3304
  "constant": false,
3305
- "id": 18590,
3305
+ "id": 18602,
3306
3306
  "mutability": "mutable",
3307
3307
  "name": "newCtx",
3308
3308
  "nameLocation": "9856:6:41",
3309
3309
  "nodeType": "VariableDeclaration",
3310
- "scope": 18592,
3310
+ "scope": 18604,
3311
3311
  "src": "9843:19:41",
3312
3312
  "stateVariable": false,
3313
3313
  "storageLocation": "memory",
@@ -3316,7 +3316,7 @@
3316
3316
  "typeString": "bytes"
3317
3317
  },
3318
3318
  "typeName": {
3319
- "id": 18589,
3319
+ "id": 18601,
3320
3320
  "name": "bytes",
3321
3321
  "nodeType": "ElementaryTypeName",
3322
3322
  "src": "9843:5:41",
@@ -3330,7 +3330,7 @@
3330
3330
  ],
3331
3331
  "src": "9842:21:41"
3332
3332
  },
3333
- "scope": 18790,
3333
+ "scope": 18802,
3334
3334
  "src": "9651:213:41",
3335
3335
  "stateMutability": "nonpayable",
3336
3336
  "virtual": true,
@@ -3339,53 +3339,53 @@
3339
3339
  {
3340
3340
  "anonymous": false,
3341
3341
  "documentation": {
3342
- "id": 18593,
3342
+ "id": 18605,
3343
3343
  "nodeType": "StructuredDocumentation",
3344
3344
  "src": "9869:278:41",
3345
3345
  "text": " @dev Index unsubscribed event\n @param token Super token address\n @param publisher Index publisher\n @param indexId The specified indexId\n @param subscriber The unsubscribed subscriber\n @param userData The user provided data"
3346
3346
  },
3347
3347
  "eventSelector": "e1f8e9cd8061e5b251769965bda6ca9ef1674bc6541fb9131039fa53f024d142",
3348
- "id": 18606,
3348
+ "id": 18618,
3349
3349
  "name": "IndexUnsubscribed",
3350
3350
  "nameLocation": "10158:17:41",
3351
3351
  "nodeType": "EventDefinition",
3352
3352
  "parameters": {
3353
- "id": 18605,
3353
+ "id": 18617,
3354
3354
  "nodeType": "ParameterList",
3355
3355
  "parameters": [
3356
3356
  {
3357
3357
  "constant": false,
3358
- "id": 18596,
3358
+ "id": 18608,
3359
3359
  "indexed": true,
3360
3360
  "mutability": "mutable",
3361
3361
  "name": "token",
3362
3362
  "nameLocation": "10210:5:41",
3363
3363
  "nodeType": "VariableDeclaration",
3364
- "scope": 18606,
3364
+ "scope": 18618,
3365
3365
  "src": "10185:30:41",
3366
3366
  "stateVariable": false,
3367
3367
  "storageLocation": "default",
3368
3368
  "typeDescriptions": {
3369
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3369
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3370
3370
  "typeString": "contract ISuperfluidToken"
3371
3371
  },
3372
3372
  "typeName": {
3373
- "id": 18595,
3373
+ "id": 18607,
3374
3374
  "nodeType": "UserDefinedTypeName",
3375
3375
  "pathNode": {
3376
- "id": 18594,
3376
+ "id": 18606,
3377
3377
  "name": "ISuperfluidToken",
3378
3378
  "nameLocations": [
3379
3379
  "10185:16:41"
3380
3380
  ],
3381
3381
  "nodeType": "IdentifierPath",
3382
- "referencedDeclaration": 20935,
3382
+ "referencedDeclaration": 20947,
3383
3383
  "src": "10185:16:41"
3384
3384
  },
3385
- "referencedDeclaration": 20935,
3385
+ "referencedDeclaration": 20947,
3386
3386
  "src": "10185:16:41",
3387
3387
  "typeDescriptions": {
3388
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3388
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3389
3389
  "typeString": "contract ISuperfluidToken"
3390
3390
  }
3391
3391
  },
@@ -3393,13 +3393,13 @@
3393
3393
  },
3394
3394
  {
3395
3395
  "constant": false,
3396
- "id": 18598,
3396
+ "id": 18610,
3397
3397
  "indexed": true,
3398
3398
  "mutability": "mutable",
3399
3399
  "name": "publisher",
3400
3400
  "nameLocation": "10241:9:41",
3401
3401
  "nodeType": "VariableDeclaration",
3402
- "scope": 18606,
3402
+ "scope": 18618,
3403
3403
  "src": "10225:25:41",
3404
3404
  "stateVariable": false,
3405
3405
  "storageLocation": "default",
@@ -3408,7 +3408,7 @@
3408
3408
  "typeString": "address"
3409
3409
  },
3410
3410
  "typeName": {
3411
- "id": 18597,
3411
+ "id": 18609,
3412
3412
  "name": "address",
3413
3413
  "nodeType": "ElementaryTypeName",
3414
3414
  "src": "10225:7:41",
@@ -3422,13 +3422,13 @@
3422
3422
  },
3423
3423
  {
3424
3424
  "constant": false,
3425
- "id": 18600,
3425
+ "id": 18612,
3426
3426
  "indexed": true,
3427
3427
  "mutability": "mutable",
3428
3428
  "name": "indexId",
3429
3429
  "nameLocation": "10275:7:41",
3430
3430
  "nodeType": "VariableDeclaration",
3431
- "scope": 18606,
3431
+ "scope": 18618,
3432
3432
  "src": "10260:22:41",
3433
3433
  "stateVariable": false,
3434
3434
  "storageLocation": "default",
@@ -3437,7 +3437,7 @@
3437
3437
  "typeString": "uint32"
3438
3438
  },
3439
3439
  "typeName": {
3440
- "id": 18599,
3440
+ "id": 18611,
3441
3441
  "name": "uint32",
3442
3442
  "nodeType": "ElementaryTypeName",
3443
3443
  "src": "10260:6:41",
@@ -3450,13 +3450,13 @@
3450
3450
  },
3451
3451
  {
3452
3452
  "constant": false,
3453
- "id": 18602,
3453
+ "id": 18614,
3454
3454
  "indexed": false,
3455
3455
  "mutability": "mutable",
3456
3456
  "name": "subscriber",
3457
3457
  "nameLocation": "10300:10:41",
3458
3458
  "nodeType": "VariableDeclaration",
3459
- "scope": 18606,
3459
+ "scope": 18618,
3460
3460
  "src": "10292:18:41",
3461
3461
  "stateVariable": false,
3462
3462
  "storageLocation": "default",
@@ -3465,7 +3465,7 @@
3465
3465
  "typeString": "address"
3466
3466
  },
3467
3467
  "typeName": {
3468
- "id": 18601,
3468
+ "id": 18613,
3469
3469
  "name": "address",
3470
3470
  "nodeType": "ElementaryTypeName",
3471
3471
  "src": "10292:7:41",
@@ -3479,13 +3479,13 @@
3479
3479
  },
3480
3480
  {
3481
3481
  "constant": false,
3482
- "id": 18604,
3482
+ "id": 18616,
3483
3483
  "indexed": false,
3484
3484
  "mutability": "mutable",
3485
3485
  "name": "userData",
3486
3486
  "nameLocation": "10326:8:41",
3487
3487
  "nodeType": "VariableDeclaration",
3488
- "scope": 18606,
3488
+ "scope": 18618,
3489
3489
  "src": "10320:14:41",
3490
3490
  "stateVariable": false,
3491
3491
  "storageLocation": "default",
@@ -3494,7 +3494,7 @@
3494
3494
  "typeString": "bytes"
3495
3495
  },
3496
3496
  "typeName": {
3497
- "id": 18603,
3497
+ "id": 18615,
3498
3498
  "name": "bytes",
3499
3499
  "nodeType": "ElementaryTypeName",
3500
3500
  "src": "10320:5:41",
@@ -3513,53 +3513,53 @@
3513
3513
  {
3514
3514
  "anonymous": false,
3515
3515
  "documentation": {
3516
- "id": 18607,
3516
+ "id": 18619,
3517
3517
  "nodeType": "StructuredDocumentation",
3518
3518
  "src": "10346:277:41",
3519
3519
  "text": " @dev Subscription approved event\n @param token Super token address\n @param subscriber The approved subscriber\n @param publisher Index publisher\n @param indexId The specified indexId\n @param userData The user provided data"
3520
3520
  },
3521
3521
  "eventSelector": "9e02127550b99adc8cc6ee332a36f31338facdbc396cebefce9a047247cd0455",
3522
- "id": 18620,
3522
+ "id": 18632,
3523
3523
  "name": "SubscriptionRevoked",
3524
3524
  "nameLocation": "10634:19:41",
3525
3525
  "nodeType": "EventDefinition",
3526
3526
  "parameters": {
3527
- "id": 18619,
3527
+ "id": 18631,
3528
3528
  "nodeType": "ParameterList",
3529
3529
  "parameters": [
3530
3530
  {
3531
3531
  "constant": false,
3532
- "id": 18610,
3532
+ "id": 18622,
3533
3533
  "indexed": true,
3534
3534
  "mutability": "mutable",
3535
3535
  "name": "token",
3536
3536
  "nameLocation": "10688:5:41",
3537
3537
  "nodeType": "VariableDeclaration",
3538
- "scope": 18620,
3538
+ "scope": 18632,
3539
3539
  "src": "10663:30:41",
3540
3540
  "stateVariable": false,
3541
3541
  "storageLocation": "default",
3542
3542
  "typeDescriptions": {
3543
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3543
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3544
3544
  "typeString": "contract ISuperfluidToken"
3545
3545
  },
3546
3546
  "typeName": {
3547
- "id": 18609,
3547
+ "id": 18621,
3548
3548
  "nodeType": "UserDefinedTypeName",
3549
3549
  "pathNode": {
3550
- "id": 18608,
3550
+ "id": 18620,
3551
3551
  "name": "ISuperfluidToken",
3552
3552
  "nameLocations": [
3553
3553
  "10663:16:41"
3554
3554
  ],
3555
3555
  "nodeType": "IdentifierPath",
3556
- "referencedDeclaration": 20935,
3556
+ "referencedDeclaration": 20947,
3557
3557
  "src": "10663:16:41"
3558
3558
  },
3559
- "referencedDeclaration": 20935,
3559
+ "referencedDeclaration": 20947,
3560
3560
  "src": "10663:16:41",
3561
3561
  "typeDescriptions": {
3562
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3562
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3563
3563
  "typeString": "contract ISuperfluidToken"
3564
3564
  }
3565
3565
  },
@@ -3567,13 +3567,13 @@
3567
3567
  },
3568
3568
  {
3569
3569
  "constant": false,
3570
- "id": 18612,
3570
+ "id": 18624,
3571
3571
  "indexed": true,
3572
3572
  "mutability": "mutable",
3573
3573
  "name": "subscriber",
3574
3574
  "nameLocation": "10719:10:41",
3575
3575
  "nodeType": "VariableDeclaration",
3576
- "scope": 18620,
3576
+ "scope": 18632,
3577
3577
  "src": "10703:26:41",
3578
3578
  "stateVariable": false,
3579
3579
  "storageLocation": "default",
@@ -3582,7 +3582,7 @@
3582
3582
  "typeString": "address"
3583
3583
  },
3584
3584
  "typeName": {
3585
- "id": 18611,
3585
+ "id": 18623,
3586
3586
  "name": "address",
3587
3587
  "nodeType": "ElementaryTypeName",
3588
3588
  "src": "10703:7:41",
@@ -3596,13 +3596,13 @@
3596
3596
  },
3597
3597
  {
3598
3598
  "constant": false,
3599
- "id": 18614,
3599
+ "id": 18626,
3600
3600
  "indexed": false,
3601
3601
  "mutability": "mutable",
3602
3602
  "name": "publisher",
3603
3603
  "nameLocation": "10747:9:41",
3604
3604
  "nodeType": "VariableDeclaration",
3605
- "scope": 18620,
3605
+ "scope": 18632,
3606
3606
  "src": "10739:17:41",
3607
3607
  "stateVariable": false,
3608
3608
  "storageLocation": "default",
@@ -3611,7 +3611,7 @@
3611
3611
  "typeString": "address"
3612
3612
  },
3613
3613
  "typeName": {
3614
- "id": 18613,
3614
+ "id": 18625,
3615
3615
  "name": "address",
3616
3616
  "nodeType": "ElementaryTypeName",
3617
3617
  "src": "10739:7:41",
@@ -3625,13 +3625,13 @@
3625
3625
  },
3626
3626
  {
3627
3627
  "constant": false,
3628
- "id": 18616,
3628
+ "id": 18628,
3629
3629
  "indexed": false,
3630
3630
  "mutability": "mutable",
3631
3631
  "name": "indexId",
3632
3632
  "nameLocation": "10773:7:41",
3633
3633
  "nodeType": "VariableDeclaration",
3634
- "scope": 18620,
3634
+ "scope": 18632,
3635
3635
  "src": "10766:14:41",
3636
3636
  "stateVariable": false,
3637
3637
  "storageLocation": "default",
@@ -3640,7 +3640,7 @@
3640
3640
  "typeString": "uint32"
3641
3641
  },
3642
3642
  "typeName": {
3643
- "id": 18615,
3643
+ "id": 18627,
3644
3644
  "name": "uint32",
3645
3645
  "nodeType": "ElementaryTypeName",
3646
3646
  "src": "10766:6:41",
@@ -3653,13 +3653,13 @@
3653
3653
  },
3654
3654
  {
3655
3655
  "constant": false,
3656
- "id": 18618,
3656
+ "id": 18630,
3657
3657
  "indexed": false,
3658
3658
  "mutability": "mutable",
3659
3659
  "name": "userData",
3660
3660
  "nameLocation": "10796:8:41",
3661
3661
  "nodeType": "VariableDeclaration",
3662
- "scope": 18620,
3662
+ "scope": 18632,
3663
3663
  "src": "10790:14:41",
3664
3664
  "stateVariable": false,
3665
3665
  "storageLocation": "default",
@@ -3668,7 +3668,7 @@
3668
3668
  "typeString": "bytes"
3669
3669
  },
3670
3670
  "typeName": {
3671
- "id": 18617,
3671
+ "id": 18629,
3672
3672
  "name": "bytes",
3673
3673
  "nodeType": "ElementaryTypeName",
3674
3674
  "src": "10790:5:41",
@@ -3686,13 +3686,13 @@
3686
3686
  },
3687
3687
  {
3688
3688
  "documentation": {
3689
- "id": 18621,
3689
+ "id": 18633,
3690
3690
  "nodeType": "StructuredDocumentation",
3691
3691
  "src": "10812:643:41",
3692
3692
  "text": " @dev Update the nuber of units of a subscription\n @param token Super token address\n @param indexId Id of the index\n @param subscriber The subscriber of the index\n @param units Number of units of the subscription\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:callbacks \n - if subscription exist\n - AgreementCreated callback to the subscriber:\n - agreementId is for the subscription\n - if subscription does not exist\n - AgreementUpdated callback to the subscriber:\n - agreementId is for the subscription"
3693
3693
  },
3694
3694
  "functionSelector": "232d2b58",
3695
- "id": 18637,
3695
+ "id": 18649,
3696
3696
  "implemented": false,
3697
3697
  "kind": "function",
3698
3698
  "modifiers": [],
@@ -3700,41 +3700,41 @@
3700
3700
  "nameLocation": "11469:18:41",
3701
3701
  "nodeType": "FunctionDefinition",
3702
3702
  "parameters": {
3703
- "id": 18633,
3703
+ "id": 18645,
3704
3704
  "nodeType": "ParameterList",
3705
3705
  "parameters": [
3706
3706
  {
3707
3707
  "constant": false,
3708
- "id": 18624,
3708
+ "id": 18636,
3709
3709
  "mutability": "mutable",
3710
3710
  "name": "token",
3711
3711
  "nameLocation": "11514:5:41",
3712
3712
  "nodeType": "VariableDeclaration",
3713
- "scope": 18637,
3713
+ "scope": 18649,
3714
3714
  "src": "11497:22:41",
3715
3715
  "stateVariable": false,
3716
3716
  "storageLocation": "default",
3717
3717
  "typeDescriptions": {
3718
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3718
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3719
3719
  "typeString": "contract ISuperfluidToken"
3720
3720
  },
3721
3721
  "typeName": {
3722
- "id": 18623,
3722
+ "id": 18635,
3723
3723
  "nodeType": "UserDefinedTypeName",
3724
3724
  "pathNode": {
3725
- "id": 18622,
3725
+ "id": 18634,
3726
3726
  "name": "ISuperfluidToken",
3727
3727
  "nameLocations": [
3728
3728
  "11497:16:41"
3729
3729
  ],
3730
3730
  "nodeType": "IdentifierPath",
3731
- "referencedDeclaration": 20935,
3731
+ "referencedDeclaration": 20947,
3732
3732
  "src": "11497:16:41"
3733
3733
  },
3734
- "referencedDeclaration": 20935,
3734
+ "referencedDeclaration": 20947,
3735
3735
  "src": "11497:16:41",
3736
3736
  "typeDescriptions": {
3737
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3737
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3738
3738
  "typeString": "contract ISuperfluidToken"
3739
3739
  }
3740
3740
  },
@@ -3742,12 +3742,12 @@
3742
3742
  },
3743
3743
  {
3744
3744
  "constant": false,
3745
- "id": 18626,
3745
+ "id": 18638,
3746
3746
  "mutability": "mutable",
3747
3747
  "name": "indexId",
3748
3748
  "nameLocation": "11536:7:41",
3749
3749
  "nodeType": "VariableDeclaration",
3750
- "scope": 18637,
3750
+ "scope": 18649,
3751
3751
  "src": "11529:14:41",
3752
3752
  "stateVariable": false,
3753
3753
  "storageLocation": "default",
@@ -3756,7 +3756,7 @@
3756
3756
  "typeString": "uint32"
3757
3757
  },
3758
3758
  "typeName": {
3759
- "id": 18625,
3759
+ "id": 18637,
3760
3760
  "name": "uint32",
3761
3761
  "nodeType": "ElementaryTypeName",
3762
3762
  "src": "11529:6:41",
@@ -3769,12 +3769,12 @@
3769
3769
  },
3770
3770
  {
3771
3771
  "constant": false,
3772
- "id": 18628,
3772
+ "id": 18640,
3773
3773
  "mutability": "mutable",
3774
3774
  "name": "subscriber",
3775
3775
  "nameLocation": "11561:10:41",
3776
3776
  "nodeType": "VariableDeclaration",
3777
- "scope": 18637,
3777
+ "scope": 18649,
3778
3778
  "src": "11553:18:41",
3779
3779
  "stateVariable": false,
3780
3780
  "storageLocation": "default",
@@ -3783,7 +3783,7 @@
3783
3783
  "typeString": "address"
3784
3784
  },
3785
3785
  "typeName": {
3786
- "id": 18627,
3786
+ "id": 18639,
3787
3787
  "name": "address",
3788
3788
  "nodeType": "ElementaryTypeName",
3789
3789
  "src": "11553:7:41",
@@ -3797,12 +3797,12 @@
3797
3797
  },
3798
3798
  {
3799
3799
  "constant": false,
3800
- "id": 18630,
3800
+ "id": 18642,
3801
3801
  "mutability": "mutable",
3802
3802
  "name": "units",
3803
3803
  "nameLocation": "11589:5:41",
3804
3804
  "nodeType": "VariableDeclaration",
3805
- "scope": 18637,
3805
+ "scope": 18649,
3806
3806
  "src": "11581:13:41",
3807
3807
  "stateVariable": false,
3808
3808
  "storageLocation": "default",
@@ -3811,7 +3811,7 @@
3811
3811
  "typeString": "uint128"
3812
3812
  },
3813
3813
  "typeName": {
3814
- "id": 18629,
3814
+ "id": 18641,
3815
3815
  "name": "uint128",
3816
3816
  "nodeType": "ElementaryTypeName",
3817
3817
  "src": "11581:7:41",
@@ -3824,12 +3824,12 @@
3824
3824
  },
3825
3825
  {
3826
3826
  "constant": false,
3827
- "id": 18632,
3827
+ "id": 18644,
3828
3828
  "mutability": "mutable",
3829
3829
  "name": "ctx",
3830
3830
  "nameLocation": "11619:3:41",
3831
3831
  "nodeType": "VariableDeclaration",
3832
- "scope": 18637,
3832
+ "scope": 18649,
3833
3833
  "src": "11604:18:41",
3834
3834
  "stateVariable": false,
3835
3835
  "storageLocation": "calldata",
@@ -3838,7 +3838,7 @@
3838
3838
  "typeString": "bytes"
3839
3839
  },
3840
3840
  "typeName": {
3841
- "id": 18631,
3841
+ "id": 18643,
3842
3842
  "name": "bytes",
3843
3843
  "nodeType": "ElementaryTypeName",
3844
3844
  "src": "11604:5:41",
@@ -3853,17 +3853,17 @@
3853
3853
  "src": "11487:136:41"
3854
3854
  },
3855
3855
  "returnParameters": {
3856
- "id": 18636,
3856
+ "id": 18648,
3857
3857
  "nodeType": "ParameterList",
3858
3858
  "parameters": [
3859
3859
  {
3860
3860
  "constant": false,
3861
- "id": 18635,
3861
+ "id": 18647,
3862
3862
  "mutability": "mutable",
3863
3863
  "name": "newCtx",
3864
3864
  "nameLocation": "11698:6:41",
3865
3865
  "nodeType": "VariableDeclaration",
3866
- "scope": 18637,
3866
+ "scope": 18649,
3867
3867
  "src": "11685:19:41",
3868
3868
  "stateVariable": false,
3869
3869
  "storageLocation": "memory",
@@ -3872,7 +3872,7 @@
3872
3872
  "typeString": "bytes"
3873
3873
  },
3874
3874
  "typeName": {
3875
- "id": 18634,
3875
+ "id": 18646,
3876
3876
  "name": "bytes",
3877
3877
  "nodeType": "ElementaryTypeName",
3878
3878
  "src": "11685:5:41",
@@ -3886,7 +3886,7 @@
3886
3886
  ],
3887
3887
  "src": "11684:21:41"
3888
3888
  },
3889
- "scope": 18790,
3889
+ "scope": 18802,
3890
3890
  "src": "11460:246:41",
3891
3891
  "stateMutability": "nonpayable",
3892
3892
  "virtual": true,
@@ -3895,53 +3895,53 @@
3895
3895
  {
3896
3896
  "anonymous": false,
3897
3897
  "documentation": {
3898
- "id": 18638,
3898
+ "id": 18650,
3899
3899
  "nodeType": "StructuredDocumentation",
3900
3900
  "src": "11712:322:41",
3901
3901
  "text": " @dev Index units updated event\n @param token Super token address\n @param publisher Index publisher\n @param indexId The specified indexId\n @param subscriber The subscriber units updated\n @param units The new units amount\n @param userData The user provided data"
3902
3902
  },
3903
3903
  "eventSelector": "0115987243fd19d615b5ea62a80372a06a2b37fec378b148ee7a507c5c4c0a39",
3904
- "id": 18653,
3904
+ "id": 18665,
3905
3905
  "name": "IndexUnitsUpdated",
3906
3906
  "nameLocation": "12045:17:41",
3907
3907
  "nodeType": "EventDefinition",
3908
3908
  "parameters": {
3909
- "id": 18652,
3909
+ "id": 18664,
3910
3910
  "nodeType": "ParameterList",
3911
3911
  "parameters": [
3912
3912
  {
3913
3913
  "constant": false,
3914
- "id": 18641,
3914
+ "id": 18653,
3915
3915
  "indexed": true,
3916
3916
  "mutability": "mutable",
3917
3917
  "name": "token",
3918
3918
  "nameLocation": "12097:5:41",
3919
3919
  "nodeType": "VariableDeclaration",
3920
- "scope": 18653,
3920
+ "scope": 18665,
3921
3921
  "src": "12072:30:41",
3922
3922
  "stateVariable": false,
3923
3923
  "storageLocation": "default",
3924
3924
  "typeDescriptions": {
3925
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3925
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3926
3926
  "typeString": "contract ISuperfluidToken"
3927
3927
  },
3928
3928
  "typeName": {
3929
- "id": 18640,
3929
+ "id": 18652,
3930
3930
  "nodeType": "UserDefinedTypeName",
3931
3931
  "pathNode": {
3932
- "id": 18639,
3932
+ "id": 18651,
3933
3933
  "name": "ISuperfluidToken",
3934
3934
  "nameLocations": [
3935
3935
  "12072:16:41"
3936
3936
  ],
3937
3937
  "nodeType": "IdentifierPath",
3938
- "referencedDeclaration": 20935,
3938
+ "referencedDeclaration": 20947,
3939
3939
  "src": "12072:16:41"
3940
3940
  },
3941
- "referencedDeclaration": 20935,
3941
+ "referencedDeclaration": 20947,
3942
3942
  "src": "12072:16:41",
3943
3943
  "typeDescriptions": {
3944
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
3944
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
3945
3945
  "typeString": "contract ISuperfluidToken"
3946
3946
  }
3947
3947
  },
@@ -3949,13 +3949,13 @@
3949
3949
  },
3950
3950
  {
3951
3951
  "constant": false,
3952
- "id": 18643,
3952
+ "id": 18655,
3953
3953
  "indexed": true,
3954
3954
  "mutability": "mutable",
3955
3955
  "name": "publisher",
3956
3956
  "nameLocation": "12128:9:41",
3957
3957
  "nodeType": "VariableDeclaration",
3958
- "scope": 18653,
3958
+ "scope": 18665,
3959
3959
  "src": "12112:25:41",
3960
3960
  "stateVariable": false,
3961
3961
  "storageLocation": "default",
@@ -3964,7 +3964,7 @@
3964
3964
  "typeString": "address"
3965
3965
  },
3966
3966
  "typeName": {
3967
- "id": 18642,
3967
+ "id": 18654,
3968
3968
  "name": "address",
3969
3969
  "nodeType": "ElementaryTypeName",
3970
3970
  "src": "12112:7:41",
@@ -3978,13 +3978,13 @@
3978
3978
  },
3979
3979
  {
3980
3980
  "constant": false,
3981
- "id": 18645,
3981
+ "id": 18657,
3982
3982
  "indexed": true,
3983
3983
  "mutability": "mutable",
3984
3984
  "name": "indexId",
3985
3985
  "nameLocation": "12162:7:41",
3986
3986
  "nodeType": "VariableDeclaration",
3987
- "scope": 18653,
3987
+ "scope": 18665,
3988
3988
  "src": "12147:22:41",
3989
3989
  "stateVariable": false,
3990
3990
  "storageLocation": "default",
@@ -3993,7 +3993,7 @@
3993
3993
  "typeString": "uint32"
3994
3994
  },
3995
3995
  "typeName": {
3996
- "id": 18644,
3996
+ "id": 18656,
3997
3997
  "name": "uint32",
3998
3998
  "nodeType": "ElementaryTypeName",
3999
3999
  "src": "12147:6:41",
@@ -4006,13 +4006,13 @@
4006
4006
  },
4007
4007
  {
4008
4008
  "constant": false,
4009
- "id": 18647,
4009
+ "id": 18659,
4010
4010
  "indexed": false,
4011
4011
  "mutability": "mutable",
4012
4012
  "name": "subscriber",
4013
4013
  "nameLocation": "12187:10:41",
4014
4014
  "nodeType": "VariableDeclaration",
4015
- "scope": 18653,
4015
+ "scope": 18665,
4016
4016
  "src": "12179:18:41",
4017
4017
  "stateVariable": false,
4018
4018
  "storageLocation": "default",
@@ -4021,7 +4021,7 @@
4021
4021
  "typeString": "address"
4022
4022
  },
4023
4023
  "typeName": {
4024
- "id": 18646,
4024
+ "id": 18658,
4025
4025
  "name": "address",
4026
4026
  "nodeType": "ElementaryTypeName",
4027
4027
  "src": "12179:7:41",
@@ -4035,13 +4035,13 @@
4035
4035
  },
4036
4036
  {
4037
4037
  "constant": false,
4038
- "id": 18649,
4038
+ "id": 18661,
4039
4039
  "indexed": false,
4040
4040
  "mutability": "mutable",
4041
4041
  "name": "units",
4042
4042
  "nameLocation": "12215:5:41",
4043
4043
  "nodeType": "VariableDeclaration",
4044
- "scope": 18653,
4044
+ "scope": 18665,
4045
4045
  "src": "12207:13:41",
4046
4046
  "stateVariable": false,
4047
4047
  "storageLocation": "default",
@@ -4050,7 +4050,7 @@
4050
4050
  "typeString": "uint128"
4051
4051
  },
4052
4052
  "typeName": {
4053
- "id": 18648,
4053
+ "id": 18660,
4054
4054
  "name": "uint128",
4055
4055
  "nodeType": "ElementaryTypeName",
4056
4056
  "src": "12207:7:41",
@@ -4063,13 +4063,13 @@
4063
4063
  },
4064
4064
  {
4065
4065
  "constant": false,
4066
- "id": 18651,
4066
+ "id": 18663,
4067
4067
  "indexed": false,
4068
4068
  "mutability": "mutable",
4069
4069
  "name": "userData",
4070
4070
  "nameLocation": "12236:8:41",
4071
4071
  "nodeType": "VariableDeclaration",
4072
- "scope": 18653,
4072
+ "scope": 18665,
4073
4073
  "src": "12230:14:41",
4074
4074
  "stateVariable": false,
4075
4075
  "storageLocation": "default",
@@ -4078,7 +4078,7 @@
4078
4078
  "typeString": "bytes"
4079
4079
  },
4080
4080
  "typeName": {
4081
- "id": 18650,
4081
+ "id": 18662,
4082
4082
  "name": "bytes",
4083
4083
  "nodeType": "ElementaryTypeName",
4084
4084
  "src": "12230:5:41",
@@ -4097,53 +4097,53 @@
4097
4097
  {
4098
4098
  "anonymous": false,
4099
4099
  "documentation": {
4100
- "id": 18654,
4100
+ "id": 18666,
4101
4101
  "nodeType": "StructuredDocumentation",
4102
4102
  "src": "12256:329:41",
4103
4103
  "text": " @dev Subscription units updated event\n @param token Super token address\n @param subscriber The subscriber units updated\n @param indexId The specified indexId\n @param publisher Index publisher\n @param units The new units amount\n @param userData The user provided data"
4104
4104
  },
4105
4105
  "eventSelector": "e0707ac7efb8b59c22189af8d004ed17dc9e4379e71b9066119b62c182524977",
4106
- "id": 18669,
4106
+ "id": 18681,
4107
4107
  "name": "SubscriptionUnitsUpdated",
4108
4108
  "nameLocation": "12596:24:41",
4109
4109
  "nodeType": "EventDefinition",
4110
4110
  "parameters": {
4111
- "id": 18668,
4111
+ "id": 18680,
4112
4112
  "nodeType": "ParameterList",
4113
4113
  "parameters": [
4114
4114
  {
4115
4115
  "constant": false,
4116
- "id": 18657,
4116
+ "id": 18669,
4117
4117
  "indexed": true,
4118
4118
  "mutability": "mutable",
4119
4119
  "name": "token",
4120
4120
  "nameLocation": "12655:5:41",
4121
4121
  "nodeType": "VariableDeclaration",
4122
- "scope": 18669,
4122
+ "scope": 18681,
4123
4123
  "src": "12630:30:41",
4124
4124
  "stateVariable": false,
4125
4125
  "storageLocation": "default",
4126
4126
  "typeDescriptions": {
4127
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4127
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4128
4128
  "typeString": "contract ISuperfluidToken"
4129
4129
  },
4130
4130
  "typeName": {
4131
- "id": 18656,
4131
+ "id": 18668,
4132
4132
  "nodeType": "UserDefinedTypeName",
4133
4133
  "pathNode": {
4134
- "id": 18655,
4134
+ "id": 18667,
4135
4135
  "name": "ISuperfluidToken",
4136
4136
  "nameLocations": [
4137
4137
  "12630:16:41"
4138
4138
  ],
4139
4139
  "nodeType": "IdentifierPath",
4140
- "referencedDeclaration": 20935,
4140
+ "referencedDeclaration": 20947,
4141
4141
  "src": "12630:16:41"
4142
4142
  },
4143
- "referencedDeclaration": 20935,
4143
+ "referencedDeclaration": 20947,
4144
4144
  "src": "12630:16:41",
4145
4145
  "typeDescriptions": {
4146
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4146
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4147
4147
  "typeString": "contract ISuperfluidToken"
4148
4148
  }
4149
4149
  },
@@ -4151,13 +4151,13 @@
4151
4151
  },
4152
4152
  {
4153
4153
  "constant": false,
4154
- "id": 18659,
4154
+ "id": 18671,
4155
4155
  "indexed": true,
4156
4156
  "mutability": "mutable",
4157
4157
  "name": "subscriber",
4158
4158
  "nameLocation": "12686:10:41",
4159
4159
  "nodeType": "VariableDeclaration",
4160
- "scope": 18669,
4160
+ "scope": 18681,
4161
4161
  "src": "12670:26:41",
4162
4162
  "stateVariable": false,
4163
4163
  "storageLocation": "default",
@@ -4166,7 +4166,7 @@
4166
4166
  "typeString": "address"
4167
4167
  },
4168
4168
  "typeName": {
4169
- "id": 18658,
4169
+ "id": 18670,
4170
4170
  "name": "address",
4171
4171
  "nodeType": "ElementaryTypeName",
4172
4172
  "src": "12670:7:41",
@@ -4180,13 +4180,13 @@
4180
4180
  },
4181
4181
  {
4182
4182
  "constant": false,
4183
- "id": 18661,
4183
+ "id": 18673,
4184
4184
  "indexed": false,
4185
4185
  "mutability": "mutable",
4186
4186
  "name": "publisher",
4187
4187
  "nameLocation": "12714:9:41",
4188
4188
  "nodeType": "VariableDeclaration",
4189
- "scope": 18669,
4189
+ "scope": 18681,
4190
4190
  "src": "12706:17:41",
4191
4191
  "stateVariable": false,
4192
4192
  "storageLocation": "default",
@@ -4195,7 +4195,7 @@
4195
4195
  "typeString": "address"
4196
4196
  },
4197
4197
  "typeName": {
4198
- "id": 18660,
4198
+ "id": 18672,
4199
4199
  "name": "address",
4200
4200
  "nodeType": "ElementaryTypeName",
4201
4201
  "src": "12706:7:41",
@@ -4209,13 +4209,13 @@
4209
4209
  },
4210
4210
  {
4211
4211
  "constant": false,
4212
- "id": 18663,
4212
+ "id": 18675,
4213
4213
  "indexed": false,
4214
4214
  "mutability": "mutable",
4215
4215
  "name": "indexId",
4216
4216
  "nameLocation": "12740:7:41",
4217
4217
  "nodeType": "VariableDeclaration",
4218
- "scope": 18669,
4218
+ "scope": 18681,
4219
4219
  "src": "12733:14:41",
4220
4220
  "stateVariable": false,
4221
4221
  "storageLocation": "default",
@@ -4224,7 +4224,7 @@
4224
4224
  "typeString": "uint32"
4225
4225
  },
4226
4226
  "typeName": {
4227
- "id": 18662,
4227
+ "id": 18674,
4228
4228
  "name": "uint32",
4229
4229
  "nodeType": "ElementaryTypeName",
4230
4230
  "src": "12733:6:41",
@@ -4237,13 +4237,13 @@
4237
4237
  },
4238
4238
  {
4239
4239
  "constant": false,
4240
- "id": 18665,
4240
+ "id": 18677,
4241
4241
  "indexed": false,
4242
4242
  "mutability": "mutable",
4243
4243
  "name": "units",
4244
4244
  "nameLocation": "12765:5:41",
4245
4245
  "nodeType": "VariableDeclaration",
4246
- "scope": 18669,
4246
+ "scope": 18681,
4247
4247
  "src": "12757:13:41",
4248
4248
  "stateVariable": false,
4249
4249
  "storageLocation": "default",
@@ -4252,7 +4252,7 @@
4252
4252
  "typeString": "uint128"
4253
4253
  },
4254
4254
  "typeName": {
4255
- "id": 18664,
4255
+ "id": 18676,
4256
4256
  "name": "uint128",
4257
4257
  "nodeType": "ElementaryTypeName",
4258
4258
  "src": "12757:7:41",
@@ -4265,13 +4265,13 @@
4265
4265
  },
4266
4266
  {
4267
4267
  "constant": false,
4268
- "id": 18667,
4268
+ "id": 18679,
4269
4269
  "indexed": false,
4270
4270
  "mutability": "mutable",
4271
4271
  "name": "userData",
4272
4272
  "nameLocation": "12786:8:41",
4273
4273
  "nodeType": "VariableDeclaration",
4274
- "scope": 18669,
4274
+ "scope": 18681,
4275
4275
  "src": "12780:14:41",
4276
4276
  "stateVariable": false,
4277
4277
  "storageLocation": "default",
@@ -4280,7 +4280,7 @@
4280
4280
  "typeString": "bytes"
4281
4281
  },
4282
4282
  "typeName": {
4283
- "id": 18666,
4283
+ "id": 18678,
4284
4284
  "name": "bytes",
4285
4285
  "nodeType": "ElementaryTypeName",
4286
4286
  "src": "12780:5:41",
@@ -4298,13 +4298,13 @@
4298
4298
  },
4299
4299
  {
4300
4300
  "documentation": {
4301
- "id": 18670,
4301
+ "id": 18682,
4302
4302
  "nodeType": "StructuredDocumentation",
4303
4303
  "src": "12802:488:41",
4304
4304
  "text": " @dev Get data of a subscription\n @param token Super token address\n @param publisher The publisher of the index\n @param indexId Id of the index\n @param subscriber The subscriber of the index\n @return exist Does the subscription exist?\n @return approved Is the subscription approved?\n @return units Units of the suscription\n @return pendingDistribution Pending amount of tokens to be distributed for unapproved subscription"
4305
4305
  },
4306
4306
  "functionSelector": "5b534051",
4307
- "id": 18690,
4307
+ "id": 18702,
4308
4308
  "implemented": false,
4309
4309
  "kind": "function",
4310
4310
  "modifiers": [],
@@ -4312,41 +4312,41 @@
4312
4312
  "nameLocation": "13304:15:41",
4313
4313
  "nodeType": "FunctionDefinition",
4314
4314
  "parameters": {
4315
- "id": 18680,
4315
+ "id": 18692,
4316
4316
  "nodeType": "ParameterList",
4317
4317
  "parameters": [
4318
4318
  {
4319
4319
  "constant": false,
4320
- "id": 18673,
4320
+ "id": 18685,
4321
4321
  "mutability": "mutable",
4322
4322
  "name": "token",
4323
4323
  "nameLocation": "13346:5:41",
4324
4324
  "nodeType": "VariableDeclaration",
4325
- "scope": 18690,
4325
+ "scope": 18702,
4326
4326
  "src": "13329:22:41",
4327
4327
  "stateVariable": false,
4328
4328
  "storageLocation": "default",
4329
4329
  "typeDescriptions": {
4330
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4330
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4331
4331
  "typeString": "contract ISuperfluidToken"
4332
4332
  },
4333
4333
  "typeName": {
4334
- "id": 18672,
4334
+ "id": 18684,
4335
4335
  "nodeType": "UserDefinedTypeName",
4336
4336
  "pathNode": {
4337
- "id": 18671,
4337
+ "id": 18683,
4338
4338
  "name": "ISuperfluidToken",
4339
4339
  "nameLocations": [
4340
4340
  "13329:16:41"
4341
4341
  ],
4342
4342
  "nodeType": "IdentifierPath",
4343
- "referencedDeclaration": 20935,
4343
+ "referencedDeclaration": 20947,
4344
4344
  "src": "13329:16:41"
4345
4345
  },
4346
- "referencedDeclaration": 20935,
4346
+ "referencedDeclaration": 20947,
4347
4347
  "src": "13329:16:41",
4348
4348
  "typeDescriptions": {
4349
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4349
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4350
4350
  "typeString": "contract ISuperfluidToken"
4351
4351
  }
4352
4352
  },
@@ -4354,12 +4354,12 @@
4354
4354
  },
4355
4355
  {
4356
4356
  "constant": false,
4357
- "id": 18675,
4357
+ "id": 18687,
4358
4358
  "mutability": "mutable",
4359
4359
  "name": "publisher",
4360
4360
  "nameLocation": "13369:9:41",
4361
4361
  "nodeType": "VariableDeclaration",
4362
- "scope": 18690,
4362
+ "scope": 18702,
4363
4363
  "src": "13361:17:41",
4364
4364
  "stateVariable": false,
4365
4365
  "storageLocation": "default",
@@ -4368,7 +4368,7 @@
4368
4368
  "typeString": "address"
4369
4369
  },
4370
4370
  "typeName": {
4371
- "id": 18674,
4371
+ "id": 18686,
4372
4372
  "name": "address",
4373
4373
  "nodeType": "ElementaryTypeName",
4374
4374
  "src": "13361:7:41",
@@ -4382,12 +4382,12 @@
4382
4382
  },
4383
4383
  {
4384
4384
  "constant": false,
4385
- "id": 18677,
4385
+ "id": 18689,
4386
4386
  "mutability": "mutable",
4387
4387
  "name": "indexId",
4388
4388
  "nameLocation": "13395:7:41",
4389
4389
  "nodeType": "VariableDeclaration",
4390
- "scope": 18690,
4390
+ "scope": 18702,
4391
4391
  "src": "13388:14:41",
4392
4392
  "stateVariable": false,
4393
4393
  "storageLocation": "default",
@@ -4396,7 +4396,7 @@
4396
4396
  "typeString": "uint32"
4397
4397
  },
4398
4398
  "typeName": {
4399
- "id": 18676,
4399
+ "id": 18688,
4400
4400
  "name": "uint32",
4401
4401
  "nodeType": "ElementaryTypeName",
4402
4402
  "src": "13388:6:41",
@@ -4409,12 +4409,12 @@
4409
4409
  },
4410
4410
  {
4411
4411
  "constant": false,
4412
- "id": 18679,
4412
+ "id": 18691,
4413
4413
  "mutability": "mutable",
4414
4414
  "name": "subscriber",
4415
4415
  "nameLocation": "13420:10:41",
4416
4416
  "nodeType": "VariableDeclaration",
4417
- "scope": 18690,
4417
+ "scope": 18702,
4418
4418
  "src": "13412:18:41",
4419
4419
  "stateVariable": false,
4420
4420
  "storageLocation": "default",
@@ -4423,7 +4423,7 @@
4423
4423
  "typeString": "address"
4424
4424
  },
4425
4425
  "typeName": {
4426
- "id": 18678,
4426
+ "id": 18690,
4427
4427
  "name": "address",
4428
4428
  "nodeType": "ElementaryTypeName",
4429
4429
  "src": "13412:7:41",
@@ -4439,17 +4439,17 @@
4439
4439
  "src": "13319:112:41"
4440
4440
  },
4441
4441
  "returnParameters": {
4442
- "id": 18689,
4442
+ "id": 18701,
4443
4443
  "nodeType": "ParameterList",
4444
4444
  "parameters": [
4445
4445
  {
4446
4446
  "constant": false,
4447
- "id": 18682,
4447
+ "id": 18694,
4448
4448
  "mutability": "mutable",
4449
4449
  "name": "exist",
4450
4450
  "nameLocation": "13532:5:41",
4451
4451
  "nodeType": "VariableDeclaration",
4452
- "scope": 18690,
4452
+ "scope": 18702,
4453
4453
  "src": "13527:10:41",
4454
4454
  "stateVariable": false,
4455
4455
  "storageLocation": "default",
@@ -4458,7 +4458,7 @@
4458
4458
  "typeString": "bool"
4459
4459
  },
4460
4460
  "typeName": {
4461
- "id": 18681,
4461
+ "id": 18693,
4462
4462
  "name": "bool",
4463
4463
  "nodeType": "ElementaryTypeName",
4464
4464
  "src": "13527:4:41",
@@ -4471,12 +4471,12 @@
4471
4471
  },
4472
4472
  {
4473
4473
  "constant": false,
4474
- "id": 18684,
4474
+ "id": 18696,
4475
4475
  "mutability": "mutable",
4476
4476
  "name": "approved",
4477
4477
  "nameLocation": "13560:8:41",
4478
4478
  "nodeType": "VariableDeclaration",
4479
- "scope": 18690,
4479
+ "scope": 18702,
4480
4480
  "src": "13555:13:41",
4481
4481
  "stateVariable": false,
4482
4482
  "storageLocation": "default",
@@ -4485,7 +4485,7 @@
4485
4485
  "typeString": "bool"
4486
4486
  },
4487
4487
  "typeName": {
4488
- "id": 18683,
4488
+ "id": 18695,
4489
4489
  "name": "bool",
4490
4490
  "nodeType": "ElementaryTypeName",
4491
4491
  "src": "13555:4:41",
@@ -4498,12 +4498,12 @@
4498
4498
  },
4499
4499
  {
4500
4500
  "constant": false,
4501
- "id": 18686,
4501
+ "id": 18698,
4502
4502
  "mutability": "mutable",
4503
4503
  "name": "units",
4504
4504
  "nameLocation": "13594:5:41",
4505
4505
  "nodeType": "VariableDeclaration",
4506
- "scope": 18690,
4506
+ "scope": 18702,
4507
4507
  "src": "13586:13:41",
4508
4508
  "stateVariable": false,
4509
4509
  "storageLocation": "default",
@@ -4512,7 +4512,7 @@
4512
4512
  "typeString": "uint128"
4513
4513
  },
4514
4514
  "typeName": {
4515
- "id": 18685,
4515
+ "id": 18697,
4516
4516
  "name": "uint128",
4517
4517
  "nodeType": "ElementaryTypeName",
4518
4518
  "src": "13586:7:41",
@@ -4525,12 +4525,12 @@
4525
4525
  },
4526
4526
  {
4527
4527
  "constant": false,
4528
- "id": 18688,
4528
+ "id": 18700,
4529
4529
  "mutability": "mutable",
4530
4530
  "name": "pendingDistribution",
4531
4531
  "nameLocation": "13625:19:41",
4532
4532
  "nodeType": "VariableDeclaration",
4533
- "scope": 18690,
4533
+ "scope": 18702,
4534
4534
  "src": "13617:27:41",
4535
4535
  "stateVariable": false,
4536
4536
  "storageLocation": "default",
@@ -4539,7 +4539,7 @@
4539
4539
  "typeString": "uint256"
4540
4540
  },
4541
4541
  "typeName": {
4542
- "id": 18687,
4542
+ "id": 18699,
4543
4543
  "name": "uint256",
4544
4544
  "nodeType": "ElementaryTypeName",
4545
4545
  "src": "13617:7:41",
@@ -4553,7 +4553,7 @@
4553
4553
  ],
4554
4554
  "src": "13509:149:41"
4555
4555
  },
4556
- "scope": 18790,
4556
+ "scope": 18802,
4557
4557
  "src": "13295:364:41",
4558
4558
  "stateMutability": "view",
4559
4559
  "virtual": true,
@@ -4561,13 +4561,13 @@
4561
4561
  },
4562
4562
  {
4563
4563
  "documentation": {
4564
- "id": 18691,
4564
+ "id": 18703,
4565
4565
  "nodeType": "StructuredDocumentation",
4566
4566
  "src": "13665:554:41",
4567
4567
  "text": " @notice Get data of a subscription by agreement ID\n @dev indexId (agreementId) is the keccak256 hash of encodePacked(\"publisher\", publisher, indexId)\n @param token Super token address\n @param agreementId The agreement ID\n @return publisher The publisher of the index\n @return indexId Id of the index\n @return approved Is the subscription approved?\n @return units Units of the suscription\n @return pendingDistribution Pending amount of tokens to be distributed for unapproved subscription"
4568
4568
  },
4569
4569
  "functionSelector": "cd7245c5",
4570
- "id": 18709,
4570
+ "id": 18721,
4571
4571
  "implemented": false,
4572
4572
  "kind": "function",
4573
4573
  "modifiers": [],
@@ -4575,41 +4575,41 @@
4575
4575
  "nameLocation": "14233:19:41",
4576
4576
  "nodeType": "FunctionDefinition",
4577
4577
  "parameters": {
4578
- "id": 18697,
4578
+ "id": 18709,
4579
4579
  "nodeType": "ParameterList",
4580
4580
  "parameters": [
4581
4581
  {
4582
4582
  "constant": false,
4583
- "id": 18694,
4583
+ "id": 18706,
4584
4584
  "mutability": "mutable",
4585
4585
  "name": "token",
4586
4586
  "nameLocation": "14279:5:41",
4587
4587
  "nodeType": "VariableDeclaration",
4588
- "scope": 18709,
4588
+ "scope": 18721,
4589
4589
  "src": "14262:22:41",
4590
4590
  "stateVariable": false,
4591
4591
  "storageLocation": "default",
4592
4592
  "typeDescriptions": {
4593
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4593
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4594
4594
  "typeString": "contract ISuperfluidToken"
4595
4595
  },
4596
4596
  "typeName": {
4597
- "id": 18693,
4597
+ "id": 18705,
4598
4598
  "nodeType": "UserDefinedTypeName",
4599
4599
  "pathNode": {
4600
- "id": 18692,
4600
+ "id": 18704,
4601
4601
  "name": "ISuperfluidToken",
4602
4602
  "nameLocations": [
4603
4603
  "14262:16:41"
4604
4604
  ],
4605
4605
  "nodeType": "IdentifierPath",
4606
- "referencedDeclaration": 20935,
4606
+ "referencedDeclaration": 20947,
4607
4607
  "src": "14262:16:41"
4608
4608
  },
4609
- "referencedDeclaration": 20935,
4609
+ "referencedDeclaration": 20947,
4610
4610
  "src": "14262:16:41",
4611
4611
  "typeDescriptions": {
4612
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4612
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4613
4613
  "typeString": "contract ISuperfluidToken"
4614
4614
  }
4615
4615
  },
@@ -4617,12 +4617,12 @@
4617
4617
  },
4618
4618
  {
4619
4619
  "constant": false,
4620
- "id": 18696,
4620
+ "id": 18708,
4621
4621
  "mutability": "mutable",
4622
4622
  "name": "agreementId",
4623
4623
  "nameLocation": "14302:11:41",
4624
4624
  "nodeType": "VariableDeclaration",
4625
- "scope": 18709,
4625
+ "scope": 18721,
4626
4626
  "src": "14294:19:41",
4627
4627
  "stateVariable": false,
4628
4628
  "storageLocation": "default",
@@ -4631,7 +4631,7 @@
4631
4631
  "typeString": "bytes32"
4632
4632
  },
4633
4633
  "typeName": {
4634
- "id": 18695,
4634
+ "id": 18707,
4635
4635
  "name": "bytes32",
4636
4636
  "nodeType": "ElementaryTypeName",
4637
4637
  "src": "14294:7:41",
@@ -4646,17 +4646,17 @@
4646
4646
  "src": "14252:62:41"
4647
4647
  },
4648
4648
  "returnParameters": {
4649
- "id": 18708,
4649
+ "id": 18720,
4650
4650
  "nodeType": "ParameterList",
4651
4651
  "parameters": [
4652
4652
  {
4653
4653
  "constant": false,
4654
- "id": 18699,
4654
+ "id": 18711,
4655
4655
  "mutability": "mutable",
4656
4656
  "name": "publisher",
4657
4657
  "nameLocation": "14418:9:41",
4658
4658
  "nodeType": "VariableDeclaration",
4659
- "scope": 18709,
4659
+ "scope": 18721,
4660
4660
  "src": "14410:17:41",
4661
4661
  "stateVariable": false,
4662
4662
  "storageLocation": "default",
@@ -4665,7 +4665,7 @@
4665
4665
  "typeString": "address"
4666
4666
  },
4667
4667
  "typeName": {
4668
- "id": 18698,
4668
+ "id": 18710,
4669
4669
  "name": "address",
4670
4670
  "nodeType": "ElementaryTypeName",
4671
4671
  "src": "14410:7:41",
@@ -4679,12 +4679,12 @@
4679
4679
  },
4680
4680
  {
4681
4681
  "constant": false,
4682
- "id": 18701,
4682
+ "id": 18713,
4683
4683
  "mutability": "mutable",
4684
4684
  "name": "indexId",
4685
4685
  "nameLocation": "14452:7:41",
4686
4686
  "nodeType": "VariableDeclaration",
4687
- "scope": 18709,
4687
+ "scope": 18721,
4688
4688
  "src": "14445:14:41",
4689
4689
  "stateVariable": false,
4690
4690
  "storageLocation": "default",
@@ -4693,7 +4693,7 @@
4693
4693
  "typeString": "uint32"
4694
4694
  },
4695
4695
  "typeName": {
4696
- "id": 18700,
4696
+ "id": 18712,
4697
4697
  "name": "uint32",
4698
4698
  "nodeType": "ElementaryTypeName",
4699
4699
  "src": "14445:6:41",
@@ -4706,12 +4706,12 @@
4706
4706
  },
4707
4707
  {
4708
4708
  "constant": false,
4709
- "id": 18703,
4709
+ "id": 18715,
4710
4710
  "mutability": "mutable",
4711
4711
  "name": "approved",
4712
4712
  "nameLocation": "14482:8:41",
4713
4713
  "nodeType": "VariableDeclaration",
4714
- "scope": 18709,
4714
+ "scope": 18721,
4715
4715
  "src": "14477:13:41",
4716
4716
  "stateVariable": false,
4717
4717
  "storageLocation": "default",
@@ -4720,7 +4720,7 @@
4720
4720
  "typeString": "bool"
4721
4721
  },
4722
4722
  "typeName": {
4723
- "id": 18702,
4723
+ "id": 18714,
4724
4724
  "name": "bool",
4725
4725
  "nodeType": "ElementaryTypeName",
4726
4726
  "src": "14477:4:41",
@@ -4733,12 +4733,12 @@
4733
4733
  },
4734
4734
  {
4735
4735
  "constant": false,
4736
- "id": 18705,
4736
+ "id": 18717,
4737
4737
  "mutability": "mutable",
4738
4738
  "name": "units",
4739
4739
  "nameLocation": "14516:5:41",
4740
4740
  "nodeType": "VariableDeclaration",
4741
- "scope": 18709,
4741
+ "scope": 18721,
4742
4742
  "src": "14508:13:41",
4743
4743
  "stateVariable": false,
4744
4744
  "storageLocation": "default",
@@ -4747,7 +4747,7 @@
4747
4747
  "typeString": "uint128"
4748
4748
  },
4749
4749
  "typeName": {
4750
- "id": 18704,
4750
+ "id": 18716,
4751
4751
  "name": "uint128",
4752
4752
  "nodeType": "ElementaryTypeName",
4753
4753
  "src": "14508:7:41",
@@ -4760,12 +4760,12 @@
4760
4760
  },
4761
4761
  {
4762
4762
  "constant": false,
4763
- "id": 18707,
4763
+ "id": 18719,
4764
4764
  "mutability": "mutable",
4765
4765
  "name": "pendingDistribution",
4766
4766
  "nameLocation": "14547:19:41",
4767
4767
  "nodeType": "VariableDeclaration",
4768
- "scope": 18709,
4768
+ "scope": 18721,
4769
4769
  "src": "14539:27:41",
4770
4770
  "stateVariable": false,
4771
4771
  "storageLocation": "default",
@@ -4774,7 +4774,7 @@
4774
4774
  "typeString": "uint256"
4775
4775
  },
4776
4776
  "typeName": {
4777
- "id": 18706,
4777
+ "id": 18718,
4778
4778
  "name": "uint256",
4779
4779
  "nodeType": "ElementaryTypeName",
4780
4780
  "src": "14539:7:41",
@@ -4788,7 +4788,7 @@
4788
4788
  ],
4789
4789
  "src": "14392:188:41"
4790
4790
  },
4791
- "scope": 18790,
4791
+ "scope": 18802,
4792
4792
  "src": "14224:357:41",
4793
4793
  "stateMutability": "view",
4794
4794
  "virtual": true,
@@ -4796,13 +4796,13 @@
4796
4796
  },
4797
4797
  {
4798
4798
  "documentation": {
4799
- "id": 18710,
4799
+ "id": 18722,
4800
4800
  "nodeType": "StructuredDocumentation",
4801
4801
  "src": "14587:305:41",
4802
4802
  "text": " @dev List subscriptions of an user\n @param token Super token address\n @param subscriber The subscriber's address\n @return publishers Publishers of the subcriptions\n @return indexIds Indexes of the subscriptions\n @return unitsList Units of the subscriptions"
4803
4803
  },
4804
4804
  "functionSelector": "b6dacdb8",
4805
- "id": 18727,
4805
+ "id": 18739,
4806
4806
  "implemented": false,
4807
4807
  "kind": "function",
4808
4808
  "modifiers": [],
@@ -4810,41 +4810,41 @@
4810
4810
  "nameLocation": "14906:17:41",
4811
4811
  "nodeType": "FunctionDefinition",
4812
4812
  "parameters": {
4813
- "id": 18716,
4813
+ "id": 18728,
4814
4814
  "nodeType": "ParameterList",
4815
4815
  "parameters": [
4816
4816
  {
4817
4817
  "constant": false,
4818
- "id": 18713,
4818
+ "id": 18725,
4819
4819
  "mutability": "mutable",
4820
4820
  "name": "token",
4821
4821
  "nameLocation": "14950:5:41",
4822
4822
  "nodeType": "VariableDeclaration",
4823
- "scope": 18727,
4823
+ "scope": 18739,
4824
4824
  "src": "14933:22:41",
4825
4825
  "stateVariable": false,
4826
4826
  "storageLocation": "default",
4827
4827
  "typeDescriptions": {
4828
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4828
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4829
4829
  "typeString": "contract ISuperfluidToken"
4830
4830
  },
4831
4831
  "typeName": {
4832
- "id": 18712,
4832
+ "id": 18724,
4833
4833
  "nodeType": "UserDefinedTypeName",
4834
4834
  "pathNode": {
4835
- "id": 18711,
4835
+ "id": 18723,
4836
4836
  "name": "ISuperfluidToken",
4837
4837
  "nameLocations": [
4838
4838
  "14933:16:41"
4839
4839
  ],
4840
4840
  "nodeType": "IdentifierPath",
4841
- "referencedDeclaration": 20935,
4841
+ "referencedDeclaration": 20947,
4842
4842
  "src": "14933:16:41"
4843
4843
  },
4844
- "referencedDeclaration": 20935,
4844
+ "referencedDeclaration": 20947,
4845
4845
  "src": "14933:16:41",
4846
4846
  "typeDescriptions": {
4847
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
4847
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
4848
4848
  "typeString": "contract ISuperfluidToken"
4849
4849
  }
4850
4850
  },
@@ -4852,12 +4852,12 @@
4852
4852
  },
4853
4853
  {
4854
4854
  "constant": false,
4855
- "id": 18715,
4855
+ "id": 18727,
4856
4856
  "mutability": "mutable",
4857
4857
  "name": "subscriber",
4858
4858
  "nameLocation": "14973:10:41",
4859
4859
  "nodeType": "VariableDeclaration",
4860
- "scope": 18727,
4860
+ "scope": 18739,
4861
4861
  "src": "14965:18:41",
4862
4862
  "stateVariable": false,
4863
4863
  "storageLocation": "default",
@@ -4866,7 +4866,7 @@
4866
4866
  "typeString": "address"
4867
4867
  },
4868
4868
  "typeName": {
4869
- "id": 18714,
4869
+ "id": 18726,
4870
4870
  "name": "address",
4871
4871
  "nodeType": "ElementaryTypeName",
4872
4872
  "src": "14965:7:41",
@@ -4882,17 +4882,17 @@
4882
4882
  "src": "14923:61:41"
4883
4883
  },
4884
4884
  "returnParameters": {
4885
- "id": 18726,
4885
+ "id": 18738,
4886
4886
  "nodeType": "ParameterList",
4887
4887
  "parameters": [
4888
4888
  {
4889
4889
  "constant": false,
4890
- "id": 18719,
4890
+ "id": 18731,
4891
4891
  "mutability": "mutable",
4892
4892
  "name": "publishers",
4893
4893
  "nameLocation": "15097:10:41",
4894
4894
  "nodeType": "VariableDeclaration",
4895
- "scope": 18727,
4895
+ "scope": 18739,
4896
4896
  "src": "15080:27:41",
4897
4897
  "stateVariable": false,
4898
4898
  "storageLocation": "memory",
@@ -4902,7 +4902,7 @@
4902
4902
  },
4903
4903
  "typeName": {
4904
4904
  "baseType": {
4905
- "id": 18717,
4905
+ "id": 18729,
4906
4906
  "name": "address",
4907
4907
  "nodeType": "ElementaryTypeName",
4908
4908
  "src": "15080:7:41",
@@ -4912,7 +4912,7 @@
4912
4912
  "typeString": "address"
4913
4913
  }
4914
4914
  },
4915
- "id": 18718,
4915
+ "id": 18730,
4916
4916
  "nodeType": "ArrayTypeName",
4917
4917
  "src": "15080:9:41",
4918
4918
  "typeDescriptions": {
@@ -4924,12 +4924,12 @@
4924
4924
  },
4925
4925
  {
4926
4926
  "constant": false,
4927
- "id": 18722,
4927
+ "id": 18734,
4928
4928
  "mutability": "mutable",
4929
4929
  "name": "indexIds",
4930
4930
  "nameLocation": "15141:8:41",
4931
4931
  "nodeType": "VariableDeclaration",
4932
- "scope": 18727,
4932
+ "scope": 18739,
4933
4933
  "src": "15125:24:41",
4934
4934
  "stateVariable": false,
4935
4935
  "storageLocation": "memory",
@@ -4939,7 +4939,7 @@
4939
4939
  },
4940
4940
  "typeName": {
4941
4941
  "baseType": {
4942
- "id": 18720,
4942
+ "id": 18732,
4943
4943
  "name": "uint32",
4944
4944
  "nodeType": "ElementaryTypeName",
4945
4945
  "src": "15125:6:41",
@@ -4948,7 +4948,7 @@
4948
4948
  "typeString": "uint32"
4949
4949
  }
4950
4950
  },
4951
- "id": 18721,
4951
+ "id": 18733,
4952
4952
  "nodeType": "ArrayTypeName",
4953
4953
  "src": "15125:8:41",
4954
4954
  "typeDescriptions": {
@@ -4960,12 +4960,12 @@
4960
4960
  },
4961
4961
  {
4962
4962
  "constant": false,
4963
- "id": 18725,
4963
+ "id": 18737,
4964
4964
  "mutability": "mutable",
4965
4965
  "name": "unitsList",
4966
4966
  "nameLocation": "15184:9:41",
4967
4967
  "nodeType": "VariableDeclaration",
4968
- "scope": 18727,
4968
+ "scope": 18739,
4969
4969
  "src": "15167:26:41",
4970
4970
  "stateVariable": false,
4971
4971
  "storageLocation": "memory",
@@ -4975,7 +4975,7 @@
4975
4975
  },
4976
4976
  "typeName": {
4977
4977
  "baseType": {
4978
- "id": 18723,
4978
+ "id": 18735,
4979
4979
  "name": "uint128",
4980
4980
  "nodeType": "ElementaryTypeName",
4981
4981
  "src": "15167:7:41",
@@ -4984,7 +4984,7 @@
4984
4984
  "typeString": "uint128"
4985
4985
  }
4986
4986
  },
4987
- "id": 18724,
4987
+ "id": 18736,
4988
4988
  "nodeType": "ArrayTypeName",
4989
4989
  "src": "15167:9:41",
4990
4990
  "typeDescriptions": {
@@ -4997,7 +4997,7 @@
4997
4997
  ],
4998
4998
  "src": "15062:132:41"
4999
4999
  },
5000
- "scope": 18790,
5000
+ "scope": 18802,
5001
5001
  "src": "14897:298:41",
5002
5002
  "stateMutability": "view",
5003
5003
  "virtual": true,
@@ -5005,13 +5005,13 @@
5005
5005
  },
5006
5006
  {
5007
5007
  "documentation": {
5008
- "id": 18728,
5008
+ "id": 18740,
5009
5009
  "nodeType": "StructuredDocumentation",
5010
5010
  "src": "15201:633:41",
5011
5011
  "text": " @dev Delete the subscription of an user\n @param token Super token address\n @param publisher The publisher of the index\n @param indexId Id of the index\n @param subscriber The subscriber's address\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:callbacks \n - if the subscriber called it\n - AgreementTerminated callback to the publsiher:\n - agreementId is for the subscription\n - if the publisher called it\n - AgreementTerminated callback to the subscriber:\n - agreementId is for the subscription"
5012
5012
  },
5013
5013
  "functionSelector": "2e5e74c6",
5014
- "id": 18744,
5014
+ "id": 18756,
5015
5015
  "implemented": false,
5016
5016
  "kind": "function",
5017
5017
  "modifiers": [],
@@ -5019,41 +5019,41 @@
5019
5019
  "nameLocation": "15848:18:41",
5020
5020
  "nodeType": "FunctionDefinition",
5021
5021
  "parameters": {
5022
- "id": 18740,
5022
+ "id": 18752,
5023
5023
  "nodeType": "ParameterList",
5024
5024
  "parameters": [
5025
5025
  {
5026
5026
  "constant": false,
5027
- "id": 18731,
5027
+ "id": 18743,
5028
5028
  "mutability": "mutable",
5029
5029
  "name": "token",
5030
5030
  "nameLocation": "15893:5:41",
5031
5031
  "nodeType": "VariableDeclaration",
5032
- "scope": 18744,
5032
+ "scope": 18756,
5033
5033
  "src": "15876:22:41",
5034
5034
  "stateVariable": false,
5035
5035
  "storageLocation": "default",
5036
5036
  "typeDescriptions": {
5037
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5037
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5038
5038
  "typeString": "contract ISuperfluidToken"
5039
5039
  },
5040
5040
  "typeName": {
5041
- "id": 18730,
5041
+ "id": 18742,
5042
5042
  "nodeType": "UserDefinedTypeName",
5043
5043
  "pathNode": {
5044
- "id": 18729,
5044
+ "id": 18741,
5045
5045
  "name": "ISuperfluidToken",
5046
5046
  "nameLocations": [
5047
5047
  "15876:16:41"
5048
5048
  ],
5049
5049
  "nodeType": "IdentifierPath",
5050
- "referencedDeclaration": 20935,
5050
+ "referencedDeclaration": 20947,
5051
5051
  "src": "15876:16:41"
5052
5052
  },
5053
- "referencedDeclaration": 20935,
5053
+ "referencedDeclaration": 20947,
5054
5054
  "src": "15876:16:41",
5055
5055
  "typeDescriptions": {
5056
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5056
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5057
5057
  "typeString": "contract ISuperfluidToken"
5058
5058
  }
5059
5059
  },
@@ -5061,12 +5061,12 @@
5061
5061
  },
5062
5062
  {
5063
5063
  "constant": false,
5064
- "id": 18733,
5064
+ "id": 18745,
5065
5065
  "mutability": "mutable",
5066
5066
  "name": "publisher",
5067
5067
  "nameLocation": "15916:9:41",
5068
5068
  "nodeType": "VariableDeclaration",
5069
- "scope": 18744,
5069
+ "scope": 18756,
5070
5070
  "src": "15908:17:41",
5071
5071
  "stateVariable": false,
5072
5072
  "storageLocation": "default",
@@ -5075,7 +5075,7 @@
5075
5075
  "typeString": "address"
5076
5076
  },
5077
5077
  "typeName": {
5078
- "id": 18732,
5078
+ "id": 18744,
5079
5079
  "name": "address",
5080
5080
  "nodeType": "ElementaryTypeName",
5081
5081
  "src": "15908:7:41",
@@ -5089,12 +5089,12 @@
5089
5089
  },
5090
5090
  {
5091
5091
  "constant": false,
5092
- "id": 18735,
5092
+ "id": 18747,
5093
5093
  "mutability": "mutable",
5094
5094
  "name": "indexId",
5095
5095
  "nameLocation": "15942:7:41",
5096
5096
  "nodeType": "VariableDeclaration",
5097
- "scope": 18744,
5097
+ "scope": 18756,
5098
5098
  "src": "15935:14:41",
5099
5099
  "stateVariable": false,
5100
5100
  "storageLocation": "default",
@@ -5103,7 +5103,7 @@
5103
5103
  "typeString": "uint32"
5104
5104
  },
5105
5105
  "typeName": {
5106
- "id": 18734,
5106
+ "id": 18746,
5107
5107
  "name": "uint32",
5108
5108
  "nodeType": "ElementaryTypeName",
5109
5109
  "src": "15935:6:41",
@@ -5116,12 +5116,12 @@
5116
5116
  },
5117
5117
  {
5118
5118
  "constant": false,
5119
- "id": 18737,
5119
+ "id": 18749,
5120
5120
  "mutability": "mutable",
5121
5121
  "name": "subscriber",
5122
5122
  "nameLocation": "15967:10:41",
5123
5123
  "nodeType": "VariableDeclaration",
5124
- "scope": 18744,
5124
+ "scope": 18756,
5125
5125
  "src": "15959:18:41",
5126
5126
  "stateVariable": false,
5127
5127
  "storageLocation": "default",
@@ -5130,7 +5130,7 @@
5130
5130
  "typeString": "address"
5131
5131
  },
5132
5132
  "typeName": {
5133
- "id": 18736,
5133
+ "id": 18748,
5134
5134
  "name": "address",
5135
5135
  "nodeType": "ElementaryTypeName",
5136
5136
  "src": "15959:7:41",
@@ -5144,12 +5144,12 @@
5144
5144
  },
5145
5145
  {
5146
5146
  "constant": false,
5147
- "id": 18739,
5147
+ "id": 18751,
5148
5148
  "mutability": "mutable",
5149
5149
  "name": "ctx",
5150
5150
  "nameLocation": "16002:3:41",
5151
5151
  "nodeType": "VariableDeclaration",
5152
- "scope": 18744,
5152
+ "scope": 18756,
5153
5153
  "src": "15987:18:41",
5154
5154
  "stateVariable": false,
5155
5155
  "storageLocation": "calldata",
@@ -5158,7 +5158,7 @@
5158
5158
  "typeString": "bytes"
5159
5159
  },
5160
5160
  "typeName": {
5161
- "id": 18738,
5161
+ "id": 18750,
5162
5162
  "name": "bytes",
5163
5163
  "nodeType": "ElementaryTypeName",
5164
5164
  "src": "15987:5:41",
@@ -5173,17 +5173,17 @@
5173
5173
  "src": "15866:140:41"
5174
5174
  },
5175
5175
  "returnParameters": {
5176
- "id": 18743,
5176
+ "id": 18755,
5177
5177
  "nodeType": "ParameterList",
5178
5178
  "parameters": [
5179
5179
  {
5180
5180
  "constant": false,
5181
- "id": 18742,
5181
+ "id": 18754,
5182
5182
  "mutability": "mutable",
5183
5183
  "name": "newCtx",
5184
5184
  "nameLocation": "16081:6:41",
5185
5185
  "nodeType": "VariableDeclaration",
5186
- "scope": 18744,
5186
+ "scope": 18756,
5187
5187
  "src": "16068:19:41",
5188
5188
  "stateVariable": false,
5189
5189
  "storageLocation": "memory",
@@ -5192,7 +5192,7 @@
5192
5192
  "typeString": "bytes"
5193
5193
  },
5194
5194
  "typeName": {
5195
- "id": 18741,
5195
+ "id": 18753,
5196
5196
  "name": "bytes",
5197
5197
  "nodeType": "ElementaryTypeName",
5198
5198
  "src": "16068:5:41",
@@ -5206,7 +5206,7 @@
5206
5206
  ],
5207
5207
  "src": "16067:21:41"
5208
5208
  },
5209
- "scope": 18790,
5209
+ "scope": 18802,
5210
5210
  "src": "15839:250:41",
5211
5211
  "stateMutability": "nonpayable",
5212
5212
  "virtual": true,
@@ -5214,13 +5214,13 @@
5214
5214
  },
5215
5215
  {
5216
5216
  "documentation": {
5217
- "id": 18745,
5217
+ "id": 18757,
5218
5218
  "nodeType": "StructuredDocumentation",
5219
5219
  "src": "16095:495:41",
5220
5220
  "text": " @dev Claim pending distributions\n @param token Super token address\n @param publisher The publisher of the index\n @param indexId Id of the index\n @param subscriber The subscriber's address\n @param ctx Context bytes (see ISuperfluid.sol for Context struct)\n @custom:note The subscription should not be approved yet\n @custom:callbacks \n - AgreementUpdated callback to the publisher:\n - agreementId is for the subscription"
5221
5221
  },
5222
5222
  "functionSelector": "acafa1b8",
5223
- "id": 18761,
5223
+ "id": 18773,
5224
5224
  "implemented": false,
5225
5225
  "kind": "function",
5226
5226
  "modifiers": [],
@@ -5228,41 +5228,41 @@
5228
5228
  "nameLocation": "16604:5:41",
5229
5229
  "nodeType": "FunctionDefinition",
5230
5230
  "parameters": {
5231
- "id": 18757,
5231
+ "id": 18769,
5232
5232
  "nodeType": "ParameterList",
5233
5233
  "parameters": [
5234
5234
  {
5235
5235
  "constant": false,
5236
- "id": 18748,
5236
+ "id": 18760,
5237
5237
  "mutability": "mutable",
5238
5238
  "name": "token",
5239
5239
  "nameLocation": "16636:5:41",
5240
5240
  "nodeType": "VariableDeclaration",
5241
- "scope": 18761,
5241
+ "scope": 18773,
5242
5242
  "src": "16619:22:41",
5243
5243
  "stateVariable": false,
5244
5244
  "storageLocation": "default",
5245
5245
  "typeDescriptions": {
5246
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5246
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5247
5247
  "typeString": "contract ISuperfluidToken"
5248
5248
  },
5249
5249
  "typeName": {
5250
- "id": 18747,
5250
+ "id": 18759,
5251
5251
  "nodeType": "UserDefinedTypeName",
5252
5252
  "pathNode": {
5253
- "id": 18746,
5253
+ "id": 18758,
5254
5254
  "name": "ISuperfluidToken",
5255
5255
  "nameLocations": [
5256
5256
  "16619:16:41"
5257
5257
  ],
5258
5258
  "nodeType": "IdentifierPath",
5259
- "referencedDeclaration": 20935,
5259
+ "referencedDeclaration": 20947,
5260
5260
  "src": "16619:16:41"
5261
5261
  },
5262
- "referencedDeclaration": 20935,
5262
+ "referencedDeclaration": 20947,
5263
5263
  "src": "16619:16:41",
5264
5264
  "typeDescriptions": {
5265
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5265
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5266
5266
  "typeString": "contract ISuperfluidToken"
5267
5267
  }
5268
5268
  },
@@ -5270,12 +5270,12 @@
5270
5270
  },
5271
5271
  {
5272
5272
  "constant": false,
5273
- "id": 18750,
5273
+ "id": 18762,
5274
5274
  "mutability": "mutable",
5275
5275
  "name": "publisher",
5276
5276
  "nameLocation": "16659:9:41",
5277
5277
  "nodeType": "VariableDeclaration",
5278
- "scope": 18761,
5278
+ "scope": 18773,
5279
5279
  "src": "16651:17:41",
5280
5280
  "stateVariable": false,
5281
5281
  "storageLocation": "default",
@@ -5284,7 +5284,7 @@
5284
5284
  "typeString": "address"
5285
5285
  },
5286
5286
  "typeName": {
5287
- "id": 18749,
5287
+ "id": 18761,
5288
5288
  "name": "address",
5289
5289
  "nodeType": "ElementaryTypeName",
5290
5290
  "src": "16651:7:41",
@@ -5298,12 +5298,12 @@
5298
5298
  },
5299
5299
  {
5300
5300
  "constant": false,
5301
- "id": 18752,
5301
+ "id": 18764,
5302
5302
  "mutability": "mutable",
5303
5303
  "name": "indexId",
5304
5304
  "nameLocation": "16685:7:41",
5305
5305
  "nodeType": "VariableDeclaration",
5306
- "scope": 18761,
5306
+ "scope": 18773,
5307
5307
  "src": "16678:14:41",
5308
5308
  "stateVariable": false,
5309
5309
  "storageLocation": "default",
@@ -5312,7 +5312,7 @@
5312
5312
  "typeString": "uint32"
5313
5313
  },
5314
5314
  "typeName": {
5315
- "id": 18751,
5315
+ "id": 18763,
5316
5316
  "name": "uint32",
5317
5317
  "nodeType": "ElementaryTypeName",
5318
5318
  "src": "16678:6:41",
@@ -5325,12 +5325,12 @@
5325
5325
  },
5326
5326
  {
5327
5327
  "constant": false,
5328
- "id": 18754,
5328
+ "id": 18766,
5329
5329
  "mutability": "mutable",
5330
5330
  "name": "subscriber",
5331
5331
  "nameLocation": "16710:10:41",
5332
5332
  "nodeType": "VariableDeclaration",
5333
- "scope": 18761,
5333
+ "scope": 18773,
5334
5334
  "src": "16702:18:41",
5335
5335
  "stateVariable": false,
5336
5336
  "storageLocation": "default",
@@ -5339,7 +5339,7 @@
5339
5339
  "typeString": "address"
5340
5340
  },
5341
5341
  "typeName": {
5342
- "id": 18753,
5342
+ "id": 18765,
5343
5343
  "name": "address",
5344
5344
  "nodeType": "ElementaryTypeName",
5345
5345
  "src": "16702:7:41",
@@ -5353,12 +5353,12 @@
5353
5353
  },
5354
5354
  {
5355
5355
  "constant": false,
5356
- "id": 18756,
5356
+ "id": 18768,
5357
5357
  "mutability": "mutable",
5358
5358
  "name": "ctx",
5359
5359
  "nameLocation": "16745:3:41",
5360
5360
  "nodeType": "VariableDeclaration",
5361
- "scope": 18761,
5361
+ "scope": 18773,
5362
5362
  "src": "16730:18:41",
5363
5363
  "stateVariable": false,
5364
5364
  "storageLocation": "calldata",
@@ -5367,7 +5367,7 @@
5367
5367
  "typeString": "bytes"
5368
5368
  },
5369
5369
  "typeName": {
5370
- "id": 18755,
5370
+ "id": 18767,
5371
5371
  "name": "bytes",
5372
5372
  "nodeType": "ElementaryTypeName",
5373
5373
  "src": "16730:5:41",
@@ -5382,17 +5382,17 @@
5382
5382
  "src": "16609:140:41"
5383
5383
  },
5384
5384
  "returnParameters": {
5385
- "id": 18760,
5385
+ "id": 18772,
5386
5386
  "nodeType": "ParameterList",
5387
5387
  "parameters": [
5388
5388
  {
5389
5389
  "constant": false,
5390
- "id": 18759,
5390
+ "id": 18771,
5391
5391
  "mutability": "mutable",
5392
5392
  "name": "newCtx",
5393
5393
  "nameLocation": "16812:6:41",
5394
5394
  "nodeType": "VariableDeclaration",
5395
- "scope": 18761,
5395
+ "scope": 18773,
5396
5396
  "src": "16799:19:41",
5397
5397
  "stateVariable": false,
5398
5398
  "storageLocation": "memory",
@@ -5401,7 +5401,7 @@
5401
5401
  "typeString": "bytes"
5402
5402
  },
5403
5403
  "typeName": {
5404
- "id": 18758,
5404
+ "id": 18770,
5405
5405
  "name": "bytes",
5406
5406
  "nodeType": "ElementaryTypeName",
5407
5407
  "src": "16799:5:41",
@@ -5415,7 +5415,7 @@
5415
5415
  ],
5416
5416
  "src": "16798:21:41"
5417
5417
  },
5418
- "scope": 18790,
5418
+ "scope": 18802,
5419
5419
  "src": "16595:225:41",
5420
5420
  "stateMutability": "nonpayable",
5421
5421
  "virtual": true,
@@ -5424,53 +5424,53 @@
5424
5424
  {
5425
5425
  "anonymous": false,
5426
5426
  "documentation": {
5427
- "id": 18762,
5427
+ "id": 18774,
5428
5428
  "nodeType": "StructuredDocumentation",
5429
5429
  "src": "16830:289:41",
5430
5430
  "text": " @dev Index distribution claimed event\n @param token Super token address\n @param publisher Index publisher\n @param indexId The specified indexId\n @param subscriber The subscriber units updated\n @param amount The pending amount claimed"
5431
5431
  },
5432
5432
  "eventSelector": "467eccd248ef31c8bcef16d94856855799a8783aeef10f3759e43614059a6bb1",
5433
- "id": 18775,
5433
+ "id": 18787,
5434
5434
  "name": "IndexDistributionClaimed",
5435
5435
  "nameLocation": "17130:24:41",
5436
5436
  "nodeType": "EventDefinition",
5437
5437
  "parameters": {
5438
- "id": 18774,
5438
+ "id": 18786,
5439
5439
  "nodeType": "ParameterList",
5440
5440
  "parameters": [
5441
5441
  {
5442
5442
  "constant": false,
5443
- "id": 18765,
5443
+ "id": 18777,
5444
5444
  "indexed": true,
5445
5445
  "mutability": "mutable",
5446
5446
  "name": "token",
5447
5447
  "nameLocation": "17189:5:41",
5448
5448
  "nodeType": "VariableDeclaration",
5449
- "scope": 18775,
5449
+ "scope": 18787,
5450
5450
  "src": "17164:30:41",
5451
5451
  "stateVariable": false,
5452
5452
  "storageLocation": "default",
5453
5453
  "typeDescriptions": {
5454
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5454
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5455
5455
  "typeString": "contract ISuperfluidToken"
5456
5456
  },
5457
5457
  "typeName": {
5458
- "id": 18764,
5458
+ "id": 18776,
5459
5459
  "nodeType": "UserDefinedTypeName",
5460
5460
  "pathNode": {
5461
- "id": 18763,
5461
+ "id": 18775,
5462
5462
  "name": "ISuperfluidToken",
5463
5463
  "nameLocations": [
5464
5464
  "17164:16:41"
5465
5465
  ],
5466
5466
  "nodeType": "IdentifierPath",
5467
- "referencedDeclaration": 20935,
5467
+ "referencedDeclaration": 20947,
5468
5468
  "src": "17164:16:41"
5469
5469
  },
5470
- "referencedDeclaration": 20935,
5470
+ "referencedDeclaration": 20947,
5471
5471
  "src": "17164:16:41",
5472
5472
  "typeDescriptions": {
5473
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5473
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5474
5474
  "typeString": "contract ISuperfluidToken"
5475
5475
  }
5476
5476
  },
@@ -5478,13 +5478,13 @@
5478
5478
  },
5479
5479
  {
5480
5480
  "constant": false,
5481
- "id": 18767,
5481
+ "id": 18779,
5482
5482
  "indexed": true,
5483
5483
  "mutability": "mutable",
5484
5484
  "name": "publisher",
5485
5485
  "nameLocation": "17220:9:41",
5486
5486
  "nodeType": "VariableDeclaration",
5487
- "scope": 18775,
5487
+ "scope": 18787,
5488
5488
  "src": "17204:25:41",
5489
5489
  "stateVariable": false,
5490
5490
  "storageLocation": "default",
@@ -5493,7 +5493,7 @@
5493
5493
  "typeString": "address"
5494
5494
  },
5495
5495
  "typeName": {
5496
- "id": 18766,
5496
+ "id": 18778,
5497
5497
  "name": "address",
5498
5498
  "nodeType": "ElementaryTypeName",
5499
5499
  "src": "17204:7:41",
@@ -5507,13 +5507,13 @@
5507
5507
  },
5508
5508
  {
5509
5509
  "constant": false,
5510
- "id": 18769,
5510
+ "id": 18781,
5511
5511
  "indexed": true,
5512
5512
  "mutability": "mutable",
5513
5513
  "name": "indexId",
5514
5514
  "nameLocation": "17254:7:41",
5515
5515
  "nodeType": "VariableDeclaration",
5516
- "scope": 18775,
5516
+ "scope": 18787,
5517
5517
  "src": "17239:22:41",
5518
5518
  "stateVariable": false,
5519
5519
  "storageLocation": "default",
@@ -5522,7 +5522,7 @@
5522
5522
  "typeString": "uint32"
5523
5523
  },
5524
5524
  "typeName": {
5525
- "id": 18768,
5525
+ "id": 18780,
5526
5526
  "name": "uint32",
5527
5527
  "nodeType": "ElementaryTypeName",
5528
5528
  "src": "17239:6:41",
@@ -5535,13 +5535,13 @@
5535
5535
  },
5536
5536
  {
5537
5537
  "constant": false,
5538
- "id": 18771,
5538
+ "id": 18783,
5539
5539
  "indexed": false,
5540
5540
  "mutability": "mutable",
5541
5541
  "name": "subscriber",
5542
5542
  "nameLocation": "17279:10:41",
5543
5543
  "nodeType": "VariableDeclaration",
5544
- "scope": 18775,
5544
+ "scope": 18787,
5545
5545
  "src": "17271:18:41",
5546
5546
  "stateVariable": false,
5547
5547
  "storageLocation": "default",
@@ -5550,7 +5550,7 @@
5550
5550
  "typeString": "address"
5551
5551
  },
5552
5552
  "typeName": {
5553
- "id": 18770,
5553
+ "id": 18782,
5554
5554
  "name": "address",
5555
5555
  "nodeType": "ElementaryTypeName",
5556
5556
  "src": "17271:7:41",
@@ -5564,13 +5564,13 @@
5564
5564
  },
5565
5565
  {
5566
5566
  "constant": false,
5567
- "id": 18773,
5567
+ "id": 18785,
5568
5568
  "indexed": false,
5569
5569
  "mutability": "mutable",
5570
5570
  "name": "amount",
5571
5571
  "nameLocation": "17307:6:41",
5572
5572
  "nodeType": "VariableDeclaration",
5573
- "scope": 18775,
5573
+ "scope": 18787,
5574
5574
  "src": "17299:14:41",
5575
5575
  "stateVariable": false,
5576
5576
  "storageLocation": "default",
@@ -5579,7 +5579,7 @@
5579
5579
  "typeString": "uint256"
5580
5580
  },
5581
5581
  "typeName": {
5582
- "id": 18772,
5582
+ "id": 18784,
5583
5583
  "name": "uint256",
5584
5584
  "nodeType": "ElementaryTypeName",
5585
5585
  "src": "17299:7:41",
@@ -5598,53 +5598,53 @@
5598
5598
  {
5599
5599
  "anonymous": false,
5600
5600
  "documentation": {
5601
- "id": 18776,
5601
+ "id": 18788,
5602
5602
  "nodeType": "StructuredDocumentation",
5603
5603
  "src": "17325:296:41",
5604
5604
  "text": " @dev Subscription distribution claimed event\n @param token Super token address\n @param subscriber The subscriber units updated\n @param publisher Index publisher\n @param indexId The specified indexId\n @param amount The pending amount claimed"
5605
5605
  },
5606
5606
  "eventSelector": "48a3d91d4a07e4982b081260e24f922bd33bb965882772d6de19c922c3eabdea",
5607
- "id": 18789,
5607
+ "id": 18801,
5608
5608
  "name": "SubscriptionDistributionClaimed",
5609
5609
  "nameLocation": "17632:31:41",
5610
5610
  "nodeType": "EventDefinition",
5611
5611
  "parameters": {
5612
- "id": 18788,
5612
+ "id": 18800,
5613
5613
  "nodeType": "ParameterList",
5614
5614
  "parameters": [
5615
5615
  {
5616
5616
  "constant": false,
5617
- "id": 18779,
5617
+ "id": 18791,
5618
5618
  "indexed": true,
5619
5619
  "mutability": "mutable",
5620
5620
  "name": "token",
5621
5621
  "nameLocation": "17698:5:41",
5622
5622
  "nodeType": "VariableDeclaration",
5623
- "scope": 18789,
5623
+ "scope": 18801,
5624
5624
  "src": "17673:30:41",
5625
5625
  "stateVariable": false,
5626
5626
  "storageLocation": "default",
5627
5627
  "typeDescriptions": {
5628
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5628
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5629
5629
  "typeString": "contract ISuperfluidToken"
5630
5630
  },
5631
5631
  "typeName": {
5632
- "id": 18778,
5632
+ "id": 18790,
5633
5633
  "nodeType": "UserDefinedTypeName",
5634
5634
  "pathNode": {
5635
- "id": 18777,
5635
+ "id": 18789,
5636
5636
  "name": "ISuperfluidToken",
5637
5637
  "nameLocations": [
5638
5638
  "17673:16:41"
5639
5639
  ],
5640
5640
  "nodeType": "IdentifierPath",
5641
- "referencedDeclaration": 20935,
5641
+ "referencedDeclaration": 20947,
5642
5642
  "src": "17673:16:41"
5643
5643
  },
5644
- "referencedDeclaration": 20935,
5644
+ "referencedDeclaration": 20947,
5645
5645
  "src": "17673:16:41",
5646
5646
  "typeDescriptions": {
5647
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20935",
5647
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20947",
5648
5648
  "typeString": "contract ISuperfluidToken"
5649
5649
  }
5650
5650
  },
@@ -5652,13 +5652,13 @@
5652
5652
  },
5653
5653
  {
5654
5654
  "constant": false,
5655
- "id": 18781,
5655
+ "id": 18793,
5656
5656
  "indexed": true,
5657
5657
  "mutability": "mutable",
5658
5658
  "name": "subscriber",
5659
5659
  "nameLocation": "17729:10:41",
5660
5660
  "nodeType": "VariableDeclaration",
5661
- "scope": 18789,
5661
+ "scope": 18801,
5662
5662
  "src": "17713:26:41",
5663
5663
  "stateVariable": false,
5664
5664
  "storageLocation": "default",
@@ -5667,7 +5667,7 @@
5667
5667
  "typeString": "address"
5668
5668
  },
5669
5669
  "typeName": {
5670
- "id": 18780,
5670
+ "id": 18792,
5671
5671
  "name": "address",
5672
5672
  "nodeType": "ElementaryTypeName",
5673
5673
  "src": "17713:7:41",
@@ -5681,13 +5681,13 @@
5681
5681
  },
5682
5682
  {
5683
5683
  "constant": false,
5684
- "id": 18783,
5684
+ "id": 18795,
5685
5685
  "indexed": false,
5686
5686
  "mutability": "mutable",
5687
5687
  "name": "publisher",
5688
5688
  "nameLocation": "17757:9:41",
5689
5689
  "nodeType": "VariableDeclaration",
5690
- "scope": 18789,
5690
+ "scope": 18801,
5691
5691
  "src": "17749:17:41",
5692
5692
  "stateVariable": false,
5693
5693
  "storageLocation": "default",
@@ -5696,7 +5696,7 @@
5696
5696
  "typeString": "address"
5697
5697
  },
5698
5698
  "typeName": {
5699
- "id": 18782,
5699
+ "id": 18794,
5700
5700
  "name": "address",
5701
5701
  "nodeType": "ElementaryTypeName",
5702
5702
  "src": "17749:7:41",
@@ -5710,13 +5710,13 @@
5710
5710
  },
5711
5711
  {
5712
5712
  "constant": false,
5713
- "id": 18785,
5713
+ "id": 18797,
5714
5714
  "indexed": false,
5715
5715
  "mutability": "mutable",
5716
5716
  "name": "indexId",
5717
5717
  "nameLocation": "17783:7:41",
5718
5718
  "nodeType": "VariableDeclaration",
5719
- "scope": 18789,
5719
+ "scope": 18801,
5720
5720
  "src": "17776:14:41",
5721
5721
  "stateVariable": false,
5722
5722
  "storageLocation": "default",
@@ -5725,7 +5725,7 @@
5725
5725
  "typeString": "uint32"
5726
5726
  },
5727
5727
  "typeName": {
5728
- "id": 18784,
5728
+ "id": 18796,
5729
5729
  "name": "uint32",
5730
5730
  "nodeType": "ElementaryTypeName",
5731
5731
  "src": "17776:6:41",
@@ -5738,13 +5738,13 @@
5738
5738
  },
5739
5739
  {
5740
5740
  "constant": false,
5741
- "id": 18787,
5741
+ "id": 18799,
5742
5742
  "indexed": false,
5743
5743
  "mutability": "mutable",
5744
5744
  "name": "amount",
5745
5745
  "nameLocation": "17808:6:41",
5746
5746
  "nodeType": "VariableDeclaration",
5747
- "scope": 18789,
5747
+ "scope": 18801,
5748
5748
  "src": "17800:14:41",
5749
5749
  "stateVariable": false,
5750
5750
  "storageLocation": "default",
@@ -5753,7 +5753,7 @@
5753
5753
  "typeString": "uint256"
5754
5754
  },
5755
5755
  "typeName": {
5756
- "id": 18786,
5756
+ "id": 18798,
5757
5757
  "name": "uint256",
5758
5758
  "nodeType": "ElementaryTypeName",
5759
5759
  "src": "17800:7:41",
@@ -5770,11 +5770,11 @@
5770
5770
  "src": "17626:190:41"
5771
5771
  }
5772
5772
  ],
5773
- "scope": 18791,
5773
+ "scope": 18803,
5774
5774
  "src": "1850:15969:41",
5775
5775
  "usedErrors": [
5776
- 18409,
5777
- 18411
5776
+ 18421,
5777
+ 18423
5778
5778
  ]
5779
5779
  }
5780
5780
  ],
@@ -5786,7 +5786,7 @@
5786
5786
  },
5787
5787
  "networks": {},
5788
5788
  "schemaVersion": "3.4.9",
5789
- "updatedAt": "2022-09-05T13:33:18.705Z",
5789
+ "updatedAt": "2022-09-21T11:06:18.118Z",
5790
5790
  "devdoc": {
5791
5791
  "author": "Superfluid",
5792
5792
  "events": {