Skip to main content

getOrDeployDictionaryUpgradeableEtherscan

Signatureโ€‹

function getOrDeployDictionaryUpgradeableEtherscan() public returns(address);

Descriptionโ€‹

This function combines the features of upgradeability and Etherscan verification. It checks for an existing upgradeable dictionary contract that is also Etherscan-verifiable. If not found, it deploys a new one, providing the benefits of both upgradeability and Etherscan-verifiability.

Exampleโ€‹

address dictionary = getOrDeployDictionaryUpgradeableEtherscan();