File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
packages/thirdweb/src/contract/deployment/utils Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ import { getDeployedInfraContract } from "./infra.js";
33
44/**
55 * @internal
6+ * Retrieves the deployed clone factory contract instance if available
7+ * @param args - Client and chain information required to locate the contract
8+ * @returns Promise that resolves to the clone factory contract instance if deployed, null otherwise
9+ * @remarks
10+ * This function performs two checks:
11+ * 1. Verifies if the Forwarder contract is deployed
12+ * 2. If Forwarder exists, checks if TWCloneFactory is deployed with the Forwarder address
613 */
714export async function getDeployedCloneFactoryContract ( args : ClientAndChain ) {
815 // check if Forwarder is deployed
You can’t perform that action at this time.
0 commit comments