UNPKG

@hyperlane-xyz/sdk

Version:

The official SDK for the Hyperlane Network

17 lines 1.23 kB
import { AltVM } from '@hyperlane-xyz/provider-sdk'; import { AnnotatedTx, TxReceipt } from '@hyperlane-xyz/provider-sdk/module'; import { Address } from '@hyperlane-xyz/utils'; import { MultiProvider } from '../providers/MultiProvider.js'; import { TypedAnnotatedTransaction } from '../providers/ProviderType.js'; import { WarpRouteDeployConfigMailboxRequired } from '../token/types.js'; import { ChainMap } from '../types.js'; type ChainAddresses = Record<string, string>; export declare function executeWarpDeploy(warpDeployConfig: WarpRouteDeployConfigMailboxRequired, multiProvider: MultiProvider, altVmSigners: ChainMap<AltVM.ISigner<AnnotatedTx, TxReceipt>>, registryAddresses: ChainMap<ChainAddresses>, apiKeys: ChainMap<string>): Promise<ChainMap<Address>>; export declare function enrollCrossChainRouters({ multiProvider, altVmSigners, registryAddresses, warpDeployConfig, }: { multiProvider: MultiProvider; altVmSigners: ChainMap<AltVM.ISigner<AnnotatedTx, TxReceipt>>; registryAddresses: ChainMap<ChainAddresses>; warpDeployConfig: WarpRouteDeployConfigMailboxRequired; }, deployedContracts: ChainMap<Address>): Promise<ChainMap<TypedAnnotatedTransaction[]>>; export {}; //# sourceMappingURL=warp.d.ts.map