NFTCollectionInitializer variable
Signature:
NFTCollectionInitializer: {
name: "TokenERC721";
contractType: "nft-collection";
schema: {
deploy: import("zod").ZodObject<
import("zod").extendShape<
import("zod").extendShape<
import("zod").extendShape<
import("zod").extendShape<
import("zod").extendShape<
{
name: import("zod").ZodString;
description: import("zod").ZodOptional<
import("zod").ZodString
>;
image: import("zod").ZodOptional<
import("zod").ZodUnion<
[
import("zod").ZodUnion<
[
import("zod").ZodTypeAny,
import("zod").ZodObject<
{
data: import("zod").ZodUnion<
[
import("zod").ZodTypeAny,
import("zod").ZodString,
]
>;
name: import("zod").ZodString;
},
"strip",
import("zod").ZodTypeAny,
{
data?: any;
name: string;
},
{
data?: any;
name: string;
}
>,
]
>,
import("zod").ZodString,
]
>
>;
external_link: import("zod").ZodOptional<
import("zod").ZodString
>;
},
{
seller_fee_basis_points: import("zod").ZodDefault<
import("zod").ZodNumber
>;
fee_recipient: import("zod").ZodDefault<
import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>
>;
}
>,
{
symbol: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
}
>,
{
platform_fee_basis_points: import("zod").ZodDefault<
import("zod").ZodNumber
>;
platform_fee_recipient: import("zod").ZodDefault<
import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>
>;
}
>,
{
primary_sale_recipient: import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>;
}
>,
{
trusted_forwarders: import("zod").ZodDefault<
import("zod").ZodArray<
import("zod").ZodEffects<import("zod").ZodString, string, string>,
"many"
>
>;
}
>,
"strip",
import("zod").ZodTypeAny,
{
description?: string | undefined;
image?: any;
external_link?: string | undefined;
symbol: string;
name: string;
seller_fee_basis_points: number;
fee_recipient: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
trusted_forwarders: string[];
},
{
symbol?: string | undefined;
description?: string | undefined;
image?: any;
external_link?: string | undefined;
seller_fee_basis_points?: number | undefined;
fee_recipient?: string | undefined;
platform_fee_basis_points?: number | undefined;
platform_fee_recipient?: string | undefined;
trusted_forwarders?: string[] | undefined;
name: string;
primary_sale_recipient: string;
}
>;
output: import("zod").ZodObject<
import("zod").extendShape<
import("zod").extendShape<
import("zod").extendShape<
{
name: import("zod").ZodString;
description: import("zod").ZodOptional<import("zod").ZodString>;
image: import("zod").ZodOptional<
import("zod").ZodUnion<
[
import("zod").ZodUnion<
[
import("zod").ZodTypeAny,
import("zod").ZodObject<
{
data: import("zod").ZodUnion<
[
import("zod").ZodTypeAny,
import("zod").ZodString,
]
>;
name: import("zod").ZodString;
},
"strip",
import("zod").ZodTypeAny,
{
data?: any;
name: string;
},
{
data?: any;
name: string;
}
>,
]
>,
import("zod").ZodString,
]
>
>;
external_link: import("zod").ZodOptional<import("zod").ZodString>;
},
{
image: import("zod").ZodOptional<import("zod").ZodString>;
}
>,
{
seller_fee_basis_points: import("zod").ZodDefault<
import("zod").ZodNumber
>;
fee_recipient: import("zod").ZodDefault<
import("zod").ZodEffects<import("zod").ZodString, string, string>
>;
}
>,
{
symbol: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
}
>,
"strip",
import("zod").ZodTypeAny,
{
description?: string | undefined;
image?: string | undefined;
external_link?: string | undefined;
symbol: string;
name: string;
seller_fee_basis_points: number;
fee_recipient: string;
},
{
symbol?: string | undefined;
description?: string | undefined;
image?: string | undefined;
external_link?: string | undefined;
seller_fee_basis_points?: number | undefined;
fee_recipient?: string | undefined;
name: string;
}
>;
input: import("zod").ZodObject<
import("zod").extendShape<
import("zod").extendShape<
{
name: import("zod").ZodString;
description: import("zod").ZodOptional<import("zod").ZodString>;
image: import("zod").ZodOptional<
import("zod").ZodUnion<
[
import("zod").ZodUnion<
[
import("zod").ZodTypeAny,
import("zod").ZodObject<
{
data: import("zod").ZodUnion<
[import("zod").ZodTypeAny, import("zod").ZodString]
>;
name: import("zod").ZodString;
},
"strip",
import("zod").ZodTypeAny,
{
data?: any;
name: string;
},
{
data?: any;
name: string;
}
>,
]
>,
import("zod").ZodString,
]
>
>;
external_link: import("zod").ZodOptional<import("zod").ZodString>;
},
{
seller_fee_basis_points: import("zod").ZodDefault<
import("zod").ZodNumber
>;
fee_recipient: import("zod").ZodDefault<
import("zod").ZodEffects<import("zod").ZodString, string, string>
>;
}
>,
{
symbol: import("zod").ZodDefault<
import("zod").ZodOptional<import("zod").ZodString>
>;
}
>,
"strip",
import("zod").ZodTypeAny,
{
description?: string | undefined;
image?: any;
external_link?: string | undefined;
symbol: string;
name: string;
seller_fee_basis_points: number;
fee_recipient: string;
},
{
symbol?: string | undefined;
description?: string | undefined;
image?: any;
external_link?: string | undefined;
seller_fee_basis_points?: number | undefined;
fee_recipient?: string | undefined;
name: string;
}
>;
}
roles: readonly[("admin", "minter", "transfer")];
initialize: (
network: NetworkOrSignerOrProvider,
address: string,
storage: ThirdwebStorage<
import("@thirdweb-dev/storage").IpfsUploadBatchOptions
>,
options?:
| {
readonlySettings?:
| {
chainId?: number | undefined;
rpcUrl: string;
}
| undefined;
gasSettings?:
| {
maxPriceInGwei?: number | undefined;
speed?: "standard" | "fast" | "fastest" | undefined;
}
| undefined;
gasless?:
| {
experimentalChainlessSupport?: boolean | undefined;
openzeppelin: {
relayerForwarderAddress?: string | undefined;
useEOAForwarder?: boolean | undefined;
relayerUrl: string;
};
}
| {
biconomy: {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
};
}
| undefined;
}
| undefined,
) =>
Promise<import("./prebuilt-implementations/nft-collection").NFTCollection>;
getAbi: (
address: string,
provider: ethers.providers.Provider,
storage: ThirdwebStorage,
) =>
Promise<
| {
[x: string]: any;
name?: string | undefined;
inputs?:
| {
[x: string]: any;
stateMutability?: string | undefined;
components?:
| {
[x: string]: any;
type: string;
name: string;
}[]
| undefined;
type: string;
name: string;
}[]
| undefined;
outputs?:
| {
[x: string]: any;
stateMutability?: string | undefined;
components?:
| {
[x: string]: any;
type: string;
name: string;
}[]
| undefined;
type: string;
name: string;
}[]
| undefined;
type: string;
}[]
| (
| {
inputs: never[];
stateMutability: string;
type: string;
name?: undefined;
anonymous?: undefined;
outputs?: undefined;
}
| {
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
type: string;
stateMutability?: undefined;
anonymous?: undefined;
outputs?: undefined;
}
| {
anonymous: boolean;
inputs: (
| {
indexed: boolean;
internalType: string;
name: string;
type: string;
components?: undefined;
}
| {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}
)[];
name: string;
type: string;
stateMutability?: undefined;
outputs?: undefined;
}
| {
inputs: (
| {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}
| {
internalType: string;
name: string;
type: string;
components?: undefined;
}
)[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
anonymous?: undefined;
}
)[]
>;
}