W&G Law Group
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.
HANGZHOU QULIAN TECHNOLOGY CO., LTD.
G G G G G G G G G H H G
G06Q G06F G06F G06Q G06F G06Q G06Q G06F G06Q H04L H04L G06F
inventional inventional inventional inventional inventional additional inventional inventional inventional inventional inventional additional
Keting Jialei Weiwei Wei Qilei Zhiqiang
Yin Rong Qiu Li Li Wu