pub fn token_conditional_swap_create(
    ctx: Context<'_, '_, '_, '_, TokenConditionalSwapCreate<'_>>,
    max_buy: u64,
    max_sell: u64,
    expiry_timestamp: u64,
    price_lower_limit: f64,
    price_upper_limit: f64,
    price_premium_rate: f64,
    allow_creating_deposits: bool,
    allow_creating_borrows: bool
) -> Result<()>