Skip to main content

wp_solana_jupiter_oracle_client/
lib.rs

1//! Jupiter Lend Oracle client library.
2//!
3//! Low-level client for the Jupiter Lend Oracle Anchor program,
4//! providing account types, GPA filters, PDA derivation, and constants.
5
6#![allow(ambiguous_glob_reexports)]
7#![allow(clippy::io_other_error)]
8#![allow(unused_imports)]
9
10pub mod constants;
11pub mod error;
12pub mod gpa;
13pub mod pda;
14pub mod state;
15
16// Generated code from Codama
17pub mod generated;
18
19// Re-export commonly used items
20pub use constants::*;
21pub use error::{OracleError, Result};
22#[cfg(feature = "fetch")]
23pub use generated::shared::*;
24#[cfg(feature = "fetch")]
25pub(crate) use generated::*;
26pub use generated::{accounts::*, instructions::*, programs::*, types::*};
27#[cfg(feature = "fetch")]
28pub use gpa::*;
29pub use pda::*;
30pub use state::*;