bom-contracts/deploy/00_treasury.ts

17 lines
414 B
TypeScript
Raw Normal View History

2022-09-01 14:44:06 +00:00
import { DeployFunction } from 'hardhat-deploy/dist/types';
2022-07-25 15:40:16 +00:00
2022-09-01 14:44:06 +00:00
const deployFunc: DeployFunction = async ({ getNamedAccounts, deployments, ethers }) => {
const { deploy } = deployments;
const { deployer } = await getNamedAccounts();
await deploy('Treasury', {
from: deployer,
args: [],
log: true,
});
2022-07-25 15:40:16 +00:00
};
2022-09-01 14:44:06 +00:00
const tags = ['Treasury'];
export default deployFunc;
export { tags };