//! Kamino single-instruction builders.
//!
//! The swap-family instructions (`start_swap_kamino`, `repay_swap_kamino`,
//! `collateral_swap_kamino`) use four-byte sub-discriminators
//! (`[0, 0, 0, N]`) under a parent dispatcher rather than the standard
//! eight-byte Anchor sha256 discriminator. The first three bytes are the
//! dispatcher tag; the fourth picks the variant (1 = start, 2 = repay,
//! 3 = collateral). Don't reach for `sha256("global:start_swap_kamino")`
//! when reading raw `ix.data` — it won't match.

mod swap_params;
pub use swap_params::*;

mod init_kamino;
pub use init_kamino::*;

mod deposit_kamino;
pub use deposit_kamino::*;

mod fulfill_withdraw_kamino;
pub use fulfill_withdraw_kamino::*;

mod fulfill_borrow_kamino;
pub use fulfill_borrow_kamino::*;

mod repay_kamino;
pub use repay_kamino::*;

mod start_swap_kamino;
pub use start_swap_kamino::*;

mod collateral_swap_kamino;
pub use collateral_swap_kamino::*;

mod repay_swap_kamino;
pub use repay_swap_kamino::*;
