mirror of
https://github.com/vacp2p/rln-interep-contract.git
synced 2025-03-01 06:30:33 +00:00
16 lines
479 B
TypeScript
16 lines
479 B
TypeScript
|
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();
|
||
|
|
||
|
await deploy('PoseidonHasher', {
|
||
|
from: deployer,
|
||
|
log: true,
|
||
|
});
|
||
|
};
|
||
|
export default func;
|
||
|
func.tags = ['PoseidonHasher'];
|