@hyperlane-xyz/sdk
Version:
The official SDK for the Hyperlane Network
18 lines • 965 B
TypeScript
/**
* The types defined here are the source of truth for chain metadata.
* ANY CHANGES HERE NEED TO BE REFLECTED IN HYPERLANE-BASE CONFIG PARSING.
*/
import { z } from 'zod';
/** Zod uint schema */
export declare const ZUint: z.ZodNumber;
/** Zod NonZeroUint schema */
export declare const ZNzUint: z.ZodNumber;
/** Zod unsigned Wei schema which accepts either a string number or a literal number */
export declare const ZUWei: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
/** Zod 128, 160, 256, or 512 bit hex-defined hash with a 0x prefix for hex and no prefix for base58 */
export declare const ZHash: z.ZodString;
/** Zod ChainName schema */
export declare const ZChainName: z.ZodString;
export declare const ZBigNumberish: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
export declare const ZBytes32String: z.ZodEffects<z.ZodString, string, string>;
//# sourceMappingURL=customZodTypes.d.ts.map