-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
13,735 additions
and
29,361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ coverage | |
|
||
# Typechain generated files | ||
generated-types | ||
|
||
# Hardhat migrate | ||
.storage.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,6 @@ coverage | |
|
||
# Typechain generated files | ||
generated-types | ||
|
||
# Hardhat migrate | ||
.storage.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import { Deployer, Reporter } from "@solarity/hardhat-migrate"; | ||
import { artifacts } from "hardhat"; | ||
|
||
const ERC20Mock = artifacts.require("ERC20Mock"); | ||
import { ERC20Mock__factory } from "@ethers-v6"; | ||
|
||
export = async (deployer: Deployer) => { | ||
const erc20 = await deployer.deploy(ERC20Mock, ["Mock", "Mock", 18]); | ||
const erc20 = await deployer.deploy(ERC20Mock__factory, ["Mock", "Mock", 18]); | ||
|
||
Reporter.reportContracts(["ERC20Mock", erc20.address]); | ||
Reporter.reportContracts(["ERC20Mock", await erc20.getAddress()]); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.