Now compute the output amount for an exact-in swap.
Starting from:
x * y = kAfter adding x_in to the X reserve:
new_x = x + x_in
new_y = k / new_x
y_out = y - new_yImplement quote_exact_in.
u128.u64.For the sample:
x = 1000
y = 2000
x_in = 100
k = 2_000_000
new_x = 1100
new_y = 1818
y_out = 182