首页>
外国专利>
Permission-controlled smart contract upgrade method based on smart contract
Permission-controlled smart contract upgrade method based on smart contract
展开▼
机译:基于智能合约的权限控制智能合约升级方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present disclosure provides a permission-controlled smart contract upgrade method based on a smart contract. The method first deploys a contract upgrade smart contract, and then deploys a smart contract to be upgraded including information of contract participants and information of a required minimum number of agreements on passing a proposal related to the contract. Then any of the blockchain nodes receives a contract upgrade proposal submitted by a user to the contract upgrade smart contract, the contract upgrade proposal carrying an address of the smart contract to be upgraded and binary information of a new contract. After the contract upgrade smart contract determines to pass the proposal, a proposing event is generated and then is forwarded to each user client participating in the contract. After the client receives the proposing event, the client receives user's vote and feeds it back to the contract upgrade smart contract. If the number of agreements exceeds the required minimum number of agreements, the proposal is passed and employed, and a binary replacement is performed to complete upgrade of the smart contract. The present disclosure solves a problem of centralization of the traditional contract upgrade, solves a problem of single point of failure, and improves a security of contract upgrade.
展开▼