update
This commit is contained in:
16
deploy2/00_treasury.ts
Normal file
16
deploy2/00_treasury.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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 };
|
16
deploy2/01_furnace.ts
Normal file
16
deploy2/01_furnace.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { DeployFunction } from 'hardhat-deploy/dist/types';
|
||||
|
||||
const deployFunc: DeployFunction = async ({ getNamedAccounts, deployments, ethers }) => {
|
||||
const { deploy } = deployments;
|
||||
const { deployer } = await getNamedAccounts();
|
||||
await deploy('RedFurnace', {
|
||||
from: deployer,
|
||||
args: [],
|
||||
log: true,
|
||||
});
|
||||
};
|
||||
|
||||
const tags = ['Furnace'];
|
||||
|
||||
export default deployFunc;
|
||||
export { tags };
|
16
deploy2/03_market.ts
Normal file
16
deploy2/03_market.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { DeployFunction } from 'hardhat-deploy/dist/types';
|
||||
|
||||
const deployFunc: DeployFunction = async ({ getNamedAccounts, deployments, getChainId }) => {
|
||||
const { deploy } = deployments;
|
||||
const { deployer } = await getNamedAccounts();
|
||||
await deploy('Marketplace', {
|
||||
from: deployer,
|
||||
args: [],
|
||||
log: true,
|
||||
});
|
||||
};
|
||||
|
||||
const tags = ['Marketplace'];
|
||||
|
||||
export default deployFunc;
|
||||
export { tags };
|
17
deploy2/04_token.ts
Normal file
17
deploy2/04_token.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { DeployFunction } from 'hardhat-deploy/dist/types';
|
||||
|
||||
const deployFunc: DeployFunction = async ({ getNamedAccounts, deployments, getChainId }) => {
|
||||
const { deploy } = deployments;
|
||||
const { deployer } = await getNamedAccounts();
|
||||
await deploy('BabiesOfMars', {
|
||||
from: deployer,
|
||||
args: [],
|
||||
log: true,
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
const tags = ['Token'];
|
||||
|
||||
export default deployFunc;
|
||||
export { tags };
|
Reference in New Issue
Block a user