import { ContractManager , Punisher } from "../../../../typechain" ; import { deployFunctionFactory } from "../factory" ; import { deployDelegationController } from "./delegationController" ; import { deployValidatorService } from "./validatorService" ; const deployPunisher = deployFunctionFactory ( "Punisher" , async ( contractManager ) => { await deployDelegationController ( contractManager ) ; await deployValidatorService ( contractManager ) ; } ) ; export { deployPunisher } ;