cosmic-local-interchain
Version:
A command-line utility for Cosmic Interchain Messenger Local Networks
27 lines • 1.62 kB
TypeScript
import { TokenRouterConfig } from '@hyperlane-xyz/sdk';
import { Address } from '@hyperlane-xyz/utils';
export declare const TEST_CONFIGS_PATH = "./test-configs";
export declare const REGISTRY_PATH = "./test-configs/anvil";
export declare const ANVIL_KEY = "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80";
/**
* Retrieves the deployed Warp address from the Warp core config.
*/
export declare function getDeployedWarpAddress(chain: string, warpCorePath: string): string | null;
/**
* Updates the owner of the Warp route deployment config, and then output to a file
*/
export declare function updateWarpOwnerConfig(chain: string, owner: Address, warpCorePath: string, warpDeployPath: string): Promise<string>;
/**
* Updates the Warp route deployment configuration with a new owner, and then applies the changes.
*/
export declare function updateOwner(owner: Address, chain: string, warpConfigPath: string, warpCoreConfigPath: string): Promise<import("zx").ProcessOutput>;
/**
* Extends the Warp route deployment with a new warp config
*/
export declare function extendWarpConfig(chain: string, chainToExtend: string, extendedConfig: TokenRouterConfig, warpCorePath: string, warpDeployPath: string): Promise<string>;
/**
* Deploys new core contracts on the specified chain if it doesn't already exist, and returns the chain addresses.
*/
export declare function deployOrUseExistingCore(chain: string, coreInputPath: string, key: string): Promise<Record<string, string>>;
export declare function getChainId(chainName: string, key: string): Promise<string>;
//# sourceMappingURL=helpers.d.ts.map