Skip to main content

SplitInitializer variable

Signature:

SplitInitializer: {
name: "Split";
contractType: "split";
schema: {
deploy: 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>;
},
{
recipients: import("zod").ZodEffects<
import("zod").ZodDefault<
import("zod").ZodArray<
import("zod").ZodObject<
{
address: import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>;
sharesBps: import("zod").ZodNumber;
},
"strip",
import("zod").ZodTypeAny,
{
address: string;
sharesBps: number;
},
{
address: string;
sharesBps: number;
}
>,
"many"
>
>,
{
address: string;
sharesBps: number;
}[],
| {
address: string;
sharesBps: number;
}[]
| undefined
>;
}
>,
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>;
},
{
recipients: import("zod").ZodEffects<
import("zod").ZodDefault<
import("zod").ZodArray<
import("zod").ZodObject<
{
address: import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>;
sharesBps: import("zod").ZodNumber;
},
"strip",
import("zod").ZodTypeAny,
{
address: string;
sharesBps: number;
},
{
address: string;
sharesBps: number;
}
>,
"many"
>
>,
{
address: string;
sharesBps: number;
}[],
| {
address: string;
sharesBps: number;
}[]
| undefined
>;
}
>
>,
{
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;
name: string;
trusted_forwarders: string[];
recipients: {
address: string;
sharesBps: number;
}[];
},
{
description?: string | undefined;
image?: any;
external_link?: string | undefined;
trusted_forwarders?: string[] | undefined;
recipients?:
| {
address: string;
sharesBps: number;
}[]
| undefined;
name: string;
}
>;
output: 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>;
},
{
image: import("zod").ZodOptional<import("zod").ZodString>;
}
>,
{
recipients: import("zod").ZodArray<
import("zod").ZodObject<
import("zod").extendShape<
{
address: import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>;
sharesBps: import("zod").ZodNumber;
},
{
address: import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>;
sharesBps: import("zod").ZodNumber;
}
>,
"strip",
import("zod").ZodTypeAny,
{
address: string;
sharesBps: number;
},
{
address: string;
sharesBps: number;
}
>,
"many"
>;
}
>,
"strip",
import("zod").ZodUnknown,
{
[x: string]: unknown;
description?: string | undefined;
image?: string | undefined;
external_link?: string | undefined;
name: string;
recipients: {
address: string;
sharesBps: number;
}[];
},
{
[x: string]: unknown;
description?: string | undefined;
image?: string | undefined;
external_link?: string | undefined;
name: string;
recipients: {
address: string;
sharesBps: number;
}[];
}
>;
input: import("zod").ZodObject<
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>;
},
{
recipients: import("zod").ZodEffects<
import("zod").ZodDefault<
import("zod").ZodArray<
import("zod").ZodObject<
{
address: import("zod").ZodEffects<
import("zod").ZodString,
string,
string
>;
sharesBps: import("zod").ZodNumber;
},
"strip",
import("zod").ZodTypeAny,
{
address: string;
sharesBps: number;
},
{
address: string;
sharesBps: number;
}
>,
"many"
>
>,
{
address: string;
sharesBps: number;
}[],
| {
address: string;
sharesBps: number;
}[]
| undefined
>;
}
>,
"strip",
import("zod").ZodTypeAny,
{
description?: string | undefined;
image?: any;
external_link?: string | undefined;
name: string;
recipients: {
address: string;
sharesBps: number;
}[];
},
{
description?: string | undefined;
image?: any;
external_link?: string | undefined;
recipients?:
| {
address: string;
sharesBps: number;
}[]
| undefined;
name: string;
}
>;
}
roles: readonly["admin"];
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/split").Split>;
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;
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;
}
| {
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
anonymous?: undefined;
}
| {
stateMutability: string;
type: string;
inputs?: undefined;
anonymous?: undefined;
name?: undefined;
outputs?: undefined;
}
)[]
>;
}