execute_take_order

Function execute_take_order 

Source
pub async fn execute_take_order(
    order_id: &Uuid,
    action: Action,
    invoice: &Option<String>,
    amount: Option<u32>,
    ctx: &Context,
) -> Result<()>
Expand description

Unified function to handle both take buy and take sell orders