message: Export an existing contract constructor
diff: @@ -92,7 +92,13 @@ export function codegenContractFactory(contract: Contract, abi: any, bytecode?:
  import { Provider, TransactionRequest } from '@ethersproject/providers';
  import { Contract, ContractFactory, Overrides } from "@ethersproject/contracts";
  - import { ${contract.name} } from "./${contract.name}";
  + import { ${contract.name} as _${contract.name} } from "./${contract.name}";
  +
  + export class ${contract.name} extends _${contract.name} {
  + constructor(addressOrName: string, signerOrProvider?: Signer | Provider | undefined) {
  + super(addressOrName, _abi, signerOrProvider);
  + }
  + }
  export class ${contract.name}Factory extends ContractFactory {
  ${generateFactoryConstructor(contract, bytecode)}
  