-
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.
* Updated migrations * Added bignumber.js * Updated hardhat-migrate to 2.0.0 * Updated OpenZeppelin to 5.0.0 * Updated dependencies --------- Co-authored-by: Artem Chystiakov <[email protected]>
- Loading branch information
1 parent
8a11a69
commit 2773a3f
Showing
11 changed files
with
13,088 additions
and
28,869 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,4 +1,5 @@ | ||
{ | ||
"plugins": ["prettier-plugin-solidity"], | ||
"overrides": [ | ||
{ | ||
"files": "*.sol", | ||
|
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
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, Logger } from "@solarity/hardhat-migrate"; | ||
import { artifacts } from "hardhat"; | ||
import { Deployer, Reporter } from "@solarity/hardhat-migrate"; | ||
|
||
const ERC20Mock = artifacts.require("ERC20Mock"); | ||
import { ERC20Mock__factory } from "@ethers-v6"; | ||
|
||
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__factory, ["Mock", "Mock", 18]); | ||
|
||
logger.logContracts(["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.