Skip to content

Commit 80c4c8a

Browse files
Remove deprecated deployPackContract documentation and references
Co-authored-by: samina <[email protected]>
1 parent adfa56b commit 80c4c8a

File tree

3 files changed

+3
-54
lines changed

3 files changed

+3
-54
lines changed

apps/portal/public/llms-full.txt

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -5533,60 +5533,7 @@ let returnType: Promise<string>;
55335533
The deployed contract address.
55345534
---
55355535

5536-
## DEPLOY.deployPackContract
55375536

5538-
Deprecated
5539-
5540-
\[Pack contract is incompatible with Pectra update. Support for this contract is being removed in next release.\]
5541-
5542-
Deploy a thirdweb Pack contract
5543-
5544-
### Example
5545-
5546-
```ts
5547-
import { deployPackContract } from "thirdweb/extensions/deploy";
5548-
5549-
const packAddress = await deployPackContract({
5550-
account,
5551-
client,
5552-
chain,
5553-
params: {
5554-
name: "Pack contract name",
5555-
symbol: "PACK1155",
5556-
},
5557-
});
5558-
```
5559-
5560-
```ts
5561-
function deployPackContract(options: {
5562-
account: Account;
5563-
chain: Readonly;
5564-
client: ThirdwebClient;
5565-
params: PackContractParams;
5566-
}): Promise<string>;
5567-
```
5568-
5569-
### Parameters
5570-
5571-
params for deploying [Pack contract](https://thirdweb.com/thirdweb.eth/Pack)
5572-
5573-
#### Type
5574-
5575-
```ts
5576-
let options: {
5577-
account: Account;
5578-
chain: Readonly;
5579-
client: ThirdwebClient;
5580-
params: PackContractParams;
5581-
};
5582-
```
5583-
5584-
### Returns
5585-
5586-
```ts
5587-
let returnType: Promise<string>;
5588-
```
5589-
---
55905537

55915538
## DEPLOY.deployPublishedContract
55925539

apps/portal/public/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
* [DEPLOY.deployERC1155Contract](https://portal.thirdweb.com/references/typescript/v5/deploy/deployERC1155Contract): Deploys an thirdweb ERC1155 contract of the given type. On chains where the thirdweb infrastructure contracts are not deployed, this function will deploy them as well.
136136
* [DEPLOY.deployERC20Contract](https://portal.thirdweb.com/references/typescript/v5/deploy/deployERC20Contract): Deploys an thirdweb ERC20 contract of the given type. On chains where the thirdweb infrastructure contracts are not deployed, this function will deploy them as well.
137137
* [DEPLOY.deployERC721Contract](https://portal.thirdweb.com/references/typescript/v5/deploy/deployERC721Contract): Deploys an thirdweb ERC721 contract of the given type. On chains where the thirdweb infrastructure contracts are not deployed, this function will deploy them as well.
138-
* [DEPLOY.deployPackContract](https://portal.thirdweb.com/references/typescript/v5/deploy/deployPackContract): \[Pack contract is incompatible with Pectra update. Support for this contract is being removed in next release.\]
138+
139139
* [DEPLOY.deployPublishedContract](https://portal.thirdweb.com/references/typescript/v5/deploy/deployPublishedContract): Deploy an instance of a published contract on a given chain
140140
* [DEPLOY.deploySplitContract](https://portal.thirdweb.com/references/typescript/v5/deploy/deploySplitContract): Deploys a thirdweb [Split contract](https://thirdweb.com/thirdweb.eth/Split)On chains where the thirdweb infrastructure contracts are not deployed, this function will deploy them as well.
141141
* [DEPLOY.prepareDeterministicDeployTransaction](https://portal.thirdweb.com/references/typescript/v5/deploy/prepareDeterministicDeployTransaction): Deploy a contract deterministically - will maintain the same address across chains. This is meant to be used with published contracts configured with the 'direct deploy' method. Under the hood, this uses a keyless transaction with a common create2 factory.

apps/portal/redirects.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ const typescriptRedirects = {
369369
"/typescript/sdk.thirdwebsdk.fromwallet":
370370
"/references/typescript/v4/ThirdwebSDK#fromWallet",
371371
"/typescript/sdk.thirdwebsdk.smartcontract": "/typescript/v4/extensions",
372+
// v5 deploy redirects
373+
"/references/typescript/v5/deploy/deployPackContract": "/contracts",
372374
};
373375

374376
const reactNativeRedirects = {

0 commit comments

Comments
 (0)