cosmic-interchain-cli
Version:
A command-line utility for Cosmic Wire's interchain messaging protocol
1,172 lines • 49.3 kB
TypeScript
import { CommandContext } from '../context/types.js';
export declare function createCoreDeployConfig({ context, configFilePath, advanced, }: {
context: CommandContext;
configFilePath: string;
advanced: boolean;
}): Promise<void>;
export declare function readCoreDeployConfigs(filePath: string): Promise<{
owner: string;
defaultHook: string | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
} | (string & {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
}) | (string & {
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
};
}) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
}) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
};
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
};
}) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string);
defaultIsm: string | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
relayer: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
origin: string;
nativeBridge: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
bridge: string;
} | ({
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
}) | ({
validators: string[];
threshold: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
}) | ({
validators: {
signingAddress: string;
weight: number;
}[];
thresholdWeight: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
}) | (string & {
type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
}) | (string & {
type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
relayer: string;
}) | (string & {
type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
origin: string;
nativeBridge: string;
}) | (string & {
type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
bridge: string;
}) | (string & {
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
relayer: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
origin: string;
nativeBridge: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
bridge: string;
} | ({
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
}) | ({
validators: string[];
threshold: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
}) | ({
validators: {
signingAddress: string;
weight: number;
}[];
thresholdWeight: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
})>;
}) | (string & {
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
}) | (string & {
validators: string[];
threshold: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
}) | (string & {
validators: {
signingAddress: string;
weight: number;
}[];
thresholdWeight: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
}) | (string & import("@hyperlane-xyz/sdk").AggregationIsmConfig) | ({
type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
} & string) | ({
type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
relayer: string;
} & string) | ({
type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
origin: string;
nativeBridge: string;
} & string) | ({
type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
bridge: string;
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
relayer: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
origin: string;
nativeBridge: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
bridge: string;
} | ({
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
}) | ({
validators: string[];
threshold: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
}) | ({
validators: {
signingAddress: string;
weight: number;
}[];
thresholdWeight: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
})>;
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
relayer: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
origin: string;
nativeBridge: string;
} | {
type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
bridge: string;
} | ({
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
}) | ({
validators: string[];
threshold: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
}) | ({
validators: {
signingAddress: string;
weight: number;
}[];
thresholdWeight: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
})>;
}) | ({
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
} & string) | ({
validators: string[];
threshold: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
} & string) | ({
validators: {
signingAddress: string;
weight: number;
}[];
thresholdWeight: number;
} & {
type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
} & string) | (import("@hyperlane-xyz/sdk").AggregationIsmConfig & string);
requiredHook: string | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
} | (string & {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
}) | (string & {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}) | (string & {
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
}) | (string & {
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
};
}) | ({
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} & string) | ({
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
}) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
};
} & string) | ({
owner: string;
ownerOverrides?: Record<string, string> | undefined;
} & {
domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
}>;
} & {
type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
owner: string;
beneficiary: string;
maxProtocolFee: string;
protocolFee: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
} | {
type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
owner: string;
paused: boolean;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
owner: string;
nativeBridge: string;
destinationChain: string;
ownerOverrides?: Record<string, string> | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
destinationChain: string;
arbSys: string;
bridge?: string | undefined;
} | {
type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
owner: string;
beneficiary: string;
oracleKey: string;
overhead: Record<string, number>;
oracleConfig: Record<string, {
gasPrice: string;
tokenExchangeRate: string;
}>;
ownerOverrides?: Record<string, string> | undefined;
};
});
ownerOverrides?: Record<string, string> | undefined;
}>;
//# sourceMappingURL=core.d.ts.map