pub fn compute_output_amount(input_amount: u32, fee_bps: u32) -> u32
Compute output amount after fee deduction.
output = input * (10000 - fee_bps) / 10000