We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5db8e1a commit b4eedafCopy full SHA for b4eedaf
scripts/verify.ts
@@ -0,0 +1,26 @@
1
+import hre from "hardhat";
2
+
3
+async function main() {
4
+ await verify(
5
+ "",
6
+ []
7
+ )
8
+}
9
10
+async function verify(address: string, args: any[]) {
11
+ try {
12
+ return await hre.run("verify:verify", {
13
+ address: address,
14
+ constructorArguments: args,
15
+ });
16
+ } catch (e) {
17
+ console.log(address, args, e);
18
+ }
19
20
21
+main()
22
+ .then(() => process.exit(0))
23
+ .catch((e) => {
24
+ console.error(e)
25
+ process.exit(1)
26
+ })
0 commit comments