ox
Version:
Ethereum Standard Library
109 lines • 5.38 kB
TypeScript
import * as z from 'zod/mini';
export declare const StateMutability: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"pure">, z.ZodMiniLiteral<"view">, z.ZodMiniLiteral<"nonpayable">, z.ZodMiniLiteral<"payable">]>;
export declare const AbiFunction: z.ZodMiniPipe<z.ZodMiniObject<{
type: z.ZodMiniLiteral<"function">;
constant: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
gas: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
inputs: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniIntersection<z.ZodMiniObject<{
name: z.ZodMiniUnion<readonly [z.ZodMiniOptional<z.ZodMiniString<string>>, z.ZodMiniLiteral<"">]>;
internalType: z.ZodMiniOptional<z.ZodMiniString<string>>;
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"address">, z.ZodMiniLiteral<"bool">, z.ZodMiniString<string>, z.ZodMiniLiteral<"function">, z.ZodMiniLiteral<"string">, z.ZodMiniString<string>, z.ZodMiniString<string>]>;
}, z.core.$strip>, z.ZodMiniObject<{
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"tuple">, z.ZodMiniString<string>]>;
components: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniIntersection<z.ZodMiniObject<{
name: z.ZodMiniUnion<readonly [z.ZodMiniOptional<z.ZodMiniString<string>>, z.ZodMiniLiteral<"">]>;
internalType: z.ZodMiniOptional<z.ZodMiniString<string>>;
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"address">, z.ZodMiniLiteral<"bool">, z.ZodMiniString<string>, z.ZodMiniLiteral<"function">, z.ZodMiniLiteral<"string">, z.ZodMiniString<string>, z.ZodMiniString<string>]>;
}, z.core.$strip>, z.ZodMiniObject<any, z.core.$strip>]>>>>;
}, z.core.$strip>]>>>>;
name: z.ZodMiniString<string>;
outputs: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniIntersection<z.ZodMiniObject<{
name: z.ZodMiniUnion<readonly [z.ZodMiniOptional<z.ZodMiniString<string>>, z.ZodMiniLiteral<"">]>;
internalType: z.ZodMiniOptional<z.ZodMiniString<string>>;
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"address">, z.ZodMiniLiteral<"bool">, z.ZodMiniString<string>, z.ZodMiniLiteral<"function">, z.ZodMiniLiteral<"string">, z.ZodMiniString<string>, z.ZodMiniString<string>]>;
}, z.core.$strip>, z.ZodMiniObject<{
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"tuple">, z.ZodMiniString<string>]>;
components: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniIntersection<z.ZodMiniObject<{
name: z.ZodMiniUnion<readonly [z.ZodMiniOptional<z.ZodMiniString<string>>, z.ZodMiniLiteral<"">]>;
internalType: z.ZodMiniOptional<z.ZodMiniString<string>>;
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"address">, z.ZodMiniLiteral<"bool">, z.ZodMiniString<string>, z.ZodMiniLiteral<"function">, z.ZodMiniLiteral<"string">, z.ZodMiniString<string>, z.ZodMiniString<string>]>;
}, z.core.$strip>, z.ZodMiniObject<any, z.core.$strip>]>>>>;
}, z.core.$strip>]>>>>;
payable: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
stateMutability: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"pure">, z.ZodMiniLiteral<"view">, z.ZodMiniLiteral<"nonpayable">, z.ZodMiniLiteral<"payable">]>>;
}, z.core.$strip>, z.ZodMiniTransform<{
stateMutability: "pure" | "view" | "nonpayable" | "payable";
type: "function";
inputs: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | {
type: string;
components: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | any))[];
}))[];
name: string;
outputs: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | {
type: string;
components: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | any))[];
}))[];
constant?: boolean | undefined;
gas?: number | undefined;
payable?: boolean | undefined;
}, {
type: "function";
inputs: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | {
type: string;
components: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | any))[];
}))[];
name: string;
outputs: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | {
type: string;
components: readonly ({
name?: string | undefined;
internalType?: string | undefined;
} & ({
type: string;
} | any))[];
}))[];
constant?: boolean | undefined;
gas?: number | undefined;
payable?: boolean | undefined;
stateMutability?: "pure" | "view" | "nonpayable" | "payable" | undefined;
}>>;
//# sourceMappingURL=AbiFunction.d.ts.map