{"p":"can-20","op":"mint","tick":"can","amt":"1000","rows":[{"df":"qa","content":[{"q":"How do permission settings for upgrading smart contracts in blockchain affect the migration process of the contracts?","a":"The permission settings for upgrading smart contracts in blockchain will affect the migration process of the contracts. This is because once a smart contract is deployed in an environment of immutable blockchain, it cannot be directly modified. To solve this problem, a proxy pattern is adopted to implement contract upgrading. In the proxy pattern, there are three types of proxies: transparent proxy, UUPS proxy, and Beacon proxy. The permission settings are mainly reflected in the proxy contract, which decides who can upgrade the contract.↵↵Under the transparent proxy mode, the upgrade function is implemented in the proxy contract. The administrator role of the proxy contract is granted direct permissions to operate the proxy contract, enabling the update of the logical implementation address corresponding to the proxy. In this mode,"}]}],"pr":"e12830f9af95160cd4a6f3cc24aa86587a389262252a4791f33a1c63b724783e"}