Variable CONTRACTS_MAPConst
CONTRACTS_MAP: { custom: { contractType: "custom"; name: "SmartContract"; roles: ("transfer" | "signer" | "minter" | "admin" | "pauser" | "lister" | "asset" | "unwrap" | "factory")[]; schema: {}; }; edition: { contractType: "edition"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: ({ components?: undefined; indexed: boolean; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: undefined; inputs: ({ components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; } | { components?: undefined; internalType: string; name: string; type: string; })[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<Edition>); name: "TokenERC1155"; roles: readonly ["admin", "minter", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; primary_sale_recipient: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; primary_sale_recipient: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodString>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: string; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: string; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; }; }; edition-drop: { contractType: "edition-drop"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: ({ components?: undefined; indexed: boolean; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: 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?: undefined; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; })[]; name: string; outputs: never[]; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<EditionDrop>); name: "DropERC1155"; roles: readonly ["admin", "minter", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; merkle: Record<string, string>; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; primary_sale_recipient: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; merkle?: Record<string, string>; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; primary_sale_recipient: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; merkle: Record<string, string>; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; merkle?: Record<string, string>; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodString>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: string; merkle: Record<string, string>; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: string; merkle?: Record<string, string>; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; }; }; marketplace: { contractType: "marketplace"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: { internalType: string; name: string; type: string; }[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: ({ components?: undefined; indexed: boolean; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: undefined; inputs: { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; }[]; name: string; outputs: never[]; stateMutability: string; type: string; } | { anonymous?: undefined; inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; } | { anonymous?: undefined; inputs?: undefined; name?: undefined; outputs?: undefined; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<Marketplace>); name: "Marketplace"; roles: readonly ["admin", "lister", "asset"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; social_urls?: Record<string, string>; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; social_urls?: Record<string, string>; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, "strip", ZodUnknown, objectOutputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">, objectInputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, "strip", ZodUnknown, objectOutputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">, objectInputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">>; }; }; marketplace-v3: { contractType: "marketplace-v3"; getAbi: ((address,
provider,
storage,
options?) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[]>); initialize: ((...__namedParameters) => Promise<MarketplaceV3>); name: "MarketplaceV3"; roles: readonly ["admin", "lister", "asset"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; social_urls?: Record<string, string>; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; social_urls?: Record<string, string>; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, "strip", ZodUnknown, objectOutputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">, objectInputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, "strip", ZodUnknown, objectOutputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">, objectInputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">>; }; }; multiwrap: { contractType: "multiwrap"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: { internalType: string; name: string; type: string; }[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: ({ components?: undefined; indexed: boolean; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; 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; } | { components?: undefined; internalType: string; name: string; type: string; })[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; } | { anonymous?: undefined; inputs?: undefined; name?: undefined; outputs?: undefined; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<Multiwrap>); name: "Multiwrap"; roles: readonly ["admin", "transfer", "minter", "unwrap", "asset"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodString>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: string; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: string; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; }; }; nft-collection: { contractType: "nft-collection"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: ({ components?: undefined; indexed: boolean; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: undefined; inputs: ({ components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; } | { components?: undefined; internalType: string; name: string; type: string; })[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<NFTCollection>); name: "TokenERC721"; roles: readonly ["admin", "minter", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; primary_sale_recipient: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; primary_sale_recipient: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodString>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: string; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: string; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; }; }; nft-drop: { contractType: "nft-drop"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous?: undefined; inputs: never[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous: boolean; inputs: ({ components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; } | { components?: undefined; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; 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?: undefined; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; })[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; })[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous: boolean; inputs: { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: 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; } | { components?: undefined; internalType: string; name: string; type: string; })[]; name: string; outputs: never[]; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<NFTDrop>); name: "DropERC721"; roles: readonly ["admin", "minter", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; merkle: Record<string, string>; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; primary_sale_recipient: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; merkle?: Record<string, string>; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; primary_sale_recipient: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; merkle: Record<string, string>; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; merkle?: Record<string, string>; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodString>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: string; merkle: Record<string, string>; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: string; merkle?: Record<string, string>; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; }; }; pack: { contractType: "pack"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[]>); initialize: ((...__namedParameters) => Promise<Pack>); name: "Pack"; roles: readonly ["admin", "minter", "asset", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodString>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: string; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: string; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; }; }; signature-drop: { contractType: "signature-drop"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous: boolean; inputs: ({ components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; } | { components?: undefined; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: undefined; inputs: ({ components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; } | { components?: undefined; internalType: string; name: string; type: string; })[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<SignatureDrop>); name: "SignatureDrop"; roles: readonly ["admin", "minter", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; merkle: Record<string, string>; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; primary_sale_recipient: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; merkle?: Record<string, string>; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; primary_sale_recipient: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: any; merkle: Record<string, string>; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: any; merkle?: Record<string, string>; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; image: ZodOptional<ZodString>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; seller_fee_basis_points: ZodDefault<ZodNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; fee_recipient: string; image?: string; merkle: Record<string, string>; name: string; seller_fee_basis_points: number; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; fee_recipient?: string; image?: string; merkle?: Record<string, string>; name: string; seller_fee_basis_points?: number; social_urls?: Record<string, string>; symbol?: string; }>; }; }; split: { contractType: "split"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: undefined; inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; } | { anonymous?: undefined; inputs?: undefined; name?: undefined; outputs?: undefined; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<Split>); name: "Split"; roles: readonly ["admin"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }, "strip", ZodTypeAny, { address: string; sharesBps: number; }, { address: string; sharesBps: number; }>, "many">>, { address: string; sharesBps: number; }[], undefined | { address: string; sharesBps: number; }[]>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; recipients: { address: string; sharesBps: number; }[]; social_urls?: Record<string, string>; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; recipients?: { address: string; sharesBps: number; }[]; social_urls?: Record<string, string>; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }, "strip", ZodTypeAny, { address: string; sharesBps: number; }, { address: string; sharesBps: number; }>, "many">>, { address: string; sharesBps: number; }[], undefined | { address: string; sharesBps: number; }[]>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, "strip", ZodUnknown, objectOutputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }, "strip", ZodTypeAny, { address: string; sharesBps: number; }, { address: string; sharesBps: number; }>, "many">>, { address: string; sharesBps: number; }[], undefined | { address: string; sharesBps: number; }[]>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">, objectInputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }, "strip", ZodTypeAny, { address: string; sharesBps: number; }, { address: string; sharesBps: number; }>, "many">>, { address: string; sharesBps: number; }[], undefined | { address: string; sharesBps: number; }[]>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }
), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }
), ({ address: string; sharesBps: number; }
)>, "many">; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, "strip", ZodUnknown, objectOutputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }
), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }
), ({ address: string; sharesBps: number; }
)>, "many">; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">, objectInputType<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }
), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }
), ({ address: string; sharesBps: number; }
)>, "many">; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; }, ZodUnknown, "strip">>; }; }; token: { contractType: "token"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: ({ components?: undefined; indexed: boolean; internalType: string; name: string; type: string; } | { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; outputs?: undefined; stateMutability?: undefined; 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; } | { components?: undefined; internalType: string; name: string; type: string; })[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<Token>); name: "TokenERC20"; roles: readonly ["admin", "minter", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; primary_sale_recipient: string; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; primary_sale_recipient: string; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: string; name: string; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; image?: string; name: string; social_urls?: Record<string, string>; symbol?: string; }>; }; }; token-drop: { contractType: "token-drop"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous: boolean; inputs: { components: { internalType: string; name: string; type: string; }[]; indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: 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; } | { components?: undefined; internalType: string; name: string; type: string; })[]; name: string; outputs: never[]; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<TokenDrop>); name: "DropERC20"; roles: readonly ["admin", "transfer"]; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; platform_fee_basis_points: ZodDefault<ZodNumber>; platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>; primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; merkle: Record<string, string>; name: string; platform_fee_basis_points: number; platform_fee_recipient: string; primary_sale_recipient: string; social_urls?: Record<string, string>; symbol: string; trusted_forwarders: string[]; }, { app_uri?: string; description?: string; external_link?: string; image?: any; merkle?: Record<string, string>; name: string; platform_fee_basis_points?: number; platform_fee_recipient?: string; primary_sale_recipient: string; social_urls?: Record<string, string>; symbol?: string; trusted_forwarders?: string[]; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; merkle: Record<string, string>; name: string; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; image?: any; merkle?: Record<string, string>; name: string; social_urls?: Record<string, string>; symbol?: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; merkle: ZodDefault<ZodRecord<ZodString, ZodString>>; name: ZodString; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; symbol: ZodDefault<ZodString>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: string; merkle: Record<string, string>; name: string; social_urls?: Record<string, string>; symbol: string; }, { app_uri?: string; description?: string; external_link?: string; image?: string; merkle?: Record<string, string>; name: string; social_urls?: Record<string, string>; symbol?: string; }>; }; }; vote: { contractType: "vote"; getAbi: ((address,
provider,
storage) => Promise<objectOutputType<{ inputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; outputs: ZodDefault<ZodArray<ZodObject<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ components: ZodOptional<ZodArray<ZodObject<{ name: ZodDefault<ZodString>; type: ZodString; }, "strip", ZodAny, objectOutputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">, objectInputType<{ name: ZodDefault<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; name: ZodDefault<ZodString>; stateMutability: ZodOptional<ZodString>; type: ZodString; }, ZodAny, "strip">>, "many">>; type: ZodString; }, ZodAny, "strip">[] | ({ anonymous?: undefined; inputs: never[]; name?: undefined; outputs?: undefined; stateMutability: string; type: string; } | { anonymous?: undefined; inputs: never[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous: boolean; inputs: { indexed: boolean; internalType: string; name: string; type: string; }[]; name: string; outputs?: undefined; stateMutability?: undefined; type: string; } | { anonymous?: undefined; inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; } | { anonymous?: undefined; inputs: never[]; name: string; outputs: { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; } | { anonymous?: undefined; inputs?: undefined; name?: undefined; outputs?: undefined; stateMutability: string; type: string; })[]>); initialize: ((...__namedParameters) => Promise<Vote>); name: "VoteERC20"; roles: readonly []; schema: { deploy: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>; voting_delay_in_blocks: ZodDefault<ZodNumber>; voting_period_in_blocks: ZodDefault<ZodNumber>; voting_quorum_fraction: ZodDefault<ZodNumber>; voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; proposal_token_threshold: string; social_urls?: Record<string, string>; trusted_forwarders: string[]; voting_delay_in_blocks: number; voting_period_in_blocks: number; voting_quorum_fraction: number; voting_token_address: string; }, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; proposal_token_threshold?: string | number | bigint | BigNumber; social_urls?: Record<string, string>; trusted_forwarders?: string[]; voting_delay_in_blocks?: number; voting_period_in_blocks?: number; voting_quorum_fraction?: number; voting_token_address: string; }>; input: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{ data: ZodUnion<[ZodTypeAny, ZodString]>; name: ZodString; }, "strip", ZodTypeAny, { data?: any; name: string; }, { data?: any; name: string; }>]>, ZodString]>>; name: ZodString; proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; voting_delay_in_blocks: ZodDefault<ZodNumber>; voting_period_in_blocks: ZodDefault<ZodNumber>; voting_quorum_fraction: ZodDefault<ZodNumber>; voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; proposal_token_threshold: string; social_urls?: Record<string, string>; voting_delay_in_blocks: number; voting_period_in_blocks: number; voting_quorum_fraction: number; voting_token_address: string; }, { app_uri?: string; description?: string; external_link?: string; image?: any; name: string; proposal_token_threshold?: string | number | bigint | BigNumber; social_urls?: Record<string, string>; voting_delay_in_blocks?: number; voting_period_in_blocks?: number; voting_quorum_fraction?: number; voting_token_address: string; }>; output: ZodObject<{ app_uri: ZodOptional<ZodString>; description: ZodOptional<ZodString>; external_link: ZodOptional<ZodString>; image: ZodOptional<ZodString>; name: ZodString; proposal_token_threshold: ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>; social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>; voting_delay_in_blocks: ZodDefault<ZodNumber>; voting_period_in_blocks: ZodDefault<ZodNumber>; voting_quorum_fraction: ZodDefault<ZodNumber>; voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; }, "strip", ZodTypeAny, { app_uri?: string; description?: string; external_link?: string; image?: string; name: string; proposal_token_threshold: BigNumber; social_urls?: Record<string, string>; voting_delay_in_blocks: number; voting_period_in_blocks: number; voting_quorum_fraction: number; voting_token_address: string; }, { app_uri?: string; description?: string; external_link?: string; image?: string; name: string; proposal_token_threshold: Object; social_urls?: Record<string, string>; voting_delay_in_blocks?: number; voting_period_in_blocks?: number; voting_quorum_fraction?: number; voting_token_address: string; }>; }; }; } = ... Type declaration
Readonly
custom: {
contractType: "custom";
name: "SmartContract";
roles: ("transfer" | "signer" | "minter" | "admin" | "pauser" | "lister" | "asset" | "unwrap" | "factory")[];
schema: {};
}
contractType: "custom"
name: "SmartContract"
roles: ("transfer" | "signer" | "minter" | "admin" | "pauser" | "lister" | "asset" | "unwrap" | "factory")[]
schema: {}
Readonly
edition: {
contractType: "edition";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<Edition>);
name: "TokenERC1155";
roles: readonly ["admin", "minter", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "edition"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<Edition>)
- (...__namedParameters): Promise<Edition>
Parameters
Rest
...__namedParameters: InitalizeParams
Returns Promise<Edition>
name: "TokenERC1155"
roles: readonly ["admin", "minter", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
edition-drop: {
contractType: "edition-drop";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<EditionDrop>);
name: "DropERC1155";
roles: readonly ["admin", "minter", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "edition-drop"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<EditionDrop>)
- (...__namedParameters): Promise<EditionDrop>
Parameters
Rest
...__namedParameters: InitalizeParams
name: "DropERC1155"
roles: readonly ["admin", "minter", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
marketplace: {
contractType: "marketplace";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<Marketplace>);
name: "Marketplace";
roles: readonly ["admin", "lister", "asset"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
};
}
contractType: "marketplace"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<Marketplace>)
- (...__namedParameters): Promise<Marketplace>
Parameters
Rest
...__namedParameters: InitalizeParams
name: "Marketplace"
roles: readonly ["admin", "lister", "asset"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>
Readonly
marketplace-v3: {
contractType: "marketplace-v3";
getAbi: ((address, provider, storage, options?) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]>);
initialize: ((...__namedParameters) => Promise<MarketplaceV3>);
name: "MarketplaceV3";
roles: readonly ["admin", "lister", "asset"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
};
}
contractType: "marketplace-v3"
getAbi: ((address, provider, storage, options?) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]>)
- (address, provider, storage, options?): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Optional
options: {
clientId?: string;
gasSettings?: { maxPriceInGwei?: number | undefined; speed?: "standard" | "fast" | "fastest" | undefined; };
gasless?: ({ openzeppelin: { relayerUrl: string; relayerForwarderAddress?: string | undefined; useEOAForwarder?: boolean | undefined; domainName?: string | undefined; domainVersion?: string | undefined; }; experimentalChainlessSupport?: boolean | undefined; }) | ({ biconomy: { apiId: string; apiKey: string; deadlineSeconds?: number | undefined; }; });
gatewayUrls?: string[];
readonlySettings?: { rpcUrl: string; chainId?: number | undefined; };
secretKey?: string;
supportedChains?: ({ rpc: string[]; chainId: number; nativeCurrency: { symbol: string; name: string; decimals: number; }; slug: string; })[];
}
Optional
clientId?: string
Optional
gasSettings?: { maxPriceInGwei?: number | undefined; speed?: "standard" | "fast" | "fastest" | undefined; }
Optional
gasless?: ({ openzeppelin: { relayerUrl: string; relayerForwarderAddress?: string | undefined; useEOAForwarder?: boolean | undefined; domainName?: string | undefined; domainVersion?: string | undefined; }; experimentalChainlessSupport?: boolean | undefined; }) | ({ biconomy: { apiId: string; apiKey: string; deadlineSeconds?: number | undefined; }; })
Optional
gatewayUrls?: string[]
Optional
readonlySettings?: { rpcUrl: string; chainId?: number | undefined; }
Optional
secretKey?: string
Optional
supportedChains?: ({ rpc: string[]; chainId: number; nativeCurrency: { symbol: string; name: string; decimals: number; }; slug: string; })[]
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]>
initialize: ((...__namedParameters) => Promise<MarketplaceV3>)
- (...__namedParameters): Promise<MarketplaceV3>
Parameters
Rest
...__namedParameters: InitalizeParams
name: "MarketplaceV3"
roles: readonly ["admin", "lister", "asset"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>
Readonly
multiwrap: {
contractType: "multiwrap";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<Multiwrap>);
name: "Multiwrap";
roles: readonly ["admin", "transfer", "minter", "unwrap", "asset"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "multiwrap"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<Multiwrap>)
- (...__namedParameters): Promise<Multiwrap>
Parameters
Rest
...__namedParameters: InitalizeParams
name: "Multiwrap"
roles: readonly ["admin", "transfer", "minter", "unwrap", "asset"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
nft-collection: {
contractType: "nft-collection";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<NFTCollection>);
name: "TokenERC721";
roles: readonly ["admin", "minter", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "nft-collection"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<NFTCollection>)
- (...__namedParameters): Promise<NFTCollection>
Parameters
Rest
...__namedParameters: InitalizeParams
name: "TokenERC721"
roles: readonly ["admin", "minter", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
nft-drop: {
contractType: "nft-drop";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<NFTDrop>);
name: "DropERC721";
roles: readonly ["admin", "minter", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "nft-drop"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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?: undefined;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<NFTDrop>)
- (...__namedParameters): Promise<NFTDrop>
Parameters
Rest
...__namedParameters: InitalizeParams
Returns Promise<NFTDrop>
name: "DropERC721"
roles: readonly ["admin", "minter", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
pack: {
contractType: "pack";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]>);
initialize: ((...__namedParameters) => Promise<Pack>);
name: "Pack";
roles: readonly ["admin", "minter", "asset", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "pack"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[]>
initialize: ((...__namedParameters) => Promise<Pack>)
- (...__namedParameters): Promise<Pack>
Parameters
Rest
...__namedParameters: InitalizeParams
Returns Promise<Pack>
name: "Pack"
roles: readonly ["admin", "minter", "asset", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
signature-drop: {
contractType: "signature-drop";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<SignatureDrop>);
name: "SignatureDrop";
roles: readonly ["admin", "minter", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "signature-drop"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: ({
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<SignatureDrop>)
- (...__namedParameters): Promise<SignatureDrop>
Parameters
Rest
...__namedParameters: InitalizeParams
name: "SignatureDrop"
roles: readonly ["admin", "minter", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: any;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
seller_fee_basis_points: ZodDefault<ZodNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient: string;
image?: string;
merkle: Record<string, string>;
name: string;
seller_fee_basis_points: number;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
fee_recipient?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
seller_fee_basis_points?: number;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
split: {
contractType: "split";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<Split>);
name: "Split";
roles: readonly ["admin"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
recipients: {
address: string;
sharesBps: number;
}[];
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
recipients?: {
address: string;
sharesBps: number;
}[];
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
};
}
contractType: "split"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<Split>)
- (...__namedParameters): Promise<Split>
Parameters
Rest
...__namedParameters: InitalizeParams
Returns Promise<Split>
name: "Split"
roles: readonly ["admin"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
recipients: {
address: string;
sharesBps: number;
}[];
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
recipients?: {
address: string;
sharesBps: number;
}[];
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
recipients: {
address: string;
sharesBps: number;
}[];
social_urls?: Record<string, string>;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
recipients?: {
address: string;
sharesBps: number;
}[];
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
recipients: ZodEffects<ZodDefault<ZodArray<ZodObject<{
address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
sharesBps: ZodNumber;
}, "strip", ZodTypeAny, {
address: string;
sharesBps: number;
}, {
address: string;
sharesBps: number;
}>, "many">>, {
address: string;
sharesBps: number;
}[], undefined | {
address: string;
sharesBps: number;
}[]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, "strip", ZodUnknown, objectOutputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">, objectInputType<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<ZodObject<({ address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>; sharesBps: ZodNumber; }), "strip", ZodTypeAny, ({ address: string; sharesBps: number; }), ({ address: string; sharesBps: number; })>, "many">;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
}, ZodUnknown, "strip">>
Readonly
token: {
contractType: "token";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<Token>);
name: "TokenERC20";
roles: readonly ["admin", "minter", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "token"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: ({
components?: undefined;
indexed: boolean;
internalType: string;
name: string;
type: string;
} | {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<Token>)
- (...__namedParameters): Promise<Token>
Parameters
Rest
...__namedParameters: InitalizeParams
Returns Promise<Token>
name: "TokenERC20"
roles: readonly ["admin", "minter", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
token-drop: {
contractType: "token-drop";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<TokenDrop>);
name: "DropERC20";
roles: readonly ["admin", "transfer"];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
merkle: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
};
}
contractType: "token-drop"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: 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;
} | {
components?: undefined;
internalType: string;
name: string;
type: string;
})[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<TokenDrop>)
- (...__namedParameters): Promise<TokenDrop>
Parameters
Rest
...__namedParameters: InitalizeParams
name: "DropERC20"
roles: readonly ["admin", "transfer"]
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
merkle: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
platform_fee_basis_points: ZodDefault<ZodNumber>;
platform_fee_recipient: ZodDefault<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>>;
primary_sale_recipient: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle: Record<string, string>;
name: string;
platform_fee_basis_points: number;
platform_fee_recipient: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol: string;
trusted_forwarders: string[];
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
platform_fee_basis_points?: number;
platform_fee_recipient?: string;
primary_sale_recipient: string;
social_urls?: Record<string, string>;
symbol?: string;
trusted_forwarders?: string[];
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
merkle?: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
merkle: ZodDefault<ZodRecord<ZodString, ZodString>>;
name: ZodString;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
symbol: ZodDefault<ZodString>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
merkle: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
merkle?: Record<string, string>;
name: string;
social_urls?: Record<string, string>;
symbol?: string;
}>
Readonly
vote: {
contractType: "vote";
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>);
initialize: ((...__namedParameters) => Promise<Vote>);
name: "VoteERC20";
roles: readonly [];
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold?: string | number | bigint | BigNumber;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold: string;
social_urls?: Record<string, string>;
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold?: string | number | bigint | BigNumber;
social_urls?: Record<string, string>;
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
proposal_token_threshold: ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
proposal_token_threshold: BigNumber;
social_urls?: Record<string, string>;
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
proposal_token_threshold: Object;
social_urls?: Record<string, string>;
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>;
};
}
contractType: "vote"
getAbi: ((address, provider, storage) => Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>)
- (address, provider, storage): Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]> Parameters
address: string
provider: Provider
storage: ThirdwebStorage<IpfsUploadBatchOptions>
Returns Promise<objectOutputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[] | ({
anonymous?: undefined;
inputs: never[];
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous: boolean;
inputs: {
indexed: boolean;
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs?: undefined;
stateMutability?: undefined;
type: string;
} | {
anonymous?: undefined;
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: {
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs: never[];
name: string;
outputs: {
components: {
internalType: string;
name: string;
type: string;
}[];
internalType: string;
name: string;
type: string;
}[];
stateMutability: string;
type: string;
} | {
anonymous?: undefined;
inputs?: undefined;
name?: undefined;
outputs?: undefined;
stateMutability: string;
type: string;
})[]>
initialize: ((...__namedParameters) => Promise<Vote>)
- (...__namedParameters): Promise<Vote>
Parameters
Rest
...__namedParameters: InitalizeParams
Returns Promise<Vote>
name: "VoteERC20"
roles: readonly []
schema: {
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold?: string | number | bigint | BigNumber;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>;
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold: string;
social_urls?: Record<string, string>;
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold?: string | number | bigint | BigNumber;
social_urls?: Record<string, string>;
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>;
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
proposal_token_threshold: ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
proposal_token_threshold: BigNumber;
social_urls?: Record<string, string>;
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
proposal_token_threshold: Object;
social_urls?: Record<string, string>;
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>;
}
deploy: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
trusted_forwarders: ZodDefault<ZodArray<ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>, "many">>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold: string;
social_urls?: Record<string, string>;
trusted_forwarders: string[];
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold?: string | number | bigint | BigNumber;
social_urls?: Record<string, string>;
trusted_forwarders?: string[];
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>
input: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodUnion<[ZodUnion<[ZodTypeAny, ZodObject<{
data: ZodUnion<[ZodTypeAny, ZodString]>;
name: ZodString;
}, "strip", ZodTypeAny, {
data?: any;
name: string;
}, {
data?: any;
name: string;
}>]>, ZodString]>>;
name: ZodString;
proposal_token_threshold: ZodDefault<ZodEffects<ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>, string, string | number | bigint | BigNumber>>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold: string;
social_urls?: Record<string, string>;
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: any;
name: string;
proposal_token_threshold?: string | number | bigint | BigNumber;
social_urls?: Record<string, string>;
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>
output: ZodObject<{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
proposal_token_threshold: ZodEffects<ZodUnion<[ZodString, ZodNumber, ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>]>, BigNumber, string | number | bigint | BigNumber>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
voting_delay_in_blocks: ZodDefault<ZodNumber>;
voting_period_in_blocks: ZodDefault<ZodNumber>;
voting_quorum_fraction: ZodDefault<ZodNumber>;
voting_token_address: ZodUnion<[ZodType<string, ZodTypeDef, string>, ZodType<`0x${string}`, ZodTypeDef, `${string}.eth` | `${string}.cb.id`>]>;
}, "strip", ZodTypeAny, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
proposal_token_threshold: BigNumber;
social_urls?: Record<string, string>;
voting_delay_in_blocks: number;
voting_period_in_blocks: number;
voting_quorum_fraction: number;
voting_token_address: string;
}, {
app_uri?: string;
description?: string;
external_link?: string;
image?: string;
name: string;
proposal_token_threshold: Object;
social_urls?: Record<string, string>;
voting_delay_in_blocks?: number;
voting_period_in_blocks?: number;
voting_quorum_fraction?: number;
voting_token_address: string;
}>