UNPKG

@hyperlane-xyz/core

Version:

Core solidity contracts for Hyperlane

22 lines (16 loc) 540 B
import { DeployFunction } from 'hardhat-deploy/dist/types' import { assertContractVariable, deploy } from '../src/deploy-utils' const deployFn: DeployFunction = async (hre) => { const { deployer } = await hre.getNamedAccounts() await deploy({ hre, name: 'SystemDictatorProxy', contract: 'Proxy', args: [deployer], postDeployAction: async (contract) => { await assertContractVariable(contract, 'admin', deployer) }, }) } deployFn.tags = ['SystemDictatorProxy', 'setup', 'l1'] export default deployFn