1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#![warn(missing_docs)] /*! Orderbook-based on-chain SPL token swap market This program is intended for use to build a decentralized exchange (DEX) specialized on SPL token swaps. */ #[doc(hidden)] pub mod entrypoint; #[doc(hidden)] pub mod error; /// Program instructions and their CPI-compatible bindings pub mod instruction; /// Describes the different data structres that the program uses to encode state pub mod state; pub(crate) mod processor; pub(crate) mod utils; pub use processor::{CALLBACK_ID_LEN, CALLBACK_INFO_LEN};