import { ContractManager , TokenState } from "../../../../typechain" ; import { deployFunctionFactory } from "../factory" ; import { deployDelegationController } from "./delegationController" ; import { deployPunisher } from "./punisher" ; import { deployTimeHelpers } from "./timeHelpers" ; const name = "TokenState" ; async function deployDependencies ( contractManager ) { await deployDelegationController ( contractManager ) ; await deployPunisher ( contractManager ) ; await deployTimeHelpers ( contractManager ) ; } export const deployTokenState = deployFunctionFactory ( name , deployDependencies ) ;