@superfluid-finance/ethereum-contracts 1.7.2-dev.bac5c12.0 → 1.7.2-dev.dae8ea5.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 (204) hide show
  1. package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
  2. package/artifacts/contracts/mocks/IDASuperAppTester.sol/IDASuperAppTester.json +2 -2
  3. package/artifacts/contracts/mocks/MockSmartWallet.sol/MockSmartWallet.json +2 -2
  4. package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
  5. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock.json +2 -2
  6. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock.json +2 -2
  7. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel.json +2 -2
  8. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux.json +2 -2
  9. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockNotSelfRegistering.json +2 -2
  10. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx.json +2 -2
  11. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx.json +2 -2
  12. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp.json +2 -2
  13. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey.json +2 -2
  14. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidMock.json +2 -2
  15. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester.json +2 -2
  16. package/artifacts/contracts/superfluid/Superfluid.sol/Superfluid.json +2 -2
  17. package/artifacts/contracts/utils/SuperfluidFrameworkDeployer.sol/SuperfluidFrameworkDeployer.json +2 -2
  18. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/CFAv1ForwarderDeployerLibrary.json +2 -2
  19. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/IDAv1ForwarderDeployerLibrary.json +2 -2
  20. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/ProxyDeployerLibrary.json +2 -2
  21. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperTokenDeployerLibrary.json +2 -2
  22. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidCFAv1DeployerLibrary.json +2 -2
  23. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidFrameworkDeploymentSteps.json +2 -2
  24. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidGovDeployerLibrary.json +2 -2
  25. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidHostDeployerLibrary.json +2 -2
  26. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidIDAv1DeployerLibrary.json +2 -2
  27. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidLoaderDeployerLibrary.json +2 -2
  28. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidNFTLogicDeployerLibrary.json +2 -2
  29. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidPeripheryDeployerLibrary.json +2 -2
  30. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/TokenDeployerLibrary.json +2 -2
  31. package/build/contracts/AccessControl.json +1 -1
  32. package/build/contracts/AccessControlEnumerable.json +1 -1
  33. package/build/contracts/Address.json +1 -1
  34. package/build/contracts/AgreementBase.json +18 -18
  35. package/build/contracts/AgreementLibrary.json +165 -165
  36. package/build/contracts/BaseRelayRecipient.json +57 -57
  37. package/build/contracts/BatchLiquidator.json +382 -382
  38. package/build/contracts/BatchOperation.json +614 -614
  39. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  40. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2387 -2387
  41. package/build/contracts/CFAv1Library.json +389 -389
  42. package/build/contracts/CallUtils.json +198 -198
  43. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  44. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  45. package/build/contracts/ConstantInflowNFT.json +402 -402
  46. package/build/contracts/ConstantOutflowNFT.json +661 -661
  47. package/build/contracts/Context.json +1 -1
  48. package/build/contracts/ContextDefinitions.json +614 -614
  49. package/build/contracts/CustomSuperTokenBase.json +19 -19
  50. package/build/contracts/ERC165.json +1 -1
  51. package/build/contracts/ERC1820Implementer.json +1 -1
  52. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  53. package/build/contracts/ERC20.json +1 -1
  54. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  55. package/build/contracts/ERC777Helper.json +384 -384
  56. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  57. package/build/contracts/ERC777RecipientReverting.json +863 -863
  58. package/build/contracts/EnumerableSet.json +1 -1
  59. package/build/contracts/EventsEmitter.json +43 -43
  60. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  61. package/build/contracts/FixedSizeData.json +200 -200
  62. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  63. package/build/contracts/FlowNFTBase.json +1280 -1280
  64. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  65. package/build/contracts/ForwarderBase.json +190 -190
  66. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  67. package/build/contracts/IAccessControl.json +1 -1
  68. package/build/contracts/IAccessControlEnumerable.json +1 -1
  69. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  70. package/build/contracts/IConstantInflowNFT.json +54 -54
  71. package/build/contracts/IConstantOutflowNFT.json +107 -107
  72. package/build/contracts/IDAv1Forwarder.json +912 -912
  73. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2387 -2387
  74. package/build/contracts/IDAv1Library.json +430 -430
  75. package/build/contracts/IERC165.json +1 -1
  76. package/build/contracts/IERC1820Implementer.json +1 -1
  77. package/build/contracts/IERC1820Registry.json +1 -1
  78. package/build/contracts/IERC20.json +1 -1
  79. package/build/contracts/IERC20Metadata.json +1 -1
  80. package/build/contracts/IERC20Permit.json +1 -1
  81. package/build/contracts/IERC721.json +1 -1
  82. package/build/contracts/IERC721Metadata.json +1 -1
  83. package/build/contracts/IERC777.json +1 -1
  84. package/build/contracts/IERC777Recipient.json +1 -1
  85. package/build/contracts/IERC777Sender.json +1 -1
  86. package/build/contracts/IFlowNFTBase.json +115 -115
  87. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  88. package/build/contracts/IMultiSigWallet.json +31 -31
  89. package/build/contracts/IPoolAdminNFT.json +7 -7
  90. package/build/contracts/IPoolMemberNFT.json +7 -7
  91. package/build/contracts/IPureSuperToken.json +62 -62
  92. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  93. package/build/contracts/IRelayRecipient.json +27 -27
  94. package/build/contracts/IResolver.json +38 -38
  95. package/build/contracts/ISETH.json +67 -67
  96. package/build/contracts/ISETHCustom.json +67 -67
  97. package/build/contracts/ISuperAgreement.json +50 -50
  98. package/build/contracts/ISuperApp.json +191 -191
  99. package/build/contracts/ISuperToken.json +695 -695
  100. package/build/contracts/ISuperTokenFactory.json +225 -225
  101. package/build/contracts/ISuperfluid.json +904 -904
  102. package/build/contracts/ISuperfluidGovernance.json +251 -251
  103. package/build/contracts/ISuperfluidToken.json +407 -407
  104. package/build/contracts/ITOGAv1.json +1346 -1346
  105. package/build/contracts/ITOGAv2.json +1346 -1346
  106. package/build/contracts/ITOGAv3.json +1346 -1346
  107. package/build/contracts/Initializable.json +1 -1
  108. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  109. package/build/contracts/Math.json +1 -1
  110. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  111. package/build/contracts/Ownable.json +1 -1
  112. package/build/contracts/Proxy.json +1 -1
  113. package/build/contracts/ProxyDeployerLibrary.json +2385 -2385
  114. package/build/contracts/PureSuperToken.json +106 -106
  115. package/build/contracts/Resolver.json +98 -98
  116. package/build/contracts/SETHProxy.json +224 -224
  117. package/build/contracts/SafeCast.json +1 -1
  118. package/build/contracts/SafeERC20.json +1 -1
  119. package/build/contracts/SafeGasLibrary.json +51 -51
  120. package/build/contracts/SafeMath.json +1 -1
  121. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  122. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  123. package/build/contracts/StreamRedirector.json +704 -704
  124. package/build/contracts/Strings.json +1 -1
  125. package/build/contracts/SuperAppBase.json +42 -42
  126. package/build/contracts/SuperAppBaseFlow.json +1580 -1537
  127. package/build/contracts/SuperAppDefinitions.json +614 -614
  128. package/build/contracts/SuperToken.json +2714 -2714
  129. package/build/contracts/SuperTokenDeployerLibrary.json +2386 -2386
  130. package/build/contracts/SuperTokenFactory.json +1347 -1347
  131. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  132. package/build/contracts/SuperTokenV1Library.json +5632 -5632
  133. package/build/contracts/SuperUpgrader.json +439 -439
  134. package/build/contracts/Superfluid.json +7999 -7996
  135. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2386 -2386
  136. package/build/contracts/SuperfluidFrameworkDeployer.json +1263 -1263
  137. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2385 -2385
  138. package/build/contracts/SuperfluidGovDeployerLibrary.json +2386 -2386
  139. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  140. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  141. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  142. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  143. package/build/contracts/SuperfluidHostDeployerLibrary.json +2385 -2385
  144. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2386 -2386
  145. package/build/contracts/SuperfluidLoader.json +207 -207
  146. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2387 -2387
  147. package/build/contracts/SuperfluidLoaderLibrary.json +247 -247
  148. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2390 -2390
  149. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2388 -2388
  150. package/build/contracts/SuperfluidToken.json +1423 -1423
  151. package/build/contracts/TOGA.json +1360 -1360
  152. package/build/contracts/TestGovernance.json +250 -250
  153. package/build/contracts/TestResolver.json +47 -47
  154. package/build/contracts/TestToken.json +102 -102
  155. package/build/contracts/TokenDeployerLibrary.json +2387 -2387
  156. package/build/contracts/TokenInfo.json +32 -32
  157. package/build/contracts/UUPSProxiable.json +139 -139
  158. package/build/contracts/UUPSProxy.json +81 -81
  159. package/build/contracts/UUPSUtils.json +37 -37
  160. package/build/contracts-sizes.txt +15 -15
  161. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
  162. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
  163. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
  164. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
  165. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
  166. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
  167. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
  168. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.d.ts +1 -1
  169. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.js +1 -1
  170. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.d.ts +1 -1
  171. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.js +1 -1
  172. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
  173. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
  174. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
  175. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
  176. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.d.ts +1 -1
  177. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.js +1 -1
  178. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.d.ts +1 -1
  179. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.js +1 -1
  180. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.d.ts +1 -1
  181. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.js +1 -1
  182. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.d.ts +1 -1
  183. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.js +1 -1
  184. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.d.ts +1 -1
  185. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.js +1 -1
  186. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.d.ts +1 -1
  187. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.js +1 -1
  188. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.d.ts +1 -1
  189. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.js +1 -1
  190. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.d.ts +1 -1
  191. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.js +1 -1
  192. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.d.ts +1 -1
  193. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.js +1 -1
  194. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.d.ts +1 -1
  195. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.js +1 -1
  196. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.d.ts +1 -1
  197. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.js +1 -1
  198. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.d.ts +1 -1
  199. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.js +1 -1
  200. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.d.ts +1 -1
  201. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.js +1 -1
  202. package/contracts/apps/SuperAppBaseFlow.sol +11 -10
  203. package/contracts/superfluid/Superfluid.sol +1 -0
  204. package/package.json +3 -3
@@ -999,21 +999,21 @@
999
999
  "absolutePath": "project:/contracts/interfaces/agreements/IInstantDistributionAgreementV1.sol",
1000
1000
  "exportedSymbols": {
1001
1001
  "IInstantDistributionAgreementV1": [
1002
- 23135
1002
+ 23138
1003
1003
  ],
1004
1004
  "ISuperAgreement": [
1005
- 23806
1005
+ 23809
1006
1006
  ],
1007
1007
  "ISuperfluidToken": [
1008
- 25463
1008
+ 25466
1009
1009
  ]
1010
1010
  },
1011
- "id": 23136,
1011
+ "id": 23139,
1012
1012
  "license": "MIT",
1013
1013
  "nodeType": "SourceUnit",
1014
1014
  "nodes": [
1015
1015
  {
1016
- "id": 22731,
1016
+ "id": 22734,
1017
1017
  "literals": [
1018
1018
  "solidity",
1019
1019
  ">=",
@@ -1026,20 +1026,20 @@
1026
1026
  {
1027
1027
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperAgreement.sol",
1028
1028
  "file": "../superfluid/ISuperAgreement.sol",
1029
- "id": 22733,
1029
+ "id": 22736,
1030
1030
  "nameLocation": "-1:-1:-1",
1031
1031
  "nodeType": "ImportDirective",
1032
- "scope": 23136,
1033
- "sourceUnit": 23807,
1032
+ "scope": 23139,
1033
+ "sourceUnit": 23810,
1034
1034
  "src": "59:68:43",
1035
1035
  "symbolAliases": [
1036
1036
  {
1037
1037
  "foreign": {
1038
- "id": 22732,
1038
+ "id": 22735,
1039
1039
  "name": "ISuperAgreement",
1040
1040
  "nodeType": "Identifier",
1041
1041
  "overloadedDeclarations": [],
1042
- "referencedDeclaration": 23806,
1042
+ "referencedDeclaration": 23809,
1043
1043
  "src": "68:15:43",
1044
1044
  "typeDescriptions": {}
1045
1045
  },
@@ -1051,20 +1051,20 @@
1051
1051
  {
1052
1052
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
1053
1053
  "file": "../superfluid/ISuperfluidToken.sol",
1054
- "id": 22735,
1054
+ "id": 22738,
1055
1055
  "nameLocation": "-1:-1:-1",
1056
1056
  "nodeType": "ImportDirective",
1057
- "scope": 23136,
1058
- "sourceUnit": 25464,
1057
+ "scope": 23139,
1058
+ "sourceUnit": 25467,
1059
1059
  "src": "128:70:43",
1060
1060
  "symbolAliases": [
1061
1061
  {
1062
1062
  "foreign": {
1063
- "id": 22734,
1063
+ "id": 22737,
1064
1064
  "name": "ISuperfluidToken",
1065
1065
  "nodeType": "Identifier",
1066
1066
  "overloadedDeclarations": [],
1067
- "referencedDeclaration": 25463,
1067
+ "referencedDeclaration": 25466,
1068
1068
  "src": "137:16:43",
1069
1069
  "typeDescriptions": {}
1070
1070
  },
@@ -1078,16 +1078,16 @@
1078
1078
  "baseContracts": [
1079
1079
  {
1080
1080
  "baseName": {
1081
- "id": 22737,
1081
+ "id": 22740,
1082
1082
  "name": "ISuperAgreement",
1083
1083
  "nameLocations": [
1084
1084
  "1834:15:43"
1085
1085
  ],
1086
1086
  "nodeType": "IdentifierPath",
1087
- "referencedDeclaration": 23806,
1087
+ "referencedDeclaration": 23809,
1088
1088
  "src": "1834:15:43"
1089
1089
  },
1090
- "id": 22738,
1090
+ "id": 22741,
1091
1091
  "nodeType": "InheritanceSpecifier",
1092
1092
  "src": "1834:15:43"
1093
1093
  }
@@ -1096,16 +1096,16 @@
1096
1096
  "contractDependencies": [],
1097
1097
  "contractKind": "contract",
1098
1098
  "documentation": {
1099
- "id": 22736,
1099
+ "id": 22739,
1100
1100
  "nodeType": "StructuredDocumentation",
1101
1101
  "src": "201:1579:43",
1102
1102
  "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."
1103
1103
  },
1104
1104
  "fullyImplemented": false,
1105
- "id": 23135,
1105
+ "id": 23138,
1106
1106
  "linearizedBaseContracts": [
1107
- 23135,
1108
- 23806
1107
+ 23138,
1108
+ 23809
1109
1109
  ],
1110
1110
  "name": "IInstantDistributionAgreementV1",
1111
1111
  "nameLocation": "1799:31:43",
@@ -1113,12 +1113,12 @@
1113
1113
  "nodes": [
1114
1114
  {
1115
1115
  "errorSelector": "cfdca725",
1116
- "id": 22740,
1116
+ "id": 22743,
1117
1117
  "name": "IDA_INDEX_SHOULD_GROW",
1118
1118
  "nameLocation": "2037:21:43",
1119
1119
  "nodeType": "ErrorDefinition",
1120
1120
  "parameters": {
1121
- "id": 22739,
1121
+ "id": 22742,
1122
1122
  "nodeType": "ParameterList",
1123
1123
  "parameters": [],
1124
1124
  "src": "2058:2:43"
@@ -1127,12 +1127,12 @@
1127
1127
  },
1128
1128
  {
1129
1129
  "errorSelector": "92da6d17",
1130
- "id": 22742,
1130
+ "id": 22745,
1131
1131
  "name": "IDA_OPERATION_NOT_ALLOWED",
1132
1132
  "nameLocation": "2098:25:43",
1133
1133
  "nodeType": "ErrorDefinition",
1134
1134
  "parameters": {
1135
- "id": 22741,
1135
+ "id": 22744,
1136
1136
  "nodeType": "ParameterList",
1137
1137
  "parameters": [],
1138
1138
  "src": "2123:2:43"
@@ -1141,12 +1141,12 @@
1141
1141
  },
1142
1142
  {
1143
1143
  "errorSelector": "5c02a517",
1144
- "id": 22744,
1144
+ "id": 22747,
1145
1145
  "name": "IDA_INDEX_ALREADY_EXISTS",
1146
1146
  "nameLocation": "2159:24:43",
1147
1147
  "nodeType": "ErrorDefinition",
1148
1148
  "parameters": {
1149
- "id": 22743,
1149
+ "id": 22746,
1150
1150
  "nodeType": "ParameterList",
1151
1151
  "parameters": [],
1152
1152
  "src": "2183:2:43"
@@ -1155,12 +1155,12 @@
1155
1155
  },
1156
1156
  {
1157
1157
  "errorSelector": "edeaa63b",
1158
- "id": 22746,
1158
+ "id": 22749,
1159
1159
  "name": "IDA_INDEX_DOES_NOT_EXIST",
1160
1160
  "nameLocation": "2220:24:43",
1161
1161
  "nodeType": "ErrorDefinition",
1162
1162
  "parameters": {
1163
- "id": 22745,
1163
+ "id": 22748,
1164
1164
  "nodeType": "ParameterList",
1165
1165
  "parameters": [],
1166
1166
  "src": "2244:2:43"
@@ -1169,12 +1169,12 @@
1169
1169
  },
1170
1170
  {
1171
1171
  "errorSelector": "b6c8c980",
1172
- "id": 22748,
1172
+ "id": 22751,
1173
1173
  "name": "IDA_SUBSCRIPTION_DOES_NOT_EXIST",
1174
1174
  "nameLocation": "2281:31:43",
1175
1175
  "nodeType": "ErrorDefinition",
1176
1176
  "parameters": {
1177
- "id": 22747,
1177
+ "id": 22750,
1178
1178
  "nodeType": "ParameterList",
1179
1179
  "parameters": [],
1180
1180
  "src": "2312:2:43"
@@ -1183,12 +1183,12 @@
1183
1183
  },
1184
1184
  {
1185
1185
  "errorSelector": "3eb2f849",
1186
- "id": 22750,
1186
+ "id": 22753,
1187
1187
  "name": "IDA_SUBSCRIPTION_ALREADY_APPROVED",
1188
1188
  "nameLocation": "2342:33:43",
1189
1189
  "nodeType": "ErrorDefinition",
1190
1190
  "parameters": {
1191
- "id": 22749,
1191
+ "id": 22752,
1192
1192
  "nodeType": "ParameterList",
1193
1193
  "parameters": [],
1194
1194
  "src": "2375:2:43"
@@ -1197,12 +1197,12 @@
1197
1197
  },
1198
1198
  {
1199
1199
  "errorSelector": "37412573",
1200
- "id": 22752,
1200
+ "id": 22755,
1201
1201
  "name": "IDA_SUBSCRIPTION_IS_NOT_APPROVED",
1202
1202
  "nameLocation": "2403:32:43",
1203
1203
  "nodeType": "ErrorDefinition",
1204
1204
  "parameters": {
1205
- "id": 22751,
1205
+ "id": 22754,
1206
1206
  "nodeType": "ParameterList",
1207
1207
  "parameters": [],
1208
1208
  "src": "2435:2:43"
@@ -1211,12 +1211,12 @@
1211
1211
  },
1212
1212
  {
1213
1213
  "errorSelector": "16e759bb",
1214
- "id": 22754,
1214
+ "id": 22757,
1215
1215
  "name": "IDA_INSUFFICIENT_BALANCE",
1216
1216
  "nameLocation": "2464:24:43",
1217
1217
  "nodeType": "ErrorDefinition",
1218
1218
  "parameters": {
1219
- "id": 22753,
1219
+ "id": 22756,
1220
1220
  "nodeType": "ParameterList",
1221
1221
  "parameters": [],
1222
1222
  "src": "2488:2:43"
@@ -1225,12 +1225,12 @@
1225
1225
  },
1226
1226
  {
1227
1227
  "errorSelector": "c90a4674",
1228
- "id": 22756,
1228
+ "id": 22759,
1229
1229
  "name": "IDA_ZERO_ADDRESS_SUBSCRIBER",
1230
1230
  "nameLocation": "2525:27:43",
1231
1231
  "nodeType": "ErrorDefinition",
1232
1232
  "parameters": {
1233
- "id": 22755,
1233
+ "id": 22758,
1234
1234
  "nodeType": "ParameterList",
1235
1235
  "parameters": [],
1236
1236
  "src": "2552:2:43"
@@ -1239,10 +1239,10 @@
1239
1239
  },
1240
1240
  {
1241
1241
  "baseFunctions": [
1242
- 23788
1242
+ 23791
1243
1243
  ],
1244
1244
  "body": {
1245
- "id": 22767,
1245
+ "id": 22770,
1246
1246
  "nodeType": "Block",
1247
1247
  "src": "2705:102:43",
1248
1248
  "statements": [
@@ -1251,7 +1251,7 @@
1251
1251
  "arguments": [
1252
1252
  {
1253
1253
  "hexValue": "6f72672e7375706572666c7569642d66696e616e63652e61677265656d656e74732e496e7374616e74446973747269627574696f6e41677265656d656e742e7631",
1254
- "id": 22764,
1254
+ "id": 22767,
1255
1255
  "isConstant": false,
1256
1256
  "isLValue": false,
1257
1257
  "isPure": true,
@@ -1273,7 +1273,7 @@
1273
1273
  "typeString": "literal_string \"org.superfluid-finance.agreements.InstantDistributionAgreement.v1\""
1274
1274
  }
1275
1275
  ],
1276
- "id": 22763,
1276
+ "id": 22766,
1277
1277
  "name": "keccak256",
1278
1278
  "nodeType": "Identifier",
1279
1279
  "overloadedDeclarations": [],
@@ -1284,7 +1284,7 @@
1284
1284
  "typeString": "function (bytes memory) pure returns (bytes32)"
1285
1285
  }
1286
1286
  },
1287
- "id": 22765,
1287
+ "id": 22768,
1288
1288
  "isConstant": false,
1289
1289
  "isLValue": false,
1290
1290
  "isPure": true,
@@ -1300,21 +1300,21 @@
1300
1300
  "typeString": "bytes32"
1301
1301
  }
1302
1302
  },
1303
- "functionReturnParameters": 22762,
1304
- "id": 22766,
1303
+ "functionReturnParameters": 22765,
1304
+ "id": 22769,
1305
1305
  "nodeType": "Return",
1306
1306
  "src": "2715:85:43"
1307
1307
  }
1308
1308
  ]
1309
1309
  },
1310
1310
  "documentation": {
1311
- "id": 22757,
1311
+ "id": 22760,
1312
1312
  "nodeType": "StructuredDocumentation",
1313
1313
  "src": "2581:53:43",
1314
1314
  "text": "@dev ISuperAgreement.agreementType implementation"
1315
1315
  },
1316
1316
  "functionSelector": "7730599e",
1317
- "id": 22768,
1317
+ "id": 22771,
1318
1318
  "implemented": true,
1319
1319
  "kind": "function",
1320
1320
  "modifiers": [],
@@ -1322,29 +1322,29 @@
1322
1322
  "nameLocation": "2648:13:43",
1323
1323
  "nodeType": "FunctionDefinition",
1324
1324
  "overrides": {
1325
- "id": 22759,
1325
+ "id": 22762,
1326
1326
  "nodeType": "OverrideSpecifier",
1327
1327
  "overrides": [],
1328
1328
  "src": "2673:8:43"
1329
1329
  },
1330
1330
  "parameters": {
1331
- "id": 22758,
1331
+ "id": 22761,
1332
1332
  "nodeType": "ParameterList",
1333
1333
  "parameters": [],
1334
1334
  "src": "2661:2:43"
1335
1335
  },
1336
1336
  "returnParameters": {
1337
- "id": 22762,
1337
+ "id": 22765,
1338
1338
  "nodeType": "ParameterList",
1339
1339
  "parameters": [
1340
1340
  {
1341
1341
  "constant": false,
1342
- "id": 22761,
1342
+ "id": 22764,
1343
1343
  "mutability": "mutable",
1344
1344
  "name": "",
1345
1345
  "nameLocation": "-1:-1:-1",
1346
1346
  "nodeType": "VariableDeclaration",
1347
- "scope": 22768,
1347
+ "scope": 22771,
1348
1348
  "src": "2696:7:43",
1349
1349
  "stateVariable": false,
1350
1350
  "storageLocation": "default",
@@ -1353,7 +1353,7 @@
1353
1353
  "typeString": "bytes32"
1354
1354
  },
1355
1355
  "typeName": {
1356
- "id": 22760,
1356
+ "id": 22763,
1357
1357
  "name": "bytes32",
1358
1358
  "nodeType": "ElementaryTypeName",
1359
1359
  "src": "2696:7:43",
@@ -1367,7 +1367,7 @@
1367
1367
  ],
1368
1368
  "src": "2695:9:43"
1369
1369
  },
1370
- "scope": 23135,
1370
+ "scope": 23138,
1371
1371
  "src": "2639:168:43",
1372
1372
  "stateMutability": "pure",
1373
1373
  "virtual": false,
@@ -1375,13 +1375,13 @@
1375
1375
  },
1376
1376
  {
1377
1377
  "documentation": {
1378
- "id": 22769,
1378
+ "id": 22772,
1379
1379
  "nodeType": "StructuredDocumentation",
1380
1380
  "src": "2998:256:43",
1381
1381
  "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"
1382
1382
  },
1383
1383
  "functionSelector": "d787840a",
1384
- "id": 22781,
1384
+ "id": 22784,
1385
1385
  "implemented": false,
1386
1386
  "kind": "function",
1387
1387
  "modifiers": [],
@@ -1389,41 +1389,41 @@
1389
1389
  "nameLocation": "3268:11:43",
1390
1390
  "nodeType": "FunctionDefinition",
1391
1391
  "parameters": {
1392
- "id": 22777,
1392
+ "id": 22780,
1393
1393
  "nodeType": "ParameterList",
1394
1394
  "parameters": [
1395
1395
  {
1396
1396
  "constant": false,
1397
- "id": 22772,
1397
+ "id": 22775,
1398
1398
  "mutability": "mutable",
1399
1399
  "name": "token",
1400
1400
  "nameLocation": "3306:5:43",
1401
1401
  "nodeType": "VariableDeclaration",
1402
- "scope": 22781,
1402
+ "scope": 22784,
1403
1403
  "src": "3289:22:43",
1404
1404
  "stateVariable": false,
1405
1405
  "storageLocation": "default",
1406
1406
  "typeDescriptions": {
1407
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1407
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1408
1408
  "typeString": "contract ISuperfluidToken"
1409
1409
  },
1410
1410
  "typeName": {
1411
- "id": 22771,
1411
+ "id": 22774,
1412
1412
  "nodeType": "UserDefinedTypeName",
1413
1413
  "pathNode": {
1414
- "id": 22770,
1414
+ "id": 22773,
1415
1415
  "name": "ISuperfluidToken",
1416
1416
  "nameLocations": [
1417
1417
  "3289:16:43"
1418
1418
  ],
1419
1419
  "nodeType": "IdentifierPath",
1420
- "referencedDeclaration": 25463,
1420
+ "referencedDeclaration": 25466,
1421
1421
  "src": "3289:16:43"
1422
1422
  },
1423
- "referencedDeclaration": 25463,
1423
+ "referencedDeclaration": 25466,
1424
1424
  "src": "3289:16:43",
1425
1425
  "typeDescriptions": {
1426
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1426
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1427
1427
  "typeString": "contract ISuperfluidToken"
1428
1428
  }
1429
1429
  },
@@ -1431,12 +1431,12 @@
1431
1431
  },
1432
1432
  {
1433
1433
  "constant": false,
1434
- "id": 22774,
1434
+ "id": 22777,
1435
1435
  "mutability": "mutable",
1436
1436
  "name": "indexId",
1437
1437
  "nameLocation": "3328:7:43",
1438
1438
  "nodeType": "VariableDeclaration",
1439
- "scope": 22781,
1439
+ "scope": 22784,
1440
1440
  "src": "3321:14:43",
1441
1441
  "stateVariable": false,
1442
1442
  "storageLocation": "default",
@@ -1445,7 +1445,7 @@
1445
1445
  "typeString": "uint32"
1446
1446
  },
1447
1447
  "typeName": {
1448
- "id": 22773,
1448
+ "id": 22776,
1449
1449
  "name": "uint32",
1450
1450
  "nodeType": "ElementaryTypeName",
1451
1451
  "src": "3321:6:43",
@@ -1458,12 +1458,12 @@
1458
1458
  },
1459
1459
  {
1460
1460
  "constant": false,
1461
- "id": 22776,
1461
+ "id": 22779,
1462
1462
  "mutability": "mutable",
1463
1463
  "name": "ctx",
1464
1464
  "nameLocation": "3360:3:43",
1465
1465
  "nodeType": "VariableDeclaration",
1466
- "scope": 22781,
1466
+ "scope": 22784,
1467
1467
  "src": "3345:18:43",
1468
1468
  "stateVariable": false,
1469
1469
  "storageLocation": "calldata",
@@ -1472,7 +1472,7 @@
1472
1472
  "typeString": "bytes"
1473
1473
  },
1474
1474
  "typeName": {
1475
- "id": 22775,
1475
+ "id": 22778,
1476
1476
  "name": "bytes",
1477
1477
  "nodeType": "ElementaryTypeName",
1478
1478
  "src": "3345:5:43",
@@ -1487,17 +1487,17 @@
1487
1487
  "src": "3279:85:43"
1488
1488
  },
1489
1489
  "returnParameters": {
1490
- "id": 22780,
1490
+ "id": 22783,
1491
1491
  "nodeType": "ParameterList",
1492
1492
  "parameters": [
1493
1493
  {
1494
1494
  "constant": false,
1495
- "id": 22779,
1495
+ "id": 22782,
1496
1496
  "mutability": "mutable",
1497
1497
  "name": "newCtx",
1498
1498
  "nameLocation": "3439:6:43",
1499
1499
  "nodeType": "VariableDeclaration",
1500
- "scope": 22781,
1500
+ "scope": 22784,
1501
1501
  "src": "3426:19:43",
1502
1502
  "stateVariable": false,
1503
1503
  "storageLocation": "memory",
@@ -1506,7 +1506,7 @@
1506
1506
  "typeString": "bytes"
1507
1507
  },
1508
1508
  "typeName": {
1509
- "id": 22778,
1509
+ "id": 22781,
1510
1510
  "name": "bytes",
1511
1511
  "nodeType": "ElementaryTypeName",
1512
1512
  "src": "3426:5:43",
@@ -1520,7 +1520,7 @@
1520
1520
  ],
1521
1521
  "src": "3425:21:43"
1522
1522
  },
1523
- "scope": 23135,
1523
+ "scope": 23138,
1524
1524
  "src": "3259:188:43",
1525
1525
  "stateMutability": "nonpayable",
1526
1526
  "virtual": true,
@@ -1529,53 +1529,53 @@
1529
1529
  {
1530
1530
  "anonymous": false,
1531
1531
  "documentation": {
1532
- "id": 22782,
1532
+ "id": 22785,
1533
1533
  "nodeType": "StructuredDocumentation",
1534
1534
  "src": "3452:246:43",
1535
1535
  "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"
1536
1536
  },
1537
1537
  "eventSelector": "01ab8663165edfb7390d9e5f75d960a66dacf4f01fa9787e3a731c870d0da921",
1538
- "id": 22793,
1538
+ "id": 22796,
1539
1539
  "name": "IndexCreated",
1540
1540
  "nameLocation": "3709:12:43",
1541
1541
  "nodeType": "EventDefinition",
1542
1542
  "parameters": {
1543
- "id": 22792,
1543
+ "id": 22795,
1544
1544
  "nodeType": "ParameterList",
1545
1545
  "parameters": [
1546
1546
  {
1547
1547
  "constant": false,
1548
- "id": 22785,
1548
+ "id": 22788,
1549
1549
  "indexed": true,
1550
1550
  "mutability": "mutable",
1551
1551
  "name": "token",
1552
1552
  "nameLocation": "3756:5:43",
1553
1553
  "nodeType": "VariableDeclaration",
1554
- "scope": 22793,
1554
+ "scope": 22796,
1555
1555
  "src": "3731:30:43",
1556
1556
  "stateVariable": false,
1557
1557
  "storageLocation": "default",
1558
1558
  "typeDescriptions": {
1559
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1559
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1560
1560
  "typeString": "contract ISuperfluidToken"
1561
1561
  },
1562
1562
  "typeName": {
1563
- "id": 22784,
1563
+ "id": 22787,
1564
1564
  "nodeType": "UserDefinedTypeName",
1565
1565
  "pathNode": {
1566
- "id": 22783,
1566
+ "id": 22786,
1567
1567
  "name": "ISuperfluidToken",
1568
1568
  "nameLocations": [
1569
1569
  "3731:16:43"
1570
1570
  ],
1571
1571
  "nodeType": "IdentifierPath",
1572
- "referencedDeclaration": 25463,
1572
+ "referencedDeclaration": 25466,
1573
1573
  "src": "3731:16:43"
1574
1574
  },
1575
- "referencedDeclaration": 25463,
1575
+ "referencedDeclaration": 25466,
1576
1576
  "src": "3731:16:43",
1577
1577
  "typeDescriptions": {
1578
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1578
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1579
1579
  "typeString": "contract ISuperfluidToken"
1580
1580
  }
1581
1581
  },
@@ -1583,13 +1583,13 @@
1583
1583
  },
1584
1584
  {
1585
1585
  "constant": false,
1586
- "id": 22787,
1586
+ "id": 22790,
1587
1587
  "indexed": true,
1588
1588
  "mutability": "mutable",
1589
1589
  "name": "publisher",
1590
1590
  "nameLocation": "3787:9:43",
1591
1591
  "nodeType": "VariableDeclaration",
1592
- "scope": 22793,
1592
+ "scope": 22796,
1593
1593
  "src": "3771:25:43",
1594
1594
  "stateVariable": false,
1595
1595
  "storageLocation": "default",
@@ -1598,7 +1598,7 @@
1598
1598
  "typeString": "address"
1599
1599
  },
1600
1600
  "typeName": {
1601
- "id": 22786,
1601
+ "id": 22789,
1602
1602
  "name": "address",
1603
1603
  "nodeType": "ElementaryTypeName",
1604
1604
  "src": "3771:7:43",
@@ -1612,13 +1612,13 @@
1612
1612
  },
1613
1613
  {
1614
1614
  "constant": false,
1615
- "id": 22789,
1615
+ "id": 22792,
1616
1616
  "indexed": true,
1617
1617
  "mutability": "mutable",
1618
1618
  "name": "indexId",
1619
1619
  "nameLocation": "3821:7:43",
1620
1620
  "nodeType": "VariableDeclaration",
1621
- "scope": 22793,
1621
+ "scope": 22796,
1622
1622
  "src": "3806:22:43",
1623
1623
  "stateVariable": false,
1624
1624
  "storageLocation": "default",
@@ -1627,7 +1627,7 @@
1627
1627
  "typeString": "uint32"
1628
1628
  },
1629
1629
  "typeName": {
1630
- "id": 22788,
1630
+ "id": 22791,
1631
1631
  "name": "uint32",
1632
1632
  "nodeType": "ElementaryTypeName",
1633
1633
  "src": "3806:6:43",
@@ -1640,13 +1640,13 @@
1640
1640
  },
1641
1641
  {
1642
1642
  "constant": false,
1643
- "id": 22791,
1643
+ "id": 22794,
1644
1644
  "indexed": false,
1645
1645
  "mutability": "mutable",
1646
1646
  "name": "userData",
1647
1647
  "nameLocation": "3844:8:43",
1648
1648
  "nodeType": "VariableDeclaration",
1649
- "scope": 22793,
1649
+ "scope": 22796,
1650
1650
  "src": "3838:14:43",
1651
1651
  "stateVariable": false,
1652
1652
  "storageLocation": "default",
@@ -1655,7 +1655,7 @@
1655
1655
  "typeString": "bytes"
1656
1656
  },
1657
1657
  "typeName": {
1658
- "id": 22790,
1658
+ "id": 22793,
1659
1659
  "name": "bytes",
1660
1660
  "nodeType": "ElementaryTypeName",
1661
1661
  "src": "3838:5:43",
@@ -1673,13 +1673,13 @@
1673
1673
  },
1674
1674
  {
1675
1675
  "documentation": {
1676
- "id": 22794,
1676
+ "id": 22797,
1677
1677
  "nodeType": "StructuredDocumentation",
1678
1678
  "src": "3860:418:43",
1679
1679
  "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"
1680
1680
  },
1681
1681
  "functionSelector": "23fc23f3",
1682
- "id": 22812,
1682
+ "id": 22815,
1683
1683
  "implemented": false,
1684
1684
  "kind": "function",
1685
1685
  "modifiers": [],
@@ -1687,41 +1687,41 @@
1687
1687
  "nameLocation": "4292:8:43",
1688
1688
  "nodeType": "FunctionDefinition",
1689
1689
  "parameters": {
1690
- "id": 22802,
1690
+ "id": 22805,
1691
1691
  "nodeType": "ParameterList",
1692
1692
  "parameters": [
1693
1693
  {
1694
1694
  "constant": false,
1695
- "id": 22797,
1695
+ "id": 22800,
1696
1696
  "mutability": "mutable",
1697
1697
  "name": "token",
1698
1698
  "nameLocation": "4327:5:43",
1699
1699
  "nodeType": "VariableDeclaration",
1700
- "scope": 22812,
1700
+ "scope": 22815,
1701
1701
  "src": "4310:22:43",
1702
1702
  "stateVariable": false,
1703
1703
  "storageLocation": "default",
1704
1704
  "typeDescriptions": {
1705
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1705
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1706
1706
  "typeString": "contract ISuperfluidToken"
1707
1707
  },
1708
1708
  "typeName": {
1709
- "id": 22796,
1709
+ "id": 22799,
1710
1710
  "nodeType": "UserDefinedTypeName",
1711
1711
  "pathNode": {
1712
- "id": 22795,
1712
+ "id": 22798,
1713
1713
  "name": "ISuperfluidToken",
1714
1714
  "nameLocations": [
1715
1715
  "4310:16:43"
1716
1716
  ],
1717
1717
  "nodeType": "IdentifierPath",
1718
- "referencedDeclaration": 25463,
1718
+ "referencedDeclaration": 25466,
1719
1719
  "src": "4310:16:43"
1720
1720
  },
1721
- "referencedDeclaration": 25463,
1721
+ "referencedDeclaration": 25466,
1722
1722
  "src": "4310:16:43",
1723
1723
  "typeDescriptions": {
1724
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1724
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1725
1725
  "typeString": "contract ISuperfluidToken"
1726
1726
  }
1727
1727
  },
@@ -1729,12 +1729,12 @@
1729
1729
  },
1730
1730
  {
1731
1731
  "constant": false,
1732
- "id": 22799,
1732
+ "id": 22802,
1733
1733
  "mutability": "mutable",
1734
1734
  "name": "publisher",
1735
1735
  "nameLocation": "4350:9:43",
1736
1736
  "nodeType": "VariableDeclaration",
1737
- "scope": 22812,
1737
+ "scope": 22815,
1738
1738
  "src": "4342:17:43",
1739
1739
  "stateVariable": false,
1740
1740
  "storageLocation": "default",
@@ -1743,7 +1743,7 @@
1743
1743
  "typeString": "address"
1744
1744
  },
1745
1745
  "typeName": {
1746
- "id": 22798,
1746
+ "id": 22801,
1747
1747
  "name": "address",
1748
1748
  "nodeType": "ElementaryTypeName",
1749
1749
  "src": "4342:7:43",
@@ -1757,12 +1757,12 @@
1757
1757
  },
1758
1758
  {
1759
1759
  "constant": false,
1760
- "id": 22801,
1760
+ "id": 22804,
1761
1761
  "mutability": "mutable",
1762
1762
  "name": "indexId",
1763
1763
  "nameLocation": "4376:7:43",
1764
1764
  "nodeType": "VariableDeclaration",
1765
- "scope": 22812,
1765
+ "scope": 22815,
1766
1766
  "src": "4369:14:43",
1767
1767
  "stateVariable": false,
1768
1768
  "storageLocation": "default",
@@ -1771,7 +1771,7 @@
1771
1771
  "typeString": "uint32"
1772
1772
  },
1773
1773
  "typeName": {
1774
- "id": 22800,
1774
+ "id": 22803,
1775
1775
  "name": "uint32",
1776
1776
  "nodeType": "ElementaryTypeName",
1777
1777
  "src": "4369:6:43",
@@ -1786,17 +1786,17 @@
1786
1786
  "src": "4300:84:43"
1787
1787
  },
1788
1788
  "returnParameters": {
1789
- "id": 22811,
1789
+ "id": 22814,
1790
1790
  "nodeType": "ParameterList",
1791
1791
  "parameters": [
1792
1792
  {
1793
1793
  "constant": false,
1794
- "id": 22804,
1794
+ "id": 22807,
1795
1795
  "mutability": "mutable",
1796
1796
  "name": "exist",
1797
1797
  "nameLocation": "4485:5:43",
1798
1798
  "nodeType": "VariableDeclaration",
1799
- "scope": 22812,
1799
+ "scope": 22815,
1800
1800
  "src": "4480:10:43",
1801
1801
  "stateVariable": false,
1802
1802
  "storageLocation": "default",
@@ -1805,7 +1805,7 @@
1805
1805
  "typeString": "bool"
1806
1806
  },
1807
1807
  "typeName": {
1808
- "id": 22803,
1808
+ "id": 22806,
1809
1809
  "name": "bool",
1810
1810
  "nodeType": "ElementaryTypeName",
1811
1811
  "src": "4480:4:43",
@@ -1818,12 +1818,12 @@
1818
1818
  },
1819
1819
  {
1820
1820
  "constant": false,
1821
- "id": 22806,
1821
+ "id": 22809,
1822
1822
  "mutability": "mutable",
1823
1823
  "name": "indexValue",
1824
1824
  "nameLocation": "4516:10:43",
1825
1825
  "nodeType": "VariableDeclaration",
1826
- "scope": 22812,
1826
+ "scope": 22815,
1827
1827
  "src": "4508:18:43",
1828
1828
  "stateVariable": false,
1829
1829
  "storageLocation": "default",
@@ -1832,7 +1832,7 @@
1832
1832
  "typeString": "uint128"
1833
1833
  },
1834
1834
  "typeName": {
1835
- "id": 22805,
1835
+ "id": 22808,
1836
1836
  "name": "uint128",
1837
1837
  "nodeType": "ElementaryTypeName",
1838
1838
  "src": "4508:7:43",
@@ -1845,12 +1845,12 @@
1845
1845
  },
1846
1846
  {
1847
1847
  "constant": false,
1848
- "id": 22808,
1848
+ "id": 22811,
1849
1849
  "mutability": "mutable",
1850
1850
  "name": "totalUnitsApproved",
1851
1851
  "nameLocation": "4552:18:43",
1852
1852
  "nodeType": "VariableDeclaration",
1853
- "scope": 22812,
1853
+ "scope": 22815,
1854
1854
  "src": "4544:26:43",
1855
1855
  "stateVariable": false,
1856
1856
  "storageLocation": "default",
@@ -1859,7 +1859,7 @@
1859
1859
  "typeString": "uint128"
1860
1860
  },
1861
1861
  "typeName": {
1862
- "id": 22807,
1862
+ "id": 22810,
1863
1863
  "name": "uint128",
1864
1864
  "nodeType": "ElementaryTypeName",
1865
1865
  "src": "4544:7:43",
@@ -1872,12 +1872,12 @@
1872
1872
  },
1873
1873
  {
1874
1874
  "constant": false,
1875
- "id": 22810,
1875
+ "id": 22813,
1876
1876
  "mutability": "mutable",
1877
1877
  "name": "totalUnitsPending",
1878
1878
  "nameLocation": "4596:17:43",
1879
1879
  "nodeType": "VariableDeclaration",
1880
- "scope": 22812,
1880
+ "scope": 22815,
1881
1881
  "src": "4588:25:43",
1882
1882
  "stateVariable": false,
1883
1883
  "storageLocation": "default",
@@ -1886,7 +1886,7 @@
1886
1886
  "typeString": "uint128"
1887
1887
  },
1888
1888
  "typeName": {
1889
- "id": 22809,
1889
+ "id": 22812,
1890
1890
  "name": "uint128",
1891
1891
  "nodeType": "ElementaryTypeName",
1892
1892
  "src": "4588:7:43",
@@ -1900,7 +1900,7 @@
1900
1900
  ],
1901
1901
  "src": "4462:152:43"
1902
1902
  },
1903
- "scope": 23135,
1903
+ "scope": 23138,
1904
1904
  "src": "4283:332:43",
1905
1905
  "stateMutability": "view",
1906
1906
  "virtual": true,
@@ -1908,13 +1908,13 @@
1908
1908
  },
1909
1909
  {
1910
1910
  "documentation": {
1911
- "id": 22813,
1911
+ "id": 22816,
1912
1912
  "nodeType": "StructuredDocumentation",
1913
1913
  "src": "4621:446:43",
1914
1914
  "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"
1915
1915
  },
1916
1916
  "functionSelector": "899baaec",
1917
- "id": 22829,
1917
+ "id": 22832,
1918
1918
  "implemented": false,
1919
1919
  "kind": "function",
1920
1920
  "modifiers": [],
@@ -1922,41 +1922,41 @@
1922
1922
  "nameLocation": "5081:21:43",
1923
1923
  "nodeType": "FunctionDefinition",
1924
1924
  "parameters": {
1925
- "id": 22823,
1925
+ "id": 22826,
1926
1926
  "nodeType": "ParameterList",
1927
1927
  "parameters": [
1928
1928
  {
1929
1929
  "constant": false,
1930
- "id": 22816,
1930
+ "id": 22819,
1931
1931
  "mutability": "mutable",
1932
1932
  "name": "token",
1933
1933
  "nameLocation": "5128:5:43",
1934
1934
  "nodeType": "VariableDeclaration",
1935
- "scope": 22829,
1935
+ "scope": 22832,
1936
1936
  "src": "5111:22:43",
1937
1937
  "stateVariable": false,
1938
1938
  "storageLocation": "default",
1939
1939
  "typeDescriptions": {
1940
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1940
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1941
1941
  "typeString": "contract ISuperfluidToken"
1942
1942
  },
1943
1943
  "typeName": {
1944
- "id": 22815,
1944
+ "id": 22818,
1945
1945
  "nodeType": "UserDefinedTypeName",
1946
1946
  "pathNode": {
1947
- "id": 22814,
1947
+ "id": 22817,
1948
1948
  "name": "ISuperfluidToken",
1949
1949
  "nameLocations": [
1950
1950
  "5111:16:43"
1951
1951
  ],
1952
1952
  "nodeType": "IdentifierPath",
1953
- "referencedDeclaration": 25463,
1953
+ "referencedDeclaration": 25466,
1954
1954
  "src": "5111:16:43"
1955
1955
  },
1956
- "referencedDeclaration": 25463,
1956
+ "referencedDeclaration": 25466,
1957
1957
  "src": "5111:16:43",
1958
1958
  "typeDescriptions": {
1959
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
1959
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
1960
1960
  "typeString": "contract ISuperfluidToken"
1961
1961
  }
1962
1962
  },
@@ -1964,12 +1964,12 @@
1964
1964
  },
1965
1965
  {
1966
1966
  "constant": false,
1967
- "id": 22818,
1967
+ "id": 22821,
1968
1968
  "mutability": "mutable",
1969
1969
  "name": "publisher",
1970
1970
  "nameLocation": "5150:9:43",
1971
1971
  "nodeType": "VariableDeclaration",
1972
- "scope": 22829,
1972
+ "scope": 22832,
1973
1973
  "src": "5142:17:43",
1974
1974
  "stateVariable": false,
1975
1975
  "storageLocation": "default",
@@ -1978,7 +1978,7 @@
1978
1978
  "typeString": "address"
1979
1979
  },
1980
1980
  "typeName": {
1981
- "id": 22817,
1981
+ "id": 22820,
1982
1982
  "name": "address",
1983
1983
  "nodeType": "ElementaryTypeName",
1984
1984
  "src": "5142:7:43",
@@ -1992,12 +1992,12 @@
1992
1992
  },
1993
1993
  {
1994
1994
  "constant": false,
1995
- "id": 22820,
1995
+ "id": 22823,
1996
1996
  "mutability": "mutable",
1997
1997
  "name": "indexId",
1998
1998
  "nameLocation": "5175:7:43",
1999
1999
  "nodeType": "VariableDeclaration",
2000
- "scope": 22829,
2000
+ "scope": 22832,
2001
2001
  "src": "5168:14:43",
2002
2002
  "stateVariable": false,
2003
2003
  "storageLocation": "default",
@@ -2006,7 +2006,7 @@
2006
2006
  "typeString": "uint32"
2007
2007
  },
2008
2008
  "typeName": {
2009
- "id": 22819,
2009
+ "id": 22822,
2010
2010
  "name": "uint32",
2011
2011
  "nodeType": "ElementaryTypeName",
2012
2012
  "src": "5168:6:43",
@@ -2019,12 +2019,12 @@
2019
2019
  },
2020
2020
  {
2021
2021
  "constant": false,
2022
- "id": 22822,
2022
+ "id": 22825,
2023
2023
  "mutability": "mutable",
2024
2024
  "name": "amount",
2025
2025
  "nameLocation": "5199:6:43",
2026
2026
  "nodeType": "VariableDeclaration",
2027
- "scope": 22829,
2027
+ "scope": 22832,
2028
2028
  "src": "5191:14:43",
2029
2029
  "stateVariable": false,
2030
2030
  "storageLocation": "default",
@@ -2033,7 +2033,7 @@
2033
2033
  "typeString": "uint256"
2034
2034
  },
2035
2035
  "typeName": {
2036
- "id": 22821,
2036
+ "id": 22824,
2037
2037
  "name": "uint256",
2038
2038
  "nodeType": "ElementaryTypeName",
2039
2039
  "src": "5191:7:43",
@@ -2048,17 +2048,17 @@
2048
2048
  "src": "5102:104:43"
2049
2049
  },
2050
2050
  "returnParameters": {
2051
- "id": 22828,
2051
+ "id": 22831,
2052
2052
  "nodeType": "ParameterList",
2053
2053
  "parameters": [
2054
2054
  {
2055
2055
  "constant": false,
2056
- "id": 22825,
2056
+ "id": 22828,
2057
2057
  "mutability": "mutable",
2058
2058
  "name": "actualAmount",
2059
2059
  "nameLocation": "5294:12:43",
2060
2060
  "nodeType": "VariableDeclaration",
2061
- "scope": 22829,
2061
+ "scope": 22832,
2062
2062
  "src": "5286:20:43",
2063
2063
  "stateVariable": false,
2064
2064
  "storageLocation": "default",
@@ -2067,7 +2067,7 @@
2067
2067
  "typeString": "uint256"
2068
2068
  },
2069
2069
  "typeName": {
2070
- "id": 22824,
2070
+ "id": 22827,
2071
2071
  "name": "uint256",
2072
2072
  "nodeType": "ElementaryTypeName",
2073
2073
  "src": "5286:7:43",
@@ -2080,12 +2080,12 @@
2080
2080
  },
2081
2081
  {
2082
2082
  "constant": false,
2083
- "id": 22827,
2083
+ "id": 22830,
2084
2084
  "mutability": "mutable",
2085
2085
  "name": "newIndexValue",
2086
2086
  "nameLocation": "5331:13:43",
2087
2087
  "nodeType": "VariableDeclaration",
2088
- "scope": 22829,
2088
+ "scope": 22832,
2089
2089
  "src": "5323:21:43",
2090
2090
  "stateVariable": false,
2091
2091
  "storageLocation": "default",
@@ -2094,7 +2094,7 @@
2094
2094
  "typeString": "uint128"
2095
2095
  },
2096
2096
  "typeName": {
2097
- "id": 22826,
2097
+ "id": 22829,
2098
2098
  "name": "uint128",
2099
2099
  "nodeType": "ElementaryTypeName",
2100
2100
  "src": "5323:7:43",
@@ -2108,7 +2108,7 @@
2108
2108
  ],
2109
2109
  "src": "5269:76:43"
2110
2110
  },
2111
- "scope": 23135,
2111
+ "scope": 23138,
2112
2112
  "src": "5072:274:43",
2113
2113
  "stateMutability": "view",
2114
2114
  "virtual": true,
@@ -2116,13 +2116,13 @@
2116
2116
  },
2117
2117
  {
2118
2118
  "documentation": {
2119
- "id": 22830,
2119
+ "id": 22833,
2120
2120
  "nodeType": "StructuredDocumentation",
2121
2121
  "src": "5352:294:43",
2122
2122
  "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"
2123
2123
  },
2124
2124
  "functionSelector": "7fbc7639",
2125
- "id": 22844,
2125
+ "id": 22847,
2126
2126
  "implemented": false,
2127
2127
  "kind": "function",
2128
2128
  "modifiers": [],
@@ -2130,41 +2130,41 @@
2130
2130
  "nameLocation": "5660:11:43",
2131
2131
  "nodeType": "FunctionDefinition",
2132
2132
  "parameters": {
2133
- "id": 22840,
2133
+ "id": 22843,
2134
2134
  "nodeType": "ParameterList",
2135
2135
  "parameters": [
2136
2136
  {
2137
2137
  "constant": false,
2138
- "id": 22833,
2138
+ "id": 22836,
2139
2139
  "mutability": "mutable",
2140
2140
  "name": "token",
2141
2141
  "nameLocation": "5698:5:43",
2142
2142
  "nodeType": "VariableDeclaration",
2143
- "scope": 22844,
2143
+ "scope": 22847,
2144
2144
  "src": "5681:22:43",
2145
2145
  "stateVariable": false,
2146
2146
  "storageLocation": "default",
2147
2147
  "typeDescriptions": {
2148
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2148
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2149
2149
  "typeString": "contract ISuperfluidToken"
2150
2150
  },
2151
2151
  "typeName": {
2152
- "id": 22832,
2152
+ "id": 22835,
2153
2153
  "nodeType": "UserDefinedTypeName",
2154
2154
  "pathNode": {
2155
- "id": 22831,
2155
+ "id": 22834,
2156
2156
  "name": "ISuperfluidToken",
2157
2157
  "nameLocations": [
2158
2158
  "5681:16:43"
2159
2159
  ],
2160
2160
  "nodeType": "IdentifierPath",
2161
- "referencedDeclaration": 25463,
2161
+ "referencedDeclaration": 25466,
2162
2162
  "src": "5681:16:43"
2163
2163
  },
2164
- "referencedDeclaration": 25463,
2164
+ "referencedDeclaration": 25466,
2165
2165
  "src": "5681:16:43",
2166
2166
  "typeDescriptions": {
2167
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2167
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2168
2168
  "typeString": "contract ISuperfluidToken"
2169
2169
  }
2170
2170
  },
@@ -2172,12 +2172,12 @@
2172
2172
  },
2173
2173
  {
2174
2174
  "constant": false,
2175
- "id": 22835,
2175
+ "id": 22838,
2176
2176
  "mutability": "mutable",
2177
2177
  "name": "indexId",
2178
2178
  "nameLocation": "5720:7:43",
2179
2179
  "nodeType": "VariableDeclaration",
2180
- "scope": 22844,
2180
+ "scope": 22847,
2181
2181
  "src": "5713:14:43",
2182
2182
  "stateVariable": false,
2183
2183
  "storageLocation": "default",
@@ -2186,7 +2186,7 @@
2186
2186
  "typeString": "uint32"
2187
2187
  },
2188
2188
  "typeName": {
2189
- "id": 22834,
2189
+ "id": 22837,
2190
2190
  "name": "uint32",
2191
2191
  "nodeType": "ElementaryTypeName",
2192
2192
  "src": "5713:6:43",
@@ -2199,12 +2199,12 @@
2199
2199
  },
2200
2200
  {
2201
2201
  "constant": false,
2202
- "id": 22837,
2202
+ "id": 22840,
2203
2203
  "mutability": "mutable",
2204
2204
  "name": "indexValue",
2205
2205
  "nameLocation": "5745:10:43",
2206
2206
  "nodeType": "VariableDeclaration",
2207
- "scope": 22844,
2207
+ "scope": 22847,
2208
2208
  "src": "5737:18:43",
2209
2209
  "stateVariable": false,
2210
2210
  "storageLocation": "default",
@@ -2213,7 +2213,7 @@
2213
2213
  "typeString": "uint128"
2214
2214
  },
2215
2215
  "typeName": {
2216
- "id": 22836,
2216
+ "id": 22839,
2217
2217
  "name": "uint128",
2218
2218
  "nodeType": "ElementaryTypeName",
2219
2219
  "src": "5737:7:43",
@@ -2226,12 +2226,12 @@
2226
2226
  },
2227
2227
  {
2228
2228
  "constant": false,
2229
- "id": 22839,
2229
+ "id": 22842,
2230
2230
  "mutability": "mutable",
2231
2231
  "name": "ctx",
2232
2232
  "nameLocation": "5780:3:43",
2233
2233
  "nodeType": "VariableDeclaration",
2234
- "scope": 22844,
2234
+ "scope": 22847,
2235
2235
  "src": "5765:18:43",
2236
2236
  "stateVariable": false,
2237
2237
  "storageLocation": "calldata",
@@ -2240,7 +2240,7 @@
2240
2240
  "typeString": "bytes"
2241
2241
  },
2242
2242
  "typeName": {
2243
- "id": 22838,
2243
+ "id": 22841,
2244
2244
  "name": "bytes",
2245
2245
  "nodeType": "ElementaryTypeName",
2246
2246
  "src": "5765:5:43",
@@ -2255,17 +2255,17 @@
2255
2255
  "src": "5671:113:43"
2256
2256
  },
2257
2257
  "returnParameters": {
2258
- "id": 22843,
2258
+ "id": 22846,
2259
2259
  "nodeType": "ParameterList",
2260
2260
  "parameters": [
2261
2261
  {
2262
2262
  "constant": false,
2263
- "id": 22842,
2263
+ "id": 22845,
2264
2264
  "mutability": "mutable",
2265
2265
  "name": "newCtx",
2266
2266
  "nameLocation": "5859:6:43",
2267
2267
  "nodeType": "VariableDeclaration",
2268
- "scope": 22844,
2268
+ "scope": 22847,
2269
2269
  "src": "5846:19:43",
2270
2270
  "stateVariable": false,
2271
2271
  "storageLocation": "memory",
@@ -2274,7 +2274,7 @@
2274
2274
  "typeString": "bytes"
2275
2275
  },
2276
2276
  "typeName": {
2277
- "id": 22841,
2277
+ "id": 22844,
2278
2278
  "name": "bytes",
2279
2279
  "nodeType": "ElementaryTypeName",
2280
2280
  "src": "5846:5:43",
@@ -2288,7 +2288,7 @@
2288
2288
  ],
2289
2289
  "src": "5845:21:43"
2290
2290
  },
2291
- "scope": 23135,
2291
+ "scope": 23138,
2292
2292
  "src": "5651:216:43",
2293
2293
  "stateMutability": "nonpayable",
2294
2294
  "virtual": true,
@@ -2297,53 +2297,53 @@
2297
2297
  {
2298
2298
  "anonymous": false,
2299
2299
  "documentation": {
2300
- "id": 22845,
2300
+ "id": 22848,
2301
2301
  "nodeType": "StructuredDocumentation",
2302
2302
  "src": "5872:539:43",
2303
2303
  "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"
2304
2304
  },
2305
2305
  "eventSelector": "81e37f3d9f16cbf29a62d6a1c21d79b23ef29b54124ec44af43a50fffb9304f3",
2306
- "id": 22864,
2306
+ "id": 22867,
2307
2307
  "name": "IndexUpdated",
2308
2308
  "nameLocation": "6422:12:43",
2309
2309
  "nodeType": "EventDefinition",
2310
2310
  "parameters": {
2311
- "id": 22863,
2311
+ "id": 22866,
2312
2312
  "nodeType": "ParameterList",
2313
2313
  "parameters": [
2314
2314
  {
2315
2315
  "constant": false,
2316
- "id": 22848,
2316
+ "id": 22851,
2317
2317
  "indexed": true,
2318
2318
  "mutability": "mutable",
2319
2319
  "name": "token",
2320
2320
  "nameLocation": "6469:5:43",
2321
2321
  "nodeType": "VariableDeclaration",
2322
- "scope": 22864,
2322
+ "scope": 22867,
2323
2323
  "src": "6444:30:43",
2324
2324
  "stateVariable": false,
2325
2325
  "storageLocation": "default",
2326
2326
  "typeDescriptions": {
2327
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2327
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2328
2328
  "typeString": "contract ISuperfluidToken"
2329
2329
  },
2330
2330
  "typeName": {
2331
- "id": 22847,
2331
+ "id": 22850,
2332
2332
  "nodeType": "UserDefinedTypeName",
2333
2333
  "pathNode": {
2334
- "id": 22846,
2334
+ "id": 22849,
2335
2335
  "name": "ISuperfluidToken",
2336
2336
  "nameLocations": [
2337
2337
  "6444:16:43"
2338
2338
  ],
2339
2339
  "nodeType": "IdentifierPath",
2340
- "referencedDeclaration": 25463,
2340
+ "referencedDeclaration": 25466,
2341
2341
  "src": "6444:16:43"
2342
2342
  },
2343
- "referencedDeclaration": 25463,
2343
+ "referencedDeclaration": 25466,
2344
2344
  "src": "6444:16:43",
2345
2345
  "typeDescriptions": {
2346
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2346
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2347
2347
  "typeString": "contract ISuperfluidToken"
2348
2348
  }
2349
2349
  },
@@ -2351,13 +2351,13 @@
2351
2351
  },
2352
2352
  {
2353
2353
  "constant": false,
2354
- "id": 22850,
2354
+ "id": 22853,
2355
2355
  "indexed": true,
2356
2356
  "mutability": "mutable",
2357
2357
  "name": "publisher",
2358
2358
  "nameLocation": "6500:9:43",
2359
2359
  "nodeType": "VariableDeclaration",
2360
- "scope": 22864,
2360
+ "scope": 22867,
2361
2361
  "src": "6484:25:43",
2362
2362
  "stateVariable": false,
2363
2363
  "storageLocation": "default",
@@ -2366,7 +2366,7 @@
2366
2366
  "typeString": "address"
2367
2367
  },
2368
2368
  "typeName": {
2369
- "id": 22849,
2369
+ "id": 22852,
2370
2370
  "name": "address",
2371
2371
  "nodeType": "ElementaryTypeName",
2372
2372
  "src": "6484:7:43",
@@ -2380,13 +2380,13 @@
2380
2380
  },
2381
2381
  {
2382
2382
  "constant": false,
2383
- "id": 22852,
2383
+ "id": 22855,
2384
2384
  "indexed": true,
2385
2385
  "mutability": "mutable",
2386
2386
  "name": "indexId",
2387
2387
  "nameLocation": "6534:7:43",
2388
2388
  "nodeType": "VariableDeclaration",
2389
- "scope": 22864,
2389
+ "scope": 22867,
2390
2390
  "src": "6519:22:43",
2391
2391
  "stateVariable": false,
2392
2392
  "storageLocation": "default",
@@ -2395,7 +2395,7 @@
2395
2395
  "typeString": "uint32"
2396
2396
  },
2397
2397
  "typeName": {
2398
- "id": 22851,
2398
+ "id": 22854,
2399
2399
  "name": "uint32",
2400
2400
  "nodeType": "ElementaryTypeName",
2401
2401
  "src": "6519:6:43",
@@ -2408,13 +2408,13 @@
2408
2408
  },
2409
2409
  {
2410
2410
  "constant": false,
2411
- "id": 22854,
2411
+ "id": 22857,
2412
2412
  "indexed": false,
2413
2413
  "mutability": "mutable",
2414
2414
  "name": "oldIndexValue",
2415
2415
  "nameLocation": "6559:13:43",
2416
2416
  "nodeType": "VariableDeclaration",
2417
- "scope": 22864,
2417
+ "scope": 22867,
2418
2418
  "src": "6551:21:43",
2419
2419
  "stateVariable": false,
2420
2420
  "storageLocation": "default",
@@ -2423,7 +2423,7 @@
2423
2423
  "typeString": "uint128"
2424
2424
  },
2425
2425
  "typeName": {
2426
- "id": 22853,
2426
+ "id": 22856,
2427
2427
  "name": "uint128",
2428
2428
  "nodeType": "ElementaryTypeName",
2429
2429
  "src": "6551:7:43",
@@ -2436,13 +2436,13 @@
2436
2436
  },
2437
2437
  {
2438
2438
  "constant": false,
2439
- "id": 22856,
2439
+ "id": 22859,
2440
2440
  "indexed": false,
2441
2441
  "mutability": "mutable",
2442
2442
  "name": "newIndexValue",
2443
2443
  "nameLocation": "6590:13:43",
2444
2444
  "nodeType": "VariableDeclaration",
2445
- "scope": 22864,
2445
+ "scope": 22867,
2446
2446
  "src": "6582:21:43",
2447
2447
  "stateVariable": false,
2448
2448
  "storageLocation": "default",
@@ -2451,7 +2451,7 @@
2451
2451
  "typeString": "uint128"
2452
2452
  },
2453
2453
  "typeName": {
2454
- "id": 22855,
2454
+ "id": 22858,
2455
2455
  "name": "uint128",
2456
2456
  "nodeType": "ElementaryTypeName",
2457
2457
  "src": "6582:7:43",
@@ -2464,13 +2464,13 @@
2464
2464
  },
2465
2465
  {
2466
2466
  "constant": false,
2467
- "id": 22858,
2467
+ "id": 22861,
2468
2468
  "indexed": false,
2469
2469
  "mutability": "mutable",
2470
2470
  "name": "totalUnitsPending",
2471
2471
  "nameLocation": "6621:17:43",
2472
2472
  "nodeType": "VariableDeclaration",
2473
- "scope": 22864,
2473
+ "scope": 22867,
2474
2474
  "src": "6613:25:43",
2475
2475
  "stateVariable": false,
2476
2476
  "storageLocation": "default",
@@ -2479,7 +2479,7 @@
2479
2479
  "typeString": "uint128"
2480
2480
  },
2481
2481
  "typeName": {
2482
- "id": 22857,
2482
+ "id": 22860,
2483
2483
  "name": "uint128",
2484
2484
  "nodeType": "ElementaryTypeName",
2485
2485
  "src": "6613:7:43",
@@ -2492,13 +2492,13 @@
2492
2492
  },
2493
2493
  {
2494
2494
  "constant": false,
2495
- "id": 22860,
2495
+ "id": 22863,
2496
2496
  "indexed": false,
2497
2497
  "mutability": "mutable",
2498
2498
  "name": "totalUnitsApproved",
2499
2499
  "nameLocation": "6656:18:43",
2500
2500
  "nodeType": "VariableDeclaration",
2501
- "scope": 22864,
2501
+ "scope": 22867,
2502
2502
  "src": "6648:26:43",
2503
2503
  "stateVariable": false,
2504
2504
  "storageLocation": "default",
@@ -2507,7 +2507,7 @@
2507
2507
  "typeString": "uint128"
2508
2508
  },
2509
2509
  "typeName": {
2510
- "id": 22859,
2510
+ "id": 22862,
2511
2511
  "name": "uint128",
2512
2512
  "nodeType": "ElementaryTypeName",
2513
2513
  "src": "6648:7:43",
@@ -2520,13 +2520,13 @@
2520
2520
  },
2521
2521
  {
2522
2522
  "constant": false,
2523
- "id": 22862,
2523
+ "id": 22865,
2524
2524
  "indexed": false,
2525
2525
  "mutability": "mutable",
2526
2526
  "name": "userData",
2527
2527
  "nameLocation": "6690:8:43",
2528
2528
  "nodeType": "VariableDeclaration",
2529
- "scope": 22864,
2529
+ "scope": 22867,
2530
2530
  "src": "6684:14:43",
2531
2531
  "stateVariable": false,
2532
2532
  "storageLocation": "default",
@@ -2535,7 +2535,7 @@
2535
2535
  "typeString": "bytes"
2536
2536
  },
2537
2537
  "typeName": {
2538
- "id": 22861,
2538
+ "id": 22864,
2539
2539
  "name": "bytes",
2540
2540
  "nodeType": "ElementaryTypeName",
2541
2541
  "src": "6684:5:43",
@@ -2553,13 +2553,13 @@
2553
2553
  },
2554
2554
  {
2555
2555
  "documentation": {
2556
- "id": 22865,
2556
+ "id": 22868,
2557
2557
  "nodeType": "StructuredDocumentation",
2558
2558
  "src": "6706:653:43",
2559
2559
  "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"
2560
2560
  },
2561
2561
  "functionSelector": "b96731c2",
2562
- "id": 22879,
2562
+ "id": 22882,
2563
2563
  "implemented": false,
2564
2564
  "kind": "function",
2565
2565
  "modifiers": [],
@@ -2567,41 +2567,41 @@
2567
2567
  "nameLocation": "7373:10:43",
2568
2568
  "nodeType": "FunctionDefinition",
2569
2569
  "parameters": {
2570
- "id": 22875,
2570
+ "id": 22878,
2571
2571
  "nodeType": "ParameterList",
2572
2572
  "parameters": [
2573
2573
  {
2574
2574
  "constant": false,
2575
- "id": 22868,
2575
+ "id": 22871,
2576
2576
  "mutability": "mutable",
2577
2577
  "name": "token",
2578
2578
  "nameLocation": "7410:5:43",
2579
2579
  "nodeType": "VariableDeclaration",
2580
- "scope": 22879,
2580
+ "scope": 22882,
2581
2581
  "src": "7393:22:43",
2582
2582
  "stateVariable": false,
2583
2583
  "storageLocation": "default",
2584
2584
  "typeDescriptions": {
2585
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2585
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2586
2586
  "typeString": "contract ISuperfluidToken"
2587
2587
  },
2588
2588
  "typeName": {
2589
- "id": 22867,
2589
+ "id": 22870,
2590
2590
  "nodeType": "UserDefinedTypeName",
2591
2591
  "pathNode": {
2592
- "id": 22866,
2592
+ "id": 22869,
2593
2593
  "name": "ISuperfluidToken",
2594
2594
  "nameLocations": [
2595
2595
  "7393:16:43"
2596
2596
  ],
2597
2597
  "nodeType": "IdentifierPath",
2598
- "referencedDeclaration": 25463,
2598
+ "referencedDeclaration": 25466,
2599
2599
  "src": "7393:16:43"
2600
2600
  },
2601
- "referencedDeclaration": 25463,
2601
+ "referencedDeclaration": 25466,
2602
2602
  "src": "7393:16:43",
2603
2603
  "typeDescriptions": {
2604
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2604
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2605
2605
  "typeString": "contract ISuperfluidToken"
2606
2606
  }
2607
2607
  },
@@ -2609,12 +2609,12 @@
2609
2609
  },
2610
2610
  {
2611
2611
  "constant": false,
2612
- "id": 22870,
2612
+ "id": 22873,
2613
2613
  "mutability": "mutable",
2614
2614
  "name": "indexId",
2615
2615
  "nameLocation": "7432:7:43",
2616
2616
  "nodeType": "VariableDeclaration",
2617
- "scope": 22879,
2617
+ "scope": 22882,
2618
2618
  "src": "7425:14:43",
2619
2619
  "stateVariable": false,
2620
2620
  "storageLocation": "default",
@@ -2623,7 +2623,7 @@
2623
2623
  "typeString": "uint32"
2624
2624
  },
2625
2625
  "typeName": {
2626
- "id": 22869,
2626
+ "id": 22872,
2627
2627
  "name": "uint32",
2628
2628
  "nodeType": "ElementaryTypeName",
2629
2629
  "src": "7425:6:43",
@@ -2636,12 +2636,12 @@
2636
2636
  },
2637
2637
  {
2638
2638
  "constant": false,
2639
- "id": 22872,
2639
+ "id": 22875,
2640
2640
  "mutability": "mutable",
2641
2641
  "name": "amount",
2642
2642
  "nameLocation": "7457:6:43",
2643
2643
  "nodeType": "VariableDeclaration",
2644
- "scope": 22879,
2644
+ "scope": 22882,
2645
2645
  "src": "7449:14:43",
2646
2646
  "stateVariable": false,
2647
2647
  "storageLocation": "default",
@@ -2650,7 +2650,7 @@
2650
2650
  "typeString": "uint256"
2651
2651
  },
2652
2652
  "typeName": {
2653
- "id": 22871,
2653
+ "id": 22874,
2654
2654
  "name": "uint256",
2655
2655
  "nodeType": "ElementaryTypeName",
2656
2656
  "src": "7449:7:43",
@@ -2663,12 +2663,12 @@
2663
2663
  },
2664
2664
  {
2665
2665
  "constant": false,
2666
- "id": 22874,
2666
+ "id": 22877,
2667
2667
  "mutability": "mutable",
2668
2668
  "name": "ctx",
2669
2669
  "nameLocation": "7488:3:43",
2670
2670
  "nodeType": "VariableDeclaration",
2671
- "scope": 22879,
2671
+ "scope": 22882,
2672
2672
  "src": "7473:18:43",
2673
2673
  "stateVariable": false,
2674
2674
  "storageLocation": "calldata",
@@ -2677,7 +2677,7 @@
2677
2677
  "typeString": "bytes"
2678
2678
  },
2679
2679
  "typeName": {
2680
- "id": 22873,
2680
+ "id": 22876,
2681
2681
  "name": "bytes",
2682
2682
  "nodeType": "ElementaryTypeName",
2683
2683
  "src": "7473:5:43",
@@ -2692,17 +2692,17 @@
2692
2692
  "src": "7383:109:43"
2693
2693
  },
2694
2694
  "returnParameters": {
2695
- "id": 22878,
2695
+ "id": 22881,
2696
2696
  "nodeType": "ParameterList",
2697
2697
  "parameters": [
2698
2698
  {
2699
2699
  "constant": false,
2700
- "id": 22877,
2700
+ "id": 22880,
2701
2701
  "mutability": "mutable",
2702
2702
  "name": "newCtx",
2703
2703
  "nameLocation": "7567:6:43",
2704
2704
  "nodeType": "VariableDeclaration",
2705
- "scope": 22879,
2705
+ "scope": 22882,
2706
2706
  "src": "7554:19:43",
2707
2707
  "stateVariable": false,
2708
2708
  "storageLocation": "memory",
@@ -2711,7 +2711,7 @@
2711
2711
  "typeString": "bytes"
2712
2712
  },
2713
2713
  "typeName": {
2714
- "id": 22876,
2714
+ "id": 22879,
2715
2715
  "name": "bytes",
2716
2716
  "nodeType": "ElementaryTypeName",
2717
2717
  "src": "7554:5:43",
@@ -2725,7 +2725,7 @@
2725
2725
  ],
2726
2726
  "src": "7553:21:43"
2727
2727
  },
2728
- "scope": 23135,
2728
+ "scope": 23138,
2729
2729
  "src": "7364:211:43",
2730
2730
  "stateMutability": "nonpayable",
2731
2731
  "virtual": true,
@@ -2733,13 +2733,13 @@
2733
2733
  },
2734
2734
  {
2735
2735
  "documentation": {
2736
- "id": 22880,
2736
+ "id": 22883,
2737
2737
  "nodeType": "StructuredDocumentation",
2738
2738
  "src": "7774:576:43",
2739
2739
  "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"
2740
2740
  },
2741
2741
  "functionSelector": "acf4a6c2",
2742
- "id": 22894,
2742
+ "id": 22897,
2743
2743
  "implemented": false,
2744
2744
  "kind": "function",
2745
2745
  "modifiers": [],
@@ -2747,41 +2747,41 @@
2747
2747
  "nameLocation": "8364:19:43",
2748
2748
  "nodeType": "FunctionDefinition",
2749
2749
  "parameters": {
2750
- "id": 22890,
2750
+ "id": 22893,
2751
2751
  "nodeType": "ParameterList",
2752
2752
  "parameters": [
2753
2753
  {
2754
2754
  "constant": false,
2755
- "id": 22883,
2755
+ "id": 22886,
2756
2756
  "mutability": "mutable",
2757
2757
  "name": "token",
2758
2758
  "nameLocation": "8410:5:43",
2759
2759
  "nodeType": "VariableDeclaration",
2760
- "scope": 22894,
2760
+ "scope": 22897,
2761
2761
  "src": "8393:22:43",
2762
2762
  "stateVariable": false,
2763
2763
  "storageLocation": "default",
2764
2764
  "typeDescriptions": {
2765
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2765
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2766
2766
  "typeString": "contract ISuperfluidToken"
2767
2767
  },
2768
2768
  "typeName": {
2769
- "id": 22882,
2769
+ "id": 22885,
2770
2770
  "nodeType": "UserDefinedTypeName",
2771
2771
  "pathNode": {
2772
- "id": 22881,
2772
+ "id": 22884,
2773
2773
  "name": "ISuperfluidToken",
2774
2774
  "nameLocations": [
2775
2775
  "8393:16:43"
2776
2776
  ],
2777
2777
  "nodeType": "IdentifierPath",
2778
- "referencedDeclaration": 25463,
2778
+ "referencedDeclaration": 25466,
2779
2779
  "src": "8393:16:43"
2780
2780
  },
2781
- "referencedDeclaration": 25463,
2781
+ "referencedDeclaration": 25466,
2782
2782
  "src": "8393:16:43",
2783
2783
  "typeDescriptions": {
2784
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2784
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2785
2785
  "typeString": "contract ISuperfluidToken"
2786
2786
  }
2787
2787
  },
@@ -2789,12 +2789,12 @@
2789
2789
  },
2790
2790
  {
2791
2791
  "constant": false,
2792
- "id": 22885,
2792
+ "id": 22888,
2793
2793
  "mutability": "mutable",
2794
2794
  "name": "publisher",
2795
2795
  "nameLocation": "8433:9:43",
2796
2796
  "nodeType": "VariableDeclaration",
2797
- "scope": 22894,
2797
+ "scope": 22897,
2798
2798
  "src": "8425:17:43",
2799
2799
  "stateVariable": false,
2800
2800
  "storageLocation": "default",
@@ -2803,7 +2803,7 @@
2803
2803
  "typeString": "address"
2804
2804
  },
2805
2805
  "typeName": {
2806
- "id": 22884,
2806
+ "id": 22887,
2807
2807
  "name": "address",
2808
2808
  "nodeType": "ElementaryTypeName",
2809
2809
  "src": "8425:7:43",
@@ -2817,12 +2817,12 @@
2817
2817
  },
2818
2818
  {
2819
2819
  "constant": false,
2820
- "id": 22887,
2820
+ "id": 22890,
2821
2821
  "mutability": "mutable",
2822
2822
  "name": "indexId",
2823
2823
  "nameLocation": "8459:7:43",
2824
2824
  "nodeType": "VariableDeclaration",
2825
- "scope": 22894,
2825
+ "scope": 22897,
2826
2826
  "src": "8452:14:43",
2827
2827
  "stateVariable": false,
2828
2828
  "storageLocation": "default",
@@ -2831,7 +2831,7 @@
2831
2831
  "typeString": "uint32"
2832
2832
  },
2833
2833
  "typeName": {
2834
- "id": 22886,
2834
+ "id": 22889,
2835
2835
  "name": "uint32",
2836
2836
  "nodeType": "ElementaryTypeName",
2837
2837
  "src": "8452:6:43",
@@ -2844,12 +2844,12 @@
2844
2844
  },
2845
2845
  {
2846
2846
  "constant": false,
2847
- "id": 22889,
2847
+ "id": 22892,
2848
2848
  "mutability": "mutable",
2849
2849
  "name": "ctx",
2850
2850
  "nameLocation": "8491:3:43",
2851
2851
  "nodeType": "VariableDeclaration",
2852
- "scope": 22894,
2852
+ "scope": 22897,
2853
2853
  "src": "8476:18:43",
2854
2854
  "stateVariable": false,
2855
2855
  "storageLocation": "calldata",
@@ -2858,7 +2858,7 @@
2858
2858
  "typeString": "bytes"
2859
2859
  },
2860
2860
  "typeName": {
2861
- "id": 22888,
2861
+ "id": 22891,
2862
2862
  "name": "bytes",
2863
2863
  "nodeType": "ElementaryTypeName",
2864
2864
  "src": "8476:5:43",
@@ -2873,17 +2873,17 @@
2873
2873
  "src": "8383:112:43"
2874
2874
  },
2875
2875
  "returnParameters": {
2876
- "id": 22893,
2876
+ "id": 22896,
2877
2877
  "nodeType": "ParameterList",
2878
2878
  "parameters": [
2879
2879
  {
2880
2880
  "constant": false,
2881
- "id": 22892,
2881
+ "id": 22895,
2882
2882
  "mutability": "mutable",
2883
2883
  "name": "newCtx",
2884
2884
  "nameLocation": "8570:6:43",
2885
2885
  "nodeType": "VariableDeclaration",
2886
- "scope": 22894,
2886
+ "scope": 22897,
2887
2887
  "src": "8557:19:43",
2888
2888
  "stateVariable": false,
2889
2889
  "storageLocation": "memory",
@@ -2892,7 +2892,7 @@
2892
2892
  "typeString": "bytes"
2893
2893
  },
2894
2894
  "typeName": {
2895
- "id": 22891,
2895
+ "id": 22894,
2896
2896
  "name": "bytes",
2897
2897
  "nodeType": "ElementaryTypeName",
2898
2898
  "src": "8557:5:43",
@@ -2906,7 +2906,7 @@
2906
2906
  ],
2907
2907
  "src": "8556:21:43"
2908
2908
  },
2909
- "scope": 23135,
2909
+ "scope": 23138,
2910
2910
  "src": "8355:223:43",
2911
2911
  "stateMutability": "nonpayable",
2912
2912
  "virtual": true,
@@ -2915,53 +2915,53 @@
2915
2915
  {
2916
2916
  "anonymous": false,
2917
2917
  "documentation": {
2918
- "id": 22895,
2918
+ "id": 22898,
2919
2919
  "nodeType": "StructuredDocumentation",
2920
2920
  "src": "8583:272:43",
2921
2921
  "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"
2922
2922
  },
2923
2923
  "eventSelector": "492d2641617cfaf24ac7328f85bc5bdf5113537d78dc7671afa4f49a73f053c2",
2924
- "id": 22908,
2924
+ "id": 22911,
2925
2925
  "name": "IndexSubscribed",
2926
2926
  "nameLocation": "8866:15:43",
2927
2927
  "nodeType": "EventDefinition",
2928
2928
  "parameters": {
2929
- "id": 22907,
2929
+ "id": 22910,
2930
2930
  "nodeType": "ParameterList",
2931
2931
  "parameters": [
2932
2932
  {
2933
2933
  "constant": false,
2934
- "id": 22898,
2934
+ "id": 22901,
2935
2935
  "indexed": true,
2936
2936
  "mutability": "mutable",
2937
2937
  "name": "token",
2938
2938
  "nameLocation": "8916:5:43",
2939
2939
  "nodeType": "VariableDeclaration",
2940
- "scope": 22908,
2940
+ "scope": 22911,
2941
2941
  "src": "8891:30:43",
2942
2942
  "stateVariable": false,
2943
2943
  "storageLocation": "default",
2944
2944
  "typeDescriptions": {
2945
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2945
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2946
2946
  "typeString": "contract ISuperfluidToken"
2947
2947
  },
2948
2948
  "typeName": {
2949
- "id": 22897,
2949
+ "id": 22900,
2950
2950
  "nodeType": "UserDefinedTypeName",
2951
2951
  "pathNode": {
2952
- "id": 22896,
2952
+ "id": 22899,
2953
2953
  "name": "ISuperfluidToken",
2954
2954
  "nameLocations": [
2955
2955
  "8891:16:43"
2956
2956
  ],
2957
2957
  "nodeType": "IdentifierPath",
2958
- "referencedDeclaration": 25463,
2958
+ "referencedDeclaration": 25466,
2959
2959
  "src": "8891:16:43"
2960
2960
  },
2961
- "referencedDeclaration": 25463,
2961
+ "referencedDeclaration": 25466,
2962
2962
  "src": "8891:16:43",
2963
2963
  "typeDescriptions": {
2964
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
2964
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
2965
2965
  "typeString": "contract ISuperfluidToken"
2966
2966
  }
2967
2967
  },
@@ -2969,13 +2969,13 @@
2969
2969
  },
2970
2970
  {
2971
2971
  "constant": false,
2972
- "id": 22900,
2972
+ "id": 22903,
2973
2973
  "indexed": true,
2974
2974
  "mutability": "mutable",
2975
2975
  "name": "publisher",
2976
2976
  "nameLocation": "8947:9:43",
2977
2977
  "nodeType": "VariableDeclaration",
2978
- "scope": 22908,
2978
+ "scope": 22911,
2979
2979
  "src": "8931:25:43",
2980
2980
  "stateVariable": false,
2981
2981
  "storageLocation": "default",
@@ -2984,7 +2984,7 @@
2984
2984
  "typeString": "address"
2985
2985
  },
2986
2986
  "typeName": {
2987
- "id": 22899,
2987
+ "id": 22902,
2988
2988
  "name": "address",
2989
2989
  "nodeType": "ElementaryTypeName",
2990
2990
  "src": "8931:7:43",
@@ -2998,13 +2998,13 @@
2998
2998
  },
2999
2999
  {
3000
3000
  "constant": false,
3001
- "id": 22902,
3001
+ "id": 22905,
3002
3002
  "indexed": true,
3003
3003
  "mutability": "mutable",
3004
3004
  "name": "indexId",
3005
3005
  "nameLocation": "8981:7:43",
3006
3006
  "nodeType": "VariableDeclaration",
3007
- "scope": 22908,
3007
+ "scope": 22911,
3008
3008
  "src": "8966:22:43",
3009
3009
  "stateVariable": false,
3010
3010
  "storageLocation": "default",
@@ -3013,7 +3013,7 @@
3013
3013
  "typeString": "uint32"
3014
3014
  },
3015
3015
  "typeName": {
3016
- "id": 22901,
3016
+ "id": 22904,
3017
3017
  "name": "uint32",
3018
3018
  "nodeType": "ElementaryTypeName",
3019
3019
  "src": "8966:6:43",
@@ -3026,13 +3026,13 @@
3026
3026
  },
3027
3027
  {
3028
3028
  "constant": false,
3029
- "id": 22904,
3029
+ "id": 22907,
3030
3030
  "indexed": false,
3031
3031
  "mutability": "mutable",
3032
3032
  "name": "subscriber",
3033
3033
  "nameLocation": "9006:10:43",
3034
3034
  "nodeType": "VariableDeclaration",
3035
- "scope": 22908,
3035
+ "scope": 22911,
3036
3036
  "src": "8998:18:43",
3037
3037
  "stateVariable": false,
3038
3038
  "storageLocation": "default",
@@ -3041,7 +3041,7 @@
3041
3041
  "typeString": "address"
3042
3042
  },
3043
3043
  "typeName": {
3044
- "id": 22903,
3044
+ "id": 22906,
3045
3045
  "name": "address",
3046
3046
  "nodeType": "ElementaryTypeName",
3047
3047
  "src": "8998:7:43",
@@ -3055,13 +3055,13 @@
3055
3055
  },
3056
3056
  {
3057
3057
  "constant": false,
3058
- "id": 22906,
3058
+ "id": 22909,
3059
3059
  "indexed": false,
3060
3060
  "mutability": "mutable",
3061
3061
  "name": "userData",
3062
3062
  "nameLocation": "9032:8:43",
3063
3063
  "nodeType": "VariableDeclaration",
3064
- "scope": 22908,
3064
+ "scope": 22911,
3065
3065
  "src": "9026:14:43",
3066
3066
  "stateVariable": false,
3067
3067
  "storageLocation": "default",
@@ -3070,7 +3070,7 @@
3070
3070
  "typeString": "bytes"
3071
3071
  },
3072
3072
  "typeName": {
3073
- "id": 22905,
3073
+ "id": 22908,
3074
3074
  "name": "bytes",
3075
3075
  "nodeType": "ElementaryTypeName",
3076
3076
  "src": "9026:5:43",
@@ -3089,53 +3089,53 @@
3089
3089
  {
3090
3090
  "anonymous": false,
3091
3091
  "documentation": {
3092
- "id": 22909,
3092
+ "id": 22912,
3093
3093
  "nodeType": "StructuredDocumentation",
3094
3094
  "src": "9048:277:43",
3095
3095
  "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"
3096
3096
  },
3097
3097
  "eventSelector": "c0b8396b655615cdb85fe462a9a1792480816f909cd46d9517a940b386dfbf6b",
3098
- "id": 22922,
3098
+ "id": 22925,
3099
3099
  "name": "SubscriptionApproved",
3100
3100
  "nameLocation": "9336:20:43",
3101
3101
  "nodeType": "EventDefinition",
3102
3102
  "parameters": {
3103
- "id": 22921,
3103
+ "id": 22924,
3104
3104
  "nodeType": "ParameterList",
3105
3105
  "parameters": [
3106
3106
  {
3107
3107
  "constant": false,
3108
- "id": 22912,
3108
+ "id": 22915,
3109
3109
  "indexed": true,
3110
3110
  "mutability": "mutable",
3111
3111
  "name": "token",
3112
3112
  "nameLocation": "9391:5:43",
3113
3113
  "nodeType": "VariableDeclaration",
3114
- "scope": 22922,
3114
+ "scope": 22925,
3115
3115
  "src": "9366:30:43",
3116
3116
  "stateVariable": false,
3117
3117
  "storageLocation": "default",
3118
3118
  "typeDescriptions": {
3119
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3119
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3120
3120
  "typeString": "contract ISuperfluidToken"
3121
3121
  },
3122
3122
  "typeName": {
3123
- "id": 22911,
3123
+ "id": 22914,
3124
3124
  "nodeType": "UserDefinedTypeName",
3125
3125
  "pathNode": {
3126
- "id": 22910,
3126
+ "id": 22913,
3127
3127
  "name": "ISuperfluidToken",
3128
3128
  "nameLocations": [
3129
3129
  "9366:16:43"
3130
3130
  ],
3131
3131
  "nodeType": "IdentifierPath",
3132
- "referencedDeclaration": 25463,
3132
+ "referencedDeclaration": 25466,
3133
3133
  "src": "9366:16:43"
3134
3134
  },
3135
- "referencedDeclaration": 25463,
3135
+ "referencedDeclaration": 25466,
3136
3136
  "src": "9366:16:43",
3137
3137
  "typeDescriptions": {
3138
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3138
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3139
3139
  "typeString": "contract ISuperfluidToken"
3140
3140
  }
3141
3141
  },
@@ -3143,13 +3143,13 @@
3143
3143
  },
3144
3144
  {
3145
3145
  "constant": false,
3146
- "id": 22914,
3146
+ "id": 22917,
3147
3147
  "indexed": true,
3148
3148
  "mutability": "mutable",
3149
3149
  "name": "subscriber",
3150
3150
  "nameLocation": "9422:10:43",
3151
3151
  "nodeType": "VariableDeclaration",
3152
- "scope": 22922,
3152
+ "scope": 22925,
3153
3153
  "src": "9406:26:43",
3154
3154
  "stateVariable": false,
3155
3155
  "storageLocation": "default",
@@ -3158,7 +3158,7 @@
3158
3158
  "typeString": "address"
3159
3159
  },
3160
3160
  "typeName": {
3161
- "id": 22913,
3161
+ "id": 22916,
3162
3162
  "name": "address",
3163
3163
  "nodeType": "ElementaryTypeName",
3164
3164
  "src": "9406:7:43",
@@ -3172,13 +3172,13 @@
3172
3172
  },
3173
3173
  {
3174
3174
  "constant": false,
3175
- "id": 22916,
3175
+ "id": 22919,
3176
3176
  "indexed": false,
3177
3177
  "mutability": "mutable",
3178
3178
  "name": "publisher",
3179
3179
  "nameLocation": "9450:9:43",
3180
3180
  "nodeType": "VariableDeclaration",
3181
- "scope": 22922,
3181
+ "scope": 22925,
3182
3182
  "src": "9442:17:43",
3183
3183
  "stateVariable": false,
3184
3184
  "storageLocation": "default",
@@ -3187,7 +3187,7 @@
3187
3187
  "typeString": "address"
3188
3188
  },
3189
3189
  "typeName": {
3190
- "id": 22915,
3190
+ "id": 22918,
3191
3191
  "name": "address",
3192
3192
  "nodeType": "ElementaryTypeName",
3193
3193
  "src": "9442:7:43",
@@ -3201,13 +3201,13 @@
3201
3201
  },
3202
3202
  {
3203
3203
  "constant": false,
3204
- "id": 22918,
3204
+ "id": 22921,
3205
3205
  "indexed": false,
3206
3206
  "mutability": "mutable",
3207
3207
  "name": "indexId",
3208
3208
  "nameLocation": "9476:7:43",
3209
3209
  "nodeType": "VariableDeclaration",
3210
- "scope": 22922,
3210
+ "scope": 22925,
3211
3211
  "src": "9469:14:43",
3212
3212
  "stateVariable": false,
3213
3213
  "storageLocation": "default",
@@ -3216,7 +3216,7 @@
3216
3216
  "typeString": "uint32"
3217
3217
  },
3218
3218
  "typeName": {
3219
- "id": 22917,
3219
+ "id": 22920,
3220
3220
  "name": "uint32",
3221
3221
  "nodeType": "ElementaryTypeName",
3222
3222
  "src": "9469:6:43",
@@ -3229,13 +3229,13 @@
3229
3229
  },
3230
3230
  {
3231
3231
  "constant": false,
3232
- "id": 22920,
3232
+ "id": 22923,
3233
3233
  "indexed": false,
3234
3234
  "mutability": "mutable",
3235
3235
  "name": "userData",
3236
3236
  "nameLocation": "9499:8:43",
3237
3237
  "nodeType": "VariableDeclaration",
3238
- "scope": 22922,
3238
+ "scope": 22925,
3239
3239
  "src": "9493:14:43",
3240
3240
  "stateVariable": false,
3241
3241
  "storageLocation": "default",
@@ -3244,7 +3244,7 @@
3244
3244
  "typeString": "bytes"
3245
3245
  },
3246
3246
  "typeName": {
3247
- "id": 22919,
3247
+ "id": 22922,
3248
3248
  "name": "bytes",
3249
3249
  "nodeType": "ElementaryTypeName",
3250
3250
  "src": "9493:5:43",
@@ -3262,13 +3262,13 @@
3262
3262
  },
3263
3263
  {
3264
3264
  "documentation": {
3265
- "id": 22923,
3265
+ "id": 22926,
3266
3266
  "nodeType": "StructuredDocumentation",
3267
3267
  "src": "9515:465:43",
3268
3268
  "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"
3269
3269
  },
3270
3270
  "functionSelector": "6041ae96",
3271
- "id": 22937,
3271
+ "id": 22940,
3272
3272
  "implemented": false,
3273
3273
  "kind": "function",
3274
3274
  "modifiers": [],
@@ -3276,41 +3276,41 @@
3276
3276
  "nameLocation": "9994:18:43",
3277
3277
  "nodeType": "FunctionDefinition",
3278
3278
  "parameters": {
3279
- "id": 22933,
3279
+ "id": 22936,
3280
3280
  "nodeType": "ParameterList",
3281
3281
  "parameters": [
3282
3282
  {
3283
3283
  "constant": false,
3284
- "id": 22926,
3284
+ "id": 22929,
3285
3285
  "mutability": "mutable",
3286
3286
  "name": "token",
3287
3287
  "nameLocation": "10039:5:43",
3288
3288
  "nodeType": "VariableDeclaration",
3289
- "scope": 22937,
3289
+ "scope": 22940,
3290
3290
  "src": "10022:22:43",
3291
3291
  "stateVariable": false,
3292
3292
  "storageLocation": "default",
3293
3293
  "typeDescriptions": {
3294
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3294
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3295
3295
  "typeString": "contract ISuperfluidToken"
3296
3296
  },
3297
3297
  "typeName": {
3298
- "id": 22925,
3298
+ "id": 22928,
3299
3299
  "nodeType": "UserDefinedTypeName",
3300
3300
  "pathNode": {
3301
- "id": 22924,
3301
+ "id": 22927,
3302
3302
  "name": "ISuperfluidToken",
3303
3303
  "nameLocations": [
3304
3304
  "10022:16:43"
3305
3305
  ],
3306
3306
  "nodeType": "IdentifierPath",
3307
- "referencedDeclaration": 25463,
3307
+ "referencedDeclaration": 25466,
3308
3308
  "src": "10022:16:43"
3309
3309
  },
3310
- "referencedDeclaration": 25463,
3310
+ "referencedDeclaration": 25466,
3311
3311
  "src": "10022:16:43",
3312
3312
  "typeDescriptions": {
3313
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3313
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3314
3314
  "typeString": "contract ISuperfluidToken"
3315
3315
  }
3316
3316
  },
@@ -3318,12 +3318,12 @@
3318
3318
  },
3319
3319
  {
3320
3320
  "constant": false,
3321
- "id": 22928,
3321
+ "id": 22931,
3322
3322
  "mutability": "mutable",
3323
3323
  "name": "publisher",
3324
3324
  "nameLocation": "10062:9:43",
3325
3325
  "nodeType": "VariableDeclaration",
3326
- "scope": 22937,
3326
+ "scope": 22940,
3327
3327
  "src": "10054:17:43",
3328
3328
  "stateVariable": false,
3329
3329
  "storageLocation": "default",
@@ -3332,7 +3332,7 @@
3332
3332
  "typeString": "address"
3333
3333
  },
3334
3334
  "typeName": {
3335
- "id": 22927,
3335
+ "id": 22930,
3336
3336
  "name": "address",
3337
3337
  "nodeType": "ElementaryTypeName",
3338
3338
  "src": "10054:7:43",
@@ -3346,12 +3346,12 @@
3346
3346
  },
3347
3347
  {
3348
3348
  "constant": false,
3349
- "id": 22930,
3349
+ "id": 22933,
3350
3350
  "mutability": "mutable",
3351
3351
  "name": "indexId",
3352
3352
  "nameLocation": "10088:7:43",
3353
3353
  "nodeType": "VariableDeclaration",
3354
- "scope": 22937,
3354
+ "scope": 22940,
3355
3355
  "src": "10081:14:43",
3356
3356
  "stateVariable": false,
3357
3357
  "storageLocation": "default",
@@ -3360,7 +3360,7 @@
3360
3360
  "typeString": "uint32"
3361
3361
  },
3362
3362
  "typeName": {
3363
- "id": 22929,
3363
+ "id": 22932,
3364
3364
  "name": "uint32",
3365
3365
  "nodeType": "ElementaryTypeName",
3366
3366
  "src": "10081:6:43",
@@ -3373,12 +3373,12 @@
3373
3373
  },
3374
3374
  {
3375
3375
  "constant": false,
3376
- "id": 22932,
3376
+ "id": 22935,
3377
3377
  "mutability": "mutable",
3378
3378
  "name": "ctx",
3379
3379
  "nameLocation": "10120:3:43",
3380
3380
  "nodeType": "VariableDeclaration",
3381
- "scope": 22937,
3381
+ "scope": 22940,
3382
3382
  "src": "10105:18:43",
3383
3383
  "stateVariable": false,
3384
3384
  "storageLocation": "calldata",
@@ -3387,7 +3387,7 @@
3387
3387
  "typeString": "bytes"
3388
3388
  },
3389
3389
  "typeName": {
3390
- "id": 22931,
3390
+ "id": 22934,
3391
3391
  "name": "bytes",
3392
3392
  "nodeType": "ElementaryTypeName",
3393
3393
  "src": "10105:5:43",
@@ -3402,17 +3402,17 @@
3402
3402
  "src": "10012:112:43"
3403
3403
  },
3404
3404
  "returnParameters": {
3405
- "id": 22936,
3405
+ "id": 22939,
3406
3406
  "nodeType": "ParameterList",
3407
3407
  "parameters": [
3408
3408
  {
3409
3409
  "constant": false,
3410
- "id": 22935,
3410
+ "id": 22938,
3411
3411
  "mutability": "mutable",
3412
3412
  "name": "newCtx",
3413
3413
  "nameLocation": "10190:6:43",
3414
3414
  "nodeType": "VariableDeclaration",
3415
- "scope": 22937,
3415
+ "scope": 22940,
3416
3416
  "src": "10177:19:43",
3417
3417
  "stateVariable": false,
3418
3418
  "storageLocation": "memory",
@@ -3421,7 +3421,7 @@
3421
3421
  "typeString": "bytes"
3422
3422
  },
3423
3423
  "typeName": {
3424
- "id": 22934,
3424
+ "id": 22937,
3425
3425
  "name": "bytes",
3426
3426
  "nodeType": "ElementaryTypeName",
3427
3427
  "src": "10177:5:43",
@@ -3435,7 +3435,7 @@
3435
3435
  ],
3436
3436
  "src": "10176:21:43"
3437
3437
  },
3438
- "scope": 23135,
3438
+ "scope": 23138,
3439
3439
  "src": "9985:213:43",
3440
3440
  "stateMutability": "nonpayable",
3441
3441
  "virtual": true,
@@ -3444,53 +3444,53 @@
3444
3444
  {
3445
3445
  "anonymous": false,
3446
3446
  "documentation": {
3447
- "id": 22938,
3447
+ "id": 22941,
3448
3448
  "nodeType": "StructuredDocumentation",
3449
3449
  "src": "10203:278:43",
3450
3450
  "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"
3451
3451
  },
3452
3452
  "eventSelector": "e1f8e9cd8061e5b251769965bda6ca9ef1674bc6541fb9131039fa53f024d142",
3453
- "id": 22951,
3453
+ "id": 22954,
3454
3454
  "name": "IndexUnsubscribed",
3455
3455
  "nameLocation": "10492:17:43",
3456
3456
  "nodeType": "EventDefinition",
3457
3457
  "parameters": {
3458
- "id": 22950,
3458
+ "id": 22953,
3459
3459
  "nodeType": "ParameterList",
3460
3460
  "parameters": [
3461
3461
  {
3462
3462
  "constant": false,
3463
- "id": 22941,
3463
+ "id": 22944,
3464
3464
  "indexed": true,
3465
3465
  "mutability": "mutable",
3466
3466
  "name": "token",
3467
3467
  "nameLocation": "10544:5:43",
3468
3468
  "nodeType": "VariableDeclaration",
3469
- "scope": 22951,
3469
+ "scope": 22954,
3470
3470
  "src": "10519:30:43",
3471
3471
  "stateVariable": false,
3472
3472
  "storageLocation": "default",
3473
3473
  "typeDescriptions": {
3474
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3474
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3475
3475
  "typeString": "contract ISuperfluidToken"
3476
3476
  },
3477
3477
  "typeName": {
3478
- "id": 22940,
3478
+ "id": 22943,
3479
3479
  "nodeType": "UserDefinedTypeName",
3480
3480
  "pathNode": {
3481
- "id": 22939,
3481
+ "id": 22942,
3482
3482
  "name": "ISuperfluidToken",
3483
3483
  "nameLocations": [
3484
3484
  "10519:16:43"
3485
3485
  ],
3486
3486
  "nodeType": "IdentifierPath",
3487
- "referencedDeclaration": 25463,
3487
+ "referencedDeclaration": 25466,
3488
3488
  "src": "10519:16:43"
3489
3489
  },
3490
- "referencedDeclaration": 25463,
3490
+ "referencedDeclaration": 25466,
3491
3491
  "src": "10519:16:43",
3492
3492
  "typeDescriptions": {
3493
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3493
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3494
3494
  "typeString": "contract ISuperfluidToken"
3495
3495
  }
3496
3496
  },
@@ -3498,13 +3498,13 @@
3498
3498
  },
3499
3499
  {
3500
3500
  "constant": false,
3501
- "id": 22943,
3501
+ "id": 22946,
3502
3502
  "indexed": true,
3503
3503
  "mutability": "mutable",
3504
3504
  "name": "publisher",
3505
3505
  "nameLocation": "10575:9:43",
3506
3506
  "nodeType": "VariableDeclaration",
3507
- "scope": 22951,
3507
+ "scope": 22954,
3508
3508
  "src": "10559:25:43",
3509
3509
  "stateVariable": false,
3510
3510
  "storageLocation": "default",
@@ -3513,7 +3513,7 @@
3513
3513
  "typeString": "address"
3514
3514
  },
3515
3515
  "typeName": {
3516
- "id": 22942,
3516
+ "id": 22945,
3517
3517
  "name": "address",
3518
3518
  "nodeType": "ElementaryTypeName",
3519
3519
  "src": "10559:7:43",
@@ -3527,13 +3527,13 @@
3527
3527
  },
3528
3528
  {
3529
3529
  "constant": false,
3530
- "id": 22945,
3530
+ "id": 22948,
3531
3531
  "indexed": true,
3532
3532
  "mutability": "mutable",
3533
3533
  "name": "indexId",
3534
3534
  "nameLocation": "10609:7:43",
3535
3535
  "nodeType": "VariableDeclaration",
3536
- "scope": 22951,
3536
+ "scope": 22954,
3537
3537
  "src": "10594:22:43",
3538
3538
  "stateVariable": false,
3539
3539
  "storageLocation": "default",
@@ -3542,7 +3542,7 @@
3542
3542
  "typeString": "uint32"
3543
3543
  },
3544
3544
  "typeName": {
3545
- "id": 22944,
3545
+ "id": 22947,
3546
3546
  "name": "uint32",
3547
3547
  "nodeType": "ElementaryTypeName",
3548
3548
  "src": "10594:6:43",
@@ -3555,13 +3555,13 @@
3555
3555
  },
3556
3556
  {
3557
3557
  "constant": false,
3558
- "id": 22947,
3558
+ "id": 22950,
3559
3559
  "indexed": false,
3560
3560
  "mutability": "mutable",
3561
3561
  "name": "subscriber",
3562
3562
  "nameLocation": "10634:10:43",
3563
3563
  "nodeType": "VariableDeclaration",
3564
- "scope": 22951,
3564
+ "scope": 22954,
3565
3565
  "src": "10626:18:43",
3566
3566
  "stateVariable": false,
3567
3567
  "storageLocation": "default",
@@ -3570,7 +3570,7 @@
3570
3570
  "typeString": "address"
3571
3571
  },
3572
3572
  "typeName": {
3573
- "id": 22946,
3573
+ "id": 22949,
3574
3574
  "name": "address",
3575
3575
  "nodeType": "ElementaryTypeName",
3576
3576
  "src": "10626:7:43",
@@ -3584,13 +3584,13 @@
3584
3584
  },
3585
3585
  {
3586
3586
  "constant": false,
3587
- "id": 22949,
3587
+ "id": 22952,
3588
3588
  "indexed": false,
3589
3589
  "mutability": "mutable",
3590
3590
  "name": "userData",
3591
3591
  "nameLocation": "10660:8:43",
3592
3592
  "nodeType": "VariableDeclaration",
3593
- "scope": 22951,
3593
+ "scope": 22954,
3594
3594
  "src": "10654:14:43",
3595
3595
  "stateVariable": false,
3596
3596
  "storageLocation": "default",
@@ -3599,7 +3599,7 @@
3599
3599
  "typeString": "bytes"
3600
3600
  },
3601
3601
  "typeName": {
3602
- "id": 22948,
3602
+ "id": 22951,
3603
3603
  "name": "bytes",
3604
3604
  "nodeType": "ElementaryTypeName",
3605
3605
  "src": "10654:5:43",
@@ -3618,53 +3618,53 @@
3618
3618
  {
3619
3619
  "anonymous": false,
3620
3620
  "documentation": {
3621
- "id": 22952,
3621
+ "id": 22955,
3622
3622
  "nodeType": "StructuredDocumentation",
3623
3623
  "src": "10680:277:43",
3624
3624
  "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"
3625
3625
  },
3626
3626
  "eventSelector": "9e02127550b99adc8cc6ee332a36f31338facdbc396cebefce9a047247cd0455",
3627
- "id": 22965,
3627
+ "id": 22968,
3628
3628
  "name": "SubscriptionRevoked",
3629
3629
  "nameLocation": "10968:19:43",
3630
3630
  "nodeType": "EventDefinition",
3631
3631
  "parameters": {
3632
- "id": 22964,
3632
+ "id": 22967,
3633
3633
  "nodeType": "ParameterList",
3634
3634
  "parameters": [
3635
3635
  {
3636
3636
  "constant": false,
3637
- "id": 22955,
3637
+ "id": 22958,
3638
3638
  "indexed": true,
3639
3639
  "mutability": "mutable",
3640
3640
  "name": "token",
3641
3641
  "nameLocation": "11022:5:43",
3642
3642
  "nodeType": "VariableDeclaration",
3643
- "scope": 22965,
3643
+ "scope": 22968,
3644
3644
  "src": "10997:30:43",
3645
3645
  "stateVariable": false,
3646
3646
  "storageLocation": "default",
3647
3647
  "typeDescriptions": {
3648
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3648
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3649
3649
  "typeString": "contract ISuperfluidToken"
3650
3650
  },
3651
3651
  "typeName": {
3652
- "id": 22954,
3652
+ "id": 22957,
3653
3653
  "nodeType": "UserDefinedTypeName",
3654
3654
  "pathNode": {
3655
- "id": 22953,
3655
+ "id": 22956,
3656
3656
  "name": "ISuperfluidToken",
3657
3657
  "nameLocations": [
3658
3658
  "10997:16:43"
3659
3659
  ],
3660
3660
  "nodeType": "IdentifierPath",
3661
- "referencedDeclaration": 25463,
3661
+ "referencedDeclaration": 25466,
3662
3662
  "src": "10997:16:43"
3663
3663
  },
3664
- "referencedDeclaration": 25463,
3664
+ "referencedDeclaration": 25466,
3665
3665
  "src": "10997:16:43",
3666
3666
  "typeDescriptions": {
3667
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3667
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3668
3668
  "typeString": "contract ISuperfluidToken"
3669
3669
  }
3670
3670
  },
@@ -3672,13 +3672,13 @@
3672
3672
  },
3673
3673
  {
3674
3674
  "constant": false,
3675
- "id": 22957,
3675
+ "id": 22960,
3676
3676
  "indexed": true,
3677
3677
  "mutability": "mutable",
3678
3678
  "name": "subscriber",
3679
3679
  "nameLocation": "11053:10:43",
3680
3680
  "nodeType": "VariableDeclaration",
3681
- "scope": 22965,
3681
+ "scope": 22968,
3682
3682
  "src": "11037:26:43",
3683
3683
  "stateVariable": false,
3684
3684
  "storageLocation": "default",
@@ -3687,7 +3687,7 @@
3687
3687
  "typeString": "address"
3688
3688
  },
3689
3689
  "typeName": {
3690
- "id": 22956,
3690
+ "id": 22959,
3691
3691
  "name": "address",
3692
3692
  "nodeType": "ElementaryTypeName",
3693
3693
  "src": "11037:7:43",
@@ -3701,13 +3701,13 @@
3701
3701
  },
3702
3702
  {
3703
3703
  "constant": false,
3704
- "id": 22959,
3704
+ "id": 22962,
3705
3705
  "indexed": false,
3706
3706
  "mutability": "mutable",
3707
3707
  "name": "publisher",
3708
3708
  "nameLocation": "11081:9:43",
3709
3709
  "nodeType": "VariableDeclaration",
3710
- "scope": 22965,
3710
+ "scope": 22968,
3711
3711
  "src": "11073:17:43",
3712
3712
  "stateVariable": false,
3713
3713
  "storageLocation": "default",
@@ -3716,7 +3716,7 @@
3716
3716
  "typeString": "address"
3717
3717
  },
3718
3718
  "typeName": {
3719
- "id": 22958,
3719
+ "id": 22961,
3720
3720
  "name": "address",
3721
3721
  "nodeType": "ElementaryTypeName",
3722
3722
  "src": "11073:7:43",
@@ -3730,13 +3730,13 @@
3730
3730
  },
3731
3731
  {
3732
3732
  "constant": false,
3733
- "id": 22961,
3733
+ "id": 22964,
3734
3734
  "indexed": false,
3735
3735
  "mutability": "mutable",
3736
3736
  "name": "indexId",
3737
3737
  "nameLocation": "11107:7:43",
3738
3738
  "nodeType": "VariableDeclaration",
3739
- "scope": 22965,
3739
+ "scope": 22968,
3740
3740
  "src": "11100:14:43",
3741
3741
  "stateVariable": false,
3742
3742
  "storageLocation": "default",
@@ -3745,7 +3745,7 @@
3745
3745
  "typeString": "uint32"
3746
3746
  },
3747
3747
  "typeName": {
3748
- "id": 22960,
3748
+ "id": 22963,
3749
3749
  "name": "uint32",
3750
3750
  "nodeType": "ElementaryTypeName",
3751
3751
  "src": "11100:6:43",
@@ -3758,13 +3758,13 @@
3758
3758
  },
3759
3759
  {
3760
3760
  "constant": false,
3761
- "id": 22963,
3761
+ "id": 22966,
3762
3762
  "indexed": false,
3763
3763
  "mutability": "mutable",
3764
3764
  "name": "userData",
3765
3765
  "nameLocation": "11130:8:43",
3766
3766
  "nodeType": "VariableDeclaration",
3767
- "scope": 22965,
3767
+ "scope": 22968,
3768
3768
  "src": "11124:14:43",
3769
3769
  "stateVariable": false,
3770
3770
  "storageLocation": "default",
@@ -3773,7 +3773,7 @@
3773
3773
  "typeString": "bytes"
3774
3774
  },
3775
3775
  "typeName": {
3776
- "id": 22962,
3776
+ "id": 22965,
3777
3777
  "name": "bytes",
3778
3778
  "nodeType": "ElementaryTypeName",
3779
3779
  "src": "11124:5:43",
@@ -3791,13 +3791,13 @@
3791
3791
  },
3792
3792
  {
3793
3793
  "documentation": {
3794
- "id": 22966,
3794
+ "id": 22969,
3795
3795
  "nodeType": "StructuredDocumentation",
3796
3796
  "src": "11146:643:43",
3797
3797
  "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"
3798
3798
  },
3799
3799
  "functionSelector": "232d2b58",
3800
- "id": 22982,
3800
+ "id": 22985,
3801
3801
  "implemented": false,
3802
3802
  "kind": "function",
3803
3803
  "modifiers": [],
@@ -3805,41 +3805,41 @@
3805
3805
  "nameLocation": "11803:18:43",
3806
3806
  "nodeType": "FunctionDefinition",
3807
3807
  "parameters": {
3808
- "id": 22978,
3808
+ "id": 22981,
3809
3809
  "nodeType": "ParameterList",
3810
3810
  "parameters": [
3811
3811
  {
3812
3812
  "constant": false,
3813
- "id": 22969,
3813
+ "id": 22972,
3814
3814
  "mutability": "mutable",
3815
3815
  "name": "token",
3816
3816
  "nameLocation": "11848:5:43",
3817
3817
  "nodeType": "VariableDeclaration",
3818
- "scope": 22982,
3818
+ "scope": 22985,
3819
3819
  "src": "11831:22:43",
3820
3820
  "stateVariable": false,
3821
3821
  "storageLocation": "default",
3822
3822
  "typeDescriptions": {
3823
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3823
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3824
3824
  "typeString": "contract ISuperfluidToken"
3825
3825
  },
3826
3826
  "typeName": {
3827
- "id": 22968,
3827
+ "id": 22971,
3828
3828
  "nodeType": "UserDefinedTypeName",
3829
3829
  "pathNode": {
3830
- "id": 22967,
3830
+ "id": 22970,
3831
3831
  "name": "ISuperfluidToken",
3832
3832
  "nameLocations": [
3833
3833
  "11831:16:43"
3834
3834
  ],
3835
3835
  "nodeType": "IdentifierPath",
3836
- "referencedDeclaration": 25463,
3836
+ "referencedDeclaration": 25466,
3837
3837
  "src": "11831:16:43"
3838
3838
  },
3839
- "referencedDeclaration": 25463,
3839
+ "referencedDeclaration": 25466,
3840
3840
  "src": "11831:16:43",
3841
3841
  "typeDescriptions": {
3842
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
3842
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
3843
3843
  "typeString": "contract ISuperfluidToken"
3844
3844
  }
3845
3845
  },
@@ -3847,12 +3847,12 @@
3847
3847
  },
3848
3848
  {
3849
3849
  "constant": false,
3850
- "id": 22971,
3850
+ "id": 22974,
3851
3851
  "mutability": "mutable",
3852
3852
  "name": "indexId",
3853
3853
  "nameLocation": "11870:7:43",
3854
3854
  "nodeType": "VariableDeclaration",
3855
- "scope": 22982,
3855
+ "scope": 22985,
3856
3856
  "src": "11863:14:43",
3857
3857
  "stateVariable": false,
3858
3858
  "storageLocation": "default",
@@ -3861,7 +3861,7 @@
3861
3861
  "typeString": "uint32"
3862
3862
  },
3863
3863
  "typeName": {
3864
- "id": 22970,
3864
+ "id": 22973,
3865
3865
  "name": "uint32",
3866
3866
  "nodeType": "ElementaryTypeName",
3867
3867
  "src": "11863:6:43",
@@ -3874,12 +3874,12 @@
3874
3874
  },
3875
3875
  {
3876
3876
  "constant": false,
3877
- "id": 22973,
3877
+ "id": 22976,
3878
3878
  "mutability": "mutable",
3879
3879
  "name": "subscriber",
3880
3880
  "nameLocation": "11895:10:43",
3881
3881
  "nodeType": "VariableDeclaration",
3882
- "scope": 22982,
3882
+ "scope": 22985,
3883
3883
  "src": "11887:18:43",
3884
3884
  "stateVariable": false,
3885
3885
  "storageLocation": "default",
@@ -3888,7 +3888,7 @@
3888
3888
  "typeString": "address"
3889
3889
  },
3890
3890
  "typeName": {
3891
- "id": 22972,
3891
+ "id": 22975,
3892
3892
  "name": "address",
3893
3893
  "nodeType": "ElementaryTypeName",
3894
3894
  "src": "11887:7:43",
@@ -3902,12 +3902,12 @@
3902
3902
  },
3903
3903
  {
3904
3904
  "constant": false,
3905
- "id": 22975,
3905
+ "id": 22978,
3906
3906
  "mutability": "mutable",
3907
3907
  "name": "units",
3908
3908
  "nameLocation": "11923:5:43",
3909
3909
  "nodeType": "VariableDeclaration",
3910
- "scope": 22982,
3910
+ "scope": 22985,
3911
3911
  "src": "11915:13:43",
3912
3912
  "stateVariable": false,
3913
3913
  "storageLocation": "default",
@@ -3916,7 +3916,7 @@
3916
3916
  "typeString": "uint128"
3917
3917
  },
3918
3918
  "typeName": {
3919
- "id": 22974,
3919
+ "id": 22977,
3920
3920
  "name": "uint128",
3921
3921
  "nodeType": "ElementaryTypeName",
3922
3922
  "src": "11915:7:43",
@@ -3929,12 +3929,12 @@
3929
3929
  },
3930
3930
  {
3931
3931
  "constant": false,
3932
- "id": 22977,
3932
+ "id": 22980,
3933
3933
  "mutability": "mutable",
3934
3934
  "name": "ctx",
3935
3935
  "nameLocation": "11953:3:43",
3936
3936
  "nodeType": "VariableDeclaration",
3937
- "scope": 22982,
3937
+ "scope": 22985,
3938
3938
  "src": "11938:18:43",
3939
3939
  "stateVariable": false,
3940
3940
  "storageLocation": "calldata",
@@ -3943,7 +3943,7 @@
3943
3943
  "typeString": "bytes"
3944
3944
  },
3945
3945
  "typeName": {
3946
- "id": 22976,
3946
+ "id": 22979,
3947
3947
  "name": "bytes",
3948
3948
  "nodeType": "ElementaryTypeName",
3949
3949
  "src": "11938:5:43",
@@ -3958,17 +3958,17 @@
3958
3958
  "src": "11821:136:43"
3959
3959
  },
3960
3960
  "returnParameters": {
3961
- "id": 22981,
3961
+ "id": 22984,
3962
3962
  "nodeType": "ParameterList",
3963
3963
  "parameters": [
3964
3964
  {
3965
3965
  "constant": false,
3966
- "id": 22980,
3966
+ "id": 22983,
3967
3967
  "mutability": "mutable",
3968
3968
  "name": "newCtx",
3969
3969
  "nameLocation": "12032:6:43",
3970
3970
  "nodeType": "VariableDeclaration",
3971
- "scope": 22982,
3971
+ "scope": 22985,
3972
3972
  "src": "12019:19:43",
3973
3973
  "stateVariable": false,
3974
3974
  "storageLocation": "memory",
@@ -3977,7 +3977,7 @@
3977
3977
  "typeString": "bytes"
3978
3978
  },
3979
3979
  "typeName": {
3980
- "id": 22979,
3980
+ "id": 22982,
3981
3981
  "name": "bytes",
3982
3982
  "nodeType": "ElementaryTypeName",
3983
3983
  "src": "12019:5:43",
@@ -3991,7 +3991,7 @@
3991
3991
  ],
3992
3992
  "src": "12018:21:43"
3993
3993
  },
3994
- "scope": 23135,
3994
+ "scope": 23138,
3995
3995
  "src": "11794:246:43",
3996
3996
  "stateMutability": "nonpayable",
3997
3997
  "virtual": true,
@@ -4000,53 +4000,53 @@
4000
4000
  {
4001
4001
  "anonymous": false,
4002
4002
  "documentation": {
4003
- "id": 22983,
4003
+ "id": 22986,
4004
4004
  "nodeType": "StructuredDocumentation",
4005
4005
  "src": "12046:322:43",
4006
4006
  "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"
4007
4007
  },
4008
4008
  "eventSelector": "0115987243fd19d615b5ea62a80372a06a2b37fec378b148ee7a507c5c4c0a39",
4009
- "id": 22998,
4009
+ "id": 23001,
4010
4010
  "name": "IndexUnitsUpdated",
4011
4011
  "nameLocation": "12379:17:43",
4012
4012
  "nodeType": "EventDefinition",
4013
4013
  "parameters": {
4014
- "id": 22997,
4014
+ "id": 23000,
4015
4015
  "nodeType": "ParameterList",
4016
4016
  "parameters": [
4017
4017
  {
4018
4018
  "constant": false,
4019
- "id": 22986,
4019
+ "id": 22989,
4020
4020
  "indexed": true,
4021
4021
  "mutability": "mutable",
4022
4022
  "name": "token",
4023
4023
  "nameLocation": "12431:5:43",
4024
4024
  "nodeType": "VariableDeclaration",
4025
- "scope": 22998,
4025
+ "scope": 23001,
4026
4026
  "src": "12406:30:43",
4027
4027
  "stateVariable": false,
4028
4028
  "storageLocation": "default",
4029
4029
  "typeDescriptions": {
4030
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4030
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4031
4031
  "typeString": "contract ISuperfluidToken"
4032
4032
  },
4033
4033
  "typeName": {
4034
- "id": 22985,
4034
+ "id": 22988,
4035
4035
  "nodeType": "UserDefinedTypeName",
4036
4036
  "pathNode": {
4037
- "id": 22984,
4037
+ "id": 22987,
4038
4038
  "name": "ISuperfluidToken",
4039
4039
  "nameLocations": [
4040
4040
  "12406:16:43"
4041
4041
  ],
4042
4042
  "nodeType": "IdentifierPath",
4043
- "referencedDeclaration": 25463,
4043
+ "referencedDeclaration": 25466,
4044
4044
  "src": "12406:16:43"
4045
4045
  },
4046
- "referencedDeclaration": 25463,
4046
+ "referencedDeclaration": 25466,
4047
4047
  "src": "12406:16:43",
4048
4048
  "typeDescriptions": {
4049
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4049
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4050
4050
  "typeString": "contract ISuperfluidToken"
4051
4051
  }
4052
4052
  },
@@ -4054,13 +4054,13 @@
4054
4054
  },
4055
4055
  {
4056
4056
  "constant": false,
4057
- "id": 22988,
4057
+ "id": 22991,
4058
4058
  "indexed": true,
4059
4059
  "mutability": "mutable",
4060
4060
  "name": "publisher",
4061
4061
  "nameLocation": "12462:9:43",
4062
4062
  "nodeType": "VariableDeclaration",
4063
- "scope": 22998,
4063
+ "scope": 23001,
4064
4064
  "src": "12446:25:43",
4065
4065
  "stateVariable": false,
4066
4066
  "storageLocation": "default",
@@ -4069,7 +4069,7 @@
4069
4069
  "typeString": "address"
4070
4070
  },
4071
4071
  "typeName": {
4072
- "id": 22987,
4072
+ "id": 22990,
4073
4073
  "name": "address",
4074
4074
  "nodeType": "ElementaryTypeName",
4075
4075
  "src": "12446:7:43",
@@ -4083,13 +4083,13 @@
4083
4083
  },
4084
4084
  {
4085
4085
  "constant": false,
4086
- "id": 22990,
4086
+ "id": 22993,
4087
4087
  "indexed": true,
4088
4088
  "mutability": "mutable",
4089
4089
  "name": "indexId",
4090
4090
  "nameLocation": "12496:7:43",
4091
4091
  "nodeType": "VariableDeclaration",
4092
- "scope": 22998,
4092
+ "scope": 23001,
4093
4093
  "src": "12481:22:43",
4094
4094
  "stateVariable": false,
4095
4095
  "storageLocation": "default",
@@ -4098,7 +4098,7 @@
4098
4098
  "typeString": "uint32"
4099
4099
  },
4100
4100
  "typeName": {
4101
- "id": 22989,
4101
+ "id": 22992,
4102
4102
  "name": "uint32",
4103
4103
  "nodeType": "ElementaryTypeName",
4104
4104
  "src": "12481:6:43",
@@ -4111,13 +4111,13 @@
4111
4111
  },
4112
4112
  {
4113
4113
  "constant": false,
4114
- "id": 22992,
4114
+ "id": 22995,
4115
4115
  "indexed": false,
4116
4116
  "mutability": "mutable",
4117
4117
  "name": "subscriber",
4118
4118
  "nameLocation": "12521:10:43",
4119
4119
  "nodeType": "VariableDeclaration",
4120
- "scope": 22998,
4120
+ "scope": 23001,
4121
4121
  "src": "12513:18:43",
4122
4122
  "stateVariable": false,
4123
4123
  "storageLocation": "default",
@@ -4126,7 +4126,7 @@
4126
4126
  "typeString": "address"
4127
4127
  },
4128
4128
  "typeName": {
4129
- "id": 22991,
4129
+ "id": 22994,
4130
4130
  "name": "address",
4131
4131
  "nodeType": "ElementaryTypeName",
4132
4132
  "src": "12513:7:43",
@@ -4140,13 +4140,13 @@
4140
4140
  },
4141
4141
  {
4142
4142
  "constant": false,
4143
- "id": 22994,
4143
+ "id": 22997,
4144
4144
  "indexed": false,
4145
4145
  "mutability": "mutable",
4146
4146
  "name": "units",
4147
4147
  "nameLocation": "12549:5:43",
4148
4148
  "nodeType": "VariableDeclaration",
4149
- "scope": 22998,
4149
+ "scope": 23001,
4150
4150
  "src": "12541:13:43",
4151
4151
  "stateVariable": false,
4152
4152
  "storageLocation": "default",
@@ -4155,7 +4155,7 @@
4155
4155
  "typeString": "uint128"
4156
4156
  },
4157
4157
  "typeName": {
4158
- "id": 22993,
4158
+ "id": 22996,
4159
4159
  "name": "uint128",
4160
4160
  "nodeType": "ElementaryTypeName",
4161
4161
  "src": "12541:7:43",
@@ -4168,13 +4168,13 @@
4168
4168
  },
4169
4169
  {
4170
4170
  "constant": false,
4171
- "id": 22996,
4171
+ "id": 22999,
4172
4172
  "indexed": false,
4173
4173
  "mutability": "mutable",
4174
4174
  "name": "userData",
4175
4175
  "nameLocation": "12570:8:43",
4176
4176
  "nodeType": "VariableDeclaration",
4177
- "scope": 22998,
4177
+ "scope": 23001,
4178
4178
  "src": "12564:14:43",
4179
4179
  "stateVariable": false,
4180
4180
  "storageLocation": "default",
@@ -4183,7 +4183,7 @@
4183
4183
  "typeString": "bytes"
4184
4184
  },
4185
4185
  "typeName": {
4186
- "id": 22995,
4186
+ "id": 22998,
4187
4187
  "name": "bytes",
4188
4188
  "nodeType": "ElementaryTypeName",
4189
4189
  "src": "12564:5:43",
@@ -4202,53 +4202,53 @@
4202
4202
  {
4203
4203
  "anonymous": false,
4204
4204
  "documentation": {
4205
- "id": 22999,
4205
+ "id": 23002,
4206
4206
  "nodeType": "StructuredDocumentation",
4207
4207
  "src": "12590:329:43",
4208
4208
  "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"
4209
4209
  },
4210
4210
  "eventSelector": "e0707ac7efb8b59c22189af8d004ed17dc9e4379e71b9066119b62c182524977",
4211
- "id": 23014,
4211
+ "id": 23017,
4212
4212
  "name": "SubscriptionUnitsUpdated",
4213
4213
  "nameLocation": "12930:24:43",
4214
4214
  "nodeType": "EventDefinition",
4215
4215
  "parameters": {
4216
- "id": 23013,
4216
+ "id": 23016,
4217
4217
  "nodeType": "ParameterList",
4218
4218
  "parameters": [
4219
4219
  {
4220
4220
  "constant": false,
4221
- "id": 23002,
4221
+ "id": 23005,
4222
4222
  "indexed": true,
4223
4223
  "mutability": "mutable",
4224
4224
  "name": "token",
4225
4225
  "nameLocation": "12989:5:43",
4226
4226
  "nodeType": "VariableDeclaration",
4227
- "scope": 23014,
4227
+ "scope": 23017,
4228
4228
  "src": "12964:30:43",
4229
4229
  "stateVariable": false,
4230
4230
  "storageLocation": "default",
4231
4231
  "typeDescriptions": {
4232
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4232
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4233
4233
  "typeString": "contract ISuperfluidToken"
4234
4234
  },
4235
4235
  "typeName": {
4236
- "id": 23001,
4236
+ "id": 23004,
4237
4237
  "nodeType": "UserDefinedTypeName",
4238
4238
  "pathNode": {
4239
- "id": 23000,
4239
+ "id": 23003,
4240
4240
  "name": "ISuperfluidToken",
4241
4241
  "nameLocations": [
4242
4242
  "12964:16:43"
4243
4243
  ],
4244
4244
  "nodeType": "IdentifierPath",
4245
- "referencedDeclaration": 25463,
4245
+ "referencedDeclaration": 25466,
4246
4246
  "src": "12964:16:43"
4247
4247
  },
4248
- "referencedDeclaration": 25463,
4248
+ "referencedDeclaration": 25466,
4249
4249
  "src": "12964:16:43",
4250
4250
  "typeDescriptions": {
4251
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4251
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4252
4252
  "typeString": "contract ISuperfluidToken"
4253
4253
  }
4254
4254
  },
@@ -4256,13 +4256,13 @@
4256
4256
  },
4257
4257
  {
4258
4258
  "constant": false,
4259
- "id": 23004,
4259
+ "id": 23007,
4260
4260
  "indexed": true,
4261
4261
  "mutability": "mutable",
4262
4262
  "name": "subscriber",
4263
4263
  "nameLocation": "13020:10:43",
4264
4264
  "nodeType": "VariableDeclaration",
4265
- "scope": 23014,
4265
+ "scope": 23017,
4266
4266
  "src": "13004:26:43",
4267
4267
  "stateVariable": false,
4268
4268
  "storageLocation": "default",
@@ -4271,7 +4271,7 @@
4271
4271
  "typeString": "address"
4272
4272
  },
4273
4273
  "typeName": {
4274
- "id": 23003,
4274
+ "id": 23006,
4275
4275
  "name": "address",
4276
4276
  "nodeType": "ElementaryTypeName",
4277
4277
  "src": "13004:7:43",
@@ -4285,13 +4285,13 @@
4285
4285
  },
4286
4286
  {
4287
4287
  "constant": false,
4288
- "id": 23006,
4288
+ "id": 23009,
4289
4289
  "indexed": false,
4290
4290
  "mutability": "mutable",
4291
4291
  "name": "publisher",
4292
4292
  "nameLocation": "13048:9:43",
4293
4293
  "nodeType": "VariableDeclaration",
4294
- "scope": 23014,
4294
+ "scope": 23017,
4295
4295
  "src": "13040:17:43",
4296
4296
  "stateVariable": false,
4297
4297
  "storageLocation": "default",
@@ -4300,7 +4300,7 @@
4300
4300
  "typeString": "address"
4301
4301
  },
4302
4302
  "typeName": {
4303
- "id": 23005,
4303
+ "id": 23008,
4304
4304
  "name": "address",
4305
4305
  "nodeType": "ElementaryTypeName",
4306
4306
  "src": "13040:7:43",
@@ -4314,13 +4314,13 @@
4314
4314
  },
4315
4315
  {
4316
4316
  "constant": false,
4317
- "id": 23008,
4317
+ "id": 23011,
4318
4318
  "indexed": false,
4319
4319
  "mutability": "mutable",
4320
4320
  "name": "indexId",
4321
4321
  "nameLocation": "13074:7:43",
4322
4322
  "nodeType": "VariableDeclaration",
4323
- "scope": 23014,
4323
+ "scope": 23017,
4324
4324
  "src": "13067:14:43",
4325
4325
  "stateVariable": false,
4326
4326
  "storageLocation": "default",
@@ -4329,7 +4329,7 @@
4329
4329
  "typeString": "uint32"
4330
4330
  },
4331
4331
  "typeName": {
4332
- "id": 23007,
4332
+ "id": 23010,
4333
4333
  "name": "uint32",
4334
4334
  "nodeType": "ElementaryTypeName",
4335
4335
  "src": "13067:6:43",
@@ -4342,13 +4342,13 @@
4342
4342
  },
4343
4343
  {
4344
4344
  "constant": false,
4345
- "id": 23010,
4345
+ "id": 23013,
4346
4346
  "indexed": false,
4347
4347
  "mutability": "mutable",
4348
4348
  "name": "units",
4349
4349
  "nameLocation": "13099:5:43",
4350
4350
  "nodeType": "VariableDeclaration",
4351
- "scope": 23014,
4351
+ "scope": 23017,
4352
4352
  "src": "13091:13:43",
4353
4353
  "stateVariable": false,
4354
4354
  "storageLocation": "default",
@@ -4357,7 +4357,7 @@
4357
4357
  "typeString": "uint128"
4358
4358
  },
4359
4359
  "typeName": {
4360
- "id": 23009,
4360
+ "id": 23012,
4361
4361
  "name": "uint128",
4362
4362
  "nodeType": "ElementaryTypeName",
4363
4363
  "src": "13091:7:43",
@@ -4370,13 +4370,13 @@
4370
4370
  },
4371
4371
  {
4372
4372
  "constant": false,
4373
- "id": 23012,
4373
+ "id": 23015,
4374
4374
  "indexed": false,
4375
4375
  "mutability": "mutable",
4376
4376
  "name": "userData",
4377
4377
  "nameLocation": "13120:8:43",
4378
4378
  "nodeType": "VariableDeclaration",
4379
- "scope": 23014,
4379
+ "scope": 23017,
4380
4380
  "src": "13114:14:43",
4381
4381
  "stateVariable": false,
4382
4382
  "storageLocation": "default",
@@ -4385,7 +4385,7 @@
4385
4385
  "typeString": "bytes"
4386
4386
  },
4387
4387
  "typeName": {
4388
- "id": 23011,
4388
+ "id": 23014,
4389
4389
  "name": "bytes",
4390
4390
  "nodeType": "ElementaryTypeName",
4391
4391
  "src": "13114:5:43",
@@ -4403,13 +4403,13 @@
4403
4403
  },
4404
4404
  {
4405
4405
  "documentation": {
4406
- "id": 23015,
4406
+ "id": 23018,
4407
4407
  "nodeType": "StructuredDocumentation",
4408
4408
  "src": "13136:488:43",
4409
4409
  "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"
4410
4410
  },
4411
4411
  "functionSelector": "5b534051",
4412
- "id": 23035,
4412
+ "id": 23038,
4413
4413
  "implemented": false,
4414
4414
  "kind": "function",
4415
4415
  "modifiers": [],
@@ -4417,41 +4417,41 @@
4417
4417
  "nameLocation": "13638:15:43",
4418
4418
  "nodeType": "FunctionDefinition",
4419
4419
  "parameters": {
4420
- "id": 23025,
4420
+ "id": 23028,
4421
4421
  "nodeType": "ParameterList",
4422
4422
  "parameters": [
4423
4423
  {
4424
4424
  "constant": false,
4425
- "id": 23018,
4425
+ "id": 23021,
4426
4426
  "mutability": "mutable",
4427
4427
  "name": "token",
4428
4428
  "nameLocation": "13680:5:43",
4429
4429
  "nodeType": "VariableDeclaration",
4430
- "scope": 23035,
4430
+ "scope": 23038,
4431
4431
  "src": "13663:22:43",
4432
4432
  "stateVariable": false,
4433
4433
  "storageLocation": "default",
4434
4434
  "typeDescriptions": {
4435
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4435
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4436
4436
  "typeString": "contract ISuperfluidToken"
4437
4437
  },
4438
4438
  "typeName": {
4439
- "id": 23017,
4439
+ "id": 23020,
4440
4440
  "nodeType": "UserDefinedTypeName",
4441
4441
  "pathNode": {
4442
- "id": 23016,
4442
+ "id": 23019,
4443
4443
  "name": "ISuperfluidToken",
4444
4444
  "nameLocations": [
4445
4445
  "13663:16:43"
4446
4446
  ],
4447
4447
  "nodeType": "IdentifierPath",
4448
- "referencedDeclaration": 25463,
4448
+ "referencedDeclaration": 25466,
4449
4449
  "src": "13663:16:43"
4450
4450
  },
4451
- "referencedDeclaration": 25463,
4451
+ "referencedDeclaration": 25466,
4452
4452
  "src": "13663:16:43",
4453
4453
  "typeDescriptions": {
4454
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4454
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4455
4455
  "typeString": "contract ISuperfluidToken"
4456
4456
  }
4457
4457
  },
@@ -4459,12 +4459,12 @@
4459
4459
  },
4460
4460
  {
4461
4461
  "constant": false,
4462
- "id": 23020,
4462
+ "id": 23023,
4463
4463
  "mutability": "mutable",
4464
4464
  "name": "publisher",
4465
4465
  "nameLocation": "13703:9:43",
4466
4466
  "nodeType": "VariableDeclaration",
4467
- "scope": 23035,
4467
+ "scope": 23038,
4468
4468
  "src": "13695:17:43",
4469
4469
  "stateVariable": false,
4470
4470
  "storageLocation": "default",
@@ -4473,7 +4473,7 @@
4473
4473
  "typeString": "address"
4474
4474
  },
4475
4475
  "typeName": {
4476
- "id": 23019,
4476
+ "id": 23022,
4477
4477
  "name": "address",
4478
4478
  "nodeType": "ElementaryTypeName",
4479
4479
  "src": "13695:7:43",
@@ -4487,12 +4487,12 @@
4487
4487
  },
4488
4488
  {
4489
4489
  "constant": false,
4490
- "id": 23022,
4490
+ "id": 23025,
4491
4491
  "mutability": "mutable",
4492
4492
  "name": "indexId",
4493
4493
  "nameLocation": "13729:7:43",
4494
4494
  "nodeType": "VariableDeclaration",
4495
- "scope": 23035,
4495
+ "scope": 23038,
4496
4496
  "src": "13722:14:43",
4497
4497
  "stateVariable": false,
4498
4498
  "storageLocation": "default",
@@ -4501,7 +4501,7 @@
4501
4501
  "typeString": "uint32"
4502
4502
  },
4503
4503
  "typeName": {
4504
- "id": 23021,
4504
+ "id": 23024,
4505
4505
  "name": "uint32",
4506
4506
  "nodeType": "ElementaryTypeName",
4507
4507
  "src": "13722:6:43",
@@ -4514,12 +4514,12 @@
4514
4514
  },
4515
4515
  {
4516
4516
  "constant": false,
4517
- "id": 23024,
4517
+ "id": 23027,
4518
4518
  "mutability": "mutable",
4519
4519
  "name": "subscriber",
4520
4520
  "nameLocation": "13754:10:43",
4521
4521
  "nodeType": "VariableDeclaration",
4522
- "scope": 23035,
4522
+ "scope": 23038,
4523
4523
  "src": "13746:18:43",
4524
4524
  "stateVariable": false,
4525
4525
  "storageLocation": "default",
@@ -4528,7 +4528,7 @@
4528
4528
  "typeString": "address"
4529
4529
  },
4530
4530
  "typeName": {
4531
- "id": 23023,
4531
+ "id": 23026,
4532
4532
  "name": "address",
4533
4533
  "nodeType": "ElementaryTypeName",
4534
4534
  "src": "13746:7:43",
@@ -4544,17 +4544,17 @@
4544
4544
  "src": "13653:112:43"
4545
4545
  },
4546
4546
  "returnParameters": {
4547
- "id": 23034,
4547
+ "id": 23037,
4548
4548
  "nodeType": "ParameterList",
4549
4549
  "parameters": [
4550
4550
  {
4551
4551
  "constant": false,
4552
- "id": 23027,
4552
+ "id": 23030,
4553
4553
  "mutability": "mutable",
4554
4554
  "name": "exist",
4555
4555
  "nameLocation": "13866:5:43",
4556
4556
  "nodeType": "VariableDeclaration",
4557
- "scope": 23035,
4557
+ "scope": 23038,
4558
4558
  "src": "13861:10:43",
4559
4559
  "stateVariable": false,
4560
4560
  "storageLocation": "default",
@@ -4563,7 +4563,7 @@
4563
4563
  "typeString": "bool"
4564
4564
  },
4565
4565
  "typeName": {
4566
- "id": 23026,
4566
+ "id": 23029,
4567
4567
  "name": "bool",
4568
4568
  "nodeType": "ElementaryTypeName",
4569
4569
  "src": "13861:4:43",
@@ -4576,12 +4576,12 @@
4576
4576
  },
4577
4577
  {
4578
4578
  "constant": false,
4579
- "id": 23029,
4579
+ "id": 23032,
4580
4580
  "mutability": "mutable",
4581
4581
  "name": "approved",
4582
4582
  "nameLocation": "13894:8:43",
4583
4583
  "nodeType": "VariableDeclaration",
4584
- "scope": 23035,
4584
+ "scope": 23038,
4585
4585
  "src": "13889:13:43",
4586
4586
  "stateVariable": false,
4587
4587
  "storageLocation": "default",
@@ -4590,7 +4590,7 @@
4590
4590
  "typeString": "bool"
4591
4591
  },
4592
4592
  "typeName": {
4593
- "id": 23028,
4593
+ "id": 23031,
4594
4594
  "name": "bool",
4595
4595
  "nodeType": "ElementaryTypeName",
4596
4596
  "src": "13889:4:43",
@@ -4603,12 +4603,12 @@
4603
4603
  },
4604
4604
  {
4605
4605
  "constant": false,
4606
- "id": 23031,
4606
+ "id": 23034,
4607
4607
  "mutability": "mutable",
4608
4608
  "name": "units",
4609
4609
  "nameLocation": "13928:5:43",
4610
4610
  "nodeType": "VariableDeclaration",
4611
- "scope": 23035,
4611
+ "scope": 23038,
4612
4612
  "src": "13920:13:43",
4613
4613
  "stateVariable": false,
4614
4614
  "storageLocation": "default",
@@ -4617,7 +4617,7 @@
4617
4617
  "typeString": "uint128"
4618
4618
  },
4619
4619
  "typeName": {
4620
- "id": 23030,
4620
+ "id": 23033,
4621
4621
  "name": "uint128",
4622
4622
  "nodeType": "ElementaryTypeName",
4623
4623
  "src": "13920:7:43",
@@ -4630,12 +4630,12 @@
4630
4630
  },
4631
4631
  {
4632
4632
  "constant": false,
4633
- "id": 23033,
4633
+ "id": 23036,
4634
4634
  "mutability": "mutable",
4635
4635
  "name": "pendingDistribution",
4636
4636
  "nameLocation": "13959:19:43",
4637
4637
  "nodeType": "VariableDeclaration",
4638
- "scope": 23035,
4638
+ "scope": 23038,
4639
4639
  "src": "13951:27:43",
4640
4640
  "stateVariable": false,
4641
4641
  "storageLocation": "default",
@@ -4644,7 +4644,7 @@
4644
4644
  "typeString": "uint256"
4645
4645
  },
4646
4646
  "typeName": {
4647
- "id": 23032,
4647
+ "id": 23035,
4648
4648
  "name": "uint256",
4649
4649
  "nodeType": "ElementaryTypeName",
4650
4650
  "src": "13951:7:43",
@@ -4658,7 +4658,7 @@
4658
4658
  ],
4659
4659
  "src": "13843:149:43"
4660
4660
  },
4661
- "scope": 23135,
4661
+ "scope": 23138,
4662
4662
  "src": "13629:364:43",
4663
4663
  "stateMutability": "view",
4664
4664
  "virtual": true,
@@ -4666,13 +4666,13 @@
4666
4666
  },
4667
4667
  {
4668
4668
  "documentation": {
4669
- "id": 23036,
4669
+ "id": 23039,
4670
4670
  "nodeType": "StructuredDocumentation",
4671
4671
  "src": "13999:554:43",
4672
4672
  "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"
4673
4673
  },
4674
4674
  "functionSelector": "cd7245c5",
4675
- "id": 23054,
4675
+ "id": 23057,
4676
4676
  "implemented": false,
4677
4677
  "kind": "function",
4678
4678
  "modifiers": [],
@@ -4680,41 +4680,41 @@
4680
4680
  "nameLocation": "14567:19:43",
4681
4681
  "nodeType": "FunctionDefinition",
4682
4682
  "parameters": {
4683
- "id": 23042,
4683
+ "id": 23045,
4684
4684
  "nodeType": "ParameterList",
4685
4685
  "parameters": [
4686
4686
  {
4687
4687
  "constant": false,
4688
- "id": 23039,
4688
+ "id": 23042,
4689
4689
  "mutability": "mutable",
4690
4690
  "name": "token",
4691
4691
  "nameLocation": "14613:5:43",
4692
4692
  "nodeType": "VariableDeclaration",
4693
- "scope": 23054,
4693
+ "scope": 23057,
4694
4694
  "src": "14596:22:43",
4695
4695
  "stateVariable": false,
4696
4696
  "storageLocation": "default",
4697
4697
  "typeDescriptions": {
4698
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4698
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4699
4699
  "typeString": "contract ISuperfluidToken"
4700
4700
  },
4701
4701
  "typeName": {
4702
- "id": 23038,
4702
+ "id": 23041,
4703
4703
  "nodeType": "UserDefinedTypeName",
4704
4704
  "pathNode": {
4705
- "id": 23037,
4705
+ "id": 23040,
4706
4706
  "name": "ISuperfluidToken",
4707
4707
  "nameLocations": [
4708
4708
  "14596:16:43"
4709
4709
  ],
4710
4710
  "nodeType": "IdentifierPath",
4711
- "referencedDeclaration": 25463,
4711
+ "referencedDeclaration": 25466,
4712
4712
  "src": "14596:16:43"
4713
4713
  },
4714
- "referencedDeclaration": 25463,
4714
+ "referencedDeclaration": 25466,
4715
4715
  "src": "14596:16:43",
4716
4716
  "typeDescriptions": {
4717
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4717
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4718
4718
  "typeString": "contract ISuperfluidToken"
4719
4719
  }
4720
4720
  },
@@ -4722,12 +4722,12 @@
4722
4722
  },
4723
4723
  {
4724
4724
  "constant": false,
4725
- "id": 23041,
4725
+ "id": 23044,
4726
4726
  "mutability": "mutable",
4727
4727
  "name": "agreementId",
4728
4728
  "nameLocation": "14636:11:43",
4729
4729
  "nodeType": "VariableDeclaration",
4730
- "scope": 23054,
4730
+ "scope": 23057,
4731
4731
  "src": "14628:19:43",
4732
4732
  "stateVariable": false,
4733
4733
  "storageLocation": "default",
@@ -4736,7 +4736,7 @@
4736
4736
  "typeString": "bytes32"
4737
4737
  },
4738
4738
  "typeName": {
4739
- "id": 23040,
4739
+ "id": 23043,
4740
4740
  "name": "bytes32",
4741
4741
  "nodeType": "ElementaryTypeName",
4742
4742
  "src": "14628:7:43",
@@ -4751,17 +4751,17 @@
4751
4751
  "src": "14586:62:43"
4752
4752
  },
4753
4753
  "returnParameters": {
4754
- "id": 23053,
4754
+ "id": 23056,
4755
4755
  "nodeType": "ParameterList",
4756
4756
  "parameters": [
4757
4757
  {
4758
4758
  "constant": false,
4759
- "id": 23044,
4759
+ "id": 23047,
4760
4760
  "mutability": "mutable",
4761
4761
  "name": "publisher",
4762
4762
  "nameLocation": "14752:9:43",
4763
4763
  "nodeType": "VariableDeclaration",
4764
- "scope": 23054,
4764
+ "scope": 23057,
4765
4765
  "src": "14744:17:43",
4766
4766
  "stateVariable": false,
4767
4767
  "storageLocation": "default",
@@ -4770,7 +4770,7 @@
4770
4770
  "typeString": "address"
4771
4771
  },
4772
4772
  "typeName": {
4773
- "id": 23043,
4773
+ "id": 23046,
4774
4774
  "name": "address",
4775
4775
  "nodeType": "ElementaryTypeName",
4776
4776
  "src": "14744:7:43",
@@ -4784,12 +4784,12 @@
4784
4784
  },
4785
4785
  {
4786
4786
  "constant": false,
4787
- "id": 23046,
4787
+ "id": 23049,
4788
4788
  "mutability": "mutable",
4789
4789
  "name": "indexId",
4790
4790
  "nameLocation": "14786:7:43",
4791
4791
  "nodeType": "VariableDeclaration",
4792
- "scope": 23054,
4792
+ "scope": 23057,
4793
4793
  "src": "14779:14:43",
4794
4794
  "stateVariable": false,
4795
4795
  "storageLocation": "default",
@@ -4798,7 +4798,7 @@
4798
4798
  "typeString": "uint32"
4799
4799
  },
4800
4800
  "typeName": {
4801
- "id": 23045,
4801
+ "id": 23048,
4802
4802
  "name": "uint32",
4803
4803
  "nodeType": "ElementaryTypeName",
4804
4804
  "src": "14779:6:43",
@@ -4811,12 +4811,12 @@
4811
4811
  },
4812
4812
  {
4813
4813
  "constant": false,
4814
- "id": 23048,
4814
+ "id": 23051,
4815
4815
  "mutability": "mutable",
4816
4816
  "name": "approved",
4817
4817
  "nameLocation": "14816:8:43",
4818
4818
  "nodeType": "VariableDeclaration",
4819
- "scope": 23054,
4819
+ "scope": 23057,
4820
4820
  "src": "14811:13:43",
4821
4821
  "stateVariable": false,
4822
4822
  "storageLocation": "default",
@@ -4825,7 +4825,7 @@
4825
4825
  "typeString": "bool"
4826
4826
  },
4827
4827
  "typeName": {
4828
- "id": 23047,
4828
+ "id": 23050,
4829
4829
  "name": "bool",
4830
4830
  "nodeType": "ElementaryTypeName",
4831
4831
  "src": "14811:4:43",
@@ -4838,12 +4838,12 @@
4838
4838
  },
4839
4839
  {
4840
4840
  "constant": false,
4841
- "id": 23050,
4841
+ "id": 23053,
4842
4842
  "mutability": "mutable",
4843
4843
  "name": "units",
4844
4844
  "nameLocation": "14850:5:43",
4845
4845
  "nodeType": "VariableDeclaration",
4846
- "scope": 23054,
4846
+ "scope": 23057,
4847
4847
  "src": "14842:13:43",
4848
4848
  "stateVariable": false,
4849
4849
  "storageLocation": "default",
@@ -4852,7 +4852,7 @@
4852
4852
  "typeString": "uint128"
4853
4853
  },
4854
4854
  "typeName": {
4855
- "id": 23049,
4855
+ "id": 23052,
4856
4856
  "name": "uint128",
4857
4857
  "nodeType": "ElementaryTypeName",
4858
4858
  "src": "14842:7:43",
@@ -4865,12 +4865,12 @@
4865
4865
  },
4866
4866
  {
4867
4867
  "constant": false,
4868
- "id": 23052,
4868
+ "id": 23055,
4869
4869
  "mutability": "mutable",
4870
4870
  "name": "pendingDistribution",
4871
4871
  "nameLocation": "14881:19:43",
4872
4872
  "nodeType": "VariableDeclaration",
4873
- "scope": 23054,
4873
+ "scope": 23057,
4874
4874
  "src": "14873:27:43",
4875
4875
  "stateVariable": false,
4876
4876
  "storageLocation": "default",
@@ -4879,7 +4879,7 @@
4879
4879
  "typeString": "uint256"
4880
4880
  },
4881
4881
  "typeName": {
4882
- "id": 23051,
4882
+ "id": 23054,
4883
4883
  "name": "uint256",
4884
4884
  "nodeType": "ElementaryTypeName",
4885
4885
  "src": "14873:7:43",
@@ -4893,7 +4893,7 @@
4893
4893
  ],
4894
4894
  "src": "14726:188:43"
4895
4895
  },
4896
- "scope": 23135,
4896
+ "scope": 23138,
4897
4897
  "src": "14558:357:43",
4898
4898
  "stateMutability": "view",
4899
4899
  "virtual": true,
@@ -4901,13 +4901,13 @@
4901
4901
  },
4902
4902
  {
4903
4903
  "documentation": {
4904
- "id": 23055,
4904
+ "id": 23058,
4905
4905
  "nodeType": "StructuredDocumentation",
4906
4906
  "src": "14921:305:43",
4907
4907
  "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"
4908
4908
  },
4909
4909
  "functionSelector": "b6dacdb8",
4910
- "id": 23072,
4910
+ "id": 23075,
4911
4911
  "implemented": false,
4912
4912
  "kind": "function",
4913
4913
  "modifiers": [],
@@ -4915,41 +4915,41 @@
4915
4915
  "nameLocation": "15240:17:43",
4916
4916
  "nodeType": "FunctionDefinition",
4917
4917
  "parameters": {
4918
- "id": 23061,
4918
+ "id": 23064,
4919
4919
  "nodeType": "ParameterList",
4920
4920
  "parameters": [
4921
4921
  {
4922
4922
  "constant": false,
4923
- "id": 23058,
4923
+ "id": 23061,
4924
4924
  "mutability": "mutable",
4925
4925
  "name": "token",
4926
4926
  "nameLocation": "15284:5:43",
4927
4927
  "nodeType": "VariableDeclaration",
4928
- "scope": 23072,
4928
+ "scope": 23075,
4929
4929
  "src": "15267:22:43",
4930
4930
  "stateVariable": false,
4931
4931
  "storageLocation": "default",
4932
4932
  "typeDescriptions": {
4933
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4933
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4934
4934
  "typeString": "contract ISuperfluidToken"
4935
4935
  },
4936
4936
  "typeName": {
4937
- "id": 23057,
4937
+ "id": 23060,
4938
4938
  "nodeType": "UserDefinedTypeName",
4939
4939
  "pathNode": {
4940
- "id": 23056,
4940
+ "id": 23059,
4941
4941
  "name": "ISuperfluidToken",
4942
4942
  "nameLocations": [
4943
4943
  "15267:16:43"
4944
4944
  ],
4945
4945
  "nodeType": "IdentifierPath",
4946
- "referencedDeclaration": 25463,
4946
+ "referencedDeclaration": 25466,
4947
4947
  "src": "15267:16:43"
4948
4948
  },
4949
- "referencedDeclaration": 25463,
4949
+ "referencedDeclaration": 25466,
4950
4950
  "src": "15267:16:43",
4951
4951
  "typeDescriptions": {
4952
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
4952
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
4953
4953
  "typeString": "contract ISuperfluidToken"
4954
4954
  }
4955
4955
  },
@@ -4957,12 +4957,12 @@
4957
4957
  },
4958
4958
  {
4959
4959
  "constant": false,
4960
- "id": 23060,
4960
+ "id": 23063,
4961
4961
  "mutability": "mutable",
4962
4962
  "name": "subscriber",
4963
4963
  "nameLocation": "15307:10:43",
4964
4964
  "nodeType": "VariableDeclaration",
4965
- "scope": 23072,
4965
+ "scope": 23075,
4966
4966
  "src": "15299:18:43",
4967
4967
  "stateVariable": false,
4968
4968
  "storageLocation": "default",
@@ -4971,7 +4971,7 @@
4971
4971
  "typeString": "address"
4972
4972
  },
4973
4973
  "typeName": {
4974
- "id": 23059,
4974
+ "id": 23062,
4975
4975
  "name": "address",
4976
4976
  "nodeType": "ElementaryTypeName",
4977
4977
  "src": "15299:7:43",
@@ -4987,17 +4987,17 @@
4987
4987
  "src": "15257:61:43"
4988
4988
  },
4989
4989
  "returnParameters": {
4990
- "id": 23071,
4990
+ "id": 23074,
4991
4991
  "nodeType": "ParameterList",
4992
4992
  "parameters": [
4993
4993
  {
4994
4994
  "constant": false,
4995
- "id": 23064,
4995
+ "id": 23067,
4996
4996
  "mutability": "mutable",
4997
4997
  "name": "publishers",
4998
4998
  "nameLocation": "15431:10:43",
4999
4999
  "nodeType": "VariableDeclaration",
5000
- "scope": 23072,
5000
+ "scope": 23075,
5001
5001
  "src": "15414:27:43",
5002
5002
  "stateVariable": false,
5003
5003
  "storageLocation": "memory",
@@ -5007,7 +5007,7 @@
5007
5007
  },
5008
5008
  "typeName": {
5009
5009
  "baseType": {
5010
- "id": 23062,
5010
+ "id": 23065,
5011
5011
  "name": "address",
5012
5012
  "nodeType": "ElementaryTypeName",
5013
5013
  "src": "15414:7:43",
@@ -5017,7 +5017,7 @@
5017
5017
  "typeString": "address"
5018
5018
  }
5019
5019
  },
5020
- "id": 23063,
5020
+ "id": 23066,
5021
5021
  "nodeType": "ArrayTypeName",
5022
5022
  "src": "15414:9:43",
5023
5023
  "typeDescriptions": {
@@ -5029,12 +5029,12 @@
5029
5029
  },
5030
5030
  {
5031
5031
  "constant": false,
5032
- "id": 23067,
5032
+ "id": 23070,
5033
5033
  "mutability": "mutable",
5034
5034
  "name": "indexIds",
5035
5035
  "nameLocation": "15475:8:43",
5036
5036
  "nodeType": "VariableDeclaration",
5037
- "scope": 23072,
5037
+ "scope": 23075,
5038
5038
  "src": "15459:24:43",
5039
5039
  "stateVariable": false,
5040
5040
  "storageLocation": "memory",
@@ -5044,7 +5044,7 @@
5044
5044
  },
5045
5045
  "typeName": {
5046
5046
  "baseType": {
5047
- "id": 23065,
5047
+ "id": 23068,
5048
5048
  "name": "uint32",
5049
5049
  "nodeType": "ElementaryTypeName",
5050
5050
  "src": "15459:6:43",
@@ -5053,7 +5053,7 @@
5053
5053
  "typeString": "uint32"
5054
5054
  }
5055
5055
  },
5056
- "id": 23066,
5056
+ "id": 23069,
5057
5057
  "nodeType": "ArrayTypeName",
5058
5058
  "src": "15459:8:43",
5059
5059
  "typeDescriptions": {
@@ -5065,12 +5065,12 @@
5065
5065
  },
5066
5066
  {
5067
5067
  "constant": false,
5068
- "id": 23070,
5068
+ "id": 23073,
5069
5069
  "mutability": "mutable",
5070
5070
  "name": "unitsList",
5071
5071
  "nameLocation": "15518:9:43",
5072
5072
  "nodeType": "VariableDeclaration",
5073
- "scope": 23072,
5073
+ "scope": 23075,
5074
5074
  "src": "15501:26:43",
5075
5075
  "stateVariable": false,
5076
5076
  "storageLocation": "memory",
@@ -5080,7 +5080,7 @@
5080
5080
  },
5081
5081
  "typeName": {
5082
5082
  "baseType": {
5083
- "id": 23068,
5083
+ "id": 23071,
5084
5084
  "name": "uint128",
5085
5085
  "nodeType": "ElementaryTypeName",
5086
5086
  "src": "15501:7:43",
@@ -5089,7 +5089,7 @@
5089
5089
  "typeString": "uint128"
5090
5090
  }
5091
5091
  },
5092
- "id": 23069,
5092
+ "id": 23072,
5093
5093
  "nodeType": "ArrayTypeName",
5094
5094
  "src": "15501:9:43",
5095
5095
  "typeDescriptions": {
@@ -5102,7 +5102,7 @@
5102
5102
  ],
5103
5103
  "src": "15396:132:43"
5104
5104
  },
5105
- "scope": 23135,
5105
+ "scope": 23138,
5106
5106
  "src": "15231:298:43",
5107
5107
  "stateMutability": "view",
5108
5108
  "virtual": true,
@@ -5110,13 +5110,13 @@
5110
5110
  },
5111
5111
  {
5112
5112
  "documentation": {
5113
- "id": 23073,
5113
+ "id": 23076,
5114
5114
  "nodeType": "StructuredDocumentation",
5115
5115
  "src": "15535:633:43",
5116
5116
  "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"
5117
5117
  },
5118
5118
  "functionSelector": "2e5e74c6",
5119
- "id": 23089,
5119
+ "id": 23092,
5120
5120
  "implemented": false,
5121
5121
  "kind": "function",
5122
5122
  "modifiers": [],
@@ -5124,41 +5124,41 @@
5124
5124
  "nameLocation": "16182:18:43",
5125
5125
  "nodeType": "FunctionDefinition",
5126
5126
  "parameters": {
5127
- "id": 23085,
5127
+ "id": 23088,
5128
5128
  "nodeType": "ParameterList",
5129
5129
  "parameters": [
5130
5130
  {
5131
5131
  "constant": false,
5132
- "id": 23076,
5132
+ "id": 23079,
5133
5133
  "mutability": "mutable",
5134
5134
  "name": "token",
5135
5135
  "nameLocation": "16227:5:43",
5136
5136
  "nodeType": "VariableDeclaration",
5137
- "scope": 23089,
5137
+ "scope": 23092,
5138
5138
  "src": "16210:22:43",
5139
5139
  "stateVariable": false,
5140
5140
  "storageLocation": "default",
5141
5141
  "typeDescriptions": {
5142
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5142
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5143
5143
  "typeString": "contract ISuperfluidToken"
5144
5144
  },
5145
5145
  "typeName": {
5146
- "id": 23075,
5146
+ "id": 23078,
5147
5147
  "nodeType": "UserDefinedTypeName",
5148
5148
  "pathNode": {
5149
- "id": 23074,
5149
+ "id": 23077,
5150
5150
  "name": "ISuperfluidToken",
5151
5151
  "nameLocations": [
5152
5152
  "16210:16:43"
5153
5153
  ],
5154
5154
  "nodeType": "IdentifierPath",
5155
- "referencedDeclaration": 25463,
5155
+ "referencedDeclaration": 25466,
5156
5156
  "src": "16210:16:43"
5157
5157
  },
5158
- "referencedDeclaration": 25463,
5158
+ "referencedDeclaration": 25466,
5159
5159
  "src": "16210:16:43",
5160
5160
  "typeDescriptions": {
5161
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5161
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5162
5162
  "typeString": "contract ISuperfluidToken"
5163
5163
  }
5164
5164
  },
@@ -5166,12 +5166,12 @@
5166
5166
  },
5167
5167
  {
5168
5168
  "constant": false,
5169
- "id": 23078,
5169
+ "id": 23081,
5170
5170
  "mutability": "mutable",
5171
5171
  "name": "publisher",
5172
5172
  "nameLocation": "16250:9:43",
5173
5173
  "nodeType": "VariableDeclaration",
5174
- "scope": 23089,
5174
+ "scope": 23092,
5175
5175
  "src": "16242:17:43",
5176
5176
  "stateVariable": false,
5177
5177
  "storageLocation": "default",
@@ -5180,7 +5180,7 @@
5180
5180
  "typeString": "address"
5181
5181
  },
5182
5182
  "typeName": {
5183
- "id": 23077,
5183
+ "id": 23080,
5184
5184
  "name": "address",
5185
5185
  "nodeType": "ElementaryTypeName",
5186
5186
  "src": "16242:7:43",
@@ -5194,12 +5194,12 @@
5194
5194
  },
5195
5195
  {
5196
5196
  "constant": false,
5197
- "id": 23080,
5197
+ "id": 23083,
5198
5198
  "mutability": "mutable",
5199
5199
  "name": "indexId",
5200
5200
  "nameLocation": "16276:7:43",
5201
5201
  "nodeType": "VariableDeclaration",
5202
- "scope": 23089,
5202
+ "scope": 23092,
5203
5203
  "src": "16269:14:43",
5204
5204
  "stateVariable": false,
5205
5205
  "storageLocation": "default",
@@ -5208,7 +5208,7 @@
5208
5208
  "typeString": "uint32"
5209
5209
  },
5210
5210
  "typeName": {
5211
- "id": 23079,
5211
+ "id": 23082,
5212
5212
  "name": "uint32",
5213
5213
  "nodeType": "ElementaryTypeName",
5214
5214
  "src": "16269:6:43",
@@ -5221,12 +5221,12 @@
5221
5221
  },
5222
5222
  {
5223
5223
  "constant": false,
5224
- "id": 23082,
5224
+ "id": 23085,
5225
5225
  "mutability": "mutable",
5226
5226
  "name": "subscriber",
5227
5227
  "nameLocation": "16301:10:43",
5228
5228
  "nodeType": "VariableDeclaration",
5229
- "scope": 23089,
5229
+ "scope": 23092,
5230
5230
  "src": "16293:18:43",
5231
5231
  "stateVariable": false,
5232
5232
  "storageLocation": "default",
@@ -5235,7 +5235,7 @@
5235
5235
  "typeString": "address"
5236
5236
  },
5237
5237
  "typeName": {
5238
- "id": 23081,
5238
+ "id": 23084,
5239
5239
  "name": "address",
5240
5240
  "nodeType": "ElementaryTypeName",
5241
5241
  "src": "16293:7:43",
@@ -5249,12 +5249,12 @@
5249
5249
  },
5250
5250
  {
5251
5251
  "constant": false,
5252
- "id": 23084,
5252
+ "id": 23087,
5253
5253
  "mutability": "mutable",
5254
5254
  "name": "ctx",
5255
5255
  "nameLocation": "16336:3:43",
5256
5256
  "nodeType": "VariableDeclaration",
5257
- "scope": 23089,
5257
+ "scope": 23092,
5258
5258
  "src": "16321:18:43",
5259
5259
  "stateVariable": false,
5260
5260
  "storageLocation": "calldata",
@@ -5263,7 +5263,7 @@
5263
5263
  "typeString": "bytes"
5264
5264
  },
5265
5265
  "typeName": {
5266
- "id": 23083,
5266
+ "id": 23086,
5267
5267
  "name": "bytes",
5268
5268
  "nodeType": "ElementaryTypeName",
5269
5269
  "src": "16321:5:43",
@@ -5278,17 +5278,17 @@
5278
5278
  "src": "16200:140:43"
5279
5279
  },
5280
5280
  "returnParameters": {
5281
- "id": 23088,
5281
+ "id": 23091,
5282
5282
  "nodeType": "ParameterList",
5283
5283
  "parameters": [
5284
5284
  {
5285
5285
  "constant": false,
5286
- "id": 23087,
5286
+ "id": 23090,
5287
5287
  "mutability": "mutable",
5288
5288
  "name": "newCtx",
5289
5289
  "nameLocation": "16415:6:43",
5290
5290
  "nodeType": "VariableDeclaration",
5291
- "scope": 23089,
5291
+ "scope": 23092,
5292
5292
  "src": "16402:19:43",
5293
5293
  "stateVariable": false,
5294
5294
  "storageLocation": "memory",
@@ -5297,7 +5297,7 @@
5297
5297
  "typeString": "bytes"
5298
5298
  },
5299
5299
  "typeName": {
5300
- "id": 23086,
5300
+ "id": 23089,
5301
5301
  "name": "bytes",
5302
5302
  "nodeType": "ElementaryTypeName",
5303
5303
  "src": "16402:5:43",
@@ -5311,7 +5311,7 @@
5311
5311
  ],
5312
5312
  "src": "16401:21:43"
5313
5313
  },
5314
- "scope": 23135,
5314
+ "scope": 23138,
5315
5315
  "src": "16173:250:43",
5316
5316
  "stateMutability": "nonpayable",
5317
5317
  "virtual": true,
@@ -5319,13 +5319,13 @@
5319
5319
  },
5320
5320
  {
5321
5321
  "documentation": {
5322
- "id": 23090,
5322
+ "id": 23093,
5323
5323
  "nodeType": "StructuredDocumentation",
5324
5324
  "src": "16429:495:43",
5325
5325
  "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"
5326
5326
  },
5327
5327
  "functionSelector": "acafa1b8",
5328
- "id": 23106,
5328
+ "id": 23109,
5329
5329
  "implemented": false,
5330
5330
  "kind": "function",
5331
5331
  "modifiers": [],
@@ -5333,41 +5333,41 @@
5333
5333
  "nameLocation": "16938:5:43",
5334
5334
  "nodeType": "FunctionDefinition",
5335
5335
  "parameters": {
5336
- "id": 23102,
5336
+ "id": 23105,
5337
5337
  "nodeType": "ParameterList",
5338
5338
  "parameters": [
5339
5339
  {
5340
5340
  "constant": false,
5341
- "id": 23093,
5341
+ "id": 23096,
5342
5342
  "mutability": "mutable",
5343
5343
  "name": "token",
5344
5344
  "nameLocation": "16970:5:43",
5345
5345
  "nodeType": "VariableDeclaration",
5346
- "scope": 23106,
5346
+ "scope": 23109,
5347
5347
  "src": "16953:22:43",
5348
5348
  "stateVariable": false,
5349
5349
  "storageLocation": "default",
5350
5350
  "typeDescriptions": {
5351
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5351
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5352
5352
  "typeString": "contract ISuperfluidToken"
5353
5353
  },
5354
5354
  "typeName": {
5355
- "id": 23092,
5355
+ "id": 23095,
5356
5356
  "nodeType": "UserDefinedTypeName",
5357
5357
  "pathNode": {
5358
- "id": 23091,
5358
+ "id": 23094,
5359
5359
  "name": "ISuperfluidToken",
5360
5360
  "nameLocations": [
5361
5361
  "16953:16:43"
5362
5362
  ],
5363
5363
  "nodeType": "IdentifierPath",
5364
- "referencedDeclaration": 25463,
5364
+ "referencedDeclaration": 25466,
5365
5365
  "src": "16953:16:43"
5366
5366
  },
5367
- "referencedDeclaration": 25463,
5367
+ "referencedDeclaration": 25466,
5368
5368
  "src": "16953:16:43",
5369
5369
  "typeDescriptions": {
5370
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5370
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5371
5371
  "typeString": "contract ISuperfluidToken"
5372
5372
  }
5373
5373
  },
@@ -5375,12 +5375,12 @@
5375
5375
  },
5376
5376
  {
5377
5377
  "constant": false,
5378
- "id": 23095,
5378
+ "id": 23098,
5379
5379
  "mutability": "mutable",
5380
5380
  "name": "publisher",
5381
5381
  "nameLocation": "16993:9:43",
5382
5382
  "nodeType": "VariableDeclaration",
5383
- "scope": 23106,
5383
+ "scope": 23109,
5384
5384
  "src": "16985:17:43",
5385
5385
  "stateVariable": false,
5386
5386
  "storageLocation": "default",
@@ -5389,7 +5389,7 @@
5389
5389
  "typeString": "address"
5390
5390
  },
5391
5391
  "typeName": {
5392
- "id": 23094,
5392
+ "id": 23097,
5393
5393
  "name": "address",
5394
5394
  "nodeType": "ElementaryTypeName",
5395
5395
  "src": "16985:7:43",
@@ -5403,12 +5403,12 @@
5403
5403
  },
5404
5404
  {
5405
5405
  "constant": false,
5406
- "id": 23097,
5406
+ "id": 23100,
5407
5407
  "mutability": "mutable",
5408
5408
  "name": "indexId",
5409
5409
  "nameLocation": "17019:7:43",
5410
5410
  "nodeType": "VariableDeclaration",
5411
- "scope": 23106,
5411
+ "scope": 23109,
5412
5412
  "src": "17012:14:43",
5413
5413
  "stateVariable": false,
5414
5414
  "storageLocation": "default",
@@ -5417,7 +5417,7 @@
5417
5417
  "typeString": "uint32"
5418
5418
  },
5419
5419
  "typeName": {
5420
- "id": 23096,
5420
+ "id": 23099,
5421
5421
  "name": "uint32",
5422
5422
  "nodeType": "ElementaryTypeName",
5423
5423
  "src": "17012:6:43",
@@ -5430,12 +5430,12 @@
5430
5430
  },
5431
5431
  {
5432
5432
  "constant": false,
5433
- "id": 23099,
5433
+ "id": 23102,
5434
5434
  "mutability": "mutable",
5435
5435
  "name": "subscriber",
5436
5436
  "nameLocation": "17044:10:43",
5437
5437
  "nodeType": "VariableDeclaration",
5438
- "scope": 23106,
5438
+ "scope": 23109,
5439
5439
  "src": "17036:18:43",
5440
5440
  "stateVariable": false,
5441
5441
  "storageLocation": "default",
@@ -5444,7 +5444,7 @@
5444
5444
  "typeString": "address"
5445
5445
  },
5446
5446
  "typeName": {
5447
- "id": 23098,
5447
+ "id": 23101,
5448
5448
  "name": "address",
5449
5449
  "nodeType": "ElementaryTypeName",
5450
5450
  "src": "17036:7:43",
@@ -5458,12 +5458,12 @@
5458
5458
  },
5459
5459
  {
5460
5460
  "constant": false,
5461
- "id": 23101,
5461
+ "id": 23104,
5462
5462
  "mutability": "mutable",
5463
5463
  "name": "ctx",
5464
5464
  "nameLocation": "17079:3:43",
5465
5465
  "nodeType": "VariableDeclaration",
5466
- "scope": 23106,
5466
+ "scope": 23109,
5467
5467
  "src": "17064:18:43",
5468
5468
  "stateVariable": false,
5469
5469
  "storageLocation": "calldata",
@@ -5472,7 +5472,7 @@
5472
5472
  "typeString": "bytes"
5473
5473
  },
5474
5474
  "typeName": {
5475
- "id": 23100,
5475
+ "id": 23103,
5476
5476
  "name": "bytes",
5477
5477
  "nodeType": "ElementaryTypeName",
5478
5478
  "src": "17064:5:43",
@@ -5487,17 +5487,17 @@
5487
5487
  "src": "16943:140:43"
5488
5488
  },
5489
5489
  "returnParameters": {
5490
- "id": 23105,
5490
+ "id": 23108,
5491
5491
  "nodeType": "ParameterList",
5492
5492
  "parameters": [
5493
5493
  {
5494
5494
  "constant": false,
5495
- "id": 23104,
5495
+ "id": 23107,
5496
5496
  "mutability": "mutable",
5497
5497
  "name": "newCtx",
5498
5498
  "nameLocation": "17146:6:43",
5499
5499
  "nodeType": "VariableDeclaration",
5500
- "scope": 23106,
5500
+ "scope": 23109,
5501
5501
  "src": "17133:19:43",
5502
5502
  "stateVariable": false,
5503
5503
  "storageLocation": "memory",
@@ -5506,7 +5506,7 @@
5506
5506
  "typeString": "bytes"
5507
5507
  },
5508
5508
  "typeName": {
5509
- "id": 23103,
5509
+ "id": 23106,
5510
5510
  "name": "bytes",
5511
5511
  "nodeType": "ElementaryTypeName",
5512
5512
  "src": "17133:5:43",
@@ -5520,7 +5520,7 @@
5520
5520
  ],
5521
5521
  "src": "17132:21:43"
5522
5522
  },
5523
- "scope": 23135,
5523
+ "scope": 23138,
5524
5524
  "src": "16929:225:43",
5525
5525
  "stateMutability": "nonpayable",
5526
5526
  "virtual": true,
@@ -5529,53 +5529,53 @@
5529
5529
  {
5530
5530
  "anonymous": false,
5531
5531
  "documentation": {
5532
- "id": 23107,
5532
+ "id": 23110,
5533
5533
  "nodeType": "StructuredDocumentation",
5534
5534
  "src": "17164:289:43",
5535
5535
  "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"
5536
5536
  },
5537
5537
  "eventSelector": "467eccd248ef31c8bcef16d94856855799a8783aeef10f3759e43614059a6bb1",
5538
- "id": 23120,
5538
+ "id": 23123,
5539
5539
  "name": "IndexDistributionClaimed",
5540
5540
  "nameLocation": "17464:24:43",
5541
5541
  "nodeType": "EventDefinition",
5542
5542
  "parameters": {
5543
- "id": 23119,
5543
+ "id": 23122,
5544
5544
  "nodeType": "ParameterList",
5545
5545
  "parameters": [
5546
5546
  {
5547
5547
  "constant": false,
5548
- "id": 23110,
5548
+ "id": 23113,
5549
5549
  "indexed": true,
5550
5550
  "mutability": "mutable",
5551
5551
  "name": "token",
5552
5552
  "nameLocation": "17523:5:43",
5553
5553
  "nodeType": "VariableDeclaration",
5554
- "scope": 23120,
5554
+ "scope": 23123,
5555
5555
  "src": "17498:30:43",
5556
5556
  "stateVariable": false,
5557
5557
  "storageLocation": "default",
5558
5558
  "typeDescriptions": {
5559
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5559
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5560
5560
  "typeString": "contract ISuperfluidToken"
5561
5561
  },
5562
5562
  "typeName": {
5563
- "id": 23109,
5563
+ "id": 23112,
5564
5564
  "nodeType": "UserDefinedTypeName",
5565
5565
  "pathNode": {
5566
- "id": 23108,
5566
+ "id": 23111,
5567
5567
  "name": "ISuperfluidToken",
5568
5568
  "nameLocations": [
5569
5569
  "17498:16:43"
5570
5570
  ],
5571
5571
  "nodeType": "IdentifierPath",
5572
- "referencedDeclaration": 25463,
5572
+ "referencedDeclaration": 25466,
5573
5573
  "src": "17498:16:43"
5574
5574
  },
5575
- "referencedDeclaration": 25463,
5575
+ "referencedDeclaration": 25466,
5576
5576
  "src": "17498:16:43",
5577
5577
  "typeDescriptions": {
5578
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5578
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5579
5579
  "typeString": "contract ISuperfluidToken"
5580
5580
  }
5581
5581
  },
@@ -5583,13 +5583,13 @@
5583
5583
  },
5584
5584
  {
5585
5585
  "constant": false,
5586
- "id": 23112,
5586
+ "id": 23115,
5587
5587
  "indexed": true,
5588
5588
  "mutability": "mutable",
5589
5589
  "name": "publisher",
5590
5590
  "nameLocation": "17554:9:43",
5591
5591
  "nodeType": "VariableDeclaration",
5592
- "scope": 23120,
5592
+ "scope": 23123,
5593
5593
  "src": "17538:25:43",
5594
5594
  "stateVariable": false,
5595
5595
  "storageLocation": "default",
@@ -5598,7 +5598,7 @@
5598
5598
  "typeString": "address"
5599
5599
  },
5600
5600
  "typeName": {
5601
- "id": 23111,
5601
+ "id": 23114,
5602
5602
  "name": "address",
5603
5603
  "nodeType": "ElementaryTypeName",
5604
5604
  "src": "17538:7:43",
@@ -5612,13 +5612,13 @@
5612
5612
  },
5613
5613
  {
5614
5614
  "constant": false,
5615
- "id": 23114,
5615
+ "id": 23117,
5616
5616
  "indexed": true,
5617
5617
  "mutability": "mutable",
5618
5618
  "name": "indexId",
5619
5619
  "nameLocation": "17588:7:43",
5620
5620
  "nodeType": "VariableDeclaration",
5621
- "scope": 23120,
5621
+ "scope": 23123,
5622
5622
  "src": "17573:22:43",
5623
5623
  "stateVariable": false,
5624
5624
  "storageLocation": "default",
@@ -5627,7 +5627,7 @@
5627
5627
  "typeString": "uint32"
5628
5628
  },
5629
5629
  "typeName": {
5630
- "id": 23113,
5630
+ "id": 23116,
5631
5631
  "name": "uint32",
5632
5632
  "nodeType": "ElementaryTypeName",
5633
5633
  "src": "17573:6:43",
@@ -5640,13 +5640,13 @@
5640
5640
  },
5641
5641
  {
5642
5642
  "constant": false,
5643
- "id": 23116,
5643
+ "id": 23119,
5644
5644
  "indexed": false,
5645
5645
  "mutability": "mutable",
5646
5646
  "name": "subscriber",
5647
5647
  "nameLocation": "17613:10:43",
5648
5648
  "nodeType": "VariableDeclaration",
5649
- "scope": 23120,
5649
+ "scope": 23123,
5650
5650
  "src": "17605:18:43",
5651
5651
  "stateVariable": false,
5652
5652
  "storageLocation": "default",
@@ -5655,7 +5655,7 @@
5655
5655
  "typeString": "address"
5656
5656
  },
5657
5657
  "typeName": {
5658
- "id": 23115,
5658
+ "id": 23118,
5659
5659
  "name": "address",
5660
5660
  "nodeType": "ElementaryTypeName",
5661
5661
  "src": "17605:7:43",
@@ -5669,13 +5669,13 @@
5669
5669
  },
5670
5670
  {
5671
5671
  "constant": false,
5672
- "id": 23118,
5672
+ "id": 23121,
5673
5673
  "indexed": false,
5674
5674
  "mutability": "mutable",
5675
5675
  "name": "amount",
5676
5676
  "nameLocation": "17641:6:43",
5677
5677
  "nodeType": "VariableDeclaration",
5678
- "scope": 23120,
5678
+ "scope": 23123,
5679
5679
  "src": "17633:14:43",
5680
5680
  "stateVariable": false,
5681
5681
  "storageLocation": "default",
@@ -5684,7 +5684,7 @@
5684
5684
  "typeString": "uint256"
5685
5685
  },
5686
5686
  "typeName": {
5687
- "id": 23117,
5687
+ "id": 23120,
5688
5688
  "name": "uint256",
5689
5689
  "nodeType": "ElementaryTypeName",
5690
5690
  "src": "17633:7:43",
@@ -5703,53 +5703,53 @@
5703
5703
  {
5704
5704
  "anonymous": false,
5705
5705
  "documentation": {
5706
- "id": 23121,
5706
+ "id": 23124,
5707
5707
  "nodeType": "StructuredDocumentation",
5708
5708
  "src": "17659:296:43",
5709
5709
  "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"
5710
5710
  },
5711
5711
  "eventSelector": "48a3d91d4a07e4982b081260e24f922bd33bb965882772d6de19c922c3eabdea",
5712
- "id": 23134,
5712
+ "id": 23137,
5713
5713
  "name": "SubscriptionDistributionClaimed",
5714
5714
  "nameLocation": "17966:31:43",
5715
5715
  "nodeType": "EventDefinition",
5716
5716
  "parameters": {
5717
- "id": 23133,
5717
+ "id": 23136,
5718
5718
  "nodeType": "ParameterList",
5719
5719
  "parameters": [
5720
5720
  {
5721
5721
  "constant": false,
5722
- "id": 23124,
5722
+ "id": 23127,
5723
5723
  "indexed": true,
5724
5724
  "mutability": "mutable",
5725
5725
  "name": "token",
5726
5726
  "nameLocation": "18032:5:43",
5727
5727
  "nodeType": "VariableDeclaration",
5728
- "scope": 23134,
5728
+ "scope": 23137,
5729
5729
  "src": "18007:30:43",
5730
5730
  "stateVariable": false,
5731
5731
  "storageLocation": "default",
5732
5732
  "typeDescriptions": {
5733
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5733
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5734
5734
  "typeString": "contract ISuperfluidToken"
5735
5735
  },
5736
5736
  "typeName": {
5737
- "id": 23123,
5737
+ "id": 23126,
5738
5738
  "nodeType": "UserDefinedTypeName",
5739
5739
  "pathNode": {
5740
- "id": 23122,
5740
+ "id": 23125,
5741
5741
  "name": "ISuperfluidToken",
5742
5742
  "nameLocations": [
5743
5743
  "18007:16:43"
5744
5744
  ],
5745
5745
  "nodeType": "IdentifierPath",
5746
- "referencedDeclaration": 25463,
5746
+ "referencedDeclaration": 25466,
5747
5747
  "src": "18007:16:43"
5748
5748
  },
5749
- "referencedDeclaration": 25463,
5749
+ "referencedDeclaration": 25466,
5750
5750
  "src": "18007:16:43",
5751
5751
  "typeDescriptions": {
5752
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5752
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25466",
5753
5753
  "typeString": "contract ISuperfluidToken"
5754
5754
  }
5755
5755
  },
@@ -5757,13 +5757,13 @@
5757
5757
  },
5758
5758
  {
5759
5759
  "constant": false,
5760
- "id": 23126,
5760
+ "id": 23129,
5761
5761
  "indexed": true,
5762
5762
  "mutability": "mutable",
5763
5763
  "name": "subscriber",
5764
5764
  "nameLocation": "18063:10:43",
5765
5765
  "nodeType": "VariableDeclaration",
5766
- "scope": 23134,
5766
+ "scope": 23137,
5767
5767
  "src": "18047:26:43",
5768
5768
  "stateVariable": false,
5769
5769
  "storageLocation": "default",
@@ -5772,7 +5772,7 @@
5772
5772
  "typeString": "address"
5773
5773
  },
5774
5774
  "typeName": {
5775
- "id": 23125,
5775
+ "id": 23128,
5776
5776
  "name": "address",
5777
5777
  "nodeType": "ElementaryTypeName",
5778
5778
  "src": "18047:7:43",
@@ -5786,13 +5786,13 @@
5786
5786
  },
5787
5787
  {
5788
5788
  "constant": false,
5789
- "id": 23128,
5789
+ "id": 23131,
5790
5790
  "indexed": false,
5791
5791
  "mutability": "mutable",
5792
5792
  "name": "publisher",
5793
5793
  "nameLocation": "18091:9:43",
5794
5794
  "nodeType": "VariableDeclaration",
5795
- "scope": 23134,
5795
+ "scope": 23137,
5796
5796
  "src": "18083:17:43",
5797
5797
  "stateVariable": false,
5798
5798
  "storageLocation": "default",
@@ -5801,7 +5801,7 @@
5801
5801
  "typeString": "address"
5802
5802
  },
5803
5803
  "typeName": {
5804
- "id": 23127,
5804
+ "id": 23130,
5805
5805
  "name": "address",
5806
5806
  "nodeType": "ElementaryTypeName",
5807
5807
  "src": "18083:7:43",
@@ -5815,13 +5815,13 @@
5815
5815
  },
5816
5816
  {
5817
5817
  "constant": false,
5818
- "id": 23130,
5818
+ "id": 23133,
5819
5819
  "indexed": false,
5820
5820
  "mutability": "mutable",
5821
5821
  "name": "indexId",
5822
5822
  "nameLocation": "18117:7:43",
5823
5823
  "nodeType": "VariableDeclaration",
5824
- "scope": 23134,
5824
+ "scope": 23137,
5825
5825
  "src": "18110:14:43",
5826
5826
  "stateVariable": false,
5827
5827
  "storageLocation": "default",
@@ -5830,7 +5830,7 @@
5830
5830
  "typeString": "uint32"
5831
5831
  },
5832
5832
  "typeName": {
5833
- "id": 23129,
5833
+ "id": 23132,
5834
5834
  "name": "uint32",
5835
5835
  "nodeType": "ElementaryTypeName",
5836
5836
  "src": "18110:6:43",
@@ -5843,13 +5843,13 @@
5843
5843
  },
5844
5844
  {
5845
5845
  "constant": false,
5846
- "id": 23132,
5846
+ "id": 23135,
5847
5847
  "indexed": false,
5848
5848
  "mutability": "mutable",
5849
5849
  "name": "amount",
5850
5850
  "nameLocation": "18142:6:43",
5851
5851
  "nodeType": "VariableDeclaration",
5852
- "scope": 23134,
5852
+ "scope": 23137,
5853
5853
  "src": "18134:14:43",
5854
5854
  "stateVariable": false,
5855
5855
  "storageLocation": "default",
@@ -5858,7 +5858,7 @@
5858
5858
  "typeString": "uint256"
5859
5859
  },
5860
5860
  "typeName": {
5861
- "id": 23131,
5861
+ "id": 23134,
5862
5862
  "name": "uint256",
5863
5863
  "nodeType": "ElementaryTypeName",
5864
5864
  "src": "18134:7:43",
@@ -5875,18 +5875,18 @@
5875
5875
  "src": "17960:190:43"
5876
5876
  }
5877
5877
  ],
5878
- "scope": 23136,
5878
+ "scope": 23139,
5879
5879
  "src": "1781:16372:43",
5880
5880
  "usedErrors": [
5881
- 22740,
5882
- 22742,
5883
- 22744,
5884
- 22746,
5885
- 22748,
5886
- 22750,
5887
- 22752,
5888
- 22754,
5889
- 22756
5881
+ 22743,
5882
+ 22745,
5883
+ 22747,
5884
+ 22749,
5885
+ 22751,
5886
+ 22753,
5887
+ 22755,
5888
+ 22757,
5889
+ 22759
5890
5890
  ]
5891
5891
  }
5892
5892
  ],
@@ -5898,7 +5898,7 @@
5898
5898
  },
5899
5899
  "networks": {},
5900
5900
  "schemaVersion": "3.4.13",
5901
- "updatedAt": "2023-07-20T13:36:30.766Z",
5901
+ "updatedAt": "2023-08-06T18:11:20.904Z",
5902
5902
  "devdoc": {
5903
5903
  "author": "Superfluid",
5904
5904
  "events": {