Variable zOnchainPropConst
zOnchainProp: z.ZodObject<{
createTime: z.ZodDate;
id: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>;
} & {
execError: z.ZodOptional<z.ZodObject<{
args: z.ZodArray<z.ZodAny, "many">;
data: z.ZodNullable<z.ZodString>;
name: z.ZodNullable<z.ZodString>;
reason: z.ZodNullable<z.ZodString>;
selector: z.ZodNullable<z.ZodString>;
signature: z.ZodNullable<z.ZodString>;
type: z.ZodNativeEnum<typeof ErrorType>;
}, "strip", z.ZodTypeAny, {
args: any[];
data: string | null;
name: string | null;
reason: string | null;
selector: string | null;
signature: string | null;
type: ErrorType;
}, {
args: any[];
data: string | null;
name: string | null;
reason: string | null;
selector: string | null;
signature: string | null;
type: ErrorType;
}>>;
noWeight: z.ZodString;
stage: z.ZodEnum<["Voting", "Veto", "Execution", "Expired"]>;
vetoTimeLeftMs: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodNumber>;
voteStatus: z.ZodEnum<["Passing", "Failing", "Passed", "Failed"]>;
voteTimeLeftMs: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodNumber>;
yesWeight: z.ZodString;
}, "strip", z.ZodTypeAny, {
createTime: Date;
execError?: {
args: any[];
data: string | null;
name: string | null;
reason: string | null;
selector: string | null;
signature: string | null;
type: ErrorType;
};
id: string;
noWeight: string;
stage:
| "Voting"
| "Veto"
| "Execution"
| "Expired";
vetoTimeLeftMs: ((...args: unknown[]) => number);
voteStatus:
| "Passing"
| "Failing"
| "Passed"
| "Failed";
voteTimeLeftMs: ((...args: unknown[]) => number);
yesWeight: string;
}, {
createTime: Date;
execError?: {
args: any[];
data: string | null;
name: string | null;
reason: string | null;
selector: string | null;
signature: string | null;
type: ErrorType;
};
id: string;
noWeight: string;
stage:
| "Voting"
| "Veto"
| "Execution"
| "Expired";
vetoTimeLeftMs: ((...args: unknown[]) => number);
voteStatus:
| "Passing"
| "Failing"
| "Passed"
| "Failed";
voteTimeLeftMs: ((...args: unknown[]) => number);
yesWeight: string;
}>