File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
packages/thirdweb/src/contract/deployment/utils Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,18 @@ import {
2222} from "./infra.js" ;
2323
2424/**
25+ * Gets or deploys the infrastructure contracts needed for a published contract deployment
26+ * @param args - The arguments object
27+ * @param args.chain - The blockchain network configuration
28+ * @param args.client - The ThirdwebClient instance
29+ * @param args.account - The account performing the deployment
30+ * @param args.contractId - The ID of the contract to deploy
31+ * @param args.constructorParams - Optional constructor parameters for the implementation contract
32+ * @param args.publisher - Optional publisher address, defaults to thirdweb
33+ * @param args.version - Optional version of the contract to deploy
34+ * @returns An object containing:
35+ * - cloneFactoryContract: The factory contract used for creating clones
36+ * - implementationContract: The deployed implementation contract
2537 * @internal
2638 */
2739export async function getOrDeployInfraForPublishedContract (
You can’t perform that action at this time.
0 commit comments