With regular non-upgradeable contracts, the generated Typescript files from Typechain can be used to directly deploy a contract through the ContractFactory using its
However, when using an upgradeable contract, the files generated from TyepChain doesn't have
upgradeProxy. I have to go back to the
upgrades module from the hardhat-upgrades plugin to deploy through hardhat.
Is there a way to deploy/upgrade an upgradeable contract and its proxy through TypeChain so that the whole process can be done in Typescript?