Skip to content

Commit f1a5555

Browse files
committed
comments
1 parent 2afb9f0 commit f1a5555

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/thirdweb/src/extensions/prebuilts/compute-ref-deployments.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ type ComputeRefDeploymentsOptions = {
1010
paramValue: string | ImplementationConstructorParam;
1111
};
1212

13+
/**
14+
* Computes addresses for published contract references in constructor params.
15+
* @returns Param value after processing references.
16+
* @internal
17+
*/
1318
export async function computeRefDeployments(
1419
options: ComputeRefDeploymentsOptions,
1520
): Promise<string | string[]> {

packages/thirdweb/src/extensions/prebuilts/process-ref-deployments.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ type ProcessRefDeploymentsOptions = {
1717
paramValue: string | ImplementationConstructorParam;
1818
};
1919

20+
/**
21+
* Processes published contract references in constructor params. Deploys recursively if needed.
22+
* @returns Param value after processing references.
23+
* @internal
24+
*/
2025
export async function processRefDeployments(
2126
options: ProcessRefDeploymentsOptions,
2227
): Promise<string | string[]> {

0 commit comments

Comments
 (0)