Copy pub struct Reserve {
Version of the struct
pub version : u8 ,
Last slot when supply and rates updated
pub last_update : LastUpdate ,
Lending market address
pub lending_market : Pubkey ,
Reserve liquidity
pub liquidity : ReserveLiquidity ,
Reserve collateral
pub collateral : ReserveCollateral ,
Reserve configuration values
pub config : ReserveConfig ,
pub struct ReserveLiquidity
Copy Reserve liquidity mint address
pub mint_pubkey : Pubkey ,
Reserve liquidity mint decimals
pub mint_decimals : u8 ,
Reserve liquidity supply address
pub supply_pubkey : Pubkey ,
Reserve liquidity fee receiver address
pub fee_receiver : Pubkey ,
Reserve liquidity oracle account
pub oracle_pubkey : Pubkey ,
Reserve liquidity available
pub available_amount : u64 ,
Reserve liquidity borrowed
pub borrowed_amount_wads : Decimal ,
Reserve liquidity cumulative borrow rate
pub cumulative_borrow_rate_wads : Decimal ,
Reserve liquidity market price in quote currency
pub market_price : Decimal ,
pub struct ReserveLiquidity
Copy /// Reserve collateral mint address
pub mint_pubkey : Pubkey ,
/// Reserve collateral mint supply, used for exchange rate
pub mint_total_supply : u64 ,
/// Reserve collateral supply address
pub supply_pubkey : Pubkey ,