UNPKG

@gooddollar/goodcontracts

Version:
2 lines (1 loc) 24.6 kB
{"contractName":"UpgradeScheme","abi":[{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"parameters","outputs":[{"name":"voteParams","type":"bytes32"},{"name":"intVote","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"bytes32"}],"name":"organizationsProposals","outputs":[{"name":"upgradeContract","type":"address"},{"name":"params","type":"bytes32"},{"name":"proposalType","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"bytes32"}],"name":"proposalsInfo","outputs":[{"name":"blockNumber","type":"uint256"},{"name":"avatar","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_stakingToken","type":"address"},{"name":"_proposalId","type":"bytes32"}],"name":"balanceOfStakingToken","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_proposalId","type":"bytes32"}],"name":"reputationOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_proposalId","type":"bytes32"}],"name":"getTotalReputationSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_stakingToken","type":"address"},{"name":"_beneficiary","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_proposalId","type":"bytes32"}],"name":"stakingTokenTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"},{"name":"_beneficiary","type":"address"},{"name":"_proposalId","type":"bytes32"}],"name":"mintReputation","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"},{"name":"_beneficiary","type":"address"},{"name":"_proposalId","type":"bytes32"}],"name":"burnReputation","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newController","type":"address"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"NewUpgradeProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newUpgradeScheme","type":"address"},{"indexed":false,"name":"_params","type":"bytes32"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"ChangeUpgradeSchemeProposal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":false,"name":"_param","type":"int256"}],"name":"ProposalExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"}],"name":"ProposalDeleted","type":"event"},{"constant":false,"inputs":[{"name":"_proposalId","type":"bytes32"},{"name":"_param","type":"int256"}],"name":"executeProposal","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_voteParams","type":"bytes32"},{"name":"_intVote","type":"address"}],"name":"setParameters","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_voteParams","type":"bytes32"},{"name":"_intVote","type":"address"}],"name":"getParametersHash","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_avatar","type":"address"},{"name":"_newController","type":"address"},{"name":"_descriptionHash","type":"string"}],"name":"proposeUpgrade","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_avatar","type":"address"},{"name":"_scheme","type":"address"},{"name":"_params","type":"bytes32"},{"name":"_descriptionHash","type":"string"}],"name":"proposeChangeUpgradingScheme","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"}],"metadata":"{\"compiler\":{\"version\":\"0.5.4+commit.9549d8ff\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"parameters\",\"outputs\":[{\"name\":\"voteParams\",\"type\":\"bytes32\"},{\"name\":\"intVote\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"organizationsProposals\",\"outputs\":[{\"name\":\"upgradeContract\",\"type\":\"address\"},{\"name\":\"params\",\"type\":\"bytes32\"},{\"name\":\"proposalType\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_voteParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"getParametersHash\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"proposalsInfo\",\"outputs\":[{\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"name\":\"avatar\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_voteParams\",\"type\":\"bytes32\"},{\"name\":\"_intVote\",\"type\":\"address\"}],\"name\":\"setParameters\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_stakingToken\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"balanceOfStakingToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_newController\",\"type\":\"address\"},{\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeUpgrade\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"reputationOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"executeProposal\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"getTotalReputationSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_stakingToken\",\"type\":\"address\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"stakingTokenTransfer\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"mintReputation\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_avatar\",\"type\":\"address\"},{\"name\":\"_scheme\",\"type\":\"address\"},{\"name\":\"_params\",\"type\":\"bytes32\"},{\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"proposeChangeUpgradingScheme\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_amount\",\"type\":\"uint256\"},{\"name\":\"_beneficiary\",\"type\":\"address\"},{\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"burnReputation\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_intVoteInterface\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_newController\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"NewUpgradeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":true,\"name\":\"_intVoteInterface\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_newUpgradeScheme\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_params\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_descriptionHash\",\"type\":\"string\"}],\"name\":\"ChangeUpgradeSchemeProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":false,\"name\":\"_param\",\"type\":\"int256\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_avatar\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"ProposalDeleted\",\"type\":\"event\"}],\"devdoc\":{\"details\":\"The scheme is used to upgrade the controller of an organization to a new controller.\",\"methods\":{\"executeProposal(bytes32,int256)\":{\"details\":\"execution of proposals, can only be called by the voting machine in which the vote is held.\",\"params\":{\"_param\":\"a parameter of the voting result, 1 yes and 2 is no.\",\"_proposalId\":\"the ID of the voting in the voting machine\"}},\"getParametersHash(bytes32,address)\":{\"details\":\"return a hash of the given parameters\"},\"proposeChangeUpgradingScheme(address,address,bytes32,string)\":{\"details\":\"propose to replace this scheme by another upgrading scheme\",\"params\":{\"_avatar\":\"avatar of the organization\",\"_descriptionHash\":\"proposal description hash\",\"_params\":\"the parameters of the new upgrading scheme\",\"_scheme\":\"address of the new upgrading scheme\"},\"return\":\"an id which represents the proposal\"},\"proposeUpgrade(address,address,string)\":{\"details\":\"propose an upgrade of the organization's controller\",\"params\":{\"_avatar\":\"avatar of the organization\",\"_descriptionHash\":\"proposal description hash\",\"_newController\":\"address of the new controller that is being proposed\"},\"return\":\"an id which represents the proposal\"},\"setParameters(bytes32,address)\":{\"details\":\"hash the parameters, save them if necessary, and return the hash value\"}},\"title\":\"A scheme to manage the upgrade of an organization.\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol\":\"UpgradeScheme\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@daostack/arc/contracts/controller/Avatar.sol\":{\"keccak256\":\"0x4e4fb9d3bc21f42fbfc6a01e9f8aa483a59e9f447b0d604f55b587a81ec09ef4\",\"urls\":[\"bzzr://b0af60e651a75274a028dc4b53d06091a46ca0efa3bfb4153879e76cf86a49dc\"]},\"@daostack/arc/contracts/controller/ControllerInterface.sol\":{\"keccak256\":\"0x933e92612c90f292c7b59908958b003f1a13d90b97bed0572b566353c20974dc\",\"urls\":[\"bzzr://e8050774c20b9b22636b47cdd353eaf5df72e0bca8f2b8569365be30f4eaef0c\"]},\"@daostack/arc/contracts/controller/DAOToken.sol\":{\"keccak256\":\"0x9b213e4e3ceeffcfc1c962a43b70b8d763d8091a2dd713fc1989b97bb68786e6\",\"urls\":[\"bzzr://7ba306fdbad344e01474e3ae9c37b27b64efdc1cb17ffc0f3ec1c4427fde359d\"]},\"@daostack/arc/contracts/globalConstraints/GlobalConstraintInterface.sol\":{\"keccak256\":\"0xc006c4591ec10b845a56e13f6791db2c428610953034686d52b2a934b6c8f36f\",\"urls\":[\"bzzr://d1f293a0bbaa292296a83977cb36a14048db404a32e3f6aa9bd79ea61ac3c4c3\"]},\"@daostack/arc/contracts/libs/SafeERC20.sol\":{\"keccak256\":\"0xf6727d432f67046145b078f40c1cc4f6be7b0d12a6678ecaf457edf7550d244c\",\"urls\":[\"bzzr://cd706a2dc7540d093b591a280b464256c596ddad598b68886e6db2e7958f9916\"]},\"@daostack/arc/contracts/universalSchemes/UniversalScheme.sol\":{\"keccak256\":\"0xcfdb7d336d21b3b16a31125d3bd8c88f7c4c944510f4488162247badb6411017\",\"urls\":[\"bzzr://6cd99ec0b19ae06f7845a3ca56d2dc43ec122cfa809969248e6742e0c56076ca\"]},\"@daostack/arc/contracts/universalSchemes/UniversalSchemeInterface.sol\":{\"keccak256\":\"0x956b0dbe20b6aeea74565a9204f72fba1580874d27cd63955f93e9491cabb6b1\",\"urls\":[\"bzzr://29eac5d525cc39129df30c5b8deada4350d40c5261a85ce0b29c12fe80b10b15\"]},\"@daostack/arc/contracts/universalSchemes/UpgradeScheme.sol\":{\"keccak256\":\"0xf1b96fe311f836e717959900926f7e3d7b55bf92d46e459bb8e021a9912156e8\",\"urls\":[\"bzzr://a38fa437eae408db640573db44948b00b3308a3831176caccf9a42ae909b2c41\"]},\"@daostack/arc/contracts/votingMachines/VotingMachineCallbacks.sol\":{\"keccak256\":\"0x4052c6f57add891f5f6514a7837f54955ac1f3ad4654fa45d864e4aad19864ba\",\"urls\":[\"bzzr://b013e9ee810bf43f6de254cc61dceb59a9cf102d795d4abc527c2989ff5df568\"]},\"@daostack/infra/contracts/Reputation.sol\":{\"keccak256\":\"0x3d226dac0fe7d758f0287fb28bc25fcec1f69d19888ae3a550fa49856d61c482\",\"urls\":[\"bzzr://7f219e1874d4f1aea860cc665b75015797f55f149e9bf490abab5d7ad2adfeb9\"]},\"@daostack/infra/contracts/libs/RealMath.sol\":{\"keccak256\":\"0x3ee79c4b483da327916ac36f9d5cc6a1f2f0363db3ad06793ec67f46e1f653db\",\"urls\":[\"bzzr://548cdb33afa45d2d4bfb0ed3f557257f77c7d9ae142326d04584e20d00c153d3\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocol.sol\":{\"keccak256\":\"0x0321da6019e0e1a7fc4e1ca484d7d5d376805abb17f9eb9c46a6731e9dfe58dc\",\"urls\":[\"bzzr://4cf93479ffb97b0f90d2974a0404136bfda093edb9e4b6dd3d9737a29202ee63\"]},\"@daostack/infra/contracts/votingMachines/GenesisProtocolLogic.sol\":{\"keccak256\":\"0x2bf5fba64fbda5605b9250ea8ca6d8e28dab41fb0e2b43c9145b91e1d0425eef\",\"urls\":[\"bzzr://bf7d5bb906c1f0f627d028214b0d8d2cbf0f766ead5d7b27f116b834255ffa76\"]},\"@daostack/infra/contracts/votingMachines/IntVoteInterface.sol\":{\"keccak256\":\"0x877991da94b1fe9c2accf69367b32fff474c4e4f7897e9cf5a61fa5d1378908f\",\"urls\":[\"bzzr://a7bb7b3a39a1553cb39378801976c8b192b801f9627098385eca24e62440826b\"]},\"@daostack/infra/contracts/votingMachines/ProposalExecuteInterface.sol\":{\"keccak256\":\"0xb80a153793e1723b35e70ba1c3800975fbc1fae63c989cfb8134a4e58085e181\",\"urls\":[\"bzzr://e5ff7e9f77e596fff366bb31326a7d2ca82d0fdeed1d612c09589eb9fb69d9bf\"]},\"@daostack/infra/contracts/votingMachines/VotingMachineCallbacksInterface.sol\":{\"keccak256\":\"0xec215d305f0aa5a5193b6f0302a1aa6bb84e85460167f80b261faf9d30564563\",\"urls\":[\"bzzr://baae21ef9ee3e315191aece7767d3a9ab62810aff5063ad144cb2120eebdabf0\"]},\"openzeppelin-solidity/contracts/cryptography/ECDSA.sol\":{\"keccak256\":\"0xb48974d92a87053dc1d6c5389f3d1b2ad522dec23afcb508eaa935d98dfdc0b6\",\"urls\":[\"bzzr://e665a84309432c27a26e622665dd97ff29d4d6ad7ad655d6e2c50226a5e99b56\"]},\"openzeppelin-solidity/contracts/math/Math.sol\":{\"keccak256\":\"0x37605dd0606b349cfb1b679892e1bb0ef4ddc16dedb06e229cc4402610a7a848\",\"urls\":[\"bzzr://c2253b0f57a80ee1ab7d90192aec144310e9c9a420d2ca2fcfd5999ae66e8f33\"]},\"openzeppelin-solidity/contracts/math/SafeMath.sol\":{\"keccak256\":\"0x965012d27b4262d7a41f5028cbb30c51ebd9ecd4be8fb30380aaa7a3c64fbc8b\",\"urls\":[\"bzzr://41ca38f6b0fa4b77b0feec43e422cfbec48b7eb38a41edf0b85c77e8d9a296b1\"]},\"openzeppelin-solidity/contracts/ownership/Ownable.sol\":{\"keccak256\":\"0x980de387a1a020a498f53d00f89fecebb12c949a17e8f160093c0303ede2b786\",\"urls\":[\"bzzr://08894efa2a557982070beda6a81a032407e70532d24bdafe80d39660c74904d9\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xba431353cb4fe70777ac026231eb5468e41aa1e81240a2b8136917acc5fff4dc\",\"urls\":[\"bzzr://80cd02a56e6e33504318124d0d645c82e615cc8a4b5829cc9d82d17635c644c8\"]},\"openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol\":{\"keccak256\":\"0xa3e68fd7f987c8fbdaf4867d428a69a15f3cf2f69709a5b0a0fbef750b0e6fbc\",\"urls\":[\"bzzr://f4ebb7c5b9e429b98b07e2caca6156c13c3724e9b1191cca8423ab8427bc6265\"]},\"openzeppelin-solidity/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x079c4e23ee448f529e43bfa3c4e8fb4be52cd0318ee923a276835bedf45b93d8\",\"urls\":[\"bzzr://48248e86f64407a95f241d6c5c8cfea6b4d4ebf4ebb467e5c98c8af3868fafe4\"]},\"openzeppelin-solidity/contracts/utils/Address.sol\":{\"keccak256\":\"0x5c731061b804fa256fc8c05150eafe5d20b6bb94541a8f187912bf84f7033f34\",\"urls\":[\"bzzr://63fc4af0d7a99a770925b96a6cf48f25fc00d30274266f82db05f30baa238267\"]}},\"version\":1}","sourceMap":"429:6726:51:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;429:6726:51;;;;;;;","compiler":{"name":"solc","version":"0.5.4+commit.9549d8ff.Emscripten.clang"},"networks":{"3":{"events":{"0x5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newController","type":"address"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"NewUpgradeProposal","type":"event"},"0x54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b8":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newUpgradeScheme","type":"address"},{"indexed":false,"name":"_params","type":"bytes32"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"ChangeUpgradeSchemeProposal","type":"event"},"0xd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":false,"name":"_param","type":"int256"}],"name":"ProposalExecuted","type":"event"},"0x6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"}],"name":"ProposalDeleted","type":"event"}},"links":{},"address":"0xbd879865b649B7605c27cAa6A54e0f6B9Efb74b2","transactionHash":"0x0580fd2d28897a91baec77cde2211df4f6fcb639d65b94c04cea4fe811db9522"},"122":{"events":{"0x5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newController","type":"address"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"NewUpgradeProposal","type":"event"},"0x54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b8":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newUpgradeScheme","type":"address"},{"indexed":false,"name":"_params","type":"bytes32"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"ChangeUpgradeSchemeProposal","type":"event"},"0xd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":false,"name":"_param","type":"int256"}],"name":"ProposalExecuted","type":"event"},"0x6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"}],"name":"ProposalDeleted","type":"event"}},"links":{},"address":"0xfC9F6F5E3ff7BAAB3fEf82e66f56917D625ba38B","transactionHash":"0xb8fb7d674cb7c92798d55408cbd3caa185f8b145cfbfaf5f6bf4100997dea51b"},"4447":{"events":{"0x5378fb6111ece3f1032a0e9b60cb0caa886ec384da4300631570473ae5a4fbc0":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newController","type":"address"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"NewUpgradeProposal","type":"event"},"0x54db9b1773952b7528e7872ab8f8411827fe4d14f722aecf6dc0f0fd59de99b8":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":true,"name":"_intVoteInterface","type":"address"},{"indexed":false,"name":"_newUpgradeScheme","type":"address"},{"indexed":false,"name":"_params","type":"bytes32"},{"indexed":false,"name":"_descriptionHash","type":"string"}],"name":"ChangeUpgradeSchemeProposal","type":"event"},"0xd2632e80f5364f02aded1c64e8a04637b7c8bb9c2db2bedf4b6ac47c013acbc0":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"},{"indexed":false,"name":"_param","type":"int256"}],"name":"ProposalExecuted","type":"event"},"0x6bc0cb9e9967b59a69ace442598e1df4368d38661bd5c0800fbcbc9fe855fbbe":{"anonymous":false,"inputs":[{"indexed":true,"name":"_avatar","type":"address"},{"indexed":true,"name":"_proposalId","type":"bytes32"}],"name":"ProposalDeleted","type":"event"}},"links":{},"address":"0xB0C055dF8A9cBB573e1fAaCc779c935CC9d13b97","transactionHash":"0x7af4e4deb7dbaa3c7d30563c744ca66e55e9949c86222cc6d74628bd2bdb8c98"}},"schemaVersion":"3.2.3","updatedAt":"2021-01-27T19:47:38.035Z","networkType":"ethereum","devdoc":{"details":"The scheme is used to upgrade the controller of an organization to a new controller.","methods":{"executeProposal(bytes32,int256)":{"details":"execution of proposals, can only be called by the voting machine in which the vote is held.","params":{"_param":"a parameter of the voting result, 1 yes and 2 is no.","_proposalId":"the ID of the voting in the voting machine"}},"getParametersHash(bytes32,address)":{"details":"return a hash of the given parameters"},"proposeChangeUpgradingScheme(address,address,bytes32,string)":{"details":"propose to replace this scheme by another upgrading scheme","params":{"_avatar":"avatar of the organization","_descriptionHash":"proposal description hash","_params":"the parameters of the new upgrading scheme","_scheme":"address of the new upgrading scheme"},"return":"an id which represents the proposal"},"proposeUpgrade(address,address,string)":{"details":"propose an upgrade of the organization's controller","params":{"_avatar":"avatar of the organization","_descriptionHash":"proposal description hash","_newController":"address of the new controller that is being proposed"},"return":"an id which represents the proposal"},"setParameters(bytes32,address)":{"details":"hash the parameters, save them if necessary, and return the hash value"}},"title":"A scheme to manage the upgrade of an organization."}}