2d9976368b
Replace the global AddressLookupTableCache with a direct fetch function to simplify address lookup table management. This change improves code maintainability by removing global state and makes the API more explicit. Key changes: - Remove AddressLookupTableCache and AddressLookupManager - Add new fetch_address_lookup_table_account function - Update TradeBuyParams and TradeSellParams to use AddressLookupTableAccount instead of Pubkey - Update all examples to use the new direct fetch approach - Update documentation to reflect the simplified workflow
17 lines
335 B
Rust
Executable File
17 lines
335 B
Rust
Executable File
pub mod bonding_curve;
|
|
pub mod fast_fn;
|
|
pub mod fast_timing;
|
|
pub mod gas_fee_strategy;
|
|
pub mod global;
|
|
pub mod nonce_cache;
|
|
pub mod seed;
|
|
pub mod spl_associated_token_account;
|
|
pub mod spl_token;
|
|
pub mod spl_token_2022;
|
|
pub mod subscription_handle;
|
|
pub mod types;
|
|
pub mod address_lookup;
|
|
|
|
pub use gas_fee_strategy::*;
|
|
pub use types::*;
|