jup-lend-sdk 0.2.12

SDK for Jupiter lending protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use anchor_lang::prelude::Pubkey;

pub mod marinade;
pub mod read;
pub mod simulations;

use crate::programs::oracle::{types::Sources, ID};

pub const ORACLE_PROGRAM_ID: Pubkey = ID;

#[derive(Debug, Clone)]
pub struct OraclePriceLiquidate {
    pub price: u128,
    pub sources: Vec<Sources>,
}