update
This commit is contained in:
+14
-7
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user