Skip to main content

TokenDrop variable

Signature:

TokenDrop: {
name: "DropERC20";
contractType: "token-drop";
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
>;
},
{
merkle: import("zod").ZodDefault<
import("zod").ZodRecord<
import("zod").ZodString,
import("zod").ZodString
>
>;
}
>,
{
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;
merkle: Record<string, 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;
merkle?: Record<string, 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>;
}
>,
{
merkle: import("zod").ZodDefault<
import("zod").ZodRecord<
import("zod").ZodString,
import("zod").ZodString
>
>;
}
>,
{
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;
merkle: Record<string, string>;
},
{
symbol?: string | undefined;
description?: string | undefined;
image?: string | undefined;
external_link?: string | undefined;
merkle?: Record<string, 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>;
},
{
merkle: import("zod").ZodDefault<
import("zod").ZodRecord<
import("zod").ZodString,
import("zod").ZodString
>
>;
}
>,
{
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;
merkle: Record<string, string>;
},
{
symbol?: string | undefined;
description?: string | undefined;
image?: any;
external_link?: string | undefined;
merkle?: Record<string, string> | undefined;
name: string;
}
>;
}
roles: readonly[("admin", "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;
relayerUrl: string;
};
}
| {
biconomy: {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
};
}
| undefined;
}
| undefined,
) => Promise<import("./prebuilt-implementations/token-drop").TokenDropImpl>;
getAbi: () =>
Promise<
(
| {
inputs: never[];
stateMutability: string;
type: string;
anonymous?: undefined;
name?: undefined;
outputs?: undefined;
}
| {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
type: string;
stateMutability?: undefined;
outputs?: undefined;
}
| {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
type: string;
stateMutability?: undefined;
outputs?: undefined;
}
| {
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
anonymous?: undefined;
}
| {
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
anonymous?: 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: never[];
stateMutability: string;
type: string;
anonymous?: undefined;
}
)[]
>;
}