-
Notifications
You must be signed in to change notification settings - Fork 13
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
1 parent
def8e5e
commit 0d48e29
Showing
3 changed files
with
20 additions
and
42 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 |
---|---|---|
@@ -1,15 +1,20 @@ | ||
import hre, { ethers } from "hardhat"; | ||
|
||
const main = async function () { | ||
const factory = await ethers.getContractFactory("OmnichainStakingLP"); | ||
const contract = await factory.deploy(); | ||
const factory = await ethers.getContractFactory("UpdateZeroNFTScript"); | ||
const contract = await factory.deploy( | ||
"0x9fa72ea96591e486ff065e7c8a89282dedfa6c12" | ||
); | ||
|
||
console.log("deployed to", contract.target); | ||
|
||
await contract.waitForDeployment(); | ||
|
||
// Verify contract programmatically | ||
await hre.run("verify:verify", { address: contract.target }); | ||
await hre.run("verify:verify", { | ||
address: contract.target, | ||
constructorArguments: [contract.target], | ||
}); | ||
}; | ||
|
||
main(); |
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