pub fn get_single_input_index( max_amounts_in: &[BigInt], ) -> Result<usize, PoolError>
Get single input index from amounts