UNPKG

@hyperlane-xyz/sdk

Version:

The official SDK for the Hyperlane Network

13 lines 951 B
import { WithAddress } from '@hyperlane-xyz/utils'; type ChainAddresses = Record<string, string>; /** * Extracts the ISM and Hook factory addresses from chain-specific registry addresses * @param registryAddresses The registry addresses for a specific chain * @returns The extracted ISM and Hook factory addresses */ export declare function extractIsmAndHookFactoryAddresses(registryAddresses: ChainAddresses): Record<"staticMerkleRootMultisigIsmFactory" | "staticMessageIdMultisigIsmFactory" | "staticAggregationIsmFactory" | "staticAggregationHookFactory" | "domainRoutingIsmFactory" | "staticMerkleRootWeightedMultisigIsmFactory" | "staticMessageIdWeightedMultisigIsmFactory", string>; export declare function multisigIsmVerificationCost(m: number, n: number): number; export declare function normalizeConfig(obj: WithAddress<any>): any; export declare function sortArraysInConfig(config: any): any; export {}; //# sourceMappingURL=ism.d.ts.map