@superfluid-finance/ethereum-contracts 1.2.3-dev.f94fdbb.0 → 1.3.1-dev.7df8a6a.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 (171) hide show
  1. package/build/contracts/AccessControl.json +3 -3
  2. package/build/contracts/AccessControlEnumerable.json +3 -3
  3. package/build/contracts/Address.json +5 -5
  4. package/build/contracts/AgreementBase.json +13 -13
  5. package/build/contracts/AgreementLibrary.json +7 -7
  6. package/build/contracts/BaseRelayRecipient.json +5 -5
  7. package/build/contracts/BatchLiquidator.json +179 -179
  8. package/build/contracts/BatchOperation.json +5 -5
  9. package/build/contracts/CFAv1Library.json +5 -5
  10. package/build/contracts/CallUtils.json +7 -7
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2107 -1917
  12. package/build/contracts/ConstantFlowAgreementV1.json +8 -8
  13. package/build/contracts/Context.json +3 -3
  14. package/build/contracts/ContextDefinitions.json +5 -5
  15. package/build/contracts/Create2.json +5 -5
  16. package/build/contracts/CustomSuperTokenBase.json +3 -3
  17. package/build/contracts/ERC165.json +3 -3
  18. package/build/contracts/ERC1820Implementer.json +5 -5
  19. package/build/contracts/ERC1820RegistryCompiled.json +7 -7
  20. package/build/contracts/ERC20.json +5 -5
  21. package/build/contracts/ERC20Burnable.json +3 -3
  22. package/build/contracts/ERC20Pausable.json +3 -3
  23. package/build/contracts/ERC20PresetMinterPauser.json +5 -5
  24. package/build/contracts/ERC20WithTokenInfo.json +3 -3
  25. package/build/contracts/ERC777Helper.json +7 -7
  26. package/build/contracts/ERC777RecipientDrainingGas.json +839 -839
  27. package/build/contracts/ERC777RecipientReverting.json +839 -839
  28. package/build/contracts/EnumerableSet.json +5 -5
  29. package/build/contracts/EventsEmitter.json +47 -47
  30. package/build/contracts/ExclusiveInflowTestApp.json +2107 -1917
  31. package/build/contracts/FixedSizeData.json +213 -213
  32. package/build/contracts/FlowExchangeTestApp.json +2107 -1917
  33. package/build/contracts/FlowOperatorDefinitions.json +5 -5
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +226 -312
  35. package/build/contracts/IAccessControl.json +3 -3
  36. package/build/contracts/IAccessControlEnumerable.json +3 -3
  37. package/build/contracts/IConstantFlowAgreementV1.json +451 -444
  38. package/build/contracts/IDAv1Library.json +5 -5
  39. package/build/contracts/IERC165.json +3 -3
  40. package/build/contracts/IERC1820Implementer.json +3 -3
  41. package/build/contracts/IERC1820Registry.json +3 -3
  42. package/build/contracts/IERC20.json +3 -3
  43. package/build/contracts/IERC20Metadata.json +3 -3
  44. package/build/contracts/IERC777.json +3 -3
  45. package/build/contracts/IERC777Recipient.json +3 -3
  46. package/build/contracts/IERC777Sender.json +3 -3
  47. package/build/contracts/IInstantDistributionAgreementV1.json +570 -559
  48. package/build/contracts/IMaticBridgedNativeSuperToken.json +71 -32
  49. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +3 -3
  50. package/build/contracts/IMultiSigWallet.json +3 -3
  51. package/build/contracts/IPureSuperToken.json +71 -32
  52. package/build/contracts/IPureSuperTokenCustom.json +3 -3
  53. package/build/contracts/IRelayRecipient.json +3 -3
  54. package/build/contracts/IResolver.json +3 -3
  55. package/build/contracts/ISETH.json +71 -32
  56. package/build/contracts/ISETHCustom.json +3 -3
  57. package/build/contracts/ISuperAgreement.json +3 -3
  58. package/build/contracts/ISuperApp.json +179 -173
  59. package/build/contracts/ISuperToken.json +522 -483
  60. package/build/contracts/ISuperTokenFactory.json +3 -3
  61. package/build/contracts/ISuperfluid.json +633 -628
  62. package/build/contracts/ISuperfluidGovernance.json +134 -133
  63. package/build/contracts/ISuperfluidToken.json +403 -394
  64. package/build/contracts/ITOGAv1.json +1211 -1211
  65. package/build/contracts/ITOGAv2.json +1211 -1211
  66. package/build/contracts/Initializable.json +3 -3
  67. package/build/contracts/InstantDistributionAgreementV1.json +10 -10
  68. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +194 -194
  69. package/build/contracts/NonClosableOutflowTestApp.json +2107 -1917
  70. package/build/contracts/Ownable.json +3 -3
  71. package/build/contracts/Pausable.json +3 -3
  72. package/build/contracts/Proxy.json +3 -3
  73. package/build/contracts/PureSuperToken.json +91 -91
  74. package/build/contracts/Resolver.json +96 -96
  75. package/build/contracts/SETHProxy.json +199 -199
  76. package/build/contracts/SafeCast.json +5 -5
  77. package/build/contracts/SafeERC20.json +5 -5
  78. package/build/contracts/SafeMath.json +5 -5
  79. package/build/contracts/SelfDeletingFlowTestApp.json +2107 -1917
  80. package/build/contracts/SlotsBitmapLibrary.json +7 -7
  81. package/build/contracts/Strings.json +5 -5
  82. package/build/contracts/SuperAppBase.json +3 -3
  83. package/build/contracts/SuperAppDefinitions.json +5 -5
  84. package/build/contracts/SuperToken.json +2262 -2262
  85. package/build/contracts/SuperTokenFactory.json +582 -582
  86. package/build/contracts/SuperTokenFactoryBase.json +576 -576
  87. package/build/contracts/SuperTokenFactoryHelper.json +578 -578
  88. package/build/contracts/SuperUpgrader.json +687 -687
  89. package/build/contracts/Superfluid.json +6648 -6678
  90. package/build/contracts/SuperfluidFrameworkDeployer.json +526 -526
  91. package/build/contracts/SuperfluidGovernanceBase.json +13 -13
  92. package/build/contracts/SuperfluidGovernanceConfigs.json +5 -5
  93. package/build/contracts/SuperfluidGovernanceII.json +21 -21
  94. package/build/contracts/SuperfluidGovernanceIIProxy.json +20 -20
  95. package/build/contracts/SuperfluidLoader.json +147 -147
  96. package/build/contracts/SuperfluidToken.json +1269 -1269
  97. package/build/contracts/TOGA.json +1221 -1221
  98. package/build/contracts/TestGovernance.json +315 -315
  99. package/build/contracts/TestToken.json +475 -561
  100. package/build/contracts/TokenCustodian.json +220 -220
  101. package/build/contracts/TokenInfo.json +3 -3
  102. package/build/contracts/UUPSProxiable.json +136 -136
  103. package/build/contracts/UUPSProxy.json +87 -87
  104. package/build/contracts/UUPSUtils.json +43 -43
  105. package/build/contracts-sizes.txt +6 -6
  106. package/contracts/agreements/AgreementBase.sol +1 -1
  107. package/contracts/agreements/AgreementLibrary.sol +1 -1
  108. package/contracts/agreements/ConstantFlowAgreementV1.sol +1 -1
  109. package/contracts/agreements/InstantDistributionAgreementV1.sol +1 -1
  110. package/contracts/gov/SuperfluidGovernanceBase.sol +1 -1
  111. package/contracts/gov/SuperfluidGovernanceII.sol +1 -1
  112. package/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol +7 -10
  113. package/contracts/interfaces/agreements/IInstantDistributionAgreementV1.sol +11 -18
  114. package/contracts/interfaces/superfluid/ISuperApp.sol +7 -9
  115. package/contracts/interfaces/superfluid/ISuperToken.sol +36 -44
  116. package/contracts/interfaces/superfluid/ISuperfluid.sol +17 -21
  117. package/contracts/interfaces/superfluid/ISuperfluidGovernance.sol +1 -1
  118. package/contracts/interfaces/superfluid/ISuperfluidToken.sol +13 -14
  119. package/contracts/libs/BaseRelayRecipient.sol +1 -1
  120. package/contracts/libs/CallUtils.sol +1 -1
  121. package/contracts/libs/ERC1820RegistryCompiled.sol +1 -1
  122. package/contracts/libs/ERC777Helper.sol +1 -1
  123. package/contracts/libs/EventsEmitter.sol +2 -2
  124. package/contracts/libs/FixedSizeData.sol +2 -2
  125. package/contracts/libs/SlotsBitmapLibrary.sol +1 -1
  126. package/contracts/mocks/AgreementMock.sol +1 -1
  127. package/contracts/mocks/CFAAppMocks.sol +6 -6
  128. package/contracts/mocks/CFALibraryMock.sol +2 -2
  129. package/contracts/mocks/CallUtilsMock.sol +1 -1
  130. package/contracts/mocks/CallUtilsTester.sol +1 -1
  131. package/contracts/mocks/CustomSuperTokenMock.sol +1 -1
  132. package/contracts/mocks/ERC777SenderRecipientMock.sol +1 -1
  133. package/contracts/mocks/FakeSuperfluidMock.sol +1 -1
  134. package/contracts/mocks/ForwarderMock.sol +1 -1
  135. package/contracts/mocks/IDASuperAppTester.sol +2 -2
  136. package/contracts/mocks/IDAv1LibraryMock.sol +3 -3
  137. package/contracts/mocks/MockSmartWallet.sol +1 -1
  138. package/contracts/mocks/MultiFlowTesterApp.sol +2 -2
  139. package/contracts/mocks/SuperAppMocks.sol +15 -12
  140. package/contracts/mocks/SuperTokenFactoryMock.sol +1 -1
  141. package/contracts/mocks/SuperTokenMock.sol +1 -1
  142. package/contracts/mocks/SuperfluidDestructorMock.sol +1 -1
  143. package/contracts/mocks/SuperfluidGovernanceIIMock.sol +1 -1
  144. package/contracts/mocks/SuperfluidMock.sol +2 -2
  145. package/contracts/mocks/UUPSProxiableMock.sol +1 -1
  146. package/contracts/superfluid/FullUpgradableSuperTokenProxy.sol +2 -2
  147. package/contracts/superfluid/SuperToken.sol +1 -1
  148. package/contracts/superfluid/SuperTokenFactory.sol +1 -1
  149. package/contracts/superfluid/Superfluid.sol +4 -4
  150. package/contracts/superfluid/SuperfluidToken.sol +1 -1
  151. package/contracts/tokens/MaticBridgedNativeSuperToken.sol +1 -1
  152. package/contracts/tokens/PureSuperToken.sol +1 -1
  153. package/contracts/tokens/SETH.sol +1 -1
  154. package/contracts/upgradability/UUPSProxiable.sol +1 -1
  155. package/contracts/upgradability/UUPSProxy.sol +1 -1
  156. package/contracts/upgradability/UUPSUtils.sol +1 -1
  157. package/contracts/utils/BatchLiquidator.sol +1 -1
  158. package/contracts/utils/Resolver.sol +1 -1
  159. package/contracts/utils/SuperUpgrader.sol +6 -6
  160. package/contracts/utils/SuperfluidLoader.sol +1 -1
  161. package/contracts/utils/TOGA.sol +1 -1
  162. package/contracts/utils/TestGovernance.sol +2 -2
  163. package/contracts/utils/TestToken.sol +2 -2
  164. package/contracts/utils/TokenCustodian.sol +1 -1
  165. package/package.json +5 -3
  166. package/scripts/deploy-framework.js +5 -5
  167. package/scripts/deploy-super-token.js +13 -4
  168. package/scripts/gov-create-new-app-registration-key.js +2 -1
  169. package/scripts/gov-create-new-factory-registration.js +1 -1
  170. package/scripts/libs/getConfig.js +21 -3
  171. package/scripts/resolver-list-super-token.js +1 -0
@@ -251,7 +251,7 @@
251
251
  "type": "function"
252
252
  }
253
253
  ],
254
- "metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"Be aware of the app being jailed, when the word permitted is used.\",\"kind\":\"dev\",\"methods\":{\"afterAgreementCreated(address,address,bytes32,bytes,bytes,bytes)\":{\"details\":\"Callback after a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction. NOTE: - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\"}},\"afterAgreementTerminated(address,address,bytes32,bytes,bytes,bytes)\":{\"details\":\"Callback after a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction. NOTE: - State changes is permitted. - Revert is not permitted.\"}},\"afterAgreementUpdated(address,address,bytes32,bytes,bytes,bytes)\":{\"details\":\"Callback after a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction. NOTE: - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\"}},\"beforeAgreementCreated(address,address,bytes32,bytes,bytes)\":{\"details\":\"Callback before a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback. NOTE: - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\"}},\"beforeAgreementTerminated(address,address,bytes32,bytes,bytes)\":{\"details\":\"Callback before a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback. NOTE: - It will be invoked with `staticcall`, no state changes are permitted. - Revert is not permitted.\"}},\"beforeAgreementUpdated(address,address,bytes32,bytes,bytes)\":{\"details\":\"Callback before a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback. NOTE: - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\"}}},\"title\":\"SuperApp interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":\"ISuperApp\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0xe4e0b7e3f0265ffaa565d26acd2d45f2633f19127ed625e5a05a9f201a87a667\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1762b5bc15a009b5f092ccf547b81e0827c8705884f18e0623e497658514a7ed\",\"dweb:/ipfs/QmTtmVQYuynan3j2uVjdjjRJS1mr7LPRgxSZNnfqC7oxkz\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x199095781e4221b6015d859558da09977f79199f38d342ab4899c2cecdf8cec1\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://9fd3a5a8b16d8517e2af10e20390a9af5adbfa4e783e3a7dd89eb4588db98385\",\"dweb:/ipfs/QmPDtGR43DeMMVsHjUh7FYzMGsFKPpGriRkaahFpN5T5d3\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x57f4203168992c940eb6b8c7cc75f854cb36a1f9323b3f39ddc5e4fbe819c043\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://888941dfa3e5004f678f215b98a85d1bf54e412317928a78e0a1cff090773d4c\",\"dweb:/ipfs/QmVe838upcAyqpy1d3oQNHJrbRyWCKHL51zWrMKruvLxFG\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0x3cb0b7216007b942f7611d7b3d983c0df9408fdd4fd6b799c33fc9033e0abf8b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://17901a1fd3635f441671e14ece8ecc6806af20c5eb80cca3b7c6e53a51fef7b6\",\"dweb:/ipfs/QmUXXMfU6nmsyEnufyGEwyZ5M7pzpXNTr6vw32e3JjjoZp\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0x2d9b845469a35b66f1166406149ac85e933dbe9156f57e4a4078948e6a6e71a4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://48e5cb11d4b90e42af521e23b33d57e12187c989d8d56be332b1649308168d45\",\"dweb:/ipfs/QmdaTW4HfpFfHjkHiJ3CmZUmCfLJyFCPTnCygwhiNhx3Tu\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0x2166f766b7f61f9bb1376b0948efa0d0c0046b93dc301e51ce495203b145189b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://929630e6a15f523b142b2897783b2f7a54532ac5ae578bd17a0b7f25a6ca2bd8\",\"dweb:/ipfs/QmTu9ffH9qbQncJGEc24bmnoCGjifQ7BG47AYR8AzMLfXR\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x518b869178aafffde40c654a1e24b3b1a2b5e42e5e8f17562556f404db8b9434\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://458ce84666b418fa3a7569c0e109db4d920fb6d1cb67ebc4c497c9c71107d93b\",\"dweb:/ipfs/QmV9nqhRF7MDGkV6UW3WWcqeXov2vmqHuRcvbqaaV8yP6u\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
254
+ "metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"Be aware of the app being jailed, when the word permitted is used.\",\"kind\":\"dev\",\"methods\":{\"afterAgreementCreated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback after a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"afterAgreementTerminated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Revert is not permitted.\",\"details\":\"Callback after a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"afterAgreementUpdated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback after a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"beforeAgreementCreated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback before a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}},\"beforeAgreementTerminated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Revert is not permitted.\",\"details\":\"Callback before a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}},\"beforeAgreementUpdated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback before a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}}},\"title\":\"SuperApp interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":\"ISuperApp\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0xe4e0b7e3f0265ffaa565d26acd2d45f2633f19127ed625e5a05a9f201a87a667\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1762b5bc15a009b5f092ccf547b81e0827c8705884f18e0623e497658514a7ed\",\"dweb:/ipfs/QmTtmVQYuynan3j2uVjdjjRJS1mr7LPRgxSZNnfqC7oxkz\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x199095781e4221b6015d859558da09977f79199f38d342ab4899c2cecdf8cec1\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://9fd3a5a8b16d8517e2af10e20390a9af5adbfa4e783e3a7dd89eb4588db98385\",\"dweb:/ipfs/QmPDtGR43DeMMVsHjUh7FYzMGsFKPpGriRkaahFpN5T5d3\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x42b604992cf67321cc12e8bed16543df0db4eaf125b8c1c82c330ebbeb20c014\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7c18b00caf7b8be7e11f75284fb96263ce48a3984d56f2a91ec44cae4413d2fc\",\"dweb:/ipfs/QmWVzdW9KnkwAVe9g5zRuMoqCf7N89AoBfzzRr8puw5d8a\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0xcff22ed43df0f34a645e6cbe0d7c5fd08f204d769e9095bc59d7c2fe6d11b7d6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://944b8c5a37839b40ec8ee1ccfecbaf007808a61ea16c7b1351a7184606772032\",\"dweb:/ipfs/QmbUKZqZtVfqZMKYnQUygE4svatKuN9kT2ibrnxMuWXR7n\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0xf16efd1ba72322e77e0d936b723c0e71eb14c23e11cf69efae8c7caa407012cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://ff4bb321b72dc3332984346e5b66ad131c6132101658fe6707d7a9d043f981ab\",\"dweb:/ipfs/QmXmVD2mZ3LRb7wQZ2VcrpYhtjm21zUe5hPDDDJA1WXbFz\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0xea33d20751ffea4f4446bc04f6c10194fb4da0803a988586d41d49cf4859731c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7716b1f5eec0a7ac8780d82de4f0274ecd7059be4eec46c82b0b7adce110f10b\",\"dweb:/ipfs/QmWRQafvdCBsyfDYnevXSav1AAz8uZRRBwh2be5Z3vSfVN\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x3eec5a3bf337cd319c1918fd1b16f350cf5f6850ac71f6859066fbf86e734ff4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://cda19a2f5ca18e79c1e2300c8efac84c718df76c4fb313f59f84264a4c6b398a\",\"dweb:/ipfs/QmfQiwgDH5Q64w5ufBnDzVaeWv6WCZ6fLTrYu1FSYfBGhq\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
255
255
  "bytecode": "0x",
256
256
  "deployedBytecode": "0x",
257
257
  "immutableReferences": {},
@@ -259,7 +259,7 @@
259
259
  "deployedGeneratedSources": [],
260
260
  "sourceMap": "",
261
261
  "deployedSourceMap": "",
262
- "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity >= 0.8.0;\n\nimport { ISuperToken } from \"./ISuperToken.sol\";\n\n/**\n * @title SuperApp interface\n * @author Superfluid\n * @dev Be aware of the app being jailed, when the word permitted is used.\n *\n */\ninterface ISuperApp {\n\n /**\n * @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 *\n * NOTE:\n * - It will be invoked with `staticcall`, no state changes are permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function beforeAgreementCreated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata ctx\n )\n external\n view\n returns (bytes memory cbdata);\n\n /**\n * @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 *\n * NOTE:\n * - State changes is permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function afterAgreementCreated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata cbdata,\n bytes calldata ctx\n )\n external\n returns (bytes memory newCtx);\n\n /**\n * @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 *\n * NOTE:\n * - It will be invoked with `staticcall`, no state changes are permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function beforeAgreementUpdated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata ctx\n )\n external\n view\n returns (bytes memory cbdata);\n\n\n /**\n * @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 *\n * NOTE:\n * - State changes is permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function afterAgreementUpdated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata cbdata,\n bytes calldata ctx\n )\n external\n returns (bytes memory newCtx);\n\n /**\n * @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\n * arbitary information to the after-hook callback.\n *\n * NOTE:\n * - It will be invoked with `staticcall`, no state changes are permitted.\n * - Revert is not permitted.\n */\n function beforeAgreementTerminated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata ctx\n )\n external\n view\n returns (bytes memory cbdata);\n\n /**\n * @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 *\n * NOTE:\n * - State changes is permitted.\n * - Revert is not permitted.\n */\n function afterAgreementTerminated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata cbdata,\n bytes calldata ctx\n )\n external\n returns (bytes memory newCtx);\n}\n",
262
+ "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity >= 0.8.0;\n\nimport { ISuperToken } from \"./ISuperToken.sol\";\n\n/**\n * @title SuperApp interface\n * @author Superfluid\n * @dev Be aware of the app being jailed, when the word permitted is used.\n */\ninterface ISuperApp {\n\n /**\n * @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 *\n * @custom:note \n * - It will be invoked with `staticcall`, no state changes are permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function beforeAgreementCreated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata ctx\n )\n external\n view\n returns (bytes memory cbdata);\n\n /**\n * @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 *\n * @custom:note \n * - State changes is permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function afterAgreementCreated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata cbdata,\n bytes calldata ctx\n )\n external\n returns (bytes memory newCtx);\n\n /**\n * @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 *\n * @custom:note \n * - It will be invoked with `staticcall`, no state changes are permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function beforeAgreementUpdated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata ctx\n )\n external\n view\n returns (bytes memory cbdata);\n\n\n /**\n * @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 *\n * @custom:note \n * - State changes is permitted.\n * - Only revert with a \"reason\" is permitted.\n */\n function afterAgreementUpdated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata cbdata,\n bytes calldata ctx\n )\n external\n returns (bytes memory newCtx);\n\n /**\n * @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 the after-hook callback.\n *\n * @custom:note \n * - It will be invoked with `staticcall`, no state changes are permitted.\n * - Revert is not permitted.\n */\n function beforeAgreementTerminated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata ctx\n )\n external\n view\n returns (bytes memory cbdata);\n\n /**\n * @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 *\n * @custom:note \n * - State changes is permitted.\n * - Revert is not permitted.\n */\n function afterAgreementTerminated(\n ISuperToken superToken,\n address agreementClass,\n bytes32 agreementId,\n bytes calldata agreementData,\n bytes calldata cbdata,\n bytes calldata ctx\n )\n external\n returns (bytes memory newCtx);\n}\n",
263
263
  "sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/interfaces/superfluid/ISuperApp.sol",
264
264
  "ast": {
265
265
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperApp.sol",
@@ -320,7 +320,7 @@
320
320
  "documentation": {
321
321
  "id": 17276,
322
322
  "nodeType": "StructuredDocumentation",
323
- "src": "112:136:44",
323
+ "src": "112:133:44",
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,
@@ -329,15 +329,15 @@
329
329
  17385
330
330
  ],
331
331
  "name": "ISuperApp",
332
- "nameLocation": "259:9:44",
332
+ "nameLocation": "256:9:44",
333
333
  "nodeType": "ContractDefinition",
334
334
  "nodes": [
335
335
  {
336
336
  "documentation": {
337
337
  "id": 17277,
338
338
  "nodeType": "StructuredDocumentation",
339
- "src": "276:622:44",
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 NOTE:\n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
339
+ "src": "273:630:44",
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
343
  "id": 17293,
@@ -345,7 +345,7 @@
345
345
  "kind": "function",
346
346
  "modifiers": [],
347
347
  "name": "beforeAgreementCreated",
348
- "nameLocation": "912:22:44",
348
+ "nameLocation": "917:22:44",
349
349
  "nodeType": "FunctionDefinition",
350
350
  "parameters": {
351
351
  "id": 17289,
@@ -356,10 +356,10 @@
356
356
  "id": 17280,
357
357
  "mutability": "mutable",
358
358
  "name": "superToken",
359
- "nameLocation": "956:10:44",
359
+ "nameLocation": "961:10:44",
360
360
  "nodeType": "VariableDeclaration",
361
361
  "scope": 17293,
362
- "src": "944:22:44",
362
+ "src": "949:22:44",
363
363
  "stateVariable": false,
364
364
  "storageLocation": "default",
365
365
  "typeDescriptions": {
@@ -374,10 +374,10 @@
374
374
  "name": "ISuperToken",
375
375
  "nodeType": "IdentifierPath",
376
376
  "referencedDeclaration": 17761,
377
- "src": "944:11:44"
377
+ "src": "949:11:44"
378
378
  },
379
379
  "referencedDeclaration": 17761,
380
- "src": "944:11:44",
380
+ "src": "949:11:44",
381
381
  "typeDescriptions": {
382
382
  "typeIdentifier": "t_contract$_ISuperToken_$17761",
383
383
  "typeString": "contract ISuperToken"
@@ -390,10 +390,10 @@
390
390
  "id": 17282,
391
391
  "mutability": "mutable",
392
392
  "name": "agreementClass",
393
- "nameLocation": "984:14:44",
393
+ "nameLocation": "989:14:44",
394
394
  "nodeType": "VariableDeclaration",
395
395
  "scope": 17293,
396
- "src": "976:22:44",
396
+ "src": "981:22:44",
397
397
  "stateVariable": false,
398
398
  "storageLocation": "default",
399
399
  "typeDescriptions": {
@@ -404,7 +404,7 @@
404
404
  "id": 17281,
405
405
  "name": "address",
406
406
  "nodeType": "ElementaryTypeName",
407
- "src": "976:7:44",
407
+ "src": "981:7:44",
408
408
  "stateMutability": "nonpayable",
409
409
  "typeDescriptions": {
410
410
  "typeIdentifier": "t_address",
@@ -418,10 +418,10 @@
418
418
  "id": 17284,
419
419
  "mutability": "mutable",
420
420
  "name": "agreementId",
421
- "nameLocation": "1016:11:44",
421
+ "nameLocation": "1021:11:44",
422
422
  "nodeType": "VariableDeclaration",
423
423
  "scope": 17293,
424
- "src": "1008:19:44",
424
+ "src": "1013:19:44",
425
425
  "stateVariable": false,
426
426
  "storageLocation": "default",
427
427
  "typeDescriptions": {
@@ -432,7 +432,7 @@
432
432
  "id": 17283,
433
433
  "name": "bytes32",
434
434
  "nodeType": "ElementaryTypeName",
435
- "src": "1008:7:44",
435
+ "src": "1013:7:44",
436
436
  "typeDescriptions": {
437
437
  "typeIdentifier": "t_bytes32",
438
438
  "typeString": "bytes32"
@@ -445,10 +445,10 @@
445
445
  "id": 17286,
446
446
  "mutability": "mutable",
447
447
  "name": "agreementData",
448
- "nameLocation": "1052:13:44",
448
+ "nameLocation": "1057:13:44",
449
449
  "nodeType": "VariableDeclaration",
450
450
  "scope": 17293,
451
- "src": "1037:28:44",
451
+ "src": "1042:28:44",
452
452
  "stateVariable": false,
453
453
  "storageLocation": "calldata",
454
454
  "typeDescriptions": {
@@ -459,7 +459,7 @@
459
459
  "id": 17285,
460
460
  "name": "bytes",
461
461
  "nodeType": "ElementaryTypeName",
462
- "src": "1037:5:44",
462
+ "src": "1042:5:44",
463
463
  "typeDescriptions": {
464
464
  "typeIdentifier": "t_bytes_storage_ptr",
465
465
  "typeString": "bytes"
@@ -472,10 +472,10 @@
472
472
  "id": 17288,
473
473
  "mutability": "mutable",
474
474
  "name": "ctx",
475
- "nameLocation": "1090:3:44",
475
+ "nameLocation": "1095:3:44",
476
476
  "nodeType": "VariableDeclaration",
477
477
  "scope": 17293,
478
- "src": "1075:18:44",
478
+ "src": "1080:18:44",
479
479
  "stateVariable": false,
480
480
  "storageLocation": "calldata",
481
481
  "typeDescriptions": {
@@ -486,7 +486,7 @@
486
486
  "id": 17287,
487
487
  "name": "bytes",
488
488
  "nodeType": "ElementaryTypeName",
489
- "src": "1075:5:44",
489
+ "src": "1080:5:44",
490
490
  "typeDescriptions": {
491
491
  "typeIdentifier": "t_bytes_storage_ptr",
492
492
  "typeString": "bytes"
@@ -495,7 +495,7 @@
495
495
  "visibility": "internal"
496
496
  }
497
497
  ],
498
- "src": "934:165:44"
498
+ "src": "939:165:44"
499
499
  },
500
500
  "returnParameters": {
501
501
  "id": 17292,
@@ -506,10 +506,10 @@
506
506
  "id": 17291,
507
507
  "mutability": "mutable",
508
508
  "name": "cbdata",
509
- "nameLocation": "1160:6:44",
509
+ "nameLocation": "1165:6:44",
510
510
  "nodeType": "VariableDeclaration",
511
511
  "scope": 17293,
512
- "src": "1147:19:44",
512
+ "src": "1152:19:44",
513
513
  "stateVariable": false,
514
514
  "storageLocation": "memory",
515
515
  "typeDescriptions": {
@@ -520,7 +520,7 @@
520
520
  "id": 17290,
521
521
  "name": "bytes",
522
522
  "nodeType": "ElementaryTypeName",
523
- "src": "1147:5:44",
523
+ "src": "1152:5:44",
524
524
  "typeDescriptions": {
525
525
  "typeIdentifier": "t_bytes_storage_ptr",
526
526
  "typeString": "bytes"
@@ -529,10 +529,10 @@
529
529
  "visibility": "internal"
530
530
  }
531
531
  ],
532
- "src": "1146:21:44"
532
+ "src": "1151:21:44"
533
533
  },
534
534
  "scope": 17385,
535
- "src": "903:265:44",
535
+ "src": "908:265:44",
536
536
  "stateMutability": "view",
537
537
  "virtual": false,
538
538
  "visibility": "external"
@@ -541,8 +541,8 @@
541
541
  "documentation": {
542
542
  "id": 17294,
543
543
  "nodeType": "StructuredDocumentation",
544
- "src": "1174:571:44",
545
- "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 NOTE:\n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
544
+ "src": "1179:579:44",
545
+ "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."
546
546
  },
547
547
  "functionSelector": "d86ed3e5",
548
548
  "id": 17312,
@@ -550,7 +550,7 @@
550
550
  "kind": "function",
551
551
  "modifiers": [],
552
552
  "name": "afterAgreementCreated",
553
- "nameLocation": "1759:21:44",
553
+ "nameLocation": "1772:21:44",
554
554
  "nodeType": "FunctionDefinition",
555
555
  "parameters": {
556
556
  "id": 17308,
@@ -561,10 +561,10 @@
561
561
  "id": 17297,
562
562
  "mutability": "mutable",
563
563
  "name": "superToken",
564
- "nameLocation": "1802:10:44",
564
+ "nameLocation": "1815:10:44",
565
565
  "nodeType": "VariableDeclaration",
566
566
  "scope": 17312,
567
- "src": "1790:22:44",
567
+ "src": "1803:22:44",
568
568
  "stateVariable": false,
569
569
  "storageLocation": "default",
570
570
  "typeDescriptions": {
@@ -579,10 +579,10 @@
579
579
  "name": "ISuperToken",
580
580
  "nodeType": "IdentifierPath",
581
581
  "referencedDeclaration": 17761,
582
- "src": "1790:11:44"
582
+ "src": "1803:11:44"
583
583
  },
584
584
  "referencedDeclaration": 17761,
585
- "src": "1790:11:44",
585
+ "src": "1803:11:44",
586
586
  "typeDescriptions": {
587
587
  "typeIdentifier": "t_contract$_ISuperToken_$17761",
588
588
  "typeString": "contract ISuperToken"
@@ -595,10 +595,10 @@
595
595
  "id": 17299,
596
596
  "mutability": "mutable",
597
597
  "name": "agreementClass",
598
- "nameLocation": "1830:14:44",
598
+ "nameLocation": "1843:14:44",
599
599
  "nodeType": "VariableDeclaration",
600
600
  "scope": 17312,
601
- "src": "1822:22:44",
601
+ "src": "1835:22:44",
602
602
  "stateVariable": false,
603
603
  "storageLocation": "default",
604
604
  "typeDescriptions": {
@@ -609,7 +609,7 @@
609
609
  "id": 17298,
610
610
  "name": "address",
611
611
  "nodeType": "ElementaryTypeName",
612
- "src": "1822:7:44",
612
+ "src": "1835:7:44",
613
613
  "stateMutability": "nonpayable",
614
614
  "typeDescriptions": {
615
615
  "typeIdentifier": "t_address",
@@ -623,10 +623,10 @@
623
623
  "id": 17301,
624
624
  "mutability": "mutable",
625
625
  "name": "agreementId",
626
- "nameLocation": "1862:11:44",
626
+ "nameLocation": "1875:11:44",
627
627
  "nodeType": "VariableDeclaration",
628
628
  "scope": 17312,
629
- "src": "1854:19:44",
629
+ "src": "1867:19:44",
630
630
  "stateVariable": false,
631
631
  "storageLocation": "default",
632
632
  "typeDescriptions": {
@@ -637,7 +637,7 @@
637
637
  "id": 17300,
638
638
  "name": "bytes32",
639
639
  "nodeType": "ElementaryTypeName",
640
- "src": "1854:7:44",
640
+ "src": "1867:7:44",
641
641
  "typeDescriptions": {
642
642
  "typeIdentifier": "t_bytes32",
643
643
  "typeString": "bytes32"
@@ -650,10 +650,10 @@
650
650
  "id": 17303,
651
651
  "mutability": "mutable",
652
652
  "name": "agreementData",
653
- "nameLocation": "1898:13:44",
653
+ "nameLocation": "1911:13:44",
654
654
  "nodeType": "VariableDeclaration",
655
655
  "scope": 17312,
656
- "src": "1883:28:44",
656
+ "src": "1896:28:44",
657
657
  "stateVariable": false,
658
658
  "storageLocation": "calldata",
659
659
  "typeDescriptions": {
@@ -664,7 +664,7 @@
664
664
  "id": 17302,
665
665
  "name": "bytes",
666
666
  "nodeType": "ElementaryTypeName",
667
- "src": "1883:5:44",
667
+ "src": "1896:5:44",
668
668
  "typeDescriptions": {
669
669
  "typeIdentifier": "t_bytes_storage_ptr",
670
670
  "typeString": "bytes"
@@ -677,10 +677,10 @@
677
677
  "id": 17305,
678
678
  "mutability": "mutable",
679
679
  "name": "cbdata",
680
- "nameLocation": "1936:6:44",
680
+ "nameLocation": "1949:6:44",
681
681
  "nodeType": "VariableDeclaration",
682
682
  "scope": 17312,
683
- "src": "1921:21:44",
683
+ "src": "1934:21:44",
684
684
  "stateVariable": false,
685
685
  "storageLocation": "calldata",
686
686
  "typeDescriptions": {
@@ -691,7 +691,7 @@
691
691
  "id": 17304,
692
692
  "name": "bytes",
693
693
  "nodeType": "ElementaryTypeName",
694
- "src": "1921:5:44",
694
+ "src": "1934:5:44",
695
695
  "typeDescriptions": {
696
696
  "typeIdentifier": "t_bytes_storage_ptr",
697
697
  "typeString": "bytes"
@@ -704,10 +704,10 @@
704
704
  "id": 17307,
705
705
  "mutability": "mutable",
706
706
  "name": "ctx",
707
- "nameLocation": "1967:3:44",
707
+ "nameLocation": "1980:3:44",
708
708
  "nodeType": "VariableDeclaration",
709
709
  "scope": 17312,
710
- "src": "1952:18:44",
710
+ "src": "1965:18:44",
711
711
  "stateVariable": false,
712
712
  "storageLocation": "calldata",
713
713
  "typeDescriptions": {
@@ -718,7 +718,7 @@
718
718
  "id": 17306,
719
719
  "name": "bytes",
720
720
  "nodeType": "ElementaryTypeName",
721
- "src": "1952:5:44",
721
+ "src": "1965:5:44",
722
722
  "typeDescriptions": {
723
723
  "typeIdentifier": "t_bytes_storage_ptr",
724
724
  "typeString": "bytes"
@@ -727,7 +727,7 @@
727
727
  "visibility": "internal"
728
728
  }
729
729
  ],
730
- "src": "1780:196:44"
730
+ "src": "1793:196:44"
731
731
  },
732
732
  "returnParameters": {
733
733
  "id": 17311,
@@ -738,10 +738,10 @@
738
738
  "id": 17310,
739
739
  "mutability": "mutable",
740
740
  "name": "newCtx",
741
- "nameLocation": "2024:6:44",
741
+ "nameLocation": "2037:6:44",
742
742
  "nodeType": "VariableDeclaration",
743
743
  "scope": 17312,
744
- "src": "2011:19:44",
744
+ "src": "2024:19:44",
745
745
  "stateVariable": false,
746
746
  "storageLocation": "memory",
747
747
  "typeDescriptions": {
@@ -752,7 +752,7 @@
752
752
  "id": 17309,
753
753
  "name": "bytes",
754
754
  "nodeType": "ElementaryTypeName",
755
- "src": "2011:5:44",
755
+ "src": "2024:5:44",
756
756
  "typeDescriptions": {
757
757
  "typeIdentifier": "t_bytes_storage_ptr",
758
758
  "typeString": "bytes"
@@ -761,10 +761,10 @@
761
761
  "visibility": "internal"
762
762
  }
763
763
  ],
764
- "src": "2010:21:44"
764
+ "src": "2023:21:44"
765
765
  },
766
766
  "scope": 17385,
767
- "src": "1750:282:44",
767
+ "src": "1763:282:44",
768
768
  "stateMutability": "nonpayable",
769
769
  "virtual": false,
770
770
  "visibility": "external"
@@ -773,8 +773,8 @@
773
773
  "documentation": {
774
774
  "id": 17313,
775
775
  "nodeType": "StructuredDocumentation",
776
- "src": "2038:622:44",
777
- "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 NOTE:\n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
776
+ "src": "2051:630:44",
777
+ "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."
778
778
  },
779
779
  "functionSelector": "884d1f40",
780
780
  "id": 17329,
@@ -782,7 +782,7 @@
782
782
  "kind": "function",
783
783
  "modifiers": [],
784
784
  "name": "beforeAgreementUpdated",
785
- "nameLocation": "2674:22:44",
785
+ "nameLocation": "2695:22:44",
786
786
  "nodeType": "FunctionDefinition",
787
787
  "parameters": {
788
788
  "id": 17325,
@@ -793,10 +793,10 @@
793
793
  "id": 17316,
794
794
  "mutability": "mutable",
795
795
  "name": "superToken",
796
- "nameLocation": "2718:10:44",
796
+ "nameLocation": "2739:10:44",
797
797
  "nodeType": "VariableDeclaration",
798
798
  "scope": 17329,
799
- "src": "2706:22:44",
799
+ "src": "2727:22:44",
800
800
  "stateVariable": false,
801
801
  "storageLocation": "default",
802
802
  "typeDescriptions": {
@@ -811,10 +811,10 @@
811
811
  "name": "ISuperToken",
812
812
  "nodeType": "IdentifierPath",
813
813
  "referencedDeclaration": 17761,
814
- "src": "2706:11:44"
814
+ "src": "2727:11:44"
815
815
  },
816
816
  "referencedDeclaration": 17761,
817
- "src": "2706:11:44",
817
+ "src": "2727:11:44",
818
818
  "typeDescriptions": {
819
819
  "typeIdentifier": "t_contract$_ISuperToken_$17761",
820
820
  "typeString": "contract ISuperToken"
@@ -827,10 +827,10 @@
827
827
  "id": 17318,
828
828
  "mutability": "mutable",
829
829
  "name": "agreementClass",
830
- "nameLocation": "2746:14:44",
830
+ "nameLocation": "2767:14:44",
831
831
  "nodeType": "VariableDeclaration",
832
832
  "scope": 17329,
833
- "src": "2738:22:44",
833
+ "src": "2759:22:44",
834
834
  "stateVariable": false,
835
835
  "storageLocation": "default",
836
836
  "typeDescriptions": {
@@ -841,7 +841,7 @@
841
841
  "id": 17317,
842
842
  "name": "address",
843
843
  "nodeType": "ElementaryTypeName",
844
- "src": "2738:7:44",
844
+ "src": "2759:7:44",
845
845
  "stateMutability": "nonpayable",
846
846
  "typeDescriptions": {
847
847
  "typeIdentifier": "t_address",
@@ -855,10 +855,10 @@
855
855
  "id": 17320,
856
856
  "mutability": "mutable",
857
857
  "name": "agreementId",
858
- "nameLocation": "2778:11:44",
858
+ "nameLocation": "2799:11:44",
859
859
  "nodeType": "VariableDeclaration",
860
860
  "scope": 17329,
861
- "src": "2770:19:44",
861
+ "src": "2791:19:44",
862
862
  "stateVariable": false,
863
863
  "storageLocation": "default",
864
864
  "typeDescriptions": {
@@ -869,7 +869,7 @@
869
869
  "id": 17319,
870
870
  "name": "bytes32",
871
871
  "nodeType": "ElementaryTypeName",
872
- "src": "2770:7:44",
872
+ "src": "2791:7:44",
873
873
  "typeDescriptions": {
874
874
  "typeIdentifier": "t_bytes32",
875
875
  "typeString": "bytes32"
@@ -882,10 +882,10 @@
882
882
  "id": 17322,
883
883
  "mutability": "mutable",
884
884
  "name": "agreementData",
885
- "nameLocation": "2814:13:44",
885
+ "nameLocation": "2835:13:44",
886
886
  "nodeType": "VariableDeclaration",
887
887
  "scope": 17329,
888
- "src": "2799:28:44",
888
+ "src": "2820:28:44",
889
889
  "stateVariable": false,
890
890
  "storageLocation": "calldata",
891
891
  "typeDescriptions": {
@@ -896,7 +896,7 @@
896
896
  "id": 17321,
897
897
  "name": "bytes",
898
898
  "nodeType": "ElementaryTypeName",
899
- "src": "2799:5:44",
899
+ "src": "2820:5:44",
900
900
  "typeDescriptions": {
901
901
  "typeIdentifier": "t_bytes_storage_ptr",
902
902
  "typeString": "bytes"
@@ -909,10 +909,10 @@
909
909
  "id": 17324,
910
910
  "mutability": "mutable",
911
911
  "name": "ctx",
912
- "nameLocation": "2852:3:44",
912
+ "nameLocation": "2873:3:44",
913
913
  "nodeType": "VariableDeclaration",
914
914
  "scope": 17329,
915
- "src": "2837:18:44",
915
+ "src": "2858:18:44",
916
916
  "stateVariable": false,
917
917
  "storageLocation": "calldata",
918
918
  "typeDescriptions": {
@@ -923,7 +923,7 @@
923
923
  "id": 17323,
924
924
  "name": "bytes",
925
925
  "nodeType": "ElementaryTypeName",
926
- "src": "2837:5:44",
926
+ "src": "2858:5:44",
927
927
  "typeDescriptions": {
928
928
  "typeIdentifier": "t_bytes_storage_ptr",
929
929
  "typeString": "bytes"
@@ -932,7 +932,7 @@
932
932
  "visibility": "internal"
933
933
  }
934
934
  ],
935
- "src": "2696:165:44"
935
+ "src": "2717:165:44"
936
936
  },
937
937
  "returnParameters": {
938
938
  "id": 17328,
@@ -943,10 +943,10 @@
943
943
  "id": 17327,
944
944
  "mutability": "mutable",
945
945
  "name": "cbdata",
946
- "nameLocation": "2922:6:44",
946
+ "nameLocation": "2943:6:44",
947
947
  "nodeType": "VariableDeclaration",
948
948
  "scope": 17329,
949
- "src": "2909:19:44",
949
+ "src": "2930:19:44",
950
950
  "stateVariable": false,
951
951
  "storageLocation": "memory",
952
952
  "typeDescriptions": {
@@ -957,7 +957,7 @@
957
957
  "id": 17326,
958
958
  "name": "bytes",
959
959
  "nodeType": "ElementaryTypeName",
960
- "src": "2909:5:44",
960
+ "src": "2930:5:44",
961
961
  "typeDescriptions": {
962
962
  "typeIdentifier": "t_bytes_storage_ptr",
963
963
  "typeString": "bytes"
@@ -966,10 +966,10 @@
966
966
  "visibility": "internal"
967
967
  }
968
968
  ],
969
- "src": "2908:21:44"
969
+ "src": "2929:21:44"
970
970
  },
971
971
  "scope": 17385,
972
- "src": "2665:265:44",
972
+ "src": "2686:265:44",
973
973
  "stateMutability": "view",
974
974
  "virtual": false,
975
975
  "visibility": "external"
@@ -978,8 +978,8 @@
978
978
  "documentation": {
979
979
  "id": 17330,
980
980
  "nodeType": "StructuredDocumentation",
981
- "src": "2937:558:44",
982
- "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 NOTE:\n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
981
+ "src": "2958:566:44",
982
+ "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."
983
983
  },
984
984
  "functionSelector": "230dbd29",
985
985
  "id": 17348,
@@ -987,7 +987,7 @@
987
987
  "kind": "function",
988
988
  "modifiers": [],
989
989
  "name": "afterAgreementUpdated",
990
- "nameLocation": "3509:21:44",
990
+ "nameLocation": "3538:21:44",
991
991
  "nodeType": "FunctionDefinition",
992
992
  "parameters": {
993
993
  "id": 17344,
@@ -998,10 +998,10 @@
998
998
  "id": 17333,
999
999
  "mutability": "mutable",
1000
1000
  "name": "superToken",
1001
- "nameLocation": "3552:10:44",
1001
+ "nameLocation": "3581:10:44",
1002
1002
  "nodeType": "VariableDeclaration",
1003
1003
  "scope": 17348,
1004
- "src": "3540:22:44",
1004
+ "src": "3569:22:44",
1005
1005
  "stateVariable": false,
1006
1006
  "storageLocation": "default",
1007
1007
  "typeDescriptions": {
@@ -1016,10 +1016,10 @@
1016
1016
  "name": "ISuperToken",
1017
1017
  "nodeType": "IdentifierPath",
1018
1018
  "referencedDeclaration": 17761,
1019
- "src": "3540:11:44"
1019
+ "src": "3569:11:44"
1020
1020
  },
1021
1021
  "referencedDeclaration": 17761,
1022
- "src": "3540:11:44",
1022
+ "src": "3569:11:44",
1023
1023
  "typeDescriptions": {
1024
1024
  "typeIdentifier": "t_contract$_ISuperToken_$17761",
1025
1025
  "typeString": "contract ISuperToken"
@@ -1032,10 +1032,10 @@
1032
1032
  "id": 17335,
1033
1033
  "mutability": "mutable",
1034
1034
  "name": "agreementClass",
1035
- "nameLocation": "3580:14:44",
1035
+ "nameLocation": "3609:14:44",
1036
1036
  "nodeType": "VariableDeclaration",
1037
1037
  "scope": 17348,
1038
- "src": "3572:22:44",
1038
+ "src": "3601:22:44",
1039
1039
  "stateVariable": false,
1040
1040
  "storageLocation": "default",
1041
1041
  "typeDescriptions": {
@@ -1046,7 +1046,7 @@
1046
1046
  "id": 17334,
1047
1047
  "name": "address",
1048
1048
  "nodeType": "ElementaryTypeName",
1049
- "src": "3572:7:44",
1049
+ "src": "3601:7:44",
1050
1050
  "stateMutability": "nonpayable",
1051
1051
  "typeDescriptions": {
1052
1052
  "typeIdentifier": "t_address",
@@ -1060,10 +1060,10 @@
1060
1060
  "id": 17337,
1061
1061
  "mutability": "mutable",
1062
1062
  "name": "agreementId",
1063
- "nameLocation": "3612:11:44",
1063
+ "nameLocation": "3641:11:44",
1064
1064
  "nodeType": "VariableDeclaration",
1065
1065
  "scope": 17348,
1066
- "src": "3604:19:44",
1066
+ "src": "3633:19:44",
1067
1067
  "stateVariable": false,
1068
1068
  "storageLocation": "default",
1069
1069
  "typeDescriptions": {
@@ -1074,7 +1074,7 @@
1074
1074
  "id": 17336,
1075
1075
  "name": "bytes32",
1076
1076
  "nodeType": "ElementaryTypeName",
1077
- "src": "3604:7:44",
1077
+ "src": "3633:7:44",
1078
1078
  "typeDescriptions": {
1079
1079
  "typeIdentifier": "t_bytes32",
1080
1080
  "typeString": "bytes32"
@@ -1087,10 +1087,10 @@
1087
1087
  "id": 17339,
1088
1088
  "mutability": "mutable",
1089
1089
  "name": "agreementData",
1090
- "nameLocation": "3648:13:44",
1090
+ "nameLocation": "3677:13:44",
1091
1091
  "nodeType": "VariableDeclaration",
1092
1092
  "scope": 17348,
1093
- "src": "3633:28:44",
1093
+ "src": "3662:28:44",
1094
1094
  "stateVariable": false,
1095
1095
  "storageLocation": "calldata",
1096
1096
  "typeDescriptions": {
@@ -1101,7 +1101,7 @@
1101
1101
  "id": 17338,
1102
1102
  "name": "bytes",
1103
1103
  "nodeType": "ElementaryTypeName",
1104
- "src": "3633:5:44",
1104
+ "src": "3662:5:44",
1105
1105
  "typeDescriptions": {
1106
1106
  "typeIdentifier": "t_bytes_storage_ptr",
1107
1107
  "typeString": "bytes"
@@ -1114,10 +1114,10 @@
1114
1114
  "id": 17341,
1115
1115
  "mutability": "mutable",
1116
1116
  "name": "cbdata",
1117
- "nameLocation": "3686:6:44",
1117
+ "nameLocation": "3715:6:44",
1118
1118
  "nodeType": "VariableDeclaration",
1119
1119
  "scope": 17348,
1120
- "src": "3671:21:44",
1120
+ "src": "3700:21:44",
1121
1121
  "stateVariable": false,
1122
1122
  "storageLocation": "calldata",
1123
1123
  "typeDescriptions": {
@@ -1128,7 +1128,7 @@
1128
1128
  "id": 17340,
1129
1129
  "name": "bytes",
1130
1130
  "nodeType": "ElementaryTypeName",
1131
- "src": "3671:5:44",
1131
+ "src": "3700:5:44",
1132
1132
  "typeDescriptions": {
1133
1133
  "typeIdentifier": "t_bytes_storage_ptr",
1134
1134
  "typeString": "bytes"
@@ -1141,10 +1141,10 @@
1141
1141
  "id": 17343,
1142
1142
  "mutability": "mutable",
1143
1143
  "name": "ctx",
1144
- "nameLocation": "3717:3:44",
1144
+ "nameLocation": "3746:3:44",
1145
1145
  "nodeType": "VariableDeclaration",
1146
1146
  "scope": 17348,
1147
- "src": "3702:18:44",
1147
+ "src": "3731:18:44",
1148
1148
  "stateVariable": false,
1149
1149
  "storageLocation": "calldata",
1150
1150
  "typeDescriptions": {
@@ -1155,7 +1155,7 @@
1155
1155
  "id": 17342,
1156
1156
  "name": "bytes",
1157
1157
  "nodeType": "ElementaryTypeName",
1158
- "src": "3702:5:44",
1158
+ "src": "3731:5:44",
1159
1159
  "typeDescriptions": {
1160
1160
  "typeIdentifier": "t_bytes_storage_ptr",
1161
1161
  "typeString": "bytes"
@@ -1164,7 +1164,7 @@
1164
1164
  "visibility": "internal"
1165
1165
  }
1166
1166
  ],
1167
- "src": "3530:196:44"
1167
+ "src": "3559:196:44"
1168
1168
  },
1169
1169
  "returnParameters": {
1170
1170
  "id": 17347,
@@ -1175,10 +1175,10 @@
1175
1175
  "id": 17346,
1176
1176
  "mutability": "mutable",
1177
1177
  "name": "newCtx",
1178
- "nameLocation": "3774:6:44",
1178
+ "nameLocation": "3803:6:44",
1179
1179
  "nodeType": "VariableDeclaration",
1180
1180
  "scope": 17348,
1181
- "src": "3761:19:44",
1181
+ "src": "3790:19:44",
1182
1182
  "stateVariable": false,
1183
1183
  "storageLocation": "memory",
1184
1184
  "typeDescriptions": {
@@ -1189,7 +1189,7 @@
1189
1189
  "id": 17345,
1190
1190
  "name": "bytes",
1191
1191
  "nodeType": "ElementaryTypeName",
1192
- "src": "3761:5:44",
1192
+ "src": "3790:5:44",
1193
1193
  "typeDescriptions": {
1194
1194
  "typeIdentifier": "t_bytes_storage_ptr",
1195
1195
  "typeString": "bytes"
@@ -1198,10 +1198,10 @@
1198
1198
  "visibility": "internal"
1199
1199
  }
1200
1200
  ],
1201
- "src": "3760:21:44"
1201
+ "src": "3789:21:44"
1202
1202
  },
1203
1203
  "scope": 17385,
1204
- "src": "3500:282:44",
1204
+ "src": "3529:282:44",
1205
1205
  "stateMutability": "nonpayable",
1206
1206
  "virtual": false,
1207
1207
  "visibility": "external"
@@ -1210,8 +1210,8 @@
1210
1210
  "documentation": {
1211
1211
  "id": 17349,
1212
1212
  "nodeType": "StructuredDocumentation",
1213
- "src": "3788:595:44",
1214
- "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\n arbitary information to the after-hook callback.\n NOTE:\n - It will be invoked with `staticcall`, no state changes are permitted.\n - Revert is not permitted."
1213
+ "src": "3817:588:44",
1214
+ "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 the after-hook callback.\n @custom:note \n - It will be invoked with `staticcall`, no state changes are permitted.\n - Revert is not permitted."
1215
1215
  },
1216
1216
  "functionSelector": "5f9e7d77",
1217
1217
  "id": 17365,
@@ -1219,7 +1219,7 @@
1219
1219
  "kind": "function",
1220
1220
  "modifiers": [],
1221
1221
  "name": "beforeAgreementTerminated",
1222
- "nameLocation": "4397:25:44",
1222
+ "nameLocation": "4419:25:44",
1223
1223
  "nodeType": "FunctionDefinition",
1224
1224
  "parameters": {
1225
1225
  "id": 17361,
@@ -1230,10 +1230,10 @@
1230
1230
  "id": 17352,
1231
1231
  "mutability": "mutable",
1232
1232
  "name": "superToken",
1233
- "nameLocation": "4444:10:44",
1233
+ "nameLocation": "4466:10:44",
1234
1234
  "nodeType": "VariableDeclaration",
1235
1235
  "scope": 17365,
1236
- "src": "4432:22:44",
1236
+ "src": "4454:22:44",
1237
1237
  "stateVariable": false,
1238
1238
  "storageLocation": "default",
1239
1239
  "typeDescriptions": {
@@ -1248,10 +1248,10 @@
1248
1248
  "name": "ISuperToken",
1249
1249
  "nodeType": "IdentifierPath",
1250
1250
  "referencedDeclaration": 17761,
1251
- "src": "4432:11:44"
1251
+ "src": "4454:11:44"
1252
1252
  },
1253
1253
  "referencedDeclaration": 17761,
1254
- "src": "4432:11:44",
1254
+ "src": "4454:11:44",
1255
1255
  "typeDescriptions": {
1256
1256
  "typeIdentifier": "t_contract$_ISuperToken_$17761",
1257
1257
  "typeString": "contract ISuperToken"
@@ -1264,10 +1264,10 @@
1264
1264
  "id": 17354,
1265
1265
  "mutability": "mutable",
1266
1266
  "name": "agreementClass",
1267
- "nameLocation": "4472:14:44",
1267
+ "nameLocation": "4494:14:44",
1268
1268
  "nodeType": "VariableDeclaration",
1269
1269
  "scope": 17365,
1270
- "src": "4464:22:44",
1270
+ "src": "4486:22:44",
1271
1271
  "stateVariable": false,
1272
1272
  "storageLocation": "default",
1273
1273
  "typeDescriptions": {
@@ -1278,7 +1278,7 @@
1278
1278
  "id": 17353,
1279
1279
  "name": "address",
1280
1280
  "nodeType": "ElementaryTypeName",
1281
- "src": "4464:7:44",
1281
+ "src": "4486:7:44",
1282
1282
  "stateMutability": "nonpayable",
1283
1283
  "typeDescriptions": {
1284
1284
  "typeIdentifier": "t_address",
@@ -1292,10 +1292,10 @@
1292
1292
  "id": 17356,
1293
1293
  "mutability": "mutable",
1294
1294
  "name": "agreementId",
1295
- "nameLocation": "4504:11:44",
1295
+ "nameLocation": "4526:11:44",
1296
1296
  "nodeType": "VariableDeclaration",
1297
1297
  "scope": 17365,
1298
- "src": "4496:19:44",
1298
+ "src": "4518:19:44",
1299
1299
  "stateVariable": false,
1300
1300
  "storageLocation": "default",
1301
1301
  "typeDescriptions": {
@@ -1306,7 +1306,7 @@
1306
1306
  "id": 17355,
1307
1307
  "name": "bytes32",
1308
1308
  "nodeType": "ElementaryTypeName",
1309
- "src": "4496:7:44",
1309
+ "src": "4518:7:44",
1310
1310
  "typeDescriptions": {
1311
1311
  "typeIdentifier": "t_bytes32",
1312
1312
  "typeString": "bytes32"
@@ -1319,10 +1319,10 @@
1319
1319
  "id": 17358,
1320
1320
  "mutability": "mutable",
1321
1321
  "name": "agreementData",
1322
- "nameLocation": "4540:13:44",
1322
+ "nameLocation": "4562:13:44",
1323
1323
  "nodeType": "VariableDeclaration",
1324
1324
  "scope": 17365,
1325
- "src": "4525:28:44",
1325
+ "src": "4547:28:44",
1326
1326
  "stateVariable": false,
1327
1327
  "storageLocation": "calldata",
1328
1328
  "typeDescriptions": {
@@ -1333,7 +1333,7 @@
1333
1333
  "id": 17357,
1334
1334
  "name": "bytes",
1335
1335
  "nodeType": "ElementaryTypeName",
1336
- "src": "4525:5:44",
1336
+ "src": "4547:5:44",
1337
1337
  "typeDescriptions": {
1338
1338
  "typeIdentifier": "t_bytes_storage_ptr",
1339
1339
  "typeString": "bytes"
@@ -1346,10 +1346,10 @@
1346
1346
  "id": 17360,
1347
1347
  "mutability": "mutable",
1348
1348
  "name": "ctx",
1349
- "nameLocation": "4578:3:44",
1349
+ "nameLocation": "4600:3:44",
1350
1350
  "nodeType": "VariableDeclaration",
1351
1351
  "scope": 17365,
1352
- "src": "4563:18:44",
1352
+ "src": "4585:18:44",
1353
1353
  "stateVariable": false,
1354
1354
  "storageLocation": "calldata",
1355
1355
  "typeDescriptions": {
@@ -1360,7 +1360,7 @@
1360
1360
  "id": 17359,
1361
1361
  "name": "bytes",
1362
1362
  "nodeType": "ElementaryTypeName",
1363
- "src": "4563:5:44",
1363
+ "src": "4585:5:44",
1364
1364
  "typeDescriptions": {
1365
1365
  "typeIdentifier": "t_bytes_storage_ptr",
1366
1366
  "typeString": "bytes"
@@ -1369,7 +1369,7 @@
1369
1369
  "visibility": "internal"
1370
1370
  }
1371
1371
  ],
1372
- "src": "4422:165:44"
1372
+ "src": "4444:165:44"
1373
1373
  },
1374
1374
  "returnParameters": {
1375
1375
  "id": 17364,
@@ -1380,10 +1380,10 @@
1380
1380
  "id": 17363,
1381
1381
  "mutability": "mutable",
1382
1382
  "name": "cbdata",
1383
- "nameLocation": "4648:6:44",
1383
+ "nameLocation": "4670:6:44",
1384
1384
  "nodeType": "VariableDeclaration",
1385
1385
  "scope": 17365,
1386
- "src": "4635:19:44",
1386
+ "src": "4657:19:44",
1387
1387
  "stateVariable": false,
1388
1388
  "storageLocation": "memory",
1389
1389
  "typeDescriptions": {
@@ -1394,7 +1394,7 @@
1394
1394
  "id": 17362,
1395
1395
  "name": "bytes",
1396
1396
  "nodeType": "ElementaryTypeName",
1397
- "src": "4635:5:44",
1397
+ "src": "4657:5:44",
1398
1398
  "typeDescriptions": {
1399
1399
  "typeIdentifier": "t_bytes_storage_ptr",
1400
1400
  "typeString": "bytes"
@@ -1403,10 +1403,10 @@
1403
1403
  "visibility": "internal"
1404
1404
  }
1405
1405
  ],
1406
- "src": "4634:21:44"
1406
+ "src": "4656:21:44"
1407
1407
  },
1408
1408
  "scope": 17385,
1409
- "src": "4388:268:44",
1409
+ "src": "4410:268:44",
1410
1410
  "stateMutability": "view",
1411
1411
  "virtual": false,
1412
1412
  "visibility": "external"
@@ -1415,8 +1415,8 @@
1415
1415
  "documentation": {
1416
1416
  "id": 17366,
1417
1417
  "nodeType": "StructuredDocumentation",
1418
- "src": "4662:544:44",
1419
- "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 NOTE:\n - State changes is permitted.\n - Revert is not permitted."
1418
+ "src": "4684:552:44",
1419
+ "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."
1420
1420
  },
1421
1421
  "functionSelector": "53c11f99",
1422
1422
  "id": 17384,
@@ -1424,7 +1424,7 @@
1424
1424
  "kind": "function",
1425
1425
  "modifiers": [],
1426
1426
  "name": "afterAgreementTerminated",
1427
- "nameLocation": "5220:24:44",
1427
+ "nameLocation": "5250:24:44",
1428
1428
  "nodeType": "FunctionDefinition",
1429
1429
  "parameters": {
1430
1430
  "id": 17380,
@@ -1435,10 +1435,10 @@
1435
1435
  "id": 17369,
1436
1436
  "mutability": "mutable",
1437
1437
  "name": "superToken",
1438
- "nameLocation": "5266:10:44",
1438
+ "nameLocation": "5296:10:44",
1439
1439
  "nodeType": "VariableDeclaration",
1440
1440
  "scope": 17384,
1441
- "src": "5254:22:44",
1441
+ "src": "5284:22:44",
1442
1442
  "stateVariable": false,
1443
1443
  "storageLocation": "default",
1444
1444
  "typeDescriptions": {
@@ -1453,10 +1453,10 @@
1453
1453
  "name": "ISuperToken",
1454
1454
  "nodeType": "IdentifierPath",
1455
1455
  "referencedDeclaration": 17761,
1456
- "src": "5254:11:44"
1456
+ "src": "5284:11:44"
1457
1457
  },
1458
1458
  "referencedDeclaration": 17761,
1459
- "src": "5254:11:44",
1459
+ "src": "5284:11:44",
1460
1460
  "typeDescriptions": {
1461
1461
  "typeIdentifier": "t_contract$_ISuperToken_$17761",
1462
1462
  "typeString": "contract ISuperToken"
@@ -1469,10 +1469,10 @@
1469
1469
  "id": 17371,
1470
1470
  "mutability": "mutable",
1471
1471
  "name": "agreementClass",
1472
- "nameLocation": "5294:14:44",
1472
+ "nameLocation": "5324:14:44",
1473
1473
  "nodeType": "VariableDeclaration",
1474
1474
  "scope": 17384,
1475
- "src": "5286:22:44",
1475
+ "src": "5316:22:44",
1476
1476
  "stateVariable": false,
1477
1477
  "storageLocation": "default",
1478
1478
  "typeDescriptions": {
@@ -1483,7 +1483,7 @@
1483
1483
  "id": 17370,
1484
1484
  "name": "address",
1485
1485
  "nodeType": "ElementaryTypeName",
1486
- "src": "5286:7:44",
1486
+ "src": "5316:7:44",
1487
1487
  "stateMutability": "nonpayable",
1488
1488
  "typeDescriptions": {
1489
1489
  "typeIdentifier": "t_address",
@@ -1497,10 +1497,10 @@
1497
1497
  "id": 17373,
1498
1498
  "mutability": "mutable",
1499
1499
  "name": "agreementId",
1500
- "nameLocation": "5326:11:44",
1500
+ "nameLocation": "5356:11:44",
1501
1501
  "nodeType": "VariableDeclaration",
1502
1502
  "scope": 17384,
1503
- "src": "5318:19:44",
1503
+ "src": "5348:19:44",
1504
1504
  "stateVariable": false,
1505
1505
  "storageLocation": "default",
1506
1506
  "typeDescriptions": {
@@ -1511,7 +1511,7 @@
1511
1511
  "id": 17372,
1512
1512
  "name": "bytes32",
1513
1513
  "nodeType": "ElementaryTypeName",
1514
- "src": "5318:7:44",
1514
+ "src": "5348:7:44",
1515
1515
  "typeDescriptions": {
1516
1516
  "typeIdentifier": "t_bytes32",
1517
1517
  "typeString": "bytes32"
@@ -1524,10 +1524,10 @@
1524
1524
  "id": 17375,
1525
1525
  "mutability": "mutable",
1526
1526
  "name": "agreementData",
1527
- "nameLocation": "5362:13:44",
1527
+ "nameLocation": "5392:13:44",
1528
1528
  "nodeType": "VariableDeclaration",
1529
1529
  "scope": 17384,
1530
- "src": "5347:28:44",
1530
+ "src": "5377:28:44",
1531
1531
  "stateVariable": false,
1532
1532
  "storageLocation": "calldata",
1533
1533
  "typeDescriptions": {
@@ -1538,7 +1538,7 @@
1538
1538
  "id": 17374,
1539
1539
  "name": "bytes",
1540
1540
  "nodeType": "ElementaryTypeName",
1541
- "src": "5347:5:44",
1541
+ "src": "5377:5:44",
1542
1542
  "typeDescriptions": {
1543
1543
  "typeIdentifier": "t_bytes_storage_ptr",
1544
1544
  "typeString": "bytes"
@@ -1551,10 +1551,10 @@
1551
1551
  "id": 17377,
1552
1552
  "mutability": "mutable",
1553
1553
  "name": "cbdata",
1554
- "nameLocation": "5400:6:44",
1554
+ "nameLocation": "5430:6:44",
1555
1555
  "nodeType": "VariableDeclaration",
1556
1556
  "scope": 17384,
1557
- "src": "5385:21:44",
1557
+ "src": "5415:21:44",
1558
1558
  "stateVariable": false,
1559
1559
  "storageLocation": "calldata",
1560
1560
  "typeDescriptions": {
@@ -1565,7 +1565,7 @@
1565
1565
  "id": 17376,
1566
1566
  "name": "bytes",
1567
1567
  "nodeType": "ElementaryTypeName",
1568
- "src": "5385:5:44",
1568
+ "src": "5415:5:44",
1569
1569
  "typeDescriptions": {
1570
1570
  "typeIdentifier": "t_bytes_storage_ptr",
1571
1571
  "typeString": "bytes"
@@ -1578,10 +1578,10 @@
1578
1578
  "id": 17379,
1579
1579
  "mutability": "mutable",
1580
1580
  "name": "ctx",
1581
- "nameLocation": "5431:3:44",
1581
+ "nameLocation": "5461:3:44",
1582
1582
  "nodeType": "VariableDeclaration",
1583
1583
  "scope": 17384,
1584
- "src": "5416:18:44",
1584
+ "src": "5446:18:44",
1585
1585
  "stateVariable": false,
1586
1586
  "storageLocation": "calldata",
1587
1587
  "typeDescriptions": {
@@ -1592,7 +1592,7 @@
1592
1592
  "id": 17378,
1593
1593
  "name": "bytes",
1594
1594
  "nodeType": "ElementaryTypeName",
1595
- "src": "5416:5:44",
1595
+ "src": "5446:5:44",
1596
1596
  "typeDescriptions": {
1597
1597
  "typeIdentifier": "t_bytes_storage_ptr",
1598
1598
  "typeString": "bytes"
@@ -1601,7 +1601,7 @@
1601
1601
  "visibility": "internal"
1602
1602
  }
1603
1603
  ],
1604
- "src": "5244:196:44"
1604
+ "src": "5274:196:44"
1605
1605
  },
1606
1606
  "returnParameters": {
1607
1607
  "id": 17383,
@@ -1612,10 +1612,10 @@
1612
1612
  "id": 17382,
1613
1613
  "mutability": "mutable",
1614
1614
  "name": "newCtx",
1615
- "nameLocation": "5488:6:44",
1615
+ "nameLocation": "5518:6:44",
1616
1616
  "nodeType": "VariableDeclaration",
1617
1617
  "scope": 17384,
1618
- "src": "5475:19:44",
1618
+ "src": "5505:19:44",
1619
1619
  "stateVariable": false,
1620
1620
  "storageLocation": "memory",
1621
1621
  "typeDescriptions": {
@@ -1626,7 +1626,7 @@
1626
1626
  "id": 17381,
1627
1627
  "name": "bytes",
1628
1628
  "nodeType": "ElementaryTypeName",
1629
- "src": "5475:5:44",
1629
+ "src": "5505:5:44",
1630
1630
  "typeDescriptions": {
1631
1631
  "typeIdentifier": "t_bytes_storage_ptr",
1632
1632
  "typeString": "bytes"
@@ -1635,35 +1635,36 @@
1635
1635
  "visibility": "internal"
1636
1636
  }
1637
1637
  ],
1638
- "src": "5474:21:44"
1638
+ "src": "5504:21:44"
1639
1639
  },
1640
1640
  "scope": 17385,
1641
- "src": "5211:285:44",
1641
+ "src": "5241:285:44",
1642
1642
  "stateMutability": "nonpayable",
1643
1643
  "virtual": false,
1644
1644
  "visibility": "external"
1645
1645
  }
1646
1646
  ],
1647
1647
  "scope": 17386,
1648
- "src": "249:5249:44",
1648
+ "src": "246:5282:44",
1649
1649
  "usedErrors": []
1650
1650
  }
1651
1651
  ],
1652
- "src": "35:5464:44"
1652
+ "src": "35:5494:44"
1653
1653
  },
1654
1654
  "compiler": {
1655
1655
  "name": "solc",
1656
- "version": "0.8.13+commit.abaa5c0e.Emscripten.clang"
1656
+ "version": "0.8.14+commit.80d49f37.Emscripten.clang"
1657
1657
  },
1658
1658
  "networks": {},
1659
1659
  "schemaVersion": "3.4.7",
1660
- "updatedAt": "2022-06-03T09:45:13.992Z",
1660
+ "updatedAt": "2022-06-20T11:32:29.695Z",
1661
1661
  "devdoc": {
1662
1662
  "author": "Superfluid",
1663
1663
  "details": "Be aware of the app being jailed, when the word permitted is used.",
1664
1664
  "kind": "dev",
1665
1665
  "methods": {
1666
1666
  "afterAgreementCreated(address,address,bytes32,bytes,bytes,bytes)": {
1667
+ "custom:note": " - State changes is permitted. - Only revert with a \"reason\" is permitted.",
1667
1668
  "details": "Callback after a new agreement is created.",
1668
1669
  "params": {
1669
1670
  "agreementClass": "The agreement class address.",
@@ -1674,10 +1675,11 @@
1674
1675
  "superToken": "The super token used for the agreement."
1675
1676
  },
1676
1677
  "returns": {
1677
- "newCtx": "The current context of the transaction. NOTE: - State changes is permitted. - Only revert with a \"reason\" is permitted."
1678
+ "newCtx": "The current context of the transaction."
1678
1679
  }
1679
1680
  },
1680
1681
  "afterAgreementTerminated(address,address,bytes32,bytes,bytes,bytes)": {
1682
+ "custom:note": " - State changes is permitted. - Revert is not permitted.",
1681
1683
  "details": "Callback after a new agreement is terminated.",
1682
1684
  "params": {
1683
1685
  "agreementClass": "The agreement class address.",
@@ -1688,10 +1690,11 @@
1688
1690
  "superToken": "The super token used for the agreement."
1689
1691
  },
1690
1692
  "returns": {
1691
- "newCtx": "The current context of the transaction. NOTE: - State changes is permitted. - Revert is not permitted."
1693
+ "newCtx": "The current context of the transaction."
1692
1694
  }
1693
1695
  },
1694
1696
  "afterAgreementUpdated(address,address,bytes32,bytes,bytes,bytes)": {
1697
+ "custom:note": " - State changes is permitted. - Only revert with a \"reason\" is permitted.",
1695
1698
  "details": "Callback after a new agreement is updated.",
1696
1699
  "params": {
1697
1700
  "agreementClass": "The agreement class address.",
@@ -1702,10 +1705,11 @@
1702
1705
  "superToken": "The super token used for the agreement."
1703
1706
  },
1704
1707
  "returns": {
1705
- "newCtx": "The current context of the transaction. NOTE: - State changes is permitted. - Only revert with a \"reason\" is permitted."
1708
+ "newCtx": "The current context of the transaction."
1706
1709
  }
1707
1710
  },
1708
1711
  "beforeAgreementCreated(address,address,bytes32,bytes,bytes)": {
1712
+ "custom:note": " - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \"reason\" is permitted.",
1709
1713
  "details": "Callback before a new agreement is created.",
1710
1714
  "params": {
1711
1715
  "agreementClass": "The agreement class address.",
@@ -1715,10 +1719,11 @@
1715
1719
  "superToken": "The super token used for the agreement."
1716
1720
  },
1717
1721
  "returns": {
1718
- "cbdata": "A free format in memory data the app can use to pass arbitary information to the after-hook callback. NOTE: - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \"reason\" is permitted."
1722
+ "cbdata": "A free format in memory data the app can use to pass arbitary information to the after-hook callback."
1719
1723
  }
1720
1724
  },
1721
1725
  "beforeAgreementTerminated(address,address,bytes32,bytes,bytes)": {
1726
+ "custom:note": " - It will be invoked with `staticcall`, no state changes are permitted. - Revert is not permitted.",
1722
1727
  "details": "Callback before a new agreement is terminated.",
1723
1728
  "params": {
1724
1729
  "agreementClass": "The agreement class address.",
@@ -1728,10 +1733,11 @@
1728
1733
  "superToken": "The super token used for the agreement."
1729
1734
  },
1730
1735
  "returns": {
1731
- "cbdata": "A free format in memory data the app can use to pass arbitary information to the after-hook callback. NOTE: - It will be invoked with `staticcall`, no state changes are permitted. - Revert is not permitted."
1736
+ "cbdata": "A free format in memory data the app can use to pass arbitary information to the after-hook callback."
1732
1737
  }
1733
1738
  },
1734
1739
  "beforeAgreementUpdated(address,address,bytes32,bytes,bytes)": {
1740
+ "custom:note": " - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \"reason\" is permitted.",
1735
1741
  "details": "Callback before a new agreement is updated.",
1736
1742
  "params": {
1737
1743
  "agreementClass": "The agreement class address.",
@@ -1741,7 +1747,7 @@
1741
1747
  "superToken": "The super token used for the agreement."
1742
1748
  },
1743
1749
  "returns": {
1744
- "cbdata": "A free format in memory data the app can use to pass arbitary information to the after-hook callback. NOTE: - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \"reason\" is permitted."
1750
+ "cbdata": "A free format in memory data the app can use to pass arbitary information to the after-hook callback."
1745
1751
  }
1746
1752
  }
1747
1753
  },