1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//! # xORCA Rust Client
//!
//! A Rust client library for interacting with the xORCA staking program on Solana.
//!
//! ## Features
//!
//! - **Type-safe interactions** with the xORCA staking program
//! - **WASM support** for use in web applications
//! - **Auto-generated code** from the program IDL using Codama
//! - **PDA utilities** for Program Derived Address derivation
//! - **Math utilities** with WASM compilation support
//! - **Serialization support** with optional serde integration
//!
//! ## Quick Start
//!
//! ```rust
//! use xorca::*;
//!
//! // Get the program ID
//! let program_id = XORCA_STAKING_PROGRAM_ID;
//!
//! // Derive state address PDA
//! let (state_address, _bump) = find_state_address().unwrap();
//! ```
//!
//! ## Features
//!
//! The crate supports several optional features:
//!
//! - `serde` - Enable serde serialization/deserialization
//! - `fetch` - Enable Solana client integration for fetching account data
//! - `floats` - Enable floating-point math operations (default)
//! - `wasm` - Enable WASM compilation for web use
//!
//! ## License
//!
//! This project is licensed under a custom license. See [LICENSE](../LICENSE) for details.
pub use *;
pub use *;
pub use *;
pub use XORCA_STAKING_PROGRAM_ID as ID;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;