@hyperlane-xyz/cli
Version:
A command-line utility for common Hyperlane operations
28 lines • 1.43 kB
TypeScript
import { ChainMap, HookConfig, HookType, HooksConfig } from '@hyperlane-xyz/sdk';
import { Address } from '@hyperlane-xyz/utils';
import { CommandContext } from '../context/types.js';
export declare function presetHookConfigs(owner: Address): HooksConfig;
export declare function readHooksConfigMap(filePath: string): ChainMap<HooksConfig> | undefined;
export declare function createHookConfig({ context, selectMessage, advanced, }: {
context: CommandContext;
selectMessage?: string;
advanced?: boolean;
}): Promise<HookConfig>;
export declare const createMerkleTreeConfig: (...arg: []) => Promise<HookConfig>;
export declare const createProtocolFeeConfig: (context: CommandContext, advanced?: boolean) => Promise<HookConfig>;
export declare const createIGPConfig: (...args: any[]) => Promise<{
type: HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
tokenDecimals?: number | undefined;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
export declare const createAggregationConfig: (context: CommandContext, advanced?: boolean) => Promise<HookConfig>;
export declare const createRoutingConfig: (context: CommandContext, advanced?: boolean) => Promise<HookConfig>;
//# sourceMappingURL=hooks.d.ts.map