001-Lib_AddressManager.deploy.ts 595 Bytes
Newer Older
1
/* Imports: Internal */
2
import { names } from '../src/address-names'
3

4 5 6 7 8 9 10
/* Imports: External */
import { DeployFunction } from 'hardhat-deploy/dist/types'

const deployFn: DeployFunction = async (hre) => {
  const { deploy } = hre.deployments
  const { deployer } = await hre.getNamedAccounts()

11
  await deploy(names.unmanaged.Lib_AddressManager, {
12 13 14
    from: deployer,
    args: [],
    log: true,
15
    waitConfirmations: (hre as any).deployConfig.numDeployConfirmations,
16 17 18
  })
}

19
// This is kept during an upgrade. So no upgrade tag.
20
deployFn.tags = ['Lib_AddressManager']
21 22

export default deployFn