import { HardhatRuntimeEnvironment } from "hardhat/types" ; import { DeployFunction } from "hardhat-deploy/types" ; const func = async function ( hre ) { const { deployments , getNamedAccounts , getChainId } = hre ; const { deploy , get , execute , getOrNull } = deployments ; const { deployer } = await getNamedAccounts ( ) ; await deploy ( "SDL" , { from : deployer , log : true , skipIfAlreadyDeployed : true , args : [ deployer , 7890000 , ( await get ( "Vesting" ) ) . address , ] , } ) ; } ; export default func ; func . tags = [ "SDL" ] ;