UNPKG

@fuel-infrastructure/fuel-hyperlane-registry

Version:

A collection of configs, artifacts, and schemas for Hyperlane

12 lines (11 loc) 597 B
import type { WarpCoreConfig, WarpRouteDeployConfig } from '@hyperlane-xyz/sdk'; import { z } from 'zod'; export type MaybePromise<T> = T | Promise<T> | PromiseLike<T>; export declare const ChainAddressesSchema: z.ZodRecord<z.ZodString, z.ZodString>; export type ChainAddresses = z.infer<typeof ChainAddressesSchema>; export type WarpRouteId = string; export type WarpRouteConfigMap = Record<WarpRouteId, WarpCoreConfig>; export type WarpDeployConfigMap = Record<WarpRouteId, WarpRouteDeployConfig>; export type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;