Skip to content

Commit

Permalink
packages updated
Browse files Browse the repository at this point in the history
added bignumber.js
hardhat-migrate to 2.0.0
openzeppelin to 5.0.0
migration updated
  • Loading branch information
aritkulova committed Nov 29, 2023
1 parent 8a11a69 commit ed9e565
Show file tree
Hide file tree
Showing 3 changed files with 529 additions and 1,521 deletions.
8 changes: 4 additions & 4 deletions deploy/1_token.migration.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Deployer, Logger } from "@solarity/hardhat-migrate";
import { Deployer, Reporter } from "@solarity/hardhat-migrate";
import { artifacts } from "hardhat";

const ERC20Mock = artifacts.require("ERC20Mock");

export = async (deployer: Deployer, logger: Logger) => {
const erc20 = await deployer.deploy(ERC20Mock, "Mock", "Mock", 18);
export = async (deployer: Deployer) => {
const erc20 = await deployer.deploy(ERC20Mock, ["Mock", "Mock", 18]);

logger.logContracts(["ERC20Mock", erc20.address]);
Reporter.reportContracts(["ERC20Mock", erc20.address]);
};
Loading

0 comments on commit ed9e565

Please sign in to comment.