getOrDeployProxy
Signatureโ
function getOrDeployProxy() public returns(address);
Descriptionโ
This function checks the current deployment environment for an existing proxy contract. If one is found, it returns the address of the existing proxy. If no proxy exists, it deploys a new proxy contract and returns its address.
Exampleโ
address proxy = getOrDeployProxy();