UNPKG

ox

Version:

Ethereum Standard Library

28 lines 1.6 kB
import * as z from 'zod/mini'; /** RPC signature schema decoded to a recovered signature. */ export declare const Signature: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>; }, z.core.$strip>; /** Encode-only recovered signature schema accepting numberish `toRpc` inputs. */ export declare const SignatureToRpc: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; }, z.core.$strip>; /** Legacy RPC signature schema decoded to a legacy signature. */ export declare const Legacy: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; v: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>; }, z.core.$strip>; /** Signature tuple schema. */ export declare const Tuple: z.ZodMiniReadonly<z.ZodMiniTuple<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTemplateLiteral<`0x${string}`>], null>>; /** Decoded recovered signature schema. */ export declare const Decoded: z.ZodMiniObject<{ r: z.ZodMiniTemplateLiteral<`0x${string}`>; s: z.ZodMiniTemplateLiteral<`0x${string}`>; yParity: z.ZodMiniLiteral<0 | 1>; }, z.core.$strip>; //# sourceMappingURL=Signature.d.ts.map