/** * Network configurations for the Byzantine Debt Fund SDK. * * Source for the four official Vault V2 contracts: * https://docs.morpho.org/get-started/resources/addresses/ * * SDK ↔ Morpho naming map: * * SDK field Morpho contract name * ───────────────────────────────── ──────────────────────────────── * vaultV2Factory VaultV2Factory * morphoRegistry MorphoRegistry * adapters.erc4626AdapterFactory MorphoVaultV1AdapterFactory * (Morpho V1 vaults are ERC4626, * hence the generic SDK name) * adapters.morphoMarketV1 MorphoMarketV1AdapterV2Factory * AdapterV2Factory * * `erc4626MerklAdapterFactory` and `compoundV3AdapterFactory` are * Byzantine-deployed adapter factories — they are not listed on the * Morpho V2 addresses page. */ import type { ChainsOptions, NetworkConfig } from "../types"; export declare const NETWORKS: Record; /** Get network configuration for a chain ID. Throws if unsupported. */ export declare function getNetworkConfig(chainId: ChainsOptions): NetworkConfig; /** All supported chain IDs. */ export declare function getSupportedChainIds(): ChainsOptions[]; /** Type guard for supported chain IDs. */ export declare function isChainSupported(chainId: number): chainId is ChainsOptions; /** Convert a chain ID to its 0x-prefixed hex form. */ export declare function toHexChainId(chainId: ChainsOptions): string; /** Block-explorer base URL for a chain. */ export declare function getExplorerUrl(chainId: ChainsOptions): string; /** Block-explorer URL for an address on the given chain. */ export declare function getExplorerAddressUrl(chainId: ChainsOptions, address: string): string; /** Block-explorer URL for a transaction on the given chain. */ export declare function getExplorerTransactionUrl(chainId: ChainsOptions, tx: string): string;