/** * @file Network Test Configuration * @version 1.0.0 * @status IN_DEVELOPMENT * @lastModified 2024-07-09 * * Configuration for network testing with expected values and test data * * IMPORTANT: * - Add test networks with appropriate configuration * - Use public test networks when possible * - Ensure test addresses have minimal funds * * Functionality: * - Defines test networks for cross-network testing * - Provides expected values for validation * - Configures test data for each network */ /** * Interface for network test configuration */ export interface NetworkTestConfig { /** RPC name or alias for this network */ rpcName: string; /** Expected chain ID for validation */ chainId: number; /** Expected native currency symbol */ expectedCurrency: string; /** Test address with some balance on this network (optional) */ testAddress?: string; /** Expected block time range in seconds [min, max] */ expectedBlockTimeRange?: [number, number]; /** Whether this network requires an API key */ requiresApiKey?: boolean; /** Whether this is a testnet (affects acceptable test behavior) */ isTestnet?: boolean; /** Additional test data for this network */ testData?: { /** Test contract address on this network (if applicable) */ contractAddress?: string; /** Token address for testing (if applicable) */ tokenAddress?: string; /** Expected token symbol (if tokenAddress is provided) */ expectedTokenSymbol?: string; }; } /** * Test network configurations * These networks will be used for cross-network testing */ export declare const TEST_NETWORKS: Record; /** * Minimal set of networks that should be tested * These are considered core networks for basic functionality validation */ export declare const CORE_TEST_NETWORKS: string[]; /** * Get network by its RPC name or alias */ export declare function getNetworkByRpcName(rpcName: string): [string, NetworkTestConfig] | undefined; /** * Get network by chain ID */ export declare function getNetworkByChainId(chainId: number): [string, NetworkTestConfig] | undefined;