bom-contracts/deploy2/00_treasury.ts
2022-09-22 13:05:04 +03:00

17 lines
414 B
TypeScript

import { DeployFunction } from 'hardhat-deploy/dist/types';
const deployFunc: DeployFunction = async ({ getNamedAccounts, deployments, ethers }) => {
const { deploy } = deployments;
const { deployer } = await getNamedAccounts();
await deploy('Treasury', {
from: deployer,
args: [],
log: true,
});
};
const tags = ['Treasury'];
export default deployFunc;
export { tags };