2023-03-29 06:28:09 +00:00
|
|
|
import { HardhatRuntimeEnvironment } from "hardhat/types";
|
|
|
|
import { DeployFunction } from "hardhat-deploy/types";
|
|
|
|
|
|
|
|
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
|
|
|
|
const { deployments, getUnnamedAccounts } = hre;
|
|
|
|
const { deploy } = deployments;
|
|
|
|
|
|
|
|
const [deployer] = await getUnnamedAccounts();
|
|
|
|
|
2023-05-26 08:01:05 +00:00
|
|
|
await deploy("Verifier", {
|
2023-03-29 06:28:09 +00:00
|
|
|
from: deployer,
|
|
|
|
log: true,
|
|
|
|
});
|
|
|
|
};
|
|
|
|
export default func;
|
2023-05-26 08:01:05 +00:00
|
|
|
func.tags = ["RlnVerifier"];
|