upgradeable contract 하드햇, 오픈제플린 라이브러리 분석 2
이어서 분석해보자 return async function upgradeProxy(proxy, ImplFactory, opts: UpgradeProxyOptions = {}) { disableDefender(hre, defenderModule, opts, upgradeProxy.name); const proxyAddress = await getContractAddress(proxy); const { impl: nextImpl } = await deployProxyImpl(hre, ImplFactory, opts, proxyAddress); // upgrade kind is inferred above const upgradeTo = await getUpgrader(proxyAddress, opts, getS..
2024. 1. 21.