Variable VoteInitializerConst
VoteInitializer: { 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
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;
}>