@superfluid-finance/ethereum-contracts 1.2.1 → 1.2.2-dev.a4c583c.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 (114) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +18 -18
  5. package/build/contracts/AgreementLibrary.json +450 -243
  6. package/build/contracts/BaseRelayRecipient.json +112 -112
  7. package/build/contracts/BatchLiquidator.json +178 -178
  8. package/build/contracts/BatchOperation.json +1138 -1138
  9. package/build/contracts/CFAv1Library.json +2531 -2531
  10. package/build/contracts/CallUtils.json +478 -478
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
  12. package/build/contracts/ConstantFlowAgreementV1.json +19318 -18338
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +1138 -1138
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +31 -31
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC20.json +1 -1
  20. package/build/contracts/ERC20Burnable.json +1 -1
  21. package/build/contracts/ERC20Pausable.json +1 -1
  22. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  23. package/build/contracts/ERC20WithTokenInfo.json +36 -36
  24. package/build/contracts/ERC721.json +1 -1
  25. package/build/contracts/ERC777Helper.json +660 -660
  26. package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
  27. package/build/contracts/ERC777RecipientReverting.json +855 -855
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
  30. package/build/contracts/FixedSizeData.json +405 -405
  31. package/build/contracts/FlowExchangeTestApp.json +1522 -1522
  32. package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
  33. package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
  34. package/build/contracts/IAccessControl.json +1 -1
  35. package/build/contracts/IAccessControlEnumerable.json +1 -1
  36. package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
  37. package/build/contracts/IDAv1Library.json +4183 -4183
  38. package/build/contracts/IERC165.json +1 -1
  39. package/build/contracts/IERC1820Implementer.json +1 -1
  40. package/build/contracts/IERC1820Registry.json +1 -1
  41. package/build/contracts/IERC20.json +1 -1
  42. package/build/contracts/IERC20Metadata.json +1 -1
  43. package/build/contracts/IERC721.json +1 -1
  44. package/build/contracts/IERC721Metadata.json +1 -1
  45. package/build/contracts/IERC721Receiver.json +1 -1
  46. package/build/contracts/IERC777.json +1 -1
  47. package/build/contracts/IERC777Recipient.json +1 -1
  48. package/build/contracts/IERC777Sender.json +1 -1
  49. package/build/contracts/IInstantDistributionAgreementV1.json +1182 -1182
  50. package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
  51. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
  52. package/build/contracts/IMultiSigWallet.json +45 -45
  53. package/build/contracts/IPureSuperToken.json +69 -69
  54. package/build/contracts/IPureSuperTokenCustom.json +69 -69
  55. package/build/contracts/IRelayRecipient.json +49 -49
  56. package/build/contracts/IResolver.json +73 -73
  57. package/build/contracts/ISETH.json +79 -79
  58. package/build/contracts/ISETHCustom.json +79 -79
  59. package/build/contracts/ISuperAgreement.json +88 -88
  60. package/build/contracts/ISuperApp.json +351 -351
  61. package/build/contracts/ISuperToken.json +1008 -1008
  62. package/build/contracts/ISuperTokenFactory.json +280 -280
  63. package/build/contracts/ISuperfluid.json +1466 -1466
  64. package/build/contracts/ISuperfluidGovernance.json +404 -404
  65. package/build/contracts/ISuperfluidToken.json +774 -774
  66. package/build/contracts/ITOGAv1.json +1431 -1431
  67. package/build/contracts/ITOGAv2.json +1431 -1431
  68. package/build/contracts/Initializable.json +1 -1
  69. package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
  70. package/build/contracts/Int96SafeMath.json +504 -504
  71. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
  72. package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
  73. package/build/contracts/Ownable.json +1 -1
  74. package/build/contracts/Pausable.json +1 -1
  75. package/build/contracts/Proxy.json +1 -1
  76. package/build/contracts/PureSuperToken.json +106 -106
  77. package/build/contracts/Resolver.json +98 -98
  78. package/build/contracts/SETHProxy.json +224 -224
  79. package/build/contracts/SafeCast.json +1 -1
  80. package/build/contracts/SafeERC20.json +1 -1
  81. package/build/contracts/SafeMath.json +1 -1
  82. package/build/contracts/SelfDeletingFlowTestApp.json +1521 -1521
  83. package/build/contracts/SlotsBitmapLibrary.json +794 -794
  84. package/build/contracts/Strings.json +1 -1
  85. package/build/contracts/SuperAppBase.json +394 -394
  86. package/build/contracts/SuperAppDefinitions.json +1138 -1138
  87. package/build/contracts/SuperToken.json +2351 -2351
  88. package/build/contracts/SuperTokenFactory.json +731 -731
  89. package/build/contracts/SuperTokenFactoryBase.json +721 -721
  90. package/build/contracts/SuperTokenFactoryHelper.json +724 -724
  91. package/build/contracts/SuperUpgrader.json +437 -437
  92. package/build/contracts/Superfluid.json +4936 -4936
  93. package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
  94. package/build/contracts/SuperfluidGovernanceBase.json +3535 -3535
  95. package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
  96. package/build/contracts/SuperfluidGovernanceII.json +230 -230
  97. package/build/contracts/SuperfluidGovernanceIIProxy.json +211 -211
  98. package/build/contracts/SuperfluidLoader.json +207 -207
  99. package/build/contracts/SuperfluidToken.json +1345 -1345
  100. package/build/contracts/TOGA.json +1448 -1448
  101. package/build/contracts/TestGovernance.json +247 -247
  102. package/build/contracts/TestToken.json +94 -94
  103. package/build/contracts/TokenCustodian.json +214 -214
  104. package/build/contracts/TokenInfo.json +58 -58
  105. package/build/contracts/UInt128SafeMath.json +97 -97
  106. package/build/contracts/UUPSProxiable.json +132 -132
  107. package/build/contracts/UUPSProxy.json +81 -81
  108. package/build/contracts/UUPSUtils.json +37 -37
  109. package/build/contracts-sizes.txt +1 -2
  110. package/contracts/agreements/AgreementLibrary.sol +1 -0
  111. package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
  112. package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
  113. package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
  114. package/package.json +2 -1
@@ -1,45 +1,45 @@
1
1
  {
2
2
  "contractName": "AgreementLibrary",
3
3
  "abi": [],
4
- "metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"Helper library for building super agreement\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Agreement Library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/agreements/AgreementLibrary.sol\":\"AgreementLibrary\"},\"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\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]},\"project:/contracts/agreements/AgreementLibrary.sol\":{\"keccak256\":\"0x5e13526a65b40d5132b9fc1e07c04692c66027f5b07d9fe8b3013a8ecd7c7cc3\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://9fe8225dda0cadcb94bab2b1e5a60edcd87fdf0ae631a0475f9616aad66e12c2\",\"dweb:/ipfs/QmQWXwpHfdi8B6ByWzAGmF7xghRadFoRf4hMP7CV3EDZLj\"]},\"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\":\"0xc1007d1082050b532947d27973bf996da2b0df9bdf6ed4d4fcaaa3ff2354262c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://2d22da1d2140b1ed3964ddc62d3a38e9a24a8814c18ffe496f0fbce5afef5ea0\",\"dweb:/ipfs/QmYxVnaU87HSaQktkqCZZBFj3MgphgFsZMrMLXLeZLzrvR\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0x2166f766b7f61f9bb1376b0948efa0d0c0046b93dc301e51ce495203b145189b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://929630e6a15f523b142b2897783b2f7a54532ac5ae578bd17a0b7f25a6ca2bd8\",\"dweb:/ipfs/QmTu9ffH9qbQncJGEc24bmnoCGjifQ7BG47AYR8AzMLfXR\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x9189eaba9e856cc4932ea29eeaf4e89a09448dde13860591691ec122856fdc75\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7d5991b906bba706373f5bfe3c2c8789a7a45360a41eee50574272b393c4ab70\",\"dweb:/ipfs/QmVCXVnYA13vMNxa7rGzNB129sUXiGE1asuHdnEMEPVZsp\"]},\"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}",
5
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220be0b6316800f5b93cee875111ef933e4a4ef58ea3dec551364ae5a52704e0c4064736f6c634300080d0033",
6
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220be0b6316800f5b93cee875111ef933e4a4ef58ea3dec551364ae5a52704e0c4064736f6c634300080d0033",
4
+ "metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"Helper library for building super agreement\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Agreement Library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/agreements/AgreementLibrary.sol\":\"AgreementLibrary\"},\"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\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x5c6caab697d302ad7eb59c234a4d2dbc965c1bae87709bd2850060b7695b28c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb62abcee612c175f1b9bc70e5dfe5bd23473c99987ade6e80e291f68dc60ff1\",\"dweb:/ipfs/QmZCMajhG7FtRYNDwBchXN89mXR6HLPVzr9732qfUdNf9E\"]},\"project:/contracts/agreements/AgreementLibrary.sol\":{\"keccak256\":\"0x107ee59e59b54e9ee85997d135a9bfc97979eda1143c7b1b61b63959777bff91\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://1a235f5a0fc7a04143662a69279d513d2434eeb7d60afdcc57911dcfeef712e5\",\"dweb:/ipfs/QmbUDhcf9mizwLxyCttibMxEM9NUun4guT3Sc9vdEaSxAv\"]},\"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\":\"0xc1007d1082050b532947d27973bf996da2b0df9bdf6ed4d4fcaaa3ff2354262c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://2d22da1d2140b1ed3964ddc62d3a38e9a24a8814c18ffe496f0fbce5afef5ea0\",\"dweb:/ipfs/QmYxVnaU87HSaQktkqCZZBFj3MgphgFsZMrMLXLeZLzrvR\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0x2166f766b7f61f9bb1376b0948efa0d0c0046b93dc301e51ce495203b145189b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://929630e6a15f523b142b2897783b2f7a54532ac5ae578bd17a0b7f25a6ca2bd8\",\"dweb:/ipfs/QmTu9ffH9qbQncJGEc24bmnoCGjifQ7BG47AYR8AzMLfXR\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x9189eaba9e856cc4932ea29eeaf4e89a09448dde13860591691ec122856fdc75\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7d5991b906bba706373f5bfe3c2c8789a7a45360a41eee50574272b393c4ab70\",\"dweb:/ipfs/QmVCXVnYA13vMNxa7rGzNB129sUXiGE1asuHdnEMEPVZsp\"]},\"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}",
5
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220934a34f0152a4edbe8cff89a1158e919729309c785e0668d6d2c9ca301e7b46a64736f6c634300080d0033",
6
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220934a34f0152a4edbe8cff89a1158e919729309c785e0668d6d2c9ca301e7b46a64736f6c634300080d0033",
7
7
  "immutableReferences": {},
8
8
  "generatedSources": [],
9
9
  "deployedGeneratedSources": [],
10
- "sourceMap": "520:7023:35:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;520:7023:35;;;;;;;;;;;;;;;;;",
11
- "deployedSourceMap": "520:7023:35:-:0;;;;;;;;",
12
- "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport {\n ISuperfluidGovernance,\n ISuperfluid,\n ISuperfluidToken,\n ISuperApp,\n SuperAppDefinitions,\n ContextDefinitions\n} from \"../interfaces/superfluid/ISuperfluid.sol\";\nimport { ISuperfluidToken } from \"../interfaces/superfluid/ISuperfluidToken.sol\";\n\nimport { SafeCast } from \"@openzeppelin/contracts/utils/math/SafeCast.sol\";\n\n\n/**\n * @title Agreement Library\n * @author Superfluid\n * @dev Helper library for building super agreement\n */\nlibrary AgreementLibrary {\n\n using SafeCast for uint256;\n using SafeCast for int256;\n\n /**************************************************************************\n * Context helpers\n *************************************************************************/\n\n /**\n * @dev Authorize the msg.sender to access token agreement storage\n *\n * NOTE:\n * - msg.sender must be the expected host contract.\n * - it should revert on unauthorized access.\n */\n function authorizeTokenAccess(ISuperfluidToken token, bytes memory ctx)\n internal view\n returns (ISuperfluid.Context memory)\n {\n require(token.getHost() == msg.sender, \"unauthorized host\");\n require(ISuperfluid(msg.sender).isCtxValid(ctx), \"invalid ctx\");\n return ISuperfluid(msg.sender).decodeCtx(ctx);\n }\n\n /**************************************************************************\n * Agreement callback helpers\n *************************************************************************/\n\n struct CallbackInputs {\n ISuperfluidToken token;\n address account;\n bytes32 agreementId;\n bytes agreementData;\n uint256 appAllowanceGranted;\n int256 appAllowanceUsed;\n uint256 noopBit;\n }\n\n function createCallbackInputs(\n ISuperfluidToken token,\n address account,\n bytes32 agreementId,\n bytes memory agreementData\n )\n internal pure\n returns (CallbackInputs memory inputs)\n {\n inputs.token = token;\n inputs.account = account;\n inputs.agreementId = agreementId;\n inputs.agreementData = agreementData;\n }\n\n function callAppBeforeCallback(\n CallbackInputs memory inputs,\n bytes memory ctx\n )\n internal\n returns(bytes memory cbdata)\n {\n bool isSuperApp;\n bool isJailed;\n uint256 noopMask;\n (isSuperApp, isJailed, noopMask) = ISuperfluid(msg.sender).getAppManifest(ISuperApp(inputs.account));\n if (isSuperApp && !isJailed) {\n bytes memory appCtx = _pushCallbackStack(ctx, inputs);\n if ((noopMask & inputs.noopBit) == 0) {\n bytes memory callData = abi.encodeWithSelector(\n _selectorFromNoopBit(inputs.noopBit),\n inputs.token,\n address(this) /* agreementClass */,\n inputs.agreementId,\n inputs.agreementData,\n new bytes(0) // placeholder ctx\n );\n cbdata = ISuperfluid(msg.sender).callAppBeforeCallback(\n ISuperApp(inputs.account),\n callData,\n inputs.noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_TERMINATED_NOOP,\n appCtx);\n }\n // [SECURITY] NOTE: ctx should be const, do not modify it ever to ensure callback stack correctness\n _popCallbackStack(ctx, 0);\n }\n }\n\n function callAppAfterCallback(\n CallbackInputs memory inputs,\n bytes memory cbdata,\n bytes /* const */ memory ctx\n )\n internal\n returns (ISuperfluid.Context memory appContext, bytes memory newCtx)\n {\n bool isSuperApp;\n bool isJailed;\n uint256 noopMask;\n (isSuperApp, isJailed, noopMask) = ISuperfluid(msg.sender).getAppManifest(ISuperApp(inputs.account));\n\n newCtx = ctx;\n if (isSuperApp && !isJailed) {\n newCtx = _pushCallbackStack(newCtx, inputs);\n if ((noopMask & inputs.noopBit) == 0) {\n bytes memory callData = abi.encodeWithSelector(\n _selectorFromNoopBit(inputs.noopBit),\n inputs.token,\n address(this) /* agreementClass */,\n inputs.agreementId,\n inputs.agreementData,\n cbdata,\n new bytes(0) // placeholder ctx\n );\n newCtx = ISuperfluid(msg.sender).callAppAfterCallback(\n ISuperApp(inputs.account),\n callData,\n inputs.noopBit == SuperAppDefinitions.AFTER_AGREEMENT_TERMINATED_NOOP,\n newCtx);\n\n appContext = ISuperfluid(msg.sender).decodeCtx(newCtx);\n\n // adjust allowance used to the range [appAllowanceWanted..appAllowanceGranted]\n appContext.appAllowanceUsed = max(0, min(\n inputs.appAllowanceGranted.toInt256(),\n max(appContext.appAllowanceWanted.toInt256(), appContext.appAllowanceUsed)));\n\n }\n // [SECURITY] NOTE: ctx should be const, do not modify it ever to ensure callback stack correctness\n newCtx = _popCallbackStack(ctx, appContext.appAllowanceUsed);\n }\n }\n\n function _selectorFromNoopBit(uint256 noopBit)\n private pure\n returns (bytes4 selector)\n {\n if (noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_CREATED_NOOP) {\n return ISuperApp.beforeAgreementCreated.selector;\n } else if (noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_UPDATED_NOOP) {\n return ISuperApp.beforeAgreementUpdated.selector;\n } else if (noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_TERMINATED_NOOP) {\n return ISuperApp.beforeAgreementTerminated.selector;\n } else if (noopBit == SuperAppDefinitions.AFTER_AGREEMENT_CREATED_NOOP) {\n return ISuperApp.afterAgreementCreated.selector;\n } else if (noopBit == SuperAppDefinitions.AFTER_AGREEMENT_UPDATED_NOOP) {\n return ISuperApp.afterAgreementUpdated.selector;\n } else /* if (noopBit == SuperAppDefinitions.AFTER_AGREEMENT_TERMINATED_NOOP) */ {\n return ISuperApp.afterAgreementTerminated.selector;\n }\n }\n\n function _pushCallbackStack(\n bytes memory ctx,\n CallbackInputs memory inputs\n )\n private\n returns (bytes memory appCtx)\n {\n // app allowance params stack PUSH\n // pass app allowance and current allowance used to the app,\n appCtx = ISuperfluid(msg.sender).appCallbackPush(\n ctx,\n ISuperApp(inputs.account),\n inputs.appAllowanceGranted,\n inputs.appAllowanceUsed,\n inputs.token);\n }\n\n function _popCallbackStack(\n bytes memory ctx,\n int256 appAllowanceUsedDelta\n )\n private\n returns (bytes memory newCtx)\n {\n // app allowance params stack POP\n return ISuperfluid(msg.sender).appCallbackPop(ctx, appAllowanceUsedDelta);\n }\n\n /**************************************************************************\n * Misc\n *************************************************************************/\n\n function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; }\n\n function min(int256 a, int256 b) internal pure returns (int256) { return a > b ? b : a; }\n}\n",
10
+ "sourceMap": "520:7120:35:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;520:7120:35;;;;;;;;;;;;;;;;;",
11
+ "deployedSourceMap": "520:7120:35:-:0;;;;;;;;",
12
+ "source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport {\n ISuperfluidGovernance,\n ISuperfluid,\n ISuperfluidToken,\n ISuperApp,\n SuperAppDefinitions,\n ContextDefinitions\n} from \"../interfaces/superfluid/ISuperfluid.sol\";\nimport { ISuperfluidToken } from \"../interfaces/superfluid/ISuperfluidToken.sol\";\n\nimport { SafeCast } from \"@openzeppelin/contracts/utils/math/SafeCast.sol\";\n\n\n/**\n * @title Agreement Library\n * @author Superfluid\n * @dev Helper library for building super agreement\n */\nlibrary AgreementLibrary {\n\n using SafeCast for uint256;\n using SafeCast for int256;\n\n /**************************************************************************\n * Context helpers\n *************************************************************************/\n\n /**\n * @dev Authorize the msg.sender to access token agreement storage\n *\n * NOTE:\n * - msg.sender must be the expected host contract.\n * - it should revert on unauthorized access.\n */\n function authorizeTokenAccess(ISuperfluidToken token, bytes memory ctx)\n internal view\n returns (ISuperfluid.Context memory)\n {\n require(token.getHost() == msg.sender, \"unauthorized host\");\n require(ISuperfluid(msg.sender).isCtxValid(ctx), \"invalid ctx\");\n return ISuperfluid(msg.sender).decodeCtx(ctx);\n }\n\n /**************************************************************************\n * Agreement callback helpers\n *************************************************************************/\n\n struct CallbackInputs {\n ISuperfluidToken token;\n address account;\n bytes32 agreementId;\n bytes agreementData;\n uint256 appAllowanceGranted;\n int256 appAllowanceUsed;\n uint256 noopBit;\n }\n\n function createCallbackInputs(\n ISuperfluidToken token,\n address account,\n bytes32 agreementId,\n bytes memory agreementData\n )\n internal pure\n returns (CallbackInputs memory inputs)\n {\n inputs.token = token;\n inputs.account = account;\n inputs.agreementId = agreementId;\n inputs.agreementData = agreementData;\n }\n\n function callAppBeforeCallback(\n CallbackInputs memory inputs,\n bytes memory ctx\n )\n internal\n returns(bytes memory cbdata)\n {\n bool isSuperApp;\n bool isJailed;\n uint256 noopMask;\n (isSuperApp, isJailed, noopMask) = ISuperfluid(msg.sender).getAppManifest(ISuperApp(inputs.account));\n if (isSuperApp && !isJailed) {\n bytes memory appCtx = _pushCallbackStack(ctx, inputs);\n if ((noopMask & inputs.noopBit) == 0) {\n bytes memory callData = abi.encodeWithSelector(\n _selectorFromNoopBit(inputs.noopBit),\n inputs.token,\n address(this) /* agreementClass */,\n inputs.agreementId,\n inputs.agreementData,\n new bytes(0) // placeholder ctx\n );\n cbdata = ISuperfluid(msg.sender).callAppBeforeCallback(\n ISuperApp(inputs.account),\n callData,\n inputs.noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_TERMINATED_NOOP,\n appCtx);\n }\n // [SECURITY] NOTE: ctx should be const, do not modify it ever to ensure callback stack correctness\n _popCallbackStack(ctx, 0);\n }\n }\n\n function callAppAfterCallback(\n CallbackInputs memory inputs,\n bytes memory cbdata,\n bytes /* const */ memory ctx\n )\n internal\n returns (ISuperfluid.Context memory appContext, bytes memory newCtx)\n {\n bool isSuperApp;\n bool isJailed;\n uint256 noopMask;\n (isSuperApp, isJailed, noopMask) = ISuperfluid(msg.sender).getAppManifest(ISuperApp(inputs.account));\n\n newCtx = ctx;\n if (isSuperApp && !isJailed) {\n newCtx = _pushCallbackStack(newCtx, inputs);\n if ((noopMask & inputs.noopBit) == 0) {\n bytes memory callData = abi.encodeWithSelector(\n _selectorFromNoopBit(inputs.noopBit),\n inputs.token,\n address(this) /* agreementClass */,\n inputs.agreementId,\n inputs.agreementData,\n cbdata,\n new bytes(0) // placeholder ctx\n );\n newCtx = ISuperfluid(msg.sender).callAppAfterCallback(\n ISuperApp(inputs.account),\n callData,\n inputs.noopBit == SuperAppDefinitions.AFTER_AGREEMENT_TERMINATED_NOOP,\n newCtx);\n\n appContext = ISuperfluid(msg.sender).decodeCtx(newCtx);\n\n // adjust allowance used to the range [appAllowanceWanted..appAllowanceGranted]\n appContext.appAllowanceUsed = max(0, min(\n inputs.appAllowanceGranted.toInt256(),\n max(appContext.appAllowanceWanted.toInt256(), appContext.appAllowanceUsed)));\n\n }\n // [SECURITY] NOTE: ctx should be const, do not modify it ever to ensure callback stack correctness\n newCtx = _popCallbackStack(ctx, appContext.appAllowanceUsed);\n }\n }\n\n function _selectorFromNoopBit(uint256 noopBit)\n private pure\n returns (bytes4 selector)\n {\n if (noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_CREATED_NOOP) {\n return ISuperApp.beforeAgreementCreated.selector;\n } else if (noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_UPDATED_NOOP) {\n return ISuperApp.beforeAgreementUpdated.selector;\n } else if (noopBit == SuperAppDefinitions.BEFORE_AGREEMENT_TERMINATED_NOOP) {\n return ISuperApp.beforeAgreementTerminated.selector;\n } else if (noopBit == SuperAppDefinitions.AFTER_AGREEMENT_CREATED_NOOP) {\n return ISuperApp.afterAgreementCreated.selector;\n } else if (noopBit == SuperAppDefinitions.AFTER_AGREEMENT_UPDATED_NOOP) {\n return ISuperApp.afterAgreementUpdated.selector;\n } else /* if (noopBit == SuperAppDefinitions.AFTER_AGREEMENT_TERMINATED_NOOP) */ {\n return ISuperApp.afterAgreementTerminated.selector;\n }\n }\n\n function _pushCallbackStack(\n bytes memory ctx,\n CallbackInputs memory inputs\n )\n private\n returns (bytes memory appCtx)\n {\n // app allowance params stack PUSH\n // pass app allowance and current allowance used to the app,\n appCtx = ISuperfluid(msg.sender).appCallbackPush(\n ctx,\n ISuperApp(inputs.account),\n inputs.appAllowanceGranted,\n inputs.appAllowanceUsed,\n inputs.token);\n }\n\n function _popCallbackStack(\n bytes memory ctx,\n int256 appAllowanceUsedDelta\n )\n private\n returns (bytes memory newCtx)\n {\n // app allowance params stack POP\n return ISuperfluid(msg.sender).appCallbackPop(ctx, appAllowanceUsedDelta);\n }\n\n /**************************************************************************\n * Misc\n *************************************************************************/\n\n function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; }\n function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; }\n\n function min(int256 a, int256 b) internal pure returns (int256) { return a > b ? b : a; }\n}\n",
13
13
  "sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/agreements/AgreementLibrary.sol",
14
14
  "ast": {
15
15
  "absolutePath": "project:/contracts/agreements/AgreementLibrary.sol",
16
16
  "exportedSymbols": {
17
17
  "AgreementLibrary": [
18
- 5927
18
+ 5944
19
19
  ],
20
20
  "ContextDefinitions": [
21
- 17942
21
+ 17720
22
22
  ],
23
23
  "ISuperApp": [
24
- 18307
24
+ 18085
25
25
  ],
26
26
  "ISuperfluid": [
27
- 19246
27
+ 19024
28
28
  ],
29
29
  "ISuperfluidGovernance": [
30
- 19369
30
+ 19147
31
31
  ],
32
32
  "ISuperfluidToken": [
33
- 19643
33
+ 19421
34
34
  ],
35
35
  "SafeCast": [
36
36
  4435
37
37
  ],
38
38
  "SuperAppDefinitions": [
39
- 17866
39
+ 17644
40
40
  ]
41
41
  },
42
- "id": 5928,
42
+ "id": 5945,
43
43
  "license": "AGPLv3",
44
44
  "nodeType": "SourceUnit",
45
45
  "nodes": [
@@ -59,8 +59,8 @@
59
59
  "id": 5411,
60
60
  "nameLocation": "-1:-1:-1",
61
61
  "nodeType": "ImportDirective",
62
- "scope": 5928,
63
- "sourceUnit": 19247,
62
+ "scope": 5945,
63
+ "sourceUnit": 19025,
64
64
  "src": "60:188:35",
65
65
  "symbolAliases": [
66
66
  {
@@ -69,7 +69,7 @@
69
69
  "name": "ISuperfluidGovernance",
70
70
  "nodeType": "Identifier",
71
71
  "overloadedDeclarations": [],
72
- "referencedDeclaration": 19369,
72
+ "referencedDeclaration": 19147,
73
73
  "src": "73:21:35",
74
74
  "typeDescriptions": {}
75
75
  },
@@ -81,7 +81,7 @@
81
81
  "name": "ISuperfluid",
82
82
  "nodeType": "Identifier",
83
83
  "overloadedDeclarations": [],
84
- "referencedDeclaration": 19246,
84
+ "referencedDeclaration": 19024,
85
85
  "src": "100:11:35",
86
86
  "typeDescriptions": {}
87
87
  },
@@ -93,7 +93,7 @@
93
93
  "name": "ISuperfluidToken",
94
94
  "nodeType": "Identifier",
95
95
  "overloadedDeclarations": [],
96
- "referencedDeclaration": 19643,
96
+ "referencedDeclaration": 19421,
97
97
  "src": "117:16:35",
98
98
  "typeDescriptions": {}
99
99
  },
@@ -105,7 +105,7 @@
105
105
  "name": "ISuperApp",
106
106
  "nodeType": "Identifier",
107
107
  "overloadedDeclarations": [],
108
- "referencedDeclaration": 18307,
108
+ "referencedDeclaration": 18085,
109
109
  "src": "139:9:35",
110
110
  "typeDescriptions": {}
111
111
  },
@@ -117,7 +117,7 @@
117
117
  "name": "SuperAppDefinitions",
118
118
  "nodeType": "Identifier",
119
119
  "overloadedDeclarations": [],
120
- "referencedDeclaration": 17866,
120
+ "referencedDeclaration": 17644,
121
121
  "src": "154:19:35",
122
122
  "typeDescriptions": {}
123
123
  },
@@ -129,7 +129,7 @@
129
129
  "name": "ContextDefinitions",
130
130
  "nodeType": "Identifier",
131
131
  "overloadedDeclarations": [],
132
- "referencedDeclaration": 17942,
132
+ "referencedDeclaration": 17720,
133
133
  "src": "179:18:35",
134
134
  "typeDescriptions": {}
135
135
  },
@@ -144,8 +144,8 @@
144
144
  "id": 5413,
145
145
  "nameLocation": "-1:-1:-1",
146
146
  "nodeType": "ImportDirective",
147
- "scope": 5928,
148
- "sourceUnit": 19644,
147
+ "scope": 5945,
148
+ "sourceUnit": 19422,
149
149
  "src": "249:81:35",
150
150
  "symbolAliases": [
151
151
  {
@@ -154,7 +154,7 @@
154
154
  "name": "ISuperfluidToken",
155
155
  "nodeType": "Identifier",
156
156
  "overloadedDeclarations": [],
157
- "referencedDeclaration": 19643,
157
+ "referencedDeclaration": 19421,
158
158
  "src": "258:16:35",
159
159
  "typeDescriptions": {}
160
160
  },
@@ -169,7 +169,7 @@
169
169
  "id": 5415,
170
170
  "nameLocation": "-1:-1:-1",
171
171
  "nodeType": "ImportDirective",
172
- "scope": 5928,
172
+ "scope": 5945,
173
173
  "sourceUnit": 4436,
174
174
  "src": "332:75:35",
175
175
  "symbolAliases": [
@@ -201,9 +201,9 @@
201
201
  "text": " @title Agreement Library\n @author Superfluid\n @dev Helper library for building super agreement"
202
202
  },
203
203
  "fullyImplemented": true,
204
- "id": 5927,
204
+ "id": 5944,
205
205
  "linearizedBaseContracts": [
206
- 5927
206
+ 5944
207
207
  ],
208
208
  "name": "AgreementLibrary",
209
209
  "nameLocation": "528:16:35",
@@ -286,7 +286,7 @@
286
286
  "referencedDeclaration": 5426,
287
287
  "src": "1174:5:35",
288
288
  "typeDescriptions": {
289
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
289
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
290
290
  "typeString": "contract ISuperfluidToken"
291
291
  }
292
292
  },
@@ -297,7 +297,7 @@
297
297
  "lValueRequested": false,
298
298
  "memberName": "getHost",
299
299
  "nodeType": "MemberAccess",
300
- "referencedDeclaration": 19380,
300
+ "referencedDeclaration": 19158,
301
301
  "src": "1174:13:35",
302
302
  "typeDescriptions": {
303
303
  "typeIdentifier": "t_function_external_view$__$returns$_t_address_$",
@@ -479,10 +479,10 @@
479
479
  "name": "ISuperfluid",
480
480
  "nodeType": "Identifier",
481
481
  "overloadedDeclarations": [],
482
- "referencedDeclaration": 19246,
482
+ "referencedDeclaration": 19024,
483
483
  "src": "1243:11:35",
484
484
  "typeDescriptions": {
485
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
485
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
486
486
  "typeString": "type(contract ISuperfluid)"
487
487
  }
488
488
  },
@@ -497,7 +497,7 @@
497
497
  "src": "1243:23:35",
498
498
  "tryCall": false,
499
499
  "typeDescriptions": {
500
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
500
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
501
501
  "typeString": "contract ISuperfluid"
502
502
  }
503
503
  },
@@ -508,7 +508,7 @@
508
508
  "lValueRequested": false,
509
509
  "memberName": "isCtxValid",
510
510
  "nodeType": "MemberAccess",
511
- "referencedDeclaration": 19222,
511
+ "referencedDeclaration": 19000,
512
512
  "src": "1243:34:35",
513
513
  "typeDescriptions": {
514
514
  "typeIdentifier": "t_function_external_view$_t_bytes_memory_ptr_$returns$_t_bool_$",
@@ -654,10 +654,10 @@
654
654
  "name": "ISuperfluid",
655
655
  "nodeType": "Identifier",
656
656
  "overloadedDeclarations": [],
657
- "referencedDeclaration": 19246,
657
+ "referencedDeclaration": 19024,
658
658
  "src": "1315:11:35",
659
659
  "typeDescriptions": {
660
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
660
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
661
661
  "typeString": "type(contract ISuperfluid)"
662
662
  }
663
663
  },
@@ -672,7 +672,7 @@
672
672
  "src": "1315:23:35",
673
673
  "tryCall": false,
674
674
  "typeDescriptions": {
675
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
675
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
676
676
  "typeString": "contract ISuperfluid"
677
677
  }
678
678
  },
@@ -683,10 +683,10 @@
683
683
  "lValueRequested": false,
684
684
  "memberName": "decodeCtx",
685
685
  "nodeType": "MemberAccess",
686
- "referencedDeclaration": 19215,
686
+ "referencedDeclaration": 18993,
687
687
  "src": "1315:33:35",
688
688
  "typeDescriptions": {
689
- "typeIdentifier": "t_function_external_pure$_t_bytes_memory_ptr_$returns$_t_struct$_Context_$19179_memory_ptr_$",
689
+ "typeIdentifier": "t_function_external_pure$_t_bytes_memory_ptr_$returns$_t_struct$_Context_$18957_memory_ptr_$",
690
690
  "typeString": "function (bytes memory) pure external returns (struct ISuperfluid.Context memory)"
691
691
  }
692
692
  },
@@ -701,7 +701,7 @@
701
701
  "src": "1315:38:35",
702
702
  "tryCall": false,
703
703
  "typeDescriptions": {
704
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
704
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
705
705
  "typeString": "struct ISuperfluid.Context memory"
706
706
  }
707
707
  },
@@ -741,7 +741,7 @@
741
741
  "stateVariable": false,
742
742
  "storageLocation": "default",
743
743
  "typeDescriptions": {
744
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
744
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
745
745
  "typeString": "contract ISuperfluidToken"
746
746
  },
747
747
  "typeName": {
@@ -751,13 +751,13 @@
751
751
  "id": 5424,
752
752
  "name": "ISuperfluidToken",
753
753
  "nodeType": "IdentifierPath",
754
- "referencedDeclaration": 19643,
754
+ "referencedDeclaration": 19421,
755
755
  "src": "1043:16:35"
756
756
  },
757
- "referencedDeclaration": 19643,
757
+ "referencedDeclaration": 19421,
758
758
  "src": "1043:16:35",
759
759
  "typeDescriptions": {
760
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
760
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
761
761
  "typeString": "contract ISuperfluidToken"
762
762
  }
763
763
  },
@@ -809,7 +809,7 @@
809
809
  "stateVariable": false,
810
810
  "storageLocation": "memory",
811
811
  "typeDescriptions": {
812
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
812
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
813
813
  "typeString": "struct ISuperfluid.Context"
814
814
  },
815
815
  "typeName": {
@@ -819,13 +819,13 @@
819
819
  "id": 5430,
820
820
  "name": "ISuperfluid.Context",
821
821
  "nodeType": "IdentifierPath",
822
- "referencedDeclaration": 19179,
822
+ "referencedDeclaration": 18957,
823
823
  "src": "1124:19:35"
824
824
  },
825
- "referencedDeclaration": 19179,
825
+ "referencedDeclaration": 18957,
826
826
  "src": "1124:19:35",
827
827
  "typeDescriptions": {
828
- "typeIdentifier": "t_struct$_Context_$19179_storage_ptr",
828
+ "typeIdentifier": "t_struct$_Context_$18957_storage_ptr",
829
829
  "typeString": "struct ISuperfluid.Context"
830
830
  }
831
831
  },
@@ -834,7 +834,7 @@
834
834
  ],
835
835
  "src": "1123:28:35"
836
836
  },
837
- "scope": 5927,
837
+ "scope": 5944,
838
838
  "src": "1013:347:35",
839
839
  "stateMutability": "view",
840
840
  "virtual": false,
@@ -856,7 +856,7 @@
856
856
  "stateVariable": false,
857
857
  "storageLocation": "default",
858
858
  "typeDescriptions": {
859
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
859
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
860
860
  "typeString": "contract ISuperfluidToken"
861
861
  },
862
862
  "typeName": {
@@ -866,13 +866,13 @@
866
866
  "id": 5465,
867
867
  "name": "ISuperfluidToken",
868
868
  "nodeType": "IdentifierPath",
869
- "referencedDeclaration": 19643,
869
+ "referencedDeclaration": 19421,
870
870
  "src": "1593:16:35"
871
871
  },
872
- "referencedDeclaration": 19643,
872
+ "referencedDeclaration": 19421,
873
873
  "src": "1593:16:35",
874
874
  "typeDescriptions": {
875
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
875
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
876
876
  "typeString": "contract ISuperfluidToken"
877
877
  }
878
878
  },
@@ -1045,7 +1045,7 @@
1045
1045
  "name": "CallbackInputs",
1046
1046
  "nameLocation": "1568:14:35",
1047
1047
  "nodeType": "StructDefinition",
1048
- "scope": 5927,
1048
+ "scope": 5944,
1049
1049
  "src": "1561:239:35",
1050
1050
  "visibility": "public"
1051
1051
  },
@@ -1085,7 +1085,7 @@
1085
1085
  "referencedDeclaration": 5467,
1086
1086
  "src": "2045:12:35",
1087
1087
  "typeDescriptions": {
1088
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
1088
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
1089
1089
  "typeString": "contract ISuperfluidToken"
1090
1090
  }
1091
1091
  },
@@ -1099,13 +1099,13 @@
1099
1099
  "referencedDeclaration": 5483,
1100
1100
  "src": "2060:5:35",
1101
1101
  "typeDescriptions": {
1102
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
1102
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
1103
1103
  "typeString": "contract ISuperfluidToken"
1104
1104
  }
1105
1105
  },
1106
1106
  "src": "2045:20:35",
1107
1107
  "typeDescriptions": {
1108
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
1108
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
1109
1109
  "typeString": "contract ISuperfluidToken"
1110
1110
  }
1111
1111
  },
@@ -1312,7 +1312,7 @@
1312
1312
  "stateVariable": false,
1313
1313
  "storageLocation": "default",
1314
1314
  "typeDescriptions": {
1315
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
1315
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
1316
1316
  "typeString": "contract ISuperfluidToken"
1317
1317
  },
1318
1318
  "typeName": {
@@ -1322,13 +1322,13 @@
1322
1322
  "id": 5481,
1323
1323
  "name": "ISuperfluidToken",
1324
1324
  "nodeType": "IdentifierPath",
1325
- "referencedDeclaration": 19643,
1325
+ "referencedDeclaration": 19421,
1326
1326
  "src": "1845:16:35"
1327
1327
  },
1328
- "referencedDeclaration": 19643,
1328
+ "referencedDeclaration": 19421,
1329
1329
  "src": "1845:16:35",
1330
1330
  "typeDescriptions": {
1331
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
1331
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
1332
1332
  "typeString": "contract ISuperfluidToken"
1333
1333
  }
1334
1334
  },
@@ -1460,7 +1460,7 @@
1460
1460
  ],
1461
1461
  "src": "2000:30:35"
1462
1462
  },
1463
- "scope": 5927,
1463
+ "scope": 5944,
1464
1464
  "src": "1806:388:35",
1465
1465
  "stateMutability": "pure",
1466
1466
  "virtual": false,
@@ -1687,10 +1687,10 @@
1687
1687
  "name": "ISuperApp",
1688
1688
  "nodeType": "Identifier",
1689
1689
  "overloadedDeclarations": [],
1690
- "referencedDeclaration": 18307,
1690
+ "referencedDeclaration": 18085,
1691
1691
  "src": "2517:9:35",
1692
1692
  "typeDescriptions": {
1693
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
1693
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
1694
1694
  "typeString": "type(contract ISuperApp)"
1695
1695
  }
1696
1696
  },
@@ -1705,7 +1705,7 @@
1705
1705
  "src": "2517:25:35",
1706
1706
  "tryCall": false,
1707
1707
  "typeDescriptions": {
1708
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
1708
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
1709
1709
  "typeString": "contract ISuperApp"
1710
1710
  }
1711
1711
  }
@@ -1713,7 +1713,7 @@
1713
1713
  "expression": {
1714
1714
  "argumentTypes": [
1715
1715
  {
1716
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
1716
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
1717
1717
  "typeString": "contract ISuperApp"
1718
1718
  }
1719
1719
  ],
@@ -1757,10 +1757,10 @@
1757
1757
  "name": "ISuperfluid",
1758
1758
  "nodeType": "Identifier",
1759
1759
  "overloadedDeclarations": [],
1760
- "referencedDeclaration": 19246,
1760
+ "referencedDeclaration": 19024,
1761
1761
  "src": "2478:11:35",
1762
1762
  "typeDescriptions": {
1763
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
1763
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
1764
1764
  "typeString": "type(contract ISuperfluid)"
1765
1765
  }
1766
1766
  },
@@ -1775,7 +1775,7 @@
1775
1775
  "src": "2478:23:35",
1776
1776
  "tryCall": false,
1777
1777
  "typeDescriptions": {
1778
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
1778
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
1779
1779
  "typeString": "contract ISuperfluid"
1780
1780
  }
1781
1781
  },
@@ -1786,10 +1786,10 @@
1786
1786
  "lValueRequested": false,
1787
1787
  "memberName": "getAppManifest",
1788
1788
  "nodeType": "MemberAccess",
1789
- "referencedDeclaration": 19012,
1789
+ "referencedDeclaration": 18790,
1790
1790
  "src": "2478:38:35",
1791
1791
  "typeDescriptions": {
1792
- "typeIdentifier": "t_function_external_view$_t_contract$_ISuperApp_$18307_$returns$_t_bool_$_t_bool_$_t_uint256_$",
1792
+ "typeIdentifier": "t_function_external_view$_t_contract$_ISuperApp_$18085_$returns$_t_bool_$_t_bool_$_t_uint256_$",
1793
1793
  "typeString": "function (contract ISuperApp) view external returns (bool,bool,uint256)"
1794
1794
  }
1795
1795
  },
@@ -2223,7 +2223,7 @@
2223
2223
  "referencedDeclaration": 5467,
2224
2224
  "src": "2845:12:35",
2225
2225
  "typeDescriptions": {
2226
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
2226
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
2227
2227
  "typeString": "contract ISuperfluidToken"
2228
2228
  }
2229
2229
  },
@@ -2237,7 +2237,7 @@
2237
2237
  "referencedDeclaration": 4294967268,
2238
2238
  "src": "2887:4:35",
2239
2239
  "typeDescriptions": {
2240
- "typeIdentifier": "t_contract$_AgreementLibrary_$5927",
2240
+ "typeIdentifier": "t_contract$_AgreementLibrary_$5944",
2241
2241
  "typeString": "library AgreementLibrary"
2242
2242
  }
2243
2243
  }
@@ -2245,7 +2245,7 @@
2245
2245
  "expression": {
2246
2246
  "argumentTypes": [
2247
2247
  {
2248
- "typeIdentifier": "t_contract$_AgreementLibrary_$5927",
2248
+ "typeIdentifier": "t_contract$_AgreementLibrary_$5944",
2249
2249
  "typeString": "library AgreementLibrary"
2250
2250
  }
2251
2251
  ],
@@ -2408,7 +2408,7 @@
2408
2408
  "typeString": "bytes4"
2409
2409
  },
2410
2410
  {
2411
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
2411
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
2412
2412
  "typeString": "contract ISuperfluidToken"
2413
2413
  },
2414
2414
  {
@@ -2535,10 +2535,10 @@
2535
2535
  "name": "ISuperApp",
2536
2536
  "nodeType": "Identifier",
2537
2537
  "overloadedDeclarations": [],
2538
- "referencedDeclaration": 18307,
2538
+ "referencedDeclaration": 18085,
2539
2539
  "src": "3160:9:35",
2540
2540
  "typeDescriptions": {
2541
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
2541
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
2542
2542
  "typeString": "type(contract ISuperApp)"
2543
2543
  }
2544
2544
  },
@@ -2553,7 +2553,7 @@
2553
2553
  "src": "3160:25:35",
2554
2554
  "tryCall": false,
2555
2555
  "typeDescriptions": {
2556
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
2556
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
2557
2557
  "typeString": "contract ISuperApp"
2558
2558
  }
2559
2559
  },
@@ -2614,10 +2614,10 @@
2614
2614
  "name": "SuperAppDefinitions",
2615
2615
  "nodeType": "Identifier",
2616
2616
  "overloadedDeclarations": [],
2617
- "referencedDeclaration": 17866,
2617
+ "referencedDeclaration": 17644,
2618
2618
  "src": "3255:19:35",
2619
2619
  "typeDescriptions": {
2620
- "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17866_$",
2620
+ "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17644_$",
2621
2621
  "typeString": "type(library SuperAppDefinitions)"
2622
2622
  }
2623
2623
  },
@@ -2628,7 +2628,7 @@
2628
2628
  "lValueRequested": false,
2629
2629
  "memberName": "BEFORE_AGREEMENT_TERMINATED_NOOP",
2630
2630
  "nodeType": "MemberAccess",
2631
- "referencedDeclaration": 17800,
2631
+ "referencedDeclaration": 17578,
2632
2632
  "src": "3255:52:35",
2633
2633
  "typeDescriptions": {
2634
2634
  "typeIdentifier": "t_uint256",
@@ -2657,7 +2657,7 @@
2657
2657
  "expression": {
2658
2658
  "argumentTypes": [
2659
2659
  {
2660
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
2660
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
2661
2661
  "typeString": "contract ISuperApp"
2662
2662
  },
2663
2663
  {
@@ -2713,10 +2713,10 @@
2713
2713
  "name": "ISuperfluid",
2714
2714
  "nodeType": "Identifier",
2715
2715
  "overloadedDeclarations": [],
2716
- "referencedDeclaration": 19246,
2716
+ "referencedDeclaration": 19024,
2717
2717
  "src": "3093:11:35",
2718
2718
  "typeDescriptions": {
2719
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
2719
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
2720
2720
  "typeString": "type(contract ISuperfluid)"
2721
2721
  }
2722
2722
  },
@@ -2731,7 +2731,7 @@
2731
2731
  "src": "3093:23:35",
2732
2732
  "tryCall": false,
2733
2733
  "typeDescriptions": {
2734
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
2734
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
2735
2735
  "typeString": "contract ISuperfluid"
2736
2736
  }
2737
2737
  },
@@ -2742,10 +2742,10 @@
2742
2742
  "lValueRequested": false,
2743
2743
  "memberName": "callAppBeforeCallback",
2744
2744
  "nodeType": "MemberAccess",
2745
- "referencedDeclaration": 19055,
2745
+ "referencedDeclaration": 18833,
2746
2746
  "src": "3093:45:35",
2747
2747
  "typeDescriptions": {
2748
- "typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperApp_$18307_$_t_bytes_memory_ptr_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
2748
+ "typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperApp_$18085_$_t_bytes_memory_ptr_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
2749
2749
  "typeString": "function (contract ISuperApp,bytes memory,bool,bytes memory) external returns (bytes memory)"
2750
2750
  }
2751
2751
  },
@@ -2964,7 +2964,7 @@
2964
2964
  ],
2965
2965
  "src": "2333:21:35"
2966
2966
  },
2967
- "scope": 5927,
2967
+ "scope": 5944,
2968
2968
  "src": "2200:1318:35",
2969
2969
  "stateMutability": "nonpayable",
2970
2970
  "virtual": false,
@@ -3191,10 +3191,10 @@
3191
3191
  "name": "ISuperApp",
3192
3192
  "nodeType": "Identifier",
3193
3193
  "overloadedDeclarations": [],
3194
- "referencedDeclaration": 18307,
3194
+ "referencedDeclaration": 18085,
3195
3195
  "src": "3921:9:35",
3196
3196
  "typeDescriptions": {
3197
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
3197
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
3198
3198
  "typeString": "type(contract ISuperApp)"
3199
3199
  }
3200
3200
  },
@@ -3209,7 +3209,7 @@
3209
3209
  "src": "3921:25:35",
3210
3210
  "tryCall": false,
3211
3211
  "typeDescriptions": {
3212
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
3212
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
3213
3213
  "typeString": "contract ISuperApp"
3214
3214
  }
3215
3215
  }
@@ -3217,7 +3217,7 @@
3217
3217
  "expression": {
3218
3218
  "argumentTypes": [
3219
3219
  {
3220
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
3220
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
3221
3221
  "typeString": "contract ISuperApp"
3222
3222
  }
3223
3223
  ],
@@ -3261,10 +3261,10 @@
3261
3261
  "name": "ISuperfluid",
3262
3262
  "nodeType": "Identifier",
3263
3263
  "overloadedDeclarations": [],
3264
- "referencedDeclaration": 19246,
3264
+ "referencedDeclaration": 19024,
3265
3265
  "src": "3882:11:35",
3266
3266
  "typeDescriptions": {
3267
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
3267
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
3268
3268
  "typeString": "type(contract ISuperfluid)"
3269
3269
  }
3270
3270
  },
@@ -3279,7 +3279,7 @@
3279
3279
  "src": "3882:23:35",
3280
3280
  "tryCall": false,
3281
3281
  "typeDescriptions": {
3282
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
3282
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
3283
3283
  "typeString": "contract ISuperfluid"
3284
3284
  }
3285
3285
  },
@@ -3290,10 +3290,10 @@
3290
3290
  "lValueRequested": false,
3291
3291
  "memberName": "getAppManifest",
3292
3292
  "nodeType": "MemberAccess",
3293
- "referencedDeclaration": 19012,
3293
+ "referencedDeclaration": 18790,
3294
3294
  "src": "3882:38:35",
3295
3295
  "typeDescriptions": {
3296
- "typeIdentifier": "t_function_external_view$_t_contract$_ISuperApp_$18307_$returns$_t_bool_$_t_bool_$_t_uint256_$",
3296
+ "typeIdentifier": "t_function_external_view$_t_contract$_ISuperApp_$18085_$returns$_t_bool_$_t_bool_$_t_uint256_$",
3297
3297
  "typeString": "function (contract ISuperApp) view external returns (bool,bool,uint256)"
3298
3298
  }
3299
3299
  },
@@ -3764,7 +3764,7 @@
3764
3764
  "referencedDeclaration": 5467,
3765
3765
  "src": "4262:12:35",
3766
3766
  "typeDescriptions": {
3767
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
3767
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
3768
3768
  "typeString": "contract ISuperfluidToken"
3769
3769
  }
3770
3770
  },
@@ -3778,7 +3778,7 @@
3778
3778
  "referencedDeclaration": 4294967268,
3779
3779
  "src": "4304:4:35",
3780
3780
  "typeDescriptions": {
3781
- "typeIdentifier": "t_contract$_AgreementLibrary_$5927",
3781
+ "typeIdentifier": "t_contract$_AgreementLibrary_$5944",
3782
3782
  "typeString": "library AgreementLibrary"
3783
3783
  }
3784
3784
  }
@@ -3786,7 +3786,7 @@
3786
3786
  "expression": {
3787
3787
  "argumentTypes": [
3788
3788
  {
3789
- "typeIdentifier": "t_contract$_AgreementLibrary_$5927",
3789
+ "typeIdentifier": "t_contract$_AgreementLibrary_$5944",
3790
3790
  "typeString": "library AgreementLibrary"
3791
3791
  }
3792
3792
  ],
@@ -3961,7 +3961,7 @@
3961
3961
  "typeString": "bytes4"
3962
3962
  },
3963
3963
  {
3964
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
3964
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
3965
3965
  "typeString": "contract ISuperfluidToken"
3966
3966
  },
3967
3967
  {
@@ -4092,10 +4092,10 @@
4092
4092
  "name": "ISuperApp",
4093
4093
  "nodeType": "Identifier",
4094
4094
  "overloadedDeclarations": [],
4095
- "referencedDeclaration": 18307,
4095
+ "referencedDeclaration": 18085,
4096
4096
  "src": "4604:9:35",
4097
4097
  "typeDescriptions": {
4098
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
4098
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
4099
4099
  "typeString": "type(contract ISuperApp)"
4100
4100
  }
4101
4101
  },
@@ -4110,7 +4110,7 @@
4110
4110
  "src": "4604:25:35",
4111
4111
  "tryCall": false,
4112
4112
  "typeDescriptions": {
4113
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
4113
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
4114
4114
  "typeString": "contract ISuperApp"
4115
4115
  }
4116
4116
  },
@@ -4171,10 +4171,10 @@
4171
4171
  "name": "SuperAppDefinitions",
4172
4172
  "nodeType": "Identifier",
4173
4173
  "overloadedDeclarations": [],
4174
- "referencedDeclaration": 17866,
4174
+ "referencedDeclaration": 17644,
4175
4175
  "src": "4699:19:35",
4176
4176
  "typeDescriptions": {
4177
- "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17866_$",
4177
+ "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17644_$",
4178
4178
  "typeString": "type(library SuperAppDefinitions)"
4179
4179
  }
4180
4180
  },
@@ -4185,7 +4185,7 @@
4185
4185
  "lValueRequested": false,
4186
4186
  "memberName": "AFTER_AGREEMENT_TERMINATED_NOOP",
4187
4187
  "nodeType": "MemberAccess",
4188
- "referencedDeclaration": 17808,
4188
+ "referencedDeclaration": 17586,
4189
4189
  "src": "4699:51:35",
4190
4190
  "typeDescriptions": {
4191
4191
  "typeIdentifier": "t_uint256",
@@ -4214,7 +4214,7 @@
4214
4214
  "expression": {
4215
4215
  "argumentTypes": [
4216
4216
  {
4217
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
4217
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
4218
4218
  "typeString": "contract ISuperApp"
4219
4219
  },
4220
4220
  {
@@ -4270,10 +4270,10 @@
4270
4270
  "name": "ISuperfluid",
4271
4271
  "nodeType": "Identifier",
4272
4272
  "overloadedDeclarations": [],
4273
- "referencedDeclaration": 19246,
4273
+ "referencedDeclaration": 19024,
4274
4274
  "src": "4538:11:35",
4275
4275
  "typeDescriptions": {
4276
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
4276
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
4277
4277
  "typeString": "type(contract ISuperfluid)"
4278
4278
  }
4279
4279
  },
@@ -4288,7 +4288,7 @@
4288
4288
  "src": "4538:23:35",
4289
4289
  "tryCall": false,
4290
4290
  "typeDescriptions": {
4291
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
4291
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
4292
4292
  "typeString": "contract ISuperfluid"
4293
4293
  }
4294
4294
  },
@@ -4299,10 +4299,10 @@
4299
4299
  "lValueRequested": false,
4300
4300
  "memberName": "callAppAfterCallback",
4301
4301
  "nodeType": "MemberAccess",
4302
- "referencedDeclaration": 19070,
4302
+ "referencedDeclaration": 18848,
4303
4303
  "src": "4538:44:35",
4304
4304
  "typeDescriptions": {
4305
- "typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperApp_$18307_$_t_bytes_memory_ptr_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
4305
+ "typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperApp_$18085_$_t_bytes_memory_ptr_$_t_bool_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
4306
4306
  "typeString": "function (contract ISuperApp,bytes memory,bool,bytes memory) external returns (bytes memory)"
4307
4307
  }
4308
4308
  },
@@ -4346,7 +4346,7 @@
4346
4346
  "referencedDeclaration": 5638,
4347
4347
  "src": "4798:10:35",
4348
4348
  "typeDescriptions": {
4349
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
4349
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
4350
4350
  "typeString": "struct ISuperfluid.Context memory"
4351
4351
  }
4352
4352
  },
@@ -4414,10 +4414,10 @@
4414
4414
  "name": "ISuperfluid",
4415
4415
  "nodeType": "Identifier",
4416
4416
  "overloadedDeclarations": [],
4417
- "referencedDeclaration": 19246,
4417
+ "referencedDeclaration": 19024,
4418
4418
  "src": "4811:11:35",
4419
4419
  "typeDescriptions": {
4420
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
4420
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
4421
4421
  "typeString": "type(contract ISuperfluid)"
4422
4422
  }
4423
4423
  },
@@ -4432,7 +4432,7 @@
4432
4432
  "src": "4811:23:35",
4433
4433
  "tryCall": false,
4434
4434
  "typeDescriptions": {
4435
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
4435
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
4436
4436
  "typeString": "contract ISuperfluid"
4437
4437
  }
4438
4438
  },
@@ -4443,10 +4443,10 @@
4443
4443
  "lValueRequested": false,
4444
4444
  "memberName": "decodeCtx",
4445
4445
  "nodeType": "MemberAccess",
4446
- "referencedDeclaration": 19215,
4446
+ "referencedDeclaration": 18993,
4447
4447
  "src": "4811:33:35",
4448
4448
  "typeDescriptions": {
4449
- "typeIdentifier": "t_function_external_pure$_t_bytes_memory_ptr_$returns$_t_struct$_Context_$19179_memory_ptr_$",
4449
+ "typeIdentifier": "t_function_external_pure$_t_bytes_memory_ptr_$returns$_t_struct$_Context_$18957_memory_ptr_$",
4450
4450
  "typeString": "function (bytes memory) pure external returns (struct ISuperfluid.Context memory)"
4451
4451
  }
4452
4452
  },
@@ -4461,13 +4461,13 @@
4461
4461
  "src": "4811:41:35",
4462
4462
  "tryCall": false,
4463
4463
  "typeDescriptions": {
4464
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
4464
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
4465
4465
  "typeString": "struct ISuperfluid.Context memory"
4466
4466
  }
4467
4467
  },
4468
4468
  "src": "4798:54:35",
4469
4469
  "typeDescriptions": {
4470
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
4470
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
4471
4471
  "typeString": "struct ISuperfluid.Context memory"
4472
4472
  }
4473
4473
  },
@@ -4491,7 +4491,7 @@
4491
4491
  "referencedDeclaration": 5638,
4492
4492
  "src": "4967:10:35",
4493
4493
  "typeDescriptions": {
4494
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
4494
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
4495
4495
  "typeString": "struct ISuperfluid.Context memory"
4496
4496
  }
4497
4497
  },
@@ -4502,7 +4502,7 @@
4502
4502
  "lValueRequested": true,
4503
4503
  "memberName": "appAllowanceUsed",
4504
4504
  "nodeType": "MemberAccess",
4505
- "referencedDeclaration": 19173,
4505
+ "referencedDeclaration": 18951,
4506
4506
  "src": "4967:27:35",
4507
4507
  "typeDescriptions": {
4508
4508
  "typeIdentifier": "t_int256",
@@ -4606,7 +4606,7 @@
4606
4606
  "referencedDeclaration": 5638,
4607
4607
  "src": "5092:10:35",
4608
4608
  "typeDescriptions": {
4609
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
4609
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
4610
4610
  "typeString": "struct ISuperfluid.Context memory"
4611
4611
  }
4612
4612
  },
@@ -4617,7 +4617,7 @@
4617
4617
  "lValueRequested": false,
4618
4618
  "memberName": "appAllowanceWanted",
4619
4619
  "nodeType": "MemberAccess",
4620
- "referencedDeclaration": 19171,
4620
+ "referencedDeclaration": 18949,
4621
4621
  "src": "5092:29:35",
4622
4622
  "typeDescriptions": {
4623
4623
  "typeIdentifier": "t_uint256",
@@ -4662,7 +4662,7 @@
4662
4662
  "referencedDeclaration": 5638,
4663
4663
  "src": "5134:10:35",
4664
4664
  "typeDescriptions": {
4665
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
4665
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
4666
4666
  "typeString": "struct ISuperfluid.Context memory"
4667
4667
  }
4668
4668
  },
@@ -4673,7 +4673,7 @@
4673
4673
  "lValueRequested": false,
4674
4674
  "memberName": "appAllowanceUsed",
4675
4675
  "nodeType": "MemberAccess",
4676
- "referencedDeclaration": 19173,
4676
+ "referencedDeclaration": 18951,
4677
4677
  "src": "5134:27:35",
4678
4678
  "typeDescriptions": {
4679
4679
  "typeIdentifier": "t_int256",
@@ -4695,7 +4695,10 @@
4695
4695
  "id": 5754,
4696
4696
  "name": "max",
4697
4697
  "nodeType": "Identifier",
4698
- "overloadedDeclarations": [],
4698
+ "overloadedDeclarations": [
4699
+ 5909,
4700
+ 5926
4701
+ ],
4699
4702
  "referencedDeclaration": 5909,
4700
4703
  "src": "5088:3:35",
4701
4704
  "typeDescriptions": {
@@ -4734,7 +4737,7 @@
4734
4737
  "name": "min",
4735
4738
  "nodeType": "Identifier",
4736
4739
  "overloadedDeclarations": [],
4737
- "referencedDeclaration": 5926,
4740
+ "referencedDeclaration": 5943,
4738
4741
  "src": "5004:3:35",
4739
4742
  "typeDescriptions": {
4740
4743
  "typeIdentifier": "t_function_internal_pure$_t_int256_$_t_int256_$returns$_t_int256_$",
@@ -4771,7 +4774,10 @@
4771
4774
  "id": 5747,
4772
4775
  "name": "max",
4773
4776
  "nodeType": "Identifier",
4774
- "overloadedDeclarations": [],
4777
+ "overloadedDeclarations": [
4778
+ 5909,
4779
+ 5926
4780
+ ],
4775
4781
  "referencedDeclaration": 5909,
4776
4782
  "src": "4997:3:35",
4777
4783
  "typeDescriptions": {
@@ -4851,7 +4857,7 @@
4851
4857
  "referencedDeclaration": 5638,
4852
4858
  "src": "5337:10:35",
4853
4859
  "typeDescriptions": {
4854
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
4860
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
4855
4861
  "typeString": "struct ISuperfluid.Context memory"
4856
4862
  }
4857
4863
  },
@@ -4862,7 +4868,7 @@
4862
4868
  "lValueRequested": false,
4863
4869
  "memberName": "appAllowanceUsed",
4864
4870
  "nodeType": "MemberAccess",
4865
- "referencedDeclaration": 19173,
4871
+ "referencedDeclaration": 18951,
4866
4872
  "src": "5337:27:35",
4867
4873
  "typeDescriptions": {
4868
4874
  "typeIdentifier": "t_int256",
@@ -5040,7 +5046,7 @@
5040
5046
  "stateVariable": false,
5041
5047
  "storageLocation": "memory",
5042
5048
  "typeDescriptions": {
5043
- "typeIdentifier": "t_struct$_Context_$19179_memory_ptr",
5049
+ "typeIdentifier": "t_struct$_Context_$18957_memory_ptr",
5044
5050
  "typeString": "struct ISuperfluid.Context"
5045
5051
  },
5046
5052
  "typeName": {
@@ -5050,13 +5056,13 @@
5050
5056
  "id": 5636,
5051
5057
  "name": "ISuperfluid.Context",
5052
5058
  "nodeType": "IdentifierPath",
5053
- "referencedDeclaration": 19179,
5059
+ "referencedDeclaration": 18957,
5054
5060
  "src": "3699:19:35"
5055
5061
  },
5056
- "referencedDeclaration": 19179,
5062
+ "referencedDeclaration": 18957,
5057
5063
  "src": "3699:19:35",
5058
5064
  "typeDescriptions": {
5059
- "typeIdentifier": "t_struct$_Context_$19179_storage_ptr",
5065
+ "typeIdentifier": "t_struct$_Context_$18957_storage_ptr",
5060
5066
  "typeString": "struct ISuperfluid.Context"
5061
5067
  }
5062
5068
  },
@@ -5092,7 +5098,7 @@
5092
5098
  ],
5093
5099
  "src": "3698:60:35"
5094
5100
  },
5095
- "scope": 5927,
5101
+ "scope": 5944,
5096
5102
  "src": "3524:1858:35",
5097
5103
  "stateMutability": "nonpayable",
5098
5104
  "virtual": false,
@@ -5135,10 +5141,10 @@
5135
5141
  "name": "SuperAppDefinitions",
5136
5142
  "nodeType": "Identifier",
5137
5143
  "overloadedDeclarations": [],
5138
- "referencedDeclaration": 17866,
5144
+ "referencedDeclaration": 17644,
5139
5145
  "src": "5519:19:35",
5140
5146
  "typeDescriptions": {
5141
- "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17866_$",
5147
+ "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17644_$",
5142
5148
  "typeString": "type(library SuperAppDefinitions)"
5143
5149
  }
5144
5150
  },
@@ -5149,7 +5155,7 @@
5149
5155
  "lValueRequested": false,
5150
5156
  "memberName": "BEFORE_AGREEMENT_CREATED_NOOP",
5151
5157
  "nodeType": "MemberAccess",
5152
- "referencedDeclaration": 17768,
5158
+ "referencedDeclaration": 17546,
5153
5159
  "src": "5519:49:35",
5154
5160
  "typeDescriptions": {
5155
5161
  "typeIdentifier": "t_uint256",
@@ -5193,10 +5199,10 @@
5193
5199
  "name": "SuperAppDefinitions",
5194
5200
  "nodeType": "Identifier",
5195
5201
  "overloadedDeclarations": [],
5196
- "referencedDeclaration": 17866,
5202
+ "referencedDeclaration": 17644,
5197
5203
  "src": "5664:19:35",
5198
5204
  "typeDescriptions": {
5199
- "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17866_$",
5205
+ "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17644_$",
5200
5206
  "typeString": "type(library SuperAppDefinitions)"
5201
5207
  }
5202
5208
  },
@@ -5207,7 +5213,7 @@
5207
5213
  "lValueRequested": false,
5208
5214
  "memberName": "BEFORE_AGREEMENT_UPDATED_NOOP",
5209
5215
  "nodeType": "MemberAccess",
5210
- "referencedDeclaration": 17784,
5216
+ "referencedDeclaration": 17562,
5211
5217
  "src": "5664:49:35",
5212
5218
  "typeDescriptions": {
5213
5219
  "typeIdentifier": "t_uint256",
@@ -5251,10 +5257,10 @@
5251
5257
  "name": "SuperAppDefinitions",
5252
5258
  "nodeType": "Identifier",
5253
5259
  "overloadedDeclarations": [],
5254
- "referencedDeclaration": 17866,
5260
+ "referencedDeclaration": 17644,
5255
5261
  "src": "5809:19:35",
5256
5262
  "typeDescriptions": {
5257
- "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17866_$",
5263
+ "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17644_$",
5258
5264
  "typeString": "type(library SuperAppDefinitions)"
5259
5265
  }
5260
5266
  },
@@ -5265,7 +5271,7 @@
5265
5271
  "lValueRequested": false,
5266
5272
  "memberName": "BEFORE_AGREEMENT_TERMINATED_NOOP",
5267
5273
  "nodeType": "MemberAccess",
5268
- "referencedDeclaration": 17800,
5274
+ "referencedDeclaration": 17578,
5269
5275
  "src": "5809:52:35",
5270
5276
  "typeDescriptions": {
5271
5277
  "typeIdentifier": "t_uint256",
@@ -5309,10 +5315,10 @@
5309
5315
  "name": "SuperAppDefinitions",
5310
5316
  "nodeType": "Identifier",
5311
5317
  "overloadedDeclarations": [],
5312
- "referencedDeclaration": 17866,
5318
+ "referencedDeclaration": 17644,
5313
5319
  "src": "5960:19:35",
5314
5320
  "typeDescriptions": {
5315
- "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17866_$",
5321
+ "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17644_$",
5316
5322
  "typeString": "type(library SuperAppDefinitions)"
5317
5323
  }
5318
5324
  },
@@ -5323,7 +5329,7 @@
5323
5329
  "lValueRequested": false,
5324
5330
  "memberName": "AFTER_AGREEMENT_CREATED_NOOP",
5325
5331
  "nodeType": "MemberAccess",
5326
- "referencedDeclaration": 17776,
5332
+ "referencedDeclaration": 17554,
5327
5333
  "src": "5960:48:35",
5328
5334
  "typeDescriptions": {
5329
5335
  "typeIdentifier": "t_uint256",
@@ -5367,10 +5373,10 @@
5367
5373
  "name": "SuperAppDefinitions",
5368
5374
  "nodeType": "Identifier",
5369
5375
  "overloadedDeclarations": [],
5370
- "referencedDeclaration": 17866,
5376
+ "referencedDeclaration": 17644,
5371
5377
  "src": "6103:19:35",
5372
5378
  "typeDescriptions": {
5373
- "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17866_$",
5379
+ "typeIdentifier": "t_type$_t_contract$_SuperAppDefinitions_$17644_$",
5374
5380
  "typeString": "type(library SuperAppDefinitions)"
5375
5381
  }
5376
5382
  },
@@ -5381,7 +5387,7 @@
5381
5387
  "lValueRequested": false,
5382
5388
  "memberName": "AFTER_AGREEMENT_UPDATED_NOOP",
5383
5389
  "nodeType": "MemberAccess",
5384
- "referencedDeclaration": 17792,
5390
+ "referencedDeclaration": 17570,
5385
5391
  "src": "6103:48:35",
5386
5392
  "typeDescriptions": {
5387
5393
  "typeIdentifier": "t_uint256",
@@ -5407,10 +5413,10 @@
5407
5413
  "name": "ISuperApp",
5408
5414
  "nodeType": "Identifier",
5409
5415
  "overloadedDeclarations": [],
5410
- "referencedDeclaration": 18307,
5416
+ "referencedDeclaration": 18085,
5411
5417
  "src": "6326:9:35",
5412
5418
  "typeDescriptions": {
5413
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
5419
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
5414
5420
  "typeString": "type(contract ISuperApp)"
5415
5421
  }
5416
5422
  },
@@ -5421,10 +5427,10 @@
5421
5427
  "lValueRequested": false,
5422
5428
  "memberName": "afterAgreementTerminated",
5423
5429
  "nodeType": "MemberAccess",
5424
- "referencedDeclaration": 18306,
5430
+ "referencedDeclaration": 18084,
5425
5431
  "src": "6326:34:35",
5426
5432
  "typeDescriptions": {
5427
- "typeIdentifier": "t_function_declaration_nonpayable$_t_contract$_ISuperToken_$18683_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5433
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_contract$_ISuperToken_$18461_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5428
5434
  "typeString": "function ISuperApp.afterAgreementTerminated(contract ISuperToken,address,bytes32,bytes calldata,bytes calldata,bytes calldata) returns (bytes memory)"
5429
5435
  }
5430
5436
  },
@@ -5464,10 +5470,10 @@
5464
5470
  "name": "ISuperApp",
5465
5471
  "nodeType": "Identifier",
5466
5472
  "overloadedDeclarations": [],
5467
- "referencedDeclaration": 18307,
5473
+ "referencedDeclaration": 18085,
5468
5474
  "src": "6174:9:35",
5469
5475
  "typeDescriptions": {
5470
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
5476
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
5471
5477
  "typeString": "type(contract ISuperApp)"
5472
5478
  }
5473
5479
  },
@@ -5478,10 +5484,10 @@
5478
5484
  "lValueRequested": false,
5479
5485
  "memberName": "afterAgreementUpdated",
5480
5486
  "nodeType": "MemberAccess",
5481
- "referencedDeclaration": 18270,
5487
+ "referencedDeclaration": 18048,
5482
5488
  "src": "6174:31:35",
5483
5489
  "typeDescriptions": {
5484
- "typeIdentifier": "t_function_declaration_nonpayable$_t_contract$_ISuperToken_$18683_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5490
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_contract$_ISuperToken_$18461_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5485
5491
  "typeString": "function ISuperApp.afterAgreementUpdated(contract ISuperToken,address,bytes32,bytes calldata,bytes calldata,bytes calldata) returns (bytes memory)"
5486
5492
  }
5487
5493
  },
@@ -5522,10 +5528,10 @@
5522
5528
  "name": "ISuperApp",
5523
5529
  "nodeType": "Identifier",
5524
5530
  "overloadedDeclarations": [],
5525
- "referencedDeclaration": 18307,
5531
+ "referencedDeclaration": 18085,
5526
5532
  "src": "6031:9:35",
5527
5533
  "typeDescriptions": {
5528
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
5534
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
5529
5535
  "typeString": "type(contract ISuperApp)"
5530
5536
  }
5531
5537
  },
@@ -5536,10 +5542,10 @@
5536
5542
  "lValueRequested": false,
5537
5543
  "memberName": "afterAgreementCreated",
5538
5544
  "nodeType": "MemberAccess",
5539
- "referencedDeclaration": 18234,
5545
+ "referencedDeclaration": 18012,
5540
5546
  "src": "6031:31:35",
5541
5547
  "typeDescriptions": {
5542
- "typeIdentifier": "t_function_declaration_nonpayable$_t_contract$_ISuperToken_$18683_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5548
+ "typeIdentifier": "t_function_declaration_nonpayable$_t_contract$_ISuperToken_$18461_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5543
5549
  "typeString": "function ISuperApp.afterAgreementCreated(contract ISuperToken,address,bytes32,bytes calldata,bytes calldata,bytes calldata) returns (bytes memory)"
5544
5550
  }
5545
5551
  },
@@ -5580,10 +5586,10 @@
5580
5586
  "name": "ISuperApp",
5581
5587
  "nodeType": "Identifier",
5582
5588
  "overloadedDeclarations": [],
5583
- "referencedDeclaration": 18307,
5589
+ "referencedDeclaration": 18085,
5584
5590
  "src": "5884:9:35",
5585
5591
  "typeDescriptions": {
5586
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
5592
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
5587
5593
  "typeString": "type(contract ISuperApp)"
5588
5594
  }
5589
5595
  },
@@ -5594,10 +5600,10 @@
5594
5600
  "lValueRequested": false,
5595
5601
  "memberName": "beforeAgreementTerminated",
5596
5602
  "nodeType": "MemberAccess",
5597
- "referencedDeclaration": 18287,
5603
+ "referencedDeclaration": 18065,
5598
5604
  "src": "5884:35:35",
5599
5605
  "typeDescriptions": {
5600
- "typeIdentifier": "t_function_declaration_view$_t_contract$_ISuperToken_$18683_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5606
+ "typeIdentifier": "t_function_declaration_view$_t_contract$_ISuperToken_$18461_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5601
5607
  "typeString": "function ISuperApp.beforeAgreementTerminated(contract ISuperToken,address,bytes32,bytes calldata,bytes calldata) view returns (bytes memory)"
5602
5608
  }
5603
5609
  },
@@ -5638,10 +5644,10 @@
5638
5644
  "name": "ISuperApp",
5639
5645
  "nodeType": "Identifier",
5640
5646
  "overloadedDeclarations": [],
5641
- "referencedDeclaration": 18307,
5647
+ "referencedDeclaration": 18085,
5642
5648
  "src": "5736:9:35",
5643
5649
  "typeDescriptions": {
5644
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
5650
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
5645
5651
  "typeString": "type(contract ISuperApp)"
5646
5652
  }
5647
5653
  },
@@ -5652,10 +5658,10 @@
5652
5658
  "lValueRequested": false,
5653
5659
  "memberName": "beforeAgreementUpdated",
5654
5660
  "nodeType": "MemberAccess",
5655
- "referencedDeclaration": 18251,
5661
+ "referencedDeclaration": 18029,
5656
5662
  "src": "5736:32:35",
5657
5663
  "typeDescriptions": {
5658
- "typeIdentifier": "t_function_declaration_view$_t_contract$_ISuperToken_$18683_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5664
+ "typeIdentifier": "t_function_declaration_view$_t_contract$_ISuperToken_$18461_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5659
5665
  "typeString": "function ISuperApp.beforeAgreementUpdated(contract ISuperToken,address,bytes32,bytes calldata,bytes calldata) view returns (bytes memory)"
5660
5666
  }
5661
5667
  },
@@ -5696,10 +5702,10 @@
5696
5702
  "name": "ISuperApp",
5697
5703
  "nodeType": "Identifier",
5698
5704
  "overloadedDeclarations": [],
5699
- "referencedDeclaration": 18307,
5705
+ "referencedDeclaration": 18085,
5700
5706
  "src": "5591:9:35",
5701
5707
  "typeDescriptions": {
5702
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
5708
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
5703
5709
  "typeString": "type(contract ISuperApp)"
5704
5710
  }
5705
5711
  },
@@ -5710,10 +5716,10 @@
5710
5716
  "lValueRequested": false,
5711
5717
  "memberName": "beforeAgreementCreated",
5712
5718
  "nodeType": "MemberAccess",
5713
- "referencedDeclaration": 18215,
5719
+ "referencedDeclaration": 17993,
5714
5720
  "src": "5591:32:35",
5715
5721
  "typeDescriptions": {
5716
- "typeIdentifier": "t_function_declaration_view$_t_contract$_ISuperToken_$18683_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5722
+ "typeIdentifier": "t_function_declaration_view$_t_contract$_ISuperToken_$18461_$_t_address_$_t_bytes32_$_t_bytes_calldata_ptr_$_t_bytes_calldata_ptr_$returns$_t_bytes_memory_ptr_$",
5717
5723
  "typeString": "function ISuperApp.beforeAgreementCreated(contract ISuperToken,address,bytes32,bytes calldata,bytes calldata) view returns (bytes memory)"
5718
5724
  }
5719
5725
  },
@@ -5815,7 +5821,7 @@
5815
5821
  ],
5816
5822
  "src": "5472:17:35"
5817
5823
  },
5818
- "scope": 5927,
5824
+ "scope": 5944,
5819
5825
  "src": "5388:998:35",
5820
5826
  "stateMutability": "pure",
5821
5827
  "virtual": false,
@@ -5903,10 +5909,10 @@
5903
5909
  "name": "ISuperApp",
5904
5910
  "nodeType": "Identifier",
5905
5911
  "overloadedDeclarations": [],
5906
- "referencedDeclaration": 18307,
5912
+ "referencedDeclaration": 18085,
5907
5913
  "src": "6749:9:35",
5908
5914
  "typeDescriptions": {
5909
- "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18307_$",
5915
+ "typeIdentifier": "t_type$_t_contract$_ISuperApp_$18085_$",
5910
5916
  "typeString": "type(contract ISuperApp)"
5911
5917
  }
5912
5918
  },
@@ -5921,7 +5927,7 @@
5921
5927
  "src": "6749:25:35",
5922
5928
  "tryCall": false,
5923
5929
  "typeDescriptions": {
5924
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
5930
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
5925
5931
  "typeString": "contract ISuperApp"
5926
5932
  }
5927
5933
  },
@@ -6002,7 +6008,7 @@
6002
6008
  "referencedDeclaration": 5467,
6003
6009
  "src": "6865:12:35",
6004
6010
  "typeDescriptions": {
6005
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
6011
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
6006
6012
  "typeString": "contract ISuperfluidToken"
6007
6013
  }
6008
6014
  }
@@ -6014,7 +6020,7 @@
6014
6020
  "typeString": "bytes memory"
6015
6021
  },
6016
6022
  {
6017
- "typeIdentifier": "t_contract$_ISuperApp_$18307",
6023
+ "typeIdentifier": "t_contract$_ISuperApp_$18085",
6018
6024
  "typeString": "contract ISuperApp"
6019
6025
  },
6020
6026
  {
@@ -6026,7 +6032,7 @@
6026
6032
  "typeString": "int256"
6027
6033
  },
6028
6034
  {
6029
- "typeIdentifier": "t_contract$_ISuperfluidToken_$19643",
6035
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$19421",
6030
6036
  "typeString": "contract ISuperfluidToken"
6031
6037
  }
6032
6038
  ],
@@ -6070,10 +6076,10 @@
6070
6076
  "name": "ISuperfluid",
6071
6077
  "nodeType": "Identifier",
6072
6078
  "overloadedDeclarations": [],
6073
- "referencedDeclaration": 19246,
6079
+ "referencedDeclaration": 19024,
6074
6080
  "src": "6679:11:35",
6075
6081
  "typeDescriptions": {
6076
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
6082
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
6077
6083
  "typeString": "type(contract ISuperfluid)"
6078
6084
  }
6079
6085
  },
@@ -6088,7 +6094,7 @@
6088
6094
  "src": "6679:23:35",
6089
6095
  "tryCall": false,
6090
6096
  "typeDescriptions": {
6091
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
6097
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
6092
6098
  "typeString": "contract ISuperfluid"
6093
6099
  }
6094
6100
  },
@@ -6099,10 +6105,10 @@
6099
6105
  "lValueRequested": false,
6100
6106
  "memberName": "appCallbackPush",
6101
6107
  "nodeType": "MemberAccess",
6102
- "referencedDeclaration": 19088,
6108
+ "referencedDeclaration": 18866,
6103
6109
  "src": "6679:39:35",
6104
6110
  "typeDescriptions": {
6105
- "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$_t_contract$_ISuperApp_$18307_$_t_uint256_$_t_int256_$_t_contract$_ISuperfluidToken_$19643_$returns$_t_bytes_memory_ptr_$",
6111
+ "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$_t_contract$_ISuperApp_$18085_$_t_uint256_$_t_int256_$_t_contract$_ISuperfluidToken_$19421_$returns$_t_bytes_memory_ptr_$",
6106
6112
  "typeString": "function (bytes memory,contract ISuperApp,uint256,int256,contract ISuperfluidToken) external returns (bytes memory)"
6107
6113
  }
6108
6114
  },
@@ -6242,7 +6248,7 @@
6242
6248
  ],
6243
6249
  "src": "6522:21:35"
6244
6250
  },
6245
- "scope": 5927,
6251
+ "scope": 5944,
6246
6252
  "src": "6392:493:35",
6247
6253
  "stateMutability": "nonpayable",
6248
6254
  "virtual": false,
@@ -6333,10 +6339,10 @@
6333
6339
  "name": "ISuperfluid",
6334
6340
  "nodeType": "Identifier",
6335
6341
  "overloadedDeclarations": [],
6336
- "referencedDeclaration": 19246,
6342
+ "referencedDeclaration": 19024,
6337
6343
  "src": "7105:11:35",
6338
6344
  "typeDescriptions": {
6339
- "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19246_$",
6345
+ "typeIdentifier": "t_type$_t_contract$_ISuperfluid_$19024_$",
6340
6346
  "typeString": "type(contract ISuperfluid)"
6341
6347
  }
6342
6348
  },
@@ -6351,7 +6357,7 @@
6351
6357
  "src": "7105:23:35",
6352
6358
  "tryCall": false,
6353
6359
  "typeDescriptions": {
6354
- "typeIdentifier": "t_contract$_ISuperfluid_$19246",
6360
+ "typeIdentifier": "t_contract$_ISuperfluid_$19024",
6355
6361
  "typeString": "contract ISuperfluid"
6356
6362
  }
6357
6363
  },
@@ -6362,7 +6368,7 @@
6362
6368
  "lValueRequested": false,
6363
6369
  "memberName": "appCallbackPop",
6364
6370
  "nodeType": "MemberAccess",
6365
- "referencedDeclaration": 19098,
6371
+ "referencedDeclaration": 18876,
6366
6372
  "src": "7105:38:35",
6367
6373
  "typeDescriptions": {
6368
6374
  "typeIdentifier": "t_function_external_nonpayable$_t_bytes_memory_ptr_$_t_int256_$returns$_t_bytes_memory_ptr_$",
@@ -6493,7 +6499,7 @@
6493
6499
  ],
6494
6500
  "src": "7020:21:35"
6495
6501
  },
6496
- "scope": 5927,
6502
+ "scope": 5944,
6497
6503
  "src": "6891:287:35",
6498
6504
  "stateMutability": "nonpayable",
6499
6505
  "virtual": false,
@@ -6694,7 +6700,7 @@
6694
6700
  ],
6695
6701
  "src": "7412:8:35"
6696
6702
  },
6697
- "scope": 5927,
6703
+ "scope": 5944,
6698
6704
  "src": "7357:89:35",
6699
6705
  "stateMutability": "pure",
6700
6706
  "virtual": false,
@@ -6704,14 +6710,14 @@
6704
6710
  "body": {
6705
6711
  "id": 5925,
6706
6712
  "nodeType": "Block",
6707
- "src": "7516:25:35",
6713
+ "src": "7518:25:35",
6708
6714
  "statements": [
6709
6715
  {
6710
6716
  "expression": {
6711
6717
  "condition": {
6712
6718
  "commonType": {
6713
- "typeIdentifier": "t_int256",
6714
- "typeString": "int256"
6719
+ "typeIdentifier": "t_uint256",
6720
+ "typeString": "uint256"
6715
6721
  },
6716
6722
  "id": 5920,
6717
6723
  "isConstant": false,
@@ -6724,10 +6730,10 @@
6724
6730
  "nodeType": "Identifier",
6725
6731
  "overloadedDeclarations": [],
6726
6732
  "referencedDeclaration": 5911,
6727
- "src": "7525:1:35",
6733
+ "src": "7527:1:35",
6728
6734
  "typeDescriptions": {
6729
- "typeIdentifier": "t_int256",
6730
- "typeString": "int256"
6735
+ "typeIdentifier": "t_uint256",
6736
+ "typeString": "uint256"
6731
6737
  }
6732
6738
  },
6733
6739
  "nodeType": "BinaryOperation",
@@ -6738,13 +6744,13 @@
6738
6744
  "nodeType": "Identifier",
6739
6745
  "overloadedDeclarations": [],
6740
6746
  "referencedDeclaration": 5913,
6741
- "src": "7529:1:35",
6747
+ "src": "7531:1:35",
6742
6748
  "typeDescriptions": {
6743
- "typeIdentifier": "t_int256",
6744
- "typeString": "int256"
6749
+ "typeIdentifier": "t_uint256",
6750
+ "typeString": "uint256"
6745
6751
  }
6746
6752
  },
6747
- "src": "7525:5:35",
6753
+ "src": "7527:5:35",
6748
6754
  "typeDescriptions": {
6749
6755
  "typeIdentifier": "t_bool",
6750
6756
  "typeString": "bool"
@@ -6752,30 +6758,231 @@
6752
6758
  },
6753
6759
  "falseExpression": {
6754
6760
  "id": 5922,
6761
+ "name": "b",
6762
+ "nodeType": "Identifier",
6763
+ "overloadedDeclarations": [],
6764
+ "referencedDeclaration": 5913,
6765
+ "src": "7539:1:35",
6766
+ "typeDescriptions": {
6767
+ "typeIdentifier": "t_uint256",
6768
+ "typeString": "uint256"
6769
+ }
6770
+ },
6771
+ "id": 5923,
6772
+ "isConstant": false,
6773
+ "isLValue": false,
6774
+ "isPure": false,
6775
+ "lValueRequested": false,
6776
+ "nodeType": "Conditional",
6777
+ "src": "7527:13:35",
6778
+ "trueExpression": {
6779
+ "id": 5921,
6755
6780
  "name": "a",
6756
6781
  "nodeType": "Identifier",
6757
6782
  "overloadedDeclarations": [],
6758
6783
  "referencedDeclaration": 5911,
6759
- "src": "7537:1:35",
6784
+ "src": "7535:1:35",
6760
6785
  "typeDescriptions": {
6786
+ "typeIdentifier": "t_uint256",
6787
+ "typeString": "uint256"
6788
+ }
6789
+ },
6790
+ "typeDescriptions": {
6791
+ "typeIdentifier": "t_uint256",
6792
+ "typeString": "uint256"
6793
+ }
6794
+ },
6795
+ "functionReturnParameters": 5917,
6796
+ "id": 5924,
6797
+ "nodeType": "Return",
6798
+ "src": "7520:20:35"
6799
+ }
6800
+ ]
6801
+ },
6802
+ "id": 5926,
6803
+ "implemented": true,
6804
+ "kind": "function",
6805
+ "modifiers": [],
6806
+ "name": "max",
6807
+ "nameLocation": "7460:3:35",
6808
+ "nodeType": "FunctionDefinition",
6809
+ "parameters": {
6810
+ "id": 5914,
6811
+ "nodeType": "ParameterList",
6812
+ "parameters": [
6813
+ {
6814
+ "constant": false,
6815
+ "id": 5911,
6816
+ "mutability": "mutable",
6817
+ "name": "a",
6818
+ "nameLocation": "7472:1:35",
6819
+ "nodeType": "VariableDeclaration",
6820
+ "scope": 5926,
6821
+ "src": "7464:9:35",
6822
+ "stateVariable": false,
6823
+ "storageLocation": "default",
6824
+ "typeDescriptions": {
6825
+ "typeIdentifier": "t_uint256",
6826
+ "typeString": "uint256"
6827
+ },
6828
+ "typeName": {
6829
+ "id": 5910,
6830
+ "name": "uint256",
6831
+ "nodeType": "ElementaryTypeName",
6832
+ "src": "7464:7:35",
6833
+ "typeDescriptions": {
6834
+ "typeIdentifier": "t_uint256",
6835
+ "typeString": "uint256"
6836
+ }
6837
+ },
6838
+ "visibility": "internal"
6839
+ },
6840
+ {
6841
+ "constant": false,
6842
+ "id": 5913,
6843
+ "mutability": "mutable",
6844
+ "name": "b",
6845
+ "nameLocation": "7483:1:35",
6846
+ "nodeType": "VariableDeclaration",
6847
+ "scope": 5926,
6848
+ "src": "7475:9:35",
6849
+ "stateVariable": false,
6850
+ "storageLocation": "default",
6851
+ "typeDescriptions": {
6852
+ "typeIdentifier": "t_uint256",
6853
+ "typeString": "uint256"
6854
+ },
6855
+ "typeName": {
6856
+ "id": 5912,
6857
+ "name": "uint256",
6858
+ "nodeType": "ElementaryTypeName",
6859
+ "src": "7475:7:35",
6860
+ "typeDescriptions": {
6861
+ "typeIdentifier": "t_uint256",
6862
+ "typeString": "uint256"
6863
+ }
6864
+ },
6865
+ "visibility": "internal"
6866
+ }
6867
+ ],
6868
+ "src": "7463:22:35"
6869
+ },
6870
+ "returnParameters": {
6871
+ "id": 5917,
6872
+ "nodeType": "ParameterList",
6873
+ "parameters": [
6874
+ {
6875
+ "constant": false,
6876
+ "id": 5916,
6877
+ "mutability": "mutable",
6878
+ "name": "",
6879
+ "nameLocation": "-1:-1:-1",
6880
+ "nodeType": "VariableDeclaration",
6881
+ "scope": 5926,
6882
+ "src": "7509:7:35",
6883
+ "stateVariable": false,
6884
+ "storageLocation": "default",
6885
+ "typeDescriptions": {
6886
+ "typeIdentifier": "t_uint256",
6887
+ "typeString": "uint256"
6888
+ },
6889
+ "typeName": {
6890
+ "id": 5915,
6891
+ "name": "uint256",
6892
+ "nodeType": "ElementaryTypeName",
6893
+ "src": "7509:7:35",
6894
+ "typeDescriptions": {
6895
+ "typeIdentifier": "t_uint256",
6896
+ "typeString": "uint256"
6897
+ }
6898
+ },
6899
+ "visibility": "internal"
6900
+ }
6901
+ ],
6902
+ "src": "7508:9:35"
6903
+ },
6904
+ "scope": 5944,
6905
+ "src": "7451:92:35",
6906
+ "stateMutability": "pure",
6907
+ "virtual": false,
6908
+ "visibility": "internal"
6909
+ },
6910
+ {
6911
+ "body": {
6912
+ "id": 5942,
6913
+ "nodeType": "Block",
6914
+ "src": "7613:25:35",
6915
+ "statements": [
6916
+ {
6917
+ "expression": {
6918
+ "condition": {
6919
+ "commonType": {
6761
6920
  "typeIdentifier": "t_int256",
6762
6921
  "typeString": "int256"
6922
+ },
6923
+ "id": 5937,
6924
+ "isConstant": false,
6925
+ "isLValue": false,
6926
+ "isPure": false,
6927
+ "lValueRequested": false,
6928
+ "leftExpression": {
6929
+ "id": 5935,
6930
+ "name": "a",
6931
+ "nodeType": "Identifier",
6932
+ "overloadedDeclarations": [],
6933
+ "referencedDeclaration": 5928,
6934
+ "src": "7622:1:35",
6935
+ "typeDescriptions": {
6936
+ "typeIdentifier": "t_int256",
6937
+ "typeString": "int256"
6938
+ }
6939
+ },
6940
+ "nodeType": "BinaryOperation",
6941
+ "operator": ">",
6942
+ "rightExpression": {
6943
+ "id": 5936,
6944
+ "name": "b",
6945
+ "nodeType": "Identifier",
6946
+ "overloadedDeclarations": [],
6947
+ "referencedDeclaration": 5930,
6948
+ "src": "7626:1:35",
6949
+ "typeDescriptions": {
6950
+ "typeIdentifier": "t_int256",
6951
+ "typeString": "int256"
6952
+ }
6953
+ },
6954
+ "src": "7622:5:35",
6955
+ "typeDescriptions": {
6956
+ "typeIdentifier": "t_bool",
6957
+ "typeString": "bool"
6763
6958
  }
6764
6959
  },
6765
- "id": 5923,
6960
+ "falseExpression": {
6961
+ "id": 5939,
6962
+ "name": "a",
6963
+ "nodeType": "Identifier",
6964
+ "overloadedDeclarations": [],
6965
+ "referencedDeclaration": 5928,
6966
+ "src": "7634:1:35",
6967
+ "typeDescriptions": {
6968
+ "typeIdentifier": "t_int256",
6969
+ "typeString": "int256"
6970
+ }
6971
+ },
6972
+ "id": 5940,
6766
6973
  "isConstant": false,
6767
6974
  "isLValue": false,
6768
6975
  "isPure": false,
6769
6976
  "lValueRequested": false,
6770
6977
  "nodeType": "Conditional",
6771
- "src": "7525:13:35",
6978
+ "src": "7622:13:35",
6772
6979
  "trueExpression": {
6773
- "id": 5921,
6980
+ "id": 5938,
6774
6981
  "name": "b",
6775
6982
  "nodeType": "Identifier",
6776
6983
  "overloadedDeclarations": [],
6777
- "referencedDeclaration": 5913,
6778
- "src": "7533:1:35",
6984
+ "referencedDeclaration": 5930,
6985
+ "src": "7630:1:35",
6779
6986
  "typeDescriptions": {
6780
6987
  "typeIdentifier": "t_int256",
6781
6988
  "typeString": "int256"
@@ -6786,33 +6993,33 @@
6786
6993
  "typeString": "int256"
6787
6994
  }
6788
6995
  },
6789
- "functionReturnParameters": 5917,
6790
- "id": 5924,
6996
+ "functionReturnParameters": 5934,
6997
+ "id": 5941,
6791
6998
  "nodeType": "Return",
6792
- "src": "7518:20:35"
6999
+ "src": "7615:20:35"
6793
7000
  }
6794
7001
  ]
6795
7002
  },
6796
- "id": 5926,
7003
+ "id": 5943,
6797
7004
  "implemented": true,
6798
7005
  "kind": "function",
6799
7006
  "modifiers": [],
6800
7007
  "name": "min",
6801
- "nameLocation": "7461:3:35",
7008
+ "nameLocation": "7558:3:35",
6802
7009
  "nodeType": "FunctionDefinition",
6803
7010
  "parameters": {
6804
- "id": 5914,
7011
+ "id": 5931,
6805
7012
  "nodeType": "ParameterList",
6806
7013
  "parameters": [
6807
7014
  {
6808
7015
  "constant": false,
6809
- "id": 5911,
7016
+ "id": 5928,
6810
7017
  "mutability": "mutable",
6811
7018
  "name": "a",
6812
- "nameLocation": "7472:1:35",
7019
+ "nameLocation": "7569:1:35",
6813
7020
  "nodeType": "VariableDeclaration",
6814
- "scope": 5926,
6815
- "src": "7465:8:35",
7021
+ "scope": 5943,
7022
+ "src": "7562:8:35",
6816
7023
  "stateVariable": false,
6817
7024
  "storageLocation": "default",
6818
7025
  "typeDescriptions": {
@@ -6820,10 +7027,10 @@
6820
7027
  "typeString": "int256"
6821
7028
  },
6822
7029
  "typeName": {
6823
- "id": 5910,
7030
+ "id": 5927,
6824
7031
  "name": "int256",
6825
7032
  "nodeType": "ElementaryTypeName",
6826
- "src": "7465:6:35",
7033
+ "src": "7562:6:35",
6827
7034
  "typeDescriptions": {
6828
7035
  "typeIdentifier": "t_int256",
6829
7036
  "typeString": "int256"
@@ -6833,13 +7040,13 @@
6833
7040
  },
6834
7041
  {
6835
7042
  "constant": false,
6836
- "id": 5913,
7043
+ "id": 5930,
6837
7044
  "mutability": "mutable",
6838
7045
  "name": "b",
6839
- "nameLocation": "7482:1:35",
7046
+ "nameLocation": "7579:1:35",
6840
7047
  "nodeType": "VariableDeclaration",
6841
- "scope": 5926,
6842
- "src": "7475:8:35",
7048
+ "scope": 5943,
7049
+ "src": "7572:8:35",
6843
7050
  "stateVariable": false,
6844
7051
  "storageLocation": "default",
6845
7052
  "typeDescriptions": {
@@ -6847,10 +7054,10 @@
6847
7054
  "typeString": "int256"
6848
7055
  },
6849
7056
  "typeName": {
6850
- "id": 5912,
7057
+ "id": 5929,
6851
7058
  "name": "int256",
6852
7059
  "nodeType": "ElementaryTypeName",
6853
- "src": "7475:6:35",
7060
+ "src": "7572:6:35",
6854
7061
  "typeDescriptions": {
6855
7062
  "typeIdentifier": "t_int256",
6856
7063
  "typeString": "int256"
@@ -6859,21 +7066,21 @@
6859
7066
  "visibility": "internal"
6860
7067
  }
6861
7068
  ],
6862
- "src": "7464:20:35"
7069
+ "src": "7561:20:35"
6863
7070
  },
6864
7071
  "returnParameters": {
6865
- "id": 5917,
7072
+ "id": 5934,
6866
7073
  "nodeType": "ParameterList",
6867
7074
  "parameters": [
6868
7075
  {
6869
7076
  "constant": false,
6870
- "id": 5916,
7077
+ "id": 5933,
6871
7078
  "mutability": "mutable",
6872
7079
  "name": "",
6873
7080
  "nameLocation": "-1:-1:-1",
6874
7081
  "nodeType": "VariableDeclaration",
6875
- "scope": 5926,
6876
- "src": "7508:6:35",
7082
+ "scope": 5943,
7083
+ "src": "7605:6:35",
6877
7084
  "stateVariable": false,
6878
7085
  "storageLocation": "default",
6879
7086
  "typeDescriptions": {
@@ -6881,10 +7088,10 @@
6881
7088
  "typeString": "int256"
6882
7089
  },
6883
7090
  "typeName": {
6884
- "id": 5915,
7091
+ "id": 5932,
6885
7092
  "name": "int256",
6886
7093
  "nodeType": "ElementaryTypeName",
6887
- "src": "7508:6:35",
7094
+ "src": "7605:6:35",
6888
7095
  "typeDescriptions": {
6889
7096
  "typeIdentifier": "t_int256",
6890
7097
  "typeString": "int256"
@@ -6893,21 +7100,21 @@
6893
7100
  "visibility": "internal"
6894
7101
  }
6895
7102
  ],
6896
- "src": "7507:8:35"
7103
+ "src": "7604:8:35"
6897
7104
  },
6898
- "scope": 5927,
6899
- "src": "7452:89:35",
7105
+ "scope": 5944,
7106
+ "src": "7549:89:35",
6900
7107
  "stateMutability": "pure",
6901
7108
  "virtual": false,
6902
7109
  "visibility": "internal"
6903
7110
  }
6904
7111
  ],
6905
- "scope": 5928,
6906
- "src": "520:7023:35",
7112
+ "scope": 5945,
7113
+ "src": "520:7120:35",
6907
7114
  "usedErrors": []
6908
7115
  }
6909
7116
  ],
6910
- "src": "35:7509:35"
7117
+ "src": "35:7606:35"
6911
7118
  },
6912
7119
  "compiler": {
6913
7120
  "name": "solc",
@@ -6915,7 +7122,7 @@
6915
7122
  },
6916
7123
  "networks": {},
6917
7124
  "schemaVersion": "3.4.7",
6918
- "updatedAt": "2022-04-29T13:00:13.058Z",
7125
+ "updatedAt": "2022-05-05T13:57:31.159Z",
6919
7126
  "devdoc": {
6920
7127
  "author": "Superfluid",
6921
7128
  "details": "Helper library for building super agreement",