This commit is contained in:
2022-09-01 17:44:06 +03:00
parent ce40a74aaf
commit efadddcde6
13 changed files with 451 additions and 59 deletions
+14 -7
View File
@@ -1,9 +1,16 @@
import { ethers, run } from "hardhat";
import * as crypto from "crypto"
import { DeployFunction } from 'hardhat-deploy/dist/types';
//TBD
//@ts-ignore
module.exports = async ({ getNamedAccounts, deployments, getChainId }) => {
const deployFunc: DeployFunction = async ({ getNamedAccounts, deployments, ethers }) => {
const { deploy } = deployments;
const { deployer } = await getNamedAccounts();
await deploy('Treasury', {
from: deployer,
args: [],
log: true,
});
};
module.exports.tags = ['Treasury']
const tags = ['Treasury'];
export default deployFunc;
export { tags };