@superfluid-finance/ethereum-contracts 1.7.2-dev.c99f6f9.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 (209) hide show
  1. package/README.md +2 -2
  2. package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
  3. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  4. package/artifacts/contracts/mocks/IDASuperAppTester.sol/IDASuperAppTester.json +2 -2
  5. package/artifacts/contracts/mocks/MockSmartWallet.sol/MockSmartWallet.json +2 -2
  6. package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
  7. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock.json +2 -2
  8. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock.json +2 -2
  9. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel.json +2 -2
  10. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux.json +2 -2
  11. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockNotSelfRegistering.json +2 -2
  12. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx.json +2 -2
  13. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx.json +2 -2
  14. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp.json +2 -2
  15. package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey.json +2 -2
  16. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidMock.json +2 -2
  17. package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester.json +2 -2
  18. package/artifacts/contracts/superfluid/Superfluid.sol/Superfluid.json +2 -2
  19. package/artifacts/contracts/utils/SuperfluidFrameworkDeployer.sol/SuperfluidFrameworkDeployer.json +2 -2
  20. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/CFAv1ForwarderDeployerLibrary.json +2 -2
  21. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/IDAv1ForwarderDeployerLibrary.json +2 -2
  22. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/ProxyDeployerLibrary.json +2 -2
  23. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperTokenDeployerLibrary.json +2 -2
  24. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidCFAv1DeployerLibrary.json +2 -2
  25. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidFrameworkDeploymentSteps.json +2 -2
  26. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidGovDeployerLibrary.json +2 -2
  27. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidHostDeployerLibrary.json +2 -2
  28. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidIDAv1DeployerLibrary.json +2 -2
  29. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidLoaderDeployerLibrary.json +2 -2
  30. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidNFTLogicDeployerLibrary.json +2 -2
  31. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidPeripheryDeployerLibrary.json +2 -2
  32. package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/TokenDeployerLibrary.json +2 -2
  33. package/build/contracts/AccessControl.json +1 -1
  34. package/build/contracts/AccessControlEnumerable.json +1 -1
  35. package/build/contracts/Address.json +1 -1
  36. package/build/contracts/AgreementBase.json +18 -18
  37. package/build/contracts/AgreementLibrary.json +165 -165
  38. package/build/contracts/BaseRelayRecipient.json +57 -57
  39. package/build/contracts/BatchLiquidator.json +382 -382
  40. package/build/contracts/BatchOperation.json +614 -614
  41. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  42. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2387 -2387
  43. package/build/contracts/CFAv1Library.json +389 -389
  44. package/build/contracts/CallUtils.json +198 -198
  45. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  46. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  47. package/build/contracts/ConstantInflowNFT.json +402 -402
  48. package/build/contracts/ConstantOutflowNFT.json +661 -661
  49. package/build/contracts/Context.json +1 -1
  50. package/build/contracts/ContextDefinitions.json +614 -614
  51. package/build/contracts/CustomSuperTokenBase.json +19 -19
  52. package/build/contracts/ERC165.json +1 -1
  53. package/build/contracts/ERC1820Implementer.json +1 -1
  54. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  55. package/build/contracts/ERC20.json +1 -1
  56. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  57. package/build/contracts/ERC777Helper.json +384 -384
  58. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  59. package/build/contracts/ERC777RecipientReverting.json +863 -863
  60. package/build/contracts/EnumerableSet.json +1 -1
  61. package/build/contracts/EventsEmitter.json +43 -43
  62. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  63. package/build/contracts/FixedSizeData.json +200 -200
  64. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  65. package/build/contracts/FlowNFTBase.json +1280 -1280
  66. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  67. package/build/contracts/ForwarderBase.json +190 -190
  68. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  69. package/build/contracts/IAccessControl.json +1 -1
  70. package/build/contracts/IAccessControlEnumerable.json +1 -1
  71. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  72. package/build/contracts/IConstantInflowNFT.json +54 -54
  73. package/build/contracts/IConstantOutflowNFT.json +107 -107
  74. package/build/contracts/IDAv1Forwarder.json +912 -912
  75. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2387 -2387
  76. package/build/contracts/IDAv1Library.json +430 -430
  77. package/build/contracts/IERC165.json +1 -1
  78. package/build/contracts/IERC1820Implementer.json +1 -1
  79. package/build/contracts/IERC1820Registry.json +1 -1
  80. package/build/contracts/IERC20.json +1 -1
  81. package/build/contracts/IERC20Metadata.json +1 -1
  82. package/build/contracts/IERC20Permit.json +1 -1
  83. package/build/contracts/IERC721.json +1 -1
  84. package/build/contracts/IERC721Metadata.json +1 -1
  85. package/build/contracts/IERC777.json +1 -1
  86. package/build/contracts/IERC777Recipient.json +1 -1
  87. package/build/contracts/IERC777Sender.json +1 -1
  88. package/build/contracts/IFlowNFTBase.json +115 -115
  89. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  90. package/build/contracts/IMultiSigWallet.json +31 -31
  91. package/build/contracts/IPoolAdminNFT.json +7 -7
  92. package/build/contracts/IPoolMemberNFT.json +7 -7
  93. package/build/contracts/IPureSuperToken.json +62 -62
  94. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  95. package/build/contracts/IRelayRecipient.json +27 -27
  96. package/build/contracts/IResolver.json +38 -38
  97. package/build/contracts/ISETH.json +67 -67
  98. package/build/contracts/ISETHCustom.json +67 -67
  99. package/build/contracts/ISuperAgreement.json +50 -50
  100. package/build/contracts/ISuperApp.json +191 -191
  101. package/build/contracts/ISuperToken.json +695 -695
  102. package/build/contracts/ISuperTokenFactory.json +225 -225
  103. package/build/contracts/ISuperfluid.json +904 -904
  104. package/build/contracts/ISuperfluidGovernance.json +251 -251
  105. package/build/contracts/ISuperfluidToken.json +407 -407
  106. package/build/contracts/ITOGAv1.json +1346 -1346
  107. package/build/contracts/ITOGAv2.json +1346 -1346
  108. package/build/contracts/ITOGAv3.json +1346 -1346
  109. package/build/contracts/Initializable.json +1 -1
  110. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  111. package/build/contracts/Math.json +1 -1
  112. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  113. package/build/contracts/Ownable.json +1 -1
  114. package/build/contracts/Proxy.json +1 -1
  115. package/build/contracts/ProxyDeployerLibrary.json +2385 -2385
  116. package/build/contracts/PureSuperToken.json +106 -106
  117. package/build/contracts/Resolver.json +98 -98
  118. package/build/contracts/SETHProxy.json +224 -224
  119. package/build/contracts/SafeCast.json +1 -1
  120. package/build/contracts/SafeERC20.json +1 -1
  121. package/build/contracts/SafeGasLibrary.json +51 -51
  122. package/build/contracts/SafeMath.json +1 -1
  123. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  124. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  125. package/build/contracts/StreamRedirector.json +704 -704
  126. package/build/contracts/Strings.json +1 -1
  127. package/build/contracts/SuperAppBase.json +42 -42
  128. package/build/contracts/SuperAppBaseFlow.json +1580 -1537
  129. package/build/contracts/SuperAppDefinitions.json +614 -614
  130. package/build/contracts/SuperToken.json +2714 -2714
  131. package/build/contracts/SuperTokenDeployerLibrary.json +2386 -2386
  132. package/build/contracts/SuperTokenFactory.json +1347 -1347
  133. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  134. package/build/contracts/SuperTokenV1Library.json +5632 -5632
  135. package/build/contracts/SuperUpgrader.json +439 -439
  136. package/build/contracts/Superfluid.json +7999 -7996
  137. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2386 -2386
  138. package/build/contracts/SuperfluidFrameworkDeployer.json +1263 -1263
  139. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2385 -2385
  140. package/build/contracts/SuperfluidGovDeployerLibrary.json +2386 -2386
  141. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  142. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  143. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  144. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  145. package/build/contracts/SuperfluidHostDeployerLibrary.json +2385 -2385
  146. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2386 -2386
  147. package/build/contracts/SuperfluidLoader.json +207 -207
  148. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2387 -2387
  149. package/build/contracts/SuperfluidLoaderLibrary.json +481 -480
  150. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2390 -2390
  151. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2388 -2388
  152. package/build/contracts/SuperfluidToken.json +1423 -1423
  153. package/build/contracts/TOGA.json +1360 -1360
  154. package/build/contracts/TestGovernance.json +250 -250
  155. package/build/contracts/TestResolver.json +47 -47
  156. package/build/contracts/TestToken.json +102 -102
  157. package/build/contracts/TokenDeployerLibrary.json +2387 -2387
  158. package/build/contracts/TokenInfo.json +32 -32
  159. package/build/contracts/UUPSProxiable.json +139 -139
  160. package/build/contracts/UUPSProxy.json +81 -81
  161. package/build/contracts/UUPSUtils.json +37 -37
  162. package/build/contracts-sizes.txt +15 -15
  163. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
  164. package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
  165. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
  166. package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
  167. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
  168. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
  169. package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
  170. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  171. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  172. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.d.ts +1 -1
  173. package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.js +1 -1
  174. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.d.ts +1 -1
  175. package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.js +1 -1
  176. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
  177. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
  178. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
  179. package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
  180. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.d.ts +1 -1
  181. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.js +1 -1
  182. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.d.ts +1 -1
  183. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.js +1 -1
  184. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.d.ts +1 -1
  185. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.js +1 -1
  186. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.d.ts +1 -1
  187. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.js +1 -1
  188. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.d.ts +1 -1
  189. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.js +1 -1
  190. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.d.ts +1 -1
  191. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.js +1 -1
  192. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.d.ts +1 -1
  193. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.js +1 -1
  194. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.d.ts +1 -1
  195. package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.js +1 -1
  196. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.d.ts +1 -1
  197. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.js +1 -1
  198. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.d.ts +1 -1
  199. package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.js +1 -1
  200. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.d.ts +1 -1
  201. package/build/typechain/factories/contracts/superfluid/Superfluid__factory.js +1 -1
  202. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.d.ts +1 -1
  203. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.js +1 -1
  204. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.d.ts +1 -1
  205. package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.js +1 -1
  206. package/contracts/apps/SuperAppBaseFlow.sol +11 -10
  207. package/contracts/apps/SuperfluidLoaderLibrary.sol +1 -1
  208. package/contracts/superfluid/Superfluid.sol +1 -0
  209. package/package.json +4 -3
@@ -265,18 +265,18 @@
265
265
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperApp.sol",
266
266
  "exportedSymbols": {
267
267
  "ISuperApp": [
268
- 23920
268
+ 23923
269
269
  ],
270
270
  "ISuperToken": [
271
- 24394
271
+ 24397
272
272
  ]
273
273
  },
274
- "id": 23921,
274
+ "id": 23924,
275
275
  "license": "MIT",
276
276
  "nodeType": "SourceUnit",
277
277
  "nodes": [
278
278
  {
279
- "id": 23808,
279
+ "id": 23811,
280
280
  "literals": [
281
281
  "solidity",
282
282
  ">=",
@@ -289,20 +289,20 @@
289
289
  {
290
290
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
291
291
  "file": "./ISuperToken.sol",
292
- "id": 23810,
292
+ "id": 23813,
293
293
  "nameLocation": "-1:-1:-1",
294
294
  "nodeType": "ImportDirective",
295
- "scope": 23921,
296
- "sourceUnit": 24395,
295
+ "scope": 23924,
296
+ "sourceUnit": 24398,
297
297
  "src": "59:48:52",
298
298
  "symbolAliases": [
299
299
  {
300
300
  "foreign": {
301
- "id": 23809,
301
+ "id": 23812,
302
302
  "name": "ISuperToken",
303
303
  "nodeType": "Identifier",
304
304
  "overloadedDeclarations": [],
305
- "referencedDeclaration": 24394,
305
+ "referencedDeclaration": 24397,
306
306
  "src": "68:11:52",
307
307
  "typeDescriptions": {}
308
308
  },
@@ -318,15 +318,15 @@
318
318
  "contractDependencies": [],
319
319
  "contractKind": "interface",
320
320
  "documentation": {
321
- "id": 23811,
321
+ "id": 23814,
322
322
  "nodeType": "StructuredDocumentation",
323
323
  "src": "109:133:52",
324
324
  "text": " @title SuperApp interface\n @author Superfluid\n @dev Be aware of the app being jailed, when the word permitted is used."
325
325
  },
326
326
  "fullyImplemented": false,
327
- "id": 23920,
327
+ "id": 23923,
328
328
  "linearizedBaseContracts": [
329
- 23920
329
+ 23923
330
330
  ],
331
331
  "name": "ISuperApp",
332
332
  "nameLocation": "253:9:52",
@@ -334,13 +334,13 @@
334
334
  "nodes": [
335
335
  {
336
336
  "documentation": {
337
- "id": 23812,
337
+ "id": 23815,
338
338
  "nodeType": "StructuredDocumentation",
339
339
  "src": "270:630:52",
340
340
  "text": " @dev Callback before a new agreement is created.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass\n arbitary information to the after-hook callback.\n @custom:note \n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
341
341
  },
342
342
  "functionSelector": "30d9c915",
343
- "id": 23828,
343
+ "id": 23831,
344
344
  "implemented": false,
345
345
  "kind": "function",
346
346
  "modifiers": [],
@@ -348,41 +348,41 @@
348
348
  "nameLocation": "914:22:52",
349
349
  "nodeType": "FunctionDefinition",
350
350
  "parameters": {
351
- "id": 23824,
351
+ "id": 23827,
352
352
  "nodeType": "ParameterList",
353
353
  "parameters": [
354
354
  {
355
355
  "constant": false,
356
- "id": 23815,
356
+ "id": 23818,
357
357
  "mutability": "mutable",
358
358
  "name": "superToken",
359
359
  "nameLocation": "958:10:52",
360
360
  "nodeType": "VariableDeclaration",
361
- "scope": 23828,
361
+ "scope": 23831,
362
362
  "src": "946:22:52",
363
363
  "stateVariable": false,
364
364
  "storageLocation": "default",
365
365
  "typeDescriptions": {
366
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
366
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
367
367
  "typeString": "contract ISuperToken"
368
368
  },
369
369
  "typeName": {
370
- "id": 23814,
370
+ "id": 23817,
371
371
  "nodeType": "UserDefinedTypeName",
372
372
  "pathNode": {
373
- "id": 23813,
373
+ "id": 23816,
374
374
  "name": "ISuperToken",
375
375
  "nameLocations": [
376
376
  "946:11:52"
377
377
  ],
378
378
  "nodeType": "IdentifierPath",
379
- "referencedDeclaration": 24394,
379
+ "referencedDeclaration": 24397,
380
380
  "src": "946:11:52"
381
381
  },
382
- "referencedDeclaration": 24394,
382
+ "referencedDeclaration": 24397,
383
383
  "src": "946:11:52",
384
384
  "typeDescriptions": {
385
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
385
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
386
386
  "typeString": "contract ISuperToken"
387
387
  }
388
388
  },
@@ -390,12 +390,12 @@
390
390
  },
391
391
  {
392
392
  "constant": false,
393
- "id": 23817,
393
+ "id": 23820,
394
394
  "mutability": "mutable",
395
395
  "name": "agreementClass",
396
396
  "nameLocation": "986:14:52",
397
397
  "nodeType": "VariableDeclaration",
398
- "scope": 23828,
398
+ "scope": 23831,
399
399
  "src": "978:22:52",
400
400
  "stateVariable": false,
401
401
  "storageLocation": "default",
@@ -404,7 +404,7 @@
404
404
  "typeString": "address"
405
405
  },
406
406
  "typeName": {
407
- "id": 23816,
407
+ "id": 23819,
408
408
  "name": "address",
409
409
  "nodeType": "ElementaryTypeName",
410
410
  "src": "978:7:52",
@@ -418,12 +418,12 @@
418
418
  },
419
419
  {
420
420
  "constant": false,
421
- "id": 23819,
421
+ "id": 23822,
422
422
  "mutability": "mutable",
423
423
  "name": "agreementId",
424
424
  "nameLocation": "1018:11:52",
425
425
  "nodeType": "VariableDeclaration",
426
- "scope": 23828,
426
+ "scope": 23831,
427
427
  "src": "1010:19:52",
428
428
  "stateVariable": false,
429
429
  "storageLocation": "default",
@@ -432,7 +432,7 @@
432
432
  "typeString": "bytes32"
433
433
  },
434
434
  "typeName": {
435
- "id": 23818,
435
+ "id": 23821,
436
436
  "name": "bytes32",
437
437
  "nodeType": "ElementaryTypeName",
438
438
  "src": "1010:7:52",
@@ -445,12 +445,12 @@
445
445
  },
446
446
  {
447
447
  "constant": false,
448
- "id": 23821,
448
+ "id": 23824,
449
449
  "mutability": "mutable",
450
450
  "name": "agreementData",
451
451
  "nameLocation": "1054:13:52",
452
452
  "nodeType": "VariableDeclaration",
453
- "scope": 23828,
453
+ "scope": 23831,
454
454
  "src": "1039:28:52",
455
455
  "stateVariable": false,
456
456
  "storageLocation": "calldata",
@@ -459,7 +459,7 @@
459
459
  "typeString": "bytes"
460
460
  },
461
461
  "typeName": {
462
- "id": 23820,
462
+ "id": 23823,
463
463
  "name": "bytes",
464
464
  "nodeType": "ElementaryTypeName",
465
465
  "src": "1039:5:52",
@@ -472,12 +472,12 @@
472
472
  },
473
473
  {
474
474
  "constant": false,
475
- "id": 23823,
475
+ "id": 23826,
476
476
  "mutability": "mutable",
477
477
  "name": "ctx",
478
478
  "nameLocation": "1092:3:52",
479
479
  "nodeType": "VariableDeclaration",
480
- "scope": 23828,
480
+ "scope": 23831,
481
481
  "src": "1077:18:52",
482
482
  "stateVariable": false,
483
483
  "storageLocation": "calldata",
@@ -486,7 +486,7 @@
486
486
  "typeString": "bytes"
487
487
  },
488
488
  "typeName": {
489
- "id": 23822,
489
+ "id": 23825,
490
490
  "name": "bytes",
491
491
  "nodeType": "ElementaryTypeName",
492
492
  "src": "1077:5:52",
@@ -501,17 +501,17 @@
501
501
  "src": "936:165:52"
502
502
  },
503
503
  "returnParameters": {
504
- "id": 23827,
504
+ "id": 23830,
505
505
  "nodeType": "ParameterList",
506
506
  "parameters": [
507
507
  {
508
508
  "constant": false,
509
- "id": 23826,
509
+ "id": 23829,
510
510
  "mutability": "mutable",
511
511
  "name": "cbdata",
512
512
  "nameLocation": "1162:6:52",
513
513
  "nodeType": "VariableDeclaration",
514
- "scope": 23828,
514
+ "scope": 23831,
515
515
  "src": "1149:19:52",
516
516
  "stateVariable": false,
517
517
  "storageLocation": "memory",
@@ -520,7 +520,7 @@
520
520
  "typeString": "bytes"
521
521
  },
522
522
  "typeName": {
523
- "id": 23825,
523
+ "id": 23828,
524
524
  "name": "bytes",
525
525
  "nodeType": "ElementaryTypeName",
526
526
  "src": "1149:5:52",
@@ -534,7 +534,7 @@
534
534
  ],
535
535
  "src": "1148:21:52"
536
536
  },
537
- "scope": 23920,
537
+ "scope": 23923,
538
538
  "src": "905:265:52",
539
539
  "stateMutability": "view",
540
540
  "virtual": false,
@@ -542,13 +542,13 @@
542
542
  },
543
543
  {
544
544
  "documentation": {
545
- "id": 23829,
545
+ "id": 23832,
546
546
  "nodeType": "StructuredDocumentation",
547
547
  "src": "1176:579:52",
548
548
  "text": " @dev Callback after a new agreement is created.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n @custom:note \n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
549
549
  },
550
550
  "functionSelector": "d86ed3e5",
551
- "id": 23847,
551
+ "id": 23850,
552
552
  "implemented": false,
553
553
  "kind": "function",
554
554
  "modifiers": [],
@@ -556,41 +556,41 @@
556
556
  "nameLocation": "1769:21:52",
557
557
  "nodeType": "FunctionDefinition",
558
558
  "parameters": {
559
- "id": 23843,
559
+ "id": 23846,
560
560
  "nodeType": "ParameterList",
561
561
  "parameters": [
562
562
  {
563
563
  "constant": false,
564
- "id": 23832,
564
+ "id": 23835,
565
565
  "mutability": "mutable",
566
566
  "name": "superToken",
567
567
  "nameLocation": "1812:10:52",
568
568
  "nodeType": "VariableDeclaration",
569
- "scope": 23847,
569
+ "scope": 23850,
570
570
  "src": "1800:22:52",
571
571
  "stateVariable": false,
572
572
  "storageLocation": "default",
573
573
  "typeDescriptions": {
574
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
574
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
575
575
  "typeString": "contract ISuperToken"
576
576
  },
577
577
  "typeName": {
578
- "id": 23831,
578
+ "id": 23834,
579
579
  "nodeType": "UserDefinedTypeName",
580
580
  "pathNode": {
581
- "id": 23830,
581
+ "id": 23833,
582
582
  "name": "ISuperToken",
583
583
  "nameLocations": [
584
584
  "1800:11:52"
585
585
  ],
586
586
  "nodeType": "IdentifierPath",
587
- "referencedDeclaration": 24394,
587
+ "referencedDeclaration": 24397,
588
588
  "src": "1800:11:52"
589
589
  },
590
- "referencedDeclaration": 24394,
590
+ "referencedDeclaration": 24397,
591
591
  "src": "1800:11:52",
592
592
  "typeDescriptions": {
593
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
593
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
594
594
  "typeString": "contract ISuperToken"
595
595
  }
596
596
  },
@@ -598,12 +598,12 @@
598
598
  },
599
599
  {
600
600
  "constant": false,
601
- "id": 23834,
601
+ "id": 23837,
602
602
  "mutability": "mutable",
603
603
  "name": "agreementClass",
604
604
  "nameLocation": "1840:14:52",
605
605
  "nodeType": "VariableDeclaration",
606
- "scope": 23847,
606
+ "scope": 23850,
607
607
  "src": "1832:22:52",
608
608
  "stateVariable": false,
609
609
  "storageLocation": "default",
@@ -612,7 +612,7 @@
612
612
  "typeString": "address"
613
613
  },
614
614
  "typeName": {
615
- "id": 23833,
615
+ "id": 23836,
616
616
  "name": "address",
617
617
  "nodeType": "ElementaryTypeName",
618
618
  "src": "1832:7:52",
@@ -626,12 +626,12 @@
626
626
  },
627
627
  {
628
628
  "constant": false,
629
- "id": 23836,
629
+ "id": 23839,
630
630
  "mutability": "mutable",
631
631
  "name": "agreementId",
632
632
  "nameLocation": "1872:11:52",
633
633
  "nodeType": "VariableDeclaration",
634
- "scope": 23847,
634
+ "scope": 23850,
635
635
  "src": "1864:19:52",
636
636
  "stateVariable": false,
637
637
  "storageLocation": "default",
@@ -640,7 +640,7 @@
640
640
  "typeString": "bytes32"
641
641
  },
642
642
  "typeName": {
643
- "id": 23835,
643
+ "id": 23838,
644
644
  "name": "bytes32",
645
645
  "nodeType": "ElementaryTypeName",
646
646
  "src": "1864:7:52",
@@ -653,12 +653,12 @@
653
653
  },
654
654
  {
655
655
  "constant": false,
656
- "id": 23838,
656
+ "id": 23841,
657
657
  "mutability": "mutable",
658
658
  "name": "agreementData",
659
659
  "nameLocation": "1908:13:52",
660
660
  "nodeType": "VariableDeclaration",
661
- "scope": 23847,
661
+ "scope": 23850,
662
662
  "src": "1893:28:52",
663
663
  "stateVariable": false,
664
664
  "storageLocation": "calldata",
@@ -667,7 +667,7 @@
667
667
  "typeString": "bytes"
668
668
  },
669
669
  "typeName": {
670
- "id": 23837,
670
+ "id": 23840,
671
671
  "name": "bytes",
672
672
  "nodeType": "ElementaryTypeName",
673
673
  "src": "1893:5:52",
@@ -680,12 +680,12 @@
680
680
  },
681
681
  {
682
682
  "constant": false,
683
- "id": 23840,
683
+ "id": 23843,
684
684
  "mutability": "mutable",
685
685
  "name": "cbdata",
686
686
  "nameLocation": "1946:6:52",
687
687
  "nodeType": "VariableDeclaration",
688
- "scope": 23847,
688
+ "scope": 23850,
689
689
  "src": "1931:21:52",
690
690
  "stateVariable": false,
691
691
  "storageLocation": "calldata",
@@ -694,7 +694,7 @@
694
694
  "typeString": "bytes"
695
695
  },
696
696
  "typeName": {
697
- "id": 23839,
697
+ "id": 23842,
698
698
  "name": "bytes",
699
699
  "nodeType": "ElementaryTypeName",
700
700
  "src": "1931:5:52",
@@ -707,12 +707,12 @@
707
707
  },
708
708
  {
709
709
  "constant": false,
710
- "id": 23842,
710
+ "id": 23845,
711
711
  "mutability": "mutable",
712
712
  "name": "ctx",
713
713
  "nameLocation": "1977:3:52",
714
714
  "nodeType": "VariableDeclaration",
715
- "scope": 23847,
715
+ "scope": 23850,
716
716
  "src": "1962:18:52",
717
717
  "stateVariable": false,
718
718
  "storageLocation": "calldata",
@@ -721,7 +721,7 @@
721
721
  "typeString": "bytes"
722
722
  },
723
723
  "typeName": {
724
- "id": 23841,
724
+ "id": 23844,
725
725
  "name": "bytes",
726
726
  "nodeType": "ElementaryTypeName",
727
727
  "src": "1962:5:52",
@@ -736,17 +736,17 @@
736
736
  "src": "1790:196:52"
737
737
  },
738
738
  "returnParameters": {
739
- "id": 23846,
739
+ "id": 23849,
740
740
  "nodeType": "ParameterList",
741
741
  "parameters": [
742
742
  {
743
743
  "constant": false,
744
- "id": 23845,
744
+ "id": 23848,
745
745
  "mutability": "mutable",
746
746
  "name": "newCtx",
747
747
  "nameLocation": "2034:6:52",
748
748
  "nodeType": "VariableDeclaration",
749
- "scope": 23847,
749
+ "scope": 23850,
750
750
  "src": "2021:19:52",
751
751
  "stateVariable": false,
752
752
  "storageLocation": "memory",
@@ -755,7 +755,7 @@
755
755
  "typeString": "bytes"
756
756
  },
757
757
  "typeName": {
758
- "id": 23844,
758
+ "id": 23847,
759
759
  "name": "bytes",
760
760
  "nodeType": "ElementaryTypeName",
761
761
  "src": "2021:5:52",
@@ -769,7 +769,7 @@
769
769
  ],
770
770
  "src": "2020:21:52"
771
771
  },
772
- "scope": 23920,
772
+ "scope": 23923,
773
773
  "src": "1760:282:52",
774
774
  "stateMutability": "nonpayable",
775
775
  "virtual": false,
@@ -777,13 +777,13 @@
777
777
  },
778
778
  {
779
779
  "documentation": {
780
- "id": 23848,
780
+ "id": 23851,
781
781
  "nodeType": "StructuredDocumentation",
782
782
  "src": "2048:630:52",
783
783
  "text": " @dev Callback before a new agreement is updated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass\n arbitary information to the after-hook callback.\n @custom:note \n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
784
784
  },
785
785
  "functionSelector": "884d1f40",
786
- "id": 23864,
786
+ "id": 23867,
787
787
  "implemented": false,
788
788
  "kind": "function",
789
789
  "modifiers": [],
@@ -791,41 +791,41 @@
791
791
  "nameLocation": "2692:22:52",
792
792
  "nodeType": "FunctionDefinition",
793
793
  "parameters": {
794
- "id": 23860,
794
+ "id": 23863,
795
795
  "nodeType": "ParameterList",
796
796
  "parameters": [
797
797
  {
798
798
  "constant": false,
799
- "id": 23851,
799
+ "id": 23854,
800
800
  "mutability": "mutable",
801
801
  "name": "superToken",
802
802
  "nameLocation": "2736:10:52",
803
803
  "nodeType": "VariableDeclaration",
804
- "scope": 23864,
804
+ "scope": 23867,
805
805
  "src": "2724:22:52",
806
806
  "stateVariable": false,
807
807
  "storageLocation": "default",
808
808
  "typeDescriptions": {
809
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
809
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
810
810
  "typeString": "contract ISuperToken"
811
811
  },
812
812
  "typeName": {
813
- "id": 23850,
813
+ "id": 23853,
814
814
  "nodeType": "UserDefinedTypeName",
815
815
  "pathNode": {
816
- "id": 23849,
816
+ "id": 23852,
817
817
  "name": "ISuperToken",
818
818
  "nameLocations": [
819
819
  "2724:11:52"
820
820
  ],
821
821
  "nodeType": "IdentifierPath",
822
- "referencedDeclaration": 24394,
822
+ "referencedDeclaration": 24397,
823
823
  "src": "2724:11:52"
824
824
  },
825
- "referencedDeclaration": 24394,
825
+ "referencedDeclaration": 24397,
826
826
  "src": "2724:11:52",
827
827
  "typeDescriptions": {
828
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
828
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
829
829
  "typeString": "contract ISuperToken"
830
830
  }
831
831
  },
@@ -833,12 +833,12 @@
833
833
  },
834
834
  {
835
835
  "constant": false,
836
- "id": 23853,
836
+ "id": 23856,
837
837
  "mutability": "mutable",
838
838
  "name": "agreementClass",
839
839
  "nameLocation": "2764:14:52",
840
840
  "nodeType": "VariableDeclaration",
841
- "scope": 23864,
841
+ "scope": 23867,
842
842
  "src": "2756:22:52",
843
843
  "stateVariable": false,
844
844
  "storageLocation": "default",
@@ -847,7 +847,7 @@
847
847
  "typeString": "address"
848
848
  },
849
849
  "typeName": {
850
- "id": 23852,
850
+ "id": 23855,
851
851
  "name": "address",
852
852
  "nodeType": "ElementaryTypeName",
853
853
  "src": "2756:7:52",
@@ -861,12 +861,12 @@
861
861
  },
862
862
  {
863
863
  "constant": false,
864
- "id": 23855,
864
+ "id": 23858,
865
865
  "mutability": "mutable",
866
866
  "name": "agreementId",
867
867
  "nameLocation": "2796:11:52",
868
868
  "nodeType": "VariableDeclaration",
869
- "scope": 23864,
869
+ "scope": 23867,
870
870
  "src": "2788:19:52",
871
871
  "stateVariable": false,
872
872
  "storageLocation": "default",
@@ -875,7 +875,7 @@
875
875
  "typeString": "bytes32"
876
876
  },
877
877
  "typeName": {
878
- "id": 23854,
878
+ "id": 23857,
879
879
  "name": "bytes32",
880
880
  "nodeType": "ElementaryTypeName",
881
881
  "src": "2788:7:52",
@@ -888,12 +888,12 @@
888
888
  },
889
889
  {
890
890
  "constant": false,
891
- "id": 23857,
891
+ "id": 23860,
892
892
  "mutability": "mutable",
893
893
  "name": "agreementData",
894
894
  "nameLocation": "2832:13:52",
895
895
  "nodeType": "VariableDeclaration",
896
- "scope": 23864,
896
+ "scope": 23867,
897
897
  "src": "2817:28:52",
898
898
  "stateVariable": false,
899
899
  "storageLocation": "calldata",
@@ -902,7 +902,7 @@
902
902
  "typeString": "bytes"
903
903
  },
904
904
  "typeName": {
905
- "id": 23856,
905
+ "id": 23859,
906
906
  "name": "bytes",
907
907
  "nodeType": "ElementaryTypeName",
908
908
  "src": "2817:5:52",
@@ -915,12 +915,12 @@
915
915
  },
916
916
  {
917
917
  "constant": false,
918
- "id": 23859,
918
+ "id": 23862,
919
919
  "mutability": "mutable",
920
920
  "name": "ctx",
921
921
  "nameLocation": "2870:3:52",
922
922
  "nodeType": "VariableDeclaration",
923
- "scope": 23864,
923
+ "scope": 23867,
924
924
  "src": "2855:18:52",
925
925
  "stateVariable": false,
926
926
  "storageLocation": "calldata",
@@ -929,7 +929,7 @@
929
929
  "typeString": "bytes"
930
930
  },
931
931
  "typeName": {
932
- "id": 23858,
932
+ "id": 23861,
933
933
  "name": "bytes",
934
934
  "nodeType": "ElementaryTypeName",
935
935
  "src": "2855:5:52",
@@ -944,17 +944,17 @@
944
944
  "src": "2714:165:52"
945
945
  },
946
946
  "returnParameters": {
947
- "id": 23863,
947
+ "id": 23866,
948
948
  "nodeType": "ParameterList",
949
949
  "parameters": [
950
950
  {
951
951
  "constant": false,
952
- "id": 23862,
952
+ "id": 23865,
953
953
  "mutability": "mutable",
954
954
  "name": "cbdata",
955
955
  "nameLocation": "2940:6:52",
956
956
  "nodeType": "VariableDeclaration",
957
- "scope": 23864,
957
+ "scope": 23867,
958
958
  "src": "2927:19:52",
959
959
  "stateVariable": false,
960
960
  "storageLocation": "memory",
@@ -963,7 +963,7 @@
963
963
  "typeString": "bytes"
964
964
  },
965
965
  "typeName": {
966
- "id": 23861,
966
+ "id": 23864,
967
967
  "name": "bytes",
968
968
  "nodeType": "ElementaryTypeName",
969
969
  "src": "2927:5:52",
@@ -977,7 +977,7 @@
977
977
  ],
978
978
  "src": "2926:21:52"
979
979
  },
980
- "scope": 23920,
980
+ "scope": 23923,
981
981
  "src": "2683:265:52",
982
982
  "stateMutability": "view",
983
983
  "virtual": false,
@@ -985,13 +985,13 @@
985
985
  },
986
986
  {
987
987
  "documentation": {
988
- "id": 23865,
988
+ "id": 23868,
989
989
  "nodeType": "StructuredDocumentation",
990
990
  "src": "2955:566:52",
991
991
  "text": " @dev Callback after a new agreement is updated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n @custom:note \n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
992
992
  },
993
993
  "functionSelector": "230dbd29",
994
- "id": 23883,
994
+ "id": 23886,
995
995
  "implemented": false,
996
996
  "kind": "function",
997
997
  "modifiers": [],
@@ -999,41 +999,41 @@
999
999
  "nameLocation": "3535:21:52",
1000
1000
  "nodeType": "FunctionDefinition",
1001
1001
  "parameters": {
1002
- "id": 23879,
1002
+ "id": 23882,
1003
1003
  "nodeType": "ParameterList",
1004
1004
  "parameters": [
1005
1005
  {
1006
1006
  "constant": false,
1007
- "id": 23868,
1007
+ "id": 23871,
1008
1008
  "mutability": "mutable",
1009
1009
  "name": "superToken",
1010
1010
  "nameLocation": "3578:10:52",
1011
1011
  "nodeType": "VariableDeclaration",
1012
- "scope": 23883,
1012
+ "scope": 23886,
1013
1013
  "src": "3566:22:52",
1014
1014
  "stateVariable": false,
1015
1015
  "storageLocation": "default",
1016
1016
  "typeDescriptions": {
1017
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
1017
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
1018
1018
  "typeString": "contract ISuperToken"
1019
1019
  },
1020
1020
  "typeName": {
1021
- "id": 23867,
1021
+ "id": 23870,
1022
1022
  "nodeType": "UserDefinedTypeName",
1023
1023
  "pathNode": {
1024
- "id": 23866,
1024
+ "id": 23869,
1025
1025
  "name": "ISuperToken",
1026
1026
  "nameLocations": [
1027
1027
  "3566:11:52"
1028
1028
  ],
1029
1029
  "nodeType": "IdentifierPath",
1030
- "referencedDeclaration": 24394,
1030
+ "referencedDeclaration": 24397,
1031
1031
  "src": "3566:11:52"
1032
1032
  },
1033
- "referencedDeclaration": 24394,
1033
+ "referencedDeclaration": 24397,
1034
1034
  "src": "3566:11:52",
1035
1035
  "typeDescriptions": {
1036
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
1036
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
1037
1037
  "typeString": "contract ISuperToken"
1038
1038
  }
1039
1039
  },
@@ -1041,12 +1041,12 @@
1041
1041
  },
1042
1042
  {
1043
1043
  "constant": false,
1044
- "id": 23870,
1044
+ "id": 23873,
1045
1045
  "mutability": "mutable",
1046
1046
  "name": "agreementClass",
1047
1047
  "nameLocation": "3606:14:52",
1048
1048
  "nodeType": "VariableDeclaration",
1049
- "scope": 23883,
1049
+ "scope": 23886,
1050
1050
  "src": "3598:22:52",
1051
1051
  "stateVariable": false,
1052
1052
  "storageLocation": "default",
@@ -1055,7 +1055,7 @@
1055
1055
  "typeString": "address"
1056
1056
  },
1057
1057
  "typeName": {
1058
- "id": 23869,
1058
+ "id": 23872,
1059
1059
  "name": "address",
1060
1060
  "nodeType": "ElementaryTypeName",
1061
1061
  "src": "3598:7:52",
@@ -1069,12 +1069,12 @@
1069
1069
  },
1070
1070
  {
1071
1071
  "constant": false,
1072
- "id": 23872,
1072
+ "id": 23875,
1073
1073
  "mutability": "mutable",
1074
1074
  "name": "agreementId",
1075
1075
  "nameLocation": "3638:11:52",
1076
1076
  "nodeType": "VariableDeclaration",
1077
- "scope": 23883,
1077
+ "scope": 23886,
1078
1078
  "src": "3630:19:52",
1079
1079
  "stateVariable": false,
1080
1080
  "storageLocation": "default",
@@ -1083,7 +1083,7 @@
1083
1083
  "typeString": "bytes32"
1084
1084
  },
1085
1085
  "typeName": {
1086
- "id": 23871,
1086
+ "id": 23874,
1087
1087
  "name": "bytes32",
1088
1088
  "nodeType": "ElementaryTypeName",
1089
1089
  "src": "3630:7:52",
@@ -1096,12 +1096,12 @@
1096
1096
  },
1097
1097
  {
1098
1098
  "constant": false,
1099
- "id": 23874,
1099
+ "id": 23877,
1100
1100
  "mutability": "mutable",
1101
1101
  "name": "agreementData",
1102
1102
  "nameLocation": "3674:13:52",
1103
1103
  "nodeType": "VariableDeclaration",
1104
- "scope": 23883,
1104
+ "scope": 23886,
1105
1105
  "src": "3659:28:52",
1106
1106
  "stateVariable": false,
1107
1107
  "storageLocation": "calldata",
@@ -1110,7 +1110,7 @@
1110
1110
  "typeString": "bytes"
1111
1111
  },
1112
1112
  "typeName": {
1113
- "id": 23873,
1113
+ "id": 23876,
1114
1114
  "name": "bytes",
1115
1115
  "nodeType": "ElementaryTypeName",
1116
1116
  "src": "3659:5:52",
@@ -1123,12 +1123,12 @@
1123
1123
  },
1124
1124
  {
1125
1125
  "constant": false,
1126
- "id": 23876,
1126
+ "id": 23879,
1127
1127
  "mutability": "mutable",
1128
1128
  "name": "cbdata",
1129
1129
  "nameLocation": "3712:6:52",
1130
1130
  "nodeType": "VariableDeclaration",
1131
- "scope": 23883,
1131
+ "scope": 23886,
1132
1132
  "src": "3697:21:52",
1133
1133
  "stateVariable": false,
1134
1134
  "storageLocation": "calldata",
@@ -1137,7 +1137,7 @@
1137
1137
  "typeString": "bytes"
1138
1138
  },
1139
1139
  "typeName": {
1140
- "id": 23875,
1140
+ "id": 23878,
1141
1141
  "name": "bytes",
1142
1142
  "nodeType": "ElementaryTypeName",
1143
1143
  "src": "3697:5:52",
@@ -1150,12 +1150,12 @@
1150
1150
  },
1151
1151
  {
1152
1152
  "constant": false,
1153
- "id": 23878,
1153
+ "id": 23881,
1154
1154
  "mutability": "mutable",
1155
1155
  "name": "ctx",
1156
1156
  "nameLocation": "3743:3:52",
1157
1157
  "nodeType": "VariableDeclaration",
1158
- "scope": 23883,
1158
+ "scope": 23886,
1159
1159
  "src": "3728:18:52",
1160
1160
  "stateVariable": false,
1161
1161
  "storageLocation": "calldata",
@@ -1164,7 +1164,7 @@
1164
1164
  "typeString": "bytes"
1165
1165
  },
1166
1166
  "typeName": {
1167
- "id": 23877,
1167
+ "id": 23880,
1168
1168
  "name": "bytes",
1169
1169
  "nodeType": "ElementaryTypeName",
1170
1170
  "src": "3728:5:52",
@@ -1179,17 +1179,17 @@
1179
1179
  "src": "3556:196:52"
1180
1180
  },
1181
1181
  "returnParameters": {
1182
- "id": 23882,
1182
+ "id": 23885,
1183
1183
  "nodeType": "ParameterList",
1184
1184
  "parameters": [
1185
1185
  {
1186
1186
  "constant": false,
1187
- "id": 23881,
1187
+ "id": 23884,
1188
1188
  "mutability": "mutable",
1189
1189
  "name": "newCtx",
1190
1190
  "nameLocation": "3800:6:52",
1191
1191
  "nodeType": "VariableDeclaration",
1192
- "scope": 23883,
1192
+ "scope": 23886,
1193
1193
  "src": "3787:19:52",
1194
1194
  "stateVariable": false,
1195
1195
  "storageLocation": "memory",
@@ -1198,7 +1198,7 @@
1198
1198
  "typeString": "bytes"
1199
1199
  },
1200
1200
  "typeName": {
1201
- "id": 23880,
1201
+ "id": 23883,
1202
1202
  "name": "bytes",
1203
1203
  "nodeType": "ElementaryTypeName",
1204
1204
  "src": "3787:5:52",
@@ -1212,7 +1212,7 @@
1212
1212
  ],
1213
1213
  "src": "3786:21:52"
1214
1214
  },
1215
- "scope": 23920,
1215
+ "scope": 23923,
1216
1216
  "src": "3526:282:52",
1217
1217
  "stateMutability": "nonpayable",
1218
1218
  "virtual": false,
@@ -1220,13 +1220,13 @@
1220
1220
  },
1221
1221
  {
1222
1222
  "documentation": {
1223
- "id": 23884,
1223
+ "id": 23887,
1224
1224
  "nodeType": "StructuredDocumentation",
1225
1225
  "src": "3814:602:52",
1226
1226
  "text": " @dev Callback before a new agreement is terminated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass arbitary information to\n the after-hook callback.\n @custom:note \n - It will be invoked with `staticcall`, no state changes are permitted.\n - Revert is not permitted."
1227
1227
  },
1228
1228
  "functionSelector": "5f9e7d77",
1229
- "id": 23900,
1229
+ "id": 23903,
1230
1230
  "implemented": false,
1231
1231
  "kind": "function",
1232
1232
  "modifiers": [],
@@ -1234,41 +1234,41 @@
1234
1234
  "nameLocation": "4430:25:52",
1235
1235
  "nodeType": "FunctionDefinition",
1236
1236
  "parameters": {
1237
- "id": 23896,
1237
+ "id": 23899,
1238
1238
  "nodeType": "ParameterList",
1239
1239
  "parameters": [
1240
1240
  {
1241
1241
  "constant": false,
1242
- "id": 23887,
1242
+ "id": 23890,
1243
1243
  "mutability": "mutable",
1244
1244
  "name": "superToken",
1245
1245
  "nameLocation": "4477:10:52",
1246
1246
  "nodeType": "VariableDeclaration",
1247
- "scope": 23900,
1247
+ "scope": 23903,
1248
1248
  "src": "4465:22:52",
1249
1249
  "stateVariable": false,
1250
1250
  "storageLocation": "default",
1251
1251
  "typeDescriptions": {
1252
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
1252
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
1253
1253
  "typeString": "contract ISuperToken"
1254
1254
  },
1255
1255
  "typeName": {
1256
- "id": 23886,
1256
+ "id": 23889,
1257
1257
  "nodeType": "UserDefinedTypeName",
1258
1258
  "pathNode": {
1259
- "id": 23885,
1259
+ "id": 23888,
1260
1260
  "name": "ISuperToken",
1261
1261
  "nameLocations": [
1262
1262
  "4465:11:52"
1263
1263
  ],
1264
1264
  "nodeType": "IdentifierPath",
1265
- "referencedDeclaration": 24394,
1265
+ "referencedDeclaration": 24397,
1266
1266
  "src": "4465:11:52"
1267
1267
  },
1268
- "referencedDeclaration": 24394,
1268
+ "referencedDeclaration": 24397,
1269
1269
  "src": "4465:11:52",
1270
1270
  "typeDescriptions": {
1271
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
1271
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
1272
1272
  "typeString": "contract ISuperToken"
1273
1273
  }
1274
1274
  },
@@ -1276,12 +1276,12 @@
1276
1276
  },
1277
1277
  {
1278
1278
  "constant": false,
1279
- "id": 23889,
1279
+ "id": 23892,
1280
1280
  "mutability": "mutable",
1281
1281
  "name": "agreementClass",
1282
1282
  "nameLocation": "4505:14:52",
1283
1283
  "nodeType": "VariableDeclaration",
1284
- "scope": 23900,
1284
+ "scope": 23903,
1285
1285
  "src": "4497:22:52",
1286
1286
  "stateVariable": false,
1287
1287
  "storageLocation": "default",
@@ -1290,7 +1290,7 @@
1290
1290
  "typeString": "address"
1291
1291
  },
1292
1292
  "typeName": {
1293
- "id": 23888,
1293
+ "id": 23891,
1294
1294
  "name": "address",
1295
1295
  "nodeType": "ElementaryTypeName",
1296
1296
  "src": "4497:7:52",
@@ -1304,12 +1304,12 @@
1304
1304
  },
1305
1305
  {
1306
1306
  "constant": false,
1307
- "id": 23891,
1307
+ "id": 23894,
1308
1308
  "mutability": "mutable",
1309
1309
  "name": "agreementId",
1310
1310
  "nameLocation": "4537:11:52",
1311
1311
  "nodeType": "VariableDeclaration",
1312
- "scope": 23900,
1312
+ "scope": 23903,
1313
1313
  "src": "4529:19:52",
1314
1314
  "stateVariable": false,
1315
1315
  "storageLocation": "default",
@@ -1318,7 +1318,7 @@
1318
1318
  "typeString": "bytes32"
1319
1319
  },
1320
1320
  "typeName": {
1321
- "id": 23890,
1321
+ "id": 23893,
1322
1322
  "name": "bytes32",
1323
1323
  "nodeType": "ElementaryTypeName",
1324
1324
  "src": "4529:7:52",
@@ -1331,12 +1331,12 @@
1331
1331
  },
1332
1332
  {
1333
1333
  "constant": false,
1334
- "id": 23893,
1334
+ "id": 23896,
1335
1335
  "mutability": "mutable",
1336
1336
  "name": "agreementData",
1337
1337
  "nameLocation": "4573:13:52",
1338
1338
  "nodeType": "VariableDeclaration",
1339
- "scope": 23900,
1339
+ "scope": 23903,
1340
1340
  "src": "4558:28:52",
1341
1341
  "stateVariable": false,
1342
1342
  "storageLocation": "calldata",
@@ -1345,7 +1345,7 @@
1345
1345
  "typeString": "bytes"
1346
1346
  },
1347
1347
  "typeName": {
1348
- "id": 23892,
1348
+ "id": 23895,
1349
1349
  "name": "bytes",
1350
1350
  "nodeType": "ElementaryTypeName",
1351
1351
  "src": "4558:5:52",
@@ -1358,12 +1358,12 @@
1358
1358
  },
1359
1359
  {
1360
1360
  "constant": false,
1361
- "id": 23895,
1361
+ "id": 23898,
1362
1362
  "mutability": "mutable",
1363
1363
  "name": "ctx",
1364
1364
  "nameLocation": "4611:3:52",
1365
1365
  "nodeType": "VariableDeclaration",
1366
- "scope": 23900,
1366
+ "scope": 23903,
1367
1367
  "src": "4596:18:52",
1368
1368
  "stateVariable": false,
1369
1369
  "storageLocation": "calldata",
@@ -1372,7 +1372,7 @@
1372
1372
  "typeString": "bytes"
1373
1373
  },
1374
1374
  "typeName": {
1375
- "id": 23894,
1375
+ "id": 23897,
1376
1376
  "name": "bytes",
1377
1377
  "nodeType": "ElementaryTypeName",
1378
1378
  "src": "4596:5:52",
@@ -1387,17 +1387,17 @@
1387
1387
  "src": "4455:165:52"
1388
1388
  },
1389
1389
  "returnParameters": {
1390
- "id": 23899,
1390
+ "id": 23902,
1391
1391
  "nodeType": "ParameterList",
1392
1392
  "parameters": [
1393
1393
  {
1394
1394
  "constant": false,
1395
- "id": 23898,
1395
+ "id": 23901,
1396
1396
  "mutability": "mutable",
1397
1397
  "name": "cbdata",
1398
1398
  "nameLocation": "4681:6:52",
1399
1399
  "nodeType": "VariableDeclaration",
1400
- "scope": 23900,
1400
+ "scope": 23903,
1401
1401
  "src": "4668:19:52",
1402
1402
  "stateVariable": false,
1403
1403
  "storageLocation": "memory",
@@ -1406,7 +1406,7 @@
1406
1406
  "typeString": "bytes"
1407
1407
  },
1408
1408
  "typeName": {
1409
- "id": 23897,
1409
+ "id": 23900,
1410
1410
  "name": "bytes",
1411
1411
  "nodeType": "ElementaryTypeName",
1412
1412
  "src": "4668:5:52",
@@ -1420,7 +1420,7 @@
1420
1420
  ],
1421
1421
  "src": "4667:21:52"
1422
1422
  },
1423
- "scope": 23920,
1423
+ "scope": 23923,
1424
1424
  "src": "4421:268:52",
1425
1425
  "stateMutability": "view",
1426
1426
  "virtual": false,
@@ -1428,13 +1428,13 @@
1428
1428
  },
1429
1429
  {
1430
1430
  "documentation": {
1431
- "id": 23901,
1431
+ "id": 23904,
1432
1432
  "nodeType": "StructuredDocumentation",
1433
1433
  "src": "4695:552:52",
1434
1434
  "text": " @dev Callback after a new agreement is terminated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n @custom:note \n - State changes is permitted.\n - Revert is not permitted."
1435
1435
  },
1436
1436
  "functionSelector": "53c11f99",
1437
- "id": 23919,
1437
+ "id": 23922,
1438
1438
  "implemented": false,
1439
1439
  "kind": "function",
1440
1440
  "modifiers": [],
@@ -1442,41 +1442,41 @@
1442
1442
  "nameLocation": "5261:24:52",
1443
1443
  "nodeType": "FunctionDefinition",
1444
1444
  "parameters": {
1445
- "id": 23915,
1445
+ "id": 23918,
1446
1446
  "nodeType": "ParameterList",
1447
1447
  "parameters": [
1448
1448
  {
1449
1449
  "constant": false,
1450
- "id": 23904,
1450
+ "id": 23907,
1451
1451
  "mutability": "mutable",
1452
1452
  "name": "superToken",
1453
1453
  "nameLocation": "5307:10:52",
1454
1454
  "nodeType": "VariableDeclaration",
1455
- "scope": 23919,
1455
+ "scope": 23922,
1456
1456
  "src": "5295:22:52",
1457
1457
  "stateVariable": false,
1458
1458
  "storageLocation": "default",
1459
1459
  "typeDescriptions": {
1460
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
1460
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
1461
1461
  "typeString": "contract ISuperToken"
1462
1462
  },
1463
1463
  "typeName": {
1464
- "id": 23903,
1464
+ "id": 23906,
1465
1465
  "nodeType": "UserDefinedTypeName",
1466
1466
  "pathNode": {
1467
- "id": 23902,
1467
+ "id": 23905,
1468
1468
  "name": "ISuperToken",
1469
1469
  "nameLocations": [
1470
1470
  "5295:11:52"
1471
1471
  ],
1472
1472
  "nodeType": "IdentifierPath",
1473
- "referencedDeclaration": 24394,
1473
+ "referencedDeclaration": 24397,
1474
1474
  "src": "5295:11:52"
1475
1475
  },
1476
- "referencedDeclaration": 24394,
1476
+ "referencedDeclaration": 24397,
1477
1477
  "src": "5295:11:52",
1478
1478
  "typeDescriptions": {
1479
- "typeIdentifier": "t_contract$_ISuperToken_$24394",
1479
+ "typeIdentifier": "t_contract$_ISuperToken_$24397",
1480
1480
  "typeString": "contract ISuperToken"
1481
1481
  }
1482
1482
  },
@@ -1484,12 +1484,12 @@
1484
1484
  },
1485
1485
  {
1486
1486
  "constant": false,
1487
- "id": 23906,
1487
+ "id": 23909,
1488
1488
  "mutability": "mutable",
1489
1489
  "name": "agreementClass",
1490
1490
  "nameLocation": "5335:14:52",
1491
1491
  "nodeType": "VariableDeclaration",
1492
- "scope": 23919,
1492
+ "scope": 23922,
1493
1493
  "src": "5327:22:52",
1494
1494
  "stateVariable": false,
1495
1495
  "storageLocation": "default",
@@ -1498,7 +1498,7 @@
1498
1498
  "typeString": "address"
1499
1499
  },
1500
1500
  "typeName": {
1501
- "id": 23905,
1501
+ "id": 23908,
1502
1502
  "name": "address",
1503
1503
  "nodeType": "ElementaryTypeName",
1504
1504
  "src": "5327:7:52",
@@ -1512,12 +1512,12 @@
1512
1512
  },
1513
1513
  {
1514
1514
  "constant": false,
1515
- "id": 23908,
1515
+ "id": 23911,
1516
1516
  "mutability": "mutable",
1517
1517
  "name": "agreementId",
1518
1518
  "nameLocation": "5367:11:52",
1519
1519
  "nodeType": "VariableDeclaration",
1520
- "scope": 23919,
1520
+ "scope": 23922,
1521
1521
  "src": "5359:19:52",
1522
1522
  "stateVariable": false,
1523
1523
  "storageLocation": "default",
@@ -1526,7 +1526,7 @@
1526
1526
  "typeString": "bytes32"
1527
1527
  },
1528
1528
  "typeName": {
1529
- "id": 23907,
1529
+ "id": 23910,
1530
1530
  "name": "bytes32",
1531
1531
  "nodeType": "ElementaryTypeName",
1532
1532
  "src": "5359:7:52",
@@ -1539,12 +1539,12 @@
1539
1539
  },
1540
1540
  {
1541
1541
  "constant": false,
1542
- "id": 23910,
1542
+ "id": 23913,
1543
1543
  "mutability": "mutable",
1544
1544
  "name": "agreementData",
1545
1545
  "nameLocation": "5403:13:52",
1546
1546
  "nodeType": "VariableDeclaration",
1547
- "scope": 23919,
1547
+ "scope": 23922,
1548
1548
  "src": "5388:28:52",
1549
1549
  "stateVariable": false,
1550
1550
  "storageLocation": "calldata",
@@ -1553,7 +1553,7 @@
1553
1553
  "typeString": "bytes"
1554
1554
  },
1555
1555
  "typeName": {
1556
- "id": 23909,
1556
+ "id": 23912,
1557
1557
  "name": "bytes",
1558
1558
  "nodeType": "ElementaryTypeName",
1559
1559
  "src": "5388:5:52",
@@ -1566,12 +1566,12 @@
1566
1566
  },
1567
1567
  {
1568
1568
  "constant": false,
1569
- "id": 23912,
1569
+ "id": 23915,
1570
1570
  "mutability": "mutable",
1571
1571
  "name": "cbdata",
1572
1572
  "nameLocation": "5441:6:52",
1573
1573
  "nodeType": "VariableDeclaration",
1574
- "scope": 23919,
1574
+ "scope": 23922,
1575
1575
  "src": "5426:21:52",
1576
1576
  "stateVariable": false,
1577
1577
  "storageLocation": "calldata",
@@ -1580,7 +1580,7 @@
1580
1580
  "typeString": "bytes"
1581
1581
  },
1582
1582
  "typeName": {
1583
- "id": 23911,
1583
+ "id": 23914,
1584
1584
  "name": "bytes",
1585
1585
  "nodeType": "ElementaryTypeName",
1586
1586
  "src": "5426:5:52",
@@ -1593,12 +1593,12 @@
1593
1593
  },
1594
1594
  {
1595
1595
  "constant": false,
1596
- "id": 23914,
1596
+ "id": 23917,
1597
1597
  "mutability": "mutable",
1598
1598
  "name": "ctx",
1599
1599
  "nameLocation": "5472:3:52",
1600
1600
  "nodeType": "VariableDeclaration",
1601
- "scope": 23919,
1601
+ "scope": 23922,
1602
1602
  "src": "5457:18:52",
1603
1603
  "stateVariable": false,
1604
1604
  "storageLocation": "calldata",
@@ -1607,7 +1607,7 @@
1607
1607
  "typeString": "bytes"
1608
1608
  },
1609
1609
  "typeName": {
1610
- "id": 23913,
1610
+ "id": 23916,
1611
1611
  "name": "bytes",
1612
1612
  "nodeType": "ElementaryTypeName",
1613
1613
  "src": "5457:5:52",
@@ -1622,17 +1622,17 @@
1622
1622
  "src": "5285:196:52"
1623
1623
  },
1624
1624
  "returnParameters": {
1625
- "id": 23918,
1625
+ "id": 23921,
1626
1626
  "nodeType": "ParameterList",
1627
1627
  "parameters": [
1628
1628
  {
1629
1629
  "constant": false,
1630
- "id": 23917,
1630
+ "id": 23920,
1631
1631
  "mutability": "mutable",
1632
1632
  "name": "newCtx",
1633
1633
  "nameLocation": "5529:6:52",
1634
1634
  "nodeType": "VariableDeclaration",
1635
- "scope": 23919,
1635
+ "scope": 23922,
1636
1636
  "src": "5516:19:52",
1637
1637
  "stateVariable": false,
1638
1638
  "storageLocation": "memory",
@@ -1641,7 +1641,7 @@
1641
1641
  "typeString": "bytes"
1642
1642
  },
1643
1643
  "typeName": {
1644
- "id": 23916,
1644
+ "id": 23919,
1645
1645
  "name": "bytes",
1646
1646
  "nodeType": "ElementaryTypeName",
1647
1647
  "src": "5516:5:52",
@@ -1655,14 +1655,14 @@
1655
1655
  ],
1656
1656
  "src": "5515:21:52"
1657
1657
  },
1658
- "scope": 23920,
1658
+ "scope": 23923,
1659
1659
  "src": "5252:285:52",
1660
1660
  "stateMutability": "nonpayable",
1661
1661
  "virtual": false,
1662
1662
  "visibility": "external"
1663
1663
  }
1664
1664
  ],
1665
- "scope": 23921,
1665
+ "scope": 23924,
1666
1666
  "src": "243:5296:52",
1667
1667
  "usedErrors": []
1668
1668
  }
@@ -1675,7 +1675,7 @@
1675
1675
  },
1676
1676
  "networks": {},
1677
1677
  "schemaVersion": "3.4.13",
1678
- "updatedAt": "2023-07-12T09:52:15.897Z",
1678
+ "updatedAt": "2023-08-06T18:11:20.924Z",
1679
1679
  "devdoc": {
1680
1680
  "author": "Superfluid",
1681
1681
  "details": "Be aware of the app being jailed, when the word permitted is used.",