2024-10-26 00:24:11 +03:00

25 lines
308 B
TypeScript

import { run } from "hardhat";
export async function verify(address: string, constructorArguments: any[]) {
try {
await run("verify:verify", {
address,
constructorArguments,
});
} catch (error) {
console.error(`Error verifying contract at ${address}:`, error);
}
}