State

struct LendingMarket

  • description: Lending market state
  • variable:
1
/// Version of lending market
2
pub version: u8,
3
/// Bump seed for derived authority address
4
pub bump_seed: u8,
5
/// Owner authority which can add new reserves
6
pub owner: Pubkey,
7
/// Currency market prices are quoted in
8
/// e.g. "USD" null padded (`*b"USD\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"`) or a SPL token mint pubkey
9
pub quote_currency: [u8; 32],
10
/// Token program id
11
pub token_program_id: Pubkey,
12
/// Oracle (Pyth) program id
13
pub oracle_program_id: Pubkey,
Copied!
Last modified 11mo ago
Copy link