@superfluid-finance/ethereum-contracts 1.2.2-dev.6a8632e.0 → 1.2.2-dev.787fef7.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 +450 -243
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +178 -178
- package/build/contracts/BatchOperation.json +1138 -1138
- package/build/contracts/CFAv1Library.json +2531 -2531
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1521 -1521
- package/build/contracts/ConstantFlowAgreementV1.json +19315 -18335
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1138 -1138
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +31 -31
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- 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 +36 -36
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1521 -1521
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +1522 -1522
- package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
- package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1036 -1036
- package/build/contracts/IDAv1Library.json +4183 -4183
- 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/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.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 +1182 -1182
- package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
- package/build/contracts/IMultiSigWallet.json +45 -45
- package/build/contracts/IPureSuperToken.json +69 -69
- package/build/contracts/IPureSuperTokenCustom.json +69 -69
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +79 -79
- package/build/contracts/ISETHCustom.json +79 -79
- package/build/contracts/ISuperAgreement.json +88 -88
- package/build/contracts/ISuperApp.json +351 -351
- package/build/contracts/ISuperToken.json +1008 -1008
- package/build/contracts/ISuperTokenFactory.json +280 -280
- package/build/contracts/ISuperfluid.json +1466 -1466
- package/build/contracts/ISuperfluidGovernance.json +404 -404
- package/build/contracts/ISuperfluidToken.json +774 -774
- package/build/contracts/ITOGAv1.json +1431 -1431
- package/build/contracts/ITOGAv2.json +1431 -1431
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
- package/build/contracts/Int96SafeMath.json +504 -504
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
- package/build/contracts/NonClosableOutflowTestApp.json +1522 -1522
- 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 +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- 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 +1521 -1521
- package/build/contracts/SlotsBitmapLibrary.json +794 -794
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +394 -394
- package/build/contracts/SuperAppDefinitions.json +1138 -1138
- package/build/contracts/SuperToken.json +2351 -2351
- package/build/contracts/SuperTokenFactory.json +731 -731
- package/build/contracts/SuperTokenFactoryBase.json +721 -721
- package/build/contracts/SuperTokenFactoryHelper.json +724 -724
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +9812 -10169
- package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
- package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
- package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
- package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
- package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1345 -1345
- package/build/contracts/TOGA.json +1448 -1448
- package/build/contracts/TestGovernance.json +2195 -2445
- package/build/contracts/TestToken.json +94 -94
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UInt128SafeMath.json +97 -97
- package/build/contracts/UUPSProxiable.json +132 -132
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +3 -4
- package/contracts/agreements/AgreementLibrary.sol +1 -0
- package/contracts/agreements/ConstantFlowAgreementV1.sol +71 -35
- package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
- package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
- package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
- package/contracts/mocks/SuperfluidMock.sol +2 -2
- package/contracts/superfluid/Superfluid.sol +5 -10
- package/package.json +2 -1
- package/scripts/gov-create-new-app-registration-key.js +26 -3
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"type": "receive"
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialAddress\",\"type\":\"address\"}],\"name\":\"initializeProxy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"Superfluid IMPORTANT! Make sure the inheritance order remains in sync with the logic contract (Ownable first)!\",\"kind\":\"dev\",\"methods\":{\"initializeProxy(address)\":{\"details\":\"Proxy initialization function. This should only be called once and it is permission-less.\",\"params\":{\"initialAddress\":\"Initial logic contract code address to be used.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"A proxy for governance which is both ownable and upgradable\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/gov/SuperfluidGovernanceII.sol\":\"SuperfluidGovernanceIIProxy\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0x0edeb16b9821ae2b16e9d69c383b38d3ad2fbb3e0c06cf809a0786d96e602551\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://88adc865fb1bd8dab4c58096e1d5887713f62c0405f8d2d17294727a8f43d8f7\",\"dweb:/ipfs/QmUJ27zsjxCatfoTFWho4k4qdhuBTorMqLuJzWqUX4Sdmg\"]},\"@openzeppelin/contracts/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x4823752b07b8ea4ca971b217e39457930e7cb103c2c91e2a29729e5ca907e4f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f319af26a9ade3e6cf3698bf1b84aa6213bdd7a76606ea9ba56ced163593934\",\"dweb:/ipfs/QmZ2u9zen5Htan4dSP1RZCY2XqB9HUwqkNCMzdn7aV2jWc\"]},\"@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/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"project:/contracts/gov/SuperfluidGovernanceBase.sol\":{\"keccak256\":\"
|
|
79
|
-
"bytecode": "
|
|
80
|
-
"deployedBytecode": "
|
|
78
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialAddress\",\"type\":\"address\"}],\"name\":\"initializeProxy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"author\":\"Superfluid IMPORTANT! Make sure the inheritance order remains in sync with the logic contract (Ownable first)!\",\"kind\":\"dev\",\"methods\":{\"initializeProxy(address)\":{\"details\":\"Proxy initialization function. This should only be called once and it is permission-less.\",\"params\":{\"initialAddress\":\"Initial logic contract code address to be used.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"A proxy for governance which is both ownable and upgradable\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/gov/SuperfluidGovernanceII.sol\":\"SuperfluidGovernanceIIProxy\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0x24e0364e503a9bbde94c715d26573a76f14cd2a202d45f96f52134ab806b67b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e12cbaa7378fd9b62280e4e1d164bedcb4399ce238f5f98fc0eefb7e50577981\",\"dweb:/ipfs/QmXRoFGUgfsaRkoPT5bxNMtSayKTQ8GZATLPXf69HcRA51\"]},\"@openzeppelin/contracts/proxy/Proxy.sol\":{\"keccak256\":\"0x0edeb16b9821ae2b16e9d69c383b38d3ad2fbb3e0c06cf809a0786d96e602551\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://88adc865fb1bd8dab4c58096e1d5887713f62c0405f8d2d17294727a8f43d8f7\",\"dweb:/ipfs/QmUJ27zsjxCatfoTFWho4k4qdhuBTorMqLuJzWqUX4Sdmg\"]},\"@openzeppelin/contracts/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x4823752b07b8ea4ca971b217e39457930e7cb103c2c91e2a29729e5ca907e4f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f319af26a9ade3e6cf3698bf1b84aa6213bdd7a76606ea9ba56ced163593934\",\"dweb:/ipfs/QmZ2u9zen5Htan4dSP1RZCY2XqB9HUwqkNCMzdn7aV2jWc\"]},\"@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/Address.sol\":{\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3a57d0854b2fdce6ebff933a48dca2445643d1eccfc27f00292e937f26c6a58\",\"dweb:/ipfs/QmW45rZooS9TqR4YXUbjRbtf2Bpb5ouSarBvfW1LdGprvV\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"project:/contracts/gov/SuperfluidGovernanceBase.sol\":{\"keccak256\":\"0xcbf4daa0e4c1da855ee47011428b4cd75c9fd5b7923749c481a882bbeb241fbb\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://bb93ada4ed13faf08607fc37eefdfa99342a3b766648158e58874acc1ea42861\",\"dweb:/ipfs/Qmdcks7t6bxnbR9f7q2Db9JMsicJeQJo7nEMppwPSCp4pg\"]},\"project:/contracts/gov/SuperfluidGovernanceII.sol\":{\"keccak256\":\"0x4c79628145579be0d968114ae336fa2a30ccb7c9c204d24fb675ba0340cb68c0\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://9eecc74dec85e72b1f0c718a6f9365783f9b949b650d09dd35c05afa2ee39c5a\",\"dweb:/ipfs/QmS8nS6LgH9rn6iV9CAfgYo6es4MJ5tPuXGz5D93CB2mJs\"]},\"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\"]},\"project:/contracts/upgradability/UUPSProxiable.sol\":{\"keccak256\":\"0x5f50cec21a585dab7b59545aeb51735f36e3222e4b0768370be8d46373d0ef05\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://acdd57d81b5b2d346da335636baf1e37da3d31cf2eef58af493e43bc65a27414\",\"dweb:/ipfs/QmTepRBNAfRBXVDBM37ME1jpw1YgcseVehC17sWpEYeFDc\"]},\"project:/contracts/upgradability/UUPSProxy.sol\":{\"keccak256\":\"0x1164a0047c0600d162060fc9ea72a5e50779a9ccd28143fa4a984f5a635493cc\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://1205e5b16fd67b2bf99bb917175d0bd1caaa1509d3f4a4f3c8184e8c40c564ef\",\"dweb:/ipfs/Qme96cpfG4LNjdA44H2CZP3zYT73XEtRZMXpBGMTDjtFVf\"]},\"project:/contracts/upgradability/UUPSUtils.sol\":{\"keccak256\":\"0xffec084e77ce3c0b595f0612687242f3d8b7a84cab15e5650c17428ee48d0b5b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://be0183816467872b053562d9a737042ac3a91ea67e3c74e03de5db7226f3e73b\",\"dweb:/ipfs/QmUyi4YXh1T7MExbrLwZ6rAdXTPChF8q27YpZxxniR6CHM\"]}},\"version\":1}",
|
|
79
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6104288061007e6000396000f3fe6080604052600436106100435760003560e01c80634a0687ef1461005a578063715018a61461007a5780638da5cb5b1461008f578063f2fde38b146100bb57610052565b36610052576100506100db565b005b6100506100db565b34801561006657600080fd5b506100506100753660046103c2565b6100ed565b34801561008657600080fd5b506100506101f3565b34801561009b57600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b3480156100c757600080fd5b506100506100d63660046103c2565b610257565b6100eb6100e661031f565b61034e565b565b6001600160a01b0381166101485760405162461bcd60e51b815260206004820152601760248201527f5555505350726f78793a207a65726f206164647265737300000000000000000060448201526064015b60405180910390fd5b60006101727f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6001600160a01b0316146101c85760405162461bcd60e51b815260206004820152601e60248201527f5555505350726f78793a20616c726561647920696e697469616c697a65640000604482015260640161013f565b6101f0817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50565b6000546001600160a01b0316331461024d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161013f565b6100eb6000610372565b6000546001600160a01b031633146102b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161013f565b6001600160a01b0381166103165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161013f565b6101f081610372565b60006103497f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b3660008037600080366000845af43d6000803e80801561036d573d6000f35b3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156103d457600080fd5b81356001600160a01b03811681146103eb57600080fd5b939250505056fea2646970667358221220963024014d696eac95f347f0f86e925f0ce46e98e24e789df8d52f632afd6e7364736f6c634300080d0033",
|
|
80
|
+
"deployedBytecode": "0x6080604052600436106100435760003560e01c80634a0687ef1461005a578063715018a61461007a5780638da5cb5b1461008f578063f2fde38b146100bb57610052565b36610052576100506100db565b005b6100506100db565b34801561006657600080fd5b506100506100753660046103c2565b6100ed565b34801561008657600080fd5b506100506101f3565b34801561009b57600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b3480156100c757600080fd5b506100506100d63660046103c2565b610257565b6100eb6100e661031f565b61034e565b565b6001600160a01b0381166101485760405162461bcd60e51b815260206004820152601760248201527f5555505350726f78793a207a65726f206164647265737300000000000000000060448201526064015b60405180910390fd5b60006101727f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6001600160a01b0316146101c85760405162461bcd60e51b815260206004820152601e60248201527f5555505350726f78793a20616c726561647920696e697469616c697a65640000604482015260640161013f565b6101f0817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50565b6000546001600160a01b0316331461024d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161013f565b6100eb6000610372565b6000546001600160a01b031633146102b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161013f565b6001600160a01b0381166103165760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161013f565b6101f081610372565b60006103497f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b3660008037600080366000845af43d6000803e80801561036d573d6000f35b3d6000fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156103d457600080fd5b81356001600160a01b03811681146103eb57600080fd5b939250505056fea2646970667358221220963024014d696eac95f347f0f86e925f0ce46e98e24e789df8d52f632afd6e7364736f6c634300080d0033",
|
|
81
81
|
"immutableReferences": {},
|
|
82
82
|
"generatedSources": [],
|
|
83
83
|
"deployedGeneratedSources": [
|
|
@@ -1287,67 +1287,67 @@
|
|
|
1287
1287
|
"name": "#utility.yul"
|
|
1288
1288
|
}
|
|
1289
1289
|
],
|
|
1290
|
-
"sourceMap": "654:62:
|
|
1291
|
-
"deployedSourceMap": "654:62:
|
|
1290
|
+
"sourceMap": "654:62:42:-:0;;;;;;;;;;;;-1:-1:-1;921:32:4;719:10:23;921:18:4;:32::i;:::-;654:62:42;;2270:187:4;2343:16;2362:6;;-1:-1:-1;;;;;2378:17:4;;;-1:-1:-1;;;;;;2378:17:4;;;;;;2410:40;;2362:6;;;;;;;2410:40;;2343:16;2410:40;2333:124;2270:187;:::o;654:62:42:-;;;;;;;",
|
|
1291
|
+
"deployedSourceMap": "654:62:42:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2898:11:5;:9;:11::i;:::-;654:62:42;;2675:11:5;:9;:11::i;897:285:99:-;;;;;;;;;;-1:-1:-1;897:285:99;;;;;:::i;:::-;;:::i;1668:101:4:-;;;;;;;;;;;;;:::i;1036:85::-;;;;;;;;;;-1:-1:-1;1082:7:4;1108:6;1036:85;;;-1:-1:-1;;;;;1108:6:4;;;451:51:110;;1036:85:4;;;;;439:2:110;1036:85:4;;;1918:198;;;;;;;;;;-1:-1:-1;1918:198:4;;;;;:::i;:::-;;:::i;2322:110:5:-;2397:28;2407:17;:15;:17::i;:::-;2397:9;:28::i;:::-;2322:110::o;897:285:99:-;-1:-1:-1;;;;;973:28:99;;965:64;;;;-1:-1:-1;;;965:64:99;;715:2:110;965:64:99;;;697:21:110;754:2;734:18;;;727:30;793:25;773:18;;;766:53;836:18;;965:64:99;;;;;;;;;1085:1;1047:26;751:20:100;745:27;;618:170;1047:26:99;-1:-1:-1;;;;;1047:40:99;;1039:83;;;;-1:-1:-1;;;1039:83:99;;1067:2:110;1039:83:99;;;1049:21:110;1106:2;1086:18;;;1079:30;1145:32;1125:18;;;1118:60;1195:18;;1039:83:99;865:354:110;1039:83:99;1132:43;1160:14;988:20:100;964:87;839:228;1132:43:99;897:285;:::o;1668:101:4:-;1082:7;1108:6;-1:-1:-1;;;;;1108:6:4;719:10:23;1248:23:4;1240:68;;;;-1:-1:-1;;;1240:68:4;;1426:2:110;1240:68:4;;;1408:21:110;;;1445:18;;;1438:30;1504:34;1484:18;;;1477:62;1556:18;;1240:68:4;1224:356:110;1240:68:4;1732:30:::1;1759:1;1732:18;:30::i;1918:198::-:0;1082:7;1108:6;-1:-1:-1;;;;;1108:6:4;719:10:23;1248:23:4;1240:68;;;;-1:-1:-1;;;1240:68:4;;1426:2:110;1240:68:4;;;1408:21:110;;;1445:18;;;1438:30;1504:34;1484:18;;;1477:62;1556:18;;1240:68:4;1224:356:110;1240:68:4;-1:-1:-1;;;;;2006:22:4;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:4;;1787:2:110;1998:73:4::1;::::0;::::1;1769:21:110::0;1826:2;1806:18;;;1799:30;1865:34;1845:18;;;1838:62;-1:-1:-1;;;1916:18:110;;;1909:36;1962:19;;1998:73:4::1;1585:402:110::0;1998:73:4::1;2081:28;2100:8;2081:18;:28::i;1238:130:99:-:0;1305:7;1335:26;751:20:100;745:27;;618:170;1335:26:99;1328:33;;1238:130;:::o;948:895:5:-;1286:14;1283:1;1280;1267:34;1500:1;1497;1481:14;1478:1;1462:14;1455:5;1442:60;1576:16;1573:1;1570;1555:38;1614:6;1681:66;;;;1796:16;1793:1;1786:27;1681:66;1716:16;1713:1;1706:27;2270:187:4;2343:16;2362:6;;-1:-1:-1;;;;;2378:17:4;;;-1:-1:-1;;;;;;2378:17:4;;;;;;2410:40;;2362:6;;;;;;;2410:40;;2343:16;2410:40;2333:124;2270:187;:::o;14:286:110:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:110;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:110:o",
|
|
1292
1292
|
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport { UUPSProxy } from \"../upgradability/UUPSProxy.sol\";\nimport { Ownable } from \"@openzeppelin/contracts/access/Ownable.sol\";\nimport { UUPSProxiable } from \"../upgradability/UUPSProxiable.sol\";\nimport { SuperfluidGovernanceBase } from \"./SuperfluidGovernanceBase.sol\";\nimport { ISuperfluid } from \"../interfaces/superfluid/ISuperfluid.sol\";\n\n/**\n * @title A proxy for governance which is both ownable and upgradable\n * @author Superfluid\n * IMPORTANT! Make sure the inheritance order remains in sync with the logic contract (Ownable first)!\n */\n// solhint-disable-next-line no-empty-blocks\ncontract SuperfluidGovernanceIIProxy is Ownable, UUPSProxy { }\n\ncontract SuperfluidGovernanceII is\n Ownable,\n UUPSProxiable,\n SuperfluidGovernanceBase\n{\n function _requireAuthorised() private view {\n require(owner() == _msgSender(), \"SFGovII: only owner is authorized\");\n }\n\n /**************************************************************************\n * UUPSProxiable\n **************************************************************************/\n\n // TODO: do we need initialize() here?\n\n function proxiableUUID() public pure override returns (bytes32) {\n return keccak256(\"org.superfluid-finance.contracts.SuperfluidGovernanceII.implementation\");\n }\n\n function updateCode(address newAddress)\n external override\n {\n _requireAuthorised();\n _updateCodeAddress(newAddress);\n }\n\n /**************************************************************************\n * SuperfluidGovernanceBase\n **************************************************************************/\n\n function _requireAuthorised(ISuperfluid /*host*/)\n internal view override\n {\n _requireAuthorised();\n }\n}\n",
|
|
1293
1293
|
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/gov/SuperfluidGovernanceII.sol",
|
|
1294
1294
|
"ast": {
|
|
1295
1295
|
"absolutePath": "project:/contracts/gov/SuperfluidGovernanceII.sol",
|
|
1296
1296
|
"exportedSymbols": {
|
|
1297
1297
|
"ISuperfluid": [
|
|
1298
|
-
|
|
1298
|
+
19002
|
|
1299
1299
|
],
|
|
1300
1300
|
"Ownable": [
|
|
1301
1301
|
636
|
|
1302
1302
|
],
|
|
1303
1303
|
"SuperfluidGovernanceBase": [
|
|
1304
|
-
|
|
1304
|
+
16647
|
|
1305
1305
|
],
|
|
1306
1306
|
"SuperfluidGovernanceII": [
|
|
1307
|
-
|
|
1307
|
+
16721
|
|
1308
1308
|
],
|
|
1309
1309
|
"SuperfluidGovernanceIIProxy": [
|
|
1310
|
-
|
|
1310
|
+
16665
|
|
1311
1311
|
],
|
|
1312
1312
|
"UUPSProxiable": [
|
|
1313
|
-
|
|
1313
|
+
36318
|
|
1314
1314
|
],
|
|
1315
1315
|
"UUPSProxy": [
|
|
1316
|
-
|
|
1316
|
+
36375
|
|
1317
1317
|
]
|
|
1318
1318
|
},
|
|
1319
|
-
"id":
|
|
1319
|
+
"id": 16722,
|
|
1320
1320
|
"license": "AGPLv3",
|
|
1321
1321
|
"nodeType": "SourceUnit",
|
|
1322
1322
|
"nodes": [
|
|
1323
1323
|
{
|
|
1324
|
-
"id":
|
|
1324
|
+
"id": 16649,
|
|
1325
1325
|
"literals": [
|
|
1326
1326
|
"solidity",
|
|
1327
1327
|
"0.8",
|
|
1328
1328
|
".13"
|
|
1329
1329
|
],
|
|
1330
1330
|
"nodeType": "PragmaDirective",
|
|
1331
|
-
"src": "35:23:
|
|
1331
|
+
"src": "35:23:42"
|
|
1332
1332
|
},
|
|
1333
1333
|
{
|
|
1334
1334
|
"absolutePath": "project:/contracts/upgradability/UUPSProxy.sol",
|
|
1335
1335
|
"file": "../upgradability/UUPSProxy.sol",
|
|
1336
|
-
"id":
|
|
1336
|
+
"id": 16651,
|
|
1337
1337
|
"nameLocation": "-1:-1:-1",
|
|
1338
1338
|
"nodeType": "ImportDirective",
|
|
1339
|
-
"scope":
|
|
1340
|
-
"sourceUnit":
|
|
1341
|
-
"src": "60:59:
|
|
1339
|
+
"scope": 16722,
|
|
1340
|
+
"sourceUnit": 36376,
|
|
1341
|
+
"src": "60:59:42",
|
|
1342
1342
|
"symbolAliases": [
|
|
1343
1343
|
{
|
|
1344
1344
|
"foreign": {
|
|
1345
|
-
"id":
|
|
1345
|
+
"id": 16650,
|
|
1346
1346
|
"name": "UUPSProxy",
|
|
1347
1347
|
"nodeType": "Identifier",
|
|
1348
1348
|
"overloadedDeclarations": [],
|
|
1349
|
-
"referencedDeclaration":
|
|
1350
|
-
"src": "69:9:
|
|
1349
|
+
"referencedDeclaration": 36375,
|
|
1350
|
+
"src": "69:9:42",
|
|
1351
1351
|
"typeDescriptions": {}
|
|
1352
1352
|
},
|
|
1353
1353
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1358,21 +1358,21 @@
|
|
|
1358
1358
|
{
|
|
1359
1359
|
"absolutePath": "@openzeppelin/contracts/access/Ownable.sol",
|
|
1360
1360
|
"file": "@openzeppelin/contracts/access/Ownable.sol",
|
|
1361
|
-
"id":
|
|
1361
|
+
"id": 16653,
|
|
1362
1362
|
"nameLocation": "-1:-1:-1",
|
|
1363
1363
|
"nodeType": "ImportDirective",
|
|
1364
|
-
"scope":
|
|
1364
|
+
"scope": 16722,
|
|
1365
1365
|
"sourceUnit": 637,
|
|
1366
|
-
"src": "120:69:
|
|
1366
|
+
"src": "120:69:42",
|
|
1367
1367
|
"symbolAliases": [
|
|
1368
1368
|
{
|
|
1369
1369
|
"foreign": {
|
|
1370
|
-
"id":
|
|
1370
|
+
"id": 16652,
|
|
1371
1371
|
"name": "Ownable",
|
|
1372
1372
|
"nodeType": "Identifier",
|
|
1373
1373
|
"overloadedDeclarations": [],
|
|
1374
1374
|
"referencedDeclaration": 636,
|
|
1375
|
-
"src": "129:7:
|
|
1375
|
+
"src": "129:7:42",
|
|
1376
1376
|
"typeDescriptions": {}
|
|
1377
1377
|
},
|
|
1378
1378
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1383,21 +1383,21 @@
|
|
|
1383
1383
|
{
|
|
1384
1384
|
"absolutePath": "project:/contracts/upgradability/UUPSProxiable.sol",
|
|
1385
1385
|
"file": "../upgradability/UUPSProxiable.sol",
|
|
1386
|
-
"id":
|
|
1386
|
+
"id": 16655,
|
|
1387
1387
|
"nameLocation": "-1:-1:-1",
|
|
1388
1388
|
"nodeType": "ImportDirective",
|
|
1389
|
-
"scope":
|
|
1390
|
-
"sourceUnit":
|
|
1391
|
-
"src": "190:67:
|
|
1389
|
+
"scope": 16722,
|
|
1390
|
+
"sourceUnit": 36319,
|
|
1391
|
+
"src": "190:67:42",
|
|
1392
1392
|
"symbolAliases": [
|
|
1393
1393
|
{
|
|
1394
1394
|
"foreign": {
|
|
1395
|
-
"id":
|
|
1395
|
+
"id": 16654,
|
|
1396
1396
|
"name": "UUPSProxiable",
|
|
1397
1397
|
"nodeType": "Identifier",
|
|
1398
1398
|
"overloadedDeclarations": [],
|
|
1399
|
-
"referencedDeclaration":
|
|
1400
|
-
"src": "199:13:
|
|
1399
|
+
"referencedDeclaration": 36318,
|
|
1400
|
+
"src": "199:13:42",
|
|
1401
1401
|
"typeDescriptions": {}
|
|
1402
1402
|
},
|
|
1403
1403
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1408,21 +1408,21 @@
|
|
|
1408
1408
|
{
|
|
1409
1409
|
"absolutePath": "project:/contracts/gov/SuperfluidGovernanceBase.sol",
|
|
1410
1410
|
"file": "./SuperfluidGovernanceBase.sol",
|
|
1411
|
-
"id":
|
|
1411
|
+
"id": 16657,
|
|
1412
1412
|
"nameLocation": "-1:-1:-1",
|
|
1413
1413
|
"nodeType": "ImportDirective",
|
|
1414
|
-
"scope":
|
|
1415
|
-
"sourceUnit":
|
|
1416
|
-
"src": "258:74:
|
|
1414
|
+
"scope": 16722,
|
|
1415
|
+
"sourceUnit": 16648,
|
|
1416
|
+
"src": "258:74:42",
|
|
1417
1417
|
"symbolAliases": [
|
|
1418
1418
|
{
|
|
1419
1419
|
"foreign": {
|
|
1420
|
-
"id":
|
|
1420
|
+
"id": 16656,
|
|
1421
1421
|
"name": "SuperfluidGovernanceBase",
|
|
1422
1422
|
"nodeType": "Identifier",
|
|
1423
1423
|
"overloadedDeclarations": [],
|
|
1424
|
-
"referencedDeclaration":
|
|
1425
|
-
"src": "267:24:
|
|
1424
|
+
"referencedDeclaration": 16647,
|
|
1425
|
+
"src": "267:24:42",
|
|
1426
1426
|
"typeDescriptions": {}
|
|
1427
1427
|
},
|
|
1428
1428
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1433,21 +1433,21 @@
|
|
|
1433
1433
|
{
|
|
1434
1434
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluid.sol",
|
|
1435
1435
|
"file": "../interfaces/superfluid/ISuperfluid.sol",
|
|
1436
|
-
"id":
|
|
1436
|
+
"id": 16659,
|
|
1437
1437
|
"nameLocation": "-1:-1:-1",
|
|
1438
1438
|
"nodeType": "ImportDirective",
|
|
1439
|
-
"scope":
|
|
1440
|
-
"sourceUnit":
|
|
1441
|
-
"src": "333:71:
|
|
1439
|
+
"scope": 16722,
|
|
1440
|
+
"sourceUnit": 19003,
|
|
1441
|
+
"src": "333:71:42",
|
|
1442
1442
|
"symbolAliases": [
|
|
1443
1443
|
{
|
|
1444
1444
|
"foreign": {
|
|
1445
|
-
"id":
|
|
1445
|
+
"id": 16658,
|
|
1446
1446
|
"name": "ISuperfluid",
|
|
1447
1447
|
"nodeType": "Identifier",
|
|
1448
1448
|
"overloadedDeclarations": [],
|
|
1449
|
-
"referencedDeclaration":
|
|
1450
|
-
"src": "342:11:
|
|
1449
|
+
"referencedDeclaration": 19002,
|
|
1450
|
+
"src": "342:11:42",
|
|
1451
1451
|
"typeDescriptions": {}
|
|
1452
1452
|
},
|
|
1453
1453
|
"nameLocation": "-1:-1:-1"
|
|
@@ -1460,53 +1460,53 @@
|
|
|
1460
1460
|
"baseContracts": [
|
|
1461
1461
|
{
|
|
1462
1462
|
"baseName": {
|
|
1463
|
-
"id":
|
|
1463
|
+
"id": 16661,
|
|
1464
1464
|
"name": "Ownable",
|
|
1465
1465
|
"nodeType": "IdentifierPath",
|
|
1466
1466
|
"referencedDeclaration": 636,
|
|
1467
|
-
"src": "694:7:
|
|
1467
|
+
"src": "694:7:42"
|
|
1468
1468
|
},
|
|
1469
|
-
"id":
|
|
1469
|
+
"id": 16662,
|
|
1470
1470
|
"nodeType": "InheritanceSpecifier",
|
|
1471
|
-
"src": "694:7:
|
|
1471
|
+
"src": "694:7:42"
|
|
1472
1472
|
},
|
|
1473
1473
|
{
|
|
1474
1474
|
"baseName": {
|
|
1475
|
-
"id":
|
|
1475
|
+
"id": 16663,
|
|
1476
1476
|
"name": "UUPSProxy",
|
|
1477
1477
|
"nodeType": "IdentifierPath",
|
|
1478
|
-
"referencedDeclaration":
|
|
1479
|
-
"src": "703:9:
|
|
1478
|
+
"referencedDeclaration": 36375,
|
|
1479
|
+
"src": "703:9:42"
|
|
1480
1480
|
},
|
|
1481
|
-
"id":
|
|
1481
|
+
"id": 16664,
|
|
1482
1482
|
"nodeType": "InheritanceSpecifier",
|
|
1483
|
-
"src": "703:9:
|
|
1483
|
+
"src": "703:9:42"
|
|
1484
1484
|
}
|
|
1485
1485
|
],
|
|
1486
1486
|
"canonicalName": "SuperfluidGovernanceIIProxy",
|
|
1487
1487
|
"contractDependencies": [],
|
|
1488
1488
|
"contractKind": "contract",
|
|
1489
1489
|
"documentation": {
|
|
1490
|
-
"id":
|
|
1490
|
+
"id": 16660,
|
|
1491
1491
|
"nodeType": "StructuredDocumentation",
|
|
1492
|
-
"src": "406:202:
|
|
1492
|
+
"src": "406:202:42",
|
|
1493
1493
|
"text": " @title A proxy for governance which is both ownable and upgradable\n @author Superfluid\n IMPORTANT! Make sure the inheritance order remains in sync with the logic contract (Ownable first)!"
|
|
1494
1494
|
},
|
|
1495
1495
|
"fullyImplemented": true,
|
|
1496
|
-
"id":
|
|
1496
|
+
"id": 16665,
|
|
1497
1497
|
"linearizedBaseContracts": [
|
|
1498
|
-
|
|
1499
|
-
|
|
1498
|
+
16665,
|
|
1499
|
+
36375,
|
|
1500
1500
|
688,
|
|
1501
1501
|
636,
|
|
1502
1502
|
3529
|
|
1503
1503
|
],
|
|
1504
1504
|
"name": "SuperfluidGovernanceIIProxy",
|
|
1505
|
-
"nameLocation": "663:27:
|
|
1505
|
+
"nameLocation": "663:27:42",
|
|
1506
1506
|
"nodeType": "ContractDefinition",
|
|
1507
1507
|
"nodes": [],
|
|
1508
|
-
"scope":
|
|
1509
|
-
"src": "654:62:
|
|
1508
|
+
"scope": 16722,
|
|
1509
|
+
"src": "654:62:42",
|
|
1510
1510
|
"usedErrors": []
|
|
1511
1511
|
},
|
|
1512
1512
|
{
|
|
@@ -1514,64 +1514,64 @@
|
|
|
1514
1514
|
"baseContracts": [
|
|
1515
1515
|
{
|
|
1516
1516
|
"baseName": {
|
|
1517
|
-
"id":
|
|
1517
|
+
"id": 16666,
|
|
1518
1518
|
"name": "Ownable",
|
|
1519
1519
|
"nodeType": "IdentifierPath",
|
|
1520
1520
|
"referencedDeclaration": 636,
|
|
1521
|
-
"src": "757:7:
|
|
1521
|
+
"src": "757:7:42"
|
|
1522
1522
|
},
|
|
1523
|
-
"id":
|
|
1523
|
+
"id": 16667,
|
|
1524
1524
|
"nodeType": "InheritanceSpecifier",
|
|
1525
|
-
"src": "757:7:
|
|
1525
|
+
"src": "757:7:42"
|
|
1526
1526
|
},
|
|
1527
1527
|
{
|
|
1528
1528
|
"baseName": {
|
|
1529
|
-
"id":
|
|
1529
|
+
"id": 16668,
|
|
1530
1530
|
"name": "UUPSProxiable",
|
|
1531
1531
|
"nodeType": "IdentifierPath",
|
|
1532
|
-
"referencedDeclaration":
|
|
1533
|
-
"src": "770:13:
|
|
1532
|
+
"referencedDeclaration": 36318,
|
|
1533
|
+
"src": "770:13:42"
|
|
1534
1534
|
},
|
|
1535
|
-
"id":
|
|
1535
|
+
"id": 16669,
|
|
1536
1536
|
"nodeType": "InheritanceSpecifier",
|
|
1537
|
-
"src": "770:13:
|
|
1537
|
+
"src": "770:13:42"
|
|
1538
1538
|
},
|
|
1539
1539
|
{
|
|
1540
1540
|
"baseName": {
|
|
1541
|
-
"id":
|
|
1541
|
+
"id": 16670,
|
|
1542
1542
|
"name": "SuperfluidGovernanceBase",
|
|
1543
1543
|
"nodeType": "IdentifierPath",
|
|
1544
|
-
"referencedDeclaration":
|
|
1545
|
-
"src": "789:24:
|
|
1544
|
+
"referencedDeclaration": 16647,
|
|
1545
|
+
"src": "789:24:42"
|
|
1546
1546
|
},
|
|
1547
|
-
"id":
|
|
1547
|
+
"id": 16671,
|
|
1548
1548
|
"nodeType": "InheritanceSpecifier",
|
|
1549
|
-
"src": "789:24:
|
|
1549
|
+
"src": "789:24:42"
|
|
1550
1550
|
}
|
|
1551
1551
|
],
|
|
1552
1552
|
"canonicalName": "SuperfluidGovernanceII",
|
|
1553
1553
|
"contractDependencies": [],
|
|
1554
1554
|
"contractKind": "contract",
|
|
1555
1555
|
"fullyImplemented": true,
|
|
1556
|
-
"id":
|
|
1556
|
+
"id": 16721,
|
|
1557
1557
|
"linearizedBaseContracts": [
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1558
|
+
16721,
|
|
1559
|
+
16647,
|
|
1560
|
+
19125,
|
|
1561
|
+
36318,
|
|
1562
1562
|
762,
|
|
1563
1563
|
636,
|
|
1564
1564
|
3529
|
|
1565
1565
|
],
|
|
1566
1566
|
"name": "SuperfluidGovernanceII",
|
|
1567
|
-
"nameLocation": "727:22:
|
|
1567
|
+
"nameLocation": "727:22:42",
|
|
1568
1568
|
"nodeType": "ContractDefinition",
|
|
1569
1569
|
"nodes": [
|
|
1570
1570
|
{
|
|
1571
1571
|
"body": {
|
|
1572
|
-
"id":
|
|
1572
|
+
"id": 16683,
|
|
1573
1573
|
"nodeType": "Block",
|
|
1574
|
-
"src": "863:86:
|
|
1574
|
+
"src": "863:86:42",
|
|
1575
1575
|
"statements": [
|
|
1576
1576
|
{
|
|
1577
1577
|
"expression": {
|
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
"typeIdentifier": "t_address",
|
|
1582
1582
|
"typeString": "address"
|
|
1583
1583
|
},
|
|
1584
|
-
"id":
|
|
1584
|
+
"id": 16679,
|
|
1585
1585
|
"isConstant": false,
|
|
1586
1586
|
"isLValue": false,
|
|
1587
1587
|
"isPure": false,
|
|
@@ -1590,18 +1590,18 @@
|
|
|
1590
1590
|
"arguments": [],
|
|
1591
1591
|
"expression": {
|
|
1592
1592
|
"argumentTypes": [],
|
|
1593
|
-
"id":
|
|
1593
|
+
"id": 16675,
|
|
1594
1594
|
"name": "owner",
|
|
1595
1595
|
"nodeType": "Identifier",
|
|
1596
1596
|
"overloadedDeclarations": [],
|
|
1597
1597
|
"referencedDeclaration": 564,
|
|
1598
|
-
"src": "881:5:
|
|
1598
|
+
"src": "881:5:42",
|
|
1599
1599
|
"typeDescriptions": {
|
|
1600
1600
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
|
1601
1601
|
"typeString": "function () view returns (address)"
|
|
1602
1602
|
}
|
|
1603
1603
|
},
|
|
1604
|
-
"id":
|
|
1604
|
+
"id": 16676,
|
|
1605
1605
|
"isConstant": false,
|
|
1606
1606
|
"isLValue": false,
|
|
1607
1607
|
"isPure": false,
|
|
@@ -1609,7 +1609,7 @@
|
|
|
1609
1609
|
"lValueRequested": false,
|
|
1610
1610
|
"names": [],
|
|
1611
1611
|
"nodeType": "FunctionCall",
|
|
1612
|
-
"src": "881:7:
|
|
1612
|
+
"src": "881:7:42",
|
|
1613
1613
|
"tryCall": false,
|
|
1614
1614
|
"typeDescriptions": {
|
|
1615
1615
|
"typeIdentifier": "t_address",
|
|
@@ -1622,18 +1622,18 @@
|
|
|
1622
1622
|
"arguments": [],
|
|
1623
1623
|
"expression": {
|
|
1624
1624
|
"argumentTypes": [],
|
|
1625
|
-
"id":
|
|
1625
|
+
"id": 16677,
|
|
1626
1626
|
"name": "_msgSender",
|
|
1627
1627
|
"nodeType": "Identifier",
|
|
1628
1628
|
"overloadedDeclarations": [],
|
|
1629
1629
|
"referencedDeclaration": 3519,
|
|
1630
|
-
"src": "892:10:
|
|
1630
|
+
"src": "892:10:42",
|
|
1631
1631
|
"typeDescriptions": {
|
|
1632
1632
|
"typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
|
|
1633
1633
|
"typeString": "function () view returns (address)"
|
|
1634
1634
|
}
|
|
1635
1635
|
},
|
|
1636
|
-
"id":
|
|
1636
|
+
"id": 16678,
|
|
1637
1637
|
"isConstant": false,
|
|
1638
1638
|
"isLValue": false,
|
|
1639
1639
|
"isPure": false,
|
|
@@ -1641,14 +1641,14 @@
|
|
|
1641
1641
|
"lValueRequested": false,
|
|
1642
1642
|
"names": [],
|
|
1643
1643
|
"nodeType": "FunctionCall",
|
|
1644
|
-
"src": "892:12:
|
|
1644
|
+
"src": "892:12:42",
|
|
1645
1645
|
"tryCall": false,
|
|
1646
1646
|
"typeDescriptions": {
|
|
1647
1647
|
"typeIdentifier": "t_address",
|
|
1648
1648
|
"typeString": "address"
|
|
1649
1649
|
}
|
|
1650
1650
|
},
|
|
1651
|
-
"src": "881:23:
|
|
1651
|
+
"src": "881:23:42",
|
|
1652
1652
|
"typeDescriptions": {
|
|
1653
1653
|
"typeIdentifier": "t_bool",
|
|
1654
1654
|
"typeString": "bool"
|
|
@@ -1656,14 +1656,14 @@
|
|
|
1656
1656
|
},
|
|
1657
1657
|
{
|
|
1658
1658
|
"hexValue": "5346476f7649493a206f6e6c79206f776e657220697320617574686f72697a6564",
|
|
1659
|
-
"id":
|
|
1659
|
+
"id": 16680,
|
|
1660
1660
|
"isConstant": false,
|
|
1661
1661
|
"isLValue": false,
|
|
1662
1662
|
"isPure": true,
|
|
1663
1663
|
"kind": "string",
|
|
1664
1664
|
"lValueRequested": false,
|
|
1665
1665
|
"nodeType": "Literal",
|
|
1666
|
-
"src": "906:35:
|
|
1666
|
+
"src": "906:35:42",
|
|
1667
1667
|
"typeDescriptions": {
|
|
1668
1668
|
"typeIdentifier": "t_stringliteral_aeb7dc15ae4cc3c032bf5ff218fe6f9b3d4f84315de3c3814f51b0a4d36d98df",
|
|
1669
1669
|
"typeString": "literal_string \"SFGovII: only owner is authorized\""
|
|
@@ -1682,7 +1682,7 @@
|
|
|
1682
1682
|
"typeString": "literal_string \"SFGovII: only owner is authorized\""
|
|
1683
1683
|
}
|
|
1684
1684
|
],
|
|
1685
|
-
"id":
|
|
1685
|
+
"id": 16674,
|
|
1686
1686
|
"name": "require",
|
|
1687
1687
|
"nodeType": "Identifier",
|
|
1688
1688
|
"overloadedDeclarations": [
|
|
@@ -1690,13 +1690,13 @@
|
|
|
1690
1690
|
4294967278
|
|
1691
1691
|
],
|
|
1692
1692
|
"referencedDeclaration": 4294967278,
|
|
1693
|
-
"src": "873:7:
|
|
1693
|
+
"src": "873:7:42",
|
|
1694
1694
|
"typeDescriptions": {
|
|
1695
1695
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
1696
1696
|
"typeString": "function (bool,string memory) pure"
|
|
1697
1697
|
}
|
|
1698
1698
|
},
|
|
1699
|
-
"id":
|
|
1699
|
+
"id": 16681,
|
|
1700
1700
|
"isConstant": false,
|
|
1701
1701
|
"isLValue": false,
|
|
1702
1702
|
"isPure": false,
|
|
@@ -1704,66 +1704,66 @@
|
|
|
1704
1704
|
"lValueRequested": false,
|
|
1705
1705
|
"names": [],
|
|
1706
1706
|
"nodeType": "FunctionCall",
|
|
1707
|
-
"src": "873:69:
|
|
1707
|
+
"src": "873:69:42",
|
|
1708
1708
|
"tryCall": false,
|
|
1709
1709
|
"typeDescriptions": {
|
|
1710
1710
|
"typeIdentifier": "t_tuple$__$",
|
|
1711
1711
|
"typeString": "tuple()"
|
|
1712
1712
|
}
|
|
1713
1713
|
},
|
|
1714
|
-
"id":
|
|
1714
|
+
"id": 16682,
|
|
1715
1715
|
"nodeType": "ExpressionStatement",
|
|
1716
|
-
"src": "873:69:
|
|
1716
|
+
"src": "873:69:42"
|
|
1717
1717
|
}
|
|
1718
1718
|
]
|
|
1719
1719
|
},
|
|
1720
|
-
"id":
|
|
1720
|
+
"id": 16684,
|
|
1721
1721
|
"implemented": true,
|
|
1722
1722
|
"kind": "function",
|
|
1723
1723
|
"modifiers": [],
|
|
1724
1724
|
"name": "_requireAuthorised",
|
|
1725
|
-
"nameLocation": "829:18:
|
|
1725
|
+
"nameLocation": "829:18:42",
|
|
1726
1726
|
"nodeType": "FunctionDefinition",
|
|
1727
1727
|
"parameters": {
|
|
1728
|
-
"id":
|
|
1728
|
+
"id": 16672,
|
|
1729
1729
|
"nodeType": "ParameterList",
|
|
1730
1730
|
"parameters": [],
|
|
1731
|
-
"src": "847:2:
|
|
1731
|
+
"src": "847:2:42"
|
|
1732
1732
|
},
|
|
1733
1733
|
"returnParameters": {
|
|
1734
|
-
"id":
|
|
1734
|
+
"id": 16673,
|
|
1735
1735
|
"nodeType": "ParameterList",
|
|
1736
1736
|
"parameters": [],
|
|
1737
|
-
"src": "863:0:
|
|
1737
|
+
"src": "863:0:42"
|
|
1738
1738
|
},
|
|
1739
|
-
"scope":
|
|
1740
|
-
"src": "820:129:
|
|
1739
|
+
"scope": 16721,
|
|
1740
|
+
"src": "820:129:42",
|
|
1741
1741
|
"stateMutability": "view",
|
|
1742
1742
|
"virtual": false,
|
|
1743
1743
|
"visibility": "private"
|
|
1744
1744
|
},
|
|
1745
1745
|
{
|
|
1746
1746
|
"baseFunctions": [
|
|
1747
|
-
|
|
1747
|
+
36258
|
|
1748
1748
|
],
|
|
1749
1749
|
"body": {
|
|
1750
|
-
"id":
|
|
1750
|
+
"id": 16694,
|
|
1751
1751
|
"nodeType": "Block",
|
|
1752
|
-
"src": "1244:107:
|
|
1752
|
+
"src": "1244:107:42",
|
|
1753
1753
|
"statements": [
|
|
1754
1754
|
{
|
|
1755
1755
|
"expression": {
|
|
1756
1756
|
"arguments": [
|
|
1757
1757
|
{
|
|
1758
1758
|
"hexValue": "6f72672e7375706572666c7569642d66696e616e63652e636f6e7472616374732e5375706572666c756964476f7665726e616e636549492e696d706c656d656e746174696f6e",
|
|
1759
|
-
"id":
|
|
1759
|
+
"id": 16691,
|
|
1760
1760
|
"isConstant": false,
|
|
1761
1761
|
"isLValue": false,
|
|
1762
1762
|
"isPure": true,
|
|
1763
1763
|
"kind": "string",
|
|
1764
1764
|
"lValueRequested": false,
|
|
1765
1765
|
"nodeType": "Literal",
|
|
1766
|
-
"src": "1271:72:
|
|
1766
|
+
"src": "1271:72:42",
|
|
1767
1767
|
"typeDescriptions": {
|
|
1768
1768
|
"typeIdentifier": "t_stringliteral_42262e3b6ca1f8f82e158e1ac4ddf4e6273aa6499266ae17bcaceb2383054239",
|
|
1769
1769
|
"typeString": "literal_string \"org.superfluid-finance.contracts.SuperfluidGovernanceII.implementation\""
|
|
@@ -1778,18 +1778,18 @@
|
|
|
1778
1778
|
"typeString": "literal_string \"org.superfluid-finance.contracts.SuperfluidGovernanceII.implementation\""
|
|
1779
1779
|
}
|
|
1780
1780
|
],
|
|
1781
|
-
"id":
|
|
1781
|
+
"id": 16690,
|
|
1782
1782
|
"name": "keccak256",
|
|
1783
1783
|
"nodeType": "Identifier",
|
|
1784
1784
|
"overloadedDeclarations": [],
|
|
1785
1785
|
"referencedDeclaration": 4294967288,
|
|
1786
|
-
"src": "1261:9:
|
|
1786
|
+
"src": "1261:9:42",
|
|
1787
1787
|
"typeDescriptions": {
|
|
1788
1788
|
"typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$",
|
|
1789
1789
|
"typeString": "function (bytes memory) pure returns (bytes32)"
|
|
1790
1790
|
}
|
|
1791
1791
|
},
|
|
1792
|
-
"id":
|
|
1792
|
+
"id": 16692,
|
|
1793
1793
|
"isConstant": false,
|
|
1794
1794
|
"isLValue": false,
|
|
1795
1795
|
"isPure": true,
|
|
@@ -1797,53 +1797,53 @@
|
|
|
1797
1797
|
"lValueRequested": false,
|
|
1798
1798
|
"names": [],
|
|
1799
1799
|
"nodeType": "FunctionCall",
|
|
1800
|
-
"src": "1261:83:
|
|
1800
|
+
"src": "1261:83:42",
|
|
1801
1801
|
"tryCall": false,
|
|
1802
1802
|
"typeDescriptions": {
|
|
1803
1803
|
"typeIdentifier": "t_bytes32",
|
|
1804
1804
|
"typeString": "bytes32"
|
|
1805
1805
|
}
|
|
1806
1806
|
},
|
|
1807
|
-
"functionReturnParameters":
|
|
1808
|
-
"id":
|
|
1807
|
+
"functionReturnParameters": 16689,
|
|
1808
|
+
"id": 16693,
|
|
1809
1809
|
"nodeType": "Return",
|
|
1810
|
-
"src": "1254:90:
|
|
1810
|
+
"src": "1254:90:42"
|
|
1811
1811
|
}
|
|
1812
1812
|
]
|
|
1813
1813
|
},
|
|
1814
1814
|
"functionSelector": "52d1902d",
|
|
1815
|
-
"id":
|
|
1815
|
+
"id": 16695,
|
|
1816
1816
|
"implemented": true,
|
|
1817
1817
|
"kind": "function",
|
|
1818
1818
|
"modifiers": [],
|
|
1819
1819
|
"name": "proxiableUUID",
|
|
1820
|
-
"nameLocation": "1189:13:
|
|
1820
|
+
"nameLocation": "1189:13:42",
|
|
1821
1821
|
"nodeType": "FunctionDefinition",
|
|
1822
1822
|
"overrides": {
|
|
1823
|
-
"id":
|
|
1823
|
+
"id": 16686,
|
|
1824
1824
|
"nodeType": "OverrideSpecifier",
|
|
1825
1825
|
"overrides": [],
|
|
1826
|
-
"src": "1217:8:
|
|
1826
|
+
"src": "1217:8:42"
|
|
1827
1827
|
},
|
|
1828
1828
|
"parameters": {
|
|
1829
|
-
"id":
|
|
1829
|
+
"id": 16685,
|
|
1830
1830
|
"nodeType": "ParameterList",
|
|
1831
1831
|
"parameters": [],
|
|
1832
|
-
"src": "1202:2:
|
|
1832
|
+
"src": "1202:2:42"
|
|
1833
1833
|
},
|
|
1834
1834
|
"returnParameters": {
|
|
1835
|
-
"id":
|
|
1835
|
+
"id": 16689,
|
|
1836
1836
|
"nodeType": "ParameterList",
|
|
1837
1837
|
"parameters": [
|
|
1838
1838
|
{
|
|
1839
1839
|
"constant": false,
|
|
1840
|
-
"id":
|
|
1840
|
+
"id": 16688,
|
|
1841
1841
|
"mutability": "mutable",
|
|
1842
1842
|
"name": "",
|
|
1843
1843
|
"nameLocation": "-1:-1:-1",
|
|
1844
1844
|
"nodeType": "VariableDeclaration",
|
|
1845
|
-
"scope":
|
|
1846
|
-
"src": "1235:7:
|
|
1845
|
+
"scope": 16695,
|
|
1846
|
+
"src": "1235:7:42",
|
|
1847
1847
|
"stateVariable": false,
|
|
1848
1848
|
"storageLocation": "default",
|
|
1849
1849
|
"typeDescriptions": {
|
|
@@ -1851,10 +1851,10 @@
|
|
|
1851
1851
|
"typeString": "bytes32"
|
|
1852
1852
|
},
|
|
1853
1853
|
"typeName": {
|
|
1854
|
-
"id":
|
|
1854
|
+
"id": 16687,
|
|
1855
1855
|
"name": "bytes32",
|
|
1856
1856
|
"nodeType": "ElementaryTypeName",
|
|
1857
|
-
"src": "1235:7:
|
|
1857
|
+
"src": "1235:7:42",
|
|
1858
1858
|
"typeDescriptions": {
|
|
1859
1859
|
"typeIdentifier": "t_bytes32",
|
|
1860
1860
|
"typeString": "bytes32"
|
|
@@ -1863,43 +1863,43 @@
|
|
|
1863
1863
|
"visibility": "internal"
|
|
1864
1864
|
}
|
|
1865
1865
|
],
|
|
1866
|
-
"src": "1234:9:
|
|
1866
|
+
"src": "1234:9:42"
|
|
1867
1867
|
},
|
|
1868
|
-
"scope":
|
|
1869
|
-
"src": "1180:171:
|
|
1868
|
+
"scope": 16721,
|
|
1869
|
+
"src": "1180:171:42",
|
|
1870
1870
|
"stateMutability": "pure",
|
|
1871
1871
|
"virtual": false,
|
|
1872
1872
|
"visibility": "public"
|
|
1873
1873
|
},
|
|
1874
1874
|
{
|
|
1875
1875
|
"baseFunctions": [
|
|
1876
|
-
|
|
1876
|
+
36252
|
|
1877
1877
|
],
|
|
1878
1878
|
"body": {
|
|
1879
|
-
"id":
|
|
1879
|
+
"id": 16708,
|
|
1880
1880
|
"nodeType": "Block",
|
|
1881
|
-
"src": "1427:77:
|
|
1881
|
+
"src": "1427:77:42",
|
|
1882
1882
|
"statements": [
|
|
1883
1883
|
{
|
|
1884
1884
|
"expression": {
|
|
1885
1885
|
"arguments": [],
|
|
1886
1886
|
"expression": {
|
|
1887
1887
|
"argumentTypes": [],
|
|
1888
|
-
"id":
|
|
1888
|
+
"id": 16701,
|
|
1889
1889
|
"name": "_requireAuthorised",
|
|
1890
1890
|
"nodeType": "Identifier",
|
|
1891
1891
|
"overloadedDeclarations": [
|
|
1892
|
-
|
|
1893
|
-
|
|
1892
|
+
16684,
|
|
1893
|
+
16720
|
|
1894
1894
|
],
|
|
1895
|
-
"referencedDeclaration":
|
|
1896
|
-
"src": "1437:18:
|
|
1895
|
+
"referencedDeclaration": 16684,
|
|
1896
|
+
"src": "1437:18:42",
|
|
1897
1897
|
"typeDescriptions": {
|
|
1898
1898
|
"typeIdentifier": "t_function_internal_view$__$returns$__$",
|
|
1899
1899
|
"typeString": "function () view"
|
|
1900
1900
|
}
|
|
1901
1901
|
},
|
|
1902
|
-
"id":
|
|
1902
|
+
"id": 16702,
|
|
1903
1903
|
"isConstant": false,
|
|
1904
1904
|
"isLValue": false,
|
|
1905
1905
|
"isPure": false,
|
|
@@ -1907,27 +1907,27 @@
|
|
|
1907
1907
|
"lValueRequested": false,
|
|
1908
1908
|
"names": [],
|
|
1909
1909
|
"nodeType": "FunctionCall",
|
|
1910
|
-
"src": "1437:20:
|
|
1910
|
+
"src": "1437:20:42",
|
|
1911
1911
|
"tryCall": false,
|
|
1912
1912
|
"typeDescriptions": {
|
|
1913
1913
|
"typeIdentifier": "t_tuple$__$",
|
|
1914
1914
|
"typeString": "tuple()"
|
|
1915
1915
|
}
|
|
1916
1916
|
},
|
|
1917
|
-
"id":
|
|
1917
|
+
"id": 16703,
|
|
1918
1918
|
"nodeType": "ExpressionStatement",
|
|
1919
|
-
"src": "1437:20:
|
|
1919
|
+
"src": "1437:20:42"
|
|
1920
1920
|
},
|
|
1921
1921
|
{
|
|
1922
1922
|
"expression": {
|
|
1923
1923
|
"arguments": [
|
|
1924
1924
|
{
|
|
1925
|
-
"id":
|
|
1925
|
+
"id": 16705,
|
|
1926
1926
|
"name": "newAddress",
|
|
1927
1927
|
"nodeType": "Identifier",
|
|
1928
1928
|
"overloadedDeclarations": [],
|
|
1929
|
-
"referencedDeclaration":
|
|
1930
|
-
"src": "1486:10:
|
|
1929
|
+
"referencedDeclaration": 16697,
|
|
1930
|
+
"src": "1486:10:42",
|
|
1931
1931
|
"typeDescriptions": {
|
|
1932
1932
|
"typeIdentifier": "t_address",
|
|
1933
1933
|
"typeString": "address"
|
|
@@ -1941,18 +1941,18 @@
|
|
|
1941
1941
|
"typeString": "address"
|
|
1942
1942
|
}
|
|
1943
1943
|
],
|
|
1944
|
-
"id":
|
|
1944
|
+
"id": 16704,
|
|
1945
1945
|
"name": "_updateCodeAddress",
|
|
1946
1946
|
"nodeType": "Identifier",
|
|
1947
1947
|
"overloadedDeclarations": [],
|
|
1948
|
-
"referencedDeclaration":
|
|
1949
|
-
"src": "1467:18:
|
|
1948
|
+
"referencedDeclaration": 36311,
|
|
1949
|
+
"src": "1467:18:42",
|
|
1950
1950
|
"typeDescriptions": {
|
|
1951
1951
|
"typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
|
|
1952
1952
|
"typeString": "function (address)"
|
|
1953
1953
|
}
|
|
1954
1954
|
},
|
|
1955
|
-
"id":
|
|
1955
|
+
"id": 16706,
|
|
1956
1956
|
"isConstant": false,
|
|
1957
1957
|
"isLValue": false,
|
|
1958
1958
|
"isPure": false,
|
|
@@ -1960,46 +1960,46 @@
|
|
|
1960
1960
|
"lValueRequested": false,
|
|
1961
1961
|
"names": [],
|
|
1962
1962
|
"nodeType": "FunctionCall",
|
|
1963
|
-
"src": "1467:30:
|
|
1963
|
+
"src": "1467:30:42",
|
|
1964
1964
|
"tryCall": false,
|
|
1965
1965
|
"typeDescriptions": {
|
|
1966
1966
|
"typeIdentifier": "t_tuple$__$",
|
|
1967
1967
|
"typeString": "tuple()"
|
|
1968
1968
|
}
|
|
1969
1969
|
},
|
|
1970
|
-
"id":
|
|
1970
|
+
"id": 16707,
|
|
1971
1971
|
"nodeType": "ExpressionStatement",
|
|
1972
|
-
"src": "1467:30:
|
|
1972
|
+
"src": "1467:30:42"
|
|
1973
1973
|
}
|
|
1974
1974
|
]
|
|
1975
1975
|
},
|
|
1976
1976
|
"functionSelector": "46951954",
|
|
1977
|
-
"id":
|
|
1977
|
+
"id": 16709,
|
|
1978
1978
|
"implemented": true,
|
|
1979
1979
|
"kind": "function",
|
|
1980
1980
|
"modifiers": [],
|
|
1981
1981
|
"name": "updateCode",
|
|
1982
|
-
"nameLocation": "1366:10:
|
|
1982
|
+
"nameLocation": "1366:10:42",
|
|
1983
1983
|
"nodeType": "FunctionDefinition",
|
|
1984
1984
|
"overrides": {
|
|
1985
|
-
"id":
|
|
1985
|
+
"id": 16699,
|
|
1986
1986
|
"nodeType": "OverrideSpecifier",
|
|
1987
1987
|
"overrides": [],
|
|
1988
|
-
"src": "1414:8:
|
|
1988
|
+
"src": "1414:8:42"
|
|
1989
1989
|
},
|
|
1990
1990
|
"parameters": {
|
|
1991
|
-
"id":
|
|
1991
|
+
"id": 16698,
|
|
1992
1992
|
"nodeType": "ParameterList",
|
|
1993
1993
|
"parameters": [
|
|
1994
1994
|
{
|
|
1995
1995
|
"constant": false,
|
|
1996
|
-
"id":
|
|
1996
|
+
"id": 16697,
|
|
1997
1997
|
"mutability": "mutable",
|
|
1998
1998
|
"name": "newAddress",
|
|
1999
|
-
"nameLocation": "1385:10:
|
|
1999
|
+
"nameLocation": "1385:10:42",
|
|
2000
2000
|
"nodeType": "VariableDeclaration",
|
|
2001
|
-
"scope":
|
|
2002
|
-
"src": "1377:18:
|
|
2001
|
+
"scope": 16709,
|
|
2002
|
+
"src": "1377:18:42",
|
|
2003
2003
|
"stateVariable": false,
|
|
2004
2004
|
"storageLocation": "default",
|
|
2005
2005
|
"typeDescriptions": {
|
|
@@ -2007,10 +2007,10 @@
|
|
|
2007
2007
|
"typeString": "address"
|
|
2008
2008
|
},
|
|
2009
2009
|
"typeName": {
|
|
2010
|
-
"id":
|
|
2010
|
+
"id": 16696,
|
|
2011
2011
|
"name": "address",
|
|
2012
2012
|
"nodeType": "ElementaryTypeName",
|
|
2013
|
-
"src": "1377:7:
|
|
2013
|
+
"src": "1377:7:42",
|
|
2014
2014
|
"stateMutability": "nonpayable",
|
|
2015
2015
|
"typeDescriptions": {
|
|
2016
2016
|
"typeIdentifier": "t_address",
|
|
@@ -2020,49 +2020,49 @@
|
|
|
2020
2020
|
"visibility": "internal"
|
|
2021
2021
|
}
|
|
2022
2022
|
],
|
|
2023
|
-
"src": "1376:20:
|
|
2023
|
+
"src": "1376:20:42"
|
|
2024
2024
|
},
|
|
2025
2025
|
"returnParameters": {
|
|
2026
|
-
"id":
|
|
2026
|
+
"id": 16700,
|
|
2027
2027
|
"nodeType": "ParameterList",
|
|
2028
2028
|
"parameters": [],
|
|
2029
|
-
"src": "1427:0:
|
|
2029
|
+
"src": "1427:0:42"
|
|
2030
2030
|
},
|
|
2031
|
-
"scope":
|
|
2032
|
-
"src": "1357:147:
|
|
2031
|
+
"scope": 16721,
|
|
2032
|
+
"src": "1357:147:42",
|
|
2033
2033
|
"stateMutability": "nonpayable",
|
|
2034
2034
|
"virtual": false,
|
|
2035
2035
|
"visibility": "external"
|
|
2036
2036
|
},
|
|
2037
2037
|
{
|
|
2038
2038
|
"baseFunctions": [
|
|
2039
|
-
|
|
2039
|
+
16646
|
|
2040
2040
|
],
|
|
2041
2041
|
"body": {
|
|
2042
|
-
"id":
|
|
2042
|
+
"id": 16719,
|
|
2043
2043
|
"nodeType": "Block",
|
|
2044
|
-
"src": "1787:37:
|
|
2044
|
+
"src": "1787:37:42",
|
|
2045
2045
|
"statements": [
|
|
2046
2046
|
{
|
|
2047
2047
|
"expression": {
|
|
2048
2048
|
"arguments": [],
|
|
2049
2049
|
"expression": {
|
|
2050
2050
|
"argumentTypes": [],
|
|
2051
|
-
"id":
|
|
2051
|
+
"id": 16716,
|
|
2052
2052
|
"name": "_requireAuthorised",
|
|
2053
2053
|
"nodeType": "Identifier",
|
|
2054
2054
|
"overloadedDeclarations": [
|
|
2055
|
-
|
|
2056
|
-
|
|
2055
|
+
16684,
|
|
2056
|
+
16720
|
|
2057
2057
|
],
|
|
2058
|
-
"referencedDeclaration":
|
|
2059
|
-
"src": "1797:18:
|
|
2058
|
+
"referencedDeclaration": 16684,
|
|
2059
|
+
"src": "1797:18:42",
|
|
2060
2060
|
"typeDescriptions": {
|
|
2061
2061
|
"typeIdentifier": "t_function_internal_view$__$returns$__$",
|
|
2062
2062
|
"typeString": "function () view"
|
|
2063
2063
|
}
|
|
2064
2064
|
},
|
|
2065
|
-
"id":
|
|
2065
|
+
"id": 16717,
|
|
2066
2066
|
"isConstant": false,
|
|
2067
2067
|
"isLValue": false,
|
|
2068
2068
|
"isPure": false,
|
|
@@ -2070,92 +2070,92 @@
|
|
|
2070
2070
|
"lValueRequested": false,
|
|
2071
2071
|
"names": [],
|
|
2072
2072
|
"nodeType": "FunctionCall",
|
|
2073
|
-
"src": "1797:20:
|
|
2073
|
+
"src": "1797:20:42",
|
|
2074
2074
|
"tryCall": false,
|
|
2075
2075
|
"typeDescriptions": {
|
|
2076
2076
|
"typeIdentifier": "t_tuple$__$",
|
|
2077
2077
|
"typeString": "tuple()"
|
|
2078
2078
|
}
|
|
2079
2079
|
},
|
|
2080
|
-
"id":
|
|
2080
|
+
"id": 16718,
|
|
2081
2081
|
"nodeType": "ExpressionStatement",
|
|
2082
|
-
"src": "1797:20:
|
|
2082
|
+
"src": "1797:20:42"
|
|
2083
2083
|
}
|
|
2084
2084
|
]
|
|
2085
2085
|
},
|
|
2086
|
-
"id":
|
|
2086
|
+
"id": 16720,
|
|
2087
2087
|
"implemented": true,
|
|
2088
2088
|
"kind": "function",
|
|
2089
2089
|
"modifiers": [],
|
|
2090
2090
|
"name": "_requireAuthorised",
|
|
2091
|
-
"nameLocation": "1711:18:
|
|
2091
|
+
"nameLocation": "1711:18:42",
|
|
2092
2092
|
"nodeType": "FunctionDefinition",
|
|
2093
2093
|
"overrides": {
|
|
2094
|
-
"id":
|
|
2094
|
+
"id": 16714,
|
|
2095
2095
|
"nodeType": "OverrideSpecifier",
|
|
2096
2096
|
"overrides": [],
|
|
2097
|
-
"src": "1774:8:
|
|
2097
|
+
"src": "1774:8:42"
|
|
2098
2098
|
},
|
|
2099
2099
|
"parameters": {
|
|
2100
|
-
"id":
|
|
2100
|
+
"id": 16713,
|
|
2101
2101
|
"nodeType": "ParameterList",
|
|
2102
2102
|
"parameters": [
|
|
2103
2103
|
{
|
|
2104
2104
|
"constant": false,
|
|
2105
|
-
"id":
|
|
2105
|
+
"id": 16712,
|
|
2106
2106
|
"mutability": "mutable",
|
|
2107
2107
|
"name": "",
|
|
2108
2108
|
"nameLocation": "-1:-1:-1",
|
|
2109
2109
|
"nodeType": "VariableDeclaration",
|
|
2110
|
-
"scope":
|
|
2111
|
-
"src": "1730:11:
|
|
2110
|
+
"scope": 16720,
|
|
2111
|
+
"src": "1730:11:42",
|
|
2112
2112
|
"stateVariable": false,
|
|
2113
2113
|
"storageLocation": "default",
|
|
2114
2114
|
"typeDescriptions": {
|
|
2115
|
-
"typeIdentifier": "t_contract$_ISuperfluid_$
|
|
2115
|
+
"typeIdentifier": "t_contract$_ISuperfluid_$19002",
|
|
2116
2116
|
"typeString": "contract ISuperfluid"
|
|
2117
2117
|
},
|
|
2118
2118
|
"typeName": {
|
|
2119
|
-
"id":
|
|
2119
|
+
"id": 16711,
|
|
2120
2120
|
"nodeType": "UserDefinedTypeName",
|
|
2121
2121
|
"pathNode": {
|
|
2122
|
-
"id":
|
|
2122
|
+
"id": 16710,
|
|
2123
2123
|
"name": "ISuperfluid",
|
|
2124
2124
|
"nodeType": "IdentifierPath",
|
|
2125
|
-
"referencedDeclaration":
|
|
2126
|
-
"src": "1730:11:
|
|
2125
|
+
"referencedDeclaration": 19002,
|
|
2126
|
+
"src": "1730:11:42"
|
|
2127
2127
|
},
|
|
2128
|
-
"referencedDeclaration":
|
|
2129
|
-
"src": "1730:11:
|
|
2128
|
+
"referencedDeclaration": 19002,
|
|
2129
|
+
"src": "1730:11:42",
|
|
2130
2130
|
"typeDescriptions": {
|
|
2131
|
-
"typeIdentifier": "t_contract$_ISuperfluid_$
|
|
2131
|
+
"typeIdentifier": "t_contract$_ISuperfluid_$19002",
|
|
2132
2132
|
"typeString": "contract ISuperfluid"
|
|
2133
2133
|
}
|
|
2134
2134
|
},
|
|
2135
2135
|
"visibility": "internal"
|
|
2136
2136
|
}
|
|
2137
2137
|
],
|
|
2138
|
-
"src": "1729:22:
|
|
2138
|
+
"src": "1729:22:42"
|
|
2139
2139
|
},
|
|
2140
2140
|
"returnParameters": {
|
|
2141
|
-
"id":
|
|
2141
|
+
"id": 16715,
|
|
2142
2142
|
"nodeType": "ParameterList",
|
|
2143
2143
|
"parameters": [],
|
|
2144
|
-
"src": "1787:0:
|
|
2144
|
+
"src": "1787:0:42"
|
|
2145
2145
|
},
|
|
2146
|
-
"scope":
|
|
2147
|
-
"src": "1702:122:
|
|
2146
|
+
"scope": 16721,
|
|
2147
|
+
"src": "1702:122:42",
|
|
2148
2148
|
"stateMutability": "view",
|
|
2149
2149
|
"virtual": false,
|
|
2150
2150
|
"visibility": "internal"
|
|
2151
2151
|
}
|
|
2152
2152
|
],
|
|
2153
|
-
"scope":
|
|
2154
|
-
"src": "718:1108:
|
|
2153
|
+
"scope": 16722,
|
|
2154
|
+
"src": "718:1108:42",
|
|
2155
2155
|
"usedErrors": []
|
|
2156
2156
|
}
|
|
2157
2157
|
],
|
|
2158
|
-
"src": "35:1792:
|
|
2158
|
+
"src": "35:1792:42"
|
|
2159
2159
|
},
|
|
2160
2160
|
"compiler": {
|
|
2161
2161
|
"name": "solc",
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
},
|
|
2164
2164
|
"networks": {},
|
|
2165
2165
|
"schemaVersion": "3.4.7",
|
|
2166
|
-
"updatedAt": "2022-05-
|
|
2166
|
+
"updatedAt": "2022-05-05T19:02:22.020Z",
|
|
2167
2167
|
"devdoc": {
|
|
2168
2168
|
"author": "Superfluid IMPORTANT! Make sure the inheritance order remains in sync with the logic contract (Ownable first)!",
|
|
2169
2169
|
"kind": "dev",
|