001-Lib_AddressManager.deploy.ts 587 Bytes
Newer Older
1
/* Imports: Internal */
2 3
import { DeployFunction } from 'hardhat-deploy/dist/types'

4
import { names } from '../src/address-names'
5

6 7 8 9 10 11
/* Imports: External */

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

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

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

export default deployFn