This commit is contained in:
2022-09-22 13:05:04 +03:00
parent efadddcde6
commit b8793df4f8
15 changed files with 342 additions and 175 deletions

16
deploy2/00_treasury.ts Normal file
View 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
View 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
View 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
View 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 };