The parent / child model of the smart contract makes it possible to update the smart contract without compromising the invariance of the underlying data.The first step is to deploy a parent smart contract (client contract) that contains any other contract that may be called using contract address.Next, whenever a new child smart contract (service contract) is deployed, the parent smart contract is updated with the address of the new child smart contract, allowing the parent smart contract to call the child smart contract.The child smart contract structure is recognized by the parent smart contract.For example, the number of inputs entered into the child smart contract and the number of output output from the child smart contract are recognized in the parent smart contract before the deployment of the parent smart contract Transaction data continues to be accessible without affecting the parent contract.Fig.2a
展开▼