@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.de7575d.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.
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +18 -18
- package/build/contracts/AgreementLibrary.json +1272 -1183
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +211 -211
- package/build/contracts/BatchOperation.json +599 -599
- package/build/contracts/CFAv1Library.json +2282 -2282
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
- package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +599 -599
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +20 -20
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +858 -858
- package/build/contracts/ERC777RecipientReverting.json +858 -858
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +2473 -2473
- package/build/contracts/FlowOperatorDefinitions.json +599 -599
- package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +567 -567
- package/build/contracts/IDAv1Library.json +2614 -2614
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC20Permit.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +640 -640
- package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +43 -43
- package/build/contracts/IPureSuperTokenCustom.json +43 -43
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +48 -48
- package/build/contracts/ISETHCustom.json +48 -48
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +192 -192
- package/build/contracts/ISuperToken.json +524 -524
- package/build/contracts/ISuperTokenFactory.json +161 -161
- package/build/contracts/ISuperfluid.json +1145 -1178
- package/build/contracts/ISuperfluidGovernance.json +243 -243
- package/build/contracts/ISuperfluidToken.json +389 -389
- package/build/contracts/ITOGAv1.json +1442 -1442
- package/build/contracts/ITOGAv2.json +1442 -1442
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
- package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +109 -109
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +227 -227
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +2472 -2472
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +748 -748
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +240 -240
- package/build/contracts/SuperAppDefinitions.json +599 -599
- package/build/contracts/SuperToken.json +4732 -4732
- package/build/contracts/SuperTokenFactory.json +750 -750
- package/build/contracts/SuperTokenFactoryBase.json +738 -738
- package/build/contracts/SuperTokenFactoryHelper.json +743 -743
- package/build/contracts/SuperUpgrader.json +440 -440
- package/build/contracts/Superfluid.json +15366 -16050
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
- package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
- package/build/contracts/SuperfluidGovernanceII.json +149 -149
- package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
- package/build/contracts/SuperfluidLoader.json +210 -210
- package/build/contracts/SuperfluidToken.json +2420 -2420
- package/build/contracts/TOGA.json +1461 -1461
- package/build/contracts/TestGovernance.json +248 -248
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +6 -6
- package/contracts/agreements/AgreementLibrary.sol +39 -15
- package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
- package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
- package/contracts/mocks/AgreementMock.sol +2 -2
- package/contracts/mocks/CFAAppMocks.sol +1 -1
- package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
- package/contracts/mocks/SuperTokenMock.sol +2 -2
- package/contracts/mocks/SuperfluidMock.sol +9 -9
- package/contracts/superfluid/Superfluid.sol +34 -38
- package/contracts/superfluid/SuperfluidToken.sol +14 -14
- package/package.json +2 -2
- package/scripts/deploy-mfa.ts +27 -0
- package/scripts/libs/getConfig.js +14 -0
- package/utils/README.md +18 -0
- package/utils/mfa-tester.html +687 -0
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"type": "function"
|
|
252
252
|
}
|
|
253
253
|
],
|
|
254
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"Be aware of the app being jailed, when the word permitted is used.\",\"kind\":\"dev\",\"methods\":{\"afterAgreementCreated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback after a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"afterAgreementTerminated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Revert is not permitted.\",\"details\":\"Callback after a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"afterAgreementUpdated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback after a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"beforeAgreementCreated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback before a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}},\"beforeAgreementTerminated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Revert is not permitted.\",\"details\":\"Callback before a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}},\"beforeAgreementUpdated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback before a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}}},\"title\":\"SuperApp interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":\"ISuperApp\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0x093eaf9a4b05adf2bd3730b753f9e1725ed34b80ea4b5f08477ff2f46a188586\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46e9a9b37e8cb6332ed21a8d3f8a6723d897e4a97db63095424522a80b3cfc15\",\"dweb:/ipfs/QmdHcBPPGKQBnmeaAN3Y6YKUPqwR73RrHTiX5uTr6eVx1M\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x667e6d0d18967ade01cde8b1dc887b07ff3eed63ac7796710c24160145ae09df\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://c654d8e2f0f28b07ef5a404251e79e8900a1fabb18e2f8a5c7a11dbaad2cb332\",\"dweb:/ipfs/QmRRC8BhTxcHn7PEsLqnX1CRQnidi1yuAJ91CfwgTSdCrY\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x42b604992cf67321cc12e8bed16543df0db4eaf125b8c1c82c330ebbeb20c014\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7c18b00caf7b8be7e11f75284fb96263ce48a3984d56f2a91ec44cae4413d2fc\",\"dweb:/ipfs/QmWVzdW9KnkwAVe9g5zRuMoqCf7N89AoBfzzRr8puw5d8a\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0xcff22ed43df0f34a645e6cbe0d7c5fd08f204d769e9095bc59d7c2fe6d11b7d6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://944b8c5a37839b40ec8ee1ccfecbaf007808a61ea16c7b1351a7184606772032\",\"dweb:/ipfs/QmbUKZqZtVfqZMKYnQUygE4svatKuN9kT2ibrnxMuWXR7n\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0xa90ceaf9d6170243a081524df94319655aea98ff1411d696610f9533cc043019\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://5919f3d615310c66d2f9acac1f5945c26b73e9dc5513f398eb71cf3a711e4d7f\",\"dweb:/ipfs/QmQYf1rDHRbPjRBRLEXyVDjingcELLbEKTT5szXk6kc8zk\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0xea33d20751ffea4f4446bc04f6c10194fb4da0803a988586d41d49cf4859731c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7716b1f5eec0a7ac8780d82de4f0274ecd7059be4eec46c82b0b7adce110f10b\",\"dweb:/ipfs/QmWRQafvdCBsyfDYnevXSav1AAz8uZRRBwh2be5Z3vSfVN\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x3eec5a3bf337cd319c1918fd1b16f350cf5f6850ac71f6859066fbf86e734ff4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://cda19a2f5ca18e79c1e2300c8efac84c718df76c4fb313f59f84264a4c6b398a\",\"dweb:/ipfs/QmfQiwgDH5Q64w5ufBnDzVaeWv6WCZ6fLTrYu1FSYfBGhq\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
|
|
254
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"afterAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"newCtx\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementCreated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementTerminated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"agreementId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"agreementData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"ctx\",\"type\":\"bytes\"}],\"name\":\"beforeAgreementUpdated\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"cbdata\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"details\":\"Be aware of the app being jailed, when the word permitted is used.\",\"kind\":\"dev\",\"methods\":{\"afterAgreementCreated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback after a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"afterAgreementTerminated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Revert is not permitted.\",\"details\":\"Callback after a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"afterAgreementUpdated(address,address,bytes32,bytes,bytes,bytes)\":{\"custom:note\":\" - State changes is permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback after a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"cbdata\":\"The data returned from the before-hook callback.\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"newCtx\":\"The current context of the transaction.\"}},\"beforeAgreementCreated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback before a new agreement is created.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}},\"beforeAgreementTerminated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Revert is not permitted.\",\"details\":\"Callback before a new agreement is terminated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}},\"beforeAgreementUpdated(address,address,bytes32,bytes,bytes)\":{\"custom:note\":\" - It will be invoked with `staticcall`, no state changes are permitted. - Only revert with a \\\"reason\\\" is permitted.\",\"details\":\"Callback before a new agreement is updated.\",\"params\":{\"agreementClass\":\"The agreement class address.\",\"agreementData\":\"The agreement data (non-compressed)\",\"agreementId\":\"The agreementId\",\"ctx\":\"The context data.\",\"superToken\":\"The super token used for the agreement.\"},\"returns\":{\"cbdata\":\"A free format in memory data the app can use to pass arbitary information to the after-hook callback.\"}}},\"title\":\"SuperApp interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":\"ISuperApp\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x9750c6b834f7b43000631af5cc30001c5f547b3ceb3635488f140f60e897ea6b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a7d5b1ef5d8d5889ad2ed89d8619c09383b80b72ab226e0fe7bde1636481e34\",\"dweb:/ipfs/QmebXWgtEfumQGBdVeM6c71McLixYXQP5Bk6kKXuoY4Bmr\"]},\"@openzeppelin/contracts/token/ERC777/IERC777.sol\":{\"keccak256\":\"0x093eaf9a4b05adf2bd3730b753f9e1725ed34b80ea4b5f08477ff2f46a188586\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46e9a9b37e8cb6332ed21a8d3f8a6723d897e4a97db63095424522a80b3cfc15\",\"dweb:/ipfs/QmdHcBPPGKQBnmeaAN3Y6YKUPqwR73RrHTiX5uTr6eVx1M\"]},\"project:/contracts/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x667e6d0d18967ade01cde8b1dc887b07ff3eed63ac7796710c24160145ae09df\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://c654d8e2f0f28b07ef5a404251e79e8900a1fabb18e2f8a5c7a11dbaad2cb332\",\"dweb:/ipfs/QmRRC8BhTxcHn7PEsLqnX1CRQnidi1yuAJ91CfwgTSdCrY\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x42b604992cf67321cc12e8bed16543df0db4eaf125b8c1c82c330ebbeb20c014\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7c18b00caf7b8be7e11f75284fb96263ce48a3984d56f2a91ec44cae4413d2fc\",\"dweb:/ipfs/QmWVzdW9KnkwAVe9g5zRuMoqCf7N89AoBfzzRr8puw5d8a\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0xcff22ed43df0f34a645e6cbe0d7c5fd08f204d769e9095bc59d7c2fe6d11b7d6\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://944b8c5a37839b40ec8ee1ccfecbaf007808a61ea16c7b1351a7184606772032\",\"dweb:/ipfs/QmbUKZqZtVfqZMKYnQUygE4svatKuN9kT2ibrnxMuWXR7n\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0x59cba11dfc9510e06db5fd57e9229fcfa0860e99e76626ad0291e7e50a3a62de\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://a64102f968e7f2eaa335e8d7ce47b339c958b0d6f8f4b3379547e9b7faa78cf9\",\"dweb:/ipfs/QmbFSeM6diijjogiTvgbpphLmjxG3u1ifygFkLhezFHRQ5\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0xea33d20751ffea4f4446bc04f6c10194fb4da0803a988586d41d49cf4859731c\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7716b1f5eec0a7ac8780d82de4f0274ecd7059be4eec46c82b0b7adce110f10b\",\"dweb:/ipfs/QmWRQafvdCBsyfDYnevXSav1AAz8uZRRBwh2be5Z3vSfVN\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x3eec5a3bf337cd319c1918fd1b16f350cf5f6850ac71f6859066fbf86e734ff4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://cda19a2f5ca18e79c1e2300c8efac84c718df76c4fb313f59f84264a4c6b398a\",\"dweb:/ipfs/QmfQiwgDH5Q64w5ufBnDzVaeWv6WCZ6fLTrYu1FSYfBGhq\"]},\"project:/contracts/interfaces/tokens/ERC20WithTokenInfo.sol\":{\"keccak256\":\"0x66708dae3fcd06e6fc0a46f2959fc2d1e6b9361f28598337339d26af8eb8c0f9\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://77b80718cec21b81ef190c19fb9fbe73913a95c71f7e6715f671bbe8a224dafc\",\"dweb:/ipfs/QmUdsc6DF2Bgih5VZm7sfaECjhGmwE7tAx8pMkzGQgVKQw\"]},\"project:/contracts/interfaces/tokens/TokenInfo.sol\":{\"keccak256\":\"0x70e573644a0ff271c0ccef526809e9d9ab4950ec58755ca84e833cde3b8f3df0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://aea3709687cc37ba625f4cc882fbdb149a7bf5be5afe2b030203c8719641a77b\",\"dweb:/ipfs/QmVpvfR6ZheE5wNUK9CobaVBgVvEnEPkvjWF9cfwyZr7eQ\"]}},\"version\":1}",
|
|
255
255
|
"bytecode": "0x",
|
|
256
256
|
"deployedBytecode": "0x",
|
|
257
257
|
"immutableReferences": {},
|
|
@@ -265,18 +265,18 @@
|
|
|
265
265
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperApp.sol",
|
|
266
266
|
"exportedSymbols": {
|
|
267
267
|
"ISuperApp": [
|
|
268
|
-
|
|
268
|
+
19116
|
|
269
269
|
],
|
|
270
270
|
"ISuperToken": [
|
|
271
|
-
|
|
271
|
+
19492
|
|
272
272
|
]
|
|
273
273
|
},
|
|
274
|
-
"id":
|
|
274
|
+
"id": 19117,
|
|
275
275
|
"license": "AGPLv3",
|
|
276
276
|
"nodeType": "SourceUnit",
|
|
277
277
|
"nodes": [
|
|
278
278
|
{
|
|
279
|
-
"id":
|
|
279
|
+
"id": 19004,
|
|
280
280
|
"literals": [
|
|
281
281
|
"solidity",
|
|
282
282
|
">=",
|
|
@@ -289,20 +289,20 @@
|
|
|
289
289
|
{
|
|
290
290
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperToken.sol",
|
|
291
291
|
"file": "./ISuperToken.sol",
|
|
292
|
-
"id":
|
|
292
|
+
"id": 19006,
|
|
293
293
|
"nameLocation": "-1:-1:-1",
|
|
294
294
|
"nodeType": "ImportDirective",
|
|
295
|
-
"scope":
|
|
296
|
-
"sourceUnit":
|
|
295
|
+
"scope": 19117,
|
|
296
|
+
"sourceUnit": 19493,
|
|
297
297
|
"src": "62:48:45",
|
|
298
298
|
"symbolAliases": [
|
|
299
299
|
{
|
|
300
300
|
"foreign": {
|
|
301
|
-
"id":
|
|
301
|
+
"id": 19005,
|
|
302
302
|
"name": "ISuperToken",
|
|
303
303
|
"nodeType": "Identifier",
|
|
304
304
|
"overloadedDeclarations": [],
|
|
305
|
-
"referencedDeclaration":
|
|
305
|
+
"referencedDeclaration": 19492,
|
|
306
306
|
"src": "71:11:45",
|
|
307
307
|
"typeDescriptions": {}
|
|
308
308
|
},
|
|
@@ -318,15 +318,15 @@
|
|
|
318
318
|
"contractDependencies": [],
|
|
319
319
|
"contractKind": "interface",
|
|
320
320
|
"documentation": {
|
|
321
|
-
"id":
|
|
321
|
+
"id": 19007,
|
|
322
322
|
"nodeType": "StructuredDocumentation",
|
|
323
323
|
"src": "112:133:45",
|
|
324
324
|
"text": " @title SuperApp interface\n @author Superfluid\n @dev Be aware of the app being jailed, when the word permitted is used."
|
|
325
325
|
},
|
|
326
326
|
"fullyImplemented": false,
|
|
327
|
-
"id":
|
|
327
|
+
"id": 19116,
|
|
328
328
|
"linearizedBaseContracts": [
|
|
329
|
-
|
|
329
|
+
19116
|
|
330
330
|
],
|
|
331
331
|
"name": "ISuperApp",
|
|
332
332
|
"nameLocation": "256:9:45",
|
|
@@ -334,13 +334,13 @@
|
|
|
334
334
|
"nodes": [
|
|
335
335
|
{
|
|
336
336
|
"documentation": {
|
|
337
|
-
"id":
|
|
337
|
+
"id": 19008,
|
|
338
338
|
"nodeType": "StructuredDocumentation",
|
|
339
339
|
"src": "273:630:45",
|
|
340
340
|
"text": " @dev Callback before a new agreement is created.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass\n arbitary information to the after-hook callback.\n @custom:note \n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
|
|
341
341
|
},
|
|
342
342
|
"functionSelector": "30d9c915",
|
|
343
|
-
"id":
|
|
343
|
+
"id": 19024,
|
|
344
344
|
"implemented": false,
|
|
345
345
|
"kind": "function",
|
|
346
346
|
"modifiers": [],
|
|
@@ -348,38 +348,38 @@
|
|
|
348
348
|
"nameLocation": "917:22:45",
|
|
349
349
|
"nodeType": "FunctionDefinition",
|
|
350
350
|
"parameters": {
|
|
351
|
-
"id":
|
|
351
|
+
"id": 19020,
|
|
352
352
|
"nodeType": "ParameterList",
|
|
353
353
|
"parameters": [
|
|
354
354
|
{
|
|
355
355
|
"constant": false,
|
|
356
|
-
"id":
|
|
356
|
+
"id": 19011,
|
|
357
357
|
"mutability": "mutable",
|
|
358
358
|
"name": "superToken",
|
|
359
359
|
"nameLocation": "961:10:45",
|
|
360
360
|
"nodeType": "VariableDeclaration",
|
|
361
|
-
"scope":
|
|
361
|
+
"scope": 19024,
|
|
362
362
|
"src": "949:22:45",
|
|
363
363
|
"stateVariable": false,
|
|
364
364
|
"storageLocation": "default",
|
|
365
365
|
"typeDescriptions": {
|
|
366
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
366
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
367
367
|
"typeString": "contract ISuperToken"
|
|
368
368
|
},
|
|
369
369
|
"typeName": {
|
|
370
|
-
"id":
|
|
370
|
+
"id": 19010,
|
|
371
371
|
"nodeType": "UserDefinedTypeName",
|
|
372
372
|
"pathNode": {
|
|
373
|
-
"id":
|
|
373
|
+
"id": 19009,
|
|
374
374
|
"name": "ISuperToken",
|
|
375
375
|
"nodeType": "IdentifierPath",
|
|
376
|
-
"referencedDeclaration":
|
|
376
|
+
"referencedDeclaration": 19492,
|
|
377
377
|
"src": "949:11:45"
|
|
378
378
|
},
|
|
379
|
-
"referencedDeclaration":
|
|
379
|
+
"referencedDeclaration": 19492,
|
|
380
380
|
"src": "949:11:45",
|
|
381
381
|
"typeDescriptions": {
|
|
382
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
382
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
383
383
|
"typeString": "contract ISuperToken"
|
|
384
384
|
}
|
|
385
385
|
},
|
|
@@ -387,12 +387,12 @@
|
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
389
|
"constant": false,
|
|
390
|
-
"id":
|
|
390
|
+
"id": 19013,
|
|
391
391
|
"mutability": "mutable",
|
|
392
392
|
"name": "agreementClass",
|
|
393
393
|
"nameLocation": "989:14:45",
|
|
394
394
|
"nodeType": "VariableDeclaration",
|
|
395
|
-
"scope":
|
|
395
|
+
"scope": 19024,
|
|
396
396
|
"src": "981:22:45",
|
|
397
397
|
"stateVariable": false,
|
|
398
398
|
"storageLocation": "default",
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"typeString": "address"
|
|
402
402
|
},
|
|
403
403
|
"typeName": {
|
|
404
|
-
"id":
|
|
404
|
+
"id": 19012,
|
|
405
405
|
"name": "address",
|
|
406
406
|
"nodeType": "ElementaryTypeName",
|
|
407
407
|
"src": "981:7:45",
|
|
@@ -415,12 +415,12 @@
|
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
417
|
"constant": false,
|
|
418
|
-
"id":
|
|
418
|
+
"id": 19015,
|
|
419
419
|
"mutability": "mutable",
|
|
420
420
|
"name": "agreementId",
|
|
421
421
|
"nameLocation": "1021:11:45",
|
|
422
422
|
"nodeType": "VariableDeclaration",
|
|
423
|
-
"scope":
|
|
423
|
+
"scope": 19024,
|
|
424
424
|
"src": "1013:19:45",
|
|
425
425
|
"stateVariable": false,
|
|
426
426
|
"storageLocation": "default",
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
"typeString": "bytes32"
|
|
430
430
|
},
|
|
431
431
|
"typeName": {
|
|
432
|
-
"id":
|
|
432
|
+
"id": 19014,
|
|
433
433
|
"name": "bytes32",
|
|
434
434
|
"nodeType": "ElementaryTypeName",
|
|
435
435
|
"src": "1013:7:45",
|
|
@@ -442,12 +442,12 @@
|
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
"constant": false,
|
|
445
|
-
"id":
|
|
445
|
+
"id": 19017,
|
|
446
446
|
"mutability": "mutable",
|
|
447
447
|
"name": "agreementData",
|
|
448
448
|
"nameLocation": "1057:13:45",
|
|
449
449
|
"nodeType": "VariableDeclaration",
|
|
450
|
-
"scope":
|
|
450
|
+
"scope": 19024,
|
|
451
451
|
"src": "1042:28:45",
|
|
452
452
|
"stateVariable": false,
|
|
453
453
|
"storageLocation": "calldata",
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
"typeString": "bytes"
|
|
457
457
|
},
|
|
458
458
|
"typeName": {
|
|
459
|
-
"id":
|
|
459
|
+
"id": 19016,
|
|
460
460
|
"name": "bytes",
|
|
461
461
|
"nodeType": "ElementaryTypeName",
|
|
462
462
|
"src": "1042:5:45",
|
|
@@ -469,12 +469,12 @@
|
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
471
|
"constant": false,
|
|
472
|
-
"id":
|
|
472
|
+
"id": 19019,
|
|
473
473
|
"mutability": "mutable",
|
|
474
474
|
"name": "ctx",
|
|
475
475
|
"nameLocation": "1095:3:45",
|
|
476
476
|
"nodeType": "VariableDeclaration",
|
|
477
|
-
"scope":
|
|
477
|
+
"scope": 19024,
|
|
478
478
|
"src": "1080:18:45",
|
|
479
479
|
"stateVariable": false,
|
|
480
480
|
"storageLocation": "calldata",
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
"typeString": "bytes"
|
|
484
484
|
},
|
|
485
485
|
"typeName": {
|
|
486
|
-
"id":
|
|
486
|
+
"id": 19018,
|
|
487
487
|
"name": "bytes",
|
|
488
488
|
"nodeType": "ElementaryTypeName",
|
|
489
489
|
"src": "1080:5:45",
|
|
@@ -498,17 +498,17 @@
|
|
|
498
498
|
"src": "939:165:45"
|
|
499
499
|
},
|
|
500
500
|
"returnParameters": {
|
|
501
|
-
"id":
|
|
501
|
+
"id": 19023,
|
|
502
502
|
"nodeType": "ParameterList",
|
|
503
503
|
"parameters": [
|
|
504
504
|
{
|
|
505
505
|
"constant": false,
|
|
506
|
-
"id":
|
|
506
|
+
"id": 19022,
|
|
507
507
|
"mutability": "mutable",
|
|
508
508
|
"name": "cbdata",
|
|
509
509
|
"nameLocation": "1165:6:45",
|
|
510
510
|
"nodeType": "VariableDeclaration",
|
|
511
|
-
"scope":
|
|
511
|
+
"scope": 19024,
|
|
512
512
|
"src": "1152:19:45",
|
|
513
513
|
"stateVariable": false,
|
|
514
514
|
"storageLocation": "memory",
|
|
@@ -517,7 +517,7 @@
|
|
|
517
517
|
"typeString": "bytes"
|
|
518
518
|
},
|
|
519
519
|
"typeName": {
|
|
520
|
-
"id":
|
|
520
|
+
"id": 19021,
|
|
521
521
|
"name": "bytes",
|
|
522
522
|
"nodeType": "ElementaryTypeName",
|
|
523
523
|
"src": "1152:5:45",
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
],
|
|
532
532
|
"src": "1151:21:45"
|
|
533
533
|
},
|
|
534
|
-
"scope":
|
|
534
|
+
"scope": 19116,
|
|
535
535
|
"src": "908:265:45",
|
|
536
536
|
"stateMutability": "view",
|
|
537
537
|
"virtual": false,
|
|
@@ -539,13 +539,13 @@
|
|
|
539
539
|
},
|
|
540
540
|
{
|
|
541
541
|
"documentation": {
|
|
542
|
-
"id":
|
|
542
|
+
"id": 19025,
|
|
543
543
|
"nodeType": "StructuredDocumentation",
|
|
544
544
|
"src": "1179:579:45",
|
|
545
545
|
"text": " @dev Callback after a new agreement is created.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n @custom:note \n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
|
|
546
546
|
},
|
|
547
547
|
"functionSelector": "d86ed3e5",
|
|
548
|
-
"id":
|
|
548
|
+
"id": 19043,
|
|
549
549
|
"implemented": false,
|
|
550
550
|
"kind": "function",
|
|
551
551
|
"modifiers": [],
|
|
@@ -553,38 +553,38 @@
|
|
|
553
553
|
"nameLocation": "1772:21:45",
|
|
554
554
|
"nodeType": "FunctionDefinition",
|
|
555
555
|
"parameters": {
|
|
556
|
-
"id":
|
|
556
|
+
"id": 19039,
|
|
557
557
|
"nodeType": "ParameterList",
|
|
558
558
|
"parameters": [
|
|
559
559
|
{
|
|
560
560
|
"constant": false,
|
|
561
|
-
"id":
|
|
561
|
+
"id": 19028,
|
|
562
562
|
"mutability": "mutable",
|
|
563
563
|
"name": "superToken",
|
|
564
564
|
"nameLocation": "1815:10:45",
|
|
565
565
|
"nodeType": "VariableDeclaration",
|
|
566
|
-
"scope":
|
|
566
|
+
"scope": 19043,
|
|
567
567
|
"src": "1803:22:45",
|
|
568
568
|
"stateVariable": false,
|
|
569
569
|
"storageLocation": "default",
|
|
570
570
|
"typeDescriptions": {
|
|
571
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
571
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
572
572
|
"typeString": "contract ISuperToken"
|
|
573
573
|
},
|
|
574
574
|
"typeName": {
|
|
575
|
-
"id":
|
|
575
|
+
"id": 19027,
|
|
576
576
|
"nodeType": "UserDefinedTypeName",
|
|
577
577
|
"pathNode": {
|
|
578
|
-
"id":
|
|
578
|
+
"id": 19026,
|
|
579
579
|
"name": "ISuperToken",
|
|
580
580
|
"nodeType": "IdentifierPath",
|
|
581
|
-
"referencedDeclaration":
|
|
581
|
+
"referencedDeclaration": 19492,
|
|
582
582
|
"src": "1803:11:45"
|
|
583
583
|
},
|
|
584
|
-
"referencedDeclaration":
|
|
584
|
+
"referencedDeclaration": 19492,
|
|
585
585
|
"src": "1803:11:45",
|
|
586
586
|
"typeDescriptions": {
|
|
587
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
587
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
588
588
|
"typeString": "contract ISuperToken"
|
|
589
589
|
}
|
|
590
590
|
},
|
|
@@ -592,12 +592,12 @@
|
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
594
|
"constant": false,
|
|
595
|
-
"id":
|
|
595
|
+
"id": 19030,
|
|
596
596
|
"mutability": "mutable",
|
|
597
597
|
"name": "agreementClass",
|
|
598
598
|
"nameLocation": "1843:14:45",
|
|
599
599
|
"nodeType": "VariableDeclaration",
|
|
600
|
-
"scope":
|
|
600
|
+
"scope": 19043,
|
|
601
601
|
"src": "1835:22:45",
|
|
602
602
|
"stateVariable": false,
|
|
603
603
|
"storageLocation": "default",
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
"typeString": "address"
|
|
607
607
|
},
|
|
608
608
|
"typeName": {
|
|
609
|
-
"id":
|
|
609
|
+
"id": 19029,
|
|
610
610
|
"name": "address",
|
|
611
611
|
"nodeType": "ElementaryTypeName",
|
|
612
612
|
"src": "1835:7:45",
|
|
@@ -620,12 +620,12 @@
|
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
622
|
"constant": false,
|
|
623
|
-
"id":
|
|
623
|
+
"id": 19032,
|
|
624
624
|
"mutability": "mutable",
|
|
625
625
|
"name": "agreementId",
|
|
626
626
|
"nameLocation": "1875:11:45",
|
|
627
627
|
"nodeType": "VariableDeclaration",
|
|
628
|
-
"scope":
|
|
628
|
+
"scope": 19043,
|
|
629
629
|
"src": "1867:19:45",
|
|
630
630
|
"stateVariable": false,
|
|
631
631
|
"storageLocation": "default",
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
"typeString": "bytes32"
|
|
635
635
|
},
|
|
636
636
|
"typeName": {
|
|
637
|
-
"id":
|
|
637
|
+
"id": 19031,
|
|
638
638
|
"name": "bytes32",
|
|
639
639
|
"nodeType": "ElementaryTypeName",
|
|
640
640
|
"src": "1867:7:45",
|
|
@@ -647,12 +647,12 @@
|
|
|
647
647
|
},
|
|
648
648
|
{
|
|
649
649
|
"constant": false,
|
|
650
|
-
"id":
|
|
650
|
+
"id": 19034,
|
|
651
651
|
"mutability": "mutable",
|
|
652
652
|
"name": "agreementData",
|
|
653
653
|
"nameLocation": "1911:13:45",
|
|
654
654
|
"nodeType": "VariableDeclaration",
|
|
655
|
-
"scope":
|
|
655
|
+
"scope": 19043,
|
|
656
656
|
"src": "1896:28:45",
|
|
657
657
|
"stateVariable": false,
|
|
658
658
|
"storageLocation": "calldata",
|
|
@@ -661,7 +661,7 @@
|
|
|
661
661
|
"typeString": "bytes"
|
|
662
662
|
},
|
|
663
663
|
"typeName": {
|
|
664
|
-
"id":
|
|
664
|
+
"id": 19033,
|
|
665
665
|
"name": "bytes",
|
|
666
666
|
"nodeType": "ElementaryTypeName",
|
|
667
667
|
"src": "1896:5:45",
|
|
@@ -674,12 +674,12 @@
|
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
676
|
"constant": false,
|
|
677
|
-
"id":
|
|
677
|
+
"id": 19036,
|
|
678
678
|
"mutability": "mutable",
|
|
679
679
|
"name": "cbdata",
|
|
680
680
|
"nameLocation": "1949:6:45",
|
|
681
681
|
"nodeType": "VariableDeclaration",
|
|
682
|
-
"scope":
|
|
682
|
+
"scope": 19043,
|
|
683
683
|
"src": "1934:21:45",
|
|
684
684
|
"stateVariable": false,
|
|
685
685
|
"storageLocation": "calldata",
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
"typeString": "bytes"
|
|
689
689
|
},
|
|
690
690
|
"typeName": {
|
|
691
|
-
"id":
|
|
691
|
+
"id": 19035,
|
|
692
692
|
"name": "bytes",
|
|
693
693
|
"nodeType": "ElementaryTypeName",
|
|
694
694
|
"src": "1934:5:45",
|
|
@@ -701,12 +701,12 @@
|
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
703
|
"constant": false,
|
|
704
|
-
"id":
|
|
704
|
+
"id": 19038,
|
|
705
705
|
"mutability": "mutable",
|
|
706
706
|
"name": "ctx",
|
|
707
707
|
"nameLocation": "1980:3:45",
|
|
708
708
|
"nodeType": "VariableDeclaration",
|
|
709
|
-
"scope":
|
|
709
|
+
"scope": 19043,
|
|
710
710
|
"src": "1965:18:45",
|
|
711
711
|
"stateVariable": false,
|
|
712
712
|
"storageLocation": "calldata",
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
"typeString": "bytes"
|
|
716
716
|
},
|
|
717
717
|
"typeName": {
|
|
718
|
-
"id":
|
|
718
|
+
"id": 19037,
|
|
719
719
|
"name": "bytes",
|
|
720
720
|
"nodeType": "ElementaryTypeName",
|
|
721
721
|
"src": "1965:5:45",
|
|
@@ -730,17 +730,17 @@
|
|
|
730
730
|
"src": "1793:196:45"
|
|
731
731
|
},
|
|
732
732
|
"returnParameters": {
|
|
733
|
-
"id":
|
|
733
|
+
"id": 19042,
|
|
734
734
|
"nodeType": "ParameterList",
|
|
735
735
|
"parameters": [
|
|
736
736
|
{
|
|
737
737
|
"constant": false,
|
|
738
|
-
"id":
|
|
738
|
+
"id": 19041,
|
|
739
739
|
"mutability": "mutable",
|
|
740
740
|
"name": "newCtx",
|
|
741
741
|
"nameLocation": "2037:6:45",
|
|
742
742
|
"nodeType": "VariableDeclaration",
|
|
743
|
-
"scope":
|
|
743
|
+
"scope": 19043,
|
|
744
744
|
"src": "2024:19:45",
|
|
745
745
|
"stateVariable": false,
|
|
746
746
|
"storageLocation": "memory",
|
|
@@ -749,7 +749,7 @@
|
|
|
749
749
|
"typeString": "bytes"
|
|
750
750
|
},
|
|
751
751
|
"typeName": {
|
|
752
|
-
"id":
|
|
752
|
+
"id": 19040,
|
|
753
753
|
"name": "bytes",
|
|
754
754
|
"nodeType": "ElementaryTypeName",
|
|
755
755
|
"src": "2024:5:45",
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
],
|
|
764
764
|
"src": "2023:21:45"
|
|
765
765
|
},
|
|
766
|
-
"scope":
|
|
766
|
+
"scope": 19116,
|
|
767
767
|
"src": "1763:282:45",
|
|
768
768
|
"stateMutability": "nonpayable",
|
|
769
769
|
"virtual": false,
|
|
@@ -771,13 +771,13 @@
|
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
773
|
"documentation": {
|
|
774
|
-
"id":
|
|
774
|
+
"id": 19044,
|
|
775
775
|
"nodeType": "StructuredDocumentation",
|
|
776
776
|
"src": "2051:630:45",
|
|
777
777
|
"text": " @dev Callback before a new agreement is updated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass\n arbitary information to the after-hook callback.\n @custom:note \n - It will be invoked with `staticcall`, no state changes are permitted.\n - Only revert with a \"reason\" is permitted."
|
|
778
778
|
},
|
|
779
779
|
"functionSelector": "884d1f40",
|
|
780
|
-
"id":
|
|
780
|
+
"id": 19060,
|
|
781
781
|
"implemented": false,
|
|
782
782
|
"kind": "function",
|
|
783
783
|
"modifiers": [],
|
|
@@ -785,38 +785,38 @@
|
|
|
785
785
|
"nameLocation": "2695:22:45",
|
|
786
786
|
"nodeType": "FunctionDefinition",
|
|
787
787
|
"parameters": {
|
|
788
|
-
"id":
|
|
788
|
+
"id": 19056,
|
|
789
789
|
"nodeType": "ParameterList",
|
|
790
790
|
"parameters": [
|
|
791
791
|
{
|
|
792
792
|
"constant": false,
|
|
793
|
-
"id":
|
|
793
|
+
"id": 19047,
|
|
794
794
|
"mutability": "mutable",
|
|
795
795
|
"name": "superToken",
|
|
796
796
|
"nameLocation": "2739:10:45",
|
|
797
797
|
"nodeType": "VariableDeclaration",
|
|
798
|
-
"scope":
|
|
798
|
+
"scope": 19060,
|
|
799
799
|
"src": "2727:22:45",
|
|
800
800
|
"stateVariable": false,
|
|
801
801
|
"storageLocation": "default",
|
|
802
802
|
"typeDescriptions": {
|
|
803
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
803
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
804
804
|
"typeString": "contract ISuperToken"
|
|
805
805
|
},
|
|
806
806
|
"typeName": {
|
|
807
|
-
"id":
|
|
807
|
+
"id": 19046,
|
|
808
808
|
"nodeType": "UserDefinedTypeName",
|
|
809
809
|
"pathNode": {
|
|
810
|
-
"id":
|
|
810
|
+
"id": 19045,
|
|
811
811
|
"name": "ISuperToken",
|
|
812
812
|
"nodeType": "IdentifierPath",
|
|
813
|
-
"referencedDeclaration":
|
|
813
|
+
"referencedDeclaration": 19492,
|
|
814
814
|
"src": "2727:11:45"
|
|
815
815
|
},
|
|
816
|
-
"referencedDeclaration":
|
|
816
|
+
"referencedDeclaration": 19492,
|
|
817
817
|
"src": "2727:11:45",
|
|
818
818
|
"typeDescriptions": {
|
|
819
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
819
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
820
820
|
"typeString": "contract ISuperToken"
|
|
821
821
|
}
|
|
822
822
|
},
|
|
@@ -824,12 +824,12 @@
|
|
|
824
824
|
},
|
|
825
825
|
{
|
|
826
826
|
"constant": false,
|
|
827
|
-
"id":
|
|
827
|
+
"id": 19049,
|
|
828
828
|
"mutability": "mutable",
|
|
829
829
|
"name": "agreementClass",
|
|
830
830
|
"nameLocation": "2767:14:45",
|
|
831
831
|
"nodeType": "VariableDeclaration",
|
|
832
|
-
"scope":
|
|
832
|
+
"scope": 19060,
|
|
833
833
|
"src": "2759:22:45",
|
|
834
834
|
"stateVariable": false,
|
|
835
835
|
"storageLocation": "default",
|
|
@@ -838,7 +838,7 @@
|
|
|
838
838
|
"typeString": "address"
|
|
839
839
|
},
|
|
840
840
|
"typeName": {
|
|
841
|
-
"id":
|
|
841
|
+
"id": 19048,
|
|
842
842
|
"name": "address",
|
|
843
843
|
"nodeType": "ElementaryTypeName",
|
|
844
844
|
"src": "2759:7:45",
|
|
@@ -852,12 +852,12 @@
|
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
"constant": false,
|
|
855
|
-
"id":
|
|
855
|
+
"id": 19051,
|
|
856
856
|
"mutability": "mutable",
|
|
857
857
|
"name": "agreementId",
|
|
858
858
|
"nameLocation": "2799:11:45",
|
|
859
859
|
"nodeType": "VariableDeclaration",
|
|
860
|
-
"scope":
|
|
860
|
+
"scope": 19060,
|
|
861
861
|
"src": "2791:19:45",
|
|
862
862
|
"stateVariable": false,
|
|
863
863
|
"storageLocation": "default",
|
|
@@ -866,7 +866,7 @@
|
|
|
866
866
|
"typeString": "bytes32"
|
|
867
867
|
},
|
|
868
868
|
"typeName": {
|
|
869
|
-
"id":
|
|
869
|
+
"id": 19050,
|
|
870
870
|
"name": "bytes32",
|
|
871
871
|
"nodeType": "ElementaryTypeName",
|
|
872
872
|
"src": "2791:7:45",
|
|
@@ -879,12 +879,12 @@
|
|
|
879
879
|
},
|
|
880
880
|
{
|
|
881
881
|
"constant": false,
|
|
882
|
-
"id":
|
|
882
|
+
"id": 19053,
|
|
883
883
|
"mutability": "mutable",
|
|
884
884
|
"name": "agreementData",
|
|
885
885
|
"nameLocation": "2835:13:45",
|
|
886
886
|
"nodeType": "VariableDeclaration",
|
|
887
|
-
"scope":
|
|
887
|
+
"scope": 19060,
|
|
888
888
|
"src": "2820:28:45",
|
|
889
889
|
"stateVariable": false,
|
|
890
890
|
"storageLocation": "calldata",
|
|
@@ -893,7 +893,7 @@
|
|
|
893
893
|
"typeString": "bytes"
|
|
894
894
|
},
|
|
895
895
|
"typeName": {
|
|
896
|
-
"id":
|
|
896
|
+
"id": 19052,
|
|
897
897
|
"name": "bytes",
|
|
898
898
|
"nodeType": "ElementaryTypeName",
|
|
899
899
|
"src": "2820:5:45",
|
|
@@ -906,12 +906,12 @@
|
|
|
906
906
|
},
|
|
907
907
|
{
|
|
908
908
|
"constant": false,
|
|
909
|
-
"id":
|
|
909
|
+
"id": 19055,
|
|
910
910
|
"mutability": "mutable",
|
|
911
911
|
"name": "ctx",
|
|
912
912
|
"nameLocation": "2873:3:45",
|
|
913
913
|
"nodeType": "VariableDeclaration",
|
|
914
|
-
"scope":
|
|
914
|
+
"scope": 19060,
|
|
915
915
|
"src": "2858:18:45",
|
|
916
916
|
"stateVariable": false,
|
|
917
917
|
"storageLocation": "calldata",
|
|
@@ -920,7 +920,7 @@
|
|
|
920
920
|
"typeString": "bytes"
|
|
921
921
|
},
|
|
922
922
|
"typeName": {
|
|
923
|
-
"id":
|
|
923
|
+
"id": 19054,
|
|
924
924
|
"name": "bytes",
|
|
925
925
|
"nodeType": "ElementaryTypeName",
|
|
926
926
|
"src": "2858:5:45",
|
|
@@ -935,17 +935,17 @@
|
|
|
935
935
|
"src": "2717:165:45"
|
|
936
936
|
},
|
|
937
937
|
"returnParameters": {
|
|
938
|
-
"id":
|
|
938
|
+
"id": 19059,
|
|
939
939
|
"nodeType": "ParameterList",
|
|
940
940
|
"parameters": [
|
|
941
941
|
{
|
|
942
942
|
"constant": false,
|
|
943
|
-
"id":
|
|
943
|
+
"id": 19058,
|
|
944
944
|
"mutability": "mutable",
|
|
945
945
|
"name": "cbdata",
|
|
946
946
|
"nameLocation": "2943:6:45",
|
|
947
947
|
"nodeType": "VariableDeclaration",
|
|
948
|
-
"scope":
|
|
948
|
+
"scope": 19060,
|
|
949
949
|
"src": "2930:19:45",
|
|
950
950
|
"stateVariable": false,
|
|
951
951
|
"storageLocation": "memory",
|
|
@@ -954,7 +954,7 @@
|
|
|
954
954
|
"typeString": "bytes"
|
|
955
955
|
},
|
|
956
956
|
"typeName": {
|
|
957
|
-
"id":
|
|
957
|
+
"id": 19057,
|
|
958
958
|
"name": "bytes",
|
|
959
959
|
"nodeType": "ElementaryTypeName",
|
|
960
960
|
"src": "2930:5:45",
|
|
@@ -968,7 +968,7 @@
|
|
|
968
968
|
],
|
|
969
969
|
"src": "2929:21:45"
|
|
970
970
|
},
|
|
971
|
-
"scope":
|
|
971
|
+
"scope": 19116,
|
|
972
972
|
"src": "2686:265:45",
|
|
973
973
|
"stateMutability": "view",
|
|
974
974
|
"virtual": false,
|
|
@@ -976,13 +976,13 @@
|
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
978
|
"documentation": {
|
|
979
|
-
"id":
|
|
979
|
+
"id": 19061,
|
|
980
980
|
"nodeType": "StructuredDocumentation",
|
|
981
981
|
"src": "2958:566:45",
|
|
982
982
|
"text": " @dev Callback after a new agreement is updated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n @custom:note \n - State changes is permitted.\n - Only revert with a \"reason\" is permitted."
|
|
983
983
|
},
|
|
984
984
|
"functionSelector": "230dbd29",
|
|
985
|
-
"id":
|
|
985
|
+
"id": 19079,
|
|
986
986
|
"implemented": false,
|
|
987
987
|
"kind": "function",
|
|
988
988
|
"modifiers": [],
|
|
@@ -990,38 +990,38 @@
|
|
|
990
990
|
"nameLocation": "3538:21:45",
|
|
991
991
|
"nodeType": "FunctionDefinition",
|
|
992
992
|
"parameters": {
|
|
993
|
-
"id":
|
|
993
|
+
"id": 19075,
|
|
994
994
|
"nodeType": "ParameterList",
|
|
995
995
|
"parameters": [
|
|
996
996
|
{
|
|
997
997
|
"constant": false,
|
|
998
|
-
"id":
|
|
998
|
+
"id": 19064,
|
|
999
999
|
"mutability": "mutable",
|
|
1000
1000
|
"name": "superToken",
|
|
1001
1001
|
"nameLocation": "3581:10:45",
|
|
1002
1002
|
"nodeType": "VariableDeclaration",
|
|
1003
|
-
"scope":
|
|
1003
|
+
"scope": 19079,
|
|
1004
1004
|
"src": "3569:22:45",
|
|
1005
1005
|
"stateVariable": false,
|
|
1006
1006
|
"storageLocation": "default",
|
|
1007
1007
|
"typeDescriptions": {
|
|
1008
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1008
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
1009
1009
|
"typeString": "contract ISuperToken"
|
|
1010
1010
|
},
|
|
1011
1011
|
"typeName": {
|
|
1012
|
-
"id":
|
|
1012
|
+
"id": 19063,
|
|
1013
1013
|
"nodeType": "UserDefinedTypeName",
|
|
1014
1014
|
"pathNode": {
|
|
1015
|
-
"id":
|
|
1015
|
+
"id": 19062,
|
|
1016
1016
|
"name": "ISuperToken",
|
|
1017
1017
|
"nodeType": "IdentifierPath",
|
|
1018
|
-
"referencedDeclaration":
|
|
1018
|
+
"referencedDeclaration": 19492,
|
|
1019
1019
|
"src": "3569:11:45"
|
|
1020
1020
|
},
|
|
1021
|
-
"referencedDeclaration":
|
|
1021
|
+
"referencedDeclaration": 19492,
|
|
1022
1022
|
"src": "3569:11:45",
|
|
1023
1023
|
"typeDescriptions": {
|
|
1024
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1024
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
1025
1025
|
"typeString": "contract ISuperToken"
|
|
1026
1026
|
}
|
|
1027
1027
|
},
|
|
@@ -1029,12 +1029,12 @@
|
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
1031
|
"constant": false,
|
|
1032
|
-
"id":
|
|
1032
|
+
"id": 19066,
|
|
1033
1033
|
"mutability": "mutable",
|
|
1034
1034
|
"name": "agreementClass",
|
|
1035
1035
|
"nameLocation": "3609:14:45",
|
|
1036
1036
|
"nodeType": "VariableDeclaration",
|
|
1037
|
-
"scope":
|
|
1037
|
+
"scope": 19079,
|
|
1038
1038
|
"src": "3601:22:45",
|
|
1039
1039
|
"stateVariable": false,
|
|
1040
1040
|
"storageLocation": "default",
|
|
@@ -1043,7 +1043,7 @@
|
|
|
1043
1043
|
"typeString": "address"
|
|
1044
1044
|
},
|
|
1045
1045
|
"typeName": {
|
|
1046
|
-
"id":
|
|
1046
|
+
"id": 19065,
|
|
1047
1047
|
"name": "address",
|
|
1048
1048
|
"nodeType": "ElementaryTypeName",
|
|
1049
1049
|
"src": "3601:7:45",
|
|
@@ -1057,12 +1057,12 @@
|
|
|
1057
1057
|
},
|
|
1058
1058
|
{
|
|
1059
1059
|
"constant": false,
|
|
1060
|
-
"id":
|
|
1060
|
+
"id": 19068,
|
|
1061
1061
|
"mutability": "mutable",
|
|
1062
1062
|
"name": "agreementId",
|
|
1063
1063
|
"nameLocation": "3641:11:45",
|
|
1064
1064
|
"nodeType": "VariableDeclaration",
|
|
1065
|
-
"scope":
|
|
1065
|
+
"scope": 19079,
|
|
1066
1066
|
"src": "3633:19:45",
|
|
1067
1067
|
"stateVariable": false,
|
|
1068
1068
|
"storageLocation": "default",
|
|
@@ -1071,7 +1071,7 @@
|
|
|
1071
1071
|
"typeString": "bytes32"
|
|
1072
1072
|
},
|
|
1073
1073
|
"typeName": {
|
|
1074
|
-
"id":
|
|
1074
|
+
"id": 19067,
|
|
1075
1075
|
"name": "bytes32",
|
|
1076
1076
|
"nodeType": "ElementaryTypeName",
|
|
1077
1077
|
"src": "3633:7:45",
|
|
@@ -1084,12 +1084,12 @@
|
|
|
1084
1084
|
},
|
|
1085
1085
|
{
|
|
1086
1086
|
"constant": false,
|
|
1087
|
-
"id":
|
|
1087
|
+
"id": 19070,
|
|
1088
1088
|
"mutability": "mutable",
|
|
1089
1089
|
"name": "agreementData",
|
|
1090
1090
|
"nameLocation": "3677:13:45",
|
|
1091
1091
|
"nodeType": "VariableDeclaration",
|
|
1092
|
-
"scope":
|
|
1092
|
+
"scope": 19079,
|
|
1093
1093
|
"src": "3662:28:45",
|
|
1094
1094
|
"stateVariable": false,
|
|
1095
1095
|
"storageLocation": "calldata",
|
|
@@ -1098,7 +1098,7 @@
|
|
|
1098
1098
|
"typeString": "bytes"
|
|
1099
1099
|
},
|
|
1100
1100
|
"typeName": {
|
|
1101
|
-
"id":
|
|
1101
|
+
"id": 19069,
|
|
1102
1102
|
"name": "bytes",
|
|
1103
1103
|
"nodeType": "ElementaryTypeName",
|
|
1104
1104
|
"src": "3662:5:45",
|
|
@@ -1111,12 +1111,12 @@
|
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
1113
|
"constant": false,
|
|
1114
|
-
"id":
|
|
1114
|
+
"id": 19072,
|
|
1115
1115
|
"mutability": "mutable",
|
|
1116
1116
|
"name": "cbdata",
|
|
1117
1117
|
"nameLocation": "3715:6:45",
|
|
1118
1118
|
"nodeType": "VariableDeclaration",
|
|
1119
|
-
"scope":
|
|
1119
|
+
"scope": 19079,
|
|
1120
1120
|
"src": "3700:21:45",
|
|
1121
1121
|
"stateVariable": false,
|
|
1122
1122
|
"storageLocation": "calldata",
|
|
@@ -1125,7 +1125,7 @@
|
|
|
1125
1125
|
"typeString": "bytes"
|
|
1126
1126
|
},
|
|
1127
1127
|
"typeName": {
|
|
1128
|
-
"id":
|
|
1128
|
+
"id": 19071,
|
|
1129
1129
|
"name": "bytes",
|
|
1130
1130
|
"nodeType": "ElementaryTypeName",
|
|
1131
1131
|
"src": "3700:5:45",
|
|
@@ -1138,12 +1138,12 @@
|
|
|
1138
1138
|
},
|
|
1139
1139
|
{
|
|
1140
1140
|
"constant": false,
|
|
1141
|
-
"id":
|
|
1141
|
+
"id": 19074,
|
|
1142
1142
|
"mutability": "mutable",
|
|
1143
1143
|
"name": "ctx",
|
|
1144
1144
|
"nameLocation": "3746:3:45",
|
|
1145
1145
|
"nodeType": "VariableDeclaration",
|
|
1146
|
-
"scope":
|
|
1146
|
+
"scope": 19079,
|
|
1147
1147
|
"src": "3731:18:45",
|
|
1148
1148
|
"stateVariable": false,
|
|
1149
1149
|
"storageLocation": "calldata",
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
"typeString": "bytes"
|
|
1153
1153
|
},
|
|
1154
1154
|
"typeName": {
|
|
1155
|
-
"id":
|
|
1155
|
+
"id": 19073,
|
|
1156
1156
|
"name": "bytes",
|
|
1157
1157
|
"nodeType": "ElementaryTypeName",
|
|
1158
1158
|
"src": "3731:5:45",
|
|
@@ -1167,17 +1167,17 @@
|
|
|
1167
1167
|
"src": "3559:196:45"
|
|
1168
1168
|
},
|
|
1169
1169
|
"returnParameters": {
|
|
1170
|
-
"id":
|
|
1170
|
+
"id": 19078,
|
|
1171
1171
|
"nodeType": "ParameterList",
|
|
1172
1172
|
"parameters": [
|
|
1173
1173
|
{
|
|
1174
1174
|
"constant": false,
|
|
1175
|
-
"id":
|
|
1175
|
+
"id": 19077,
|
|
1176
1176
|
"mutability": "mutable",
|
|
1177
1177
|
"name": "newCtx",
|
|
1178
1178
|
"nameLocation": "3803:6:45",
|
|
1179
1179
|
"nodeType": "VariableDeclaration",
|
|
1180
|
-
"scope":
|
|
1180
|
+
"scope": 19079,
|
|
1181
1181
|
"src": "3790:19:45",
|
|
1182
1182
|
"stateVariable": false,
|
|
1183
1183
|
"storageLocation": "memory",
|
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
"typeString": "bytes"
|
|
1187
1187
|
},
|
|
1188
1188
|
"typeName": {
|
|
1189
|
-
"id":
|
|
1189
|
+
"id": 19076,
|
|
1190
1190
|
"name": "bytes",
|
|
1191
1191
|
"nodeType": "ElementaryTypeName",
|
|
1192
1192
|
"src": "3790:5:45",
|
|
@@ -1200,7 +1200,7 @@
|
|
|
1200
1200
|
],
|
|
1201
1201
|
"src": "3789:21:45"
|
|
1202
1202
|
},
|
|
1203
|
-
"scope":
|
|
1203
|
+
"scope": 19116,
|
|
1204
1204
|
"src": "3529:282:45",
|
|
1205
1205
|
"stateMutability": "nonpayable",
|
|
1206
1206
|
"virtual": false,
|
|
@@ -1208,13 +1208,13 @@
|
|
|
1208
1208
|
},
|
|
1209
1209
|
{
|
|
1210
1210
|
"documentation": {
|
|
1211
|
-
"id":
|
|
1211
|
+
"id": 19080,
|
|
1212
1212
|
"nodeType": "StructuredDocumentation",
|
|
1213
1213
|
"src": "3817:588:45",
|
|
1214
1214
|
"text": " @dev Callback before a new agreement is terminated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param ctx The context data.\n @return cbdata A free format in memory data the app can use to pass arbitary information to the after-hook callback.\n @custom:note \n - It will be invoked with `staticcall`, no state changes are permitted.\n - Revert is not permitted."
|
|
1215
1215
|
},
|
|
1216
1216
|
"functionSelector": "5f9e7d77",
|
|
1217
|
-
"id":
|
|
1217
|
+
"id": 19096,
|
|
1218
1218
|
"implemented": false,
|
|
1219
1219
|
"kind": "function",
|
|
1220
1220
|
"modifiers": [],
|
|
@@ -1222,38 +1222,38 @@
|
|
|
1222
1222
|
"nameLocation": "4419:25:45",
|
|
1223
1223
|
"nodeType": "FunctionDefinition",
|
|
1224
1224
|
"parameters": {
|
|
1225
|
-
"id":
|
|
1225
|
+
"id": 19092,
|
|
1226
1226
|
"nodeType": "ParameterList",
|
|
1227
1227
|
"parameters": [
|
|
1228
1228
|
{
|
|
1229
1229
|
"constant": false,
|
|
1230
|
-
"id":
|
|
1230
|
+
"id": 19083,
|
|
1231
1231
|
"mutability": "mutable",
|
|
1232
1232
|
"name": "superToken",
|
|
1233
1233
|
"nameLocation": "4466:10:45",
|
|
1234
1234
|
"nodeType": "VariableDeclaration",
|
|
1235
|
-
"scope":
|
|
1235
|
+
"scope": 19096,
|
|
1236
1236
|
"src": "4454:22:45",
|
|
1237
1237
|
"stateVariable": false,
|
|
1238
1238
|
"storageLocation": "default",
|
|
1239
1239
|
"typeDescriptions": {
|
|
1240
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1240
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
1241
1241
|
"typeString": "contract ISuperToken"
|
|
1242
1242
|
},
|
|
1243
1243
|
"typeName": {
|
|
1244
|
-
"id":
|
|
1244
|
+
"id": 19082,
|
|
1245
1245
|
"nodeType": "UserDefinedTypeName",
|
|
1246
1246
|
"pathNode": {
|
|
1247
|
-
"id":
|
|
1247
|
+
"id": 19081,
|
|
1248
1248
|
"name": "ISuperToken",
|
|
1249
1249
|
"nodeType": "IdentifierPath",
|
|
1250
|
-
"referencedDeclaration":
|
|
1250
|
+
"referencedDeclaration": 19492,
|
|
1251
1251
|
"src": "4454:11:45"
|
|
1252
1252
|
},
|
|
1253
|
-
"referencedDeclaration":
|
|
1253
|
+
"referencedDeclaration": 19492,
|
|
1254
1254
|
"src": "4454:11:45",
|
|
1255
1255
|
"typeDescriptions": {
|
|
1256
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1256
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
1257
1257
|
"typeString": "contract ISuperToken"
|
|
1258
1258
|
}
|
|
1259
1259
|
},
|
|
@@ -1261,12 +1261,12 @@
|
|
|
1261
1261
|
},
|
|
1262
1262
|
{
|
|
1263
1263
|
"constant": false,
|
|
1264
|
-
"id":
|
|
1264
|
+
"id": 19085,
|
|
1265
1265
|
"mutability": "mutable",
|
|
1266
1266
|
"name": "agreementClass",
|
|
1267
1267
|
"nameLocation": "4494:14:45",
|
|
1268
1268
|
"nodeType": "VariableDeclaration",
|
|
1269
|
-
"scope":
|
|
1269
|
+
"scope": 19096,
|
|
1270
1270
|
"src": "4486:22:45",
|
|
1271
1271
|
"stateVariable": false,
|
|
1272
1272
|
"storageLocation": "default",
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
"typeString": "address"
|
|
1276
1276
|
},
|
|
1277
1277
|
"typeName": {
|
|
1278
|
-
"id":
|
|
1278
|
+
"id": 19084,
|
|
1279
1279
|
"name": "address",
|
|
1280
1280
|
"nodeType": "ElementaryTypeName",
|
|
1281
1281
|
"src": "4486:7:45",
|
|
@@ -1289,12 +1289,12 @@
|
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
1291
|
"constant": false,
|
|
1292
|
-
"id":
|
|
1292
|
+
"id": 19087,
|
|
1293
1293
|
"mutability": "mutable",
|
|
1294
1294
|
"name": "agreementId",
|
|
1295
1295
|
"nameLocation": "4526:11:45",
|
|
1296
1296
|
"nodeType": "VariableDeclaration",
|
|
1297
|
-
"scope":
|
|
1297
|
+
"scope": 19096,
|
|
1298
1298
|
"src": "4518:19:45",
|
|
1299
1299
|
"stateVariable": false,
|
|
1300
1300
|
"storageLocation": "default",
|
|
@@ -1303,7 +1303,7 @@
|
|
|
1303
1303
|
"typeString": "bytes32"
|
|
1304
1304
|
},
|
|
1305
1305
|
"typeName": {
|
|
1306
|
-
"id":
|
|
1306
|
+
"id": 19086,
|
|
1307
1307
|
"name": "bytes32",
|
|
1308
1308
|
"nodeType": "ElementaryTypeName",
|
|
1309
1309
|
"src": "4518:7:45",
|
|
@@ -1316,12 +1316,12 @@
|
|
|
1316
1316
|
},
|
|
1317
1317
|
{
|
|
1318
1318
|
"constant": false,
|
|
1319
|
-
"id":
|
|
1319
|
+
"id": 19089,
|
|
1320
1320
|
"mutability": "mutable",
|
|
1321
1321
|
"name": "agreementData",
|
|
1322
1322
|
"nameLocation": "4562:13:45",
|
|
1323
1323
|
"nodeType": "VariableDeclaration",
|
|
1324
|
-
"scope":
|
|
1324
|
+
"scope": 19096,
|
|
1325
1325
|
"src": "4547:28:45",
|
|
1326
1326
|
"stateVariable": false,
|
|
1327
1327
|
"storageLocation": "calldata",
|
|
@@ -1330,7 +1330,7 @@
|
|
|
1330
1330
|
"typeString": "bytes"
|
|
1331
1331
|
},
|
|
1332
1332
|
"typeName": {
|
|
1333
|
-
"id":
|
|
1333
|
+
"id": 19088,
|
|
1334
1334
|
"name": "bytes",
|
|
1335
1335
|
"nodeType": "ElementaryTypeName",
|
|
1336
1336
|
"src": "4547:5:45",
|
|
@@ -1343,12 +1343,12 @@
|
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
1345
1345
|
"constant": false,
|
|
1346
|
-
"id":
|
|
1346
|
+
"id": 19091,
|
|
1347
1347
|
"mutability": "mutable",
|
|
1348
1348
|
"name": "ctx",
|
|
1349
1349
|
"nameLocation": "4600:3:45",
|
|
1350
1350
|
"nodeType": "VariableDeclaration",
|
|
1351
|
-
"scope":
|
|
1351
|
+
"scope": 19096,
|
|
1352
1352
|
"src": "4585:18:45",
|
|
1353
1353
|
"stateVariable": false,
|
|
1354
1354
|
"storageLocation": "calldata",
|
|
@@ -1357,7 +1357,7 @@
|
|
|
1357
1357
|
"typeString": "bytes"
|
|
1358
1358
|
},
|
|
1359
1359
|
"typeName": {
|
|
1360
|
-
"id":
|
|
1360
|
+
"id": 19090,
|
|
1361
1361
|
"name": "bytes",
|
|
1362
1362
|
"nodeType": "ElementaryTypeName",
|
|
1363
1363
|
"src": "4585:5:45",
|
|
@@ -1372,17 +1372,17 @@
|
|
|
1372
1372
|
"src": "4444:165:45"
|
|
1373
1373
|
},
|
|
1374
1374
|
"returnParameters": {
|
|
1375
|
-
"id":
|
|
1375
|
+
"id": 19095,
|
|
1376
1376
|
"nodeType": "ParameterList",
|
|
1377
1377
|
"parameters": [
|
|
1378
1378
|
{
|
|
1379
1379
|
"constant": false,
|
|
1380
|
-
"id":
|
|
1380
|
+
"id": 19094,
|
|
1381
1381
|
"mutability": "mutable",
|
|
1382
1382
|
"name": "cbdata",
|
|
1383
1383
|
"nameLocation": "4670:6:45",
|
|
1384
1384
|
"nodeType": "VariableDeclaration",
|
|
1385
|
-
"scope":
|
|
1385
|
+
"scope": 19096,
|
|
1386
1386
|
"src": "4657:19:45",
|
|
1387
1387
|
"stateVariable": false,
|
|
1388
1388
|
"storageLocation": "memory",
|
|
@@ -1391,7 +1391,7 @@
|
|
|
1391
1391
|
"typeString": "bytes"
|
|
1392
1392
|
},
|
|
1393
1393
|
"typeName": {
|
|
1394
|
-
"id":
|
|
1394
|
+
"id": 19093,
|
|
1395
1395
|
"name": "bytes",
|
|
1396
1396
|
"nodeType": "ElementaryTypeName",
|
|
1397
1397
|
"src": "4657:5:45",
|
|
@@ -1405,7 +1405,7 @@
|
|
|
1405
1405
|
],
|
|
1406
1406
|
"src": "4656:21:45"
|
|
1407
1407
|
},
|
|
1408
|
-
"scope":
|
|
1408
|
+
"scope": 19116,
|
|
1409
1409
|
"src": "4410:268:45",
|
|
1410
1410
|
"stateMutability": "view",
|
|
1411
1411
|
"virtual": false,
|
|
@@ -1413,13 +1413,13 @@
|
|
|
1413
1413
|
},
|
|
1414
1414
|
{
|
|
1415
1415
|
"documentation": {
|
|
1416
|
-
"id":
|
|
1416
|
+
"id": 19097,
|
|
1417
1417
|
"nodeType": "StructuredDocumentation",
|
|
1418
1418
|
"src": "4684:552:45",
|
|
1419
1419
|
"text": " @dev Callback after a new agreement is terminated.\n @param superToken The super token used for the agreement.\n @param agreementClass The agreement class address.\n @param agreementId The agreementId\n @param agreementData The agreement data (non-compressed)\n @param cbdata The data returned from the before-hook callback.\n @param ctx The context data.\n @return newCtx The current context of the transaction.\n @custom:note \n - State changes is permitted.\n - Revert is not permitted."
|
|
1420
1420
|
},
|
|
1421
1421
|
"functionSelector": "53c11f99",
|
|
1422
|
-
"id":
|
|
1422
|
+
"id": 19115,
|
|
1423
1423
|
"implemented": false,
|
|
1424
1424
|
"kind": "function",
|
|
1425
1425
|
"modifiers": [],
|
|
@@ -1427,38 +1427,38 @@
|
|
|
1427
1427
|
"nameLocation": "5250:24:45",
|
|
1428
1428
|
"nodeType": "FunctionDefinition",
|
|
1429
1429
|
"parameters": {
|
|
1430
|
-
"id":
|
|
1430
|
+
"id": 19111,
|
|
1431
1431
|
"nodeType": "ParameterList",
|
|
1432
1432
|
"parameters": [
|
|
1433
1433
|
{
|
|
1434
1434
|
"constant": false,
|
|
1435
|
-
"id":
|
|
1435
|
+
"id": 19100,
|
|
1436
1436
|
"mutability": "mutable",
|
|
1437
1437
|
"name": "superToken",
|
|
1438
1438
|
"nameLocation": "5296:10:45",
|
|
1439
1439
|
"nodeType": "VariableDeclaration",
|
|
1440
|
-
"scope":
|
|
1440
|
+
"scope": 19115,
|
|
1441
1441
|
"src": "5284:22:45",
|
|
1442
1442
|
"stateVariable": false,
|
|
1443
1443
|
"storageLocation": "default",
|
|
1444
1444
|
"typeDescriptions": {
|
|
1445
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1445
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
1446
1446
|
"typeString": "contract ISuperToken"
|
|
1447
1447
|
},
|
|
1448
1448
|
"typeName": {
|
|
1449
|
-
"id":
|
|
1449
|
+
"id": 19099,
|
|
1450
1450
|
"nodeType": "UserDefinedTypeName",
|
|
1451
1451
|
"pathNode": {
|
|
1452
|
-
"id":
|
|
1452
|
+
"id": 19098,
|
|
1453
1453
|
"name": "ISuperToken",
|
|
1454
1454
|
"nodeType": "IdentifierPath",
|
|
1455
|
-
"referencedDeclaration":
|
|
1455
|
+
"referencedDeclaration": 19492,
|
|
1456
1456
|
"src": "5284:11:45"
|
|
1457
1457
|
},
|
|
1458
|
-
"referencedDeclaration":
|
|
1458
|
+
"referencedDeclaration": 19492,
|
|
1459
1459
|
"src": "5284:11:45",
|
|
1460
1460
|
"typeDescriptions": {
|
|
1461
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
1461
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19492",
|
|
1462
1462
|
"typeString": "contract ISuperToken"
|
|
1463
1463
|
}
|
|
1464
1464
|
},
|
|
@@ -1466,12 +1466,12 @@
|
|
|
1466
1466
|
},
|
|
1467
1467
|
{
|
|
1468
1468
|
"constant": false,
|
|
1469
|
-
"id":
|
|
1469
|
+
"id": 19102,
|
|
1470
1470
|
"mutability": "mutable",
|
|
1471
1471
|
"name": "agreementClass",
|
|
1472
1472
|
"nameLocation": "5324:14:45",
|
|
1473
1473
|
"nodeType": "VariableDeclaration",
|
|
1474
|
-
"scope":
|
|
1474
|
+
"scope": 19115,
|
|
1475
1475
|
"src": "5316:22:45",
|
|
1476
1476
|
"stateVariable": false,
|
|
1477
1477
|
"storageLocation": "default",
|
|
@@ -1480,7 +1480,7 @@
|
|
|
1480
1480
|
"typeString": "address"
|
|
1481
1481
|
},
|
|
1482
1482
|
"typeName": {
|
|
1483
|
-
"id":
|
|
1483
|
+
"id": 19101,
|
|
1484
1484
|
"name": "address",
|
|
1485
1485
|
"nodeType": "ElementaryTypeName",
|
|
1486
1486
|
"src": "5316:7:45",
|
|
@@ -1494,12 +1494,12 @@
|
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
1496
|
"constant": false,
|
|
1497
|
-
"id":
|
|
1497
|
+
"id": 19104,
|
|
1498
1498
|
"mutability": "mutable",
|
|
1499
1499
|
"name": "agreementId",
|
|
1500
1500
|
"nameLocation": "5356:11:45",
|
|
1501
1501
|
"nodeType": "VariableDeclaration",
|
|
1502
|
-
"scope":
|
|
1502
|
+
"scope": 19115,
|
|
1503
1503
|
"src": "5348:19:45",
|
|
1504
1504
|
"stateVariable": false,
|
|
1505
1505
|
"storageLocation": "default",
|
|
@@ -1508,7 +1508,7 @@
|
|
|
1508
1508
|
"typeString": "bytes32"
|
|
1509
1509
|
},
|
|
1510
1510
|
"typeName": {
|
|
1511
|
-
"id":
|
|
1511
|
+
"id": 19103,
|
|
1512
1512
|
"name": "bytes32",
|
|
1513
1513
|
"nodeType": "ElementaryTypeName",
|
|
1514
1514
|
"src": "5348:7:45",
|
|
@@ -1521,12 +1521,12 @@
|
|
|
1521
1521
|
},
|
|
1522
1522
|
{
|
|
1523
1523
|
"constant": false,
|
|
1524
|
-
"id":
|
|
1524
|
+
"id": 19106,
|
|
1525
1525
|
"mutability": "mutable",
|
|
1526
1526
|
"name": "agreementData",
|
|
1527
1527
|
"nameLocation": "5392:13:45",
|
|
1528
1528
|
"nodeType": "VariableDeclaration",
|
|
1529
|
-
"scope":
|
|
1529
|
+
"scope": 19115,
|
|
1530
1530
|
"src": "5377:28:45",
|
|
1531
1531
|
"stateVariable": false,
|
|
1532
1532
|
"storageLocation": "calldata",
|
|
@@ -1535,7 +1535,7 @@
|
|
|
1535
1535
|
"typeString": "bytes"
|
|
1536
1536
|
},
|
|
1537
1537
|
"typeName": {
|
|
1538
|
-
"id":
|
|
1538
|
+
"id": 19105,
|
|
1539
1539
|
"name": "bytes",
|
|
1540
1540
|
"nodeType": "ElementaryTypeName",
|
|
1541
1541
|
"src": "5377:5:45",
|
|
@@ -1548,12 +1548,12 @@
|
|
|
1548
1548
|
},
|
|
1549
1549
|
{
|
|
1550
1550
|
"constant": false,
|
|
1551
|
-
"id":
|
|
1551
|
+
"id": 19108,
|
|
1552
1552
|
"mutability": "mutable",
|
|
1553
1553
|
"name": "cbdata",
|
|
1554
1554
|
"nameLocation": "5430:6:45",
|
|
1555
1555
|
"nodeType": "VariableDeclaration",
|
|
1556
|
-
"scope":
|
|
1556
|
+
"scope": 19115,
|
|
1557
1557
|
"src": "5415:21:45",
|
|
1558
1558
|
"stateVariable": false,
|
|
1559
1559
|
"storageLocation": "calldata",
|
|
@@ -1562,7 +1562,7 @@
|
|
|
1562
1562
|
"typeString": "bytes"
|
|
1563
1563
|
},
|
|
1564
1564
|
"typeName": {
|
|
1565
|
-
"id":
|
|
1565
|
+
"id": 19107,
|
|
1566
1566
|
"name": "bytes",
|
|
1567
1567
|
"nodeType": "ElementaryTypeName",
|
|
1568
1568
|
"src": "5415:5:45",
|
|
@@ -1575,12 +1575,12 @@
|
|
|
1575
1575
|
},
|
|
1576
1576
|
{
|
|
1577
1577
|
"constant": false,
|
|
1578
|
-
"id":
|
|
1578
|
+
"id": 19110,
|
|
1579
1579
|
"mutability": "mutable",
|
|
1580
1580
|
"name": "ctx",
|
|
1581
1581
|
"nameLocation": "5461:3:45",
|
|
1582
1582
|
"nodeType": "VariableDeclaration",
|
|
1583
|
-
"scope":
|
|
1583
|
+
"scope": 19115,
|
|
1584
1584
|
"src": "5446:18:45",
|
|
1585
1585
|
"stateVariable": false,
|
|
1586
1586
|
"storageLocation": "calldata",
|
|
@@ -1589,7 +1589,7 @@
|
|
|
1589
1589
|
"typeString": "bytes"
|
|
1590
1590
|
},
|
|
1591
1591
|
"typeName": {
|
|
1592
|
-
"id":
|
|
1592
|
+
"id": 19109,
|
|
1593
1593
|
"name": "bytes",
|
|
1594
1594
|
"nodeType": "ElementaryTypeName",
|
|
1595
1595
|
"src": "5446:5:45",
|
|
@@ -1604,17 +1604,17 @@
|
|
|
1604
1604
|
"src": "5274:196:45"
|
|
1605
1605
|
},
|
|
1606
1606
|
"returnParameters": {
|
|
1607
|
-
"id":
|
|
1607
|
+
"id": 19114,
|
|
1608
1608
|
"nodeType": "ParameterList",
|
|
1609
1609
|
"parameters": [
|
|
1610
1610
|
{
|
|
1611
1611
|
"constant": false,
|
|
1612
|
-
"id":
|
|
1612
|
+
"id": 19113,
|
|
1613
1613
|
"mutability": "mutable",
|
|
1614
1614
|
"name": "newCtx",
|
|
1615
1615
|
"nameLocation": "5518:6:45",
|
|
1616
1616
|
"nodeType": "VariableDeclaration",
|
|
1617
|
-
"scope":
|
|
1617
|
+
"scope": 19115,
|
|
1618
1618
|
"src": "5505:19:45",
|
|
1619
1619
|
"stateVariable": false,
|
|
1620
1620
|
"storageLocation": "memory",
|
|
@@ -1623,7 +1623,7 @@
|
|
|
1623
1623
|
"typeString": "bytes"
|
|
1624
1624
|
},
|
|
1625
1625
|
"typeName": {
|
|
1626
|
-
"id":
|
|
1626
|
+
"id": 19112,
|
|
1627
1627
|
"name": "bytes",
|
|
1628
1628
|
"nodeType": "ElementaryTypeName",
|
|
1629
1629
|
"src": "5505:5:45",
|
|
@@ -1637,14 +1637,14 @@
|
|
|
1637
1637
|
],
|
|
1638
1638
|
"src": "5504:21:45"
|
|
1639
1639
|
},
|
|
1640
|
-
"scope":
|
|
1640
|
+
"scope": 19116,
|
|
1641
1641
|
"src": "5241:285:45",
|
|
1642
1642
|
"stateMutability": "nonpayable",
|
|
1643
1643
|
"virtual": false,
|
|
1644
1644
|
"visibility": "external"
|
|
1645
1645
|
}
|
|
1646
1646
|
],
|
|
1647
|
-
"scope":
|
|
1647
|
+
"scope": 19117,
|
|
1648
1648
|
"src": "246:5282:45",
|
|
1649
1649
|
"usedErrors": []
|
|
1650
1650
|
}
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
},
|
|
1658
1658
|
"networks": {},
|
|
1659
1659
|
"schemaVersion": "3.4.8",
|
|
1660
|
-
"updatedAt": "2022-08-
|
|
1660
|
+
"updatedAt": "2022-08-25T14:16:53.027Z",
|
|
1661
1661
|
"devdoc": {
|
|
1662
1662
|
"author": "Superfluid",
|
|
1663
1663
|
"details": "Be aware of the app being jailed, when the word permitted is used.",
|