I use a lot the function to add LP in Solana.
What I noticed so far is that all withdraw liquidity transactions as set as deposits in the wallet account. All computing becomes false as the tokens are counted as purchased and then deposited somehow with different values depending on the time you add and removed liquidity.
to be honest its a bit complex but in my case everything is wrong...
Sometime I add single sided liquidity or double sided liquidity...