Skip to content

Commit 8ffb741

Browse files
committed
chore: update changset
1 parent 85ebd9f commit 8ffb741

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.changeset/long-queens-draw.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,15 @@
44

55
Added new deployment utility functions to help manage infrastructure contracts and initialization:
66

7-
- `getDeployedCloneFactoryContract`: Get the deployed clone factory contract instance
8-
- `getDeployedInfraContract`: Get or deploy infrastructure contracts like WETH, Forwarder etc
9-
- `getAllDefaultConstructorParamsForImplementation`: Get default constructor params for contract implementations
107
- `getInitializeTransaction`: Prepare initialization transaction for contract deployment
118
- `getOrDeployInfraForPublishedContract`: Get or deploy required infrastructure for published contracts
129

1310
```typescript
1411
import {
15-
getDeployedCloneFactoryContract,
16-
getDeployedInfraContract,
17-
getAllDefaultConstructorParamsForImplementation,
1812
getInitializeTransaction,
1913
getOrDeployInfraForPublishedContract
2014
} from "thirdweb";
2115

22-
// Get deployed clone factory
23-
const factory = await getDeployedCloneFactoryContract({
24-
client,
25-
chain
26-
});
27-
28-
// Get or deploy WETH contract
29-
const weth = await getDeployedInfraContract({
30-
client,
31-
chain,
32-
contractId: "WETH9"
33-
});
34-
35-
// Get default constructor params
36-
const params = await getAllDefaultConstructorParamsForImplementation({
37-
chain,
38-
client
39-
});
40-
4116
// Get initialization transaction
4217
const initTx = await getInitializeTransaction({
4318
client,

0 commit comments

Comments
 (0)