import { HardhatRuntimeEnvironment } from 'hardhat/types' ; import { DeployFunction } from 'hardhat-deploy/types' ; const func = async function ( hre ) { const { deployments , getNamedAccounts } = hre ; const { diamond } = deployments ; const namedAccounts = await getNamedAccounts ( ) ; await diamond . deploy ( 'DiamondCyberDestinationUtilityFactory' , { from : namedAccounts . deployer , owner : namedAccounts . deployer , facets : [ 'CyberDestinationUtilityFactoryFacet' ] , execute : { methodName : 'initialize' , args : [ 'ipfs://' , namedAccounts . managerDestinationUtility , namedAccounts . biconomyForwarder , namedAccounts . opensea , namedAccounts . oncyber , ] , } , log : true , } ) ; } ; export default func ; func . tags = [ 'DiamondCyberDestinationUtilityFactory' ] ;