Skip to main content

getOrDeployProxyEtherscan

Signatureโ€‹

function getOrDeployProxyEtherscan() public returns(address proxyEtherscan);

Descriptionโ€‹

Similar to getOrDeployProxy, but with an additional feature of ensuring the deployed proxy contract is suitable for verification on Etherscan. If an existing proxy is found, its address is returned; otherwise, a new Etherscan-verifiable proxy is deployed.

Exampleโ€‹

address proxy = getOrDeployProxyEtherscan();