pub fn compute_amount_out(amount_in: U256) -> Result<U256>
Computes the output amount for a fee swap: amount_in * M / SCALE.
amount_in * M / SCALE
UnderOverflow
amount_in * M