Documentation
    Preparing search index...

    Variable getConfigConst

    getConfig: (
        options?: Partial<EnvOption & CacheOption>,
    ) => Promise<LendingConfig> = ...

    Fetches lending protocol configuration from the API

    This function retrieves the current configuration for the lending protocol from the Navi protocol API. It's wrapped with both caching and singleton behavior to ensure efficient and consistent configuration access.

    The configuration includes:

    • Contract addresses for all protocol components
    • Oracle configuration and price feed information
    • Pool and incentive contract addresses
    • Environment-specific settings

    Type declaration