UNPKG

@safe-global/safe-contracts

Version:
47 lines (39 loc) 1.16 kB
import { DeployFunction } from "hardhat-deploy/types"; import { HardhatRuntimeEnvironment } from "hardhat/types"; const deploy: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { const { deployments, hardhatArguments, getNamedAccounts } = hre; const { deployer } = await getNamedAccounts(); const { deploy } = deployments; await deploy("CreateCall", { from: deployer, args: [], log: true, deterministicDeployment: true, }); await deploy("MultiSend", { from: deployer, args: [], log: true, deterministicDeployment: true, }); await deploy("MultiSendCallOnly", { from: deployer, args: [], log: true, deterministicDeployment: true, }); await deploy("SignMessageLib", { from: deployer, args: [], log: true, deterministicDeployment: true, }); await deploy("SafeToL2Setup", { from: deployer, args: [], log: true, deterministicDeployment: true, }); }; deploy.tags = ["libraries", "l2-suite", "main-suite"]; export default deploy;