Amount of token0 to add to the pool. Can be set to 0 to calculate based on amount1In
Amount of token1 to add to the pool. Can be set to 0 to calculate based on amount0In
OptionalcurveDirection indicator for calculations (true for token0->token1, false for token1->token0)
Fee denominator for calculating fees
Fee numerator for calculating fees (use 0 for typical LP additions)
Current reserve of token0 in the pool
Current reserve of token1 in the pool
Input parameters for simulating adding liquidity to a trading pair. Used to calculate the optimal distribution of tokens when adding liquidity to a pool.