pub fn encode_order_args(
price: u64,
quantity: u64,
order_type: &OrderTypeEncoding,
) -> Vec<u8> ⓘExpand description
Encode OrderArgs struct for CreateOrder call_data. Layout: u64(price) + u64(quantity) + order_type_encoding (tightly packed)