/** * CCIP Token Discovery Service * * Discovers and validates tokens that can be transferred between chains using Chainlink's CCIP. * The service handles pagination, parallel processing, and comprehensive error collection. * * Architecture: * 1. Chain & Contract Setup: Validates cross-chain paths and initializes core contracts * 2. Token Discovery: Fetches all registered tokens with pagination * 3. Support Validation: Checks token support for destination chain * 4. Detail Collection: Gathers token and pool information in parallel * * Performance Considerations: * - Uses batching to prevent RPC timeouts (configurable batch sizes) * - Implements parallel processing with rate limiting * - Memory-efficient token processing through pagination * * Error Handling: * - Individual token failures don't halt the process * - Errors are collected and reported comprehensively * - Detailed error reporting for debugging */ import type { Argv } from 'yargs'; import type { GlobalOpts } from '../index.ts'; export declare const command: string[]; export declare const describe = "List supported tokens in a given Router/OnRamp/TokenAdminRegistry, and/or show info about token/pool"; /** * Yargs builder for the supported-tokens command. * @param yargs - Yargs instance. * @returns Configured yargs instance with command options. */ export declare const builder: (yargs: Argv) => Argv<{ network: string; } & { address: string; } & { token: string | undefined; } & { "fee-tokens": boolean | undefined; } & { "only-fee-tokens": boolean | undefined; }>; /** * Handler for the supported-tokens command. * @param argv - Command line arguments. */ export declare function handler(argv: Awaited['argv']> & GlobalOpts): Promise; //# sourceMappingURL=supported-tokens.d.ts.map