@superfluid-finance/ethereum-contracts 1.2.3-dev.f54cc8b.0 → 1.2.3-dev.f8cb3ec.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/LICENSE +1 -1
- package/README.md +2 -2
- 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 +9 -9
- package/build/contracts/AgreementLibrary.json +4 -4
- package/build/contracts/BaseRelayRecipient.json +1 -1
- package/build/contracts/BatchLiquidator.json +165 -165
- package/build/contracts/BatchOperation.json +1 -1
- package/build/contracts/CFAv1Library.json +4 -4
- package/build/contracts/CallUtils.json +1 -1
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +4 -4
- package/build/contracts/ConstantFlowAgreementV1.json +5 -5
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1 -1
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +2 -2
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.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 +1 -1
- package/build/contracts/ERC777Helper.json +1 -1
- package/build/contracts/ERC777RecipientDrainingGas.json +4 -4
- package/build/contracts/ERC777RecipientReverting.json +4 -4
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +4 -4
- package/build/contracts/FixedSizeData.json +1 -1
- package/build/contracts/FlowExchangeTestApp.json +4 -4
- package/build/contracts/FlowOperatorDefinitions.json +1 -1
- package/build/contracts/FullUpgradableSuperTokenProxy.json +4 -4
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1 -1
- package/build/contracts/IDAv1Library.json +4 -4
- 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/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1 -1
- package/build/contracts/IMaticBridgedNativeSuperToken.json +2 -2
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +2 -2
- package/build/contracts/IMultiSigWallet.json +1 -1
- package/build/contracts/IPureSuperToken.json +2 -2
- package/build/contracts/IPureSuperTokenCustom.json +2 -2
- package/build/contracts/IRelayRecipient.json +1 -1
- package/build/contracts/IResolver.json +1 -1
- package/build/contracts/ISETH.json +2 -2
- package/build/contracts/ISETHCustom.json +2 -2
- package/build/contracts/ISuperAgreement.json +1 -1
- package/build/contracts/ISuperApp.json +2 -2
- package/build/contracts/ISuperToken.json +2 -2
- package/build/contracts/ISuperTokenFactory.json +2 -2
- package/build/contracts/ISuperfluid.json +425 -418
- package/build/contracts/ISuperfluidGovernance.json +2 -2
- package/build/contracts/ISuperfluidToken.json +1 -1
- package/build/contracts/ITOGAv1.json +1208 -1208
- package/build/contracts/ITOGAv2.json +1208 -1208
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5 -5
- package/build/contracts/Int96SafeMath.json +1 -1
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +191 -191
- package/build/contracts/NonClosableOutflowTestApp.json +4 -4
- 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 +88 -88
- package/build/contracts/Resolver.json +90 -90
- package/build/contracts/SETHProxy.json +196 -196
- 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 +4 -4
- package/build/contracts/SlotsBitmapLibrary.json +1 -1
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +2 -2
- package/build/contracts/SuperAppDefinitions.json +1 -1
- package/build/contracts/SuperToken.json +46 -46
- package/build/contracts/SuperTokenFactory.json +35 -35
- package/build/contracts/SuperTokenFactoryBase.json +33 -33
- package/build/contracts/SuperTokenFactoryHelper.json +35 -35
- package/build/contracts/SuperUpgrader.json +422 -422
- package/build/contracts/Superfluid.json +5488 -5454
- package/build/contracts/SuperfluidFrameworkDeployer.json +472 -472
- package/build/contracts/SuperfluidGovernanceBase.json +9 -9
- package/build/contracts/SuperfluidGovernanceConfigs.json +1 -1
- package/build/contracts/SuperfluidGovernanceII.json +17 -17
- package/build/contracts/SuperfluidGovernanceIIProxy.json +17 -17
- package/build/contracts/SuperfluidLoader.json +144 -144
- package/build/contracts/SuperfluidToken.json +1217 -1217
- package/build/contracts/TOGA.json +1218 -1218
- package/build/contracts/TestGovernance.json +171 -171
- package/build/contracts/TestToken.json +94 -94
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +1 -1
- package/build/contracts/UInt128SafeMath.json +1 -1
- 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 +7 -7
- package/contracts/interfaces/superfluid/ISuperfluid.sol +14 -6
- package/contracts/superfluid/Superfluid.sol +12 -10
- package/package.json +2 -2
- package/scripts/{deploy-unlisted-native-super-token.js → deploy-unlisted-pure-super-token.js} +4 -4
- package/scripts/gov-transfer-framework-ownership.js +3 -3
- package/scripts/libs/getConfig.js +3 -3
- package/utils/README.md +19 -1
- package/utils/stream-closer.html +212 -0
- package/utils/supertoken-deployer.html +1 -1
|
@@ -896,9 +896,9 @@
|
|
|
896
896
|
"type": "function"
|
|
897
897
|
}
|
|
898
898
|
],
|
|
899
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"}],\"name\":\"CFAv1LiquidationPeriodChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"ConfigChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"}],\"name\":\"PPPConfigurationChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"}],\"name\":\"RewardAddressChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minimumDeposit\",\"type\":\"uint256\"}],\"name\":\"SuperTokenMinimumDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"TrustedForwarderChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"authorizeAppFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperToken[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"batchUpdateSuperTokenLogic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperToken[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"minimumDeposits\",\"type\":\"uint256[]\"}],\"name\":\"batchUpdateSuperTokenMinimumDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"clearConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"clearPPPConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"clearRewardAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"clearSuperTokenMinimumDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"clearTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"disableTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"enableTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"getConfigAsAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"value\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"getConfigAsUint256\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"getPPPConfig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"getRewardAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"getSuperTokenMinimumDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"trustedForwarders\",\"type\":\"address[]\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"isAuthorizedAppFactory\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"}],\"name\":\"registerAgreementClass\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newGov\",\"type\":\"address\"}],\"name\":\"replaceGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"value\",\"type\":\"address\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"}],\"name\":\"setPPPConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"}],\"name\":\"setRewardAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setSuperTokenMinimumDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"unauthorizeAppFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"hostNewLogic\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"agreementClassNewLogics\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"superTokenFactoryNewLogic\",\"type\":\"address\"}],\"name\":\"updateContracts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid \",\"details\":\"A initializable version of the governance for testing purpose\",\"kind\":\"dev\",\"methods\":{\"authorizeAppFactory(address,address)\":{\"details\":\"allows the given factory to register new apps without requiring onetime keys\",\"params\":{\"factory\":\"must be an initialized contract\"}},\"batchUpdateSuperTokenLogic(address,address[])\":{\"details\":\"Update supertoken logic contract to the latest that is managed by the super token factory\"},\"clearConfig(address,address,bytes32)\":{\"details\":\"Clear configuration\"},\"getConfigAsAddress(address,address,bytes32)\":{\"details\":\"Get configuration as address value\"},\"getConfigAsUint256(address,address,bytes32)\":{\"details\":\"Get configuration as uint256 value\"},\"isAuthorizedAppFactory(address,address)\":{\"details\":\"tells if the given factory is authorized to register apps\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"registerAgreementClass(address,address)\":{\"details\":\"Register a new agreement class\"},\"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.\"},\"replaceGovernance(address,address)\":{\"details\":\"Replace the current governance with a new governance\"},\"setConfig(address,address,bytes32,address)\":{\"details\":\"Set configuration as address value\"},\"setConfig(address,address,bytes32,uint256)\":{\"details\":\"Set configuration as uint256 value\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"unauthorizeAppFactory(address,address)\":{\"details\":\"withdraws authorization from a factory to register new apps. Doesn't affect apps previously registered by the factory.\"},\"updateContracts(address,address,address[],address)\":{\"details\":\"Update logics of the contracts NOTE: - Because they might have inter-dependencies, it is good to have one single function to update them all\"}},\"title\":\"Test governance contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/utils/TestGovernance.sol\":\"TestGovernance\"},\"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/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/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/UUPSUtils.sol\":{\"keccak256\":\"0xffec084e77ce3c0b595f0612687242f3d8b7a84cab15e5650c17428ee48d0b5b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://be0183816467872b053562d9a737042ac3a91ea67e3c74e03de5db7226f3e73b\",\"dweb:/ipfs/QmUyi4YXh1T7MExbrLwZ6rAdXTPChF8q27YpZxxniR6CHM\"]},\"project:/contracts/utils/TestGovernance.sol\":{\"keccak256\":\"0x88232403c83d71e09b94ff78bf4464d5707c55052247c94b5d0a7808b4ab366b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://b4b364b1555bad346d96ea124597823514c75a0f49b30136d65b3b9be4d09aac\",\"dweb:/ipfs/QmQKztdSztuVcW6EnQzTUvjFS2Dudi89g1sZ2fxBEZSuoy\"]}},\"version\":1}",
|
|
900
|
-
"bytecode": "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6119188061007e6000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c80637f0558e4116101045780638da5cb5b116100a2578063e447cc1d11610071578063e447cc1d1461040c578063f047a2d91461041f578063f2fde38b14610432578063f79a8e631461044557600080fd5b80638da5cb5b146103c25780638ecbd87b146103d3578063ab846f1a146103e6578063cadf8f85146103f957600080fd5b80638a7ff2f7116100de5780638a7ff2f7146103665780638abe04e9146103795780638b93b3f51461039c5780638ce93379146103af57600080fd5b80637f0558e41461032457806380f70cba146103375780638369a0f11461035857600080fd5b8063427942a41161017c578063640b6cc91161014b578063640b6cc9146102e3578063715018a6146102f657806378707cb8146102fe5780637dce4f811461031157600080fd5b8063427942a41461028257806344864b251461029557806345228235146102a85780635a907818146102d057600080fd5b806321964473116101b8578063219644731461023657806325c955c314610249578063325529081461025c57806342148deb1461026f57600080fd5b806286d555146101de57806301a06b97146101f357806319df62ab14610206575b600080fd5b6101f16101ec36600461144d565b610458565b005b6101f1610201366004611493565b610573565b610219610214366004611493565b6105f2565b6040516001600160a01b0390911681526020015b60405180910390f35b6101f1610244366004611518565b610626565b6101f1610257366004611493565b6106ef565b6101f161026a3660046115ab565b610703565b6101f161027d3660046115f6565b61077f565b6101f161029036600461164b565b610834565b6101f16102a3366004611493565b6109c7565b6102bb6102b6366004611493565b610a32565b6040805192835260208301919091520161022d565b6101f16102de3660046116de565b610a7a565b6101f16102f13660046117de565b610b31565b6101f1610b3c565b6101f161030c36600461181f565b610ba2565b6101f161031f3660046115ab565b610bae565b6101f16103323660046117de565b610c1e565b61034a6103453660046117de565b610c94565b60405190815260200161022d565b6102196103453660046117de565b61034a610374366004611493565b610d05565b61038c610387366004611493565b610d32565b604051901515815260200161022d565b6101f16103aa366004611493565b610d4d565b6101f16103bd3660046115ab565b610dbd565b6000546001600160a01b0316610219565b6101f16103e1366004611493565b610e1c565b6101f16103f43660046115ab565b610e90565b6101f1610407366004611493565b610eec565b6101f161041a366004611493565b610f24565b61038c61042d3660046115ab565b610f98565b6101f1610440366004611872565b610fb3565b6101f161045336600461144d565b61107e565b808211801561046a575063ffffffff82105b8015610479575063ffffffff81105b6104e65760405162461bcd60e51b815260206004820152603360248201527f5346476f763a20496e76616c6964206c69717569646174696f6e506572696f64604482015272081bdc881c185d1c9a58da585b94195c9a5bd9606a1b60648201526084015b60405180910390fd5b6040805160018152602081018490529081018290526001600160a01b0380851691908616907f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869060600160405180910390a3602082901b811761056b85857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f7884611086565b505b50505050565b604080516000808252602082018190528183015290516001600160a01b0383811692908516917f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869181900360600190a36105ee82827fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78611139565b5050565b600061061f83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09610c94565b9392505050565b8281146106835760405162461bcd60e51b815260206004820152602560248201527f5346476f763a2061727261797320617265206e6f74207468652073616d65206c6044820152640cadccee8d60db1b60648201526084016104dd565b60005b818110156106e7576106d7868686848181106106a4576106a461188f565b90506020020160208101906106b99190611872565b8585858181106106cb576106cb61188f565b90506020020135610c1e565b6106e0816118a5565b9050610686565b505050505050565b6105ee8260006106fe846111fa565b611139565b60408051600181526001600160a01b03838116602083015280851692908616917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a361077a83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d098461128d565b505050565b8261078981611342565b60005b8281101561056b57846001600160a01b031663787afde78585848181106107b5576107b561188f565b90506020020160208101906107ca9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561080b57600080fd5b505af115801561081f573d6000803e3d6000fd5b505050508061082d906118a5565b905061078c565b8461083e81611342565b6001600160a01b038516156108a9576040516311a5465560e21b81526001600160a01b038681166004830152871690634695195490602401600060405180830381600087803b15801561089057600080fd5b505af11580156108a4573d6000803e3d6000fd5b505050505b60005b8381101561095457866001600160a01b03166306cecba88686848181106108d5576108d561188f565b90506020020160208101906108ea9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561092b57600080fd5b505af115801561093f573d6000803e3d6000fd5b505050508061094d906118a5565b90506108ac565b506001600160a01b038216156106e7576040516354fbc49360e01b81526001600160a01b0383811660048301528716906354fbc49390602401600060405180830381600087803b1580156109a757600080fd5b505af11580156109bb573d6000803e3d6000fd5b50505050505050505050565b816109d181611342565b604051631ca0c40360e21b81526001600160a01b038381166004830152841690637283100c906024015b600060405180830381600087803b158015610a1557600080fd5b505af1158015610a29573d6000803e3d6000fd5b50505050505050565b6000806000610a6285857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78610c94565b63ffffffff602082901c811697911695509350505050565b6001600160a01b038516610a9057610a906118cc565b6002546001600160a01b031615610aa957610aa96118cc565b600280546001600160a01b0319166001600160a01b038716908117909155610ad390600086610703565b610ae08560008585610458565b60005b81518110156106e7576002548251610b21916001600160a01b031690600090859085908110610b1457610b1461188f565b6020026020010151610e90565b610b2a816118a5565b9050610ae3565b61077a838383611139565b6000546001600160a01b03163314610b965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b610ba06000611379565b565b61056d8484848461128d565b610bc38383610bbc846113c9565b6000611086565b60408051600181526001600160a01b038381166020830152600092820192909252818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d27906060015b60405180910390a3505050565b6040805160018152602081018390526001600160a01b0380851692908616917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a361077a83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc484611086565b6001600160a01b03808416600090815260016020908152604080832093861683529281528282208483529052908120805460ff16610cf957506001600160a01b0384166000908152600160209081526040808320838052825280832085845290915290205b60010154949350505050565b600061061f83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4610c94565b6000610d43836000610345856111fa565b6001149392505050565b803b80610da65760405162461bcd60e51b815260206004820152602160248201527f5346476f763a20666163746f7279206d757374206265206120636f6e747261636044820152601d60fa1b60648201526084016104dd565b506105ee826000610db6846111fa565b6001611086565b6040805160008082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d279060600160405180910390a361077a83836106fe846113c9565b60408051600080825260208201526001600160a01b0380841692908516917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a36105ee82827feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4611139565b610e9e8383610db6846113c9565b6040805160018082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d2790606001610c11565b81610ef681611342565b6040516315a024e160e01b81526001600160a01b0383811660048301528416906315a024e1906024016109fb565b60408051600080825260208201526001600160a01b0380841692908516917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a36105ee82827f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09611139565b6000610fa88484610345856113c9565b600114949350505050565b6000546001600160a01b0316331461100d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b6001600160a01b0381166110725760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104dd565b61107b81611379565b50565b61056d848484845b8361109081611342565b60408051848152600160208201529081018390526001600160a01b0380861691908716907f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3909060600160405180910390a350604080518082018252600180825260208083019485526001600160a01b039788166000908152828252848120979098168852958652828720948752939094529093209151825460ff19169015151782559151910155565b8261114381611342565b826001600160a01b0316846001600160a01b03167f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3908460008060405161119c939291909283529015156020830152604082015260600190565b60405180910390a350604080518082018252600080825260208083018281526001600160a01b03978816835260018083528584209790981683529581528382209482529390935291209051815460ff19169015151781559051910155565b6040805160208101829052603960608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527f642e61707057686974654c697374696e672e666163746f72790000000000000060a08201526001600160a01b0383169181019190915260009060c0015b604051602081830303815290604052805190602001209050919050565b8361129781611342565b60408051848152600160208201526001600160a01b03848116828401529151868316928816917f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e390919081900360600190a35060408051808201825260018082526001600160a01b03938416602080840191825297851660009081528289528481209790951685529587528284209484529390955290209251835460ff19169015151783559051910155565b6002546001600160a01b0382811691161461135f5761135f6118cc565b6000546001600160a01b0316331461107b5761107b6118cc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160208101829052603260608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527132173a393ab9ba32b22337b93bb0b93232b960711b60a08201526001600160a01b0383169181019190915260009060c001611270565b6001600160a01b038116811461107b57600080fd5b6000806000806080858703121561146357600080fd5b843561146e81611438565b9350602085013561147e81611438565b93969395505050506040820135916060013590565b600080604083850312156114a657600080fd5b82356114b181611438565b915060208301356114c181611438565b809150509250929050565b60008083601f8401126114de57600080fd5b50813567ffffffffffffffff8111156114f657600080fd5b6020830191508360208260051b850101111561151157600080fd5b9250929050565b60008060008060006060868803121561153057600080fd5b853561153b81611438565b9450602086013567ffffffffffffffff8082111561155857600080fd5b61156489838a016114cc565b9096509450604088013591508082111561157d57600080fd5b5061158a888289016114cc565b969995985093965092949392505050565b80356115a681611438565b919050565b6000806000606084860312156115c057600080fd5b83356115cb81611438565b925060208401356115db81611438565b915060408401356115eb81611438565b809150509250925092565b60008060006040848603121561160b57600080fd5b833561161681611438565b9250602084013567ffffffffffffffff81111561163257600080fd5b61163e868287016114cc565b9497909650939450505050565b60008060008060006080868803121561166357600080fd5b853561166e81611438565b9450602086013561167e81611438565b9350604086013567ffffffffffffffff81111561169a57600080fd5b6116a6888289016114cc565b90945092505060608601356116ba81611438565b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600080600080600060a086880312156116f657600080fd5b853561170181611438565b945060208681013561171281611438565b94506040870135935060608701359250608087013567ffffffffffffffff8082111561173d57600080fd5b818901915089601f83011261175157600080fd5b813581811115611763576117636116c8565b8060051b604051601f19603f83011681018181108582111715611788576117886116c8565b60405291825284820192508381018501918c8311156117a657600080fd5b938501935b828510156117cb576117bc8561159b565b845293850193928501926117ab565b8096505050505050509295509295909350565b6000806000606084860312156117f357600080fd5b83356117fe81611438565b9250602084013561180e81611438565b929592945050506040919091013590565b6000806000806080858703121561183557600080fd5b843561184081611438565b9350602085013561185081611438565b925060408501359150606085013561186781611438565b939692955090935050565b60006020828403121561188457600080fd5b813561061f81611438565b634e487b7160e01b600052603260045260246000fd5b6000600182016118c557634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052600160045260246000fdfea26469706673582212202a622a1c199f28f62fb3d08c1ca6fa22745414bc0be5a3e12518f9dfbd45351364736f6c634300080d0033",
|
|
901
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101d95760003560e01c80637f0558e4116101045780638da5cb5b116100a2578063e447cc1d11610071578063e447cc1d1461040c578063f047a2d91461041f578063f2fde38b14610432578063f79a8e631461044557600080fd5b80638da5cb5b146103c25780638ecbd87b146103d3578063ab846f1a146103e6578063cadf8f85146103f957600080fd5b80638a7ff2f7116100de5780638a7ff2f7146103665780638abe04e9146103795780638b93b3f51461039c5780638ce93379146103af57600080fd5b80637f0558e41461032457806380f70cba146103375780638369a0f11461035857600080fd5b8063427942a41161017c578063640b6cc91161014b578063640b6cc9146102e3578063715018a6146102f657806378707cb8146102fe5780637dce4f811461031157600080fd5b8063427942a41461028257806344864b251461029557806345228235146102a85780635a907818146102d057600080fd5b806321964473116101b8578063219644731461023657806325c955c314610249578063325529081461025c57806342148deb1461026f57600080fd5b806286d555146101de57806301a06b97146101f357806319df62ab14610206575b600080fd5b6101f16101ec36600461144d565b610458565b005b6101f1610201366004611493565b610573565b610219610214366004611493565b6105f2565b6040516001600160a01b0390911681526020015b60405180910390f35b6101f1610244366004611518565b610626565b6101f1610257366004611493565b6106ef565b6101f161026a3660046115ab565b610703565b6101f161027d3660046115f6565b61077f565b6101f161029036600461164b565b610834565b6101f16102a3366004611493565b6109c7565b6102bb6102b6366004611493565b610a32565b6040805192835260208301919091520161022d565b6101f16102de3660046116de565b610a7a565b6101f16102f13660046117de565b610b31565b6101f1610b3c565b6101f161030c36600461181f565b610ba2565b6101f161031f3660046115ab565b610bae565b6101f16103323660046117de565b610c1e565b61034a6103453660046117de565b610c94565b60405190815260200161022d565b6102196103453660046117de565b61034a610374366004611493565b610d05565b61038c610387366004611493565b610d32565b604051901515815260200161022d565b6101f16103aa366004611493565b610d4d565b6101f16103bd3660046115ab565b610dbd565b6000546001600160a01b0316610219565b6101f16103e1366004611493565b610e1c565b6101f16103f43660046115ab565b610e90565b6101f1610407366004611493565b610eec565b6101f161041a366004611493565b610f24565b61038c61042d3660046115ab565b610f98565b6101f1610440366004611872565b610fb3565b6101f161045336600461144d565b61107e565b808211801561046a575063ffffffff82105b8015610479575063ffffffff81105b6104e65760405162461bcd60e51b815260206004820152603360248201527f5346476f763a20496e76616c6964206c69717569646174696f6e506572696f64604482015272081bdc881c185d1c9a58da585b94195c9a5bd9606a1b60648201526084015b60405180910390fd5b6040805160018152602081018490529081018290526001600160a01b0380851691908616907f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869060600160405180910390a3602082901b811761056b85857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f7884611086565b505b50505050565b604080516000808252602082018190528183015290516001600160a01b0383811692908516917f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869181900360600190a36105ee82827fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78611139565b5050565b600061061f83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09610c94565b9392505050565b8281146106835760405162461bcd60e51b815260206004820152602560248201527f5346476f763a2061727261797320617265206e6f74207468652073616d65206c6044820152640cadccee8d60db1b60648201526084016104dd565b60005b818110156106e7576106d7868686848181106106a4576106a461188f565b90506020020160208101906106b99190611872565b8585858181106106cb576106cb61188f565b90506020020135610c1e565b6106e0816118a5565b9050610686565b505050505050565b6105ee8260006106fe846111fa565b611139565b60408051600181526001600160a01b03838116602083015280851692908616917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a361077a83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d098461128d565b505050565b8261078981611342565b60005b8281101561056b57846001600160a01b031663787afde78585848181106107b5576107b561188f565b90506020020160208101906107ca9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561080b57600080fd5b505af115801561081f573d6000803e3d6000fd5b505050508061082d906118a5565b905061078c565b8461083e81611342565b6001600160a01b038516156108a9576040516311a5465560e21b81526001600160a01b038681166004830152871690634695195490602401600060405180830381600087803b15801561089057600080fd5b505af11580156108a4573d6000803e3d6000fd5b505050505b60005b8381101561095457866001600160a01b03166306cecba88686848181106108d5576108d561188f565b90506020020160208101906108ea9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561092b57600080fd5b505af115801561093f573d6000803e3d6000fd5b505050508061094d906118a5565b90506108ac565b506001600160a01b038216156106e7576040516354fbc49360e01b81526001600160a01b0383811660048301528716906354fbc49390602401600060405180830381600087803b1580156109a757600080fd5b505af11580156109bb573d6000803e3d6000fd5b50505050505050505050565b816109d181611342565b604051631ca0c40360e21b81526001600160a01b038381166004830152841690637283100c906024015b600060405180830381600087803b158015610a1557600080fd5b505af1158015610a29573d6000803e3d6000fd5b50505050505050565b6000806000610a6285857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78610c94565b63ffffffff602082901c811697911695509350505050565b6001600160a01b038516610a9057610a906118cc565b6002546001600160a01b031615610aa957610aa96118cc565b600280546001600160a01b0319166001600160a01b038716908117909155610ad390600086610703565b610ae08560008585610458565b60005b81518110156106e7576002548251610b21916001600160a01b031690600090859085908110610b1457610b1461188f565b6020026020010151610e90565b610b2a816118a5565b9050610ae3565b61077a838383611139565b6000546001600160a01b03163314610b965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b610ba06000611379565b565b61056d8484848461128d565b610bc38383610bbc846113c9565b6000611086565b60408051600181526001600160a01b038381166020830152600092820192909252818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d27906060015b60405180910390a3505050565b6040805160018152602081018390526001600160a01b0380851692908616917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a361077a83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc484611086565b6001600160a01b03808416600090815260016020908152604080832093861683529281528282208483529052908120805460ff16610cf957506001600160a01b0384166000908152600160209081526040808320838052825280832085845290915290205b60010154949350505050565b600061061f83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4610c94565b6000610d43836000610345856111fa565b6001149392505050565b803b80610da65760405162461bcd60e51b815260206004820152602160248201527f5346476f763a20666163746f7279206d757374206265206120636f6e747261636044820152601d60fa1b60648201526084016104dd565b506105ee826000610db6846111fa565b6001611086565b6040805160008082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d279060600160405180910390a361077a83836106fe846113c9565b60408051600080825260208201526001600160a01b0380841692908516917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a36105ee82827feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4611139565b610e9e8383610db6846113c9565b6040805160018082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d2790606001610c11565b81610ef681611342565b6040516315a024e160e01b81526001600160a01b0383811660048301528416906315a024e1906024016109fb565b60408051600080825260208201526001600160a01b0380841692908516917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a36105ee82827f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09611139565b6000610fa88484610345856113c9565b600114949350505050565b6000546001600160a01b0316331461100d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b6001600160a01b0381166110725760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104dd565b61107b81611379565b50565b61056d848484845b8361109081611342565b60408051848152600160208201529081018390526001600160a01b0380861691908716907f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3909060600160405180910390a350604080518082018252600180825260208083019485526001600160a01b039788166000908152828252848120979098168852958652828720948752939094529093209151825460ff19169015151782559151910155565b8261114381611342565b826001600160a01b0316846001600160a01b03167f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3908460008060405161119c939291909283529015156020830152604082015260600190565b60405180910390a350604080518082018252600080825260208083018281526001600160a01b03978816835260018083528584209790981683529581528382209482529390935291209051815460ff19169015151781559051910155565b6040805160208101829052603960608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527f642e61707057686974654c697374696e672e666163746f72790000000000000060a08201526001600160a01b0383169181019190915260009060c0015b604051602081830303815290604052805190602001209050919050565b8361129781611342565b60408051848152600160208201526001600160a01b03848116828401529151868316928816917f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e390919081900360600190a35060408051808201825260018082526001600160a01b03938416602080840191825297851660009081528289528481209790951685529587528284209484529390955290209251835460ff19169015151783559051910155565b6002546001600160a01b0382811691161461135f5761135f6118cc565b6000546001600160a01b0316331461107b5761107b6118cc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160208101829052603260608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527132173a393ab9ba32b22337b93bb0b93232b960711b60a08201526001600160a01b0383169181019190915260009060c001611270565b6001600160a01b038116811461107b57600080fd5b6000806000806080858703121561146357600080fd5b843561146e81611438565b9350602085013561147e81611438565b93969395505050506040820135916060013590565b600080604083850312156114a657600080fd5b82356114b181611438565b915060208301356114c181611438565b809150509250929050565b60008083601f8401126114de57600080fd5b50813567ffffffffffffffff8111156114f657600080fd5b6020830191508360208260051b850101111561151157600080fd5b9250929050565b60008060008060006060868803121561153057600080fd5b853561153b81611438565b9450602086013567ffffffffffffffff8082111561155857600080fd5b61156489838a016114cc565b9096509450604088013591508082111561157d57600080fd5b5061158a888289016114cc565b969995985093965092949392505050565b80356115a681611438565b919050565b6000806000606084860312156115c057600080fd5b83356115cb81611438565b925060208401356115db81611438565b915060408401356115eb81611438565b809150509250925092565b60008060006040848603121561160b57600080fd5b833561161681611438565b9250602084013567ffffffffffffffff81111561163257600080fd5b61163e868287016114cc565b9497909650939450505050565b60008060008060006080868803121561166357600080fd5b853561166e81611438565b9450602086013561167e81611438565b9350604086013567ffffffffffffffff81111561169a57600080fd5b6116a6888289016114cc565b90945092505060608601356116ba81611438565b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600080600080600060a086880312156116f657600080fd5b853561170181611438565b945060208681013561171281611438565b94506040870135935060608701359250608087013567ffffffffffffffff8082111561173d57600080fd5b818901915089601f83011261175157600080fd5b813581811115611763576117636116c8565b8060051b604051601f19603f83011681018181108582111715611788576117886116c8565b60405291825284820192508381018501918c8311156117a657600080fd5b938501935b828510156117cb576117bc8561159b565b845293850193928501926117ab565b8096505050505050509295509295909350565b6000806000606084860312156117f357600080fd5b83356117fe81611438565b9250602084013561180e81611438565b929592945050506040919091013590565b6000806000806080858703121561183557600080fd5b843561184081611438565b9350602085013561185081611438565b925060408501359150606085013561186781611438565b939692955090935050565b60006020828403121561188457600080fd5b813561061f81611438565b634e487b7160e01b600052603260045260246000fd5b6000600182016118c557634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052600160045260246000fdfea26469706673582212202a622a1c199f28f62fb3d08c1ca6fa22745414bc0be5a3e12518f9dfbd45351364736f6c634300080d0033",
|
|
899
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"}],\"name\":\"CFAv1LiquidationPeriodChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"ConfigChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"}],\"name\":\"PPPConfigurationChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"}],\"name\":\"RewardAddressChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minimumDeposit\",\"type\":\"uint256\"}],\"name\":\"SuperTokenMinimumDepositChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isKeySet\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"TrustedForwarderChanged\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"authorizeAppFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperToken[]\",\"name\":\"tokens\",\"type\":\"address[]\"}],\"name\":\"batchUpdateSuperTokenLogic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperToken[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"minimumDeposits\",\"type\":\"uint256[]\"}],\"name\":\"batchUpdateSuperTokenMinimumDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"clearConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"clearPPPConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"clearRewardAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"clearSuperTokenMinimumDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"clearTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"disableTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"enableTrustedForwarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"getConfigAsAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"value\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"}],\"name\":\"getConfigAsUint256\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"period\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"getPPPConfig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"getRewardAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"}],\"name\":\"getSuperTokenMinimumDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"trustedForwarders\",\"type\":\"address[]\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"isAuthorizedAppFactory\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"forwarder\",\"type\":\"address\"}],\"name\":\"isTrustedForwarder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"agreementClass\",\"type\":\"address\"}],\"name\":\"registerAgreementClass\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"newGov\",\"type\":\"address\"}],\"name\":\"replaceGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"value\",\"type\":\"address\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"key\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"liquidationPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"patricianPeriod\",\"type\":\"uint256\"}],\"name\":\"setPPPConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"}],\"name\":\"setRewardAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"superToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setSuperTokenMinimumDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"}],\"name\":\"unauthorizeAppFactory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract ISuperfluid\",\"name\":\"host\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"hostNewLogic\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"agreementClassNewLogics\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"superTokenFactoryNewLogic\",\"type\":\"address\"}],\"name\":\"updateContracts\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid \",\"details\":\"A initializable version of the governance for testing purpose\",\"kind\":\"dev\",\"methods\":{\"authorizeAppFactory(address,address)\":{\"details\":\"allows the given factory to register new apps without requiring onetime keys\",\"params\":{\"factory\":\"must be an initialized contract\"}},\"batchUpdateSuperTokenLogic(address,address[])\":{\"details\":\"Update supertoken logic contract to the latest that is managed by the super token factory\"},\"clearConfig(address,address,bytes32)\":{\"details\":\"Clear configuration\"},\"getConfigAsAddress(address,address,bytes32)\":{\"details\":\"Get configuration as address value\"},\"getConfigAsUint256(address,address,bytes32)\":{\"details\":\"Get configuration as uint256 value\"},\"isAuthorizedAppFactory(address,address)\":{\"details\":\"tells if the given factory is authorized to register apps\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"registerAgreementClass(address,address)\":{\"details\":\"Register a new agreement class\"},\"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.\"},\"replaceGovernance(address,address)\":{\"details\":\"Replace the current governance with a new governance\"},\"setConfig(address,address,bytes32,address)\":{\"details\":\"Set configuration as address value\"},\"setConfig(address,address,bytes32,uint256)\":{\"details\":\"Set configuration as uint256 value\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"unauthorizeAppFactory(address,address)\":{\"details\":\"withdraws authorization from a factory to register new apps. Doesn't affect apps previously registered by the factory.\"},\"updateContracts(address,address,address[],address)\":{\"details\":\"Update logics of the contracts NOTE: - Because they might have inter-dependencies, it is good to have one single function to update them all\"}},\"title\":\"Test governance contract\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/utils/TestGovernance.sol\":\"TestGovernance\"},\"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/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/interfaces/superfluid/Definitions.sol\":{\"keccak256\":\"0x199095781e4221b6015d859558da09977f79199f38d342ab4899c2cecdf8cec1\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://9fd3a5a8b16d8517e2af10e20390a9af5adbfa4e783e3a7dd89eb4588db98385\",\"dweb:/ipfs/QmPDtGR43DeMMVsHjUh7FYzMGsFKPpGriRkaahFpN5T5d3\"]},\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperApp.sol\":{\"keccak256\":\"0x57f4203168992c940eb6b8c7cc75f854cb36a1f9323b3f39ddc5e4fbe819c043\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://888941dfa3e5004f678f215b98a85d1bf54e412317928a78e0a1cff090773d4c\",\"dweb:/ipfs/QmVe838upcAyqpy1d3oQNHJrbRyWCKHL51zWrMKruvLxFG\"]},\"project:/contracts/interfaces/superfluid/ISuperToken.sol\":{\"keccak256\":\"0x3cb0b7216007b942f7611d7b3d983c0df9408fdd4fd6b799c33fc9033e0abf8b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://17901a1fd3635f441671e14ece8ecc6806af20c5eb80cca3b7c6e53a51fef7b6\",\"dweb:/ipfs/QmUXXMfU6nmsyEnufyGEwyZ5M7pzpXNTr6vw32e3JjjoZp\"]},\"project:/contracts/interfaces/superfluid/ISuperTokenFactory.sol\":{\"keccak256\":\"0x68a466c978557e47bd7385b1d7d78f1c8fb07462a870efc5a791008e33a4f535\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://d109879bdb7f022560a792af2ff481df729bf1b4b8e1831b8022f4d12892d41d\",\"dweb:/ipfs/QmRSWqHq8CP5XWgyV4mJpPxMg33s312s2K5ndHRHVqqZ8n\"]},\"project:/contracts/interfaces/superfluid/ISuperfluid.sol\":{\"keccak256\":\"0x2d9b845469a35b66f1166406149ac85e933dbe9156f57e4a4078948e6a6e71a4\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://48e5cb11d4b90e42af521e23b33d57e12187c989d8d56be332b1649308168d45\",\"dweb:/ipfs/QmdaTW4HfpFfHjkHiJ3CmZUmCfLJyFCPTnCygwhiNhx3Tu\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidGovernance.sol\":{\"keccak256\":\"0x2166f766b7f61f9bb1376b0948efa0d0c0046b93dc301e51ce495203b145189b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://929630e6a15f523b142b2897783b2f7a54532ac5ae578bd17a0b7f25a6ca2bd8\",\"dweb:/ipfs/QmTu9ffH9qbQncJGEc24bmnoCGjifQ7BG47AYR8AzMLfXR\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"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/UUPSUtils.sol\":{\"keccak256\":\"0xffec084e77ce3c0b595f0612687242f3d8b7a84cab15e5650c17428ee48d0b5b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://be0183816467872b053562d9a737042ac3a91ea67e3c74e03de5db7226f3e73b\",\"dweb:/ipfs/QmUyi4YXh1T7MExbrLwZ6rAdXTPChF8q27YpZxxniR6CHM\"]},\"project:/contracts/utils/TestGovernance.sol\":{\"keccak256\":\"0x88232403c83d71e09b94ff78bf4464d5707c55052247c94b5d0a7808b4ab366b\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://b4b364b1555bad346d96ea124597823514c75a0f49b30136d65b3b9be4d09aac\",\"dweb:/ipfs/QmQKztdSztuVcW6EnQzTUvjFS2Dudi89g1sZ2fxBEZSuoy\"]}},\"version\":1}",
|
|
900
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6119188061007e6000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c80637f0558e4116101045780638da5cb5b116100a2578063e447cc1d11610071578063e447cc1d1461040c578063f047a2d91461041f578063f2fde38b14610432578063f79a8e631461044557600080fd5b80638da5cb5b146103c25780638ecbd87b146103d3578063ab846f1a146103e6578063cadf8f85146103f957600080fd5b80638a7ff2f7116100de5780638a7ff2f7146103665780638abe04e9146103795780638b93b3f51461039c5780638ce93379146103af57600080fd5b80637f0558e41461032457806380f70cba146103375780638369a0f11461035857600080fd5b8063427942a41161017c578063640b6cc91161014b578063640b6cc9146102e3578063715018a6146102f657806378707cb8146102fe5780637dce4f811461031157600080fd5b8063427942a41461028257806344864b251461029557806345228235146102a85780635a907818146102d057600080fd5b806321964473116101b8578063219644731461023657806325c955c314610249578063325529081461025c57806342148deb1461026f57600080fd5b806286d555146101de57806301a06b97146101f357806319df62ab14610206575b600080fd5b6101f16101ec36600461144d565b610458565b005b6101f1610201366004611493565b610573565b610219610214366004611493565b6105f2565b6040516001600160a01b0390911681526020015b60405180910390f35b6101f1610244366004611518565b610626565b6101f1610257366004611493565b6106ef565b6101f161026a3660046115ab565b610703565b6101f161027d3660046115f6565b61077f565b6101f161029036600461164b565b610834565b6101f16102a3366004611493565b6109c7565b6102bb6102b6366004611493565b610a32565b6040805192835260208301919091520161022d565b6101f16102de3660046116de565b610a7a565b6101f16102f13660046117de565b610b31565b6101f1610b3c565b6101f161030c36600461181f565b610ba2565b6101f161031f3660046115ab565b610bae565b6101f16103323660046117de565b610c1e565b61034a6103453660046117de565b610c94565b60405190815260200161022d565b6102196103453660046117de565b61034a610374366004611493565b610d05565b61038c610387366004611493565b610d32565b604051901515815260200161022d565b6101f16103aa366004611493565b610d4d565b6101f16103bd3660046115ab565b610dbd565b6000546001600160a01b0316610219565b6101f16103e1366004611493565b610e1c565b6101f16103f43660046115ab565b610e90565b6101f1610407366004611493565b610eec565b6101f161041a366004611493565b610f24565b61038c61042d3660046115ab565b610f98565b6101f1610440366004611872565b610fb3565b6101f161045336600461144d565b61107e565b808211801561046a575063ffffffff82105b8015610479575063ffffffff81105b6104e65760405162461bcd60e51b815260206004820152603360248201527f5346476f763a20496e76616c6964206c69717569646174696f6e506572696f64604482015272081bdc881c185d1c9a58da585b94195c9a5bd9606a1b60648201526084015b60405180910390fd5b6040805160018152602081018490529081018290526001600160a01b0380851691908616907f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869060600160405180910390a3602082901b811761056b85857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f7884611086565b505b50505050565b604080516000808252602082018190528183015290516001600160a01b0383811692908516917f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869181900360600190a36105ee82827fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78611139565b5050565b600061061f83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09610c94565b9392505050565b8281146106835760405162461bcd60e51b815260206004820152602560248201527f5346476f763a2061727261797320617265206e6f74207468652073616d65206c6044820152640cadccee8d60db1b60648201526084016104dd565b60005b818110156106e7576106d7868686848181106106a4576106a461188f565b90506020020160208101906106b99190611872565b8585858181106106cb576106cb61188f565b90506020020135610c1e565b6106e0816118a5565b9050610686565b505050505050565b6105ee8260006106fe846111fa565b611139565b60408051600181526001600160a01b03838116602083015280851692908616917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a361077a83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d098461128d565b505050565b8261078981611342565b60005b8281101561056b57846001600160a01b031663787afde78585848181106107b5576107b561188f565b90506020020160208101906107ca9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561080b57600080fd5b505af115801561081f573d6000803e3d6000fd5b505050508061082d906118a5565b905061078c565b8461083e81611342565b6001600160a01b038516156108a9576040516311a5465560e21b81526001600160a01b038681166004830152871690634695195490602401600060405180830381600087803b15801561089057600080fd5b505af11580156108a4573d6000803e3d6000fd5b505050505b60005b8381101561095457866001600160a01b03166306cecba88686848181106108d5576108d561188f565b90506020020160208101906108ea9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561092b57600080fd5b505af115801561093f573d6000803e3d6000fd5b505050508061094d906118a5565b90506108ac565b506001600160a01b038216156106e7576040516354fbc49360e01b81526001600160a01b0383811660048301528716906354fbc49390602401600060405180830381600087803b1580156109a757600080fd5b505af11580156109bb573d6000803e3d6000fd5b50505050505050505050565b816109d181611342565b604051631ca0c40360e21b81526001600160a01b038381166004830152841690637283100c906024015b600060405180830381600087803b158015610a1557600080fd5b505af1158015610a29573d6000803e3d6000fd5b50505050505050565b6000806000610a6285857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78610c94565b63ffffffff602082901c811697911695509350505050565b6001600160a01b038516610a9057610a906118cc565b6002546001600160a01b031615610aa957610aa96118cc565b600280546001600160a01b0319166001600160a01b038716908117909155610ad390600086610703565b610ae08560008585610458565b60005b81518110156106e7576002548251610b21916001600160a01b031690600090859085908110610b1457610b1461188f565b6020026020010151610e90565b610b2a816118a5565b9050610ae3565b61077a838383611139565b6000546001600160a01b03163314610b965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b610ba06000611379565b565b61056d8484848461128d565b610bc38383610bbc846113c9565b6000611086565b60408051600181526001600160a01b038381166020830152600092820192909252818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d27906060015b60405180910390a3505050565b6040805160018152602081018390526001600160a01b0380851692908616917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a361077a83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc484611086565b6001600160a01b03808416600090815260016020908152604080832093861683529281528282208483529052908120805460ff16610cf957506001600160a01b0384166000908152600160209081526040808320838052825280832085845290915290205b60010154949350505050565b600061061f83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4610c94565b6000610d43836000610345856111fa565b6001149392505050565b803b80610da65760405162461bcd60e51b815260206004820152602160248201527f5346476f763a20666163746f7279206d757374206265206120636f6e747261636044820152601d60fa1b60648201526084016104dd565b506105ee826000610db6846111fa565b6001611086565b6040805160008082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d279060600160405180910390a361077a83836106fe846113c9565b60408051600080825260208201526001600160a01b0380841692908516917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a36105ee82827feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4611139565b610e9e8383610db6846113c9565b6040805160018082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d2790606001610c11565b81610ef681611342565b6040516315a024e160e01b81526001600160a01b0383811660048301528416906315a024e1906024016109fb565b60408051600080825260208201526001600160a01b0380841692908516917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a36105ee82827f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09611139565b6000610fa88484610345856113c9565b600114949350505050565b6000546001600160a01b0316331461100d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b6001600160a01b0381166110725760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104dd565b61107b81611379565b50565b61056d848484845b8361109081611342565b60408051848152600160208201529081018390526001600160a01b0380861691908716907f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3909060600160405180910390a350604080518082018252600180825260208083019485526001600160a01b039788166000908152828252848120979098168852958652828720948752939094529093209151825460ff19169015151782559151910155565b8261114381611342565b826001600160a01b0316846001600160a01b03167f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3908460008060405161119c939291909283529015156020830152604082015260600190565b60405180910390a350604080518082018252600080825260208083018281526001600160a01b03978816835260018083528584209790981683529581528382209482529390935291209051815460ff19169015151781559051910155565b6040805160208101829052603960608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527f642e61707057686974654c697374696e672e666163746f72790000000000000060a08201526001600160a01b0383169181019190915260009060c0015b604051602081830303815290604052805190602001209050919050565b8361129781611342565b60408051848152600160208201526001600160a01b03848116828401529151868316928816917f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e390919081900360600190a35060408051808201825260018082526001600160a01b03938416602080840191825297851660009081528289528481209790951685529587528284209484529390955290209251835460ff19169015151783559051910155565b6002546001600160a01b0382811691161461135f5761135f6118cc565b6000546001600160a01b0316331461107b5761107b6118cc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160208101829052603260608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527132173a393ab9ba32b22337b93bb0b93232b960711b60a08201526001600160a01b0383169181019190915260009060c001611270565b6001600160a01b038116811461107b57600080fd5b6000806000806080858703121561146357600080fd5b843561146e81611438565b9350602085013561147e81611438565b93969395505050506040820135916060013590565b600080604083850312156114a657600080fd5b82356114b181611438565b915060208301356114c181611438565b809150509250929050565b60008083601f8401126114de57600080fd5b50813567ffffffffffffffff8111156114f657600080fd5b6020830191508360208260051b850101111561151157600080fd5b9250929050565b60008060008060006060868803121561153057600080fd5b853561153b81611438565b9450602086013567ffffffffffffffff8082111561155857600080fd5b61156489838a016114cc565b9096509450604088013591508082111561157d57600080fd5b5061158a888289016114cc565b969995985093965092949392505050565b80356115a681611438565b919050565b6000806000606084860312156115c057600080fd5b83356115cb81611438565b925060208401356115db81611438565b915060408401356115eb81611438565b809150509250925092565b60008060006040848603121561160b57600080fd5b833561161681611438565b9250602084013567ffffffffffffffff81111561163257600080fd5b61163e868287016114cc565b9497909650939450505050565b60008060008060006080868803121561166357600080fd5b853561166e81611438565b9450602086013561167e81611438565b9350604086013567ffffffffffffffff81111561169a57600080fd5b6116a6888289016114cc565b90945092505060608601356116ba81611438565b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600080600080600060a086880312156116f657600080fd5b853561170181611438565b945060208681013561171281611438565b94506040870135935060608701359250608087013567ffffffffffffffff8082111561173d57600080fd5b818901915089601f83011261175157600080fd5b813581811115611763576117636116c8565b8060051b604051601f19603f83011681018181108582111715611788576117886116c8565b60405291825284820192508381018501918c8311156117a657600080fd5b938501935b828510156117cb576117bc8561159b565b845293850193928501926117ab565b8096505050505050509295509295909350565b6000806000606084860312156117f357600080fd5b83356117fe81611438565b9250602084013561180e81611438565b929592945050506040919091013590565b6000806000806080858703121561183557600080fd5b843561184081611438565b9350602085013561185081611438565b925060408501359150606085013561186781611438565b939692955090935050565b60006020828403121561188457600080fd5b813561061f81611438565b634e487b7160e01b600052603260045260246000fd5b6000600182016118c557634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052600160045260246000fdfea26469706673582212206e918064fa57b3b68e72aef77a5db019d4ef7a01cf3169efb6a25c67e518afb864736f6c634300080d0033",
|
|
901
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101d95760003560e01c80637f0558e4116101045780638da5cb5b116100a2578063e447cc1d11610071578063e447cc1d1461040c578063f047a2d91461041f578063f2fde38b14610432578063f79a8e631461044557600080fd5b80638da5cb5b146103c25780638ecbd87b146103d3578063ab846f1a146103e6578063cadf8f85146103f957600080fd5b80638a7ff2f7116100de5780638a7ff2f7146103665780638abe04e9146103795780638b93b3f51461039c5780638ce93379146103af57600080fd5b80637f0558e41461032457806380f70cba146103375780638369a0f11461035857600080fd5b8063427942a41161017c578063640b6cc91161014b578063640b6cc9146102e3578063715018a6146102f657806378707cb8146102fe5780637dce4f811461031157600080fd5b8063427942a41461028257806344864b251461029557806345228235146102a85780635a907818146102d057600080fd5b806321964473116101b8578063219644731461023657806325c955c314610249578063325529081461025c57806342148deb1461026f57600080fd5b806286d555146101de57806301a06b97146101f357806319df62ab14610206575b600080fd5b6101f16101ec36600461144d565b610458565b005b6101f1610201366004611493565b610573565b610219610214366004611493565b6105f2565b6040516001600160a01b0390911681526020015b60405180910390f35b6101f1610244366004611518565b610626565b6101f1610257366004611493565b6106ef565b6101f161026a3660046115ab565b610703565b6101f161027d3660046115f6565b61077f565b6101f161029036600461164b565b610834565b6101f16102a3366004611493565b6109c7565b6102bb6102b6366004611493565b610a32565b6040805192835260208301919091520161022d565b6101f16102de3660046116de565b610a7a565b6101f16102f13660046117de565b610b31565b6101f1610b3c565b6101f161030c36600461181f565b610ba2565b6101f161031f3660046115ab565b610bae565b6101f16103323660046117de565b610c1e565b61034a6103453660046117de565b610c94565b60405190815260200161022d565b6102196103453660046117de565b61034a610374366004611493565b610d05565b61038c610387366004611493565b610d32565b604051901515815260200161022d565b6101f16103aa366004611493565b610d4d565b6101f16103bd3660046115ab565b610dbd565b6000546001600160a01b0316610219565b6101f16103e1366004611493565b610e1c565b6101f16103f43660046115ab565b610e90565b6101f1610407366004611493565b610eec565b6101f161041a366004611493565b610f24565b61038c61042d3660046115ab565b610f98565b6101f1610440366004611872565b610fb3565b6101f161045336600461144d565b61107e565b808211801561046a575063ffffffff82105b8015610479575063ffffffff81105b6104e65760405162461bcd60e51b815260206004820152603360248201527f5346476f763a20496e76616c6964206c69717569646174696f6e506572696f64604482015272081bdc881c185d1c9a58da585b94195c9a5bd9606a1b60648201526084015b60405180910390fd5b6040805160018152602081018490529081018290526001600160a01b0380851691908616907f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869060600160405180910390a3602082901b811761056b85857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f7884611086565b505b50505050565b604080516000808252602082018190528183015290516001600160a01b0383811692908516917f60a59221512cd8cbfb226200f7ba6f20dc4b38a3cf04993d17ea4e56d26aa1869181900360600190a36105ee82827fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78611139565b5050565b600061061f83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09610c94565b9392505050565b8281146106835760405162461bcd60e51b815260206004820152602560248201527f5346476f763a2061727261797320617265206e6f74207468652073616d65206c6044820152640cadccee8d60db1b60648201526084016104dd565b60005b818110156106e7576106d7868686848181106106a4576106a461188f565b90506020020160208101906106b99190611872565b8585858181106106cb576106cb61188f565b90506020020135610c1e565b6106e0816118a5565b9050610686565b505050505050565b6105ee8260006106fe846111fa565b611139565b60408051600181526001600160a01b03838116602083015280851692908616917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a361077a83837f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d098461128d565b505050565b8261078981611342565b60005b8281101561056b57846001600160a01b031663787afde78585848181106107b5576107b561188f565b90506020020160208101906107ca9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561080b57600080fd5b505af115801561081f573d6000803e3d6000fd5b505050508061082d906118a5565b905061078c565b8461083e81611342565b6001600160a01b038516156108a9576040516311a5465560e21b81526001600160a01b038681166004830152871690634695195490602401600060405180830381600087803b15801561089057600080fd5b505af11580156108a4573d6000803e3d6000fd5b505050505b60005b8381101561095457866001600160a01b03166306cecba88686848181106108d5576108d561188f565b90506020020160208101906108ea9190611872565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b15801561092b57600080fd5b505af115801561093f573d6000803e3d6000fd5b505050508061094d906118a5565b90506108ac565b506001600160a01b038216156106e7576040516354fbc49360e01b81526001600160a01b0383811660048301528716906354fbc49390602401600060405180830381600087803b1580156109a757600080fd5b505af11580156109bb573d6000803e3d6000fd5b50505050505050505050565b816109d181611342565b604051631ca0c40360e21b81526001600160a01b038381166004830152841690637283100c906024015b600060405180830381600087803b158015610a1557600080fd5b505af1158015610a29573d6000803e3d6000fd5b50505050505050565b6000806000610a6285857fe420d96e81cb4a6b2abb2366c4f93312d4e2ae878a7d4b22e73472fdad891f78610c94565b63ffffffff602082901c811697911695509350505050565b6001600160a01b038516610a9057610a906118cc565b6002546001600160a01b031615610aa957610aa96118cc565b600280546001600160a01b0319166001600160a01b038716908117909155610ad390600086610703565b610ae08560008585610458565b60005b81518110156106e7576002548251610b21916001600160a01b031690600090859085908110610b1457610b1461188f565b6020026020010151610e90565b610b2a816118a5565b9050610ae3565b61077a838383611139565b6000546001600160a01b03163314610b965760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b610ba06000611379565b565b61056d8484848461128d565b610bc38383610bbc846113c9565b6000611086565b60408051600181526001600160a01b038381166020830152600092820192909252818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d27906060015b60405180910390a3505050565b6040805160018152602081018390526001600160a01b0380851692908616917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a361077a83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc484611086565b6001600160a01b03808416600090815260016020908152604080832093861683529281528282208483529052908120805460ff16610cf957506001600160a01b0384166000908152600160209081526040808320838052825280832085845290915290205b60010154949350505050565b600061061f83837feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4610c94565b6000610d43836000610345856111fa565b6001149392505050565b803b80610da65760405162461bcd60e51b815260206004820152602160248201527f5346476f763a20666163746f7279206d757374206265206120636f6e747261636044820152601d60fa1b60648201526084016104dd565b506105ee826000610db6846111fa565b6001611086565b6040805160008082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d279060600160405180910390a361077a83836106fe846113c9565b60408051600080825260208201526001600160a01b0380841692908516917fc055c4a3853372c08a98805545379133f00f7261d956b9197729d67f37a82a53910160405180910390a36105ee82827feae305fa863b373417e615b1044222e2806cefc7788d169ce6748a443c3f6cc4611139565b610e9e8383610db6846113c9565b6040805160018082526001600160a01b03848116602084015292820152818416918516907f168da2dec91b2e06e30d49955479383e76f71ba185807a8a5b75e2ed563e1d2790606001610c11565b81610ef681611342565b6040516315a024e160e01b81526001600160a01b0383811660048301528416906315a024e1906024016109fb565b60408051600080825260208201526001600160a01b0380841692908516917f14e12f219a4f9023456dc7832e10119ab768b8ccefc8cb79bc6de0419781eeeb910160405180910390a36105ee82827f9f60ae461adf056670e03ae602566409933242392cb06744f5747c9f38b05d09611139565b6000610fa88484610345856113c9565b600114949350505050565b6000546001600160a01b0316331461100d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104dd565b6001600160a01b0381166110725760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104dd565b61107b81611379565b50565b61056d848484845b8361109081611342565b60408051848152600160208201529081018390526001600160a01b0380861691908716907f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3909060600160405180910390a350604080518082018252600180825260208083019485526001600160a01b039788166000908152828252848120979098168852958652828720948752939094529093209151825460ff19169015151782559151910155565b8261114381611342565b826001600160a01b0316846001600160a01b03167f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e3908460008060405161119c939291909283529015156020830152604082015260600190565b60405180910390a350604080518082018252600080825260208083018281526001600160a01b03978816835260018083528584209790981683529581528382209482529390935291209051815460ff19169015151781559051910155565b6040805160208101829052603960608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527f642e61707057686974654c697374696e672e666163746f72790000000000000060a08201526001600160a01b0383169181019190915260009060c0015b604051602081830303815290604052805190602001209050919050565b8361129781611342565b60408051848152600160208201526001600160a01b03848116828401529151868316928816917f33afe19ae6902b933890ff48190fabdc4cf7f5ab499be9c4d9d98e3b4562e390919081900360600190a35060408051808201825260018082526001600160a01b03938416602080840191825297851660009081528289528481209790951685529587528284209484529390955290209251835460ff19169015151783559051910155565b6002546001600160a01b0382811691161461135f5761135f6118cc565b6000546001600160a01b0316331461107b5761107b6118cc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160208101829052603260608201527f6f72672e7375706572666c7569642d66696e616e63652e7375706572666c756960808201527132173a393ab9ba32b22337b93bb0b93232b960711b60a08201526001600160a01b0383169181019190915260009060c001611270565b6001600160a01b038116811461107b57600080fd5b6000806000806080858703121561146357600080fd5b843561146e81611438565b9350602085013561147e81611438565b93969395505050506040820135916060013590565b600080604083850312156114a657600080fd5b82356114b181611438565b915060208301356114c181611438565b809150509250929050565b60008083601f8401126114de57600080fd5b50813567ffffffffffffffff8111156114f657600080fd5b6020830191508360208260051b850101111561151157600080fd5b9250929050565b60008060008060006060868803121561153057600080fd5b853561153b81611438565b9450602086013567ffffffffffffffff8082111561155857600080fd5b61156489838a016114cc565b9096509450604088013591508082111561157d57600080fd5b5061158a888289016114cc565b969995985093965092949392505050565b80356115a681611438565b919050565b6000806000606084860312156115c057600080fd5b83356115cb81611438565b925060208401356115db81611438565b915060408401356115eb81611438565b809150509250925092565b60008060006040848603121561160b57600080fd5b833561161681611438565b9250602084013567ffffffffffffffff81111561163257600080fd5b61163e868287016114cc565b9497909650939450505050565b60008060008060006080868803121561166357600080fd5b853561166e81611438565b9450602086013561167e81611438565b9350604086013567ffffffffffffffff81111561169a57600080fd5b6116a6888289016114cc565b90945092505060608601356116ba81611438565b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600080600080600060a086880312156116f657600080fd5b853561170181611438565b945060208681013561171281611438565b94506040870135935060608701359250608087013567ffffffffffffffff8082111561173d57600080fd5b818901915089601f83011261175157600080fd5b813581811115611763576117636116c8565b8060051b604051601f19603f83011681018181108582111715611788576117886116c8565b60405291825284820192508381018501918c8311156117a657600080fd5b938501935b828510156117cb576117bc8561159b565b845293850193928501926117ab565b8096505050505050509295509295909350565b6000806000606084860312156117f357600080fd5b83356117fe81611438565b9250602084013561180e81611438565b929592945050506040919091013590565b6000806000806080858703121561183557600080fd5b843561184081611438565b9350602085013561185081611438565b925060408501359150606085013561186781611438565b939692955090935050565b60006020828403121561188457600080fd5b813561061f81611438565b634e487b7160e01b600052603260045260246000fd5b6000600182016118c557634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052600160045260246000fdfea26469706673582212206e918064fa57b3b68e72aef77a5db019d4ef7a01cf3169efb6a25c67e518afb864736f6c634300080d0033",
|
|
902
902
|
"immutableReferences": {},
|
|
903
903
|
"generatedSources": [],
|
|
904
904
|
"deployedGeneratedSources": [
|
|
@@ -12695,15 +12695,15 @@
|
|
|
12695
12695
|
15964
|
|
12696
12696
|
],
|
|
12697
12697
|
"TestGovernance": [
|
|
12698
|
-
|
|
12698
|
+
37180
|
|
12699
12699
|
]
|
|
12700
12700
|
},
|
|
12701
|
-
"id":
|
|
12701
|
+
"id": 37181,
|
|
12702
12702
|
"license": "AGPLv3",
|
|
12703
12703
|
"nodeType": "SourceUnit",
|
|
12704
12704
|
"nodes": [
|
|
12705
12705
|
{
|
|
12706
|
-
"id":
|
|
12706
|
+
"id": 37049,
|
|
12707
12707
|
"literals": [
|
|
12708
12708
|
"solidity",
|
|
12709
12709
|
"0.8",
|
|
@@ -12715,16 +12715,16 @@
|
|
|
12715
12715
|
{
|
|
12716
12716
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluid.sol",
|
|
12717
12717
|
"file": "../interfaces/superfluid/ISuperfluid.sol",
|
|
12718
|
-
"id":
|
|
12718
|
+
"id": 37052,
|
|
12719
12719
|
"nameLocation": "-1:-1:-1",
|
|
12720
12720
|
"nodeType": "ImportDirective",
|
|
12721
|
-
"scope":
|
|
12721
|
+
"scope": 37181,
|
|
12722
12722
|
"sourceUnit": 18320,
|
|
12723
12723
|
"src": "60:97:104",
|
|
12724
12724
|
"symbolAliases": [
|
|
12725
12725
|
{
|
|
12726
12726
|
"foreign": {
|
|
12727
|
-
"id":
|
|
12727
|
+
"id": 37050,
|
|
12728
12728
|
"name": "ISuperfluid",
|
|
12729
12729
|
"nodeType": "Identifier",
|
|
12730
12730
|
"overloadedDeclarations": [],
|
|
@@ -12736,7 +12736,7 @@
|
|
|
12736
12736
|
},
|
|
12737
12737
|
{
|
|
12738
12738
|
"foreign": {
|
|
12739
|
-
"id":
|
|
12739
|
+
"id": 37051,
|
|
12740
12740
|
"name": "ISuperfluidToken",
|
|
12741
12741
|
"nodeType": "Identifier",
|
|
12742
12742
|
"overloadedDeclarations": [],
|
|
@@ -12752,16 +12752,16 @@
|
|
|
12752
12752
|
{
|
|
12753
12753
|
"absolutePath": "project:/contracts/gov/SuperfluidGovernanceBase.sol",
|
|
12754
12754
|
"file": "../gov/SuperfluidGovernanceBase.sol",
|
|
12755
|
-
"id":
|
|
12755
|
+
"id": 37054,
|
|
12756
12756
|
"nameLocation": "-1:-1:-1",
|
|
12757
12757
|
"nodeType": "ImportDirective",
|
|
12758
|
-
"scope":
|
|
12758
|
+
"scope": 37181,
|
|
12759
12759
|
"sourceUnit": 15965,
|
|
12760
12760
|
"src": "158:79:104",
|
|
12761
12761
|
"symbolAliases": [
|
|
12762
12762
|
{
|
|
12763
12763
|
"foreign": {
|
|
12764
|
-
"id":
|
|
12764
|
+
"id": 37053,
|
|
12765
12765
|
"name": "SuperfluidGovernanceBase",
|
|
12766
12766
|
"nodeType": "Identifier",
|
|
12767
12767
|
"overloadedDeclarations": [],
|
|
@@ -12777,16 +12777,16 @@
|
|
|
12777
12777
|
{
|
|
12778
12778
|
"absolutePath": "@openzeppelin/contracts/access/Ownable.sol",
|
|
12779
12779
|
"file": "@openzeppelin/contracts/access/Ownable.sol",
|
|
12780
|
-
"id":
|
|
12780
|
+
"id": 37056,
|
|
12781
12781
|
"nameLocation": "-1:-1:-1",
|
|
12782
12782
|
"nodeType": "ImportDirective",
|
|
12783
|
-
"scope":
|
|
12783
|
+
"scope": 37181,
|
|
12784
12784
|
"sourceUnit": 637,
|
|
12785
12785
|
"src": "239:69:104",
|
|
12786
12786
|
"symbolAliases": [
|
|
12787
12787
|
{
|
|
12788
12788
|
"foreign": {
|
|
12789
|
-
"id":
|
|
12789
|
+
"id": 37055,
|
|
12790
12790
|
"name": "Ownable",
|
|
12791
12791
|
"nodeType": "Identifier",
|
|
12792
12792
|
"overloadedDeclarations": [],
|
|
@@ -12804,25 +12804,25 @@
|
|
|
12804
12804
|
"baseContracts": [
|
|
12805
12805
|
{
|
|
12806
12806
|
"baseName": {
|
|
12807
|
-
"id":
|
|
12807
|
+
"id": 37058,
|
|
12808
12808
|
"name": "Ownable",
|
|
12809
12809
|
"nodeType": "IdentifierPath",
|
|
12810
12810
|
"referencedDeclaration": 636,
|
|
12811
12811
|
"src": "478:7:104"
|
|
12812
12812
|
},
|
|
12813
|
-
"id":
|
|
12813
|
+
"id": 37059,
|
|
12814
12814
|
"nodeType": "InheritanceSpecifier",
|
|
12815
12815
|
"src": "478:7:104"
|
|
12816
12816
|
},
|
|
12817
12817
|
{
|
|
12818
12818
|
"baseName": {
|
|
12819
|
-
"id":
|
|
12819
|
+
"id": 37060,
|
|
12820
12820
|
"name": "SuperfluidGovernanceBase",
|
|
12821
12821
|
"nodeType": "IdentifierPath",
|
|
12822
12822
|
"referencedDeclaration": 15964,
|
|
12823
12823
|
"src": "491:24:104"
|
|
12824
12824
|
},
|
|
12825
|
-
"id":
|
|
12825
|
+
"id": 37061,
|
|
12826
12826
|
"nodeType": "InheritanceSpecifier",
|
|
12827
12827
|
"src": "491:24:104"
|
|
12828
12828
|
}
|
|
@@ -12831,15 +12831,15 @@
|
|
|
12831
12831
|
"contractDependencies": [],
|
|
12832
12832
|
"contractKind": "contract",
|
|
12833
12833
|
"documentation": {
|
|
12834
|
-
"id":
|
|
12834
|
+
"id": 37057,
|
|
12835
12835
|
"nodeType": "StructuredDocumentation",
|
|
12836
12836
|
"src": "311:135:104",
|
|
12837
12837
|
"text": " @title Test governance contract\n @author Superfluid \n @dev A initializable version of the governance for testing purpose"
|
|
12838
12838
|
},
|
|
12839
12839
|
"fullyImplemented": true,
|
|
12840
|
-
"id":
|
|
12840
|
+
"id": 37180,
|
|
12841
12841
|
"linearizedBaseContracts": [
|
|
12842
|
-
|
|
12842
|
+
37180,
|
|
12843
12843
|
15964,
|
|
12844
12844
|
18442,
|
|
12845
12845
|
636,
|
|
@@ -12851,12 +12851,12 @@
|
|
|
12851
12851
|
"nodes": [
|
|
12852
12852
|
{
|
|
12853
12853
|
"constant": false,
|
|
12854
|
-
"id":
|
|
12854
|
+
"id": 37064,
|
|
12855
12855
|
"mutability": "mutable",
|
|
12856
12856
|
"name": "_host",
|
|
12857
12857
|
"nameLocation": "542:5:104",
|
|
12858
12858
|
"nodeType": "VariableDeclaration",
|
|
12859
|
-
"scope":
|
|
12859
|
+
"scope": 37180,
|
|
12860
12860
|
"src": "522:25:104",
|
|
12861
12861
|
"stateVariable": true,
|
|
12862
12862
|
"storageLocation": "default",
|
|
@@ -12865,10 +12865,10 @@
|
|
|
12865
12865
|
"typeString": "contract ISuperfluid"
|
|
12866
12866
|
},
|
|
12867
12867
|
"typeName": {
|
|
12868
|
-
"id":
|
|
12868
|
+
"id": 37063,
|
|
12869
12869
|
"nodeType": "UserDefinedTypeName",
|
|
12870
12870
|
"pathNode": {
|
|
12871
|
-
"id":
|
|
12871
|
+
"id": 37062,
|
|
12872
12872
|
"name": "ISuperfluid",
|
|
12873
12873
|
"nodeType": "IdentifierPath",
|
|
12874
12874
|
"referencedDeclaration": 18319,
|
|
@@ -12885,7 +12885,7 @@
|
|
|
12885
12885
|
},
|
|
12886
12886
|
{
|
|
12887
12887
|
"body": {
|
|
12888
|
-
"id":
|
|
12888
|
+
"id": 37156,
|
|
12889
12889
|
"nodeType": "Block",
|
|
12890
12890
|
"src": "770:499:104",
|
|
12891
12891
|
"statements": [
|
|
@@ -12897,7 +12897,7 @@
|
|
|
12897
12897
|
"typeIdentifier": "t_address",
|
|
12898
12898
|
"typeString": "address"
|
|
12899
12899
|
},
|
|
12900
|
-
"id":
|
|
12900
|
+
"id": 37088,
|
|
12901
12901
|
"isConstant": false,
|
|
12902
12902
|
"isLValue": false,
|
|
12903
12903
|
"isPure": false,
|
|
@@ -12905,11 +12905,11 @@
|
|
|
12905
12905
|
"leftExpression": {
|
|
12906
12906
|
"arguments": [
|
|
12907
12907
|
{
|
|
12908
|
-
"id":
|
|
12908
|
+
"id": 37082,
|
|
12909
12909
|
"name": "host",
|
|
12910
12910
|
"nodeType": "Identifier",
|
|
12911
12911
|
"overloadedDeclarations": [],
|
|
12912
|
-
"referencedDeclaration":
|
|
12912
|
+
"referencedDeclaration": 37067,
|
|
12913
12913
|
"src": "831:4:104",
|
|
12914
12914
|
"typeDescriptions": {
|
|
12915
12915
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -12924,7 +12924,7 @@
|
|
|
12924
12924
|
"typeString": "contract ISuperfluid"
|
|
12925
12925
|
}
|
|
12926
12926
|
],
|
|
12927
|
-
"id":
|
|
12927
|
+
"id": 37081,
|
|
12928
12928
|
"isConstant": false,
|
|
12929
12929
|
"isLValue": false,
|
|
12930
12930
|
"isPure": true,
|
|
@@ -12936,14 +12936,14 @@
|
|
|
12936
12936
|
"typeString": "type(address)"
|
|
12937
12937
|
},
|
|
12938
12938
|
"typeName": {
|
|
12939
|
-
"id":
|
|
12939
|
+
"id": 37080,
|
|
12940
12940
|
"name": "address",
|
|
12941
12941
|
"nodeType": "ElementaryTypeName",
|
|
12942
12942
|
"src": "823:7:104",
|
|
12943
12943
|
"typeDescriptions": {}
|
|
12944
12944
|
}
|
|
12945
12945
|
},
|
|
12946
|
-
"id":
|
|
12946
|
+
"id": 37083,
|
|
12947
12947
|
"isConstant": false,
|
|
12948
12948
|
"isLValue": false,
|
|
12949
12949
|
"isPure": false,
|
|
@@ -12964,7 +12964,7 @@
|
|
|
12964
12964
|
"arguments": [
|
|
12965
12965
|
{
|
|
12966
12966
|
"hexValue": "30",
|
|
12967
|
-
"id":
|
|
12967
|
+
"id": 37086,
|
|
12968
12968
|
"isConstant": false,
|
|
12969
12969
|
"isLValue": false,
|
|
12970
12970
|
"isPure": true,
|
|
@@ -12986,7 +12986,7 @@
|
|
|
12986
12986
|
"typeString": "int_const 0"
|
|
12987
12987
|
}
|
|
12988
12988
|
],
|
|
12989
|
-
"id":
|
|
12989
|
+
"id": 37085,
|
|
12990
12990
|
"isConstant": false,
|
|
12991
12991
|
"isLValue": false,
|
|
12992
12992
|
"isPure": true,
|
|
@@ -12998,14 +12998,14 @@
|
|
|
12998
12998
|
"typeString": "type(address)"
|
|
12999
12999
|
},
|
|
13000
13000
|
"typeName": {
|
|
13001
|
-
"id":
|
|
13001
|
+
"id": 37084,
|
|
13002
13002
|
"name": "address",
|
|
13003
13003
|
"nodeType": "ElementaryTypeName",
|
|
13004
13004
|
"src": "840:7:104",
|
|
13005
13005
|
"typeDescriptions": {}
|
|
13006
13006
|
}
|
|
13007
13007
|
},
|
|
13008
|
-
"id":
|
|
13008
|
+
"id": 37087,
|
|
13009
13009
|
"isConstant": false,
|
|
13010
13010
|
"isLValue": false,
|
|
13011
13011
|
"isPure": true,
|
|
@@ -13034,7 +13034,7 @@
|
|
|
13034
13034
|
"typeString": "bool"
|
|
13035
13035
|
}
|
|
13036
13036
|
],
|
|
13037
|
-
"id":
|
|
13037
|
+
"id": 37079,
|
|
13038
13038
|
"name": "assert",
|
|
13039
13039
|
"nodeType": "Identifier",
|
|
13040
13040
|
"overloadedDeclarations": [],
|
|
@@ -13045,7 +13045,7 @@
|
|
|
13045
13045
|
"typeString": "function (bool) pure"
|
|
13046
13046
|
}
|
|
13047
13047
|
},
|
|
13048
|
-
"id":
|
|
13048
|
+
"id": 37089,
|
|
13049
13049
|
"isConstant": false,
|
|
13050
13050
|
"isLValue": false,
|
|
13051
13051
|
"isPure": false,
|
|
@@ -13060,7 +13060,7 @@
|
|
|
13060
13060
|
"typeString": "tuple()"
|
|
13061
13061
|
}
|
|
13062
13062
|
},
|
|
13063
|
-
"id":
|
|
13063
|
+
"id": 37090,
|
|
13064
13064
|
"nodeType": "ExpressionStatement",
|
|
13065
13065
|
"src": "816:35:104"
|
|
13066
13066
|
},
|
|
@@ -13072,7 +13072,7 @@
|
|
|
13072
13072
|
"typeIdentifier": "t_address",
|
|
13073
13073
|
"typeString": "address"
|
|
13074
13074
|
},
|
|
13075
|
-
"id":
|
|
13075
|
+
"id": 37100,
|
|
13076
13076
|
"isConstant": false,
|
|
13077
13077
|
"isLValue": false,
|
|
13078
13078
|
"isPure": false,
|
|
@@ -13080,11 +13080,11 @@
|
|
|
13080
13080
|
"leftExpression": {
|
|
13081
13081
|
"arguments": [
|
|
13082
13082
|
{
|
|
13083
|
-
"id":
|
|
13083
|
+
"id": 37094,
|
|
13084
13084
|
"name": "_host",
|
|
13085
13085
|
"nodeType": "Identifier",
|
|
13086
13086
|
"overloadedDeclarations": [],
|
|
13087
|
-
"referencedDeclaration":
|
|
13087
|
+
"referencedDeclaration": 37064,
|
|
13088
13088
|
"src": "876:5:104",
|
|
13089
13089
|
"typeDescriptions": {
|
|
13090
13090
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -13099,7 +13099,7 @@
|
|
|
13099
13099
|
"typeString": "contract ISuperfluid"
|
|
13100
13100
|
}
|
|
13101
13101
|
],
|
|
13102
|
-
"id":
|
|
13102
|
+
"id": 37093,
|
|
13103
13103
|
"isConstant": false,
|
|
13104
13104
|
"isLValue": false,
|
|
13105
13105
|
"isPure": true,
|
|
@@ -13111,14 +13111,14 @@
|
|
|
13111
13111
|
"typeString": "type(address)"
|
|
13112
13112
|
},
|
|
13113
13113
|
"typeName": {
|
|
13114
|
-
"id":
|
|
13114
|
+
"id": 37092,
|
|
13115
13115
|
"name": "address",
|
|
13116
13116
|
"nodeType": "ElementaryTypeName",
|
|
13117
13117
|
"src": "868:7:104",
|
|
13118
13118
|
"typeDescriptions": {}
|
|
13119
13119
|
}
|
|
13120
13120
|
},
|
|
13121
|
-
"id":
|
|
13121
|
+
"id": 37095,
|
|
13122
13122
|
"isConstant": false,
|
|
13123
13123
|
"isLValue": false,
|
|
13124
13124
|
"isPure": false,
|
|
@@ -13139,7 +13139,7 @@
|
|
|
13139
13139
|
"arguments": [
|
|
13140
13140
|
{
|
|
13141
13141
|
"hexValue": "30",
|
|
13142
|
-
"id":
|
|
13142
|
+
"id": 37098,
|
|
13143
13143
|
"isConstant": false,
|
|
13144
13144
|
"isLValue": false,
|
|
13145
13145
|
"isPure": true,
|
|
@@ -13161,7 +13161,7 @@
|
|
|
13161
13161
|
"typeString": "int_const 0"
|
|
13162
13162
|
}
|
|
13163
13163
|
],
|
|
13164
|
-
"id":
|
|
13164
|
+
"id": 37097,
|
|
13165
13165
|
"isConstant": false,
|
|
13166
13166
|
"isLValue": false,
|
|
13167
13167
|
"isPure": true,
|
|
@@ -13173,14 +13173,14 @@
|
|
|
13173
13173
|
"typeString": "type(address)"
|
|
13174
13174
|
},
|
|
13175
13175
|
"typeName": {
|
|
13176
|
-
"id":
|
|
13176
|
+
"id": 37096,
|
|
13177
13177
|
"name": "address",
|
|
13178
13178
|
"nodeType": "ElementaryTypeName",
|
|
13179
13179
|
"src": "886:7:104",
|
|
13180
13180
|
"typeDescriptions": {}
|
|
13181
13181
|
}
|
|
13182
13182
|
},
|
|
13183
|
-
"id":
|
|
13183
|
+
"id": 37099,
|
|
13184
13184
|
"isConstant": false,
|
|
13185
13185
|
"isLValue": false,
|
|
13186
13186
|
"isPure": true,
|
|
@@ -13209,7 +13209,7 @@
|
|
|
13209
13209
|
"typeString": "bool"
|
|
13210
13210
|
}
|
|
13211
13211
|
],
|
|
13212
|
-
"id":
|
|
13212
|
+
"id": 37091,
|
|
13213
13213
|
"name": "assert",
|
|
13214
13214
|
"nodeType": "Identifier",
|
|
13215
13215
|
"overloadedDeclarations": [],
|
|
@@ -13220,7 +13220,7 @@
|
|
|
13220
13220
|
"typeString": "function (bool) pure"
|
|
13221
13221
|
}
|
|
13222
13222
|
},
|
|
13223
|
-
"id":
|
|
13223
|
+
"id": 37101,
|
|
13224
13224
|
"isConstant": false,
|
|
13225
13225
|
"isLValue": false,
|
|
13226
13226
|
"isPure": false,
|
|
@@ -13235,23 +13235,23 @@
|
|
|
13235
13235
|
"typeString": "tuple()"
|
|
13236
13236
|
}
|
|
13237
13237
|
},
|
|
13238
|
-
"id":
|
|
13238
|
+
"id": 37102,
|
|
13239
13239
|
"nodeType": "ExpressionStatement",
|
|
13240
13240
|
"src": "861:36:104"
|
|
13241
13241
|
},
|
|
13242
13242
|
{
|
|
13243
13243
|
"expression": {
|
|
13244
|
-
"id":
|
|
13244
|
+
"id": 37105,
|
|
13245
13245
|
"isConstant": false,
|
|
13246
13246
|
"isLValue": false,
|
|
13247
13247
|
"isPure": false,
|
|
13248
13248
|
"lValueRequested": false,
|
|
13249
13249
|
"leftHandSide": {
|
|
13250
|
-
"id":
|
|
13250
|
+
"id": 37103,
|
|
13251
13251
|
"name": "_host",
|
|
13252
13252
|
"nodeType": "Identifier",
|
|
13253
13253
|
"overloadedDeclarations": [],
|
|
13254
|
-
"referencedDeclaration":
|
|
13254
|
+
"referencedDeclaration": 37064,
|
|
13255
13255
|
"src": "908:5:104",
|
|
13256
13256
|
"typeDescriptions": {
|
|
13257
13257
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -13261,11 +13261,11 @@
|
|
|
13261
13261
|
"nodeType": "Assignment",
|
|
13262
13262
|
"operator": "=",
|
|
13263
13263
|
"rightHandSide": {
|
|
13264
|
-
"id":
|
|
13264
|
+
"id": 37104,
|
|
13265
13265
|
"name": "host",
|
|
13266
13266
|
"nodeType": "Identifier",
|
|
13267
13267
|
"overloadedDeclarations": [],
|
|
13268
|
-
"referencedDeclaration":
|
|
13268
|
+
"referencedDeclaration": 37067,
|
|
13269
13269
|
"src": "916:4:104",
|
|
13270
13270
|
"typeDescriptions": {
|
|
13271
13271
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -13278,7 +13278,7 @@
|
|
|
13278
13278
|
"typeString": "contract ISuperfluid"
|
|
13279
13279
|
}
|
|
13280
13280
|
},
|
|
13281
|
-
"id":
|
|
13281
|
+
"id": 37106,
|
|
13282
13282
|
"nodeType": "ExpressionStatement",
|
|
13283
13283
|
"src": "908:12:104"
|
|
13284
13284
|
},
|
|
@@ -13286,11 +13286,11 @@
|
|
|
13286
13286
|
"expression": {
|
|
13287
13287
|
"arguments": [
|
|
13288
13288
|
{
|
|
13289
|
-
"id":
|
|
13289
|
+
"id": 37108,
|
|
13290
13290
|
"name": "_host",
|
|
13291
13291
|
"nodeType": "Identifier",
|
|
13292
13292
|
"overloadedDeclarations": [],
|
|
13293
|
-
"referencedDeclaration":
|
|
13293
|
+
"referencedDeclaration": 37064,
|
|
13294
13294
|
"src": "948:5:104",
|
|
13295
13295
|
"typeDescriptions": {
|
|
13296
13296
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -13303,7 +13303,7 @@
|
|
|
13303
13303
|
"arguments": [
|
|
13304
13304
|
{
|
|
13305
13305
|
"hexValue": "30",
|
|
13306
|
-
"id":
|
|
13306
|
+
"id": 37112,
|
|
13307
13307
|
"isConstant": false,
|
|
13308
13308
|
"isLValue": false,
|
|
13309
13309
|
"isPure": true,
|
|
@@ -13325,7 +13325,7 @@
|
|
|
13325
13325
|
"typeString": "int_const 0"
|
|
13326
13326
|
}
|
|
13327
13327
|
],
|
|
13328
|
-
"id":
|
|
13328
|
+
"id": 37111,
|
|
13329
13329
|
"isConstant": false,
|
|
13330
13330
|
"isLValue": false,
|
|
13331
13331
|
"isPure": true,
|
|
@@ -13337,14 +13337,14 @@
|
|
|
13337
13337
|
"typeString": "type(address)"
|
|
13338
13338
|
},
|
|
13339
13339
|
"typeName": {
|
|
13340
|
-
"id":
|
|
13340
|
+
"id": 37110,
|
|
13341
13341
|
"name": "address",
|
|
13342
13342
|
"nodeType": "ElementaryTypeName",
|
|
13343
13343
|
"src": "972:7:104",
|
|
13344
13344
|
"typeDescriptions": {}
|
|
13345
13345
|
}
|
|
13346
13346
|
},
|
|
13347
|
-
"id":
|
|
13347
|
+
"id": 37113,
|
|
13348
13348
|
"isConstant": false,
|
|
13349
13349
|
"isLValue": false,
|
|
13350
13350
|
"isPure": true,
|
|
@@ -13367,7 +13367,7 @@
|
|
|
13367
13367
|
"typeString": "address"
|
|
13368
13368
|
}
|
|
13369
13369
|
],
|
|
13370
|
-
"id":
|
|
13370
|
+
"id": 37109,
|
|
13371
13371
|
"name": "ISuperfluidToken",
|
|
13372
13372
|
"nodeType": "Identifier",
|
|
13373
13373
|
"overloadedDeclarations": [],
|
|
@@ -13378,7 +13378,7 @@
|
|
|
13378
13378
|
"typeString": "type(contract ISuperfluidToken)"
|
|
13379
13379
|
}
|
|
13380
13380
|
},
|
|
13381
|
-
"id":
|
|
13381
|
+
"id": 37114,
|
|
13382
13382
|
"isConstant": false,
|
|
13383
13383
|
"isLValue": false,
|
|
13384
13384
|
"isPure": true,
|
|
@@ -13394,11 +13394,11 @@
|
|
|
13394
13394
|
}
|
|
13395
13395
|
},
|
|
13396
13396
|
{
|
|
13397
|
-
"id":
|
|
13397
|
+
"id": 37115,
|
|
13398
13398
|
"name": "rewardAddress",
|
|
13399
13399
|
"nodeType": "Identifier",
|
|
13400
13400
|
"overloadedDeclarations": [],
|
|
13401
|
-
"referencedDeclaration":
|
|
13401
|
+
"referencedDeclaration": 37069,
|
|
13402
13402
|
"src": "985:13:104",
|
|
13403
13403
|
"typeDescriptions": {
|
|
13404
13404
|
"typeIdentifier": "t_address",
|
|
@@ -13421,7 +13421,7 @@
|
|
|
13421
13421
|
"typeString": "address"
|
|
13422
13422
|
}
|
|
13423
13423
|
],
|
|
13424
|
-
"id":
|
|
13424
|
+
"id": 37107,
|
|
13425
13425
|
"name": "setRewardAddress",
|
|
13426
13426
|
"nodeType": "Identifier",
|
|
13427
13427
|
"overloadedDeclarations": [],
|
|
@@ -13432,7 +13432,7 @@
|
|
|
13432
13432
|
"typeString": "function (contract ISuperfluid,contract ISuperfluidToken,address)"
|
|
13433
13433
|
}
|
|
13434
13434
|
},
|
|
13435
|
-
"id":
|
|
13435
|
+
"id": 37116,
|
|
13436
13436
|
"isConstant": false,
|
|
13437
13437
|
"isLValue": false,
|
|
13438
13438
|
"isPure": false,
|
|
@@ -13447,7 +13447,7 @@
|
|
|
13447
13447
|
"typeString": "tuple()"
|
|
13448
13448
|
}
|
|
13449
13449
|
},
|
|
13450
|
-
"id":
|
|
13450
|
+
"id": 37117,
|
|
13451
13451
|
"nodeType": "ExpressionStatement",
|
|
13452
13452
|
"src": "931:68:104"
|
|
13453
13453
|
},
|
|
@@ -13455,11 +13455,11 @@
|
|
|
13455
13455
|
"expression": {
|
|
13456
13456
|
"arguments": [
|
|
13457
13457
|
{
|
|
13458
|
-
"id":
|
|
13458
|
+
"id": 37119,
|
|
13459
13459
|
"name": "host",
|
|
13460
13460
|
"nodeType": "Identifier",
|
|
13461
13461
|
"overloadedDeclarations": [],
|
|
13462
|
-
"referencedDeclaration":
|
|
13462
|
+
"referencedDeclaration": 37067,
|
|
13463
13463
|
"src": "1023:4:104",
|
|
13464
13464
|
"typeDescriptions": {
|
|
13465
13465
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -13472,7 +13472,7 @@
|
|
|
13472
13472
|
"arguments": [
|
|
13473
13473
|
{
|
|
13474
13474
|
"hexValue": "30",
|
|
13475
|
-
"id":
|
|
13475
|
+
"id": 37123,
|
|
13476
13476
|
"isConstant": false,
|
|
13477
13477
|
"isLValue": false,
|
|
13478
13478
|
"isPure": true,
|
|
@@ -13494,7 +13494,7 @@
|
|
|
13494
13494
|
"typeString": "int_const 0"
|
|
13495
13495
|
}
|
|
13496
13496
|
],
|
|
13497
|
-
"id":
|
|
13497
|
+
"id": 37122,
|
|
13498
13498
|
"isConstant": false,
|
|
13499
13499
|
"isLValue": false,
|
|
13500
13500
|
"isPure": true,
|
|
@@ -13506,14 +13506,14 @@
|
|
|
13506
13506
|
"typeString": "type(address)"
|
|
13507
13507
|
},
|
|
13508
13508
|
"typeName": {
|
|
13509
|
-
"id":
|
|
13509
|
+
"id": 37121,
|
|
13510
13510
|
"name": "address",
|
|
13511
13511
|
"nodeType": "ElementaryTypeName",
|
|
13512
13512
|
"src": "1046:7:104",
|
|
13513
13513
|
"typeDescriptions": {}
|
|
13514
13514
|
}
|
|
13515
13515
|
},
|
|
13516
|
-
"id":
|
|
13516
|
+
"id": 37124,
|
|
13517
13517
|
"isConstant": false,
|
|
13518
13518
|
"isLValue": false,
|
|
13519
13519
|
"isPure": true,
|
|
@@ -13536,7 +13536,7 @@
|
|
|
13536
13536
|
"typeString": "address"
|
|
13537
13537
|
}
|
|
13538
13538
|
],
|
|
13539
|
-
"id":
|
|
13539
|
+
"id": 37120,
|
|
13540
13540
|
"name": "ISuperfluidToken",
|
|
13541
13541
|
"nodeType": "Identifier",
|
|
13542
13542
|
"overloadedDeclarations": [],
|
|
@@ -13547,7 +13547,7 @@
|
|
|
13547
13547
|
"typeString": "type(contract ISuperfluidToken)"
|
|
13548
13548
|
}
|
|
13549
13549
|
},
|
|
13550
|
-
"id":
|
|
13550
|
+
"id": 37125,
|
|
13551
13551
|
"isConstant": false,
|
|
13552
13552
|
"isLValue": false,
|
|
13553
13553
|
"isPure": true,
|
|
@@ -13563,11 +13563,11 @@
|
|
|
13563
13563
|
}
|
|
13564
13564
|
},
|
|
13565
13565
|
{
|
|
13566
|
-
"id":
|
|
13566
|
+
"id": 37126,
|
|
13567
13567
|
"name": "liquidationPeriod",
|
|
13568
13568
|
"nodeType": "Identifier",
|
|
13569
13569
|
"overloadedDeclarations": [],
|
|
13570
|
-
"referencedDeclaration":
|
|
13570
|
+
"referencedDeclaration": 37071,
|
|
13571
13571
|
"src": "1059:17:104",
|
|
13572
13572
|
"typeDescriptions": {
|
|
13573
13573
|
"typeIdentifier": "t_uint256",
|
|
@@ -13575,11 +13575,11 @@
|
|
|
13575
13575
|
}
|
|
13576
13576
|
},
|
|
13577
13577
|
{
|
|
13578
|
-
"id":
|
|
13578
|
+
"id": 37127,
|
|
13579
13579
|
"name": "patricianPeriod",
|
|
13580
13580
|
"nodeType": "Identifier",
|
|
13581
13581
|
"overloadedDeclarations": [],
|
|
13582
|
-
"referencedDeclaration":
|
|
13582
|
+
"referencedDeclaration": 37073,
|
|
13583
13583
|
"src": "1078:15:104",
|
|
13584
13584
|
"typeDescriptions": {
|
|
13585
13585
|
"typeIdentifier": "t_uint256",
|
|
@@ -13606,7 +13606,7 @@
|
|
|
13606
13606
|
"typeString": "uint256"
|
|
13607
13607
|
}
|
|
13608
13608
|
],
|
|
13609
|
-
"id":
|
|
13609
|
+
"id": 37118,
|
|
13610
13610
|
"name": "setPPPConfig",
|
|
13611
13611
|
"nodeType": "Identifier",
|
|
13612
13612
|
"overloadedDeclarations": [],
|
|
@@ -13617,7 +13617,7 @@
|
|
|
13617
13617
|
"typeString": "function (contract ISuperfluid,contract ISuperfluidToken,uint256,uint256)"
|
|
13618
13618
|
}
|
|
13619
13619
|
},
|
|
13620
|
-
"id":
|
|
13620
|
+
"id": 37128,
|
|
13621
13621
|
"isConstant": false,
|
|
13622
13622
|
"isLValue": false,
|
|
13623
13623
|
"isPure": false,
|
|
@@ -13632,13 +13632,13 @@
|
|
|
13632
13632
|
"typeString": "tuple()"
|
|
13633
13633
|
}
|
|
13634
13634
|
},
|
|
13635
|
-
"id":
|
|
13635
|
+
"id": 37129,
|
|
13636
13636
|
"nodeType": "ExpressionStatement",
|
|
13637
13637
|
"src": "1010:84:104"
|
|
13638
13638
|
},
|
|
13639
13639
|
{
|
|
13640
13640
|
"body": {
|
|
13641
|
-
"id":
|
|
13641
|
+
"id": 37154,
|
|
13642
13642
|
"nodeType": "Block",
|
|
13643
13643
|
"src": "1157:106:104",
|
|
13644
13644
|
"statements": [
|
|
@@ -13646,11 +13646,11 @@
|
|
|
13646
13646
|
"expression": {
|
|
13647
13647
|
"arguments": [
|
|
13648
13648
|
{
|
|
13649
|
-
"id":
|
|
13649
|
+
"id": 37142,
|
|
13650
13650
|
"name": "_host",
|
|
13651
13651
|
"nodeType": "Identifier",
|
|
13652
13652
|
"overloadedDeclarations": [],
|
|
13653
|
-
"referencedDeclaration":
|
|
13653
|
+
"referencedDeclaration": 37064,
|
|
13654
13654
|
"src": "1194:5:104",
|
|
13655
13655
|
"typeDescriptions": {
|
|
13656
13656
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -13663,7 +13663,7 @@
|
|
|
13663
13663
|
"arguments": [
|
|
13664
13664
|
{
|
|
13665
13665
|
"hexValue": "30",
|
|
13666
|
-
"id":
|
|
13666
|
+
"id": 37146,
|
|
13667
13667
|
"isConstant": false,
|
|
13668
13668
|
"isLValue": false,
|
|
13669
13669
|
"isPure": true,
|
|
@@ -13685,7 +13685,7 @@
|
|
|
13685
13685
|
"typeString": "int_const 0"
|
|
13686
13686
|
}
|
|
13687
13687
|
],
|
|
13688
|
-
"id":
|
|
13688
|
+
"id": 37145,
|
|
13689
13689
|
"isConstant": false,
|
|
13690
13690
|
"isLValue": false,
|
|
13691
13691
|
"isPure": true,
|
|
@@ -13697,14 +13697,14 @@
|
|
|
13697
13697
|
"typeString": "type(address)"
|
|
13698
13698
|
},
|
|
13699
13699
|
"typeName": {
|
|
13700
|
-
"id":
|
|
13700
|
+
"id": 37144,
|
|
13701
13701
|
"name": "address",
|
|
13702
13702
|
"nodeType": "ElementaryTypeName",
|
|
13703
13703
|
"src": "1218:7:104",
|
|
13704
13704
|
"typeDescriptions": {}
|
|
13705
13705
|
}
|
|
13706
13706
|
},
|
|
13707
|
-
"id":
|
|
13707
|
+
"id": 37147,
|
|
13708
13708
|
"isConstant": false,
|
|
13709
13709
|
"isLValue": false,
|
|
13710
13710
|
"isPure": true,
|
|
@@ -13727,7 +13727,7 @@
|
|
|
13727
13727
|
"typeString": "address"
|
|
13728
13728
|
}
|
|
13729
13729
|
],
|
|
13730
|
-
"id":
|
|
13730
|
+
"id": 37143,
|
|
13731
13731
|
"name": "ISuperfluidToken",
|
|
13732
13732
|
"nodeType": "Identifier",
|
|
13733
13733
|
"overloadedDeclarations": [],
|
|
@@ -13738,7 +13738,7 @@
|
|
|
13738
13738
|
"typeString": "type(contract ISuperfluidToken)"
|
|
13739
13739
|
}
|
|
13740
13740
|
},
|
|
13741
|
-
"id":
|
|
13741
|
+
"id": 37148,
|
|
13742
13742
|
"isConstant": false,
|
|
13743
13743
|
"isLValue": false,
|
|
13744
13744
|
"isPure": true,
|
|
@@ -13755,24 +13755,24 @@
|
|
|
13755
13755
|
},
|
|
13756
13756
|
{
|
|
13757
13757
|
"baseExpression": {
|
|
13758
|
-
"id":
|
|
13758
|
+
"id": 37149,
|
|
13759
13759
|
"name": "trustedForwarders",
|
|
13760
13760
|
"nodeType": "Identifier",
|
|
13761
13761
|
"overloadedDeclarations": [],
|
|
13762
|
-
"referencedDeclaration":
|
|
13762
|
+
"referencedDeclaration": 37076,
|
|
13763
13763
|
"src": "1231:17:104",
|
|
13764
13764
|
"typeDescriptions": {
|
|
13765
13765
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
13766
13766
|
"typeString": "address[] memory"
|
|
13767
13767
|
}
|
|
13768
13768
|
},
|
|
13769
|
-
"id":
|
|
13769
|
+
"id": 37151,
|
|
13770
13770
|
"indexExpression": {
|
|
13771
|
-
"id":
|
|
13771
|
+
"id": 37150,
|
|
13772
13772
|
"name": "i",
|
|
13773
13773
|
"nodeType": "Identifier",
|
|
13774
13774
|
"overloadedDeclarations": [],
|
|
13775
|
-
"referencedDeclaration":
|
|
13775
|
+
"referencedDeclaration": 37131,
|
|
13776
13776
|
"src": "1249:1:104",
|
|
13777
13777
|
"typeDescriptions": {
|
|
13778
13778
|
"typeIdentifier": "t_uint256",
|
|
@@ -13806,7 +13806,7 @@
|
|
|
13806
13806
|
"typeString": "address"
|
|
13807
13807
|
}
|
|
13808
13808
|
],
|
|
13809
|
-
"id":
|
|
13809
|
+
"id": 37141,
|
|
13810
13810
|
"name": "enableTrustedForwarder",
|
|
13811
13811
|
"nodeType": "Identifier",
|
|
13812
13812
|
"overloadedDeclarations": [],
|
|
@@ -13817,7 +13817,7 @@
|
|
|
13817
13817
|
"typeString": "function (contract ISuperfluid,contract ISuperfluidToken,address)"
|
|
13818
13818
|
}
|
|
13819
13819
|
},
|
|
13820
|
-
"id":
|
|
13820
|
+
"id": 37152,
|
|
13821
13821
|
"isConstant": false,
|
|
13822
13822
|
"isLValue": false,
|
|
13823
13823
|
"isPure": false,
|
|
@@ -13832,7 +13832,7 @@
|
|
|
13832
13832
|
"typeString": "tuple()"
|
|
13833
13833
|
}
|
|
13834
13834
|
},
|
|
13835
|
-
"id":
|
|
13835
|
+
"id": 37153,
|
|
13836
13836
|
"nodeType": "ExpressionStatement",
|
|
13837
13837
|
"src": "1171:81:104"
|
|
13838
13838
|
}
|
|
@@ -13843,17 +13843,17 @@
|
|
|
13843
13843
|
"typeIdentifier": "t_uint256",
|
|
13844
13844
|
"typeString": "uint256"
|
|
13845
13845
|
},
|
|
13846
|
-
"id":
|
|
13846
|
+
"id": 37137,
|
|
13847
13847
|
"isConstant": false,
|
|
13848
13848
|
"isLValue": false,
|
|
13849
13849
|
"isPure": false,
|
|
13850
13850
|
"lValueRequested": false,
|
|
13851
13851
|
"leftExpression": {
|
|
13852
|
-
"id":
|
|
13852
|
+
"id": 37134,
|
|
13853
13853
|
"name": "i",
|
|
13854
13854
|
"nodeType": "Identifier",
|
|
13855
13855
|
"overloadedDeclarations": [],
|
|
13856
|
-
"referencedDeclaration":
|
|
13856
|
+
"referencedDeclaration": 37131,
|
|
13857
13857
|
"src": "1122:1:104",
|
|
13858
13858
|
"typeDescriptions": {
|
|
13859
13859
|
"typeIdentifier": "t_uint256",
|
|
@@ -13864,18 +13864,18 @@
|
|
|
13864
13864
|
"operator": "<",
|
|
13865
13865
|
"rightExpression": {
|
|
13866
13866
|
"expression": {
|
|
13867
|
-
"id":
|
|
13867
|
+
"id": 37135,
|
|
13868
13868
|
"name": "trustedForwarders",
|
|
13869
13869
|
"nodeType": "Identifier",
|
|
13870
13870
|
"overloadedDeclarations": [],
|
|
13871
|
-
"referencedDeclaration":
|
|
13871
|
+
"referencedDeclaration": 37076,
|
|
13872
13872
|
"src": "1126:17:104",
|
|
13873
13873
|
"typeDescriptions": {
|
|
13874
13874
|
"typeIdentifier": "t_array$_t_address_$dyn_memory_ptr",
|
|
13875
13875
|
"typeString": "address[] memory"
|
|
13876
13876
|
}
|
|
13877
13877
|
},
|
|
13878
|
-
"id":
|
|
13878
|
+
"id": 37136,
|
|
13879
13879
|
"isConstant": false,
|
|
13880
13880
|
"isLValue": false,
|
|
13881
13881
|
"isPure": false,
|
|
@@ -13894,20 +13894,20 @@
|
|
|
13894
13894
|
"typeString": "bool"
|
|
13895
13895
|
}
|
|
13896
13896
|
},
|
|
13897
|
-
"id":
|
|
13897
|
+
"id": 37155,
|
|
13898
13898
|
"initializationExpression": {
|
|
13899
13899
|
"assignments": [
|
|
13900
|
-
|
|
13900
|
+
37131
|
|
13901
13901
|
],
|
|
13902
13902
|
"declarations": [
|
|
13903
13903
|
{
|
|
13904
13904
|
"constant": false,
|
|
13905
|
-
"id":
|
|
13905
|
+
"id": 37131,
|
|
13906
13906
|
"mutability": "mutable",
|
|
13907
13907
|
"name": "i",
|
|
13908
13908
|
"nameLocation": "1115:1:104",
|
|
13909
13909
|
"nodeType": "VariableDeclaration",
|
|
13910
|
-
"scope":
|
|
13910
|
+
"scope": 37155,
|
|
13911
13911
|
"src": "1110:6:104",
|
|
13912
13912
|
"stateVariable": false,
|
|
13913
13913
|
"storageLocation": "default",
|
|
@@ -13916,7 +13916,7 @@
|
|
|
13916
13916
|
"typeString": "uint256"
|
|
13917
13917
|
},
|
|
13918
13918
|
"typeName": {
|
|
13919
|
-
"id":
|
|
13919
|
+
"id": 37130,
|
|
13920
13920
|
"name": "uint",
|
|
13921
13921
|
"nodeType": "ElementaryTypeName",
|
|
13922
13922
|
"src": "1110:4:104",
|
|
@@ -13928,10 +13928,10 @@
|
|
|
13928
13928
|
"visibility": "internal"
|
|
13929
13929
|
}
|
|
13930
13930
|
],
|
|
13931
|
-
"id":
|
|
13931
|
+
"id": 37133,
|
|
13932
13932
|
"initialValue": {
|
|
13933
13933
|
"hexValue": "30",
|
|
13934
|
-
"id":
|
|
13934
|
+
"id": 37132,
|
|
13935
13935
|
"isConstant": false,
|
|
13936
13936
|
"isLValue": false,
|
|
13937
13937
|
"isPure": true,
|
|
@@ -13950,7 +13950,7 @@
|
|
|
13950
13950
|
},
|
|
13951
13951
|
"loopExpression": {
|
|
13952
13952
|
"expression": {
|
|
13953
|
-
"id":
|
|
13953
|
+
"id": 37139,
|
|
13954
13954
|
"isConstant": false,
|
|
13955
13955
|
"isLValue": false,
|
|
13956
13956
|
"isPure": false,
|
|
@@ -13960,11 +13960,11 @@
|
|
|
13960
13960
|
"prefix": true,
|
|
13961
13961
|
"src": "1152:3:104",
|
|
13962
13962
|
"subExpression": {
|
|
13963
|
-
"id":
|
|
13963
|
+
"id": 37138,
|
|
13964
13964
|
"name": "i",
|
|
13965
13965
|
"nodeType": "Identifier",
|
|
13966
13966
|
"overloadedDeclarations": [],
|
|
13967
|
-
"referencedDeclaration":
|
|
13967
|
+
"referencedDeclaration": 37131,
|
|
13968
13968
|
"src": "1154:1:104",
|
|
13969
13969
|
"typeDescriptions": {
|
|
13970
13970
|
"typeIdentifier": "t_uint256",
|
|
@@ -13976,7 +13976,7 @@
|
|
|
13976
13976
|
"typeString": "uint256"
|
|
13977
13977
|
}
|
|
13978
13978
|
},
|
|
13979
|
-
"id":
|
|
13979
|
+
"id": 37140,
|
|
13980
13980
|
"nodeType": "ExpressionStatement",
|
|
13981
13981
|
"src": "1152:3:104"
|
|
13982
13982
|
},
|
|
@@ -13986,7 +13986,7 @@
|
|
|
13986
13986
|
]
|
|
13987
13987
|
},
|
|
13988
13988
|
"functionSelector": "5a907818",
|
|
13989
|
-
"id":
|
|
13989
|
+
"id": 37157,
|
|
13990
13990
|
"implemented": true,
|
|
13991
13991
|
"kind": "function",
|
|
13992
13992
|
"modifiers": [],
|
|
@@ -13994,17 +13994,17 @@
|
|
|
13994
13994
|
"nameLocation": "563:10:104",
|
|
13995
13995
|
"nodeType": "FunctionDefinition",
|
|
13996
13996
|
"parameters": {
|
|
13997
|
-
"id":
|
|
13997
|
+
"id": 37077,
|
|
13998
13998
|
"nodeType": "ParameterList",
|
|
13999
13999
|
"parameters": [
|
|
14000
14000
|
{
|
|
14001
14001
|
"constant": false,
|
|
14002
|
-
"id":
|
|
14002
|
+
"id": 37067,
|
|
14003
14003
|
"mutability": "mutable",
|
|
14004
14004
|
"name": "host",
|
|
14005
14005
|
"nameLocation": "595:4:104",
|
|
14006
14006
|
"nodeType": "VariableDeclaration",
|
|
14007
|
-
"scope":
|
|
14007
|
+
"scope": 37157,
|
|
14008
14008
|
"src": "583:16:104",
|
|
14009
14009
|
"stateVariable": false,
|
|
14010
14010
|
"storageLocation": "default",
|
|
@@ -14013,10 +14013,10 @@
|
|
|
14013
14013
|
"typeString": "contract ISuperfluid"
|
|
14014
14014
|
},
|
|
14015
14015
|
"typeName": {
|
|
14016
|
-
"id":
|
|
14016
|
+
"id": 37066,
|
|
14017
14017
|
"nodeType": "UserDefinedTypeName",
|
|
14018
14018
|
"pathNode": {
|
|
14019
|
-
"id":
|
|
14019
|
+
"id": 37065,
|
|
14020
14020
|
"name": "ISuperfluid",
|
|
14021
14021
|
"nodeType": "IdentifierPath",
|
|
14022
14022
|
"referencedDeclaration": 18319,
|
|
@@ -14033,12 +14033,12 @@
|
|
|
14033
14033
|
},
|
|
14034
14034
|
{
|
|
14035
14035
|
"constant": false,
|
|
14036
|
-
"id":
|
|
14036
|
+
"id": 37069,
|
|
14037
14037
|
"mutability": "mutable",
|
|
14038
14038
|
"name": "rewardAddress",
|
|
14039
14039
|
"nameLocation": "617:13:104",
|
|
14040
14040
|
"nodeType": "VariableDeclaration",
|
|
14041
|
-
"scope":
|
|
14041
|
+
"scope": 37157,
|
|
14042
14042
|
"src": "609:21:104",
|
|
14043
14043
|
"stateVariable": false,
|
|
14044
14044
|
"storageLocation": "default",
|
|
@@ -14047,7 +14047,7 @@
|
|
|
14047
14047
|
"typeString": "address"
|
|
14048
14048
|
},
|
|
14049
14049
|
"typeName": {
|
|
14050
|
-
"id":
|
|
14050
|
+
"id": 37068,
|
|
14051
14051
|
"name": "address",
|
|
14052
14052
|
"nodeType": "ElementaryTypeName",
|
|
14053
14053
|
"src": "609:7:104",
|
|
@@ -14061,12 +14061,12 @@
|
|
|
14061
14061
|
},
|
|
14062
14062
|
{
|
|
14063
14063
|
"constant": false,
|
|
14064
|
-
"id":
|
|
14064
|
+
"id": 37071,
|
|
14065
14065
|
"mutability": "mutable",
|
|
14066
14066
|
"name": "liquidationPeriod",
|
|
14067
14067
|
"nameLocation": "648:17:104",
|
|
14068
14068
|
"nodeType": "VariableDeclaration",
|
|
14069
|
-
"scope":
|
|
14069
|
+
"scope": 37157,
|
|
14070
14070
|
"src": "640:25:104",
|
|
14071
14071
|
"stateVariable": false,
|
|
14072
14072
|
"storageLocation": "default",
|
|
@@ -14075,7 +14075,7 @@
|
|
|
14075
14075
|
"typeString": "uint256"
|
|
14076
14076
|
},
|
|
14077
14077
|
"typeName": {
|
|
14078
|
-
"id":
|
|
14078
|
+
"id": 37070,
|
|
14079
14079
|
"name": "uint256",
|
|
14080
14080
|
"nodeType": "ElementaryTypeName",
|
|
14081
14081
|
"src": "640:7:104",
|
|
@@ -14088,12 +14088,12 @@
|
|
|
14088
14088
|
},
|
|
14089
14089
|
{
|
|
14090
14090
|
"constant": false,
|
|
14091
|
-
"id":
|
|
14091
|
+
"id": 37073,
|
|
14092
14092
|
"mutability": "mutable",
|
|
14093
14093
|
"name": "patricianPeriod",
|
|
14094
14094
|
"nameLocation": "683:15:104",
|
|
14095
14095
|
"nodeType": "VariableDeclaration",
|
|
14096
|
-
"scope":
|
|
14096
|
+
"scope": 37157,
|
|
14097
14097
|
"src": "675:23:104",
|
|
14098
14098
|
"stateVariable": false,
|
|
14099
14099
|
"storageLocation": "default",
|
|
@@ -14102,7 +14102,7 @@
|
|
|
14102
14102
|
"typeString": "uint256"
|
|
14103
14103
|
},
|
|
14104
14104
|
"typeName": {
|
|
14105
|
-
"id":
|
|
14105
|
+
"id": 37072,
|
|
14106
14106
|
"name": "uint256",
|
|
14107
14107
|
"nodeType": "ElementaryTypeName",
|
|
14108
14108
|
"src": "675:7:104",
|
|
@@ -14115,12 +14115,12 @@
|
|
|
14115
14115
|
},
|
|
14116
14116
|
{
|
|
14117
14117
|
"constant": false,
|
|
14118
|
-
"id":
|
|
14118
|
+
"id": 37076,
|
|
14119
14119
|
"mutability": "mutable",
|
|
14120
14120
|
"name": "trustedForwarders",
|
|
14121
14121
|
"nameLocation": "725:17:104",
|
|
14122
14122
|
"nodeType": "VariableDeclaration",
|
|
14123
|
-
"scope":
|
|
14123
|
+
"scope": 37157,
|
|
14124
14124
|
"src": "708:34:104",
|
|
14125
14125
|
"stateVariable": false,
|
|
14126
14126
|
"storageLocation": "memory",
|
|
@@ -14130,7 +14130,7 @@
|
|
|
14130
14130
|
},
|
|
14131
14131
|
"typeName": {
|
|
14132
14132
|
"baseType": {
|
|
14133
|
-
"id":
|
|
14133
|
+
"id": 37074,
|
|
14134
14134
|
"name": "address",
|
|
14135
14135
|
"nodeType": "ElementaryTypeName",
|
|
14136
14136
|
"src": "708:7:104",
|
|
@@ -14140,7 +14140,7 @@
|
|
|
14140
14140
|
"typeString": "address"
|
|
14141
14141
|
}
|
|
14142
14142
|
},
|
|
14143
|
-
"id":
|
|
14143
|
+
"id": 37075,
|
|
14144
14144
|
"nodeType": "ArrayTypeName",
|
|
14145
14145
|
"src": "708:9:104",
|
|
14146
14146
|
"typeDescriptions": {
|
|
@@ -14154,12 +14154,12 @@
|
|
|
14154
14154
|
"src": "573:175:104"
|
|
14155
14155
|
},
|
|
14156
14156
|
"returnParameters": {
|
|
14157
|
-
"id":
|
|
14157
|
+
"id": 37078,
|
|
14158
14158
|
"nodeType": "ParameterList",
|
|
14159
14159
|
"parameters": [],
|
|
14160
14160
|
"src": "770:0:104"
|
|
14161
14161
|
},
|
|
14162
|
-
"scope":
|
|
14162
|
+
"scope": 37180,
|
|
14163
14163
|
"src": "554:715:104",
|
|
14164
14164
|
"stateMutability": "nonpayable",
|
|
14165
14165
|
"virtual": false,
|
|
@@ -14170,7 +14170,7 @@
|
|
|
14170
14170
|
15963
|
|
14171
14171
|
],
|
|
14172
14172
|
"body": {
|
|
14173
|
-
"id":
|
|
14173
|
+
"id": 37178,
|
|
14174
14174
|
"nodeType": "Block",
|
|
14175
14175
|
"src": "1356:79:104",
|
|
14176
14176
|
"statements": [
|
|
@@ -14182,17 +14182,17 @@
|
|
|
14182
14182
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
14183
14183
|
"typeString": "contract ISuperfluid"
|
|
14184
14184
|
},
|
|
14185
|
-
"id":
|
|
14185
|
+
"id": 37167,
|
|
14186
14186
|
"isConstant": false,
|
|
14187
14187
|
"isLValue": false,
|
|
14188
14188
|
"isPure": false,
|
|
14189
14189
|
"lValueRequested": false,
|
|
14190
14190
|
"leftExpression": {
|
|
14191
|
-
"id":
|
|
14191
|
+
"id": 37165,
|
|
14192
14192
|
"name": "host",
|
|
14193
14193
|
"nodeType": "Identifier",
|
|
14194
14194
|
"overloadedDeclarations": [],
|
|
14195
|
-
"referencedDeclaration":
|
|
14195
|
+
"referencedDeclaration": 37160,
|
|
14196
14196
|
"src": "1373:4:104",
|
|
14197
14197
|
"typeDescriptions": {
|
|
14198
14198
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -14202,11 +14202,11 @@
|
|
|
14202
14202
|
"nodeType": "BinaryOperation",
|
|
14203
14203
|
"operator": "==",
|
|
14204
14204
|
"rightExpression": {
|
|
14205
|
-
"id":
|
|
14205
|
+
"id": 37166,
|
|
14206
14206
|
"name": "_host",
|
|
14207
14207
|
"nodeType": "Identifier",
|
|
14208
14208
|
"overloadedDeclarations": [],
|
|
14209
|
-
"referencedDeclaration":
|
|
14209
|
+
"referencedDeclaration": 37064,
|
|
14210
14210
|
"src": "1381:5:104",
|
|
14211
14211
|
"typeDescriptions": {
|
|
14212
14212
|
"typeIdentifier": "t_contract$_ISuperfluid_$18319",
|
|
@@ -14227,7 +14227,7 @@
|
|
|
14227
14227
|
"typeString": "bool"
|
|
14228
14228
|
}
|
|
14229
14229
|
],
|
|
14230
|
-
"id":
|
|
14230
|
+
"id": 37164,
|
|
14231
14231
|
"name": "assert",
|
|
14232
14232
|
"nodeType": "Identifier",
|
|
14233
14233
|
"overloadedDeclarations": [],
|
|
@@ -14238,7 +14238,7 @@
|
|
|
14238
14238
|
"typeString": "function (bool) pure"
|
|
14239
14239
|
}
|
|
14240
14240
|
},
|
|
14241
|
-
"id":
|
|
14241
|
+
"id": 37168,
|
|
14242
14242
|
"isConstant": false,
|
|
14243
14243
|
"isLValue": false,
|
|
14244
14244
|
"isPure": false,
|
|
@@ -14253,7 +14253,7 @@
|
|
|
14253
14253
|
"typeString": "tuple()"
|
|
14254
14254
|
}
|
|
14255
14255
|
},
|
|
14256
|
-
"id":
|
|
14256
|
+
"id": 37169,
|
|
14257
14257
|
"nodeType": "ExpressionStatement",
|
|
14258
14258
|
"src": "1366:21:104"
|
|
14259
14259
|
},
|
|
@@ -14265,7 +14265,7 @@
|
|
|
14265
14265
|
"typeIdentifier": "t_address",
|
|
14266
14266
|
"typeString": "address"
|
|
14267
14267
|
},
|
|
14268
|
-
"id":
|
|
14268
|
+
"id": 37175,
|
|
14269
14269
|
"isConstant": false,
|
|
14270
14270
|
"isLValue": false,
|
|
14271
14271
|
"isPure": false,
|
|
@@ -14274,7 +14274,7 @@
|
|
|
14274
14274
|
"arguments": [],
|
|
14275
14275
|
"expression": {
|
|
14276
14276
|
"argumentTypes": [],
|
|
14277
|
-
"id":
|
|
14277
|
+
"id": 37171,
|
|
14278
14278
|
"name": "owner",
|
|
14279
14279
|
"nodeType": "Identifier",
|
|
14280
14280
|
"overloadedDeclarations": [],
|
|
@@ -14285,7 +14285,7 @@
|
|
|
14285
14285
|
"typeString": "function () view returns (address)"
|
|
14286
14286
|
}
|
|
14287
14287
|
},
|
|
14288
|
-
"id":
|
|
14288
|
+
"id": 37172,
|
|
14289
14289
|
"isConstant": false,
|
|
14290
14290
|
"isLValue": false,
|
|
14291
14291
|
"isPure": false,
|
|
@@ -14306,7 +14306,7 @@
|
|
|
14306
14306
|
"arguments": [],
|
|
14307
14307
|
"expression": {
|
|
14308
14308
|
"argumentTypes": [],
|
|
14309
|
-
"id":
|
|
14309
|
+
"id": 37173,
|
|
14310
14310
|
"name": "_msgSender",
|
|
14311
14311
|
"nodeType": "Identifier",
|
|
14312
14312
|
"overloadedDeclarations": [],
|
|
@@ -14317,7 +14317,7 @@
|
|
|
14317
14317
|
"typeString": "function () view returns (address)"
|
|
14318
14318
|
}
|
|
14319
14319
|
},
|
|
14320
|
-
"id":
|
|
14320
|
+
"id": 37174,
|
|
14321
14321
|
"isConstant": false,
|
|
14322
14322
|
"isLValue": false,
|
|
14323
14323
|
"isPure": false,
|
|
@@ -14346,7 +14346,7 @@
|
|
|
14346
14346
|
"typeString": "bool"
|
|
14347
14347
|
}
|
|
14348
14348
|
],
|
|
14349
|
-
"id":
|
|
14349
|
+
"id": 37170,
|
|
14350
14350
|
"name": "assert",
|
|
14351
14351
|
"nodeType": "Identifier",
|
|
14352
14352
|
"overloadedDeclarations": [],
|
|
@@ -14357,7 +14357,7 @@
|
|
|
14357
14357
|
"typeString": "function (bool) pure"
|
|
14358
14358
|
}
|
|
14359
14359
|
},
|
|
14360
|
-
"id":
|
|
14360
|
+
"id": 37176,
|
|
14361
14361
|
"isConstant": false,
|
|
14362
14362
|
"isLValue": false,
|
|
14363
14363
|
"isPure": false,
|
|
@@ -14372,13 +14372,13 @@
|
|
|
14372
14372
|
"typeString": "tuple()"
|
|
14373
14373
|
}
|
|
14374
14374
|
},
|
|
14375
|
-
"id":
|
|
14375
|
+
"id": 37177,
|
|
14376
14376
|
"nodeType": "ExpressionStatement",
|
|
14377
14377
|
"src": "1397:31:104"
|
|
14378
14378
|
}
|
|
14379
14379
|
]
|
|
14380
14380
|
},
|
|
14381
|
-
"id":
|
|
14381
|
+
"id": 37179,
|
|
14382
14382
|
"implemented": true,
|
|
14383
14383
|
"kind": "function",
|
|
14384
14384
|
"modifiers": [],
|
|
@@ -14386,23 +14386,23 @@
|
|
|
14386
14386
|
"nameLocation": "1284:18:104",
|
|
14387
14387
|
"nodeType": "FunctionDefinition",
|
|
14388
14388
|
"overrides": {
|
|
14389
|
-
"id":
|
|
14389
|
+
"id": 37162,
|
|
14390
14390
|
"nodeType": "OverrideSpecifier",
|
|
14391
14391
|
"overrides": [],
|
|
14392
14392
|
"src": "1343:8:104"
|
|
14393
14393
|
},
|
|
14394
14394
|
"parameters": {
|
|
14395
|
-
"id":
|
|
14395
|
+
"id": 37161,
|
|
14396
14396
|
"nodeType": "ParameterList",
|
|
14397
14397
|
"parameters": [
|
|
14398
14398
|
{
|
|
14399
14399
|
"constant": false,
|
|
14400
|
-
"id":
|
|
14400
|
+
"id": 37160,
|
|
14401
14401
|
"mutability": "mutable",
|
|
14402
14402
|
"name": "host",
|
|
14403
14403
|
"nameLocation": "1315:4:104",
|
|
14404
14404
|
"nodeType": "VariableDeclaration",
|
|
14405
|
-
"scope":
|
|
14405
|
+
"scope": 37179,
|
|
14406
14406
|
"src": "1303:16:104",
|
|
14407
14407
|
"stateVariable": false,
|
|
14408
14408
|
"storageLocation": "default",
|
|
@@ -14411,10 +14411,10 @@
|
|
|
14411
14411
|
"typeString": "contract ISuperfluid"
|
|
14412
14412
|
},
|
|
14413
14413
|
"typeName": {
|
|
14414
|
-
"id":
|
|
14414
|
+
"id": 37159,
|
|
14415
14415
|
"nodeType": "UserDefinedTypeName",
|
|
14416
14416
|
"pathNode": {
|
|
14417
|
-
"id":
|
|
14417
|
+
"id": 37158,
|
|
14418
14418
|
"name": "ISuperfluid",
|
|
14419
14419
|
"nodeType": "IdentifierPath",
|
|
14420
14420
|
"referencedDeclaration": 18319,
|
|
@@ -14433,19 +14433,19 @@
|
|
|
14433
14433
|
"src": "1302:18:104"
|
|
14434
14434
|
},
|
|
14435
14435
|
"returnParameters": {
|
|
14436
|
-
"id":
|
|
14436
|
+
"id": 37163,
|
|
14437
14437
|
"nodeType": "ParameterList",
|
|
14438
14438
|
"parameters": [],
|
|
14439
14439
|
"src": "1356:0:104"
|
|
14440
14440
|
},
|
|
14441
|
-
"scope":
|
|
14441
|
+
"scope": 37180,
|
|
14442
14442
|
"src": "1275:160:104",
|
|
14443
14443
|
"stateMutability": "view",
|
|
14444
14444
|
"virtual": false,
|
|
14445
14445
|
"visibility": "internal"
|
|
14446
14446
|
}
|
|
14447
14447
|
],
|
|
14448
|
-
"scope":
|
|
14448
|
+
"scope": 37181,
|
|
14449
14449
|
"src": "447:990:104",
|
|
14450
14450
|
"usedErrors": []
|
|
14451
14451
|
}
|
|
@@ -14458,7 +14458,7 @@
|
|
|
14458
14458
|
},
|
|
14459
14459
|
"networks": {},
|
|
14460
14460
|
"schemaVersion": "3.4.7",
|
|
14461
|
-
"updatedAt": "2022-05-
|
|
14461
|
+
"updatedAt": "2022-05-19T15:01:21.698Z",
|
|
14462
14462
|
"devdoc": {
|
|
14463
14463
|
"author": "Superfluid ",
|
|
14464
14464
|
"details": "A initializable version of the governance for testing purpose",
|