kamino_lend/
lib.rs

1//! Autogenerated CPI client for the Kamino Lend program.
2//!
3//! CPI helpers for the [Kamino Lend](https://github.com/Kamino-Finance/klend)
4//! program.
5//!
6//! This crate was automatically generated by
7//! [anchor-gen](https://github.com/saber-hq/anchor-gen), a crate for generating
8//! Anchor CPI helpers from JSON IDLs.
9
10#![allow(clippy::too_many_arguments)]
11
12mod overrides;
13pub use overrides::*;
14
15anchor_gen::generate_cpi_interface!(
16    idl_path = "idl.json",
17    skip(UpdateConfigMode),
18    zero_copy(
19        UpdateLendingMarketConfigValue,
20        UpdateLendingMarketMode,
21        LastUpdate,
22        ElevationGroup,
23        InitObligationArgs,
24        ObligationCollateral,
25        ObligationLiquidity,
26        AssetTier,
27        BigFractionBytes,
28        FeeCalculation,
29        ReserveCollateral,
30        ReserveConfig,
31        ReserveFarmKind,
32        ReserveFees,
33        ReserveLiquidity,
34        ReserveStatus,
35        WithdrawalCaps,
36        PriceHeuristic,
37        PythConfiguration,
38        ScopeConfiguration,
39        SwitchboardConfiguration,
40        TokenInfo,
41        BorrowRateCurve,
42        CurvePoint,
43        UserState,
44        LendingMarket,
45        Obligation,
46        ReferrerState,
47        ReferrerTokenState,
48        UserMetadata,
49        Reserve,
50        Referrer,
51        ReferrerToken,
52    )
53);