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
73
74
75
//! # Ostium Rust SDK
//!
//! A modern Rust SDK for interacting with the Ostium trading platform on Arbitrum.
//!
//! ## Features
//!
//! - Type-safe contract interactions using Alloy
//! - Async/await support with Tokio
//! - GraphQL API client for market data
//! - Comprehensive error handling
//! - Support for both mainnet and testnet environments
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use ostium_rust_sdk::{OstiumClient, Network};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Create a new client connected to testnet
//! let client = OstiumClient::new(Network::Testnet).await?;
//!
//! // Get available trading pairs
//! let pairs = client.get_pairs().await?;
//! println!("Available pairs: {:?}", pairs);
//!
//! Ok(())
//! }
//! ```
// Test comment to demonstrate pre-commit hooks
/// Client module containing the main SDK client
/// Network configuration module
/// Error types and handling
/// Common types used throughout the SDK
/// Smart contract interfaces and implementations
/// ABI definitions for smart contracts
/// Retry module
/// Rate limiting module
// Re-export main types for convenient access
pub use ;
pub use ;
pub use ;
pub use ;
pub use *;
// Re-export commonly used external types
pub use ;
pub use Decimal;
// Re-export contract interfaces
pub use *;